skysight-inc/HackerNews huggingface dataset:
> it should be enough for the client to make an initial request to bootstrap the connection, and then the server can send as many messages as it wants downstream.

Yes, that's the point of websockets; but what was discussed here is a program acting as a bridge between django and websockets using http to speak to django. http does not support such asynchronous communication. You get one response for one request. How can a backend send a new response if there is no open request from the intermediary?

Sure, you can hack http by refusing to close the stream of a response and sending data intermittently (well, if you're using a django->apache/nginx protocol that supports streaming responses), but then you're no longer speaking http; you're speaking your own protocol over http.

Sure, you can have your intermediary poll django, which reduces some of the overhead since you're bypassing the external network stack, but you're still relying on only sending messages every $poll_interval.

Sure, you can create some secondary process through manage.py that runs and communicates with the intermediary directly, but then you're no longer speaking http to Django.

If you want async communication between your client and your server using websockets, you can't rely on speaking http to anybody; it just isn't compatible with truly asynchronous websocket communication.
Not to take anything away from the British love of sugar (or coffee), but coffee+sugar(+milk) is a Viennese invention. The coffee house as well.
tldw; He says he doesn't advocate it but they get away with it by having the community test it out for them in their meta site. Then the community writes up the bugs.
Thanks!

Tried out DragonDrop - it's pretty awesome and instantly solves a problem I never realised I had!
"Gomez spent the night baby­sitting the yacht at the Alice C, waiting for _a pilot who had been dispatched by ACS_ to guide the boat back to Berwick, Louisiana."

She personally located & took control of the boat, then alerted the collections agency who sent a pilot to collect it.
Her height has nothing to do with anything, but people like those sorts of details. Maybe we instinctively feel that a 4' 11' woman with the last name of Gomez gets under-estimated constantly, so it makes her success more satisfying to us.
The author has a fair point, but I was left hanging waiting for a "so, what?" at the end. I was hoping there would be something more constructive to this than just a complaint.

What should be done about it? What are people really looking for? How can a network with the goal of connecting more people deal with the inevitable noise? How soon should they worry about that?

Was Facebook perfect 4 years ago, or is there a gap still left to be filled? How can a social network really figure out who is most relevant to you and link you to them?

I think these are great questions. I would love it for authors who know/care about this topic to look at Facebook, Twitter, and Jelly with solution glasses instead of just problem glasses.
Yes! I love that software. I used it to make the gestures the same between my touchpad and my magic mouse. It's stupid how it's 3 fingers on one and 2 on the other.
Agreed. Direct democracy doesn't actually appeal to me. While there is something to the idea of just directly voting up or down on laws of the land, that means that we now have completely clueless people with the up/downvote button making decisions. Think of what 4chan can do with a direct democracy system.

The way I see it, the basic problem of government is "how do we get honest and competent people into power?" I think if we start with that foundation, we get just laws, civil liberties, etc. as a result. Democracy solves this by saying that the government will be transparent, and the majority will surely spot the problems. However, as we can see this system is easily gamed, and when you have an apathetic majority of voters things get even worse. At some point one might argue that it becomes worth asking if it's better to have a monarch who fears revolution or an elected body that fears not being re-elected.
Yo Yo Honey Singh New Album Song Stardum
Honey Singh has launched a New Album Called Stardum, Just watch the video for new awesome rap
I highly recommend his book, The Invention of Air

http://www.amazon.com/The-Invention-Air-Steven-Johnson/dp/B0...
Check out TotalTerminal as well. For me its global, full width visor + tabs became THE way to use the Terminal.
Modern Bash (a.k.a. the bash you get with Linux but not with OS X) even has associative arrays similar to what you would call a dict in Python or a hash in Perl.

$ declare -A capitals
$ capitals["Illinois"]="Springfield"
$ capitals["California"]="Sacramento"
$ echo ${capitals["California"]}
Sacramento
$ echo ${capitals["Illinois"]}
Springfield
$ for k in ${!capitals[@]} ; do
> echo "The capital of $k is ${capitals[$k]}"
> done
The capital of Illinois is Springfield
The capital of California is Sacramento
my biggest takeaway from the article:

"The most troubling lesson she learned from Mullen, Gomez says, is how readily misleading information can migrate from a posting on an Internet forum to official status. “In a second, what’s false becomes true,” she observes. “All it takes is for one person to put it on the record.” That seems to be what happened with Mullen’s Most Wanted status. A spokeswoman from the US Marshals Service told WIRED that Deputy Sheasby knew nothing about a $2 million cybertheft by Mullen until he was told by “an investigator,” and that he’d passed on the story only because he felt obliged to make other investigators aware of everything he had heard."

Looks like the barrier between social network/forums etc. & official record are pretty porous.
Our local high school, about 20 minutes away from Palo Alto in another affluent neighborhood, offers AP CS but doesn't have a teacher for it. That means they are counted in the statistics of how many high schools offer it. If you want it, you can take it online. I wonder how many kids bother to take it that way.

The school has a terrific athletics program with great facilities but can't come up with a CS teacher in a neighborhood where most of the parents work for software companies.
How is working at Automattic? I'm in the market for a new job and would love to work remotely for someone.
Converting retail stores to distributed fulfillment centers
Is there documentation of this anywhere?
It should be noted that ImageAlpha, the app under the pgnmini.com url, provides a GUI to to PNGQuant and PNGNQ.

While a command line tool is useful by itself, using lossy compression is best done in a GUI to determine how much compression draws the right balance between file size and its loss in quality. ImageAlpha is amazing for this.
Yeah, fedora runs it, too.
First rule of maintanence: readable code. I should be able to read code after short introduction. I remember it took me 1h (after Sussman lecture video) to read Lisp. It is several weeks now since I'm reading Haskell tutorials and docs and still have problems to understand code advertised as "what real world Haskell looks like".

It is the only language I know of which makes trivial problems hard and hard problems impossible.

Because of its syntax you have to write 10x as much documentation, as experiment shows and I can confirm this from my own experience. Haskell is full of BS.
About the use of flat files to store the actual JSON: Each object is stored with multiple keys in general, and LevelDB has no native support for values with multiple keys. I considered duplicating the objects, or having a "primary" key (say the ID) that all other keys would resolve to, but finally settled on an external data file and storing the file reference and byte offset in LevelDB.
This is my favorite part of the article:

"We have been repeatedly told that these surveillance programs would have been able to stop 9/11, yet the NSA didn't detect the Boston bombings -- even though one of the two terrorists was on the watch list and the other had a sloppy social media trail."

It's upsetting how freely those in the government are willing to give up liberty for safety, but when we find out it isn't even a fair trade they're still ok with it.
They made it one exam starting 2010.
I wonder if the show CSI used a Markov Chain to create the last line in this scene:

"For weeks I've been investigating...the killer with a certain morbid fascination..."

"This is in real time!"

"I'll create a GUI interface using Visual Basic...see if I can track an IP address!"

Link to clip: http://www.youtube.com/watch?v=hkDD03yeLnU
I'd really like to see something replace Ebay/Paypal and be more like "the old Ebay". This is an interesting idea, but there are a number of aspects about the initial version of Fobo that seem to fall quite short:

--97 minute auctions only? This might be great for electronics that are prolific like Apple hardware or game consoles, but it doesn't seem appropriate for most electronics, of which fewer exist and which have fewer potential buyers.

--Only available via a native smartphone app on a single platform? No web-based interface? It might work in San Francisco, but it probably wouldn't elsewhere, and I don't like it philosophically.

--It's really expensive. Ebay is horrible these days if you're selling a single expensive item without paying for a (relatively inexpensive) merchant account. This compares unfavorably even to the full price.

Maybe I'm just the opposite of the target audience.
I have never been able to touch my toes... until today (quantified self)
The polite way to internationalize is just to use a space. Then everybody is equally confused.
Here are some of my absolute favourites:

- Spectacle, for easily tiling windows http://spectacleapp.com/

- TotalTerminal, for globally accessible, full-width, semitransparent, sliding out Terminal. http://totalterminal.binaryage.com/
Nigger

fought Julian parents' 31 years judgment-seat have appearance
sand wanting way remove gentleness dare weakest lack laden
bid knocketh unlocked practice wail bait gratification
fitting complaints unassuming knee Juno gracefulness pliant
happiness whereof despising lowering scarcely enthralled
weight pair unspeakable holies tutors parental soothed
Great comforted Prodigality defile foot ken THIS sensibly
understandeth Manichaean ravish VIII consecrated wit Are
crookedness blessed not Hippocrates leaven thing's architect
very renounce swoon faith instructest allow feedest strength
death- mysteries younger angered fellow-pilgrims nourishment
IT fountain shakes gifts unlikeness plants nurses vivid
changest moveth hearken leasing offered something bestowed
praises -though joined bottomless plant org/gutenberg/etext02
incumbrances -nor sicknesses cleaveth justice serviceable
stimulus defection humane crooked varieties fatherly trembled
murder impressing sufficient mothers furnishing stowed
daily anointings truly true dissolved surmounted humility
Forthwith disclaims believe indemnify aided forsaking
perfection ceaseth oil bedimmed 3296 growing courteously
meanly waver lips astonishment tells sensations distribute
contrition unanxious reconcile covetousness volunteers
temple chill working sharpness observation side unjustly
remitted something mainly impatient presented begin
Free expression news from all over
If you want some fun, try out Cathode. https://itunes.apple.com/us/app/cathode/id499233976?mt=12
This sounds a lot like a friend of mines story. At 15 his family life was spiraling out of control and he dropped out. Until he recently quit his job to do his own thing he was making just an obscene amount of money.

He started by taking the only programming job he could get as a 16 year old. As his skills progressed he changed jobs a bunch of times with each one becoming progressively less crappy.

He got there by working his butt off to learn everything he could about programming. On his own he learned everything you would expect from a CS program but was able to go into far more detail than a semester course. I've seen him talk circles around guys with formal CS training.

There is someone out there who will pay you to program. The pay will be peanuts and the work will be boring but once you have a job and some experience on your resume it will get easier.

Also go get your GED. With the GED you can say you graduated from High School and have the option of other formal education in the future.
MicroConf 2014 tickets will be on sale later this week. Who's going?
Nice hack will definitely apply to my apps, and thanks for sharing
The two are one and the same. Every time you introduce a crude new exception to the rule, you create an imbalance and complexity. Simple is better than complex. Organic is better than artificial. Otherwise emergent behavior is always a way to hack the system (e.g.: gerrymander). The beauty of one vote per person is that it's simple. Now, in the US, things get complex when we start talking about swing states, the fact that 3/4 of voters don't give a crap, etc. You can easily have a system where a few thousand Ohio residents decide who becomes president. However, the more complexity you introduce the more loopholes you will create.
Supercomputer models one second of human brain activity
This model of investment is one tactic. But in my opinion, it's not the one at play here.

Another majorly significant tactic of investment is to buy your potential competitors early and often. Find the upstarts that pose a threat to your business and make them an offer.
Zoute’s Transit App Brings Real-Time Departure Info, Detailed Schedules
> And for hosting, Github pages (Jekyll rocks!) do a great job.

Using GitHub pages to auto-build your Jekyll site is great if and only if you have no need to customize your Jekyll build or website environment:

- You must use the versions deployed by GitHub; most of the time they're up to date, but if there's a bug fix you're relying on in any of the libraries, you're out of luck. I ran into this on my own site: RedCarpet had a Markdown parsing bug that was fixed in version 3, but the Jekyll that GitHub Pages uses depends on version 2. Jekyll loosened this dependency weeks ago, but it's not in a full release yet.

- You can't use any Jekyll plugins, even the ones marked safe.

You can avoid the above by building your site locally and uploading the output, there are still a few other caveats:

- Like timrivera mentioned, there is no support for server-side redirects outside the baked-in ones (i.e. www to or from naked domain; name.github.io to domain). S3 has these out of the box.

- You can only use one domain per GitHub Pages repository.

- GitHub will allow Googlebot to index your repository's master branch. If you're used to that convention, you're out of luck: it's hardcoded into github.com's robots.txt. You need to use a different name for your mainline branch.

- You cannot use a private repo for GitHub Pages, and GitHub's terms of service require you to allow other people to fork your public repositories, regardless of license.

- There is no support for SSL.

If you're okay with all of that, GitHub Pages is totally fine. But if you aren't, non-VPS alternatives like S3 are pretty attractive.
So why is it so expensive?
The One Thing Every Software Engineer Should Know (2008)
I don't know if a real study needs to be done to find out a population can be more creative/productive when they go from slightly (or very) drunk to being hyper caffeinated.
Forget the Feds: States Are Trying to Rein in the NSA
I'd say that the further you go back, the higher the conent creator ratio was. The absence of storage is what made it possible and the absence of storage is why it wasn't conserved.

What do you do when there is no music?

You start to sing.
I've found non-fiction audiobooks to be good when you can't devote full attention. I do find that fiction audiobooks are ok on interstates, though, for especially long drives.
"The proposal allowed Google to offer services for the General Elections in India to be held in 2014. Google proposed free online voter registration besides making available vital details of voter EPIC card numbers and polling station locations."

I started and used to run these programs for Google.
I'm not sure what you are implying is done with this data, but security and privacy are always the highest priority.

Google does this stuff for completely altruistic reasons. It's not even part of .com anymore, it's part of .org. The goal is to help people know where to vote. Nothing more, nothing less.

If you'd like to tell me what conspiracy you think this is part of, ...
This isnt just about copying Word. Mac Mail has the same paste with formatting behavior. As does Evernote for that matter.
Correct (man 1 qlmanage). Depending on the type of file, it is usually faster to open quicklook than opening the file in its default application, especially if you just want to take a look and you don’t actually need to edit the file.
Building a Data Science Community: Harlan Harris Interview (DC2 Founder)
> Anonymous speech is for citizens, not tyrants.

That's why I can't get behind the privacy movement. No one seems to be arguing that privacy is a right - it's just a privilege extended to those we like (citizens), but shouldn't necessarily be extended to those who oppose us (tyrants). Among those we don't trust, openness is necessary to avoid despotism. Among those we do trust, privacy is a fundamental freedom.

The NSA agrees with your sentiment 100%. Your only disagreement is on who is the tyrant.
TypeScript works for me and it doesn't require any additional JS code. Granted, it won't do runtime checks.
He wasn't before?? I'm surprised.
Run a command with a time limit
Mass surveillance is only historically ever used for one purpose: to crush dissent.
For reference, the following actions are what are enabled within `unsafe` blocks in Rust:

1. Dereferencing raw pointers (a.k.a. "unsafe" pointers). Note that's just dereferencing: there's nothing inherently unsafe about just creating and passing around the pointers themselves.

2. Calling a Rust function that has been marked with the entirely-optional `unsafe` keyword.

3. Calling an external function via the C FFI, all of which are automatically considered unsafe.
Sometimes these applications are written in C for the extreme portability rather than performance. I have a couple open source projects in mind that support a huge selection of OSes and hardware configurations that would not be possible with some of the other current higher level language but almost every platform supports C to some degree. I don't know how well Go supports weird configurations like MMU-less uClinux installs but the GC wouldn't be what is breaking it.
Actually, natch's trick does just the opposite. It strips out any formatting information that may accompany the text on the clipboard.

I've used the same trick on occasion when copying text from web pages into Gmail. When you paste such text into a Gmail draft, Gmail tries to duplicate the format of the original, which is often not what you want. pbpaste | pbcopy solves the problem nicely.

Edit: But Shift-Option-Cmd-V is easier. Thanks, Janteh!
He was the Founder and "President", but they didn't specifically say Toni would be the new President. Toni ran the day to day though, so that's what I assume Matt will be doing now.
False, they use tput to move the cursor.

http://www.bashguru.com/2010/04/how-to-handle-cursor-movemen...
$10k for what looks like a few months work. Looks like a successful case of outsourcing, but the thought of private law enforcement, mercenaries intruding into people's lives and chasing people with guns doesn't sit very well with me. Who is responsible if everything goes wrong?
I find Little Snitch absolutely essential. I've been using it for years and can't recommend it enough. http://www.obdev.at/products/littlesnitch/index.html
Hellbanning
Extremely user unfriendly though. Just installed it and it doesn't even sensible defaults for you to hit the ground running. Their answer: "Read the docs and write your own configs." Nobody has time for that!

Edit: Another commenter suggests http://spectacleapp.com/ - works really well out of the box - in fact it does what I expected Slate to do.
This morning I did a public write-up of the Everpix business model to see why it failed:

http://research.ivanplenty.com/2014-economics-everpix-shutdo...

(Submitted to HN a few hours ago as https://news.ycombinator.com/item?id=7052593)

tl;dr
Everpix sold its product at a marginal loss and closed its doors after the financing ran out. Since the marginal costs always exceeded the marginal revenue we now know that Everpix should have shut its doors immediately as it never could be a viable business in either the short or long runs. There doesn't appear to be a what-if cost structure change that it could have made realistically to stay in business. Shutting down was the right decision for the business, and this evidence suggests it should have shut down a long time ago.
A Backdoor In AMD's Catalyst OpenCL Library?
Yeah, I shouldn't have said "at the NRL."

The U.S. government sponsored the development of Tor and created onion routing.
Baby steps. First we need a 'dislike' option.
There a UUOC in strmap_file, in fact all those uses head, tr, and tail could likely be just handled by sed.
Are Your iOS Apps iOS7 Ready? February Deadline Looms
Sage has dependent types so he probably likes them.
6 Things That Will Kill Your Call Center in 2014	
ClearView allows the user to extract and view data at any level of the organization such as at a regional, team and agent level along with the ability to view the data by particular accounts, campaigns, skills and point of contact.
Good point I'll edit it.
Learn your definitions, will you?

Violence is "the intentional use of physical force or power, threatened or actual, against oneself, another person, or against a group or community, which either results in or has a high likelihood of resulting in injury, death, psychological harm, maldevelopment, or deprivation.
The basic emacs shortcuts even work on iOS, if you're using a Bluetooth keyboard. Now the muscle memory works everywhere.
I haven't worked there, but I imagine it's quite different today than it was in the first few years. They are more structured now, though still relatively flat considering the size. It's a team based atmosphere with team leads for each project. Teams rotate as needed, they aren't hard-line departments.

Scott Berkun worked there for over a year and then wrote a book about his experience. Probably as good of a resource you'll find, and a quick read. I reviewed the book here: http://www.poststat.us/year-without-pants/
Does Divvy let you tile windows with margins between windows or the edge of the screen?
It's clear on the front page, i.e. llvmweekly.org. But on the issue pages, you instruct people to go to the front page to subscribe to the newsletters, which raises doubt about the box immediately below.
HTC One X and One X+ will not receive KitKat; stuck on Android 4.2 forever
Having a great Ops staff also helps ;) Of note is Thomas Limoncelli who wrote "The Practice of System and Network Administration" [1] and "Time Management for System Administrators" [2] works for Stack Exchange (formerly at Google). The Practice of System and Network Administration is basically the bible for most sysadmins, myself included.

ps. I only singled Thomas Limoncelli out as an example just to highlight the caliber of their Ops staff.

[1] http://www.amazon.com/Practice-System-Network-Administration...

[2] http://www.amazon.com/Management-System-Administrators-Thoma...