skysight-inc/HackerNews huggingface dataset:
Probably, when dealing with IO bound problems it's important to think of IO as a really long pipe extremely fat pipe. Think oil pipeline.

The key is keeping the pipe full, requesting a piece of data based on what's in the pipe will mean that it's going to be hard to keep the pipe full. You want to request the data long before you're ever going to need it.

If your SQL queries are done in such a way that they don't depend on data in the pipe they'll work fast, if they aren't you'll be not much better off than whatever was currently in place.
If I had terminal cancer, absolutely!
But they don't silently truncate, so your entire argument is bogus.
Partially OT: For Roku users (e.g. Netflix app on same), this page describes some hidden controls (bit rate et al.):

http://mkvxstream.blogspot.com/2013/01/secret-roku-troublesh...

I ran across this when my Roku XD (generation 1) started glitching again due to a known issue with its marginal wall-wart transformer.
What do you use for service discovery?
There's a ton of choices out there - etcd, zookeeper, and more.

What are some of the pitfalls I should be aware of?

Should I keep things simple and roll my own using Redis backed by sentinel/clustering?
We are quick to call comments like this racist but I don't know. If Singapor or Qutar did the same thing I doubt anyone would say their priorities are jacked up.
I don't think that is a response to this work. That is dated February 1. He links to this paper's author, Laura Mersini-Houghton, but he links to a paper and blog post of hers from January. Reading that blog post (http://backreaction.blogspot.com/2014/01/if-it-quacks-like-b...), what she says seems to be in contradiction with the more recent paper she wrote (http://arxiv.org/abs/arXiv:1409.1837).

In her blog post from January, she says:

"What Hawking is saying is essentially that he believes that a matter collapse only leads to a temporary apparent horizon but not to an eternal event horizon. That is an opinion which is shared by many of his colleagues (including me) and there is nothing new about this idea whatsoever."

But in her more recent paper, she says:

"More specifically, we find that collapsing stars slow down their collapse right outside their horizon, while substantially reducing their mass through Hawking radiation. ... The star never crosses its horizon, so neither unitarity nor causality are violated, thereby solving the longstanding information loss paradox. This investigation shows that universally collapsing stars bounce into an expand- ing phase and probably blow up, instead of collapsing to a black hole."

I am not a physicist, but when I read those two statements, they are in contradiction. The first statement says to me: it may not be an absolute horizon, but it is a horizon. The second statement says to me: actually, we never reach any horizon. So I think that the more recent statement means that she has changed her conclusions based on her recent work.
Not very many. And for how long?
If you look at it from another perspective: providing jobs for the scientists and all the industrial manufacturers with that money probably did a lot better in that regard.
By subclassing SlackTextViewController, you'll get a tableView or collectionView, and a toolbar at the bottom containing the growing text input. That's basically it.
You may decide later to override some methods for disabling or enabling more features.
Because its return value already tells you if truncation occurred.
I saw that kind of button at a Japanese restaurant in LA, and it's a godsend! That made it easy to pay, and easy to do other things like ask questions and order. I don't get why more places don't have that!
It's not much of a dance, he hands the reader across, I type in my pin - receipt prints out, it's pretty quick.
Still waiting for a fix on Beanstalk. Neither "yum clean all" followed by "yum update bash" nor "yum --releasever=2014.09 update bash" currently work.

EDIT: relevant AWS threads

https://forums.aws.amazon.com/thread.jspa?threadID=161489

https://forums.aws.amazon.com/thread.jspa?threadID=161529&ts...
Yeah, seems broken for me too, Safari 8 on Yosemite.
Python Programmers Support the Ada Initiative
> If you compare the 6 plus to the 1, 2, 3, 4, 5 and even the 6, it doesn't seem as if any of those phones have a problem. In or outside the pocket.

Incorrect. I saw reports of this with the 5S last year. Cult of Mac did a good round-up: http://www.cultofmac.com/297404/get-bent-shocking-history-be...

> Of course with enough pressure anything will bend or break, but consumers expect that with 'reasonable use' they can expect their device not to malform.

I'd say that if you're applying enough pressure to bend a slab of aluminium and glass, you're A) someone who should have to have a licence in order to safely operate it without injuring yourself and B) definitely using it outside of its intended usage.

> And surprise, reasonable use for most people (particularly men) includes putting their phone in their pocket at least some of the time instead of in their bag/purse ALL of the time. That's a design flaw.

No. You're misrepresenting the problem entirely. The problem is not "putting the phone in your pocket" as you state. The problem is putting your phone in your pocket and then applying enough pressure to the device to bend it, whether intentionally or not. If putting the phone in your pocket caused this, EVERYONE would experience it, and it would truly be a design flaw. As it is, a tiny minority of people have put the phone in their pocket, applied a huge amount of pressure to the frame, and bent it. I held one earlier today and I doubt I could apply sufficient pressure to permanently bend it with my hands. It's insane that people are blaming Apple for this.

> Either change your material (not majority aluminium), or really change your communication (push it as a tablet or a phone for in your bag) and warn of the risks.

Warning: if you drop your iPhone it's going to smash. Warning: if you set fire to your iPhone it's going to burn. Warning: if you put your phone in your pocket and bend the phone, it will fucking bend.

> Don't just push it like an ordinary larger phone and stay silent when people say it bends in their pocket days after release, and when people bend it with their fingers on camera.

Just like the 5S did. Just like the Samsung Galaxies do. Why don't people understand how this works? If you bend something, it will bend.

> I don't see how people can deny this is an issue.

Because 9.9 million people have the phone and no problem. Because they're not idiots who put a phone in their pocket, apply pressure to it somehow, and bend the phone.

> Obviously it's not a problem of people using their phone in an insane manner, as we simply didn't see similar bending problems with every iphone release before.

How many reported instances of this versus iPhone 6 users who have managed to not bend their phones? It's definitely an edge case of people using their phone in an unusual way (if it was the usual way it would be bending more phones). It's that simple.
Would need a whole lot of ballons to do that....

(About 10M? 30M?)
Ah yes, the 2014 ode to https://www.youtube.com/watch?v=PtBy_ppG4hY
If a brand is out of fashion, of course everyone loves to join in the fun and pile on, and any innovation, good or bad, is automatically thrown onto the bonfire.

It's too bad because I think the screen is innovative, and I wish others would follow suit. Some extra space on the side is more valuable to me than more at the top. I tried a squarish LG phablet a couple years ago and loved it. Unhappily the software was poor and I had to switch to something with a more standard aspect ratio.

Also, I trust Blackberry shares my priorities about productivity and security; anything to save me a few seconds each time I use it would be great. I hardly ever use my phones for anything else, other than occasional maps and web browsing. If it works well, I'm tempted, though its potential in the marketplace is worrying. And no, I don't care if you think my phone is unfashionable.

EDIT: Added a couple words to the first paragraph to clarify.
I wonder if something like http://en.m.wikipedia.org/wiki/Gabapentin would work better for this kind of neuropathic pain than opiates like dilaudid?

http://www.rsds.org/3/treatment/stacy_campbell_pregabalin_ga...
Shen's powerful T* type system using sequent calculus which is turing complete is revolutionary.

Also, Shen's approach doesn't have a huge performance hit.
See benchmarks for Qi implemented in SBCL. http://www.lambdassociates.org/studies/study10.htm
This is pure ad hominem. "The West is dumb and mean" doesn't make anybody else's actions smart. You may as well criticize their odor for all the relevance it has to whether or not this is a sensible use of India's money.

For the record, I actually think it's probably a good use of money. I just think this breed of response — "Shut up, because the West sucks!" — is singularly toxic.
> you like posting links without thinking?

No personal attacks on Hacker News, please, regardless of how annoying another's comment may be.
It is similar to the Sonic 3 code too - 'Up-up-down-down-up-up-up-up'
I enjoyed playing the trivia games on it with a group. I didn't like having to pay $1 to unlock the trivia... but then I figured on a $50-$80 group bill, what's $1.

Liked being able to pay when we were ready to go.

In this day whenever everyone sits and plays on their phone and takes photos of the food, this will turn the tables over a tad faster. Something the restaurants should like.
They're spending $75M to inspire a generation. It's dirt cheap.
Don't be so short-sighted. Putting an orbiter around Mars on a relative shoestring is likely to generate a lot of inward investment in India, which will help to pay for very expensive things like content-scale infrastructure.
How did this compare against Hash Array Mapped Tries? It looks like the amount of nodes that you'd need to change would be smaller, and updates are less dramatic. (They're common in functional programming for persistent data structures, and you get almost as good performance as a hash table with a really wide trie)
Readers don't look at the prev pointers, only the next pointers, so the writers can safely change prev pointers concurrently without worrying about readers.
The license was introduced before Shen was issued in September 2011 (the license came out in June) and for a year or so the only specification was Shendoc (now Shendoc 16). The understanding was that Shen was specified in that document and what was not covered by Shendoc was covered by 'Functional Programming in Qi'. Later a hurriedly introduced text 'The Book of Shen (first edition)' (TBoS) was produced to fill a gap (2012) and this year (January 2014) a more thorough 2nd edition of TBoS (> 400 pages) was published which fixes the language standard very thoroughly. This is currently the canonical standard. You can find a link to that book on the Shen home page.

http://www.fast-print.net/bookshop/1506/the-book-of-shen-sec...

Shen is now very stable and has been for nearly two years. At my suggestion, I posited that it might be better to move the standard to a computable series of tests and this was floated to the 2011 committee that is responsible jointly for all the ports.

http://shenlanguage.org/2011committee.html

Such a change requires the unanimous consent of all the people involved and it seems we have this and a reworded simplified license.

The only obstacle is the work needed to put this test suite together. I've suggested that this suite might be assembled in Github, though for legal reasons the final version must be put in a publicly accessible but tamper-proof place.

Since the type-integrity given out by the system is not better than the strength of the kernel, we take kernel work very seriously. There is already a suite of 126 tests that I run every Shen port through and 2011 members echo these tests. But this informal test suite needs to be amped up to several hundred tests to approach what I consider to be an adequate test suite. It is very boring but important work. So far I have begun assembling all the programs in TBoS into this suite.

These license issues really only affect people who are deeply involved in kernel work and as far as application programmers are concerned, I doubt that it affects them much at all. As far as graphics, concurrency, FFI etc. and add-ons are concerned there are no restrictions. Likewise none on closed source work.
Introducing: Customer Value Optimization, the Formula for Epic Growth
You could still copy raw and then run selecting inserts to load the real tables. This could have been done in under an hour I am sure of it.
PiKon and Other Pi Projects from Sheffield University
those are great - thanks for sharing..
Wow, so the goal is already reached?
> It's better if you don't build crypto directly into your application at all, because you can still screw things up even if you build on Nacl.

Nacl was built to provide an API that is incredibly hard to screw up. That was one of djbs primary motivations. If you just need asymmetric encryption, or signing, or hashing, then it's the bees knees. These broad concepts aren't difficult to comprehend, and every developer should strive to understand and be able to use them. We shouldn't be encouraging people to be afraid... especially when things like dumb, plaintext username and password authentication is routinely implemented by developers without a second thought already.
I'm thrilled to see people still thinking through an entirely different approach to image and video compression.
To answer your question - we were rebuilding the app and in the process moving from Rackspace into AWS. We wanted to use as many amazon managed services as possible since we don't have a huge team. PostgreSQL seemed like a nice managed solution that would give us plenty of room to scale. The ACID guarantees aren't too bad either.
What's the plan for the rest of the money, grants ?
What kind of notifications do you think are most useful? Like location bases alerts, maybe ifttt-like alerts, sports...?
"They've kept it small. The payload weighs only about 15kg. "

Whoa... So basically that whole mission was for 30ish pounds of actual 'useful equipment' in orbit?
Another factor is that Linus' colorful rants are the only ones that people hear about. There's a sampling bias there. No one ever talks about the "uninteresting" day-to-day stuff.
Would honestly be great to know about, but how do you raw copy a nested mongo document? The big hurdle was the lack of 1-to-1 mapping between primitive types in the databases.
I can think of - mostly books - that gave me an "aha" moment. Off the top of my head I can think of "Four Steps to the Ephiphany" and "Crossing the Chasm."
Stress is likely one of the main causes of SIBO.
I almost downvoted you just for being so wrong. :-)
Clog – a conventional changelog generator for the rest of us
Expecting a Fire Sale on these soon.
Aren't wabbits and forkbombs common knowledge in 2014?
Some companies realized you could charge money for them and thus was born the pay to win version of free to play games.

Consider Contra's 99 lives cheat code vs candy crush's extra lives for cold hard cash.

Though by far the most popular is a version of starcraft's instant build cheat coupled with a persistent RTS game.

As to traditional cheat codes, there more common in RPG's. Skyrim console being a great example of a classic cheat codes.
Errata Security: Bash Bug as Big as Heartbleed
Love the Blackberry keyboard, but hate the OS. If I could get their keyboard on an Android or iPhone I'd be all over it. I don't like touchscreen keyboards, but since they're the only option offered on devices with an acceptable OS, I use them grudgingly. Clearly the security-first mantra that Blackberry adheres so religiously to isn't doing them any favors--as their market share, even among the security conscious, falls precipitously.
> Put a wet paper towel under your cutting board.

What's this good for?
My understanding of what Laura Mersini-Houghton's paper is claiming is that stars cannot collapse into black holes, but they can get damned close. So those things that we have observed are not "black holes", but things that are damned close. In the paper, she and her co-author write, "Both effects (slowdown and mass-loss) balance such that the evaporating star remains very slightly outside its event horizon."

Even if this paper is correct, I don't think it's warranted to be so smug about people thinking they found black holes. We had a theory, and we had positive evidence for that theory. That's reasonable. If this paper is correct, then it turns out those things are not actually "black holes", but objects "very slightly outside" of being black holes. That's not too bad.

Disclaimer: I am not a physicist.
While this seems like a horrible affliction, I don't see how this is related.
I am on linode and precise LTS. I did this, and I got no bash update. What am I doing wrong?

edit: and how do I know if I am still vulnerable?

edit2: ok, this is the test

env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

and apparently I am already patched. So that's good.
And you don't have to update the kernel in sync with systemd

Quote from http://lists.freedesktop.org/archives/systemd-devel/2014-May...:

> > You update systemd but you don't update the kernel? How does that make
> > any sense?

> > systemd and kernels are updated in lockstep (Lennart)

And it bears repeating again... systemd is not one single executable or process

https://news.ycombinator.com/item?id=8364318

Also, Vi, Python and Perl aren't "required" for GNU/Linux.

By that definition nothing is ever required. There's the same argument in my comment history, someone said, udev is not required for GNU/Linux. technically, chromium doesn't "require" blink. It's not required, you can use chromium and receive raw html, right? But in that case OSX doesn't "require" Python either, just delete the files, done :)

So again, I'm saying, I want a GNU/Linux system. (Yes, it's not required, I can install MS-DOS, HURD, HP-UX or Android.) That means POSIX, LSB... That's what 99%+ of programs targeting GNU/Linux expect.
I kind of like the form factor. For me the deal-breaker is the Blackberry OS. I don't just want to be able to run Android apps (after jumping through lots of hoops) I just the phone itself to run Android (preferably stock).
Before throwing such accusations, at least search Google or HN itself.

http://lists.freedesktop.org/archives/systemd-devel/2014-May...
Microsoft mistakenly affirms that Windows 9 will be revealed next week
Christ. $200k for a DNS entry? This "market" is insane.

https://web.archive.org/web/20140517081811/http://breastpump...
The article in question specifically criticizes the journalists. The author (in subsequent comments) even discourages others from blatantly generalizing countries' reaction in the same manner as some of the components of the media.
Apple knew of iCloud security hole 6 months before Celebgate
It's for that reason that I just ignore anything that's not an LTS release. It's never worth the hassle for me.
DigitalOcean uses mirrors too, so you have to change your /etc/apt/sources.list file or wait.
What is an example of this positive evidence?

Also is it at all plausible that the center of the galaxy is evaporating slightly outside its event horizon in this way?

Anyway I'm not sure that the two of us are going to answer any of these questions without some help.
Let's Help Hackathons Change More Lives for the Better
Would disabling CGI e.g. adding Option -ExecCIG to httpd.conf for Apache prevent exploitation via the web-server?
Upgrades should not require any restarts, and no restarts are required for you to stop being vulnerable - as this only affects newly created bash sessions, not already running ones.
It would probably be faster to directly 'hack' a raw IEEE 754 floating number:

http://en.wikipedia.org/wiki/IEEE_754-1985

The helpful Examples section already contains the numbers 0 and 1.

Let us assume that the output is supposed to be between 0 and 1; it seems that 0 should be inclusive and 1 exclusive for the most balanced 'quick' output.

Those two numbers have the leading binary format:

0 (8 or 11 bits exponent) (23 or 52 bits fraction) For either 32 or 64 bit floats.

Thus for a float (32 bit):

0 0 (7 bits) (23 bits)
30 bits of randomness are necessary, HOWEVER 0 01111111 is already one when the fraction is all 0s. The easiest solution I can see is to evenly drop some precision:

A reference for the casting procedure:
http://en.wikipedia.org/wiki/Fast_inverse_square_root#Overvi...

Pseudo:

uint32 randomNumber;
... set the random somehow, maybe rand() maybe /dev/urandom etc ...
randomNumber &= 0x3F7FFFFF;
return * (float *) &randomNumber;
I think that interested people should just read the abstract, introduction and conclusions of the actual paper: http://arxiv.org/abs/arXiv:1409.1837

You will not understand the full implications of it (well, unless you are an astrophysicist), and I didn't bother with the meat of the paper (because I am also not an astrophysicist). But the abstract, introduction and conclusion are rather understandable, and far less hyperbolic than the press release. And even though I can't understand all of it, I'd much rather get a misunderstanding from the original source material, then get a compounded misunderstanding from a press-release.
This is what I show people with this perspective: http://me.brandabrand.com/t/letter-by-ernst-stuhlinger/6288. It's clever, touching and to the point.
Mongoexport will let you export into flat files using --fields and --csv http://docs.mongodb.org/v2.2/reference/mongoexport/
Interesting to note that LIGO http://www.ligo.caltech.edu never detected any gravity waves (supposedly created by colliding black holes). This is the NSF's most ambitious project and they have spent (still are spending) a butt load of money on it.
> notionally more efficient alternatives to traditional table service have been around for a long time everywhere without restaurant owners feeling the need to replace it en masse

I take your point, always important to see if there is a cultural need before just slapping "tech" and "efficiency" on our experiences.

That said, fast casual has been digging into the midrange sit down market for the last decade. Fast casual limits waitstaff interactions and eliminates the need to pay before leaving. That could be read to suggest that the market saw the need, even if established owners didn't.

There's probably not a similar need when you're mostly paying for experience. I don't see tablets replacing staff at most places with a sommelier. The mid to low end of the market though has generally demonstrated demand for ways to enable faster and more fluid exchanges.
Since the thread has been nearly entirely about the baity title, we changed the latter to a more neutral sentence from the article.
Appears to work, even with latest patches, by using sh (from the link):

$ env X='() { (a)=>\' sh -c "echo date"; cat echo
date
Wed Sep 24 15:00:34 PDT 2014

-- previous bug fix for bash (before/after patch) --

$ x='() { :;}; echo vulnerable' bash -c 'echo test'
vulnerable
test

$ x='() { :;}; echo vulnerable' bash -c 'echo test'
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
test

Tested on Ubuntu 14.04.1 LTS & Debian GNU/Linux 7.0 (wheezy) with latest patches.

ps. lots of chatter about the original issue @ https://news.ycombinator.com/item?id=8361574
Agreed, but that's not how the (religiously-influenced) US government has historically worked. They've always made a distinction between rights endowed by the FSM versus rights that are enumerated by law.
We have observed things in our universe which match our expectations of black holes: http://en.wikipedia.org/wiki/Black_hole#Observational_eviden...

That we have observed something is not in dispute, as I understand it. What's in dispute is what, exactly, these things are.