skysight-inc/HackerNews huggingface dataset:
I disagreed with that too, but mostly because those tests are a core part of Bash programming. If you don't know what they mean by reading them, then you just need to learn.

It'd be like defining an "and" function and writing

if ( and(conditionA, conditionB) ) {
//do something
}

because "&&" is too confusing. It's just syntax. Learn it.

And on the subject of &&, it's interesting that in his example about clarity he chooses to use short-circuit and for brevity instead of the more readable if block.
The sign https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/No... means that you are on a priority road and that you should not give priority to traffic coming from the right!

The black line through the sign means that you are no longer on a priority road and now need to give priority.
We are the glorious PC master race :) With the hardware of wintel mostly just working and steam - the best console right now is indeed PC.
76 Viral Images from 2015 That Were Totally Fake
Is there a longform article of the topic? I don't read terribly many New Yorker articles -- is this typical article length? Reading [this article], I feel like I'm taking a little sample taste of a few slightly disjointed points.
https://en.wikipedia.org/wiki/The_Theory_of_Interstellar_Tra... should be in the bibliography
I think ID@XBOX allows for indies to get proper access to the hardware? You can ship as a Windows app, but it doesn't appear you're limited to it. I don't personally have access, but that's what their media seems to say.
> Through continued demonstrations by Flint residents and mounting scientific evidence of the water’s toxins, city and state officials offered various solutions — from asking residents to boil their water to providing them with water filters — in an attempt to work around the need to reconnect to the Detroit system.

Can you boil lead out of water, or does it just become more concentrated?
A Material Design Android App Template
You're right, FS is not an indicator of quality one way or the other, no more than paid software is.
Demo box felt claustrophobic. I pasted in code and nothing appeared on the other side. An error message would have been nice. Ah well, I'll probably check this out again after a while.
Exactly. This particular article isn't providing much depth. It's mostly misdirection followed by a dramatic revelation of the generally-accepted answer. The dominant guess at the failure mode of that bridge has been flutter for a very long time.

Anyone else who has gone through the mechanics and disagrees with me on this, please let me know your thinking.
>> Pedestrians and cyclists may also learn that they can freely cut off an AI car at anytime they please. Why wait for a walk signal? Why walk all the way to the intersection? Just saunter across anywhere you like, so long as you cross in front of an AI car.

>That's probably a good thing. Car drivers need to get out of the mindset that they own the roads.

The problem with that is the time period before AI cars are ubiquitous. In my area I've already seen pedestrians act far more carelessly now that the pedestrian right of way laws have been enhanced and there's been an uptick in pedestrian fatalities. Sometimes giving people the impression that something is safe makes them behave so much more recklessly than they would have originally.
If you upgrade a new laptop immediately, why would you need backup?
It's the way it's always been.

I'm hoping this is the last generation of dedicated gaming consoles from the big three. I think the time of that idea has passed. At one point, dedicated graphics and sound hardware on consoles gave better performance and quality than you could get on an equivalent PC, but those days are long over. I'm getting a little sick of gimped PC games, that are held back by console limitations. I could get a RaspPi and have enough power to play a surprising number of games.

I've got a Steam Link and a length of ethernet cable that almost cost more to tie into the switch at my desktop, so I certainly won't ever be buying a gaming console.
Interesting. So, basically taking it full-circle back where it came from. That is, if one still uses it with HOL4 for verification.
> How many so-called "engineers" are afraid to write small, trivial programs lest they be laughed at?

Very few. Engineers love simple and reliable stuff. You might be thinking CS graduates.
I am the author of the project and I am very interested in your feedback.
Right now, the template is very small. Within the next few weeks, I have planned to implement much more features which are often used in Android apps.
Also, I want to make the template modular to easily get rid of unnecessary stuff. What do you think about?
Why not just increase the speed limit by 15 mph and issue citations automatically at SL+1?
Backend for games goes essentially free
Qualcomm Analysis Concludes a Split Would Be Detrimental
I see Patreon got a single dismissive handwave, but, err, why? I mean, yes, I saw their putative reason, but it makes no sense to me. Why don't they sign up for it, tell their fans the truth they just told Fusion.net, and let the chips fall where they may? Worst case scenario is that it doesn't work.

Heck, lose half your fans, .5% of the remainder pays you a couple bucks a month... that probably would count as a huge win.

I have actually watched a couple of my Patreon recipients go from bending their art in various ways for money (nasty ads on the site, etc.) to just making the art. The piper must always be paid, but a wide, amorphous crowd of Patreon supporters individually paying in just a couple of bucks a month, all of whom have sampled your free wares and pretty much know exactly what they're getting is probably just about the best boss you could imagine. (Modulo perhaps having to deal with the occasional person who may stomp off loudly taking their money with them, but I haven't seen that yet, and that's where the "width" comes in; if one person stomps away with their 2$/month, well... whoop-de-do. and all of my patreon supportees that are keeping up their end of the deal are seeing slow-but-steady patron growth. Slow-but-steady growing subscription revenue starts to add up!)
Well if I didn't have expensive stuff in my house I wouldn't care about locking it.
Oddly, one way to encourage that is to make the permitting process easier. Tech companies want to all be in the location, because its much more desirable to tech workers, and the belief that the best talent is worth the price means that money is made available for that.

Without the restrictions on development (which are designed to keep the area desirable, and succeed at that, as shown by market prices) desirability would drop -- because you'd have more people, and less money for services per person -- along with prices, and tech companies would be more likely to locate elsewhere.
I think CGP Grey is an interesting counterpoint. I think he said that his YouTube channel is something like #700 in terms of subscribers, so he's not up at the top of the food chain.

And yet, he gets paid $13.5k per video:

http://graphtreon.com/top-patreon-creators

with "only" 5100 patrons. He's also on two successful podcasts that doubtless net him a few thousand more per month.

He's also gone out of his way to make sure that he's not visibly famous (he doesn't appear in his videos), which is an interesting contrast with the people in this article.

If I had to guess the biggest difference between CGP Grey and the people discussed in this article, I would guess that CGP Grey had a plan and optimized for things that can actually make a living for him. He talks a bit about this on the Cortex podcast.
Production: Performance where it REALLY matters
Distillation would essentially be doing the reverse, "boiling the water out of the lead", and that would work. But no amount of boiling in a open pot is going to remove lead from your water.

It's hard to tell from the article, but the reference to boiling water might have been in response to the other issue mentioned, trihalomethanes in the water. As dissolved gases, boiling should help drive them out.

(side note: a trihalomethane is more commonly referred to as a haloform, which is the family chloroform comes from)
This would probably be the best and only working approach for creators these days.

( Sidenote: flattr.com was supposed to be addressing this but from the consumer side. )
3 Strategies for Increasing the Quality of Your C# Code
The super-rich definitely are not all famous. Plenty of insanely rich executives out there you wouldn't recognize and never make headlines. They may be well-known in their fields, but purposefully keep themselves out of the public eye.
Disclosure: I work for clanofthecloud.com, so feel free to ask questions!
Unfortunately and realistically, this requires you to run Windows. It would be really nice if more games ran on Linux.
Show HN: hoozyu helps young people to understand and explain themselves
Because we can't have nice things.

For example marvel at the self-entitlement of people for getting free stuff while not giving a shit about publishers and note that this happens on Hacker News, so what can you expect from the public at large: https://news.ycombinator.com/item?id=10729068
It could be a problem of mass - a Death Star made of composite materials probably masses quite a bit less than an equivalent-sized moon or asteroid, (presumably) making it a lot cheaper to shuttle around.

(I freely admit to being more of a Trek than Wars fan, so I don't actually know how physics has been toyed with in that particular distant galaxy, so I don't know if my hypothesis is true - maybe they use spindizzy-like motors so that larger masses are actually more economical to move?)
D3 vs. React DOMination
I've asked a similar question, and the responses are all the same. I think anyone with a specific answer is always going to "play their hand close to their chest" to prevent competition. That being said, look at what businesses are paying for, and try to understand the general lack of knowledge out there.

I have a client, now, that is paying me to build a custom CRM for his business. The specs keep changing, and I just keep delivering. In the end I think he'll spend $50k+ to get his own version of what's already available. So look deeper into that concept.

What do businesses need to do better/more efficiently to make more $ or save more $: track customers (lead follow-up), close sales, find customers, track hours and costs, customer lifetime value and customer acquisition costs...are just a couple of examples of things that you could improve on. Then literally go to these businesses and show them your product, offer it for free to improve it, then start selling it.

Bottom line is this: you're going to have to actually speak with people to find out what they want so you can give it to them. After that starts to take off, then invest in digital marketing using real experience as a guide.
They will continue to exist because most people want a gaming appliance that always works and works the same way at their friends house etc. etc.
No, according to the CDC:

> Heating or boiling your water will not remove lead. Because some of the water evaporates during the boiling process, the lead concentration of the water can actually increase slightly as the water is boiled.

http://www.cdc.gov/healthywater/drinking/private/wells/disea...
Why the best Mars colonists could come from places like Iran and Brazil
same same drive with a snowplow and they stop for you
The article failed to explain how the river got so toxic in the first place.
Because around 1983 the amount of crap was so much that it drove the entire videogame industry to a crash, as no one knew any longer which games were worth buying.

Nintendo then introduced the concept of locked down consoles as a way to control game quality.

http://www.ign.com/articles/2011/09/21/ten-facts-about-the-g...
Since communications overhead is so large in internet applications, particularly on mobile devices, there really has to be "one mind" in charge of both the front and back end of an app. That "one mind" can be a consensus in a bunch of people's minds -- in fact it really should be.

My experience is that most programmers don't have a complete set of skills and attitudes to optimize distributed systems. From the systems programmer who writes mad C++ but can't understand why David Fielding hasn't won a Fields Medal to the application programmer who has never heard of O(N^2) and doesn't care, or the machine learning genius who is oblivious to locks and race conditions in development and seems to fix them by patching the production system directly multiple times over the course of a nail biting week for customers, management and staff. (Somehow planning to take 2 or 3 days of one person's time to understand the problem is a "waste of time")

Anyway, the key to this is working as a team that is closer to the sum of the parts rather than the difference.
Google also mandates that you shouldn't assign to a local var at declaration, because the exit code of the function producing the value is overwritten by the exit code to `local`.

https://google.github.io/styleguide/shell.xml?showone=Use_Lo...
Bayesian generative models are logically and mathematically on a better foundation than deep learning's "It works but we don't know why". Bayesian models can be proven to be optimal under more flexible assumptions than deep learning. They are also more in line with human like common sense reasoning.

Not sure how to make them computationally tractable however.

We'll see, I guess...
Or you go the Creative Assembly route, and release less than half the content you already finished for $60, then every two weeks release a $10-15 DLC that unlocks content that shipped on the disk.
One feat Origin has that Steam lacks. Too many games on Steam can be really awful.
Just goes to show you, no matter what you do sometimes you just can't protect people from themselves. These lines are telling:

"By default, newer versions of MongoDB only listen on localhost. The fact that MongoDB 3.0 is well-represented means that a lot of people are changing the default configuration of MongoDB to something less secure and aren't enabling any firewall to protect their database. In the previous article, it looked like the misconfiguration problem might solve itself due to the new defaults that MongoDB started shipping with; that doesn't appear to be the case based on the new information. It could be that users are upgrading their instances but using their existing, insecure configuration files."

If it's a matter of keeping their existing, insecure configuration files, you have to hope a future update would fix this. Then again, they'll probably press enter through the prompt asking them to set up authentication on update. I just hope these people aren't deliberately changing config to listen to outside servers without authentication.
On my state's main toll road (75 mph speed limit) it is common to be going 90 in the right lane and have most people zip past you like you're standing still. The design of the road only allows one or two places for speed enforcement every 10-15 miles or so.

I've long wondered why the toll authority does not simply do the math on entry and exit and send citations to the top 5-10% of speeders. It's generate many thousands of dollars in revenue for sure.
https://google.github.io/styleguide/shell.xml
my fx doesn't render the site properly it's just one huge blob of continuous text. impossible to read. why would they do it as an *.xml?
> It's the way it's always been.

Only after 1983's crash.
Who Do You See in This Picture? The Answer Is Important to Your Vision
I'll speak as a frontend dev and say that it's not about the languages but about the final objective. I'll use "backend languages" as needed to get the job done.
I particularly like the comments to that article stating that only "liberals" believe the water supply is heaving with lead. The ridiculous political bun-fight infects everything, it seems. It's a mental disease.
Data Visualization and D3.js Newsletter Issue 161
I mostly agree, except; depression might be Facebook's problem if it is exacerbated by one of their "experiments."

http://www.theguardian.com/technology/2014/oct/02/facebook-s...
From personal experience, touching a red hot stove. No further classification was needed.
Pulse CMS passing the torch
Keep Calm and Divide by Zero
Good morning HN! My brother Sergie and I posted on Show HN [1] exactly 1000 days ago with our first prototype of a CSS authoring tool, and ever since then we've wanted to create a tool to make complex 3D interactions possible without spending a ton of time debugging CSS.

Well, browser support has finally caught up [2] just enough that a tool like this becomes possible (with some odd exceptions in IE9-11, which will hopefully soon be displaced by the awesome Edge browser). And today we're releasing it for you to play with and give us feedback :)

We're trying to abstract away the complexity behind CSS and make it accessible to more people (without dumbing it down), and we'd love to hear your thoughts on our first stab at solving this problem for 3D transforms.

Also, a heartfelt thank you to this community for helping us take a tiny little prototype and turn it into a (tiny little) company.

[1] https://news.ycombinator.com/item?id=5407499

[2] http://caniuse.com/#feat=transforms3d
The article also fails to explain what kind of safety checks are normally done on US drinking water, and why those tests failed in Flint.
I wonder how driver-less cars will fair here in London, while I would prefer a computer over many humans. To drive in London (which is tame compared to some European and Eastern cities). To drive you do need a certain amount of aggression; for instance, if you wait for a gap when turning onto a main road you could be waiting a long time. There's a thin line between being assertive and being a d..k.
In 2.x, all fields must adhere to the same data type or you will get a failure [1]. To quote:

Fields with the same name, in the same index, in different types,
must have the same mapping

So hopefully this isn't an issue anymore! I do strongly suggest (and we've done this from the beginning) that no one rely on elasticsearch's auto mapping and that you should explicitly map your fields.

[1] -- https://www.elastic.co/guide/en/elasticsearch/reference/curr...
U.S. Working on Plan to Scrutinize Social Media in Visa Reviews
Ah, to be clear I'm not opposed to this post. I guess it's a combination of a) surprise at seeing this type of technical question here, and b) being used to this sort of question on StackOverflow. I feel like at least for this type of question in particular, StackOverflow is better equipped to produce and sort out a good answer. But I can certainly see why it might fit on both.
Fighting what? Her Ford "called the police" in that it automatically reported a collision had taken place. You make it sound like it sent a message saying "my owner committed a crime, go get her" which is not what happened.

Are you saying the world would be better off if she had gotten away with a hit and run?
"Between Annotation processors & code generation plugins, it already means nothing."

Getting a project of a given size done on schedule means nothing? Your company sounds pretty laid back. That's nice.

"Am I supposed to willingly write horrible and unproductive code just to increase my LOC / time ?"

It's a nice strawman you built there. The metric in your case would be average, custom LOC brought into production. So, it would hopefully be productive, great code at a certain rate. The rate varies among people and programming approaches.
Here's a nice social experiment: what would happen if all users were required to post their bank balance along with their status updates? All those nice vacation pictures have to be financed somehow...

By the way, I just unfollow all of my friends by default, so I don't have to read their status updates when I just want to check out some events.
https://www.facebook.com/profile.php?sk=allactivity&log_filt...
According to what I've read, the main reason it wasn't locked is that it didn't even occur to Atari that outside developers would be able to make 2600 games. After Custer's Revenge (and, more consequentially, after failing to sue Activision out of existence), they locked down the 7800 pretty hard: much like 6th-generation consoles, it required games to be signed, though presumably with a weaker algorithm.
Steam runs on Linux and Mac though? Your only issue then is graphics card / graphics card drivers. The games are available, about 1,500 of them last I checked. The best thing that could happen for Linux gaming is that graphics manufacturers start open sourcing their drivers, to the best of their abilities, at least enough to make them usable in games.
If you're cool as a user / ch with 3DS then it's an OK solution.
Crawl space for $500 a month sums up San Francisco's crazy rental market
I imagine the same argument was made about the industrial revolution.

There is still a lot to work for once we remove the more mundane parts of our existence.
That sort of price is necessary to run the team needed for a AAA game (mainly for assets I think...)

If you don't want AAA games, well all the major consoles have digital games a la Steam that cost less.
Well, Mozart and lots of other artists were famous, and still either poor or at the mercy of rich patrons.
Announcement: http://yahoolabs.tumblr.com/post/135196452221/explore-anthel...

Source: https://github.com/yahoo/anthelion
Hey, you gotta breaks some eggs to make a Soufleé. Maybe the moon was in the wrong spot or maybe the Deathstar was a moon that was slowly converted. ;-)
“What is Gumroad?”
The area is known for mining and industry, its environment has been shit on for a century now.
I forgot to math and oopsied a 3. Here is an example breakdown of prime costs for a restaurant. Prime cost doesn't include non variable overhead like rent, insurance, and utilities.[1]I don't think my lack of math skills takes away from my argument that if Apple Pay can reduce payment transaction fees to 1% of the charge, it will have a major increase in net profits for small and medium restaurateurs.

[1] http://www.restaurantowner.com/public/images/212b.png
Yes, yes they are. I've used them successfully for various parsing projects. And in fact Bison recently picked up GLR parsing to deal with multiple options (https://www.gnu.org/software/bison/manual/bison.html#General...).

But for something even more fun, I suggest you check out Marpa (https://jeffreykegler.github.io/Marpa-web-site/). It is, by far, the nicest parsing tool I have ever worked with. Being able to parse ANY BNF is huge. And the state tables for debugging! Knowing what possibilities you have makes things way easier. Especially for getting stuck in an ambiguous spot of your grammer. Finally, using ruby slippers to get out of a tight spot is hugely useful.

My one complaint is that the only implementation is in Perl. The core engine is written in C though, so someday I would like to convert the Perl into Python. I started several months ago, and haven't been able to get back to it. (https://github.com/srathbun/pyMarpa)
I went straight for Beatrix (as in Potter) to bring up a few illustrations from my favorite books as a child, which are long gone, having disappeared through many moves.

Funny how the old neurons wake up at seeing them again.
Top open source projects of 2015