skysight-inc/HackerNews huggingface dataset:
Assassin’s Bullet 2012 is a viey nice movie.When an unknown vigilante begins killing high-priority terrorists from America’s Most Wanted list in Europe, a former FBI field agent (Christian Slater) is brought in by the US Ambassador
http://freemoviesite24.com/2012/10/assassin’s-bullet-2012-72...
If you specify a form's data as UTF-8, but every character the user types in happens to also occur in Latin-1, IE will disobey what you've set and send it in Latin-1 instead. In many locales -perhaps most- that's going to be a very common occurrence, since Latin-1 covers seven of Abram de Swann's twelve "supercentral languages" and three of the top ten languages by number of native speakers.

The point of the checkmark, therefore, is to put it in a hidden form field. That way, no matter what the user types, there will still be at least one non-Latin-1 character. That will force IE to use UTF-8, and you can check to make sure this actually happened by checking the value of the form field: if it's not set correctly, then you know there may be trouble.
I think you're looking too far into the word. In the real world, Reddit points are about as meaningful as how much Farmville cash or crops you have.
Cost of tools and services used developing Countly: $0
Parkinson's law of triviality.
Stains quite easily, though.
> Unless you use a language with cheap and fast green threads that multiplex on OS threads (like Haskell), you should use a number of threads that is roughly in the same order of magnitude as the number of CPU cores + hyper threads.

The optimal number of threads per core is workload and machine dependent, but rarely is that number 1 per hardware thread[1]. For maximum CPU utilization and computational efficiency, you need multiple software threads per hardware thread so that the OS always has a thread ready to go when another thread blocks or the CPU has an unused component. How much the threads block and what parts of the CPU the exercise is the workload-dependent part. Ideally, the number of threads would be a tunable performance parameter.

As an example of this, I recently wrote some math-heavy code to transform the cells of a matrix by a particular transfer function. Each cell calculation was independent, so I parallelized them. The most efficient parallelization for my 6-core AMD processor turned out to be 6 threads per core.

[1] The main exception I can think of is when running multiple applications in parallel that in turn parallelize their work.
Sorry to be so meta, but what on earth was the point of extracting programmers.stackexchange.com from stackoverflow.com? Is this why so many questions get closed as being "off topic" on stackoverflow now? </rant>
Getting Your Facebook Page On Your Website With Access Tokens
That was our use-case as well. And it works fine for this but just in the application layer. We are not using Mongo for data storage (at least we are not trusting it to hold it for long)
I just come for the tech. I expected cork to be a new js framework.

I know it's a community decision, but there's communities for this already.
this article includes the phrase "it turns out common sense is [often] wrong."

when people collectively understand this sentence, politics will stop being such a hard problem. I'm not sure this will ever happen, sadly.
http://www.html5rocks.com/en/tutorials/file/filesystem/
and heres something i tossed together yesterday :D
http://cssdeck.com/labs/nt3httvf

that site html5rocks shows alot of cool stuff some of it only works in chrome but most of it is cross browser,
hope this helps
I think the international price explains the difference:

Logged in as "me, US guy with US credit card, US registered Kindle, shipping address, etc..", I get $9.48.

With an anonymous browser window, here in Italy, I get:
$14.27 includes VAT* & free international wireless delivery via Amazon Whispernet.
Beautiful Off Main Thread File I/O
I just don't think I'm understanding when it comes to something like

.col-2-12 & col-10-12
I've read some comments in other places to the effect of complaining about free speech rights. As I always say, everyone has the right to say/post what they want (within legal boundaries) ... but everyone else is 100% free to react to what you say/post as they see fit. So the fact that he was fired is that freedom being exercised.
Kunvay – A Copyright and IP Ownership Transfer Platform
It would be less likely to leak out in to a GET string and confuse people.
This is really neat! You should post more examples, like if I had a range of data points could I post that data set and have R output a best fit line?
I don't know about other countries, but I'm fairly sure showing two different prices at the same time to two different customers is completely illegal in France.
I really like this. Very simple and lightweight, as advertised. Not perfect on IE8 but comparable with other frameworks that have too much going on.

One suggestion - use HTML5 semantic tags (header, section, etc) in your example page and code snippets. Too many divs scattered everywhere makes it a bit difficult to read.
Meet the New LinkedIn Profile
Writing Reactive Apps with ReactiveMongo and Play
It all came down to Reddit members and mods protecting a friend and influential person of the Reddit community. It even spilled over to HN where every Gawker article was flagged heavily due to HN affiliation... I'm surprised this one is on the front page.
It does repeat the no-fee meme, which is an odd one. As I understand it there is a default fee and the mining/validating crowd are under no obligation to process your transaction if they don't want to.

And it's such a good target for a few reasons, the irreversible nature of transactions is one thing, another is that the authorities don't really care to get involved.
The decision was only today. I imagine it'll be a while before the Apple/Samsung/the Courts get the wording etc. agreed and the ads are displayed.
Irish Direct Marketing and Consumer Marketing
Threads are for context switching. Can you switch context faster in code than the hardware can do it? Why would you think that?

If there is significant context with synchronization points, then threads are appropriate. This can occur in message-passing systems - its about all that happens in fact.

I'm not sure what the OP was doing (I should have read that first) but I just wanted to chime in and defend the use of threads where appropriate. In particular, where its algorithmically matched and where 'doing it yourself' would add more overhead.
Can Salesforce Kick Its Oracle Habit and Go Open Source?
Newsweek ends print version, goes all digital
Yes I was wondering why the author implemented his own queuing mechanism instead of just using hadoop via EMR.
I disagree. I'm a mod on a reasonably large subreddit and I regularly get approached about promoting certain brands or blogs. I've never accepted any of the offers as I don't agree with gaming the system but undoubtedly plenty of people have.

Marketeers are getting wise to Reddit. They know if they hit a sweetspot the reddit can make or break their brand over night. Soliciting "reddit celebrities" is naturally going to be a tactic many people employ.
PostGIS is miles, miles ahead, for sure! Yet even "create extension" sounds a bit weird to most newcomers (me included at first!), especially against "built-in basic GIS".
It used to be that differences in obesity rates worldwide were explained by diet: the French ate rich food, but in smaller portions; the Japanese ate lots of white rice, but didn't eat much meat; etc.

That has been found to not hold up over time and so people seemed to explain it by culture: The US was fatter, because we sit in cars all day; in most other countries you have to walk considerable distance every day, even to use transit.

Now that, too, seems to be failing the data, as other countries become fatter without any notable shift in how they get around town.

It may be time we studied to what degree the worldwide spread of obesity maps to the worldwide spread of industrial food products.

Could it be the 'lag' between obesity becoming a problem in the US vs the rest of the world was nothing more than initial cultural resistance to processed food wearing down over time?

The question of how an individual can lose weight is pretty well understood (if difficult for many to practice).

The more interesting question is what enables entire cultures to surrender their previous generation's habits seemingly en masse.
> Actually it makes sense, if you manually force the code to use only 4 threads it will take more time to finish that in the case when you let the compiler split the work for you.

While I think this is correct, I think your reasoning is off. And as far as I know, the compiler does not do anything clever here (unlike in some smarter, less mainstream languages) and you're just launching a huge number of threads.

If you use only 4 threads in a similar manner in a loop, the problem is that the background threads finish and the CPU is idle while the serial loop that creates the threads is occupied by creating and launching the threads and there are not enough threads to keep the cpu busy. (edit: this is more likely about waiting for I/O, see below).

If you're truly CPU bound, you will not gain from having a lot more threads than CPU cores (* ~1.5 for hyperthreads). If your threads are waiting for I/O, adding more will cause the OS to switch to an available thread but you gain more by using asynchronous I/O functions (like aio and epoll or kqueue, which you won't find an abstraction for in C++ stdlib). The way the code in the blog works is actually spending a whole lot of good cpu cycles for doing context switching from one thread to another and wasting a lot of memory for maintaining threads that wait for disk I/O.

What you can't see from the tutorial source is what the worker actually does (make_perlin_noise), I assume that function also does the writing to disk which would explain why you benefit from launching a huge number of threads. On the other hand, your memory use is completely unacceptable with this solution.

You should try this: split the number of images evenly and make each thread compute a number of images. Launch roughly as many threads as there are cpu cores and do not make the threads wait for disk I/O. You should see performance go up and memory use go down.
Why Omitting Social Media Buttons is a Bad Idea
The Surface looks more like the iPad than the Galaxy Tab. Don't get me wrong, Samsung ripped the original iPhone off with their Galaxy S(1) but anything beyond that just didn't happen. Decisions like this make me proud of our British judicial system.
The original idea was to make it a bit of a waste bin for all the softer questions which had relevance to programmers but weren't directly related to programming. Remember the SO model takes a pretty hard line on what's relevant to try and minimise the noise and this was seen as a solution to what to do with questions which were interesting and semi-relevant but seemed too much like noise to many.

After while Programmers was becoming a bit too much of a dumping ground so tightened up the rules to make it less random and chatty and more of a valid site in it's own right for topics around software development but which are not directly programming related.
This is really useful as a template for building a CSS grid system. I love that it's not a "framework" and that the CSS itself is very simple and straight-forward to build upon: https://github.com/ThisIsDallas/Simple-Grid/blob/master/simp...
For many rockets the whole point is that part of them doesn't - see e.g. voyager 2.
Wireshark: Sharks on the Wire
Learn all about Wireshark. Free download after registration.
Best way to detect a Ruby on Rails app ;)
The simplicity thing is a win for both camps in terms of marketing.
> Threads are for context switching. Can you switch context faster in code than the hardware can do it? Why would you think that?

This code is using a whole bunch of threads that are waiting for disk I/O. You can do that faster than with threads using asynchronous I/O routines provided by your OS. E.g. aio(7) in POSIX.
Reddit's Moral Low Ground
It was on the example pic about half way down.
Sure thing, just got some bugs to squash first. And thanks for making such an awesome lightweight framework.

pushState is somewhere on the backburner...
I can't believe Gawker is still seen as the "Good Guy" by a lot of people on HN. The hypocrisy of Adrian Chen complaining about /r/CreepShots is astounding.

For reference: http://www.gawker.com/upskirt
Neat. As a tech geek that is also a home brewer/home winemaker I find it very interesting. Thanks for sharing.
> The optimal number of threads per core is workload and machine dependent, but rarely is that number 1 per hardware thread.

This is exactly why I said it should be in the same order of magnitude, not exactly the same. Definitely not 250+ threads on a dual core. It might make sense to add a few more threads to keep the CPU busy if one or more of the threads will have to wait.
True, but as it's become a bit of a geek in joke I was surprised it wasn't mentioned during the article as well.
The Pirate Bay Ditches Servers and Moves to the Cloud
Is an Oscar meaningless? Is it meaningless when the team you root for wins a world championship? Or when Time names you Person of the Year?

Why are those considered more meaningful than internet points?
90% of my unknown calls are people Skyping me. I have no desire to block them.
Many people are too poor to eat well. When all you can afford is spaghetti and potatoes, you will gain weight and experience suboptimal energy. You'll also be more likely to suffer anxiety, depression and get diabetes.

Believe me, you don't think all that well either - decisions become more emotional than rational - so getting out of the hole gets even harder.

Instead of finger pointing, chastising and instructing, I think more compassion is required when it comes to dealing with the complex issue of obesity.
The fact that this is just now becoming a global problem indicates that perhaps there is a problem to be solved here beyond education. Mankind (and our pets) did not evolve to live the lifestyle we're living. Sitting at a computer all day, driving home, then sitting at a TV all night. Changing diet is fine and it works well for some. Others might not have such as easy time of it.

I don't know what the solution to the problem is. But if you do, you will be rich. Something has to change, globally: either our lifestyle or our bodily engineering. And changing lifestyles is not an easy thing to do.
Apple marching towards 1$ trillion mark
I'm a long time Reddit and mod for a big subreddit - it's not meaningless. There are TONS of perks you get when having a high comment karma count. Physical, actual benefits.
Be Awesome: Customize and Promote in Social Media — A Review of GroSocial
New MegaUpload Will Deflect Copyright Liability and Become Raid-Proof
> The planks are boiled to soften them, and also to clean them.

Ah, so it's true about the cork soakers.
By that logic people in Soviet Russia had free speech rights - the secret police were of course exercising their freedom to react as they saw fit.
I'm working on a service that handles drip email marketing for businesses.
And let's not forget Gawker Stalker.
No vector format? Don't get me wrong, these flags are appreciated, but to spend all that time making them in a bitmap format? Kinda seems like a bit of a waste, since flags seem PERFECT for vector format.
A better parameter name would help here, like if it was called utf8char or something, then it would be more descriptive of what it is, instead of seeming like a flag.
And I never use the Edmund Burke quote, "Those who don't know history are destined to repeat it". I've never liked that phrase because it's overly simplistic. The vagaries of human nature and the shear number of variables that influence world events are much to complex to model as a simple "speedy thing goes in, speedy thing comes out" equation.
Man, what a thing to risk your life as you know it for.
Megaupload Is Dead. Long Live Mega
I think this only happens if the user manually switches to Latin-1 encoding. In that case IE will try to use the same encoding when submitting form data. The user might do this if you already have encoding problems and present a mixed Latin-1/UTF-8 page. The snowman hack serves to prevent the corruption from spreading.
Useless != meaningless.

Reddit karma is (mostly) useless, but I think the poster's point is that they are meaningful to a great number of people, otherwise they wouldn't be accumulated and fought over with such zeal.

People's egos are tremendously important to them, and the people around them.
Visualizing the Bikes of Boston
It's actually of little consequence what people think. The world still turns, Apple's products are still popular, Samsung's products are still popular.

Apple does not sue because they want people's acknowledgement, they sue because they want those products banned from the market and for Samsung to pony up a huge amount of money as injunction relief.

And I don't know what was at stake in the UK, but you can bet your ass that a favorable verdict is looked upon by the judges of other countries involved in similar trials.

Does Samsung deserve what Apple wants? I don't know - but we are definitely not talking about clones and so where the heck do you draw the line? Because in my view this issue is much closer to "rectangular shape and rounded corners" than it is to anything else.
Physical like people send you free t-shirts?
Using flags in your visual design can be tempting but in my experience it's a bad idea. The problem is that certain flags force you to "take sides" in political disputes that you likely aren't aware of and don't understand. You'll inadvertently make one side very angry with you, and you won't even really know what political statement you accidentally made.

It's OK if you stick to flags you know but if you start trying to have a list of all flags, there's no way to do that without making various groups angry.

I don't doubt that there's a "right" answer to all disputes over flags but do you really know what all the disputes are and want to arbitrate them as part of developing your software ...

Deliberately not digging up specific disputes because the whole point is, if you have to ask what they are or if you start debating them case by case, maybe this wasn't a can of worms that needed opening.

(also, the last time I encountered this was long enough ago that I'm sure the relevant examples have changed, and I never understood them well to begin with. But it was clear that flags poked more than one political group in the eye.)
"Free Speech" is not relevant to this situation. Free speech rights are limits placed on the government. The only rights you have on Reddit are whatever rights Reddit grants you. And they are free to change those on a whim, or apply them as unfairly as they want.
Pacemaker hacker says worm could possibly 'commit mass murder'
You're right, I misinterpreted "order of magnitude".
I find both things shitty. I reckon most people feel the way I do about Gawker.
Chrome Disables Third-party Bundled Extensions by Default
> Is an Oscar meaningless?

Yes.

> Is it meaningless when the team you root for wins a world championship?

Very much yes.

> Or when Time names you Person of the Year?

They already did, and boy was it meaningless.

> Why are those considered more meaningful than internet points?

Some people don't consider them more meaningful.

And if you're the raldi that I think you are: That thing you worked on might have been bigger than you gave it credit for.
Nothing Apple has ever done in the social context has ever reflected well on Apple's senior management. They survived Ping, they'll survive this. And it won't be a nailbiter. Wanna bet?
This post will get removed soon, it seems any posts on this subject are being removed.
Deanonymizing You: I know who you are after 1 click online or a mobile call
Gawker's behavior is shocking, not in terms of free speech, but in terms of journalistic ethics. This story is, in the most literal sense, fabricated news.

The point of the article wasn't that there existed trolls on forums getting a kick out of being as offensive as possible. It can be summed up as "Hi Brutsch, I'm about to try my best to ruin your life, how do you feel about that?". The article was about the article itself (more precisely the previsible consequences of the article's publication). This is trolling, not journalism nor any self-respecting form of news reporting, and the guy who did that stands on no higher moral grounds than Brutsch.

At least Brutsch had no illusion about the value and ethics of what he was doing, wasn't purposefully ruining someone's life, and wasn't making money out of it.

So neither of them likely broke any US law, but the filthiest asshole isn't Brutsch IMO.
How we think you should and should not invest
Rap Genius hiring Rails and iOS developers (Brooklyn)
Looking for exceptional, product-minded engineers. As an early employee, you'll have a major impact on the product and company (not to mention our weekly Fresh Direct order..)

10 million unique visitors and growing, + $15M in funding from Andreessen Horowitz - http://rapgenius.com/Marc-andreessen-why-andreessen-horowitz-is-investing-in-rap-genius-lyrics

If you're interested, send links to stuff you've built or any work you're proud of! No resumé required

jobs@rapgenius.com
One of the patterns I've used before is to use thread pools rather than starting and stopping threads all the time. Each thread in the pool can be passed a list of the tasks it needs to do, or grab tasks from a central list as it finishes a previous one.

Then after a few runs you can tune the pool size so that you get the most out of the machine. Obviously there are still gains to be made by switching to async io, avoiding any serial choke points etc, and keeping the pool size small, but it seems to be a decent approach.
Would it be possible to code everything in something like Django to handle the HTTP, view parts, and farm out the calculations to R?

How would you design that?
If you intend to damage their reputation and you do damage their reputation, that's enough (here in the UK, which has very powerful libel laws). IANAL.
we used to have a cork wall in my kitchen when i was a kid. very easy to post stuff on the wall with tacks and such. didn't think about the sound insulation side of things, it was just a gigantic cork wall to play with!
There was also speculation this week that the Guardian would go digital only. That was denied by the Guardian Editor in Chief. However, @tomstandage, an editor of the Economist tweeted:

Claims Guardian will ditch print edition could be half right,
despite @arusbridger's denials; they could go weekly (as I expect NYT to)

That would be quite a change. No more daily print New York Times, or Guardian.
Your two assertions that

1. Eating healthily is more expensive than eating junk

2. Eating poorly impairs your ability to think to the extent that you cannot be held responsible for your poor choice of diet

I find them very hard to believe (even though I hear them often). Do you have any links to the studies or evidence that show this?
>did not evolve to live the lifestyle we're living

evolution didn't magically stop.
Thats an entirely different product. And convincing people to install a plugin is much harder than convincing them to visit your site.
What about the respect of your peers? Do you also find that completely meaningless?
There was a guy who said something along the lines of "I'm going to slash my wrists if I have to keep doing web development the old way much longer!"
If you want vector flags use wikiepedias SVG flags. These are made to be pixel perfect at different sizes, something that wouldn't work if we just batched them all from vectors.

http://commons.wikimedia.org/wiki/Sovereign-state_flags
They accept students who aren't READY for college level education. Kids who don't have the basis to be able to learn.
Licence is now in the .zip