skysight-inc/HackerNews huggingface dataset:
>I think you forgot to turn on your optimizer.

I did not. I used Pelles C to compile it (with the optimizer turned on). I am not surprised that GCC managed to eliminate the pointless loop entirely in this situation. In fact I was happy that both Pelles C and LuaJIT did not realize that the whole loop was pointless and thus I did not have to come up with a more complex example.

The primary point of this was to show that JIT compilers can optimize away hash table access and dynamic typing in hot loops, not a code generation competition between LuaJIT and GCC.

I am a pretty big LuaJIT fanboy and not even I would claim that Lua compiled with LuaJIT can compete against C compiled by current versions of GCC with all optimizations turned on, at least not in most real-world cases. However, it does get amazingly close, most of the time within an order of magnitude, which means that I personally do not need to use C anymore.
Neat idea. Probably would improve if you go with click-hold rather than tap-tap-tap-tap-tap, or at least enable the ability. Also, needs more Mario pipes :)
Starbucks accused of handing over customer data to the NSA
Wasting time reminds me of a positive story about cops: At 3am, some guys thew a hammer through my driver-side window and tried to take my car to go street racing (it looked faster than it was...). The idiots jammed the handbrake on and couldn't release it. The endless revving of the engine woke up my housemate, who scared them off, then called the cops, then woke me up.

I was annoyed. Great, now we have to wait an hour for the cops to show up, and they're going to be pissed off that they had to leave the comfortable station to waste time dealing with something that they can't do anything about. Broken sleep, broken window, and now I have to manage an interaction with grumpy police.

The cops that arrived showed empathy. Yes, they couldn't do anything about it, but their underlying tone was "this was a shitty thing to have happened" rather than "why the fuck are you wasting our time". I was so taken aback by the shift in tone that I actually said the line, corny as it is, "I've lived here for 11 years and this is the first time I've had a positive experience with the Fitzroy police"

The cop searching with a torch behind my car doubled over in silent laughter while the one in front of me smirked "Actually, we're from Collingwood..."
I know it's just 2 photos, but that body language serves the story well. It's very threatening. I know glasses are needed to look after eyes, but when talking with someone you don't know, take them off. Especially when in a position of authority.
Sure, but we always had the option to switch off bound checking on the code spots where it really made a difference.
such a creative and well thought out/researched post. definitely a tad over my head from a technical standpoint but conceptually found this very interesting and would love to see more.
For a real treat, try Desert Bus[1]. The scoring works like soccer: 1 point and you've basically won.

[1] http://www.newyorker.com/online/blogs/elements/2013/07/the-w...
Online identity – My Body is My Data
Anybody knows how to use this on instagram photos?
> I think that's hugely dependent on the country

Quite common in Spain, France and Germany to have code in local language, based on my experience working in these countries.

I already worked as code translator a few times, because of it.

Sometimes it helps to be a polyglot of human languages as well. :)
The fact that this is self funded is extraordinary
"The developer has not uploaded a game yet..." are we overloading the server?
Still can't believe that they rebranded buy.com to rakuten. I get it that they have a large international brand, but in the US it still seems spammy and weird. I still need to double check how to spell it everytime it comes up.
Anyone else getting "The developer has not uploaded a game yet..."?
Could RHIC Strangelets Spawn Doomsday?
Activists would flip their shit if Google started throwing their weight around in politics - "Is Google trying to buy your democracy?". And then the NIMBY crowd would swarm all over any proposed building.
Yes, now imagine a discussion thread on SO using multiple speakers from all Portuguese speaking countries.
Damn, that's a really cool easter egg, thanks for sharing.
I'm not the person you're replaying to and I don't think that someone should be arrested in the described situation, but I think the logic follows like this.

Police are the people we've put in charge with keeping public order. In the course of that job, they're going to arrest and / or detain people. We want them to always detain the right people, but even a very good police department will detain the wrong people sometimes. So, we give the authority to individual officers to detain people, and we don't second guess their decisions at the time.

Of course, this system only works when there is a functioning review system. Where the policed populace feels like their concerns are listened to by the authority figures. Where officers who misbehave, even by the loose standards of american police, are publicly disciplined. None of these things are common in modern america - but you can still believe in the right for police to detain people and push for better accountability.

I think you should consider how much you are reading into statements before you ascribe particular views to people. You both agree the author was treated deplorably, and you both agree (I assume) that police can do better.
The abuse and injustice is irrelevant at that point because it hasn't happened. What 'debt' is saying is that it was a stupid reaction to getting stopped for a red light violation, not that the abuse that followed was justified. Those two views are not contradictory.
So The Wire basically had it right, they really do just play a numbers game? Comforting.
That is true story.

Thankfully as of Vista, video drivers are back in userspace.

NT is still a microkernel by design. What Microsoft did was to keep the modules logically separated and use kernel internal RPC to switch between areas of responsibility in the kernel. Even if it looks like a monolithic one.

This is how hybrid mikrokernels tend to work.

Since Vista the support for user space drivers has been improved a lot.
The problem is, in most states its stupidly easy to get a TRO - you dont need proof, just fill out a form, indicate you feel threatened by someone, pay the fee, boom, TRO.
I'm sorry I misread what you were saying as the thread came from one saying government control of force is not rquired as an open market on force is an alternative. I find a libertarian position much more defensible (at least as something that doesn't implode) with a caveat that there is some form of monopoly on force that is external to the market.
It's not like that everywhere. I live in New Zealand, and have chatted with police at length even when they are there to get us to move along (as teenagers skating and bmxing). Yes, there are shameful episodes (Louise Nicholas, accidental shooting on Auckland motorway, Arthur Allan Thomas, et al), however by and large, it seems to mostly be the older generation of police that are/were involved. I have no fear of police here and I don't know anyone that does.
I love it when fellow font nerds come out and proclaim their love of typography with wild abandon. People who are into type are really into type.
I think it was launched back in Nov 2013 ! Anyways, nice product.
What's the review site? I won't tell.
Tom Perkins suggested that only taxpayers should have the right to vote
I don't know of anyone in the West who knows of Rakuten, let alone uses it. I can't imagine their presence outside of Japan is very large.

Rakuten has done a pretty poor job of expanding out of Japan. For example, there was their failed "Lekutian" Chinese venture, in partnership with Baidu. Then they purchased Kobo, a Canadian e-reader company, but it's gained no traction either.
Google Doodle for Valentines Day 2014 [video] • vlogg.com
I'm gonna point out, getting a TRO in many states is as easy as filling out a form, and paying a fee. All you need to do is state you feel threatened by someone.
The one about favourite programming languages had me laughing out loud. Keep them coming. :)
Some police departments wear them, and they dramatically (~80% iirc) reduce complaints / reports by citizens. You can only have video footage go missing so many times before it starts to get old for judges / the media / etc.
The introduction is in person, at the users group.

Yep, tutorials is a huge problem, but there are people working on that.
America has a population of 317+ million. Somewhere between .33% to .66% of America's population even bothered to click through to the day we fight back site. And we all know that is generous, a large portion of those visits were most likely from people outside of the US. Even if they were all from citizens of the US it's still a super tiny minority of people who even were aware of this. I wish it was better, but frankly it was the day that we didn't care.
The product is the set of automated controllers + code that ties everything together!
I've been closely watching them in Japan, and while they brand themselves as being an international company (using English internally), I've heard a lot of things about how it works internally... and... they're very Japanese at their core. I don't see them being successful outside of Japan anytime soon. Just like 99% of Japanese companies (the exceptions being B2B companies focusing on high quality manufacturing/engineering goods where they crush the foreign competition easily). (Disclaimer: I live in Japan)
A heretical thought I have had about Star Trek: the Federation has no need for Star Fleet. They're fantastically wealthy and cannot meaningfully gain from trade in physical items. They're not just singularity-esque wealthy relative to the present-day US, they're equally more secure. Nobody kills mass numbers of Federation citizens. That occasionally happens on poor planets elsewhere. Sucks but hey poverty sucks.

So why have a Star Fleet? Because Jean Luc Picard is a Federation citizen, and he wouldn't be happy as other than a starship captain. It's a galaxy-spanning Potempkin village to make him happy. Why would they do that? You're thinking like a poor person. Think like an unfathomably rich person. They do it because they can afford to. He might have had a cheaper hobby, like say watching classic TV shows, but the Federation is so wealthy that Starfleet and a TV set both round to zero.

This makes Star Fleet officers into in-universe Trekkies: a peculiar subculture of the Federation who are tolerated because despite their quirky hobbies and dress they're mostly harmless. Of course if you're immersed in the subculture, Picard looks like something of a big shot. We get that impression only because the camera is in the subculture, not in the wider Federation, which cares about the Final Frontier in the same way that the United States cares about the monarch butterfly: "We probably have somebody working on that, right? Bright postdoc somewhere? Good, good."
Quoted from that report: "AM/FM RADIO METHODOLOGY: Audience estimates for 48 large markets are based on
a panel of people who carry a portable device called PPM that passively detects exposure
to content that contains inaudible codes embedded within the program content. Audience
estimates from the balance of markets and counties in the US are based on surveys of
people who record their listening in a written diary for a week.

The estimates in this report are based on RADAR and the National Regional Database.
RADAR reports national network radio ratings covering the US using both PPM and Diary
measurement and it is based on a rolling one-year average of nearly 400,000 respondents
aged 12+ per year. The National Regional Database reports national and regional radio
ratings for individual radio stations using both PPM and Diary measurement. It is published
twice a year and the annual sample is more than 600,000 respondents aged 12+.

NOTES: Listening to HD radio broadcasts, Internet streams of AM/FM radio stations and
Satellite Radio is included the Persons Using Radio estimates in this report where the tuning
meets our reporting and crediting requirements. Monthly Time Spent Listening is derived
by multiplying the weekly time spent listening estimate by 4.33 (the average number of
weeks in a calendar month)."

So 90% of people in a panel with a PPM (http://en.wikipedia.org/wiki/Portable_People_Meter)
It looks like the company is founded by an Israeli founder but the company is incorporated in Cypress. Other than that, the crunchbase page is pretty empty:

http://www.crunchbase.com/company/viber-media

Does anyone know where their engineering team is? How much funding have they raised to date? I'm very curious about their story.
You apparently missed the part where he did all of that, and then ended up naked in solitary for 12 hours.
Google working on 10 gigabit Internet speeds
An interesting read, but there is one paragraph in particular that sounds a bit like an elaborate troll. Take a look at this:

The most notable is participatory economics, or parecon. This is a worthwhile attempt, I think, but to me it doesn’t quite pass the smell test of being sufficiently un-communist, what with its workers councils and lack of any sort of ruling class. All very un-American, [...]

Did the author just imply that they are in favor of having a ruling class? Then, just after that:

When you start thinking this way you start getting into the dodgy world of heterodox economics and, well, that’s a world of a lot of crackpots. Some good ideas, sure, but a lot of crackpots, and more to the point, it’s a world devoid of empirical research, which is a serious problem.

Uh yeah, go talk to a real heterodox economist, and they will explain to you how a lack of listening to real world data is actually the core problem of orthodox economics.

By the way: What's lacking in the initial brief discussion of alternative economic system is that aside from capitalism (i.e., firms are privately owned, compete in the market) and centrally planned communism (i.e., firms are state-owned and follow a central plan) there are also variants of market socialism (i.e., firms are typically state-owned and compete in the market).
I think this is a useless exercise. The economics of Star Trek won't be coherent, because it was pieced together through multiple series and some wishful thinking while retaining certain properties needed for the universe to be interesting. You can't have a TV show about drone ships flying around and beaming back exploration data via subspace.

Without Star Trek replicators in the foreseeable future, all the 3d printing and robots in the world will not give us unlimited amounts of basic materials needed. Concrete and glass might be virtually unlimited, but certain metals are definitely not. If those resource constraints lead to energy constraints, we'll have problems getting to any sort of proto-post-scarcity stage at current standards of living. AI might solve the problem, but the consequences of AI are unpredictable (singularity).

A few books on the subject worth mentioning, but not mentioned in the essay:

Doctorow - Down and Out in the Magic Kingdom (fiction, set in a speculative world where the economic system is based on units of social status called whuffies; everyone is born with some, if I recall right (nope, apparently I was wrong, it's not zero-sum), and from there it's a free market).

Rifkin - The End of Work (nonfiction, takes a look at how society might function as jobs gradually disappear due to technology).

Iain Banks's Culture universe is mentioned in the further reading section, but it's completely post-scarcity on planet and orbital scales, with AIs running everything. The aforementioned books are much closer to home.
Robot army 'to help alleviate future floods'
That movie was a real eye opener.

M: 10/10
> You have a right not to be threatened.

Didn't one of these protesters put up a webpage not too long ago, specifically targeting a Google Employee and showing up his house and where he lives, and using very strong language against him just because he's earning more than them and using the Google bus in their neighborhood ? If that's not a threat, I don't know what is.

> Protest is a vital part of democracy.

Blocking buses which are allowed to freely run on public streets is not a reasonable form of protest. The transportees are using these buses to go to work, their work is taxed and the taxes go back in one way or another to the community. They should be allowed to use them as freely as they can use their car. Unless you have a strange conception of Freedom.
Hahaha I didn't think about that but that would also be clever. Another possible explanation is the Eliza Protocol which I understand is involved in protein breakdown – not unlike the way his body breaks down. http://www.piercenet.com/method/overview-protein-protein-int...
The "I don't need facebook recording every website I go to" policy, the "twitter doesn't need to know I visited your blog" policy, etc etc.

More seriously, as others have said, the violation is of my privacy, not of some company's policy. Why did you jump to the other conclusion?

I don't actually have a EULA I make sites sign before I visit, but perhaps I should.
What are those "we" the author keeps talking about?

- "we" actually have the capacity

- "we" don't have the will

I have the will but don't have the capacity. I am assuming that author also has the will. So, again, who are those "we" that don't have the will? And how is the author planning to make them to go against their will to not have the will?
> I've been closely watching them in Japan, and while they brand themselves as being an international company (using English internally), I've heard a lot of things about how it works internally... and... they're very Japanese at their core.

The "Englishnization" program is a complete farce. Just because your company's "official" language is English doesn't mean that your workers will actually use the language to speak to one another on a daily basis when they share a native language that isn't English. And even if the majority of your workers are speaking to one another in English, the company culture isn't going to be suddenly Westernized. Just look at Indian multinationals - many (most?) of them use English internally, but there are still plenty of cultural barriers when working with Westerners.

> the exceptions being B2B companies focusing on high quality manufacturing/engineering goods where they crush the foreign competition easily

This is definitely true. "Monozukuri", regardless of its recent coinage, is an apt descriptor of the mindset of Japanese businesses. For Japanese business to thrive, they should focus (more) on integrating themselves into the manufacturing supply chains in China by providing "high quality manufacturing/engineering goods."
>An instance of namedtuple is actually the Correct (tm) solution.

Do you have an implementation to support that? Because a comment from TFA shows that's actually the worst idea in cpython.
http://lukauskas.co.uk/articles/2014/02/13/why-your-python-r...
I'm pretty sure that that's not the sense that "state" is being used here. He's talking about sovereign states; Alaska is subordinate to America (a sovereign state) which is evident in the fact that it was purchased by America.
Umm, documentary fallacy much? That and pretending like hundreds of scripts written by dozens of hands somehow cohere.

Oh, yes, and that thing about people not living according to economic theories, but having societies and cultures, only a slice of which economic theories try to capture. And while I'm at it, the fact that economic theories float above the actual behavior of humans and only thinly capture what they are up to, while floating below any serious philosophy that explain why people should or do anything in the first place.
The record field names collision issue has since been fixed in 4.0.1! That single issues was causing me to cling to SML, but now I'm happy that I get to join the growing OCaml community and benefit from the great mindshare and tooling. For example, the excellent Vim/Emacs plugin Merlin that provides in-editor type information and completion.
>Can you imagine all of the Java/C developers telling Ruby developers that they are idiots and don't know anything about programming ?

Unfortunately this seems to happen all the time.
So, economic models are more or less based on, or at least constrained by, human psychology, right? Communism and socialism don't work because peoples' brains aren't wired to do lots of work for little or no or unequal reward. This isn't restricted to just people, either, it's been observed in monkeys (http://news.nationalgeographic.com/news/2003/09/0917_030917_..., https://www.youtube.com/watch?v=lKhAd0Tyny0 -- it's a short video and pretty hilarious, worth a watch).

At the same time, capitalism has serious flaws, also exploited by human psychology. Capitalism rewards not just work and the investment of capital but also greed and cheating.

So, when looking for a new economic model, why not go back to psychology? Is it really true that most people don't want to work? There are some people who are content to receive a small stipend and spend their lives jut getting by without doing very much, but does that describe enough people to cause the collapse of a strong welfare society?

I think we probably are headed towards a post-scarcity (or low-scarcity) economy. Food costs as percentage of income in the U.S. have fallen quite a bit just in the last thirty years (http://www.businessweek.com/articles/2013-02-28/americas-shr...). People are already going to find that it takes less real effort to survive (http://www.economist.com/news/finance-and-economics/21596529..., posted earlier to HN: https://news.ycombinator.com/item?id=7235810). A different economic model seems inevitable.

Likewise, there will probably always be jobs that people don't want to do. Take oil rig work for example: hard, dangerous work, and it pays well, starting at the U.S. median wage for unskilled, inexperienced labor (http://money.cnn.com/2012/05/10/news/economy/oil_workers/) and going up from there.

As long as demand for this labor doesn't fall, if the available labor pool continues to shrink, those jobs should net greater incomes.

Maybe we'll see an economy, not quite like Star Trek's, but with a large leisure class and a well-paid class of plumbers, construction workers, mechanics, and technicians.

That would be kinda neat.
Why do people want to emulate Hemingway's style?

He's an awful writer. I couldn't stomach his writing style long enough to finish A Farewell to Arms when I was supposed to read it in high school.

If his work wasn't in a book that was professionally printed and bound, I'd have mistaken it for the scribblings of some amateur hack -- maybe one of the students who didn't make it into AP English, because the writing quality was kinda mediocre-to-poor.

Dickens, OTOH, is a master of language -- creating long and complex sentences, filled of description and analogy, which have a rich diversity of adjectives and adverbs, creating a descriptive, witty prose.

I've never understood why people like Hemingway.
Same here, but it is really easy to get rid of both the buttons and the privacy implications via AdBlock, Ghostery or NoScript.
Twitter pictures have been blocked in Venezuela
Yep. Aside from the fact that Star Trek economics make no sense simply because there have been several ideological shifts in its fundamental nature over the last 50 years, this is by far the best and most obvious answer to any question of why there are still people flying around in spaceships.

Post-scarcity doesn't mean post-danger. No one has to do luge in the Winter Olympics to survive, and not more than 4 years ago someone died doing it, and yet people continue to do so.