skysight-inc/HackerNews huggingface dataset:
Does anyone find it weird that they left the google analytics scripts on the seized pages? Or is it possibly more sinister in that they're seizing the analytic data as well.
OTOH, the 2012 map shows generally lower numbers than the 2007 map, which seems to suggest that Europe is running contrary to the general trend.
Lets put it this way: If you took American judges and American lawyers and American laws and used Austria's jurisprudence, would the legal system be better or worse than America's? Without juries and without doctrine like stare decisis, IMO, way worse.

Its just so sad to see what has happened to Austria's legal system. Austrians lost their right to a jury trial, which AFAIK happened circa 1933-1934 (this should give you a clue as to who benefited/benefits), and Austrians have absolutely no clue they even had it. I think Germany lost their right to a jury trial around 1924. That really wasn't that long ago, given that the jury trial is a Germanic custom. (I mean, its all very POV. Austro-German politicans call it "reform"; I call it "fascism".) Stare decisis is more of a sui generis and extra-statutory mechanism developed in England, so that facet is obviously less surprising.
The future of loudspeaker design
> So this got me wondering if crooks don't just mail false invoices to large firms in case some pay without checking.

They do

Example: a company I knew (in Canada) displayed some fake invoices for "IP/Trademark registering" in Europe, of course the payment was optional, but if you don't pay attention it gets payed
It's not drawn, it's pushed, by the pressure built up in the "gas spring chamber".
By your requirements for democracy, there is not a single democratic country on Earth.

And Russia restricts free speech better than China? Although I wouldn't argue Russia is a bastion of free speech, I do talk with my Russian friends over Facebook, Skype, email, etc, make jokes about and criticize their (and our) governments just fine without any problems so far. I cannot say the same of my Chinese colleagues, which I rarely interact and which have been so conditioned to suppress their opinions that even while visiting a foreign country where they were free to say whatever they wanted in private, even then refrained from doing so.

So yeah, both countries are quite bad when compared to the freedom heaven that the US is (wait.. what? NSA?) but I wouldn't go that far to put Russia and China in the same basket (unless we're willing to put all sufficiently advanced countries together, since it's pretty clear a great majority are already spying on their own citizens)
Open chrome://flags/ and activate "Enable DirectWrite". That will give you proper rendering of webfonts. (Like FF and IE on Windows.)
What can I not do in the USA?

Good question. How about these: Rely on any real form of social security. Become meaningfully involved in politics without first becoming so indebted to corporate / special interest parties that your independence is essentially compromised. Start a financial services business of any real capacity without massive outside investment. Start most forms of large scale business without paying out millions of dollars to lawyers. Get a decent education without becoming stupendously in debt. Find ten people at the local pub that are able to meaningfully discuss politics, history, geography or philosophies beyond their borders. Eat much in the way of authentically decent food from other countries outside of a few extremely wealthy enclaves. Live easily and comfortably without a car. Live easily and comfortably without a cellphone. Live, work and pay taxes as a citizen of another country, without fear of being extradited with mere days to get out and go through the whole hassle again if you have to change jobs, if you don't want to commit to a green card scenario. Avoid, for more than a town or so, people that subscribe to religious conservative radio and watch fox news. Receive well deserved state protection when distributing truths about organizations like Scientology. Avoid draconian punishments like the death penalty and effective long-term incarceration without trial for whistleblowing or opposing established media/publishing congolomerate interests? Hell, this should be a twitter hash tag.

unidirectional flow of immigration

All developed countries have this. Fact: almost nobody from other developed countries has an interest in moving long term to the United States... look up the statistics on the green card lottery if you wish.

I can't do business with Chinese companies, while I can with members of the civilized world. I see a strong difference in culture.

That's abusive and false. China successfully exports more products in more categories to more destinations than any other country, last time I checked. Maybe the problem is you.

Russia

No idea about Russia. From what I read, they basically skipped the development of a facade pretend-representational government and went straight to a mafia state. I guess you have to give them points for efficiency!
you can see the different types of transportation across the same city if you see each city's page:
http://cities.human.co/posts/mexico.html
That was hilarious! Good ol' Onion.
This is a common strawman, with several examples to disprove it:

- https://github.com/cujojs/curl
- https://github.com/montagejs/mr
- https://github.com/substack/wreq
Or the fence sitters lean one way or the other depending on their mood/requirements.
In situations like this you already have a job lined up that you are going to. Since they must pay you, it's up to your old employer to make a business case for themselves that it is in their best interest to pay you rather than just letting you get on with your new job. When employers have skin in the game, it is almost always better to let the employee go. The problem with most non-competes these days is that it costs employers nothing to enforce them. In this scenario that is not the case. Not only do you have a job waiting for you at the end of it but it signals that you were so crucial to your employers near term competitive advantage that they were forced to pay you to sideline you.

Also in this scenario, employers generally won't make you sit out for the full length of the non-compete. They may have you sit out for a few months until the critical product you were working on launches and they can claim first mover advantage, etc. Since it is now a business case, it generally makes no sense to make old employees sit idle for a year.
> Self-driving cars can't come soon enough.

This is surprisingly common: people's behaviour around technology is awful, so the solution is more technology! As much as I agree that taking idiot humans out of the decision-making process is a good idea, I wonder what unintended side effects self-driving cars will have.

Also, it's not so difficult to not use your phone at a light, and in many jurisdictions, it is illegal to use a phone or other electronic device (which is not a driving aid, e.g. navigation systems) while in care and control of a vehicle. My wife, for example, refuses to even look at her phone while driving, even if stopped at a light; extremely frustrating for me when I'm trying to get her to pick me up somewhere, but easily defensible when you hear stories like this.

In the end, all of these stories seem to come down to selfishness, ignorance, and carelessness. If people were more aware of the world around them, then these things would be significantly less common. I feel as though technology isn't going to fix that until we've basically eliminated humans entirely from all decision making.
Oh, wow, this is pretty slick! I like being able to see a demo of the drops.

Is your plan to open the code or marketplace up so others can build other drops, and do a revenue share?
I meant for example people who may not even know all the rules of the sport but care somewhat about how the home teams do, not the hardcore fans.
At the risk of nitpicking, seconds per hour do change, don't they? Leap seconds are a thing, though maybe that's not all that important :)
While I really liked the main idea of the Lambda Architecture, I think this article is answering my doubts I had. It is really more reasonable to have another stream processing pipeline for treating historical data, rather than separate hadoop or other map-reduce framework. In case you need to reprocess the data, you instantiate another pipeline and stream that historical data through it. Clever!
In fact, in a number of states, agreements like that are unenforceable and invalid (California and Minnesota being 2 such states).

I can write code at home in my free time and it's MINE and I OWN IT.

It's a little like hiring a carpenter and then telling him that he can't make his own cabinets for his kitchen because the company owns everything he makes. Fuck that. I'll never work for a company that does that shit.
> How can you get an accurate average IQ?

The linked source has both maps based on only IQ data and maps based on IQ data adjusted with additional data from other assessments that have a demonstrated correlation to IQ results.
At least in Dublin, it seems to confuse Biking with Sailing (see north of Dun Laoghaire pier)

Otherwise very cool!
A higher IQ population will be better able to adapt and take advantage of other factors.
Bullet dodged.

Not assessing the financial situation of small employers pretty much has always lead to them going bankrupt in my limited experience. And employers unwilling to give any indications are the ones that leave paychecks un-funded when they do (that was an SOs employer).
or in es6 var {getCodec} = require("iconv-lite");
This is exactly where the BS starts. So what are you doing next, FIVE_HOURS_IN_MILLIS? Should we do the whole range?

More importantly: Why 6 hours?

The comment by bluefinity gets it right. HOURS_IN_MILLISECONDS is ok, but don't "constant" everything.
World Cup 2014 France vs. Germany Prediction
This has been happening in Brazil for years. They use several methods: boletos for inexistent taxes, internet domain renewals, "social contributions" and others.

They make them look very legit: one we received even mentioned real legislation that said that a certain type of contribution(very similar name to what was on the boleto) was obligatory. We had to take it to our accountant, and he instantly found the fraud.

They also have access to Brazilian whois data somehow. The official whois is protected by captcha, but they're able to obtain the whois database via some other method and then snail-mail boletos to millions of domain owners using their real personal data. It looks very convincing.

The sheer amount of such fake boletos that arrive in the mail every month indicates that this may be a successful scam after all.
I wonder why people focus so much on IQ instead of better metrics.

In this article, "The play deficit":

http://aeon.co/magazine/being-human/children-today-are-suffe...

there are these very interesting sentences:

"Other research, by the psychologist Mark Runco and colleagues at the Torrance Creativity Center at the University of Georgia, shows that scores on the TTCT are the best childhood predictors we have of future real-world achievements. They are better predictors than IQ, high-school grades, or peer judgments of who will achieve the most."

TTCT is "Torrance Tests of Creative Thinking".

People should really be much more interested in metrics like TTCT, rather than IQ tests, SAT tests or other not very relevant metrics.
https://news.ycombinator.com/item?id=3522965
Maybe it is [1]

[1] https://www.youtube.com/watch?v=z5ihMP-I3l8
It's unlikely that 1) there are significant differences in intelligence between different continents 2) that IQ, which is significantly influenced by education, would be lower in Europe where education is rather decent (probably at least in the better half, if you were to sort the world by quality of education).
I like functions that return a value to be written in the guard-clause style. [In C++, that's probably better for efficiency since the compiler optimizer doesn't have to remove temporaries by converting the code to guard-clause style.]

However, I'm not convinced that void functions are better written in the guard-clause style. I think the intent of the code is better expressed with nested ifs. Of course, try to factor the ifs so that they're readable.

I'm saying this is more readable if the "do something part" is less than about 15 lines. Thoughts?

void do_something(input) {
if (!input.already_done()) {
// do something.
}
}
> No, not necessarily the richer - I can spot a direct correlation between the quality of the education system and the IQ reported here.

The first sentence of the linked post, well before the actual maps, is "Please note: Quality of education greatly influences IQ scores, i.e. a lower average IQ is more indicative of lower access to wide-scale quality education rather than innate intelligence (as demonstrated, for example, here). Also, testing conditions influence results; wealthier countries are more likely to be able to afford better testing conditions for participants."
"Iron averages 2500-3000+ requests per second for hello world"

For a hello world in my laptop I can get typically 30k requests with Go, and with mono/httpListener ~10k.

I expected it to be much faster.
Which reminds me of this: GitHub search for 84600 seconds. https://news.ycombinator.com/item?id=7717414
> The dependencies are static, so you can't do stuff like `if(Math.random() < .5) { require('foo') } else { require('bar') }`. That is a good thing. A lot of people at this point agree that a statically analyzable dependency graph is a huge win.

yeah but the 80% solution of loading them both statically but only executing them when the require is run works ridiculously well in practice.
I wonder how well Xapo is doing - because this seems like a copycat.
I did not know that. Looking at the Wikipedia article for the Volt [1] I can see that the gasoline engine may provide additional mechanical energy to turn the wheels, but it's only to assist the primary and secondary electric motors.

In either case, I am not a purist going after a 100% electric car. I want to get more miles per dollar, and I want to produce less CO2 per mile. The Volt seems to do that, while still letting me drive from NYC to LA and back without having to spend more than three minutes at any given gas station. More importantly, any gas station will do, since it can run on just gas. For a daily commute, it will likely run 100% electric since the battery won't be depleted. To me, this is a great combination.

[1] http://en.wikipedia.org/wiki/Chevrolet_Volt#Drivetrain
Running Swift from the Terminal
Thanks everyone for watching another exciting episode of "Two Lawyers Explain Compiler Theory". :)
Not when the discussion of a variable naming or something equally stupid is taking 3 days, and in 3 days you could get some features working and think about the name in the background and fix it later.
Hah! Same - I got to the end of it and was like this has to be a joke, but honestly maybe it isn't... then scrolled back up top and saw that it was. But I definitely could have been convinced that it was serious.
We'll be accepting applications to be come a contributor very soon. This will include details on the benefits of contributing.

Thanks and keep checking back!
Weird, worked for me; will fix. In the meantime please forward your email to jobs@helsinkijs.org - thanks!
Here is a newer Chrome with DirectWrite enabled by default: http://i.imgur.com/yrmxzkg.png

I still prefer Firefox.
The point here isn't to have more transitions, but rather to put a delay between a yellow going red and a red going green.

People often treat yellow lights as 'Better hurry up!' and the worst of those people will end up in the intersection when the light turns red; if, at the same time, the other light goes green, impatient people will rush the light and accidents (or near misses) can occur. A driver who rushes and then slams on his brakes when he realizes that someone was still in the intersection can be hit by the person behind him who expected him to go, but didn't expect him to stop.

Extremely long lights will make things worse by increasing driver frustration and eliminating the feasibility of left-turns when an intersection doesn't have an advance left turn. In many downtown areas (of the ones which I've been to), there are no (or few) advance left turns; this means that, typically, you will wait at a red light, then wait at a green light, then turn left on the yellow light. If they're on top of things and you've advanced into the intersection, the person behind you could also manage a left turn.

Longer lights means fewer yellows, which means fewer left turns, which backs up traffic even worse.
The blog post author did a terrible job of research on IQ by encountering the writings of Richard Lynn (funded by the Pioneer Fund, and later an administrator of the Pioneer Fund) and not finding the writings of James R. Flynn,[1] the acknowledged expert on IQ trends over time, after whom the Flynn effect[2] is named. Flynn's TED talk[3] is the place to start for understanding what is really going on in IQ score trend and in national average IQ differences to date.

By contrast, Lynn is decried as a sloppy scholar,[4] and is not taken seriously by the mainstream of human intelligence researchers.

[1] http://www.amazon.com/What-Is-Intelligence-Flynn-ebook/dp/B0...

http://www.amazon.com/Are-Getting-Smarter-James-Flynn-ebook/...

http://www.amazon.com/Intelligence-Human-Progress-Story-Hidd...

[2]

http://www.nytimes.com/2012/11/04/education/edlife/james-r-f...

http://www.theguardian.com/technology/2012/sep/23/james-flyn...

http://www.timeshighereducation.co.uk/books/what-is-intellig...

[3] http://www.ted.com/talks/james_flynn_why_our_iq_levels_are_h...

[4] http://wicherts.socsci.uva.nl/wichertsRavenAfr2010rej.pdf

http://www.nybooks.com/articles/archives/1994/dec/01/the-tai...
Landing Page Mistakes You Can Learn From
The whole article is about how the 2007 map was biased and how the 2012 map attempts to correct this bias. So you can't compare them the way you do it.
Its a long-known, well-demonstrated effect on an individual level. A more likely causal mechanism than the kind of broad social effect in the reverse direction that you suggest is that access to quality education also affects experience with, patience with, and attitudes toward the kind of assessments used to measure IQ, thus influencing results.

(There's other wealth-related -- and, on a country-level, social-support-network related effects, too, as early childhood nutrition and other social-environment factors have an effect on IQ that, again, has been demonstrated on an individual level.)
The last time this came up people pointed out this kind of thing:

Beautiful W
<span class="kern">
eb
</span>
Type

It would be nice to just see what they look like without all that hackery, since no one is going to do that ever in real life.
>booleans

C doesn't support native booleans, C99 does-ish. And you can hack it in with

#typedef enum {false, true} bool;

C uses ints, all the way down, for everything, until you hit turtles.
Introduction to social network methods
I think suspicion of ill intent is warranted, or at least I read from a reliable source in the '80s that you couldn't publish a magazine in Austria without getting government approval, which would seem to be somewhat consistent with the mindset behind this law of this interpretation of it.
> but repeating `// seconds per hour` as a comment everywhere you use the number 3600 seems a little silly when you can just use a constant

Yes, so if it's only one case you can have the comment

Now, if you're doing it a lot of times I bet your problem is bigger than just adding a constant, it may be even better to turn this into a function so you do to_seconds(time_in_hours) or something
Build Super Fast Apps with Golgi SDK
spark plugs require a decent amount of energy to function

Are you sure about that?

According to [0], "To ignite a stoichiometric air-fuel mixture (14:1) approximately 0.2 milliJoules of spark energy are required. Very rich or lean mixtures can require as much as 3 mJ."

[0] http://www.mr2.com/TEXT/DavidKucharczyk/ignition.html
This looks very nice. I've been following rust and go for a while now and I finally have a small service to write that would be a good fit for either language so I'm going to try both.

I noticed one of the repo's more recent issues was caused by a change upstream. The upstream rust devs seem very accessible, but how often do you encounter these kinds of breaking changes. Acknowledging that rust is pre-1.0, is there any way to stay up to date on these kinds of changes before they hit your app so you aren't blind sided?
I was going to suggest youtube comments ..
User onboarding – what is a 'quick win' and why it's important?
Here is a conversation that could happen building a bridge if the builders were like some developers (aka, not engineers):

- "hey, let's figure out the physics of this."
-------> "No, let's build a small bridge here with these Legos. I bet they work"

- "ok, let's trace the design key points."
-------> "What for? Let's just start right here, aim more or less over there, and that's it"

- "Ok, time to go rent some excavators."
-------> "But why? It takes too much time. I can build an excavator here. Look. There. I just built an excavator"

- "Look, they sent us a blue excavator."
-------> "No no no. Excavators must be yellow. Don't like it. Return it."

- "Ok, we need to hire extra workers."
-------> "But wait, do they have experience with blue excavators? Yellow only? That's lame. Keep looking"

- "Ok, let's put some signage so people know what to do"
-------> "No, let's just see where they go and we will extend the bridge there!"

... and the best one

- "Well, we need more resources to finish this project"
-------> "Nah, let's just open source it and forget about it!"

sigh
Going to the theater is our choice. We want our emotions to be changed when we go to a movie. In Facebook, I want the raw feed from my friends, not some emotionally filtered feed. I don't want to get into a debate on free will. Do you think laws on human experimentation should be removed?

You argument is basically a milder analog of "Humans die from all kinds of causes so let us let murderers walk free."
They were designed for cost-effectiveness in an era of cheap fuel. Electric transmission wasn't feasible on the car scale until cheap microelectronics arrived. It was confined to diesel-electric locomotives.
Same with BitGo.
How do you keep your snippets organised?
Best thing I found so far is this gist plugin for sublime but it still feels like there should be something better out there. Maybe something with tags/categories.
Don’t Be Scared Of Functional Programming
No HuaweiSymantecSpider in my logs in the past 8 months (grepped access.log), but the site is available over both http and https so they might have classified it using DPI (talk about evil...).
Prior to the 1932-33 Ashes Tour(1) his test average was 112.29 after averaging over 200 per innings against South Africa and dropped to a mid career low of 89.55 as a result of the English tactics. Very impressive.

(1) http://en.wikipedia.org/wiki/Bodyline
Since the tests are relative they should include a script that tests the different frameworks/languages. It shouldn't be too complicated.