skysight-inc/HackerNews huggingface dataset:
It typically doesn't work much for individuals as the frequently lack good data, disposable cash or credit, and stockpiling capabilities.

Businesses can do this through warehousing or futures contracts -- going long or short on a commodity (price rise or fall respectively). Especially fuels (Southwest Airlines has famously done this to good effect repeatedly during oil price spikes).

I also think that this may affect business investment more than consumer spending. I remain hazy on this element of economics.
I don't think that's a standard reading of the movie.
Spiel Des Jahres Nominations for 2016: Codenames, Imhotep and Karuba
As far as I understood Mailpile is a mail user agent, so not comparable. Roundcube runs on a server, Mailpile runs on your own computer.
> It boggles my mind why developers don't take the web seriously as a domain, like it's not real coding or something.

I'm glad to hear people say this. I want to be a webdev (second career), but rather than code school I went back for an MSCS, because I really wanted to dive into the nuts and bolts down at the database implementation level.

I've done a fair amount of machine learning, ai, large-scale parallel programming, and algorithm design, and while I'm super-green, it's good to see the top comment is that the web is a serious domain.
You see, there are two types of people going to concert nowadays: the first group goes there to listen to the music, enjoying the atmosphere, have a good time. The second group goes there to film everything with their phone, take selfies, post to social media while there.

The OP is of the former type: before you go there and photograph, first take time and enjoy the simple, dark sky.

There is nothing wrong with buying a telescope with an equatorial mount instead of a dobson. But buying a dobson (and thus not having the possibility of deep sky photography) might still be a valid endeavour to really connect you mind to your new hobby. And a dobson can be had so cheap it is a no-brainer.

I for one would recommend going with an equatorial mounted Newton telescope with 6"+ . Then you have a lot to see and learn. And one day, when you are ready, take it to go for the photos. There were those great russian Sirius-Telescopes in the 90", equipped even with a motor. Do they still exist?
Ditto, enjoyed.
PHP does have the shorthand ternary operator `?:`, though, which does what you want here:

$ php -r 'var_dump(0 || 42);'
bool(true)
$ php -r 'var_dump(0 ?: 42);'
int(42)
Previous discussion:

https://news.ycombinator.com/item?id=11722775
How much does it cost to build an app in Eastern Europe?
Yeah exactly. Revenue is big but what is profit?
Thank you for being the only reasonable person in this thread.

That argument -- that people would defer consumption forever -- is the craziest thing in the world, and every economist and wannabe economist seem to take it without question.
For debugging, use the CloudWatch Logs FilterLogEvents API

http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIRe...

It makes it trivial to tail, filter and range all the logs in a log group.

That plus some structured application logging that is lambda func, and request aware and includes backtraces and you can make sense of what's going on.
I'm ok with it, in this case.
J4TS forks GWT's JRE emulation for targeting JavaScript/TypeScript/JSweet
As someone upthread remarked, it actually seems improbable it was yakuza - way too visible, even with no provable connection, going to make their lives problematic for awhile.

Plus, we probably wouldn't be hearing about it a week after the fact, if it's part of a long-standing interaction like the yakuza, barring someone with loose lips.
Magenta: Music and Art Generation with Machine Intelligence
How has the military budget changed over the same period? What about the military space budget? In the late 1990s I remember they were getting aggressively in to weaponizing satellites and anti-satellite weaponry was developed. I suppose there's a lot of space weapons (eg. anti-satellite) idling by now.

Then again, there's that story about NASA's space pen and the Russian pencil... maybe budget cuts were needed.
Dirty Hacks Are OK
paywall; would love to read but can't
So maybe just a tug o' war or a water balloon fight to decide the winner of the Pacific War?

We could have used those 1 million Purple Hearts we produced for the invasion of Japan for anyone who stubbed a toe during all the festivities.
I went last month for a road trip in Cuba, where most of the bikes seem to be AVA1000. This electric scooter is everywhere: http://cubanclassics.blogspot.fr/2015/02/2014-unison-interna....

It was quite an shock for me to go back to Paris and realize how much my neighborhood is polluted by toxic fumes and deafening engine back-fire.
An Introduction to Sorting Algorithms (Bubble, Selection, and Insertion Sort)
Fizz Buzz in Tensorflow
Speedy terahertz-based system could detect explosives
If your car gets hit to the point where you have to replace body panels it's not as mechanically sound any more as you might think. Only weird, edge case accidents can result in a body panel being destroyed to the point of replacement where the actual structure of the car hasn't been bent or warped in ways that will permanently alter the handling and behavior of the car.

As for being green; when you write off a car it's not like it just gets buried in the ground whole. It gets parted out and the parts all get sold. It's actually quite green. :P

Your insurance will give you replacement value for the car that was destroyed. No that's not original MSRP but it's what the destroyed car is worth. If you're really intent on repairing it, you usually use that money to buy the written off car from whoever the insurance company ends up selling it to (usually whatever mechanic or storage place the totaled vehicle is physically located) and then pay to have it repaired. If the total of that procedure is higher than what the insurance company gave you, then it's a bad idea to do that. :)
Hacking AngelList: Third Party Signaling in Equity Crowdfunding
That's putting it mildly. :)
So are you ..yourselves, thus? :)
Thanks! I just pushed a commit to fix it. I actually destabilized it a little when I refactored to start writing unit tests. I won't be publishing a new binary right away, but it should be soon. Also working on a cert to avoid the unknown developer warning.
hyperlocal = city level ?

The example json shows a three digits fraction. So how precise is the geo location ?
Interesting thanks. This definetly reminds me also of how your eye lashes/eyebrows are a defense against dirt and particles that have also served our ancestors for millions of years
Cruise has settled its lawsuit with a cofounder
Does mobile rule the internet?
Wow. OK, I am a big user of the ternary operator, but I hadn't come across omission of the middle part until now. To be honest, it's not the most accessible syntax (especially if you're coming from another language), but at least I have the option now - thanks!

edit: Just to clarify for anyone else unfamiliar with it:

$ php -r 'var_dump(42 ?: 0);'
int(42)
The Ultimate Flask Front-End – Flask and ReactJS
I touched on the shortened [] syntax and non-numeric string arithmetic in the article.

Thank you for getting these added to the language, I think it's a fantastic improvement.
This dissertation examines the effectiveness of third party affiliation signals that entrepreneurs use to convince investors to commit financial resources in an equity crowdfunding context. I investigate the importance of third party affiliation signals (business accelerators, investor syndicates, and startups featured on the equity crowdfunding platform) on subsequent online funding amounts. The data indicates that affiliation with an investor syndicate is an effective third party affiliation signal and can therefore strongly impact the probability of online funding amounts. Business accelerators and startups featured on the equity crowdfunding platform, by contrast, have little or no impact on online funding amounts. I discuss the implications of the results for theory, future research, and practice.
Well, but that's because Angular sucked. I mean, even the developers agreed and wrote something new without thinking of a new name.

I wasn't neccessarily defending Rails as being "better than neutral" (although I think it is). I just felt the attitude at HN is negative to a degree that isn't objective any more, and that, to me, seems like it is less informational and more hurtful for a few people I have deep respect for.
A list of everything that goes in the head of your document
Can you link to a specific pair of binoculars?
A simple formula to take a lot of AR's bloat away is to use it mainly as a read library (AR's great for generating complex queries in a simple & readable manner).

For write operations (aka user interaction) I use a combination of solnic gem (Virtus) with ActiveModel that way I remove a s*t load of responsibilities from AR and the controller :
- params management (and strong params)
- validations
- nested associations
- callbacks
- And all the context management (like user vs admin...)

That way I only mildly part from the rails way and yet have a good separation of concern. Actually ActiveModel is used by ActiveRecord so having a form object relying on it is still very much rails compliant. The refactoring is minor (no hexagonal stuff) and the level of indirection very low.
Long articles are not bad in the right context, but when publishing online authors need to get to the point right away. They should make their main case in the opening paragraph or two, and then fill in the details. The whole opening anecdote about kicking the hornet nest was useless and should be eliminated.
Excellent point. It seems to me that there is a very good chance that by judging it by our own ab/de/inductive metrics we could miss its blossoming. Your own two cents?
One question I always had in mind about such high performance web servers: What kind of networking stack do you use to actually make use of it? This is probably a limitation of our VPS host, but on a given box it usually maxes out at around 1000 req/s while the webserver could do more. Can you get AWS to 200K? Azure? Google App Engine? Or am I just doing something wrong?
Indeed it was a typo, i've now fixed that in the article. Thanks.
"What if Elon Musk was on Mars": http://imgur.com/omnhxZa
just like when you see signs "best pizza/hero in town" or "we use best ingredients" at eateries
Ask HN: Is anyone actually happy with their company's tech stack? and if so why?
Show HN: LTV Calculator
Judge Says Defendant Has Right to Examine FBI's Hacking Tool While Stating FBI H
Theranos teaches Silicon Valley a hard lesson about accountability
Render React components with editable source and live preview
Perhaps I'm just a fuddy-duddy, but I rather like MDN's description of what classes used to be for: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att... (The second paragraph.)
Screw Linkedin: Hire Through Instagram, Airbnb and Couchsurfing
Sure, it's not all-or-nothing, type checks that aren't enforced at runtime have some benefits, I just disagree that they can provide all of them.
So in short, by comparing identical twins, this study found that people with better mental health tended to achieve a higher education, meaning that the arrow of causality doesn't go the other way: education doesn't necessarily improve mental health.
Well if you ask this one anything about Hitler/Adolf you get "..."

Some one at Microsoft has learned something as it seem...

EDIT:
Whelp nvm i broke it
http://imgur.com/UMf2F96
http://imgur.com/VAPtEAt
They really need to have a better H filter....
DHH back at it again, dropping truth on the dev game. This was a timely post because my friend and I were just mocking the phrase "we only hire the best" this past weekend. If you like DHH's writing, check out one of his other recent posts: RECONSIDER [0].

I think pointing out some of the absurdities of software development culture and startups is fun. It's unfortunate that Startup L. Jackson hung up his hat :/.

0: https://signalvnoise.com/posts/3972-reconsider
https://github.com/irrelon/ForerunnerDB
The reason I added this was because most developers are used to using a double pipe when writing code that has 'or' conditions.

I understand the use of pipes for bitwise, but in this case if you read the code in the example, we're basically saying "if the exception is of type A or of type B", personally I'd be inclined to use || if I didn't already know the syntax.
Privacy should be measured not by source and method of data, but by the data's ability to indentify and profile the parties.
There’s Nothing Magical About Breakfast
No, it absolutely is not. Of all the ideas of how to power transportation in the future this is one of the worst.

First, the idea that it is carbon neutral is absurdly wrong. If you're pulling the carbon out of anywhere but the atmosphere (and you are), then it's no more carbon neutral than pumping oil out of the ground and burning that.

Second, it's hugely inefficient. If you're manufacturing fully synthetic petroleum, then that synthetic petroleum is acting like an energy storage medium, a liquid battery, rather than as a true fuel (a source where you're getting more energy out than you put in.)

Any kind of battery source which has to be physically moved around via other sources of transportation is hugely inefficient compared to EVs with actual batteries where the energy merely has to be sent down transmission lines and the like. The losses involved in moving electricity around are far, far less than moving synthetic petroleum or hydrogen or any other "pseudo battery".

Lastly, internal combustion engines are extremely inefficient themselves, especially compared with electric motors. They require tremendous upkeep and have energy losses that are three times that of EVs. So even if you could make the claim (which you can't) that your synthetic petroleum energy storage medium is 100% as efficient as moving power around, the ICE is going to result in needing to use up 3x as much energy to move your vehicle from Point A to Point B compared to an EV.

Synthetic petroleum is a really, really bad idea and should not be pursued.
I didn't say conventionally, I said arguably.

Solar flux is a given, and isn't modifiable by human activity. But the flux reaching Earth is limited, and in the sense of that which you give up -- opportunity costs -- there's only so much of it available. Stored solar flux -- as biofuels, wind, hydro, or fossil fuels -- represents an exergic potential (value) with an eMergic cost.

Economic prices fail to consider that emergic cost entirely, but in a very real sense it's an account balance being depleted. Environmental sinks also have costs associated with clearing and negative impacts.

Howard and Eugene Odum, ecologists, coined the term emergy and discuss it. There's a fair literature concerning it in ecology, though little or none in economics. I believe economics is in error here.

Again, very much not mainstrem econ. You'll find treatment in ecological, biophysical, and thermoeconomics however: Georgescu-Roegen, Daly, Hall, and Costanza, among others.

http://www.resilience.org/stories/2013-10-06/energy-ecology-...

(By Howard Odum's daughter.)
I bet it has been a great summer so far too
Fixing IT – Products, Not Projects Revisited
James Bessen on Learning by Doing
This does not mirror my experience at all. I've had great success with Lambda. I am running in production with millions of requests per day and will be ramping up to millions per hour in the next week. I actually found the documentation to be very good. Early on my misunderstanding of things gave me trouble, but that was all on me.
Android has a custom Dalvik/ART stack for running apps. Typical Linux distros consist of Xorg/Wayland with GNU packages. They're not related in any regard other than the Linux kernel.
Is it possible to build a full scale web app using lambda and nodejs and dynamo db that will have all the features including running webserver , user auth, multi tenancy ,backend processing ,security etcetc? How far can it be taken? Theoretically I think it can be done with the right framework - it will be complicated but on the other hand a huge win for security since without servers the attack surface is greatly reduced.
Other than "we want to rewrite Foundation/XCTest in Swift", why do we need XCTest or NSCoding implemented in Swift? Neither is particularly Swifty - many things in Foundation that ought to be structs are classes, for example, and there's the nonsensical duplication of String/NSString/NSMutableString and the other containers.

If you want a Swifty testing framework, just pass a bunch of test functions to a function, or define a test case protocol. Similarly, a coding-style protocol can be represented as an encoded associatedtype and encode/decode functions. Plus, you can throw in the decode instead of having to return nil with no explanation.
It's not a new phenomena, Show HN has had such questions for years: https://news.ycombinator.com/item?id=5873619

:)
The fierce triumph of loneliness
and originally (CC licensed, and attributed) with a few nice illustrations from http://mosaicscience.com/story/why-do-we-have-allergies where they even credit a `Fact checker`. And on first glance, that website seems quite good.
I think the "It's a blunder" view is simplistic, but so is, "It's wonderfully adaptive!" I think like the sensation of pain, or itch, it can be both. When it's working well, in moderation, and your environment is stable, you're going to be ok. If one of those elements goes awry, then bang.

Being slightly allergic to something noxious makes sense, but being violently, potentially fatally allergic to a foodstuff? No...
We have seen issues with Lambda and S3 events as well. Our solution was to feed SQS the events and process them with lambda and no more problems. No idea why SQS would make a difference but it did.
The new gTLD info for Monday, May 23rd
Link from Google [via HN's |web| link]: http://www.sciencemag.org/careers/2016/05/employment-crisis-...
Steve Pinker demolishes John Horgan’s view of war
A fast and modern flatMap for node. Monads for the win
Lol. I thought it was something real until I realized it is a joke!
The Secret Struggle of the Woman Who Took Down Weiner
The study argues that the positive relationship between mental health and higher levels of education is due to confounding factors. The take home message seems to be that higher levels education is not important to mental health.

I think the larger narrative here is that higher education is not as important to success as previously believed. Was someone successful because they went to college, or were they already on a trajectory for success, and they just happened to attend college because they were offered a free ride?
I've never heard it put that way, but I've had this conversation with friends before, "Hey, remember when we almost died doing 'X'?" You're right, absolutely right.
> ~15 million API calls per day

Isn't that horrifically expensive?
Amount of radioactive waste: A couple of tons every year per power plant is realistic.

Space dumping is a terrible idea. Expensive and risky.

Best storage solution so far found is what we've mostly been doing so far. Just having a sealed of area and store it for 20 or so years in a special low population and high security area that is protected from rain, frost, and temperature swings and have a good containment in case of container leaks. And then repackage in 20 years time for another 20 years. And so on. I.e. "actively managing" nuclear waste until the end of time.

Fun fact: The inner core of earth is not cooling mostly because of naturally occurring nuclear fission... so in a way our very own planet is full of radioactive waste already :)
Such a no brainer, but jezus it's about time for someone to call out the hiring posts.

Hiring a good employee is like shopping for a car. You don't buy the coup if you have a family of six, a gas guzzler when you're a commuter, or a 2wd when you live in the boonies. It's a balance of values.

I've seen "rock star" coders fail in team environments because they can't communicate. I've seen great communicators fail because they were all talk. I've seen really great team players impolode when facing the customer.

I'd rather have an employee who is good at a few things than one who is "The Best" at one thing. It's called hiring for employee fit, not so you can tell your buddies how l33t your team is.
WebAudioApi for video
For the Java version I would seriously consider not using JUnit 4's assertThat and instead rely on AssertJ [1].

Besides AssertJ being easier to use and IMO more elegant than Hamcrest, JUnit 5 will be removin `assertThat`.

I contemplated filing a bug/request but its more of a conversation point than an issue.

[1]: http://joel-costigliola.github.io/assertj/
Thanks for this reminder of basic management practice which needs to be posted about once a year: hire good people and get the most out of them through superb leadership, great working conditions and ample incentives to achieve.

"We only hire the best" is a sales slogan, not a true management principle. The "best" aren't usually for hire at any given moment; they're very well employed already, or otherwise occupied. And when a high caliber person decides to move on, someone in his or her network will likely hear of it and snap them up.

I'd rather hear them say, "We have excellent hiring practices that filter out incompetence and unpleasant personalities. We have a great team here and we're really proud of the hard work they do."

Of course you can make a case for disruption; sometimes what a business needs is someone to challenge the norms, shake things up, rattle the chains, and that can be unpleasant if not downright threatening. An old manager of mine called such people "brilliant assholes". Gotta love'em for what they can achieve, but they're often not much fun to be around!
Reminds me how if you ask someone why something is and they lack the knowledge to know why, they'll still try to give an answer based on what they do know.

We may never know why people have allergies.
Good headphones are essential. I've had a number of tracks/albums where I've listened to them on my computer with nice headphones, then gone to the gym with my portable headphones or driven home listening over the speakers and the songs sound terrible.

I've often wondered if the rise of some genres has been due to shitty mp3 quality and even shittier earbuds.
Or just ask a friend who lives there.

This might be a good idea, but I don't see why one should pay for it. It's like saying "I'll tell you which color dress you should wear. But first, pay me."

To make a recommendation that is actually worth paying for, you need to know a little more about the persons taste than you do.
This reminds me of the AI rubber banding implemented in many racing games, including Need For Speed.

Full disclosure: I work as a Software Engineer for Ghost Games and was involved in the development of Need For Speed (2015). I am not an official spokesperson for Ghost or EA and I am not authorized to speak on their behalf.

In Need For Speed, AI racers will slow down when you're behind and speed up when you're ahead. The idea was to always make the player feel like they were having a fun challenge, regardless of skill level.

In the end, the AI rubber banding was such a strong effect that, when the game first came out, it was one of the main complaints. We ended up fixing it in the very first patch.

IGN reporting on it: http://www.ign.com/articles/2015/11/23/need-for-speeds-most-...
Our announcement which first mentioned it: http://www.needforspeed.com/en_AU/news/future-plans
Is that going to be the same when say 15%-20% of the nation plugs in a car every evening - its going to the surge when people go to make a cup of tea when the adverts are on during coronation street look tame.