skysight-inc/HackerNews huggingface dataset:
"Safe by default" is not a revolutionary concept. That's the reason I won't touch Mongo - not because of any specific bug or failing, but because it was designed from the outset without a consideration for what I consider a pretty fundamental engineering principle.
Just guessing, but a battery inside a computer/phone, even if turned off is probably still powering at the very least a few wires. Even if they don't go anywhere (i.e. they are not connected anywhere else) they probably are slowly eating away the battery. On the other hand, I don't know how modern computers/phones turn off, but I doubt they involve a full circuit cut (i.e. there is no big red button making a click sound and closing all wires coming out of the battery)
I think Sverigedemokraterna's support arise from the fact that the issue of immigration is generally seen as taboo in public Swedish debate, so the political parties at best avoid it. It also makes sense for this reason, that Sweden has a far more hardcore and aggressive extreme right scene than Denmark has (even if not more hardcore or aggressive, it is a lot larger).

Because in Denmark, immigration can be part of public debate without being shunned, while in Sweden, it's hard to get any sort of ground in this debate without being labelled a racist.

So now, some of them are trying to be more 'reasonable' about it with the party Sverigedemokraterna. I assume because they haven't made any progress publicly in Sweden by just being seen as extremists. And more and more figures are beginning to tell Swedes that immigration is not an issue you can ignore, thus Sverigedemokraterna's support is rising, because it's the only party that wants to talk about it.

But I am confident, that most of its votes are 'protest votes', to get the other parties to talk about it.
> Earning more money doesn’t increase satisfaction with life. It just compensates for the lack of satisfaction (“Utility” in the formula) caused by longer commutes.

I don't understand this line. How can money compensate for a loss of utility without increasing utility? An earlier quote from the paper asks "how much additional income would a commuter have to earn in order to be as well off as somebody who does not commute?", and the phrase "as well off" implies to me that the person is as satisfied.

Apart from the "40% of salary" detail, it seems to me that The Guardian got it right.
Top Start-ups Fails
So eh, what's interesting about this? Did they get funding? Are they using an interesting business model? Are they using a cool new technology? Is there something we can learn from them?

All I see is the announcement of a sequel to a modern popular game, what's going on?
That might just be an age thing: older languages seem particularly bad at this. Lisp has its cars and its cdrs, but C is even worse with ioctl, atoi, fputc, strxfrm and so on.

Assembly is worse yet, and mixing C with assembly is basically a path to Lovecraftian madness: I really hate the way intrinsics look. Here's a real snippet from StackOverflow:

a_i = __mm_load_ps(&A[n*i+k]);
b_i = __mm_load_ps(&B[n*k+j]);
c_i = __mm_load_ps(&C[n*i+j]);

__m128d tmp1 = __mm_mul_ps(a_i,b_i);
__m128d tmp2 = __mm_hadd_ps(tmp1,tmp1);
__m128d tmp3 = __mm_add_ps(tmp2,tmp3);
__mm_store_ps(&C[n*i+j], tmp3)

You can also go too far in the other direction: see Java and especially Objective C.
Like many vocal HFT critics, he was trying to play the same game, and was outcompeted.
I still remember when the iPhone was first available in Japan. They had to change a lot just to accommodate the functions.

For example Japan does not use SMS. Only Softbank uses SMS which is why they are the most popular for foreigners who try to contact overseas. Even then each SMS overseas costs an average of 105yen (US$1) each. Or with AU/KDDI which only allows SMS to same network phones.

Japan uses mobile email which is still widely used and Softbank as a result had to modify iPhone standard systems to allow this.

Saying this my point is that Japan's problem lies with the fact that their technology is in it's own universe and not available outside. Which is a good thing and a bad thing. For example, TVs in Japan cannot be used overseas, their phone systems use WCDMA which cannot be used overseas. When Japan was the centre of the technology world this was good because the world had to try to follow them. Now that they aren't they have to be able to adapt so that their technology legacy will survive the future changes from overseas.

Here's hoping that the turn in people's thinking might help Japan get out of their technology downslide.
Is it not the case that back in the day MySQL was better suited to running small to medium website backends with simple schemas out of the box? I know this hasn't been the case for a long time but I think it might be a contributing factor to MySQL's success.
> the five countries with the highest prison population are the US, China, Russia, Brazil and India.

Blimey, who'd have thought the countries with some of the highest population will have the most inmates. Then it continues with the per capita numbers which are a much better comparison but conveniently leaves out the per capita number for Sweden which according to the numbers in the articles is around 50 -- and India is 30! Not a nice/relevant comparison.

According to Wikipedia, apparently based on the same list just at a different rate http://en.wikipedia.org/wiki/List_of_countries_by_incarcerat... India is fact one of the lowest per capita.
Torn 7 minutes ago | link
Gotta love mods changing the title, and rendering most of the comments confusing

OP is a mod? https://news.ycombinator.com/item?id=6717023
IMHO, it's well deserved. Start by stop having those $, @, % identifiers for variables and then we 'll talk again about how many more daemons you need to impale.
> I also hate this constant attributing of violent crime to poverty.

This seems like an empirical question, not something to like or hate. Does poverty drive crime? Is reducing poverty effective in reducing crime? If yes, then I would say that is a good place for policies to focus.

I know more about Denmark (where I live) than Sweden, but here poor areas do seem to be by far the source of most crime, and that applies to both immigrants and non-immigrants who live there. The social problems in the different communities manifest somewhat differently, but both native & immigrant communities in the "bad" parts of Copenhagen have social problems. The biggest difference seems to just be that they join different gangs: ethnic Danes in areas with high degrees of social problems get involved in mainly-Danish biker gangs, while immigrants with social problems get involved in mainly-immigrant gangs. A large feature of Copenhagen crime in recent years has been the Danish and immigrant gangs fighting for control of the drug market. (Prior to that, the Danish gangs fought among themselves for it, so immigrants didn't start this particular problem: http://en.wikipedia.org/wiki/Great_Nordic_Biker_War)
I don't think the actual order type was a secret, just that some HFT firms figured out a way to use it which gave them an advantage over other HFT firms. The firms who didn't understand it lost out.
Auto Add & Refresh EC2 Instances to Your Hosts File
d-intl.com is run by a bunch of paranoid and outright crazy neo-fascist. It's extremely racist and have close ties to the Norwegian terrorist Ander Bering Breivik as well as to the violent English Defence League(EDL). It's not by any means a decent source for anything.
A good friend of mine explained his giving in this way:

He sets aside some amount of his income (say 10%) for giving. Some percentage of that (5%) is allocated to organizations that will receive money each month/quarter/year. The remaining 5% is donated as needs arise (disaster relief, meeting someone who needs financial help, etc). At the end of the year, if any of that 5% remains, it is given away to one of the other organizations he supports.

So, this sort of planned/unplanned giving allows you to distribute your funds across organizations (those that provide acute care and those attempting to solve chronic problems.
What makes you think Bitcoin is overwhelmingly popular among techies? I can only name 3 techie friends who have ever actually used Bitcoin at any point in their lives, and I do not think any of them are still using it.
Bit of a flip-flop on his part then?
In the US, theft and robbery are classified separately. One of the distinguishing characteristics is that robbery generally involves force or the threat of force to take something.
I don't know about you, but I find those debate a little depressing. A language will always have a certain flavour and angle to how it outputs or executes machine code. A language will always abstract thing so it can be better understood by a human brain.

There will always be a problem about orienting a language in a certain way, because there are not such thing as perfect when you design something, there are only compromises. A language orientation is a choice among many, and that will only better fit certain cases more than other.

Just be thankful to have working languages, and if you're not, just try to make one what either fit what you want, or try to have both OOP and functional features. I can't understand how people can actually criticize programming styles and language without trying to understand why such or such language is already great.

And by the way, you can't really weigh how a language is good or not, it's like benchmarking english or mandarin or spanish or french.

I'd just like to know how functionnal programming and OOP solve certain similar problems, and when it's better with one or another. Because let's be honest, programming style have nothing to do with theory, you can only judge when you have to engineer something.
Ahh! It's nice to see VHS mentioned on HN.

I've only been once when I was visiting Vancouver for the summer but I had a great time and everyone was very friendly. After numerous beers, spilling a beer on my laptop (thank you Thinkpad water-resistant keyboards!), and having some very good discussions on micro-controllers I ended up stay there until 4am helping setup the network in the new space. All in all I had a great time!

I definitely suggest to anyone interested to check it out. The best thing you can bring with you is an open and curious mind!
Love the fact that he can poke fun at himself!
Android vs. iOS touch target
I think FTL captures the spirit of "Star Fleet Battles" and "Traveller" ship-boarding combat without the extreme crunchiness that the pen-and-paper RPGs were known for.

However nothing beats the Escape Velocity series. The writing, the "asteroids-like" space combat, the trading missions. It's what I wished EVE Online was.

https://en.wikipedia.org/wiki/Escape_Velocity_%28video_game%...
Shall "multiplateform javascript [code]" be suitable here? Looks like this is all it's about: having a single js code generating the same results, with no dependance on the plateform.
Missed the party, I'm getting a 503 now.
Just because crime is up doesnt mean crimes that you go for prison for are up. Especially since they have become way more lenient with the sentences the past years.
Google Glass and Wearables Hackathon in London
> Does not compute. I'm fairly sure you're a programmer mate.

I should clarify: it's not my day job. Most of my "programming" experience has been hacking small Python things together. I do understand web security though, and a CSRF package certainly isn't a massive undertaking (it does require rigor, though).
The ultimate validation
> I don't think the article condemns OOP in any way except when it becomes a religious dogma that everything needs to be an object, as it is in Java.

But Java doesn't make everything an object. The obvious one is that 'primitive types' aren't objects (int, bool, float, etc.), but also Java has hard-wired control structures (for, while, if, try, etc.) which aren't OO (compare to Smalltalk, for example; where "ifTrue" is a method of boolean objects, "each" is a method of collection objects and "times" is a method of number objects). Also its classes and methods aren't objects, like they are in Smalltalk, Python, etc.

I would argue that that Python's first-class classes and first-class functions/methods makes it much more 'religiously OO' than Java.

Just because all code must be in a class, doesn't mean that everything in Java is an object. I don't know why people keep saying that.
The "as well off" phrase refers to "being equally compensated". So the absolute utility "number" remains the same. In order for that to happen, a decrease in the contribution that commute has on utility, needs to be compensated for by an increase in the contribution that one of the other factors (salary or rent) has.
That's not true. There is a vivid debate around immigration and asylum issues in both old fashioned- and social media.

Sverigedemokraterna is big because a large slew of the Swedish population is slanting toward racism and are prone to accept simple "solutions".
> for Groovy couldn't they just bundle the tooling to turn the runtime-generated bytecode into Dalvik bytecode?

There's no "just" when it comes to the Codehaus implementation of the Groovy Language. According to the Codehaus Groovy project manager [1], "Groovy is not able to run properly on Google's Android mobile platform ... (It takes) 20 seconds to start up a simple Hello World".

BTW, that webpage was seeking students to do work making Groovy run on Android, but Google didn't accept that project, or any projects related to Groovy [2], perhaps because no students were interested or maybe because of Codehaus's history of mishandling GSoC projects. The last Groovy project ever accepted was one in 2011 rewriting Groovy's antiquated parser in Antlr 3.0. The project failed and Google only paid out half the project money.

[1] http://groovy.codehaus.org/GSoC+2013

[2] http://www.google-melange.com/gsoc/projects/list/google/gsoc...
Thats a bit of a random litmus test ;D

I would hope we would have gone a bit further than the Renaissance era in how we define professional fields. Would you also call Leonardo da Vinci a doctor, since he did breakthrough anatomical work?

In that same vein, would you call a random person digging up graves and dissecting corpses a doctor today? Would you let them operate on you?
10 Best Startup and Tech Offices in New York City
If I were tasked to implement this, I would arrange for the phone to appear to be powered down when in fact is is not, and for malware to do this when shutting down from inside the normal OS. If you "powered off" from software (by shutting down from a menu or holding the power down until the screen goes blank, but not the many seconds it takes to trigger a more hardware-level hard power off), then I would make the screen go blank and make all other inputs unresponsive, except for the normal power on input.

For bonus points, I would arrange for the baseband to transmit only very minimally as necessary, so it isn't noisily detectable from RF pickups such as nearby speakers.

The technical details would get simplified, and management would hear that I can track a "powered-down" phone.
Big-name games always get cracked and pirated, DRM or no. Indie not so much.
>År 2012 konstaterades 68 fall av dödligt våld i Sverige, vilket är en minskning jämfört med år 2011, då 81 fall konstaterades. Nivån för 2012 är den lägsta noteringen under de senaste tio åren.

>Antalet fall av dödligt våld uppvisar relativt stora upp- och nedgångar mellan olika år och har den senaste tioårsperioden fluktuerat mellan 68 och 107 fall årligen.

>I ett längre perspektiv uppvisar det dödliga våldet en nedåtgående utveckling.

Source: http://www.bra.se/bra/brott--statistik/mord-och-drap.html

Sorry for the Swedish but basically: Long term the deadly violence has had a downwards trend.

Where are your statistics that they are rising?
Andrew Huszar: Confessions of a Quantitative Easer
"one could easily blacklist stolen bitcoins"

Who will create this blacklist?

"I guess you can't have anonymity and accountability..."

Actually, you can:

http://link.springer.com/chapter/10.1007%2F0-387-34799-2_25
Onchannel.Net | Watch Complete Movies Online
Watch movies online from our complete movies collection database,official hd trailers, full TV shows series,television programs, live streaming tv,
World renowned heart surgeon speaks out on what really causes heart disease
You must be doing something wrong. I beat the game every single time on easy. The only ship I've had trouble with is the Mantis cruiser. I also beat it 50% of the time on Normal (the hardest possible option).
I wish more companies did this. Especially in Sweden, at least would lessen the burden for my partner to get a job. Speaks Mandarin and English fluently. Even jobs that could be done in English requires Swedish.
Edit: I found this interesting piece which details how Steve Padilla has been doing the drawings for 40 years!

http://www.latimes.com/local/columnone/la-me-c1-mt-wilson-su...

He says: he likes the tradition, this convergence of science and art.

"The value," he says, "is not so much in the individual achievement but in maintaining the daily record."

However, the telescope's annual budget of $250,000, cobbled together with grants from NASA and the National Science Foundation, runs out in the spring, and Ulrich says odds of getting more money from NASA are long.

Edit - previous speculation I wrote: Hmmm.. maybe Steve Padilla wrote it as 12-11-2013 (like we write it in South America) instead of 11-12-2013 like in the U.S. ?
Well thats just like your opinion, and not true at all.

The problem in Sweden is the same as in Denmark only worse. The media is controlled by leftists to a degree that almost no rightwing views are ever presented.

In Denmark 80% of journalists vote to the left, and we only have one or two papers who present the 55% of the population who vote on the right wing. The same is true in Sweden only worse.
When my car was shipped cross country, the trucker demanded a cash payment. That was $800 -- not massive but quite a lot of cash to hand over. I have also heard of people spending thousands of dollars in cash on a mattress or on appliances.
The Planned Obsolescence of Consumer Technology
Starting an international SaaS company is a beast of an undertaking, kudos.
jokes. lol
Thanks, ArabG. I'll go ahead and give those sites a look.
It´s the supreme court that is not using the whole punishment scale and indirectly emptying the prisons. For Sweds: http://www.fokus.se/issues/2013-43/
This ignores the rise of effect systems, which take monadic effect-handling and place it into the realm of static analysis, where it belongs.

Disciple is the future.
The When/Then Mock Cookbook
But: http://www.fokus.se/issues/2013-43/
How so? Its an EU directive.
As someone who works at a startup with 3 MIT graduates (CEO and CTO among them), I'm going to say fun read, but not really grounded in reality. We have way more marketing than engineering and no phds. I guess we run like the 'Stanford' startup.

The difference is more of a function of the nature of business being built.

Some fields require a lot of investment to come up with the product to sell. I worked at IBM research years back, They spend a lot of money on a lot of things that didn't pan out to get the profitable invention. Labs are expensive.
> The fact that scientists seem to be baffled

You might be reading more into science reporting than you should. 'Hm, that's odd' is reported as 'baffled'.

People that actually work in the field do not believe they know it all as you suggest.
Functional programming wouldn't be useful if side-effects didn't exist. So, arguing that functional programming isn't useful because:

> There exists things that are not pure. Side-effects are very real.

Is nonsensical.
Need to increase the perceived productivity
This bet was attacked by feminists (rightly? or too sensitive?) : the idea of it being a humiliating punishment for a respectable businessman having to dress up like a woman and serve other men.

So it was my understanding that Virgin backed away from this bet and tried to downplay it.

I'm a bit surprised by this picture cropping up on the website. Am I being hypersensitive? No-one else seems to have picked up on this aspect in the comments yet.

edit: to clarify, here's the comment threads on a jezebel, a website with a significantly more active female membership
http://jezebel.com/richard-branson-serves-juice-on-the-airli...

Some examples -
It's so disrespectful to their cabin crew (particularly female cabin crew, and also women in general) that they're dressing up as them for a laugh.

But being a woman is a punchline, right? Because being female is about as low, ridiculous and debased as a person can get, riiiiight?
I'm glad I'm not the only one who had that reaction; I was too afraid to say anything lest I be accused of having no sense of humour

So I don't think that I'm making this up, or alone in thinking this. There's definitely a discussion to be had.
So you think it's perfectly fine to refuse to hire somebody just because of their ethnicity? Wow.

Also, just because you can find one right wing economist supporting your view doesn't mean you're right. There's an overwhelming amount of evidence supporting the fact that inequality leads to higher crime rates.

I'm sort of starting to think that you're really just trolling, seeing how Ted Kaczynski is a convicted serial killer with pretty crazy idea. Not someone I'd use to back my ideas in a discussion. I guess you have to use whatever you can get your hands on.
Looks fine to me in the Xcode iOS simulator; maybe the text size is a bit larger than necessary, but thats about it.
I actually liked the article, thought it was interesting. But the title is a complete clickbait. It does not even says that "you should never use mongodb", it points some situations where MongoDB is a good match. I know a title "Think well if mongodb applies to your case" is not attractive, but it is less sensationalist.
how about Faraday cage for your phone?
Next time you call the police. Please recite that little speech to the responding officer.
UK blocks Europe text on privacy - or why your government won't help
Trying to buzz one up : http://www.bizappsbuzz.com
Bill Gates: Here's My Plan to Improve Our World — And How You Can Help
What other options are there?

I am not being snarky. In my head any and all SaaS plays are inherently international. Perhaps that's because I am Slovenian and any endeavour that is not international by default is doomed from the get go.

I could not imagine a SaaS story that is viable in mid to long term without inherent internationalization. Except perhaps US based companies, however there WILL be trouble as soon as you try to enter European market if you assume that US is the world.
Great insight/writeup but the last bit gets to me:

Ultimately, password hints are evil and they add nothing to an online system that can’t be achieved with a secure password reset feature.

It's a classic case of someone criticizing one important feature without suggesting viable alternatives. He might as well have said,

Gasoline engines are evil and they add nothing to a world that can't be achieved with a more efficient propellant.

Yeah, okay - but what's the more efficient propellant?!?!

Password hints aren't "evil" just because (a) Adobe happened to store theirs in plain text, and (b) some users do use seriously identifying information in theirs. Password hints make it fast and easy for an actual user who genuinely needs to reset their password to be able to do so quickly and efficiently. What's the secure password reset feature that Troy alludes to? I missed it.
Indeed a big loss for Google, on Maps front....but they still catching up with rising number of Android users...