skysight-inc/HackerNews huggingface dataset:
I'd argue that California's water management infrastructure is doing a great job. For example, the Crystal Springs reservoir, which supplies San Francisco, has remained nearly full [1], and municipalities haven't undertaken rationing or other drastic measures beyond "rat out your neighbors if they are watering the sidewalk."

This means that not only is the reservoir system keeping water in the taps of California's 38 million residents, but at least some of it is also keeping enough of a reserve to deal with catastrophes like an earthquake severing the pipelines that supply water to the San Francisco Bay Area.

[1] http://cdec.water.ca.gov/cgi-progs/queryMonthly?CRY
I'm not a fan of presentations where every other slide is an animated gif. I think it detracts from the presentation.

Also, this might be an old slide. The spec this was referring to appears to be dead: https://github.com/node-task/spec/wiki
[HT Error] sessionStorage is null

(pro-tip: don't design around mandatory local storage, there is no good reason)
I am a star trek fan. Love it!
TouchLocker: Hide Your Kids, Hide Your Wife, Hide Your Husband ('s Photos)
Weeelll... that depends on a lot of things. Any jammer with the power to work over a meaningful radius in this context is probably going to throw out lots of spurious emissions in neighboring bands.
20 Top Knockout UFC – Best of the Best
Yahoo’s Mayer Faces More Scrutiny After AOL Proposal
My understanding is that the yield was halved by the use of a lead tamper, rather than a uranium one. The tamper is a shield around the core that slows down the explosion in order to consume the reactants more fully. In production they commonly make the tamper out of waste uranium, which undergoes fission during the blast and contributes a significant amount of energy, but if you don't need the boost then lead works fine, or anything else heavy. The other thing about uranium is it greatly multiplies the radioactive fallout (fusion bombs are actually pretty clean when lead is used), which may have contributed to the decision not to use it.
I use OSX for iOS development but I am far from an OSX expert.

Question: Can I take the entire "Applications" directory, copy it to a USB drive, go to an Apple store, plug it into any machine and run Photoshop from my USB drive?
> You can change the way you think.

Nope. Pain is pain. You can't change that.
I second that opinion. Great book.
http://en.wikipedia.org/wiki/Rainbows_End
Authorities could also produce rogue clients that spam malicious messages--depends how resilient FireChat's protocol is and how well it filters noise (I might be talking FUD though as I haven't tried it).

Moreover, there's no way to police bad actors in a local mesh, and no global blockchain you can trust.
Depends on what you want:
- if you want to engineer the space station, better learn Russian.
- if you want to engineer robots, better learn Japanese.
- if you want to engineer consumer electronics, better learn Chinese.
- if you want to engineer cheap space missions, better learn Hindu.
- if you want to engineer pharmaceutical products or perfumes, better learn French.
- if you want to engineer oil refineries, then American English will do.
As far as I can tell they use Route 53 to identify targets.

The transmission type is still up to the client/receiver.
Drone footage of Hong Kong protests
Startup Brasil – []accelerate your business in Brazil
I'm sure it's because rsyslog supports it (many mentions in the article to staying compliant with rsyslog).
I think there's a strong argument to be made that not supporting SNI is a security problem, and will become quite a serious one over the next few years.

SNI is fait accompli. It will be adopted. It is being adopted. Without support for it, a rapidly growing number of sites will not be securely accessible, and effective regressions like the one you experienced will be encountered more and more frequently.

And in an age where interconnected systems are the default assumption and those systems change fast, I don't think it's realistic to adhere to an overly strict policy about what updates can be brought in during extended support cycles. I think Red Hat recognized this a while back. Canonical probably needs to.
There exist readily available test kits to check the purity. No consumption necessary. And of course it's just as important to look at the number of ratings. But you're probably being tongue in cheek.
If you read my comment carefully you'll see I don't advocate this strategy, I'm just exploring it. Extermination can be an attractive strategy, it just doesn't work very well against endless foes. The part you quote is sufficient for casting doubt on its efficacy -- that I didn't make the slam dunk of pointing out who's left seems irrelevant. Thanks for reminding me of that additional detail, though.
The way we use missiles and bombs aren't 'execution'. Maybe we kill the person we're trying to kill, maybe we don't kill anyone, and maybe we kill someone we didn't want to kill. We try to control the odds but there are no guarantees. Intel turns to orders turns to BOOMs.

The men blowing things up by remote control aren't executioners. They lack something the executioner has; They don't see the people they kill.

Your comment doesn't belong here. This article is about executioners. The men sitting in those comfy chairs aren't executioners.
I think you're interpreting "initial primes" as all the primes up to p+1; but here, I defined it to be just the particular primes we happened to start with. There can be gaps.

> I think a given divisor does not need to be prime; but it must not be divisible by an initial prime.

I will disprove by counter-example that not being divisible by an initial prime implies it is prime:

initial primes: 5 and 7
p = 5 * 7 = 35
p+1 = 36

36 has a few divisors. Lets take 18 as a "given divisor". 18 is not divisible by any of the "initial primes", 5 and 7. Yet 18 itself is not prime. (While it is divisible by the primes 2 and 3, but they aren't "initial primes".)
Yeah I don't get their approach. There is no way this will cause 100% delivery if one server fails within that rotation.

That chances of failure go up dramatically if 2+ hosts behind round robin fail, etc.

Not to mention once hosts resolve this to an IP they will re-use the route. This approach is not balanced.

I don't want to be /that/ guy but if they can't scale with ELB they should invest in a dedicated load balancer infrastructure that can offload requests to their cloud instances.

This is a really bizarre post.
Eruptions are limited in size by the (lack of) strength and weight of the material keeping it suppressed. Asteroids have no size limit.

Disclaimer: I am a software engineer, not any kind of geologist.
My wife and I work from home most of the time. I just checked our last bill and our use is 108 gallons per day. Toilets, showers, laundry, cooking, dishwasher. We don't wash our cars and just water some house plants. It adds up.
So all pain is equivalent? Is that what you're saying? Any experience of pain is a rational excuse to kill yourself? I guess if you stub your toe, you may as well end it all, then.
As others have mentioned, OSX is immune from the DHCP side.

Even then, at least the exploit for DHCP I saw manifests on the SERVER, not the client. When you are in a coffee shop, you are the client not the server. That means you would be the one to exploit the coffee shop, not the other way around.
Ask HN: How should I teach AP Computer Science at my high school?
I am currently a junior at high school, and I thought it would be a great idea to bring computer science to my school through a club, as the school refuses to have it as a class. Now I am tasked with teaching about 30 kids Java for the computer science AP exam in May.

These kids are willing to work hard, but we are only really given a small amount of time during lunch once or twice a week to have me go over the material. This leaves a lot of things for the students to do at home, so I am going to begin a small blog with links to videos and information on what they should be doing.

Does anyone have any experience with this? What is the best way to go about this? Thanks so much for any help!
Speaking of the Saturn V... it's one of the most powerful machines that humans have ever created. It was equipped with five F-1 rocket engines, with each engine producing an absolutely staggering 1,500,000 pounds of thrust; that's a total of 7,500,000 pounds of thrust!

Can you imagine being tucked into the small, cramped Command Module, sitting on top of this magnitude of power at lift-off?

The whole thing, the technology, the sound, the people coming together to make it happen... it's soul-stirring.

https://www.youtube.com/watch?v=ygBxN5UiOaM
> I find it hard to imagine a more dystopian future for software.

Really? The dystopian parts of that vision are already here: laws protecting software as intellectual property and laws prohibiting the circumvention of DRM. The other parts are almost certainly better for the vast majority of users.
After testing it by doing:

$ foo() { echo foo; }
$ foo
foo
$ export -f foo

I got this variable:

__BASH_FUNC<foo>()=() { echo foo
}
Sure. But my point is that good names make it even easier because they act like a refresher. Unix command line programs could also use to be better-named. "cat" and "ls" are example of fairly poor names (but again, common enough to not be a big problem!), whereas "head", "tail", and "echo" are much better because even if you forget what they do, the names themselves refresh your memory! Naming things well is definitely hard, but it's worthwhile.
That is an excellent observation. I was in the Open Reputation Management Systems Technical Committe at OASIS. During the initial discussions there we mostly agreed that reputation has to be multidimensional, for exactly that reason. I may have a great reputation in XML, but have credibility in .Net. Popularity is still a concern, but there mechanisms that can mitigate this. For example, a feedback mechanism where the reputation changes of someone feedback into the reputation of people previously voted on that persons reputation. So someone who used a mechanic with a high reputation and down voted him when they found out his reputation was unwarranted would also impact negatively the reputation of the people who gave the mechanic the unwarranted increase in reputation.
It obviously isn't VNC style. After all, if you lose a connection when using VNC, you don't end up with the files on your local machine to be recovered. They would be still out on the net.

The processing is local, that is for sure.
As you might remember, there were a few days after 9/11 when all air traffic nationwide was grounded. Some scientists took it as a once-in-a-lifetime opportunity to examine what effect air traffic might have on climate.

Here's an article in Nature talking about it.

http://www.nature.com/news/2008/081231/full/news.2008.1335.h...
Honestly I wouldn't be surprised if Apple or Microsoft were paying Adobe large sums of money to not do that.
Apparently it is my blood type or something, but I am constantly getting eaten alive by mosquitos. I grew up in rural Pennsylvania where they are common, so it was really annoying.
If you link directly to the HN post and the visitors upvote, this could penalize the post due to the no self promotion rule. Any mods want to comment on this effect?
Why on earth would you do such a thing?
If your bash has been moved, then scripts which explicitly reference /bin/bash are going to have a bad time.
They applied the unofficial one. The official one uses a different suffix.
This is stupid. Latency (which can't be reduced below the speed of light without circumventing the laws of physics) is incredibly detrimental to drawing and digital painting, two of Photoshop's most popular use cases. A frame or two of lag really hurts responsiveness (a frequent concern when using a large brush on a slow PC), and network latency to nearby servers in the US starts at around 30ms and only gets worse. Client side prediction helps a lot in video games, but predicting a graphics editor basically entails having the entire editor, at which point the "cloud" is doing nothing but storing your files.

I will never understand why people are so obsessed with the extreme of the thin client ideal. They are a good choice in a world where the network is fast and low latency, while client devices are underpowered and expensive (VT100s in a lab with minicomputer in the next room). Meanwhile, we've lived for at least the past two decades in a world where the network (on the cellular and home broadband ends) is slow and high latency but our client devices are incredibly powerful and cheap. The period of time where this makes any sense for anyone except for proprietary software vendors that want to close off any possibility of pirating their products has long since passed.

The appeal of "compute clusters" for most "power user" tasks especially diminishes when you realize that shitty off-the-shelf PCs from 10+ years ago were perfectly capable of running programs that did most of same stuff as their modern versions. New functionality has been added, of course, but most of the increase in resource requirements came from selfish programming from generations of programmers that never learned how to optimize. There's no reason that a Chromebook with a cheapo ARM or low-end Intel SoC shouldn't be able to natively run a better optimized graphics program like Paint Tool Sai with CPU time/battery to spare.
Other points I found particularly interesting:

The author argues that this surplus extracted value doesn't end up primarily in Apple's pockets, but in consumer's.

The author incorporates the concept of "reproductive labor" as an unpriced input, a cost accounting I've not seen before and have some skepticism of but is interesting nonetheless.

It tries to account for the extra extracted value that come from hukou restrictions, giving purchasers of their labor some level of monopsony power.

Instead of focusing myopically on "proletarians" like most Foxconn diatribes do, the paper also brings up the usually unaddressed issue of exploitation of Chinese management and engineering resources.
> There's a strange morality here: at what point is it unethical to voluntarily disclose data about oneself, if it could be used in a way to harm someone else's privacy?

At what point is it unethical to exhale, given that carbon dioxide is toxic to humans and is a greenhouse gas? At what point is it unethical to vote, given that you might influence an election in a way that is bad for society or some subset of society?

It's true that nearly every (and the "nearly" is just a hedge) action we take has some negative externality. I personally don't lose sleep over the ones that are virtually impossible to measure.
Claiming that "terminals are the future once again" is hardly controversial. How much (time/money/mind share) are invested in non-networked, desktop-style apps? Some, yes, but "everyone" seem to be (continuing) the push for networked apps (MS Office and Exchange/Sharepoint, Google (everything), Adobe/Macromedia with Creative Cloud, Apple iCloud ...). Mozilla is doing a cloud-push to, but have thankfully so far had a very strong self-host, do-what-you-please story. Not sure about the Firefox OS, though -- will we be able to (easily) host our own app store? Back-end services? At least for now the things I use (Firefox sync) is easy and feasible to self-host.

The one thing I could see giving a resurgence to "off-line" for mainstream use, is latency -- more concretely -- the low latency tolerance of VR. But then again, as long as you can stream enough data/logic to the "terminal" -- even that shouldn't be a problem.

I do hope the industry can help shift things towards locally cacheable/locally hostable solutions, though. I'd much rather run some "cloud" office suite on my server, with the option of taking it with me off-line from time to time (and then perhaps sync up whenever I'm on-line) -- than having my data on a third-party server. Or servers.

I'm afraid the more likely future, is a future where a majority of users are locked-in to the whims of mega-corps -- and the scariest part of that, is that those that are leading in providing "cloud" services actually have a business model that centres around (ab)using the data, not charging for the services they provide.
I am more worried about the DNS caching issue.

The 2+ hosts failing should not be much of a problem if you have a separate health checker host which does nothing except gathering heart-beats from all the hosts in your fleet and updating the DNS periodically.
http://www.globalsecurity.org/military/systems/munitions/acc...
I really liked ttytter. I got to where I preferred it over any graphical clients – the information density was so much higher in the console. Sadly it has not been updated in a while (and I have since left twitter).
This charge was dropped.

In my opinion, it was a baseless charge in the first place, meant to poison the well against Ross.
2014 Hong Kong protests
Your single-letter-name examples reminded me of some of the articles awhile back about church numerals, which of course used "s" for "successor" and "z" for "zero". One of the comments on one of those articles was somebody who clearly read the whole article without having a good guess at what "s" or "z" were supposed to mean.

I found myself wondering what the point of using "s" and "z" instead of "succ" and "zero" could possibly be, besides some sort of mathematical bravado.
Mixing in the genuine scientific concern about neonicotinoid systematic pesticides with completely off-the-wall worries about cell phone towers and GM crops is just trying to spread uncertainty and doubt. I can't understand why a journalist would write such a misleading article today after the scientific studies & the EU ban.

Neonicotinoids are applied by treating the _seed_ of the crops. Their very action is that of a nerve agent for insects. It really isn't that surprising that sub-lethal doses might have an effect on the ability of honey bees to navigate back to the hive.
This isn't some 'underlying premise', there are a number of careful scientific studies out there out there[1], perhaps the most interesting to the Hacker News audience is where they attached RFID tags to bees[2].

Also, the Varroa destructor mite doesn't tend to do that much damage on its own, it is a vector spreading viruses. The modern mix of viruses swirling around the bee populations are probably not helped by commercial movement of colonies around the country.

[1] http://www.theguardian.com/environment/damian-carrington-blo...
[2] http://www.ncbi.nlm.nih.gov/pubmed/21267650
Agreed. But only if that's how it's implemented (essentilly VNC to a centralized app). But if it runs code locally, then latency should be fine. I've not seen any details on what they're actually providing, so it's hard to tell what they're offering. I'd assume it's a continuation of their "creative cloud" offering, which as far as I know, caches the application code (and assets) locally?
Ask HN: Gadget hacks that can be made into school projects?
I'm helping a school design a robotics/programming curriculum for grades K-8. Part of what I want to do with it is give the kids experience hacking on everyday gadgets as a way to get them into the habit of thinking of technology as something they can control and tinker with, instead of being a magical black box. I want them to develop the "Let's take that apart and see how it works" mindset.

Are there any fun hacks/mods you can remember doing to everyday objects (electronic or otherwise) that might be approachable by kids aged 8-14 years?
That's a nice simple little script. Thanks for sharing!
This is one of my favorite things i've read on the internet in recent memory.
Database query optimizers for simplifying software systems (2012)
This is neat. I had no idea it existed. Forever in love with the power & simplicity of Ruby.
"Peak Oil" as a phrase always seemed like a way to stumble into some really simplistic conversations. I never really quite understood it. I've been in conversations where people have described it as a peak "moment" where overnight our life will turn into one of those bad ABC tv shows that gets canceled mid-season.

If you've got a steep price curve, such that a little bit of extra demand means that the cost goes way up (because of constrained supply), then it also means that the price curve is also steep on the way back down.

What that means is that if a demand spike makes the price skyrocket, then all sorts of alternative fuels become economical when they weren't before. And then, as more people switch to them and the demand for oil relaxes even a little bit, the oil price can fall dramatically as well, until some of those alternative choices don't seem as economical.

Even just a simple model like that can explain all sorts of brain-numbing conversational patterns. Like the certainty that big oil has had the knowledge of clean, cheap energy and that they keep it secret to make money on oil... or that they'll pump up oil prices to lure the alternative energy people to make business risks, and then purposely flood the market in order to put them out of business, etc.
On many machine learning algorithms, the pattern matcher doesn't return probabilities, rather confidences on a range of 0 to 1. The higher confidence wins.
From Apple's email announcement http://lists.apple.com/archives/security-announce/2014/Sep/m...

* The version after applying this update will be:

OS X Mavericks: GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin13)
OS X Mountain Lion: GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin12)
OS X Lion: GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin11)
did you read the article? He explained why MySQL's fulltext is not acceptable.
Python REPL with syntax highlighting, autocomplete and multiline editing
That's exactly why it's a problem.

If you have 3 hosts and 2 of them go down, in this setup there is more than 50% chance that cached hosts will be trying to connect to a non-existing server.

Also expecting client to perform a DNS lookup every time there is an outgoing log packet is pretty shitty for performance. You can't guarantee near instant DNS server availability for every client.
That article describes a theoretical infrasound weapon, not something that is being used today:

But this [infrasound weapon] has seemed to be not a very practical weapon, since large banks of speakers were required to provide directionality, and power demands were deemed excessive.

The article goes on to describe LRAD which does exist and has been deployed, but is a high-frequency weapon, not an infrasound weapon (and can be defended against with a good pair of earplugs).
I'm not afraid that we have too little oil. I'm afraid that we have too much.
Apple Watch Hands-On: The Wristwatch Just Caught Up to the 21st Century
Wondeding if Acha will be open sourced :) Only because their platform description sounds tempting. They say no AJAX once it's loaded (isomorphic) but I don't see that on the site, wondering if that's just not live.
He predicted that U.S. oil production would peak, probably in the early 1970s, and then decline. It would resemble a bell curve.

If M. King Hubbert were alive today—he died in 1989—would he admit defeat? Probably not

No shit he wouldn't admit defeat. He was absolutely 100% correct. US oil production did peak in the 70's.

http://en.wikipedia.org/wiki/Oil_reserves_in_the_United_Stat...
It will NEVER happen.
That may well be. For me, it sounded like an HR (human resources dept) term: "employee on-boarding" (something that sounds like employee water-boarding but not as bad).
Monster leech swallows giant worm