skysight-inc/HackerNews huggingface dataset:
Here are some microbenchmarks:

In [63]: timeit dateutil.parser.parse('2013-05-11T21:23:58.970460+07:00')
10000 loops, best of 3: 89.5 µs per loop

In [64]: timeit arrow.get('2013-05-11T21:23:58.970460+07:00')
10000 loops, best of 3: 62.1 µs per loop

In [65]: timeit numpy.datetime64('2013-05-11T21:23:58.970460+07:00')
1000000 loops, best of 3: 714 ns per loop

In [66]: timeit iso8601.parse_date('2013-05-11T21:23:58.970460+07:00')
10000 loops, best of 3: 23.9 µs per loop

> Other parts that are always hot include split() and string concatenation. Java compilers can substitute StringBuffers when they see naive string concatenation, but in Python there's no easy way to build a string in a complex loop and you end up putting string fragments into a list and then finally join()ing them. Madness!

The Python solution you describe is the same as in Java. If you have `String a = b + c + d;` then the compiler may optimize this using a StringBuffer as you say[1]. In Python it's also pretty cheap to do `a = b + c + d` to concatenate strings (or `''.join([b, c, d])`; but you should run a little microbenchmark to see which works best). But if it's in a "complex loop" as you opine then Java will certainly not do this. So you have to build a buffer using StringBuilder and then use toString() which is basically the same exact process except it has the name `builder.toString` instead of `''.join(builder)`

Unless of course you have some interesting insights into the jvm internals about string concatenation optimizations.

[1]http://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html...
BRexit will likely want to have a word with you.

I have a feeling that polling is used now a political weapon not a measure of reality.
What a Hashtag Can Tell Us About Early Voting in Ohio
Moving from Reactive to Proactive Enterprise Planning
So Theo is just like Linus, except for the part where he cares about security.
The Hunt for the Ultimate Free Open Source NAS Distro
> Gradle badly needs performance improvement

gradle --daemon is a hack, I guess, but I always use it for my builds (even aliased gradle to gradle --daemon). It's far too slow otherwise.

On newer gradle releases I believe the daemon is enabled by default.
The impact of a good front end engineering team on business
Filing Taxes Should Be as Easy as Ordering Pizza, Obama Says
Next generation programming platform, currently in development
The Swiss Are Outraged Over a New Microwave Fondue
NYT might publish actual stories, but they also publish what is effectively propaganda. A lot of more "legitimate" news sources also have a tendency to selective report on things which fit a pre-established narrative on a topic that can effectively bury the truth. Here's an example where CNN did this: http://m.washingtontimes.com/news/2016/aug/16/cnn-edits-out-...

And sadly the Washington Times is the least biased source that I could find that even talked about it. That's why sites like Breitbart are able to be so successful. It's easy to build credibility by pointing out things like this, and then the rest of it can just be propaganda.
India's Wushu Warrior Girl
> He will likely increase tensions on the world stage.

While Trumps opponent openly warns Russia of consequences. Lets be objective now.
> Why is half of the world sociopaths?

That's probably a rhetorical question, but I'll bite. Game theory applied to evolutionary biology provides a compelling qualitative answer to this question. You can read about it in Richard Dawkins' "Selfish Gene".

Basically, if social interaction is regarded as an Iterated Prisoner's Dilemma, with options to cooperate or defect at each turn, one might say that a society cannot prosper if everyone always defects, but also that a society made up exclusively of cooperators provides an advantage to genetic mutations that give rise to defector behavior. Societies will therefore tend to have a some degree of cooperation with some freeloading from defectors, and the balance will fluctuate.
Of course you have a different machine but the OP was getting 2.5 us per parse in .NET versus your 89.5 us in Python. I wouldn't have expected such a difference. No wonder it's hot path
Not high-end at all, my Fiesta has it as standard.

It's a fantastic feature, it just annoys me that the sensor gets hit by the car ceiling lights when they're on, so if the light is on you get a completely dark mirror. I call it a quirk because it sounds better than "terrible design".
Refugee Text: The chatbot that teaches asylum seekers their rights
Add Google Assistant to your phone by tweaking two lines of code
How your parking style gives away your level of job satisfaction
> As near as I can tell, the political process converts ideas from logical propositions into group signaling devices. Once a idea becomes a signal, any question of its truth or falsehood is commonly ignored for several human generations.

I love the way you put it; this goes straight into my quotes file.

> Keeping ideas that have already become signals quarantined, and minimizing overlap between groups in a context where they are likely to "go tribal" and convert more ideas into signals seems vitally important to me.

In a way, it's what some people do without realizing the idea. It's obvious that once a topic becomes a political issue, the general population loses the ability to discuss it in any reasonable way, so it's best to ignore that topic altogether until at least it falls off the news cycle. But maybe we need a more social-wide tools to "cordon off" topics that were exposed to the disease politics is.
bAbI isn't really a "real" problem either, although somewhat better than sorting and the like. bAbI works with extremely restrictive worlds and grammar. In contrast, current speech recognition, language modeling, and object detection do quite well with actual audio, text, and pictures.

I think the strength of NTMs will be best demonstrated by putting it to work on a long-range language modeling task where you need to organize what you read so that you can use it to predict better a paragraph or two later. Current language models based on LSTM are not really able to do this.
Codicle.io – Interactive Code Guides
8 Most Futuristic Weapons of the Modern Battlefield
Toyota and Suzuki Announce Partnership, Leaving Japan's Auto Industry Perplexed
The iKettle and the Eleven-Hour Struggle to Make a Cup of Tea
The Java story is slightly more complex. Javac has emitted code to make a StringBuilder and call append multiple times on it, and then the JIT has spotted this construction and optimised that.

This is, as you can guess, somewhat fragile especially when some of the parts may be constants. So JEP 280 has changed javac to emit an invokeDynamic instruction with information about the constant and dynamic parts of the string so the optimisation strategy can be chosen at run time and can change over time without requiring everyone to recompile their java code.
Facebook launches standalone “Events” discovery and calendar app
Storm – Simple and Powerful ORM for BoltDB
>The question is why hasn't that previous wage increase cause a long-term boom in economic activity?

It has. The money multiplier of raising the minimum wage is higher than almost any other place you could put the money.

Increasing debt levels also spurs economic activity but that can only go on so long.

The story of the last 30 years is that debt levels were used to spur economic activity while wages were suppressed. Once debt levels reached a peak, it all ended. In 2008.

>The answer is that eventually it gets priced in.

It usually leads to a decline in profitability. Dividend income comes down. Share prices come down. Prices do not usually go up:

http://www.nber.org/papers/w13996

The businesses that area threatened by an increase in the minimum wage always put up a big political fight. They simply wouldn't bother if they could just pass the cost on to the consumer.
Building Apps with Aurelia is super easy
Government's view of the economy could be summed up in a few short phrases: If it moves, tax it. If it keeps moving, regulate it. And if it stops moving, subsidize it.

-- Ronald Reagan
The Lovelace 2.0 Test of Artificial Creativity and Intelligence (2011)
Show HN: Styled-components – Use the best of ES6 to style React apps
This is the standard apologia for rudeness. The problem is that people don't work like that. If you say something in an aggressive manner, they will tend to assume a confrontational posture and won't work with you. It's just how people are wired.

Consider two possible responses I could have to your comment:

(a) You're full of shit.

(b) In my experience, that's not actually true.

Chances are you're going to respond better to (b) than to (a). So, if I actually want to engage you in conversation, or work with you in the future, I should say (b). Routine courtesy is part of the standard toolkit of effective communication skills. It may be cathartic to be rude to someone, but it doesn't lead to long-term progress.

> Calling out someone as stupid for saying stupid things seems to me to be the best defence...

...or you could simply explain why you think they're mistaken, without using personal insults, and so win them over to your side of the debate? As it is, you're not just driving them away, but you're also sending a message to everybody else reading the conversation that you're intolerant and difficult to work with, which is not going to help the project.

I actually remember that particular conversation, as that was the point when I gave up on OpenBSD, unsubscribed from -misc, and switched to Debian Linux (and never went back). It simply wasn't worth my time to wade through the insults and abuse to get things done any more.

Of course, in those days, Theo de Raadt had the reputation for being an angry jerk, and Linux Torvalds had a reputation for being moderate and easy to work with. How times have changed.
If the Chinese didn't try to slow down outside Internet traffic coming in massively in order to censor and spy on it, the speeds would likely become much better.
My perspective is that they're basically the same, The NY Times (and CNN and Fox and many others) are just a lot more subtle about it than Breitbart. But fundamentally it's the same thing. There's a pre-established narrative, and they find a way to make everything fit it. If there's something that contradicts it directly they don't even report on it.
If you're describing mercedes as the glacial50somethings, you're not aware that more often than not Mercedes are the first to market with a huge amount of every feature imaginable in the history of automaking. Want to see what features regular cars will have in 10 years? Go check out an S class today.

Things like onboard navigation, voice controls, parking sensors? All 90s technology on the S class. Autopilot came before the Tesla's, radars, adaptive suspension, etc are all things from several years ago in the S class land.

They just use that line to showcase all the cool things that a car can do.
Audio Design Deep Dive: Using a Human Skull to Create the Sounds of Inside
I mostly read Huff Po when I, as a white man, am feeling too good about myself. Then I go to Huff Po and read 20 articles about how horrible white men are.

It's basically like watching a Lifetime Movie. All the villains are straight white males. Except around Christmas, when all of sudden, they become caring selfless individuals.
How Einstein and Schrödinger Conspired to Kill a Cat
I'm quite sure going from 60mph to 140mph is unlikely to be accident avoiding
Because outside the startup world, in many enterprises developers are only allowed to use sanctioned libraries outside what the platform owner advises as best practices.

So everyone suffers when anything more complex than hello world already required third party libraries, specially ones that aren't even acknowledged by Google.
Blockchains – outsourcing trust
> This is why we have to give back.

OK, so how do you determine where "back" is?

Why is "back" in pockets of people being laid off and not on an altar of Cthulhu? By your logic, we never would be able to know the reason anyway, so giving to the Dark One seems to be just as reasonable.
You're not getting downvoted for being mean about DeepMind, you're getting downvoted for making overconfident pronouncements about things you don't understand.

"Neural Turing machines" are not the same thing as neuronal memory allocation: NTMs' memory is external and neuronal memory allocation is all about how memory is stored in neurons in the brain.

The "synthetic gradients" in that paper have nothing to do with the electrochemical gradients you mention other than the name.

No one is claiming that the DeepMind guys are "operating on another level" because they do bio-inspired things. They are claiming that because they are getting more impressive results than anyone else.

Now: Are they really? If so, is that enough justification for such a grand-sounding claim. I don't know. That would be an interesting discussion to have. But "Boooo, these people are just copying things present in the brain, there's nothing impressive about that" is not, especially when the parallels between the brain-things and the DeepMind-things are as feeble as in your examples.
> It must not be that easy (or intuitive,) since every time it goes up someone posts a thread asking what it is and what it's for.

I'd say it's a feature. HN is a place with its customs, some of them are not documented and you get to learn them as you participate.

> why even have the black bar to begin with

For the same reason people wear / display black ribbons.
Marc Andreesen on how AI will change the world
Here's an example of something that was not reported outside of conservative media: http://m.washingtontimes.com/news/2016/aug/16/cnn-edits-out-...
Well that's dateutil (installed from pip) and not datetime (std). As part of log ingestion I would, of course, convert to UTC and drop the timezone distinctions since it does slow down python a lot when it has to worry about timezones. Working within the same units and no DST issues is much nicer/quicker.

Anyway, if you're installing packages from pip, may as well just install iso8601 and get the best performance - possibly beating .Net (who knows? as you said, I have a different machine than OP).
I'm probably missing something but what's the advantage of this over usual way of defining styles in React?
You really want to test everyone's patience, don't you?

"Oriental" became a slur just as "negro" did despite starting out as a more neutral term, though one in an age where many racial terminology was intrinsically loaded.

If people of Asian descent want to call their shops something with "Orient" in it, it doesn't bother me. If someone who's not from that descent instead appropriates that culture and makes a mockery of it, that's not cool.
You forgot the voice command excuse machine in every car.
Im sorry.. I still did not understand...goodbye.
- ELECTRON.
I just cannot get over it. Tried VSCode few days ago, it is great, much better than Atom, but still not there. There is nothing that Atom does better than Emacs, it looks better only, but that's not the point. I find Atom to be more WebDev and Fronted Dev oriented editor.
AI's psychedlics would trip Jimi Hendrix out
The trends over the 20th century generally fit the narrative of exponential growth in energy consumption. Major drivers have been fertiliser (especially nitrogen fixation via Haber-Bosch), farm equipment (especially considering both embodied energy of manufacture plus fuel use), and irrigation costs. Two additional factors are the growth in consumption of both animal products (eggs, dairy, poultry, port, and beef, roughly in that order of increasing feed:food conversion cost), and in the consumption of non-staple foods: fuits and vegetables are vastly less energy dense than corn, wheat, rice, and soybeans, and hence have a higher energy cost:calorie ratio.

Vaclav Smil's 1994 Energy in World History has an excellent exposition of these trends generally, though ending 22 years ago. Manfred Weissenbacher's Sources of Power updates the story to 2009.

It's also helpful to realise that sub-Saharan Africa still has very little mechanised agriculture (fewer tha 1 million tractors per Weissenbacher), and little fertiliser or pesticide use. Even in the US and Europe, nitrogen fertiliser use didn't take off until the 1950s -- for the first 30 years or so, Haber-Bosch were largely in the munitions business.

Since ~1990, energy productivity of ag seems to be increasing (that is, less input energy to output crop) in the US and EU (USDA and DOE have several reports). Global data and graphics are much harder to find, I don't know what the situation is.
Or worked as consultants.

On our case we are required to stay flexible and take whatever projects come when one is released from a project, it is not always possible to say "I don't do X".

So every few months there is a new stack to work on.
I'm pretty much on the same page as you. I don't really see much of a difference between Conrad and (Travis and Brian).

Yet, instead of getting ousted, Brian has Obama and many other important people saying nice things about him.
I'm trying to stop reading news from US/UK sources. The depth of political discourse only goes as far as your self-appointed identity. Actions don't matter anymore.

White people are guilty of colonialism much like Catholic children inherit the Original Sin, that is, it's a means of control by anti-intellectuals.

I wouldn't support Trump, but the American Left is especially dangerous because it relies on gender / racial divide to get the most votes. In some twisted sense, the problem is not supposed to be solved.

Skin color does not make Obama an expert in race relations. If he had said "...but one of my concerns is that it’s been a predominately male gang of kids, mostly black, who are building the core computer science around AI..." there would have been riots in the streets. Tim Hunt's joke was taken out of context and almost ruined his career.

EDIT: To be clear, his white remark was fully intentional.
I want to mention my styling library here: https://www.npmjs.com/package/react-native-style-tachyons

The best part: it gives you a consistent spacing [0] and a consistent font scale [1] which is relative to rem. No more magic values, just use classes:

ma0 ... ma7 margin: 0|0.25|0.5|1|2|4|8|16 rem
ml|mr|mb|mt [0-7] marginLeft, marginRight, marginBottom, marginTop
mh [0-7] marginHorizontal
mv [0-7] marginVertical

/* Same with p for padding */

No more stylesheets, everything is there at a glance and easily fixable:

<View cls="bt bb jcfs pa2"> /* border at top and bottom, justifyContent: stretch, padding: 0.5rem */
<Text cls="white tc"> /* white color, text-align: center */
Something
</Text>
</View>

[0] http://tachyons.io/docs/layout/spacing/

[1] http://tachyons.io/docs/typography/scale/
Energy-As-a-Service: The Next Big As-A-Service Play
For Search direct address to current page for example: "analytics.google.com"
The 'arab spring' is nothing but the US and other vested interests stirring up trouble in these countries. Revolution does not happen by itself. It takes money, effort and organization to get otherwise passive citizens to raise their head above the parapet and more often than not it's to futher the organizers interests.

Libya before and Libya now is a perfect example of a complete disaster for the people and another crime against humanity.

Saudi Arabia, the most repressive regime in the region and chief promoter of terrorist ideology and the one place that requires a 'spring' is the western world's best friend in the region and remains 'strangely' but predictably untouched by the 'arab spring'. This is just unadulterated propaganda.

We have far too many of these 'springs' repeated over and over again in the last 100 years to know what's happening and the modus-operandi and yet every story on facebook and twitter naively persist in rehashing this propaganda.

These interventions under the cover of 'human rights' are always to further some agenda and given the massive upheaval and suffering they cause to populations its difficult to see how any believer in humanity can't continue to support these blatantly self serving actions.
The header looks like fastmail :)
I don't get it. In 1 single millisecond, a processor does on the order of a million operations, and if it's being run that tightly the code should be close to the CPU, perhaps in L2 or L3 cache -- what on earth requires parsing 62x faster than that, for date parsing? 320 ns * 62 is 19 microseconds for the version that yuo said was too slow for you, which is 0.019 milliseconds. Like, what even generates formated date data that fast, or why can't you wait 0.019 ms to parse it out again? Genuine question.

EDIT: I got downvoted, but it's just a question. If it's logs, is it old logs, or streaming from somewheere? Rather than speculate I'd like to hear the actual answer from
thomas-st for their use case. 62x is just under 1.8 orders of magnitude, so I wouldn't think it matters in comparison with typical CPU and RAM speeds, disk, network, or other bottlenecks...
> But the create project dialog wouldn't fit on the screen and the create button wouldn't enable for some reason (possible something off screen).

This really reminds of using KDE3.x & QT in general a decade ago or so :)
Yes, they optimized it and did a few changes in the way things work, but you still need to watch out.

https://developer.android.com/training/displaying-bitmaps/ma...
The Stats Behind App Crashes – How Do You Compare?
And so everybody will get them only half a year :( Life is brutal!
I'd have thought the WSJ was pretty reliable. I'm not sure whether they permeate lies, but on the other side you have the NYT giving Hilary's campaign team copy-approval on what they write.

If you're after other right-wing UK publications you could try the Daily Telegraph or the Spectator.
>Personally I think the risks posed by Trump with his thumb on the nuclear button are greater than the lives saved by repealing abortion rights.

I'm not sure if this was a subtle way to imply that, although the risk of Trump using the bomb is negligible, it's still greater than zero, which is the number of lives you consider lost to abortion. Impressive accidental troll. :)

Realistically, what evidence do you have that Trump has any more likelihood of using a nuclear bomb against the wishes of congress than Hillary? Has he shown an inclination towards mass murder in other scenarios? Did he vote for the Iraq war?