skysight-inc/HackerNews huggingface dataset:
I'd never heard of "drag catastrophe" before either, but I think you're right that he's referring to the onset of turbulent flow that reduces drag on a bluff body.

That's the sudden drop at the right in all of these graphs: www.google.ro/search?q=drag+reynolds+number (same as his own Figure 9, really).

There are a lot of surprising nonlinearities in those graphs. I wish there was a more detailed article/paper somewhere.
Russian Navy Take Over Crimea Combat Dolphins
It's interesting that people forget the iPhone was originally HTML5-apps-only, there was no app store, there were no 3rd party native apps. The roots are there. They just need to be watered.

I've been tinkering with HTML5 apps for the last few years. If you're on the desktop, I don't think there is reasonably anything you can't do. On mobile, there are still a lot of problems with audio. That is very unfortunate for a host of different types of apps, but for a lot of others it is no big deal.

There are things that I'm doing with my current project, https://www.justwritedammit.com, that I just don't think would be possible without HTML5. Building a cross-platform experience has been significantly easier than Java ever allowed me to do, and I'm getting to hit more platforms. I can deploy changes NOW and I can do it 20 times a day if I want. And I have 100% feature parity between desktop and mobile.
It's not. This article is using the "American" definition of middle class, which most others refer to as "working class." Conflation between what we used to call middle class, and what we call middle class today is a huge source of confusion in pop economics.

http://en.wikipedia.org/wiki/American_middle_class
That view is a bit naive. If the problem with a router is that the router is shipped by default with a known back-door or with insecure settings, that does not mean that "the router is garbage". It points to a deplorable lack of wisdom on the part of the vendor, but does not necessarily imply that the only solution is the pay for a replacement.
I use nginx, which is a great alternative to Apache.

I've never tried it on OSX, but this guide seems to cover dnsmasq + nginx virtualhosts :-)

http://zaiste.net/2013/03/serving_apps_locally_with_nginx_an...
Is someone going to resolve the golf ball drag debate conclusively?
Instead of symlinking ~/.pow/example to (say) ~/Sites/example, you can `echo 3000 > ~/.pow/example` and example.dev will now point to port 3000.

This lets you boot up your Rails app normally, or via Procfiles, instead of booting up through all the pow.cx magic that can be a real pain to debug.
Based on my limited googling, at least Bex.io

http://bex.io/faqs

An industry tends to congeal around a single technology for implementation (for example, Python in bioinformatics), so if bitcoin exchanges will start using Elixir, that is interesting
"in a sense our military spending subsidizes Canadian healthcare"

In the nonsense sense, yes. Your military spending subsidizes American defence contractors, who subsidize American politicians.

"Free" healthcare beats no healthcare. In 2007, 33 million Canadians had "free" healthcare. In 2007, 45.7 million Americans had no healthcare. It's nice to see Obamacare getting people coverage.

Rather than try to spin the story to make America look good, it would be more constructive to consider why America is declining and what it can do to reverse that trend.

In the software world, we're better at fixing bugs when we stop calling them undocumented features. That philosophy can work in the real world too.
Another neat "trick" with dnsmasq is to redirect all the dns request for your domain to your dns provider when you're working with dns records (config needed: server=/example.com/176.124.112.100). Never wait for dns propagation anymore! Beat switching your system's dns to your provider because those could be slow for you, or could not answer domains that aren't in their database.
I have done a bit of this too. The main downside in C++ is that you end up writing a few more ternary operators than you otherwise may have. But it is nice to be able to look at the first assignment of a variable and know it is the only one.
Except that 35 consecutive button presses is actually the wrong code entered 31 times. That security feature only adds 101 minutes (and about 400 button presses) to the cracking process.

I think I am correct to be cynical.

And why would you subject yourself to answers.com just for that?
Or Tahoe-LAFS, which is free and open source, and much more stable.
Indeed -- there are a bunch of spots where, if you look closely, you can see the foreground texture being "repeated" in the background texture, when you've moved your cursor to the edge. I wonder if a better kind of pixel-filling-in algorithm could make this more believable, or if the problem is with the inherent inaccuracies of the depth map.

But still, as a whole it's remarkable effective. I'd like to be able to appreciate it without moving my mouse -- I wonder what kind of camera movement function, at what speed, would make for the most unobtrusive effect that would still give the perception of depth?
How Tencent Uses WeChat to Target Alibaba
Announcing Native Summit – cross-platform app dev/designer conference
Writing simple instructions about how to configure the router safely will not produce a ready-made solution for EVERYONE, but it will certainly help for SOME PEOPLE. And the question was whether anything could be done to assist those "outside of our direct sphere of influence" (i.e. not friends and family). This clearly would help.
Couldn't that happen as it's going up as well?
Physician Only Network Completes $1M Fundraising Effort
Comparing income after taxes doesn't seem very useful to me: In many countries, especially in Europe, things like health insurance, schooling and universities, pension and many more are "included" in the taxes you pay, so even if the available income in USD is lower, the effective purchasing power will probably be on par or even higher in my opinion.

Also, these income comparisons don't take into account that Europeans usually work much less than Americans: In Germany and France most employees only work 30-40 hours per week, and have usually at least 30 days of paid vacation per year.

I wonder if there are studies that try to take these things into account.
I think the article should have compared the US with the Australian middle class, as it would be more relatable to Americans. Australia has the lowest tax burden amongst developed countries, a fair, means-tested welfare system that targets those who actually need it, and a highly innovative, effective government that remains smaller than the US government. Australia strikes a good balance between capitalism and social welfare, IMO. Link to sources below[1].

And Americans, especially if they live in the northeast or California, pay very high income taxes, and get almost nothing in return compared to other developed nations. We have to pay high university tuition in cash, and don't get healthcare, either. So keep in mind while an American will use that after-tax income to pay back student loans and purchase expensive health insurance (self-employed, anyone?), the Australians and Europeans et al aren't.

[1] How Australia's Low Tax Egalitarianism Confounds the World : http://www.cis.org.au/images/stories/policy-magazine/2010-su...
I used to love HowStuffWorks but their quality went way down. It became mostly ads, and 7 pages to click thru that should have been just one.
Are there any accessible examples using gitbucket, perhaps an open source project or the like?
We hope so too! We're working on further improving the Jira integration http://doc.gitlab.com/ce/integration/external-issue-tracker....
I don't consider Kurzweil being able to make an good predictions in any time frame, his ideas are more a wishful thinking than showing the real understanding. I believe his major trait is just extrapolating wrongly, like here:

http://xkcd.com/605/

Still I admit that by expecting and actively promoting "more" he inspires people who otherwise wouldn't be motivated.
Restrict yourself to explanations which can be rendered as a series of individually simple steps--something you could reduce to math; something you could program into a computer. Note that "magic" does not qualify, here.

The shortest such series of steps that successfully outputs your observation is the most likely explanation for those observations. In this case, we would either need an exception to well-known rules of fluid dynamics, or an explanation why 2 years of searching in a small area yielded no meteorite. Either one of those is an added complication to the explanation which predicts stowaway gravel: P(A & B) <= P(A).
I love the approval merging too, also the locking of branches (e.g. only X people have the ability to commit to master, everyone else has to have a PR reviewed and merged).

I wish it allowed comments in more places than just PRs, but it's been pretty great so far.
I am not a Steven King fan really, have only seen 1 or 2 of his movies, and never read anything by him; but I randomly picked up 11/22/63: A Novel, and read through it in 2 days, it was awesome.
The best free WordPress plugins for May 2014
It’s that time again! Open up your local WordPress install (the one that you use for testing plugins)—everyone has one of those, right? It’s not just me?—and get ready for another month’s worth of WordPress community goodness. This month we’ve got a variety of plugins, useful for everything from managing accounts to adding extra content. Let’s jump in…
More Details Emerge About LG’s Upcoming Smartwatch
10 Key Traits Of An Ideal Entrepreneur Partner
This post is great.

Couldn't agree more about the four hours per day piece. The best work I did in my career as a dev was the year I worked 20 hour weeks.
Can we stop saying things like "more freedom"? Freedom is really poorly defined even to an individual, and tends to lead to sentences like "they hate our freedom".

You could very well argue that freedom means absolutely no laws, absolutely no government, no public sector, period. You could also very well argue that freedom means being able to be confident that you have access to medical care, education, and child-support regardless of who you are, or your income level.

Freedom doesn't actually _mean_ anything anymore, it's just a political catch-phrase.

Can I rephrase your post and say "less government support would scare Francois..."?
First of all, that's not what perfect pitch is -- it is rare, but it has absolutely nothing to do with how well you can carry a tune.

But secondly, if the entire population of China can do it, then statistically, you're almost guaranteed to be able to do it too. And the tones in Chinese are really very, very simple. They're no different from the way you end a question with your voice moving upwards, or the recognizable "valley girl" pattern. It's the same idea, just applied to single words instead of whole sentences.
New compiler cranks up JavaScript from native code
Regarding your point about cleaning up other people's macros.

In Elixir macros are imported into local scope only when the user explicitly asks for it. Most libraries provide a `__using___` macro that can modify current scope.

For instance, `use ExUnit.Case` allows you to write tests like this

test "my test case" do
assert funcall() == "value"
end

instead of this

require ExUnit.Case
ExUnit.Case.test "my test case" do
ExUnit.Assertions.assert funcall() == "value"
end

So it basically imports a bunch of stuff for you, but only when you call `use ExUnit.Case`.

The consensus in the community right now is to not get carried away with macros and DSLs. Even if your library provides a DSL, it should be based on a functional API that is mostly usable without macros.

And lastly, remember that `use`, `require`, and `import` modify only the current lexical scope. I wrote this macro[1] that replaces the built-in `|>` operator with a version that prints its output to the console. You can `use PipeInspect` inside one function and only that function's body will get the overriden implementation of `|>`.

Cheers.

[1]: https://gist.github.com/alco/9956215
I am using Stash also. Love the new side-by-side diff. We switched from Gitlab to Stash few months ago. Mainly because Stash upgrade was way easier than Gitlab at that time.
Whenever I see things like this ("like X, but written in a different language"), I can't help but think that there's a lot of effort wasted for something that makes no difference to the end user. Why duplicate the whole thing just to make deployment (something that happens once) a bit easier?

Does anyone else feel this way?
Ask HN: Bitcoin – Possible 51% attack on 4/20?
https://blockchain.info/charts/n-orphaned-blocks

I was browsing the Blockchain yesterday when I noticed a massive spike in "orphaned blocks" that had occurred over the past two days.

Previously, the number of orphaned blocks had been a constant 0. Starting around a month ago, the number of orphaned blocks began to increase. On average, 2-3 orphaned blocks were generated daily. On 4/20 the number of orphaned Blocks spiked to 151.

This is coupled with a suspicious DDoS attack on Monday (http://newsbtc.com/2014/04/21/blockchain-info-services-due-ddos-attacks/).

Was this an attempted 51% attack? Did someone try to fork the chain for their own nefarious purposes? I would appreciate any insights on this anomaly.
The problem is your "Bubba" is not remotely middle class, I'm struggling to think who could afford that as a middle class kind of dude. Maybe retired .mil officer double dipping into a career in police/fire administration (aka the local police chief). But the local police chief is not a middle class bubba that all HS grads can aspire to. Maybe a highly skilled laborer... my stationary diesel mechanic relative makes about twice what I make...

I am in the 80th percentile graph, far away (but not too far) from Chicago, for inflation / COL reasons I'm locally about 90th percentile, and my family is in a really nice suburb perhaps the 3rd wealthiest in the local area, but its a relatively cheap 1950s era 1600 sq ft house, a middle aged Prius and a brand new Yaris instead of two $75K trucks, only one acre of suburban land (which is actually pretty good, the mcmansion people only have 10 ft by 5 ft front lawns and no back lawn or side lawn at all). No hunting cabin, those cost almost as much as my house. Hunting licenses are dirt cheap, right up there with fishing licenses as we are a major deer hunting destination and every tourist business would scream bloody murder if the .gov discouraged their income stream. I could afford ATVs pretty easily but I'd have to give up some expensive technology hobbies, or perhaps give up a couple years of travel/vacation to afford that. The most expensive part of owning ATVs would be purchasing something capable of carrying them and then burning 10 MPG to go hundreds of miles away to use them. Its much like owning a boat in that way. Boats are pretty cheap, its the boating lifestyle that comes with owning a boat that gets extremely expensive, dock fees, tow vehicle, etc. So that's what 80th percentile income for a couple decades actually buys you.

I would expect Bubba at a 30% lower income percentile would be my situation minus the new imported cars, maybe a couple years old, or if trucks they would have to be 90s models to be affordable to Bubba, and a much dumpier suburb with virtually no land, higher crime etc. Needless to say bubba's not going to be able to afford an ATV much less multiple ATVs unless it becomes a hobby/rebuild project and bubba is handy. Your description of Francois sounds a lot more like Bubba, although Francois has better cheaper schools and better cheaper health care, so Bubba would move up to Quebec and swap in a heartbeat, plus or minus local relatives, language issues, etc.
Two immediate I can think of:

1) You don't have to add new .dev hosts to /etc/hosts repeatedly. Once you're setup, all .dev is local

2) /etc/hosts doesn't support wildcards, so dnsmasq is great with apps that have many or randomized subdomains.
One small thing perhaps worth noting on the subjective side of things is that France has the most foreign visitors of any country, now of course this is offset by the fact that the US is relatively remote, but France as a country has a hell of a lot of things going for it even if it is a bit messed up economically.
Integrate or die! The future of mHealth.
I'm in an odd position on this one, because I agree with his list of desirable practices at the end, and disagree emphatically with his idea that writing something, anything, beats thinking about writing something 100% of the time. Much of the "quick" code we write in the real world ends up enshrined the minute it works, and never gets revisited or cleaned up. I once had to deal with a piece of data import code written by a predecessor who had moved on to management. He had a single 500-line try-catch block in which everything happened. When I mentioned that this wasn't the most maintainable or comprehensible approach, he simply replied that "it works." That statement, "it works", is a pretty low bar in software, imo.
That's why they have range safety. http://en.m.wikipedia.org/wiki/Range_safety.
Basically a remote self-destruct trigger with multiple redundant data channels and possibly a self destruct on communication loss.
You will get some debris but the damage is lot more predictable than a full stage coming down.
FYI the latest version of Stash allows comments on specific files and commits.
Middle-class is a fuzzy concept, but more-or-less of half of Americans consider themselves middle-class or upper-middle-class.

http://www.gallup.com/poll/159029/americans-likely-say-belon...
Lytro Illum
Germany had to re-assimilate East Germany during the time of the graphs, as well. I suspect that accounts for the downward spike and then recovery in their incomes.
Yeah, I'm guessing the parsing would be a problem for integrating with other actual c-language parsers. It looks like the the parsing is completely open ended. I.E. there is no way to tell if you've completely parsed the macro without knowing the macro definition.

Maybe taking a page out of rust's handbook and adding slightly more syntax to the macro would help. If the parser knows that a macro is any identifier followed by a ! and then enclosed in braces, it could simply ignore the contents and continue parsing.
12 ethical dilemmas gnawing at developers today
I took me a while to realise it but yes you are 100% right.

A few years ago I played with SharePoint for a bit and found some good use cases for it. Decided I'd throw some code together that I could wire into it and sell. There was a demand and SharePoint object model was pretty spot on.

4 days later I hadn't even got a bearable working SharePoint installation for doing dev against, had to throw another 4gb of ram at the machine I was working on and wanted to kick the shit out of the thing due to the recursive layers of batshit.

14 days later I had learned python, written the entire thing from scratch using django and had gone live with a client who still uses it today.
Be careful with filters-the main issue with lead is that it leaches from pipes and/or solder. Most of the cases I am aware of in modern (post 1970s) US homes were related to whole house reverse osmosis systems, because the ion-free water had so much more capacity for free metal ions.
If you have hard water, it is almost impossible to persuade lead out of the pipe into solution. If you do want to use a filter, make sure you have an at the tap point filter as well.
Sure, for a rugged individualist who wants nothing to do with broader society, America might be better, but this is really a romantic fringe case, and most of rural or inner- America suffers from widespread poverty, high unemployment, drug abuse, etc. And it's less relevant as jobs and people continue to concentrate into large cities. The closer you live to your neighbors, the more it's in your best interest that they be stable, happy people.
Supreme Court Upholds Michigan’s Affirmative Action Ban
While the article makes (and backs up) that unremarkable claim, there's some real meat further in.

> You might think high-paying jobs at these agencies require special skills. Not so. At the OCC, secretaries make on average $79,182 per annum. Motor vehicle operators (the agency's limo drivers) at the FDIC earn $82,130. Human resources management trainees at the CFPB make $110,759 a year.

> Salary premiums are especially large for easy-to-fill jobs that require no specialized, hard-to-hire skills.
Airbnb in court over housing laws
Ask HN: Did `Who's hiring` work for you?
Have the monthly 'Who's hiring' thing worked out for you?
As long as you never get sick, lose your job, or go to college.
They are not hieroglyphs, you will see no pinyin publicaly in China. Many ignorant americans come to China having studied Pinyin and they fall flat on their face.
Great little resource for building your first game.

That said, the term 'Mechanic' in game design has multiple meanings. My favorite is in context of Dynamics and Aesthetics, as explained here - (pdf) http://www.cs.northwestern.edu/~hunicke/MDA.pdf
Yeah it kind of feels dirty having all these mutable variables around after doing any functional programming at all.

I've found using const a lot also goes hand-in-hand with raii. If a member of a class is const it must be initialized in the constructor, and it just seems to make me code a bit more "hygienically".
Scandinavia is three countries and the Balkans is eight.
A teddy bear with Whatsapp audio messages to hospitalized children [video]
You'll be pleased to know that the work item side of Team Foundation appears to be based on SharePoint and they're heavily marketing that at the moment.

Kill me now.
Adenda SDK gives any app access to the lock screen
partially phonetic
David Toop 13 questions
This is precisely why SpaceX needs to be granted permission to close down the beach in Texas (if they are to make a launch site there).
The really disgusting part of the article is this gem (emphasis mine):

> The average compensation at the Office of the Comptroller of the Currency (OCC), the Federal Deposit Insurance Corp. (FDIC) and the Consumer Financial Protection Bureau (CFPB) exceeded $190,000 in 2012. The staff at the Federal Reserve is likely even better compensated, but the Fed refuses to release employee salaries.

Even more concerning, today there is little to no oversight of the rents the agencies can extract since the salaries aren't paid with tax dollars. Rather, they're paid using fees charged to the regulated institutions.
Origins of libressl
GOGS – GitHub clone written in Go
>To give him his due, flat-screen televisions have replaced traditional sets, and 3D television technologies, while not in cube form, have long been a highlight of the electronics trade show circuit.

my guess is that he meant 3d television sans the glasses...
It might be helpful to separate the code that creates the parallax effect from the angular app that displays the website & examples. This is a really cool trick and it would be nice to be able to easily reuse it. For those looking, it seems like the "magic" happens in a couple of spots (I think):

https://github.com/panrafal/depthy/blob/master/app/scripts/p...

and in

https://github.com/panrafal/depthy/blob/master/app/scripts/c...
Do You Procrastinate Because You’re Lazy? Or Because It’s in Your Genes?
Next launch will be to geostationary orbit. More fuel is needed to get there, I'm not sure if they have enough left for a boost-back.
The absolute comparisons of "inflation adjusted, PPP adjusted, after tax" income is hairy. But the directions of change should be still useful.

The US is still flatter.
From my understanding there actually is 3D information reconstructed via sfm from the hand jittering. Only few points and of questionable quality but enough for the foreground extraction (for blurring).