skysight-inc/HackerNews huggingface dataset:
Yep, great place. Two Engimas with which you can encode and decode messages.

This place is also awesome; just north of BWI:

http://www.nationalelectronicsmuseum.org
This year's thread: https://news.ycombinator.com/item?id=13254232
Rust for Clojure Programmers
That's an editor problem.
I don't listen to podcasts while programming, I listen to them in the shower or during a drive. I do find the interview format to be a great way to learn (at a high level).
This year's thread: https://news.ycombinator.com/item?id=13253618
I'd say the addiction is more about sourcing food where the government subsidizes the cost.

The east coast has no water issues compared to the west, yet farmland is fallow everywhere.
When exactly will cm shut down? Until when will I be able to get the freshest nightlies of CM14.1?
Many people have hour+ long commutes during which they can shitpost on the internet. It's still really fucking boring and a massive waste of your day.

Also, congestion still affects people in a self driving future. A complete abandonment of public transit in major cities would lead to much larger increases in commute times than you seem to think.
I see numbers from 441 to ~12,000 gallons that does not inspire confidence in the estimation methods.

No doubt beef requires much more water than wheat but let's not oversimplify.
Ask HN: Best uses for Amazon Echo?
I got an Amazon Echo and some wifi enabled light bulbs and electrical outlets for Christmas.

What are your favorite uses for it? Any cool "skills" you've made?
That analogy isn't great -- plenty of places in the world have power crises, and they do respond by limiting consumption of power.

In actual water crises, such as the one in California, limiting and controlling consumption is the response. Obviously, it's always better to come up with an alternative before you reach the crisis. But once you've gotten to the crisis, you're already exhausted all other options and have to be realistic.
Building a home with my own two hands has been a bit of a dream of mine. The government, governments in general but particularly the government in my own country, have become so overbearing, with a desire to micromanage and control and monitor every little aspect our existence. They want us to get their okay and stamp of approval before going about the ordinary course of our lives. There's something beautiful in ordinary men like Morrison who choose to stand against that.
Unlikely a problem given the discovery of a largest fresh water bodies ever known was just discovered: http://inhabitat.com/scientists-discover-freshwater-reserves...
It's more the opposite. If you follow the government beat, China was this unlimited threat until it wasn't.
I think it's what they call the tragedy of the commons.

Wikipedia says an externality "imposes a negative effect on an unrelated third party". For example, pollution from a coal-fired power plant that pollutes the air of people living somewhere else.
This seems like a very simple concept when compared with other systems using software transplants [1]. The most important thing I gleaned from this is the benefit of having 'type information' (clojure specs) available as first class data. The reason why this is so simple, which isn't a bad thing, is because clojure (and lisps) makes it easy to get metadata and work with it.

[1] http://crest.cs.ucl.ac.uk/autotransplantation/downloads/auto...
That'd be more fitting for Easter though
I love the way this begins:

"You already write software in Clojure. It pays your bills. You enjoy it. You're in an industry reaping disproportionate benefit from loose money policies, leading to a trend-chasing culture of overpaid nerds making web apps. You feel guilty about this, but there is nothing you can do about it because you have no other talents that a rational person would pay you for.

"Learning Rust will probably not do much to solve that problem for you. It won't assist you in making the ontological leap from a tired stereotype into something sentient and real. You will remain a replaceable silhouette with no discernible identity. It might even exacerbate the problem. However, it will give you a useful tool for writing low-level software."
Not directly an answer, but one of the big issues with security patches for custom ROMs is the amount of patches they don't (read can't) ship. The proprietary blobs are very often not patched when the device is vendor-supported, and once it reaches end of life from the vendor (but the community ROMs give devices significantly extended longevity), there's no more patches to these blobs.

Blobs incorporate the modem, baseband firmware, bootloaders, and many (most?) of the hardware drivers and imaging drivers.

51% of Android kernel vulnerabilities in vendor drivers are a result of missing or incorrect bounds checks, and over the whole Android kernel, 44% of all vulnerabilities were missing bounds checks, and 12% for null pointer dereference.

Looking across the whole kernel, from Jan 2014 to April 2016, 85% of kernel bugs are born in vendor drivers, with the remainder in the core kernel.

Vendors therefore are shown to write bad code. It's fairly safe to assume this is reflective of the quality of their blobs too - there's certainly a load of vulnerabilities in those if you look at the Android Security bulletins for bugs without a source reference for the fix.

So agreement with your concern, but I'd just like to highlight that custom ROMs are not really a good security solution, as there's just so much to fix (at a kernel level, requiring detailed driver knowledge of the vendor/SoC stuff), and blobs that won't get updated after the vendor abandons the phone.

Ref: https://events.linuxfoundation.org/sites/events/files/slides...
_More_ fossil water may not be the solution we seek.
A lot of people do not by cars in areas where there is affordable and useful public transportation or taxis. I would say most people are buying cars in areas where a cab would be significantly more expensive.

There is currently no viable alternative to cars in the vast majority of the US.
There needs to be more publications covering this, because I don't see this becoming common knowledge or practiced very often.

Then there's the modern design decisions that make some of these subjects taboo, like "you should never cache anything" and "a single node can handle a million concurrent connections so why worry" and "let's make all our machines use 99% of their capacity with containers because it's more efficient and hope we can deploy standbys before the database queues too much and blows the entire stack up". With the emergence of the pseudo-Devops cargo cult, people who like using JavaScript for server backend code are designing infrastructure they've never administered before. (sorry for the rant)

There was a really great paper published a few years ago that was basically an Everything You Need To Know To Run Large Scale Enterprise Systems type paper. I can never find it when these types of threads come up, but it was dozens of pages long and really in-depth.
> Maybe there's a way to request an Uber that's big enough for my instrument, and to pay a little extra for that.

There is. UberXL in most cities with Uber.

This has generally also been true with taxis. There are usually van taxis you can request, but there are fewer so they take even longer to come than the cars.
>The barrier to entry in the FPGA world is tooling and expression.

Re: tooling, both major vendors of FPGAs have free basic versions of their tools (e.g. Xilinx's Vivado and ISE Webpack) and supported development boards are available for $99 or less (e.g. Digilent's Arty Board).

Re: expression, both Verilog and VHDL permit gate level modeling. Verilog even has gates as language primitives.
I've had to post this using a throwaway as I've had to hide this from my employer who only hangs onto me as they don't know the magnitude of the problems we are facing. They think it's a temporary dip in health.

That was throughly depressing and a little too close to home at the moment for me. I can't work out if it's better to burn out in 42 days or live for 7-10 years with a crippling immune disorder and constant care requirement which is what my wife faces.

In the space of a week you don't see a difference. In the space of a year, you realise the change. 2016 disappeared in a flash. We did nothing due to hospital appointments and illness. I have to work to pay the bills. You can't live on nothing. So it's work, care, work, care. She declines. We never get to live.

At the end we're left with nothing.

I implore anyone to enjoy life as soon as possible. Don't save it for a rainy day. It might never rain. We saved and planned and never got to fulfill our plans.

And I can't live without her.
Yes. In practice, the economic dislocations involved are often severe.
Tldr: senior citizen (88-92) builds himself a house but government inspectors find it unlawful. The citizen resists and after many court appointments he is finally given the permission to live in his house until he dies.
And it happened in Canada. And the author laments the loss of freedom from "before".
Is this what happens when self-healing code starts to post on Hacker News :)
There was more discussion recently at https://news.ycombinator.com/item?id=13249307. Incompatibilities in Cyanogen Inc. leadership plus some bad deals, is what I gathered.
Food shock =~ meat shock. 95% of our agriculture is dedicated to raising meat. Cutting meat production immediately relieves any and all water problems.
Yes but in general politics comes in the way.

Agriculture is not just a way to make food, but a source of livelihood for millions of people. Most non-developed countries depend on agriculture to provide work for their people. This would affect them the most, putting most of them out of work.

There's also the simple factor that countries want to be self-sufficient in their food production.
I'm not a big fan of this style of online journalism. Do we have anything on this other than an opinion piece heavily lacking in detail? Could anyone even explain what the opinion is exactly?
But I can raise cattle on land that wont grow wheat. I say this as someone that grew up near the Idaho Rockies. The land is incredibly rocky, seemingly barren looking, and EXTREMELY plow unfriendly. But cattle graze without a problem.

Now, as for the giant feed lots that you probably think all cattle are raised in, those are a thing. But so are open range cattle.
a robotic girlfriend?
When Water Balloons Hit a Bed of Nails and Don’t Pop
I don't want to minimize the concerns of groundwater loss, but I don't see it resulting in a food shortage as the article suggests. It just means we'll have to desalinate. Yes that will mean food prices go up, but they also go up in relation to other things like rising gas prices.

Preserving ground water is important, but tying it to looming food shortages seems alarmist.
Cryptolulz666 Hacked the Dutch Chamber of Commerce in HK
Ireland. Even if we lose most of the water through rusty pipes, there's still no shortage. Ireland uses that water to be the fifth largest beef exporter in the world and the largest exporter of beef in Europe.
We detached this subthread from https://news.ycombinator.com/item?id=13253629 and marked it off-topic.
As a Haskell programmer who's done a little bit of Rust, I agree.

In Haskell, we do have an escape hatch in the form of the ST monad, which allows you to write an imperative algorithm with mutable state and call it directly from pure code. This is safe (i.e. it doesn't break referential transparency) because there isn't any way to introduce nondeterminism.

ST is more restrictive than the IO monad. You can't do file I/O or use concurrency. (You can use the same parallel evaluation tools that are available in pure code.) So, pure Haskell code plus ST is definitely still more restrictive than Rust safe code, but the difference isn't quite as large as it might appear at first. And sometimes Haskell's added restrictions are a good thing, if that's what you want.

It is pretty interesting that if you start with the premise that sharing + mutability is bad, you can go either in the direction of Haskell and disable mutability (and then re-enable it in some contexts that are known to be safe) or the direction of Rust and allow sharing and mutability, just not at the same time. Both seem to be good strategies that will appeal to somewhat different audiences.
Classic books, if there's any they've missed. Maybe "The Mythical Man Month"?
Secondary source since the website seems down right now.

http://www.androidpolice.com/2016/12/24/cyanogen-shutting-se...

At some point before 31st December (at the latest), according to their blog post. In reality, their website is down right now. Downloads and other sites are up, but the blog is down.
Well, in another 25 to 35 years, we'll hit the 3 degrees C warming that will start collapsing the global food supply system.
Wars have been fought over less.
Sure if you lock everything else as constants. "We are accustomed to living like this" is not an overriding force.
Please bear in mind that there's no actual information in this piece. The author clearly decided what the story was going to be before they had any details about it. If you want to build your own house, go ahead and do it - and research people who did it successfully and imitate what they did, instead of giving up before you start based on one thin story about some edge case.
Is this really a mystery to you? It is clearly a Christmas thing along with the red/green alternating colors for posts.
We detached this comment from https://news.ycombinator.com/item?id=13254468 and marked it off-topic.
We've banned this and a related account for repeatedly violating the Hacker News guidelines despite requests to stop.

Please don't create accounts to break the site guidelines with.

We detached this comment from https://news.ycombinator.com/item?id=13249787 and marked it off-topic.
Varnish Software: Accelerating Digital Content Delivery–Anywhere, Anytime
Actually, conservation is likely much lower hanging fruit than new generation -- both for water and energy.
It's just that the American market somehow thinks "conservation" equals "limiting and red tape" when it really means "making sure you can keep producing/consuming."
Mileage is not a major factor with young cars. People have regularly hit 1,000,000 miles and while many components need to be replaced much of the original car can make it that long. Further replacing a full engine costs less than you might think, it's the piecemeal replacement of individual parts that drives up costs.
The way I interpret that problem is that the pricing model itself is broken: it should be set up such at the cost of water increases the more water you use; if you are using a family's worth of water for drinking and cooking and showering, then you pay low rates, but if you are using an estate's worth of water then instead of just paying linearly more you should be forced to pay staggeringly more.

Another way to model this which some people will prefer and others will think is worse is that you just charge the correct/high rate for water at all scales but then hand people cash to subsidize their expected requirement for water, which they could choose to spend on water or which they could spend on something else, which maintains incentives to use less than the expected amount of water but which also doesn't cause weird effects in the market itself where people start trying to sell each other water from their different rate brackets.

(edit: Actually, I guess this is sort of how California has been trying to deal with this, with penalties to larger users... but in practice these penalties are of course being given to the people already not using much water and are not being levied against the richer people who are using tons of water :/. Here is an article about this from the New York Times, "In California, Stingy Water Users Are Fined in Drought, While the Rich Soak".)

http://www.nytimes.com/2015/11/22/us/stingy-water-users-in-f...
Weekly podcast of news & interviews from the Elixir Community.
https://soundcloud.com/elixirfountain
I had to read it in two times as I started crying uncontrollably half way through, powerful writing.
https://news.ycombinator.com/item?id=10773214
Actually,

>this friendly, fat Santa in these bright red robes, which, I don't think is a coincidence, match the color of the Coke logo — this really took hold in American culture."

http://www.npr.org/2016/12/20/506215632/how-red-and-green-be...
https://news.ycombinator.com/item?id=13234528
Because it's the day that we celebrate the birth of a man who was nailed to a tree over 2000 years ago for saying how wonderful it would be if we could be nice to people for a change. Even though today isn't his birthday.
Dupe: https://news.ycombinator.com/item?id=13253884
I'm kind of curious about the code for alternating red/green. Could anyone share the Lisp/Arc snippet?
David Brin's Existence is an excellent 300-page novel hiding in a 500-page novel amid a couple of hundred pages of self-indulgent garbage. If you're good at skipping over junk (for starters, ignore the blog-post styled sections), it's a good read. At the end is a beautiful metaphor for the social mechanisms governing the scientific community. And the story revolves around remote aliens transmitting knowledge to humans.

https://www.amazon.com/Existence-David-Brin/dp/0765342626
> Liu, Cixin - Three Body Problem.

The second book in the series is the best.
Desalination seems perfectly capable of creating enough fresh water for agriculture. Desal requires plenty of electricity but with a big investment into new nuclear power plants these demands could be easily met. Switching to irrigation with desal water will come at a cost but I don't think it will be dramatic in the developed world.
I live in New York, frequently travel to suburbs around the country and world, and have not missed for a second the driver's license I gave up almost 5 years ago. This might be a generational thing.
Clojure(Script) is easy to learn. Especially if you compare it to Haskell.
The core of the language is quite simple but leaning standard libraries will take time.
This is a good place to start http://clojurescriptkoans.com
On the other hand, following building codes is one of the major reasons why when natural disasters strike, people don't die by the thousands or millions any more.
"Functional" doesn't necessarily imply "pure", but some functional languages do offer great tools for reasoning about purity and state. Here is a simple example in Haskell:

showTenRandoms :: IO ()
showTenRandoms = do
gen <- getStdGen
let randoms = unfoldr (Just . next) gen
putStrLn $ show $ take 10 randoms

We create the random number generator "in the `IO` monad", where non-pure actions are allowed. Then we pass it to `unfoldr`, which is a pure function (you can tell because it's in a `let` binding), to generate an infinite list of random integers. This works because when we use the generator to get a random number, it isn't mutated, but instead returns a random number and a new generator. The `unfoldr` call basically just iterates on that operation.

If you don't know Haskell, this code will probably look like nonsense, so you'll just have to take my word for it. I'd be happy to explain or clarify further.
I completely understand your point of government intrusion, but there are actually building codes in place for a reason. An example is the San Francisco fire of 1906. Building codes set safety requirements for construction for the general safety of everyone living in or around a building. Whether it's fire codes, plumbing codes, earthquake codes...etc. If there were no building codes, we would he of housing fatalities daily on the news, and LA would look like favela. You can't just construct a building however you wish, no different than you can travel down an expressway as you wish (i.e. walking in the middle of the lane).
None of them. Most software podcasts are rubbish. IMHO, you should go listen to Nightvale, Radiolab, or 99PI instead.

The only time I'll listen to a tech podcast is when Cantrill is on BSDNow. Because Bryan Cantrill, like him or not, flaws or no, is a fantastic speaker, and is amazingly funny.
I take my dog in Ubers. I call in advance to ask if it's okay; I also give a cash tip for it. Only one driver seemed ambivalent when I asked and seemed thankful when I said I would cancel and rebook.
Ask HN: What do you want to learn in 2017?
Oregonian here. Looks like we have above average snowpack currently:

http://www.wcc.nrcs.usda.gov/ftpref/data/water/wcs/gis/maps/...
tl;dr Cyanogen Inc failed, and is pivoting away from ROMs.

What I don't get is why they won't just give up the CM name/domain? Are they pulling an OpenOffice?
as per the Wiki page, the Python maxim applies: "It is easier to ask for forgiveness than permission".
They forgot one color though - blue. Coz his head would be black and blue from the hit from the apple. (We have black already in the text).
I don't think any one in this thread is saying building codes or regulations shouldn't be a thing, it's more that regulations shouldn't be so complicated that they become barriers to entry, and that common sense should be applied alongside the regulations. Who gives a shit if there isn't a sticker on your lumber if the lumber is of good enough quality?
There are large parts of the world where Christmas isn't celebrated, so it's entirely plausible that not everyone recognizes these cultural references.
I am aware but at least I won't get hacked which is more important than performance.
Just saw your line about HW verification. That was my last project. Mostly done with it. I came up with a few ways to do it but you always need or leak source. No way to do it with gates only so far. There's potential but I wouldnt trust it. The standard cells will take mutually-suspicious parties reviewing by eye with expertise in analog and RF.

Email me and I'll send you some stuff. Summaries first then anywhere from a few to a pile of papers with specifics.
All of your error handling code re-writes functions in live code to replace failing function calls with calls to function that would succeed?
If I understand this, he built it to the building codes he knew in the 60s and couldn't understand why the building inspectors kept finding violations in what he built.
I'm torn on building codes.

They increase the cost and duration of building a new dwelling by exorbitant amounts and limit the creative freedoms of the builder into practically following cookie-cutter templates (esp in terms of materials).

On the other hand, they theoretically provide some semblance of assurance that when you buy a new property that it was built to a certain standard. Unless it was grandfathered in, or the builder "knew somebody," or work was done without a permit after the dwelling was built, or ...

As somebody fully capable of building my own house though, damn do I wish they didn't exist. It means putting off that dream for an untold number of years of further saving and wasting money on rent instead of being able to buy a piece of land, and slowly progressing from a shack to a beautiful home worthy of a family. That ship sailed long before I was born, and instead of providing their purported benefits, building codes just feel like another tool to oppress the not-wealthy.
There is a difference between safety and blind obedience to building codes.

Building codes are about standardizing things so builder and inspectors barely have to communicate - at a glance they can see they followed x, y, z.

But the law should have a place for homeowners who do things safely, just not exactly how a builder would do it. That's why many places require permits for various work (for example electrical work) - unless you do it yourself, in which case you are exempt. And that's the right way to do things.

Just like you don't need the health department in your kitchen, but you do in a restaurant.