skysight-inc/HackerNews huggingface dataset:
A qualified defense of the grandparent post.

In a lot of software in the industry I've seen, I'd say he's right -- instead of an "if X condition, do X code, if U condition, do Y, otherwise do Z" you can make an object, subclass the object's base class into a default type doing Z and two other types that do X and Y instead. (If you need to share more behaviors in a more complicated setup, you make the strategies into classes as well, then have the X1 and X2 classes invoke the X strategy.) Happiness ensues! (unless you're stuck with too much ugly-looking Java boilerplate or insane C++ templatization angle-brackets)

That said...

any good advice like that should be taken with a MASSIVE grain of salt because of the exigencies of real software development, especially software like gcc. Moreover the approach is not a panacea against code complexity because sometimes the relationships between different types of conditions are just plain complicated, as appears to be the case here.

So I can totally understand where this code is coming from, and while I can imagine it being far more elegant, it's not really the prime candidate for a rant. Grandparent post should chill out.
The only thing in the article about the relation to the older map is "Since the maps above [the 2012 maps] are based on more recent data, the map shown here [the 2007 map] should be considered outdated."

There's not one word in the linked piece about bias in the older map, so saying that's what the whole article is about is, well, odd.
That's correct. Sure feel free to drop me a message at thakur.com[at]gmail after you put some fix. I am loving it and would let you know if I encounter any other issues.
Saying they destroy peoples lives on purpose isn't fair though.

Everyone knows it might happen, therefore it doesn't happen? I don't get how the rest of your comment supports this statement.
F1 Launches Race To Update Its Technology Systems
The problem here is that most programmers confuse readability with familiarity and/or aesthetics. Readability has to be an objective measure, because it would be totally irrelevant if it was just a subjective impression, yet we still have no idea what readability really means and how to measure it. Not to mention it seems to be very context sensitive.

One nice write-up on readability I saw is this: http://www.perlmonks.org/?node_id=592616 along with sources cited therein. It sums up the problems with defining readability nicely.

The bottom line is that we can't say for sure if this:

total_seconds = hours * 3600; // seconds per hour

is any better than this:

total_seconds = hours * SECONDS_PER_HOUR;

or this:

total_seconds = hours * 60 * 60;

or this:

total_time = hours * 60 * 60; // in seconds

or this:

total_time = TO_SECONDS( hours );

or this:

total_time = SECONDS_FROM_HOURS( hours );

or... you get the idea.

And we not only don't know which is better in general, but even which would be better in most specific conditions. We just don't know. Saying otherwise is just an expression of opinion or personal preference. I think acknowledging this would be a decent first step towards improving the readability level of code in general.
I see also in Dublin, some naughty person had their phone on in an aeroplane :-) You can see the path of the plane landing and taxiing to/from the terminal
Interesting perhaps I took one but didnt realize it. How accurate can an IQ test for elementary schoolers be for an adult population?

Maybe the test I took were not called IQ tests but were very similar. Most test I took were similar to what the SAT was, but I never got back an "IQ" score. Usually they gave us back a percentile score against the whole pool, but never an IQ number or range.
I see them fairly regularly. It must be a money-making enterprise, otherwise they wouldn't do it.
Xervmon Managed Services
Around $80 billion wasted on power for online devices in 2013
Nothing in your first paragraph is special to the Volt. Any hybrid, aside from the less advanced "motor assist" designs (found in earlier Honda hybrids) get the same advantages. A Prius can keep the engine at a happy RPM throughout due to effectively having a CVT, and it can not only shut off the engine when stopped, but even when moving up to 40+MPH.

There are some interesting consequences of a pure serial hybrid design like the Volt (although the Volt isn't quite a pure serial design), but friendlier RPM and the ability to shut the engine down aren't it.
Given that you used to run one there really isn't much you cant do now. Austria has lots of organizations that got your back. If you ever end up in trouble and don't know who to ask for help just mail the Tor Project directly they know who you want to talk to.

@mahouse: Yes. Exit nodes only.
Satire, and bordering on bigoted.
Hi HN! Would appreciate any feedback on this project. It's something I think is definitely missing in the ecosystem so far.

What's your experience building a frontend on your Elasticsearch index, tips + something specific you would be looking for in a project like this?
Worksheets or Online-Learning?
In this article, we will talk about worksheets and the limitations they have; in addition, we will introduce online-learning and their benefits that make them a better teaching-aid as compared to worksheets.
senior developer. At a telecom, worked in banking dev for 15 years before that
What are the next planned drops? Will they be free or paid?
I've been waiting to see some Rust frameworks emerge. Thanks for putting this together!

Would you be willing to contribute a test implementation to our project [1]?

[1] http://www.techempower.com/benchmarks/#section=code
> A different court is allowed to use completely contrary reasoning and interpretation of "enables or facilitates" ("ermöglicht oder erleichtert") and "intent" ("Vorsatz") in § 12 StGB.

In general, lower courts are still going to follow the superior courts, or they will simply be overturned on appeal. And if a judgement is reversed by an appeals court, the lower court is generally bound by the legal findings of the appeals court (e.g. §511 ZPO [1]), so it's not as though they can evade review. In practice, there is actually relatively little difference between common law and civil law jurisdiction these days with respect to precedent.

Not to mention that in this case this is the judgement of a regional court, which could not possibly be binding outside its region even in a common law country.

> Also keep in mind that sometimes juries composed of short-term politically-appointed local politicians ("lay judges") are used, so that also adds to the complexity.

Lay justices and jurors in Austria are selected randomly from the electoral register. See §5 GschwG [2]. This is different from the procedure in other countries, where lay judges are commonly volunteers.

[1] http://www.jusline.at/511_ZPO.html

[2] http://www.jusline.at/5._Verfahren_der_Gemeinden_GschG.html
Instead of tricking people, you could just be helpful, respectful, and engaged.

If you are just pretending to take notes during a meeting, you need to question, "Why am I in this meeting?", or why you are at that company.
The benchmarks are a bit lower than we wanted. I think this is mostly due to an immature ecosystem for doing basic http - working off of c bindings to a proven, fast framework would probably speed this up by a few times.
You are missing the point. jQuery fixes the DOM API. Dart's "dart:html" already provides a clean nice-to-use API. All those list-like things are actual Lists. Futures and Streams are also baked into the language. Normalization also isn't needed anymore.

> Apple, FF, MS are all against Dart.

Oliver Hunt isn't Apple. Brendan Eich isn't Mozilla. He doesn't even work for Mozilla anymore.

Mircosoft's JavaScript team also isn't equivalent with Microsoft itself. It also would be pretty weird for them to endorse Dart.

They have TypeScript, which sells Visual Studio, which sells Windows licenses, which sells the Microsoft ecosystem, which sells Windows Server licenses.

That's how they operate and there is nothing wrong with that, really. If you have a large existing JavaScript codebase which you want to keep, TypeScript is a pretty good choice.
Probably because general intelligence is "the best-established, most predictive, most heritable mental trait ever discovered in psychology." (Geoffrey Miller, Spent)
Have you considered setting a user agent other than Python Requests default? Probably not necessary, but good practice. Also, ironically, the app is not available on any of my devices.
I dont find it very accurate to adjust an hard score based on other assessments, presumably those test arent IQ scores. Did every country take the same test?
Small engines are irrelevant to grid power regardless, even if you get all of your electricity from fossil fuels. Power plant generators are completely different beasts, as the tradeoffs change considerably as you scale up.
I have separate google identities because I have a gmail account and my work uses Google Apps; I also have another account that I use for YouTube which I refuse to merge into my gmail account (if that's even possible).

I don't want to merge them together because they're separate accounts for separate purposes, but that's a difficult position to keep because of how absurdly difficult it can be to deal with multiple google accounts. Even though Google supports multiple accounts, their base assumption is that people have exactly one Google account which is exactly one identity which incorporates all of one person.

I've been unable to accept calendar invites sent to my work account because Google Calendar insisted on opening to my personal account when I clicked the link; even if I opened my work calendar using the drop-down, and closed the other window, the link would only open to my personal calendar and then tell me 'you don't have access to this calendar'.

It feels as though the parent poster was asking for Google to understand that one person can have multiple accounts, rather than assuming a 1:1 mapping between the two and behaving as such.
Skills only but no Degree
Is it possible to work without a degree? I've been working on a company for 3 years using Ruby on Rails. Now I'm looking for a job remote/ online.
You've just discovered building a bridge is unlike writing software.

Maybe someone will expend the effort to reverse that, making fun of bridge engineers trying to build a smartphone app with a failure tolerant, scalable backend, or something, but I'm not a comedian. I just write software.
Many new paradigms can be defined not by what they add, but what they take away.

The most obvious example is GOTO. It's a very powerful tool. A GOTO can do anything you can accomplish with an IF, WHILE, FOR, etc. yet we got rid of it because that incredible flexibility made it hard to reason about. The result was structured programming.

Object orientation can also be looked at as the removal of shared global state. There are multiple definitions of OO, but I like Alan Kay's definition best. He said the two primary principles are encapsulation and message passing. Encapsulation is obviously the one I'm touching on here. Some people include class hierarchies and open recursion in their definition of OO, and those certainly do constitute new functionality, but as I said, I prefer Alan Kay's definition.

Functional programming can be looked at as the removal of mutation. Where once we could create side-effects whenever we pleased, FP tells us that we probably shouldn't. Removing mutation makes it easier to reason about our programs, just like removing GOTO.

Haskell goes even further and removes implicit ordering of execution. Because the language is lazy it probably won't execute your code in the sequence you were expecting. Due to immutability and referential transparency everything works out just fine anyway. This makes certain kinds of algorithm much more performant (Huett zippers come to mind).

Instead of asking what new features we can add to languages, perhaps we should ask what else can be taken away.
But at least you dont have to write the tests that were rendered useless due to changing requirements.
It's simple: A car needs a source of energy. Then a 15 gallon tank of gasoline is just super tough to beat. Can beat it a little with a 15 gallon tank of Diesel oil. A few hundred pounds of batteries with a charge from the electric grid? You gotta be kidding.

Now, what to do with that liquid in that 15 gallon tank is a question, but the basic fact remains. Did I mention that that fact is simple? A car needs energy, and that 15 gallon tank is tough to beat. For the rest, we have a lot of possibilities, but that 15 gallon tank is tough to beat.
> In general, lower courts are still going to follow the superior courts

That's true. Until its not.

> or they will simply be overturned on appeal

Unless its an entirely different chamber. Is any given chamber even static in composition, or is it dynamic? I admit I don't know (i.e. I have no clue) how appellate panels are chosen. But if even a given appellate chamber is never static, then it may or may not be overturned, depending on that chamber's judges' and whether their opinions are different from a previous composition of the chamber.

> if a judgement is reversed by an appeals court

That's a very big "if" given that there is no stare decisis and a possibly dynamic appellate court composition.

> there is actually relatively little difference

Stare decisis forms after a single opinion. "Constant jurisprudence" forms after ... it forms after judges say it forms. Or something.

> could not possibly be binding outside its region even in a common law country

In California and New York at least (thats like 60 million people) there is no regional appeals court. The appeals court forms a single court, and its opinions are binding throughout the state. California and New York are themselves sovereign states, not regions. (Which is why you can, e.g., commit treason against a state. They also have their own militaries, e.g., "state defense forces", separate from the so-called National Guard.)

> Lay justices and jurors in Austria are selected randomly from the electoral register.

I did not know that. Now I'm glad I brought it up. Thank you. Sweden and Germany could learn something there IMO.
We spent a lot of time talking with rust devs on #rust, which is full of extremely helpful, extremely nice people who help you as much as possible.

Usually we woke up in the morning to everything broken due to changes in the nightly, but it's pretty easy to grep for [breaking change] and work from there. Most changes take moments to fix.
European Ridesharing Blablacar raises $100M led by Index Ventures
We see these changes every other day or so, but they're usually small syntax changes, and the community's pretty quick to update.

A good way to stay up-to-date is always This Week In Rust, or /r/rust.
People are aware that they may draw law enforcement attention, but many believe the issue will be cleared up when they politely explain how Tor works and that it's not really their fault that someone did something naughty through their endpoint. Unfortunately, sometimes it's not that simple.

It should be underscored that unless you have access to unlimited good, free legal help, you probably have no business running an exit node, and you should have that good, free lawyer make sure that the laws in your jurisdiction are Tor-friendly, as some places have been passing laws that hold the IP's owner responsible for all activity, regardless of excuses ("open wifi" doesn't fly either).

The sad part is that this means Tor exit nodes will continue to be primarily the province of large organizations who are more likely to be in cahoots with ruling authorities, which weakens the strength of the network for everyone.
I enjoy cold showers from time to time. But as someone who just moved in to a new home and forgot to schedule gas turn on in advance leaving us without hot water, a true "ice cold" shower leaves you literally breathless.

I've never felt my body react in such a way.
Perhaps the decay times on the trails is too long, but I can't really detect any patterns here, other than that people seem to walk, run, cycle and drive down roads. After a few mins, all this seems to do is highlight the road structure of a city. A shorter trail decay would highlight the people commuting and show activity for transport type by time of day.

Another interesting metric would be to adjust brightness based on length of journey.
Japanese stem-cell 'breakthrough' findings retracted
Did you go to a public school? Most tests I remember taking were the ITBS, PSAT, SAT and ACT.

http://en.wikipedia.org/wiki/List_of_standardized_tests_in_t...
> It's unlikely that 1) there are significant differences in intelligence between different continents

Given the known individual drivers of IQ, which are things not equal by continent, that seems dubious.

> 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).

Yeah, but the 100 IQ average wasn't set globally in the first place, its the average of the norming sample of the test, and most (all) of the test were developed in the first world with norming samples drawn from there.

Western Europe being a hair below first-world average (and Eastern europe farther below it) in the first world isn't at all surprising.
Excellent critique, Sir.
> Even if the majority wants to suppress minority dissent (or do worse things to minorities), it's not the right thing to do.

Let me follow your definition, say, in the case of Ancient Rome. There is a minority of masters and a majority of slaves. Minority of masters has a dissent (from the slave's point of view, of course) that slaves should stay slaves. So, according to you, it is wrong for them to fight for their freedom, right?
It turns out that calling things "facts" does not, unfortunately, make them facts.

To go beyond the armchair, try looking at, for example,
http://books.google.ca/books?id=jj4tKn9gb1IC&pg=PT172
That happens a lot after you incorporate a company here. The day after you fill the forms to create a company you start to receive these bills pretending to be something you have to pay. From associations, unions and similars.

The point is that in this particular case it is a "legal scam". There is nothing illegal to pay to your company be part of an association or union. So they send you a "boleto" that looks like something official, and if you don't consult your accountant, you will think you should pay. Even your company's address is open to the public when you incorporate. You pay because at least one of these boletos you actually must pay, it is a municipal fee (an inspection fee, even though the municipality will never actually inspect your office, unles there is some complaint). Also there is some mandatory payment to unions, but only when you hire an employee.

Of course these "associations and unions" don't actually do anything for you. They just exist to get money from entrepreneurs based on all the misinformation and bureaucracy that exists to open a company in Brazil.
Been in a few orgs. I now think "no rewrites" is a good policy for all but a few orgs. Few orgs have the (1) business luxury (time and money) or, (2) the caliber of people and, (3) team motivation (few teams people even want to improve things) to pull off rewrites.

The best orgs do a rewrite usually in the face of sea changes to the technology stack (e.g., containers vs. VMs) or business use (number of users is now 10X of original etc). Bringing key infrastructure in-house is also a decent reason, but the benefit of building expertise in an existing ecosystem vs. full rewrite should be carefully weighed.

You probably have read spolsky's article. It's quite dated by now, but it's still more right than wrong. http://www.joelonsoftware.com/articles/fog0000000069.html
Hey D-Train,

I'm on the Kickdrop team. We will always be releasing free drops for our users. That's something that will never change. From time to time, we will release premium (paid) drops. These will be drops that we've put a little more sweat into, and will be the best content we can provide. Thanks for asking!
I see it as an issue of supply and demand.

There's a huge demand for silver bullets in this industry.

An endless supply of naive, impressionable kids willing to listen to people rant about how everything sucks and X will change the world.

So no surprise, those who rant gain popularity and visibility and here we are.
However nothing says you must sit on the sidelines. A year traveling the world sells well, I can say from personal experience. A year doing volunteer work, or coding OS Software would likely sell better. Or you could start a small biz. There is lots to do, and most of it sells just fine.
Given that the DOJ harnesses people engaged in legal activities under the guise of operation choke point that is of relatively little relevance.
Founders AMA about Distributed Teams – Today 10:00 PDT
From his blog:
"It’s now finally over and besides the cost i CAN live with this sentence, it does not show up in police registers and won’t be an issue for work and alike in the future."
Why is multi-sig in quotes? Is Coinbase providing its users with a '3' address that is on-block chain, or does this "multi-sig" approach still reside entirely off-block chain.

Edit: I presume that Coinbase still holds on to all of the private keys for Vault accounts. Can someone verify otherwise?
The Quest to Understand Feminism Through 'World of Warcraft'
This would be why you wouldn't run 2 pistons facing each other sharing common valve and ignition set to balance?
What do you mean by "snippets" exactly?
Stop The Bullsh** Online Jobs
Hey! Are you tired of the bullsh jobs online?
Be apart of my business and there will be no Hype
There is nothing to loose because it's free
No fees No Monthly payments
Get paid daily 20-50 an hour
Click link and add name and email and then watch awesome video that explains the business
Kennedy v UK [1] is of relevance here. In that case, the European Court of Human Rights held that an individual did not necessarily need to prove that his communications had been intercepted in order to complain that a law that permitted such interception was in contravention of Article 8 of the European Convention on Human Rights (i.e. the right to privacy).

However, the Court went on to deny Kennedy's complaint that the UK's Regulation of Investigatory Powers Act (RIPA) violates Article 8 because it was proportionate and fell under the exclusion for "national security, public safety or the economic well-being of the country, [and] for the prevention of disorder or crime". [2]

Also, if you read Theresa May's recent speech on the topic [3], you'll notice that she spends a lot of time talking about warrant approvals, oversight and so on. That is all about safeguards and proportionality, and is taken into account by the Court when they are considering whether a particular law contravenes Article 8.

1: http://hudoc.echr.coe.int/sites/eng/pages/search.aspx?i=001-...

2: http://en.wikipedia.org/wiki/Article_8_of_the_European_Conve...

3: https://www.gov.uk/government/speeches/home-secretarys-defen...
True, amongst the examples given they all score more or less the same to me (and it's a short example)

A lot on readability stands on the expectations of the reader (and the idioms of the language) as well. For a lisp programmer (* (hours 3600)) may be easier to read for example.

Now I can take that example and turn into

ttscds = x * (36 * 10 * 10);

And we know this is less readable, the intentions are hidden and nobody unfamiliar with the code knows what's going on.
There is also a petition at http://wh.gov/lF14K
5 airbnb horror stories that will keep insurers up
(0.2 millijoules * 6 * 3000) / minute = 0.06 watts

So yea, not much...