skysight-inc/HackerNews huggingface dataset:
This isn't really correct, because it ignores the fact that modern out-of-order CPU's also have out-of-order memory pipelines.

The reason the four slow CPU's are faster in the author's example is that they are issuing four concurrent requests at once, while the single CPU is issuing one request at a time. If requests have fixed and high memory latency, the four CPU's will get back four times as many results in each waiting period as the single CPU. This presupposes that the problem has enough memory parallelism to support four memory requests in flight at once.

But if the problem is highly memory parallel, then the faster CPU can take advantage of that memory parallelism just as easily. It doesn't have to only issue one request at a time, then wait until it is fulfilled. It can shoot off four requests at a time and wait for them all to come in. Indeed, "brawny" CPU's tend to also have "brawny" memory controllers that can support more simultaneous requests.
Seriously?? -17C? Have you done it? Im totally tempted to try...
I tested exactly this recently and a hosts file dramatically helps browsing performance.

It's true there is an up-front cost paid when first loading it, and for the initial domain lookups. After initial lookups, DNS cache takes over.

The real benefit comes because countless requests for ads, tracking scripts and counters, etc, never leave your box. Network traffic is greatly reduced.

A comprehensive hosts file dramatically improved the performance of a relative's dialup internet connection a few years ago. A web that was borderline unusable became much snappier. And web pages had almost no ad adornments.

So on balance this is a very good thing. YMMV.
In addition to not being able to delete the last node, it also invalidates any pointers to the node after the one you're deleting.
Very nice read, great stuff from the verge as always
Very good illustration, I must say. I strongly disagreed with the GP's rant about knowing O-notation, but I realized he might have faced the first type of questions a lot (e.g tell me the O-complexity of X algorithm).

My experience with Amazon was actually the opposite, but I might have been lucky. All the interviewers were very friendly and started from simple questions and went on to more complex ones. Never a "do you know concept a from language Y". In fact, one of them worked with me through the solution to a pretty tricky problem, and when we were done, he actually took a picture of my solution on the whiteboard! So yeah, it was fun :)
There's no legal obligation to do that, so why should they? Because of morals? Are your morals demonstrably more correct than theirs? Why should your morals have anything to do with their morals? If you want a company to do something, you either need to go through your representative in our democratic process to suggest a change to the law, withdraw your custom, or shut up. Hoping that they follow your arbitrary morals is bizarre.
If he's a HN reader, he's probably assumed that Node is the default choice these days, based on the articles that come up.
>Doesn't fusion demand constant refueling (like most power plants)?

I don't think the half-life of deuterium/tritium is particularly long, so even if you could store it, it might not last decades before use. Though on the other hand, it's conceivable that you could design the reactor so that it produces deuterium/tritium on site from hydrogen cracked from seawater.

But realistically the reason we want fusion over fission in the first place is the proliferation concern. All of the other arguments against fission are NIMBY nonsense that could be applied equally to a whole swathe of chemical processing facilities that nobody seems to care anything about because they're not OMG nukular. And there is hardly a major proliferation risk from a reactor surrounded by military personnel on a vessel designed to securely carry actual nuclear bombs, so it makes the specifically military application kind of questionable.

We really need fusion for two reasons. 1) There is a better chance that we can actually build a large number of reactors without roving gangs of idiots destroying their cost effectiveness with gratuitous and intentional red tape, and 2) we can build them in countries we don't trust without making it easier for them to blow up the world, which will help to fight global warming vs. those countries continuing to burn oil and coal.
AFAIK RethinkDB is (yet another?) non-relational database.
I began using a darker background in my text editor last year due to a sudden increase of eye floaters that was distracting when I stared at bright backgrounds. While now I can ignore them on my own most of the time, I still prefer to use darker themes when applicable.
The coolant in the actual nuclear reactor itself is radioactive. But all the working fluid in the heat engine (including heat dissipation) is safe. Could you imagine how ridiculous it would be to do maintenance on your radioactive turbines?
Google Pixel Runs Linux Mint
That's one thing that's nice about coastal Nordic cities: much warmer than you might think, certainly compared to places like Eastern Europe or inland Canada. Even in February, the average daytime temperature still gets up to 31 F in Stockholm, 36 F in Copenhagen, and 29 F in Helsinki.
Cia Factbook on norway:

Norwegians + Sami 94.4%

Other europeans: 3.6%

Sweden according to wikipedia (and CIA factbook) has most of the population being Swede + Sami

Cia factbook on United States:

79.96% are white, but this include some hispanics.

Brazil the most recent census (I will find the link to IBGE site later) is about 45% of the population being white. almost 50% being mixed race (usually between black and white) 5% black (and some below 1% minorities).
I believe dguaraglia is talking about the types of arguments, which are often included in the method name. So you get things like [guy eatFood:food withHand:hand usingEatingStyle:eatingStyle]. Overall, it lends itself to exceptionally long lines of code, such that Objective-C message sends are often broken into multiple lines with lots of info on the right side of the window. For example, instead of:

NSWindow *window = [[NSWindow alloc] initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation screen:(NSScreen *)screen];

people will often write write:

NSWindow *window = [[NSWindow alloc] initWithContentRect: desiredRect
styleMask: windowStyle
backing: NSBackingStoreBuffered
defer: YES
screen: [NSScreen mainScreen]];

The length of the selector requires us to choose how we're going to write this line of code.
They have a page comparing themselves to MongoDB http://www.rethinkdb.com/docs/comparisons/mongodb/
I'm a bit surprised about the Lithium use, that seems like a lot. Assuming that we spend the entire early production of Lithium we would only be able to feed 11.000 1GW powerplants.
Reminder to us wacky Americans and our archaic units - this article is talking about sub zero in Celsius, which is not quite as bad as sub zero in Fahrenheit.
Start your own whatever
Kind of a joke, kind of serious. It's what's at issue in Aaron Schwartz' case. The prosecutions argument is that his actions were felonious on the grounds that his violation of the ToS implied Unauthorized Access, which is a felony.
You have a career in security waiting for you.
There is also the biased comparison: http://www.rethinkdb.com/blog/mongodb-biased-comparison/
Make sure you are building the right 'it' before you build it right
Researchers Discover Highly Efficient Energy Storage Medium with Simple Tech
The prosecution was claiming that his breach of the ToS implied Unauthorized Access, which is a felony.
IIRC ps displays the resident size in KiB, so you're looking at 6 MB for a Go process. Not terrible for a high-level language.
Implementing a Left Outer Join in Hive
Does anyone know if the spotify Sonos app uses P2P?
As shocking as it may sound, I noticed the same thing in the caribbean where population is very mixed. It's not about racism - it's more as if a shared group identity encouraged cooperative behaviour.

Even weirder - there seems to be a trigger effect : until the non visible minority reaches 5% the cooperative behaviour keeps working.

Funny thing - it seems to works even if you account your own ethnicity - i.e. when you are in the <5% you will get more cooperation by people with a different ethnicity than you !!

Cross the 5% mark and it won't work as well - apparently even with people of the same ethnicity as you. Weird.

Some may call that parochialism. I find that interesting.

I've been quite puzzled by this (it contradicts all the mainstream thoughts about diversity) and I would love to know more about such issues (scientific research - can anyone with a sociology background give more details about that?)
As irrefutable proof I give you Fox News: http://www.youtube.com/watch?v=O2qTdFX6thg&t=0m13s. ;)

I live in Malmö and IMHO FN didn't quite live up to it's "fair and balanced" motto here. :)

On a more serious note I'd say the nordic countries are much more homogeneous than the US, ethnically and politically.
NYPD forms dedicated team to catch thieves who steal iPhones and iPads
> The position you take on the rubber stamping part of peer review is simply not serious at best in many areas of science and engineering.

Post your evidence, not your opinions. Here is my evidence -- one of many papers that makes the same point I do:

http://jrsm.rsmjournals.com/content/99/4/178.full

Quote: "But does peer review `work' at all? A systematic review of all the available evidence on peer review concluded that `the practice of peer review is based on faith in its effects, rather than on facts'[1]"

[1] Jefferson T, Alderson P, Wager E, Davidoff F. Effects of editorial peer review: a systematic review. JAMA2002;287:2784 -6 (not available online)

If you want to continue posting to this thread, by all means try to imitate a scientist and locate evidence for your claims, as I have for mine.

> If you understand how science work beyond press releases, you'll know that the fraud and abuses will always be in the system.

A non-sequitur that fails to address my point in any meaningful way.

> Science becomes robust when it is clearly capable of rooting out bad work through processes like this one.

I'm waiting for you to try to refute my original claim using evidence.
Compared to Python and Ruby, node.js is quite fast by the simple virtue of having a JIT (in the most common implementation anyway; of course there are JITs for Python and Ruby but they aren't the mainline implementation).
A human mission to Mars is analogous to the wide spread use of hydrogen fuel cells in automobiles. If you keep giving a date further and further away, no one will ever question the authenticity of the project.
Yeah ... although for almost half an hour before that I tried my best to convince myself that my bladder will cope just fine with pressures more suitable for combustion engine. I couldn't so I had to get up.
Have you considered the ramifications of moving where farming is possible? The combination of desalinization and the ability to make long chain hydrocarbons (like fertilizer) means you can farm the San Fernando valley with seawater and take a tremendous load off of the California aqueduct system. Places in Mexico become targets for new farms. All freshwater in the southeastern part of Texas can come from the Gulf of Mexico. It is an interest experiment to look at a map of coastal areas with arid or desert climates, and think about those becoming farmland.

The brine issue is non-existent, as both Qatar and Saudi Arabia have demonstrated with their desalination plants you can pump a lot of sea water through them with the output water having only slightly more salinity than the input water.

That and the fact that fusion power is initially additive to the total power output rather than replacement power. The challenge is of course the numbers. The original Nuclear energy projection of power 'too cheap to measure' was based on an assumption that once nuclear power regulatory structures were in place, the cost to build a plant would converge to something close to the capital costs. That assumption turned out to be false. If it turns out to be false for fusion as well then we'll have different effects.
Just looked into it, sorry we don't have one available at the moment.
A simple solution to credit card fraud, and why you won't see it any time soon
Right, but I think the point was that oil prices will plummet in the presence of cheap fusion power because fossil fuels will no longer be competitive for electricity generation, drastically reducing demand and freeing up capacity for the remaining markets where hydrocarbons still make sense (not that all fossil fuels are fungible, but reallocating natural gas resources to power cars isn't a completely ridiculous idea).
Calling all Chicago Coders
Debuggex: A visual regex debugger
Sort of. I'd rather have politicians handing out indstury subsidies by choice than being held hostage by their own frankenstein monsters. But I hear ya.
In theory, sure, in practice I don't think it's ever worked out that way. Can you give examples of countries with sizable government expenditures (e.g. 40% GDP or more) that do not also feature onerous regulation and extensive government interference over many aspects of daily life?
Good post. The key to good customer support: it's always about the customer, and their needs. It's not about us (the business) and our problems, our process, and our work day. Customers don't care about that. They just want good service and their problems solved.
"Clever architecture increases possibility. Clever code increases complexity." - @edw519 the other day -
https://twitter.com/edw519/status/301393887174483968

Testing with excessively clever tests and puzzles will attract a mindset of creating more complex code and than needed. Architecture a problem in a way that solve the problem elegantly but remains open and flexible is far more a tougher challenge than an algorithmic challenge.

There's a fine line between testing a hire to make sure someone's behind the steering wheel vs. communicating that you want things solved in interesting ways.
Ask HN: Development shops, How do you structure your services post delivery?
I am shifting from a one man consultancy to a formal product development shop. I am currently working on the first version of a mobile and desktop SaaS product for an enterprise client which I have priced on a fixed price basis. I am struggling with how to structure and price my services beyond delivery of the first version of the product.

There will be incremental iterations with new features and I would like to pitch my client on having me operate the service for them (basically hosting it and taking responsibility for security patches, database backups, performance monitoring and optimization, etc.). I am curious how development shops and consultants would structure such an agreement.

A few questions I have:

- Do shops typically operate a SaaS service for their clients and how do they typically price that?<p>- I typically offer a 90 day warranty on fixed price engagements for bug fixes. Does a warranty make sense when we will be changing the software within the warranty period to build out new features?

- How do you typically structure your maintenance agreements in a case of ongoing development like this?

I have searched around a bit but if anyone can point me to standard agreements that would be very helpful to me. I learn a great deal from this board and am very interested in hearing all your thoughts on this.

Thank you.
California budget increasingly goes to salaries, healthcare, report says
The Go community on Reddit is already bigger than the Node community:
http://www.reddit.com/r/golang (3730)
http://www.reddit.com/r/node (3581)
Whenever I hear about something like this (eg, 'the uncrashable computer' or the 'indestructible drinking glass') it begs the question - what about one of the greatest misnomers of all? The Unsinkable Ship, her royal majesty's Titanic
In the eternal words of HPMOR!Harry,

"And then whichever Seeker gets lucky swoops in and grabs the Snitch and makes everyone else's work moot. It's like someone took a real game and grafted on this pointless extra position so that you could be the Most Important Player without needing to really get involved or learn the rest of it. Who was the first Seeker, the King's idiot son who wanted to play Quidditch but couldn't understand the rules?"
> Shouldn't that be "Go-lang" because we all agreed to call it Golang? I might be missing something.

I'm the one missing something, because I'm not sure who 'we' are, or when 'we' all supposedly agreed to this.

In any case, you should probably inform the authors of the spec, because they apparently missed this memo too[0]!

[0] http://golang.org/ref/spec
Poll Shows America's Youth Think Microsoft is Becoming "Cool" Again
What about Go makes it easy to manage and refactor large codebases? I don't do much Java, but whenever I've watched someone use Eclipse for refactoring, I question why I'm still using vim, because it is just magic and does everything for you.
Bogosity warning 1: ALL CAPS.

Bogosity warning 2: The words "perpetual motion machine".

Bogosity warning 3: A complete lack of credible evidence.

Nothing to see here, move along.
> There’s no arguing about whether to use semicolons, or putting your commas at the front of the line — the language knows what it wants. It’s a built-in hipster suppression mechanism.

Major point for saving man hours right there.
This is a major no-win for Apple.

Take out app made by a gay guy? Homophobic.

Not take out the "flaming" app, thus offending lots of homosexual men (that are men first, homosexual second)? Homophobic.

I hate those sort of situations, specially when it result in some people always losing.

Here in Brazil we have a conservative politician (he would fit right into Tea Party if he was at US), that once went to protest against a "gay kit" that the ministry of education wanted to give to schools... Several gay people were against the kit, because if was badly made, it was of bad taste, and attracted flak from society, beside being a waste of taxpayer money.

Returning to our politician, he stood behind a TV interview of another politician, holding his anti-gaykit (not anti-gay mind you) pamphlets. A pro-gay poltician started to shout that he was homophobic, attacked him physically, and then the assaulted guy got sued later... (at least the lawsuit was thrown out). Later some gays supported the guy, not that they agree with him, but they think that the female pro-gay politician that attacked him was against free speech. Of course, those got called "homophobic" too (even being gays).

I can conclude that some words, are more about insulting your opposition that disagree with you, than real labels.

This apply to homophobic, MRA, racist (not that real racists don't exist... mind you), misogynistic, and so on...
"The biggest thing Go gives me is that it's really easy to manage code bases that grow organically"

Very interesting to hear. Any chance you could expand on this a bit more?
The New Firefox Cookie Policy
Yep, just ran ps_mem.py (http://www.pixelbeat.org/scripts/ps_mem.py) and here's my entire server. Not a busy one, but it lets you see what a running api server and accompanying programs look like.

Private + Shared = RAM used	Program

184.0 KiB + 31.5 KiB = 215.5 KiB	atd
240.0 KiB + 55.0 KiB = 295.0 KiB	cron
240.0 KiB + 68.0 KiB = 308.0 KiB	upstart-socket-bridge
304.0 KiB + 72.0 KiB = 376.0 KiB	upstart-udev-bridge
392.0 KiB + 79.0 KiB = 471.0 KiB	sudo
696.0 KiB + 26.0 KiB = 722.0 KiB	dhclient3
604.0 KiB + 189.0 KiB = 793.0 KiB	getty (6)
940.0 KiB + 49.0 KiB = 989.0 KiB	dbus-daemon
660.0 KiB + 366.0 KiB = 1.0 MiB	udevd (3)
1.0 MiB + 71.0 KiB = 1.0 MiB	rsyslogd
1.1 MiB + 35.5 KiB = 1.1 MiB	redis-server
1.0 MiB + 122.5 KiB = 1.2 MiB	init
964.0 KiB + 733.0 KiB = 1.7 MiB	polkitd
1.4 MiB + 823.5 KiB = 2.2 MiB	console-kit-daemon
2.5 MiB + 1.1 MiB = 3.6 MiB	nginx (5)
1.3 MiB + 3.2 MiB = 4.6 MiB	sshd (5)
5.4 MiB + 75.5 KiB = 5.5 MiB	api_server <==== Go Program
13.8 MiB + 963.0 KiB = 14.7 MiB	bash (2)
22.5 MiB + 314.0 KiB = 22.8 MiB	mysqld
41.9 MiB + 5.1 MiB = 47.0 MiB	python2.7 (2)
79.4 MiB + 542.0 KiB = 79.9 MiB	java
---------------------------------
190.3 MiB
=================================
Because, in my opinion, Clojure isn't a Lisp. It is Lisp-like language, or Java with parenthesis and immutable collections, if you wish. It violates few basic principles of Lisp - one common underlying list-structure for code and data (Clojure's code is a mix of different containers) It violates a general evaluation rule - one for every expression with a very few special forms, etc.

I cannot explain it in a few sentences, I have tried few times, but I'm sure that it is better to learn the classic Lisps first, so you could be able to appreciate their elegance and simplicity (a few selected ideas put together) and then you could compare it with what you have in Clojure.

It is also important to learn how Lisp programmers used to build almost everything they wish out of conses (except arrays and hash-tables, of course) how they reason about access patterns for list structures, learn simple and elegant classic functions, such as map, filter, reduce, etc in their natural environment.)

It short, compared with even CL Clojure is a mess.
It's called World Factbook, not worldbook, "white vs. non-white" has nothing do with it as far as I'm concerned (skin color is related to sunlight, not culture), and last, but surely not least.

http://en.wikipedia.org/wiki/Immigration_to_the_United_State...

"nearly 15% of Americans were foreign-born in 1910, while in 1999, only about 10% were foreign-born."

http://en.wikipedia.org/wiki/Immigration_to_Sweden

As of 2010 however, 1.33 million people or 14.3% of the inhabitants in Sweden were foreign-born. Of these, 859,000 (9.2%) were born outside the European Union and 477,000 (5.1%) were born in another EU member state.

http://en.wikipedia.org/wiki/Immigration_to_Norway

At the beginning of 1992, immigrants and Norwegian-born to immigrant parents totalled 183,000 persons, or 4.3 per cent of Norway’s population. Twenty years later, at the beginning of 2012, these groups had risen to 655,000 persons or 13.1 per cent of the population.

So, my bad; at least these two nordic countries are even MORE diverse than the US. Which is hilarious because I was totally gambling with my initial post, thanks for making me look for confirmation. Of course you might say the real problem is that many US-born citizens have dark skin, while many immigrants to nordic countries have white skin, but that's the point where I leave the discussion.

At any rate, there are differences between the US and those countries, but immigration does not seem to be especially prominent. So no, that can't be it.
BOFH: Climb the corp ladder - and use your boss as a bullet shield
>What utter BS.

What silly outrage. That explanation is so close enough for an audience full of laypeople.
To be fair though, there is a lot of homophobic laws in the world.
Go is going to look hideous to you because you're probably expecting functional things like list comprehensions (which Go doesn't have) and a very intricate type system allowing for things like generics (which Go doesn't have either).

Go code will look a little less DRY to you as a result, which is a fair criticism, but it makes up for that by being incredibly opinionated (that's a good thing), being incredibly easy to prototype in, and being incredibly easy to refactor painlessly.
I wonder if Arc is finished or dead. I like it it seems the ecosystem is missing.