skysight-inc/HackerNews huggingface dataset:
>We don't need gas, or oil, heck we can even survive without electricity. We can make do. But we die without water

I understand that this is not your primary point, and I even understand the sense in which it is true, but I think it's short-sighted.

People will die without oil, electricity and silicon chips because we've come to depend on them for such things as medicine, agriculture, waste processing, etc.

Things like your run-of-the-mill plastics are very much a matter of life and death.
It is surprising to not see desalinization mentioned, here or in the article. Consider https://www.scientificamerican.com/article/israel-proves-the... or https://www.technologyreview.com/s/534996/megascale-desalina.... I have no special knowledge of desalinization apart from a distant relative who has worked on such projects, but the absence of it in the discussion is notable given its recent prominence.
Realtime new stuff on Netflix for series junkies.
If I have an online store in multiple languages, how does the spider index the different languages? Users can change languages by toggling them in a dropdown in the UI.
Very much so. I was originally planning on eating there, but when I saw the emptiness, I picked the 'to go' option.
I am the creator of https://comments.network/ which
you are using on the bottom of the article, and it's
the first time I spot it in the wild!

That's pretty cool! I made my own version of this a few years ago, and if anyone is interested it's open source:
https://github.com/jeffkaufman/webscripts/blob/master/commen...

(Mine can also do facebook and google plus, though to do facebook it needs an API key.)
Cars are definitely more than a commuting device, they are cultural.

Also I think articles like this often forget that while it would be great to not need a car for the morning commute, people in suburbia still need to do many other things like shopping and fetching children etc.

Many of those tasks are just easier or more preferred to be done in personal transport. Sometimes you need to leave some shopping in the car while you go in to sit with the kids at an after school thing, before heading past a friends house to drop off their kids then finally heading home. A self driving fleet could probably still achieve that in multiple trips, but how many people want to deal with continuously pre-planning and concerting a half dozen small trips a day?

I strongly dislike suburbia and car culture does grind my gears in various ways, but I can't help but feel the car-in-an-app is solving the very specific problem of short once off trips, and solving that doesn't even come close to solving the nations transport issues.
Most fast food experience is lonely when you're by yourself. The idea seems like it would work well as a drive through service.
And more widely, much more crops are used as animal feed vs human consumption. We have no food shortage, just a high demand for luxury (meat) foods that competes with basic sustenance.
Better late than never... OTOH, just add "forgot Festivus" to the grievances.
in es5 you can use defineproperty to lock and control get and set. In es6 theres tail call optimization.

linters and static analysis in JS is still young, but will complain about type mixing and mutables.
> Humans need water

Every person gets a free daily "survival" quota. Above that, you pay market. The latter subsidises the former. You pay less for your drinking water and more for your lawns and alfalfa.
أوامر للجيش الموريتاني بتوقيف اتصالات موريتل
It's not often you brush up against someone whose work you read and enjoyed. Thanks for what you wrote. It helped me become a better programmer.
"Rising temperatures and growing demands for thirsty grains like rice and wheat could drain much of the world’s groundwater in the next few decades, new research warns."

Wait, what? A global water shortage is one problem that global warming would actually help fix. There might be local droughts, but it's meteorologically obvious that higher temperatures = higher evaporation = higher global rainfall. A warm ocean pumps out more water vapor, and warm air can hold more moisture (which is why Antarctica is so dry).
'Amos Schocken, Are You a Zionist?' a Q&A with Haaretz Publisher
The amount of "persons per car" certainly will go down, with cars going around empty just to collect persons.
Hope you enjoy your comments being ignored. The echo chamber is strong, here.
> If we could ever scan your neurons and determine data from them would you be ok with that?

The premise behind the self-incrimination privilege is that coerced confessions are not just unfair, they are unreliable. If you can scan neurons directly (and reliably), that rationale doesn't apply.

And in any case, I don't see the slippery slope here. Your phone and a diary are both external things where you voluntarily put information--completely different from scanning your brain.
Monolog is an interactive diary bot that prompts you with interesting questions
And it's not a scary prospect to me. I pay market prices for most things. And when the price goes up, I rethink my use. And when the price goes down, I don't worry so much. I may even use it to replace other things.

When water is cheap, you may see people spraying down a sidewalk during a drought when they could use a broom. Raise the price and their behavior changes.

And if you're worried that people can't afford water for they personal use, what I advocated was each citizen getting paid their share of the water revenue.

And that actually would go UP during a drought, more than the cost of their own direct personal use. That's because INDUSTRY uses the most water.

They would, of course, pay more for the products of industry.

And things like shipping bottled water from California during a drought might become a thing of the past. As it probably should.
Yes. Sounds like you'll have to deal with getting the data from different sources (either by crawling or APIs) hopefully in a distributed manner (storm, for example) and then analyze the inputs using something like spark or hadoop. If you like, let me know if you end up building it. Email in profile.
> If we're going to shrink big values to small ones, why not just start with small values in the first place.

Because you want to test things in the order that will most quickly find you a small error. This winds up being a trade-off, and as you say QuickCheck doesn't start with arbitrarily large inputs. But just testing all small inputs in order is often not the best choice.

For example, if your function takes an unsigned 32 bit integer, and you've tested inputs 0 through 15161, do you expect you're more likely to find an error next testing 15162, or 4294967295?
Alabama is in the midst of a drought.
Ask HN: Why is the top bar red?
You seem to be obsessed with this idea that "functional programming" is a fancy term for squishing your entire program onto one line via gratuitous use of anonymous functions, which simply isn't true. I don't know what this snippet of code is supposed to do, and it's not very pretty, but guess what: it is just as easy to produce unreadable garbage in an "imperative style". I've seen a lot of both, but more of the latter.
Producing a pound of beef requires 2,000 gallons, vs 138 gallons for a pound of wheat: http://www.gracelinks.org/blog/1143/beef-the-king-of-the-big...
Awesome idea, was thinking about something like that for a long time. Not sure about implementation though. You can define algorithmic problems in a declarative way, but what about the rest, ie. 99% of actual work? Like a website. To verify that a result is good would require a human-level ai.

Instead of a hello world example in a video I would like to see a high-level example for something really complex, like:

"The site you're currently viewing is served by a web-server that was designed and built by this network of
agents in 12 minutes."

ok then, how high level and reusable that code actually is? Show it.
First go on new drone. Biggest fail i have ever seen
We're definitely not fine in the Southeast right now. Large portions of Georgia in particular are in extreme drought. See: http://droughtmonitor.unl.edu/Home/StateDroughtMonitor.aspx?...
My pet idea is that you could do dynamic "bus lines" with this.

Have a variety of capacity vehicles, including full sized buses. Have bus stops and have people indicate where they are going, and set preferences (like "willing to accept a change for a discount" to allow better vehicle utilisation), and dynamically adjust the routes accordingly and use minibuses or smaller cars to "backfill" capacity to aim to guarantee that you can be picked up within a certain time.

Having fixed routes and scale up size of vehicles based on actual detailed drivership data would be very interesting.

I know from my own bus usage that having the certainty that there'll be a bus "soon enough" makes a big difference in how often I take the bus vs. when I'll order a car. If I know that if I go to the bus stop I'll get one or the other but guaranteed within a short time, it'd remove most of my need for ordering cars.
The fact that Cuba managed to reach the standard of living that it did while almost completely disconnected from the world economy is remarkable, regardless of what you think of its political situation or what could have been if Batista held on to power. It will be interesting to see how their economy evolves as political and economic isolation is slowly phased out. I would not be surprised however if the United States refused to change its position without Cuba making great concessions to privatization and international investment considering those are the terms neoliberal powers have imposed on any developing country that wants to participate.
Is that also the reason why the desert is so moist?
> t's meteorologically obvious that higher temperatures = higher evaporation = higher global rainfall

It doesn't help the Southern US if Central America has higher rainfall.

i.e. there is no guarantee that the rain falls where it's needed for farming. Much the opposite, as it turns out.
I bought their (EDIT: @sehugg's) book "Making Games for the Atari 2600" too:

https://www.amazon.com/gp/product/1541021304
Pay attention, kids. This right here is some high-falutin' troll material right about now.
These concepts should eventually compete with McDonalds drive thru to correct American health woes, not act as a coffee shop.
> other than that a non-software engineer can do it?

That's the entire advantage, surely?
Should we base (US) water allocation on the electoral college outcome or the popular vote? If you think it's scary having a market determine the allocation of water, the prospect of allocating it with political currency should be terrifying.
Very interesting! The inspiration behind this post, artist Petros Vrellis, uses computer algorithm too: http://artof01.com/vrellis/works/knit.html
Learning Hot to Learn course on Coursera (highly recommended) talks about procrastination a bit and they do recommend a Pomodoro technique to fight it.
Interesting. Is there a way to do something like this in Python?
G Suite Toolbox – Debug 'G Suite' (formerly Known as Google Apps)
Are there any that are funny?
> higher global rainfall

To adapt a popular saying: All rain is local.

That is, rain is more or less useful depending on where it falls. More to rainforests, mountains and the seas would not be useful.

This is part of why people say "climate change" instead of "global warming", because while the world warms on average local temperatures depend on disruptable weather patterns.
>Plus a large amount of car lifetime is determined by mileage.

It depends somewhat on location. Corrosion from salt (put on roads in winter or from ocean air) is probably more proportional to age than mileage.

But I fully agree with this basic point and it often seems to be ignored. To the degree that car lifetime is primarily based on mileage, increased utilization doesn't really buy you an awful lot.

In addition, as you and other suggest, basic economics pretty much dictates that, to the degree going somewhere in a car gets easier/cheaper, you'll get more of it. Many people are willing to trade a longer commute in terms of time for taking a train versus driving themselves today. I don't see why having a "driver" would change this equation.
Human settlements have always been preferentially situated on rivers and other natural freshwater sources. So yes, many places are fine.
For agriculture, hopefully this would be perfect.

I've drank desalinated water before, many times. It's absolutely awful, tastes soft and doesn't quench your thirst like water normally does.

hard to describe, it's like a mage cast a "create water" spell to make it, and it tastes like something that's wet and should be water, but just really isn't.
Code 2018 (ACM Code of ethics revision)
Lexar 200 gb. Yes I did something dumb with a personal ssh key
Australia seems to (in a similar way to California) have a difficult time distributing scarce resources because they're afraid of letting market forces do it. California would have more than enough water if its bizarre distribution scheme didn't make it so cheap for people to grow crops like alphalpha.
I think the argument is that Coca-Cola solidified Santa's look. Proto-Claus were seen in blue and green coats, for example.
Yeah, no doubt there will be challenges, so it's good that the Great Lakes Charter [1] exists to regulate (ie. restrict) access from non-neighboring communities.

But, even further away from the Great Lakes, the midwest seem roughly okay for now - IA, IL, OH, IN, WI, all seem to have okay rainfall and ground water levels. But the great plains states, KS, OK, TX, etc, which were historically less arable, are set to experience greater changes for the worse :(

[1] https://en.wikipedia.org/wiki/Great_Lakes_Charter
"So, is JavaScript a truly functional programming language? The short answer is no.
Without support for tail-call optimization, pattern matching, immutable data struc-
tures, and other fundamental elements of functional programming, JavaScript is not
what is traditionally considered a truly functional language."

Time again I'm always surprised by how people over look type systems when talking
about functional languages. Really, much of that list is not fundamental to FP, but
always giving me an Int when you promise one matters.
Desal can potentially alleviate drought in urban environments -- at a steep energy and environmental cost -- but is simply not in the running for producing food at a large scale. For example, ag in California alone consumes ~30 million acre-feet (MAF) a year [1]. The total installed desal capacity worldwide is around 35 MAF/yr [2].

[1] http://www.ppic.org/main/publication_show.asp?i=1108
[2] https://www.researchgate.net/figure/272756219_fig2_Figure-2-...
> Now the problem is nobody can tell if you’re a troll. Or a hacker. Or a bot.

Indeed. I have some trouble deciding if the author is a troll or a bot.
Tmux is great for this. When the connection goes down just kill ssh, reconnect, and run tmux a.
Ask HN: Best Practice for GCP and GSuite Authentication and Authorization?
With regard to Google Cloud Platform (GCP) and G Suite.

What are the current best practices when setting up service Authentication and Authorization for: owners, administrators, developers, end-users, etc.?

For example, in AWS I would never use the Root account instead having a separate ("bastion") IAM account that other service accounts/groups could query to retrieve transient tokens to authorize actions. Besides restricting the various accounts/groups to least privilege. I would further ensure CloudWatch is logging all access and configured to both alert and possibly execute a Lambda script on suspicious activities.

I would appreciate as specific advise as possible[1], since I'm not aware of all the features and configurations available to GCP/G Suite.

[1] admittedly my example isn't representative of this, but that is because I don't have much experience in AWS either.
A handplane or a set of chisels. Plush tentacle. A novel and a bag of potatos
or onions. Powerbank with a fancy case. A fountain pen. A bottle of good mead
porto, or malaga. A really big mug, or one with Vim or Emacs cheat sheet.
In theory, couldn't agricultural centers move?
Merry browsery Christmas from me and the browsers as well! https://comic.browserling.com/67
Agreed.

If everybody in the Middle East were paying a market price for water, there would be less conflict, not more.

Instead of having to fight for a resource, they compete to sell it to you.
Christmas. They're being festive!
The ranking numbers also alternate red and green.

Probably for the holidays.
Linux Action Show ! I think it's funny and I like it a lot !
TL;DR: Christmas

https://news.ycombinator.com/item?id=8796932
The solution in a first world economy is not to limit options. That is just regression.

The solution is to make the industrial system sustainable.

If there was a power crisis, you wouldn't make everyone use pocket calculators instead of computers, you'd figure out how power generation alternatives.
Red represents the blood of a famous man who was supposedly killed many years ago for spreading some controversial ideas.
> around 2:30pm [last] Friday

That's fairly late for lunch in midtown (other midtown counter-serve locations like Dig Inn and Chipotle seem sparsely trafficked when I show up at 3 PM), plus it was the Friday before Christmas. I wouldn't call low traffic under those circumstances "concerning" -- I'd say wait and see what things are like on a more regular date.
I'm in the UK. One of the companies here (Ocado) will automatically populate your shopping list for you based on your shopping history the day after each delivery, so you have about a week to adjust it. We often don't even bother checking the weekly shopping list any more, as it's generally "close enough" that if we're busy we'll just accept whatever they deliver. Just need the fridge to tell them what we still have enough of :)
Are there any known cases where paper shredders were/are bugged?
Any tips on hw dev and/or hw business podcast?
As someone who vehemently advocates basic research (especially over the usual checking if the treatment group is different from the control group, etc), I find this article to be very weak support. What is supposed to be the actual success here?

1) The most basic questions remain to be answered about this topic:

>"Her research has been crucial—not only the initial characterization, but also her understanding of the systematics and classification of chytrids, which helped provide a conceptual scaffold for questions about Bd: Where did it come from? What made it so strange and so terrible? Why does it affect some species differently than others?

Those questions haven’t yet been conclusively answered, but it’s fair to say Longcore has played a major part in our current understanding and whatever progress might yet be made."

2) The related problems have been getting worse, not better, since this research was done:

>"Chytrid was only the first in a series of horrible fungal disease outbreaks—white nose syndrome in bats, snake fungal disease, sudden oak death—that have shaken global ecologies during the last decade. Lessons learned from the chytrid outbreak have been applied to them and will be applied to future outbreaks, of which there will assuredly be more: For some unknown reason, fungal diseases appear to be emerging faster than other types, and they’re becoming more destructive than they historically were."
Jesus? :P
Need, not just want. For the residents of most of the surface area of America, you cannot survive without owning your own vehicle. Stores can be 10 to 50 to 100 miles away from your home, there are no buses or taxis or Uber, you can sometimes get a ride from a friend or neighbor but only if they're also planning to go to town, and if you each go to town together you're usually stuck there all day and then have to each wait long times for the other person to do what they need to do, because you're each shopping for the next 2 – 3 weeks before you go to town again.
> But does this not provide an example of an intentional backdoor in a hardware RNG?

I don't know. No one knows outside of Intel. That's the whole point.

In fact, it's possible that even inside Intel no one knows because a backdoor could have been surreptitiously inserted by a rogue engineer working for, say, the Chinese government, who has since left the company! I have no idea whether Intel's internal design review processes are thorough enough to prevent this. For someone who knew what they were doing and who was in a position to influence the design to insert a back door without being noticed would not be particularly hard.

> I might even do my PhD on this topic.

Good luck! Keep us posted.
Almost all cars right now are empty nearly all day every day. Vehicles that go around picking people up (cabs, buses, ubers, etc) are the ones that actually achieve utilisation of any significant amount. If more cars are shared, people per car goes down, not up.

Also, it's not as if those empty unused private cars disappear when not in use. They take up vast amounts of public and private space in urban and suburban areas.
That's not going to fix the problem. Installing updates on an iPhone older than a couple years bogs performance down to unusable levels.
I suspect that a lot of people who live in cities, don't own a car, don't use a car much, etc. don't really appreciate the degree to which people customize cars for their needs (roof racks for sporting equipment like canoes, car seats for kids, etc.) and use them for mobile storage. As an exurban person who does a lot of outdoors activities, it's hard for me to imagine not having a personal vehicle. The economics would really have to be compelling and it's hard to imagine they will be especially if the number of miles "driven" go up.
>"This despite industry complaints that eliminating TLS RSA would cause problems, especially in the finance industry, for companies that need the ability to monitor the plaintext of TLS connections on their networks"

How do they monitor plaintext of TLS? Do they "man in the middle" this traffic? Can you elaborate? Is this a compliance issue or sorts?
What's the background on this?

Why is Cyanogen shutting down?
If google wants Android to survive as a platform, they should be directly giving money to projects like this, they are what make it bearable.
If you look at the great resource shortages in the US in the 1970s, they really only happened because the government imposed price controls.

I remember grade school being so cold in the winter because they used gas to heat the school. The US only used domestic natural gas back then, so it couldn't be blamed on some embargo.
In economics what you are describing is typically referred to as a Negative Externality (https://en.wikipedia.org/wiki/Externality#Negative). It's hard to reframe these for the obvious reason that the parties involved directly in the transaction benefit from ignoring them (at least in the short term...)
Merry Christmas everyone! [0]

[0] http://thinknice.com/wp-content/uploads/2012/12/Dancing-Sant...
Or price things so that they take in all their externalities... perhaps cheap meat isn't ethical.
> Basketball players and fans alike tend to believe that a player’s chance of hitting a shot are greater following a hit than following a miss on the previous shot.

Interesting. That's certainly not what I believe, but I guess they've done the research. In my circle, it was the belief that sometime you get in a zone and really are having a good day, feeling good, and shooting well. I certainly have had basketball and golf games where I made some shots, but didn't think I had the hot hand. I've also been on the floor when I felt really well and hit quite a few in a row. That's the hot hand from a player's perspective.

This really sounds like a simplified scenario that doesn't really have anything to do with what players talk about.
I don't really want to say this on Christmas but: Holy shit. (Actually, I'm in Australia at the moment where it is already December 26 so I guess that makes it OK.)