skysight-inc/HackerNews huggingface dataset:
One thing that I am really curious about is why CPU prices have seemingly stopped dropping? Many years ago, I distinctly remember that as clock speeds doubled (e.g. from 1GHz to 2GHz), the price per GHz would half (keeping prices of CPUs stable)... So why is it that prices of n-core CPUs seem to be growing linearly with n?

Is it because demand is higher for CPUs with low core-counts? I understand this argument in the consumer PC space, but what about in the datacenter?

Maybe companies which operate datacenters are too focused on horizontal scalability and stopped caring about vertical scalability? Surely this will change in the future? There are factors like power consumption and floor realestate to consider - From an electricity and realestate perspective, it is increasingly efficient to run your software on as few machines as possible (each machine having more CPU cores).

Am I right to believe that eventually companies will start writing/using software which leverages multiple CPU cores (when the cost benefits outweigh the hassle)?

Why is it not popular to scale both horizontally AND vertically?

I would be really interested in hearing ideas.

I started thinking about this after noticing that Amazon EC2 instance prices grew linearly as you doubled memory and CPU resources... I expected a sub-linear growth.
> Microsoft have shown it possible.

I suspect Apple is perfectly happy to let Microsoft experiment with this until they figure it out (assuming they do). But from everything I hear they aren't quite there yet, and until they do, I'm happy that Apple is not using me as a beta-tester for such a 'universal interface'.
overwhelming evidence that the Universe (and our solar system) can't be older than just thousands of years

i'm very curious about your sources.
Oh, I see. Sorry, not my thing, then.

This is not a replacement for Persona, OpenID or "Log in with Google/Facebook/Twitter" buttons, which was what I hoped to see. And I'm not even sure how this is better than my PGP keypair (which is something way more widely recognized than Ethereum).

Is there any skilled and powerful necromancer out there that can revive and reanimate W3C WebID committee?
99% of people use the language standard library which has solved the problem.
This is obviously good for recruiting. BUT: It would be helpful for employees relying on the representations in this letter to have the commitment of the lead investors to this policy. It would also be helpful to see an accounting set-aside to cover the costs of the policy.

The problem here is that the CEO is "fighting the good fight" on behalf of insiders, but he may be fighting that fight against the investors.

Guess who wins in that case?
>but were actually documents that should be in public domain.

But they are?
The 2015 Nordic Funding Analysis
Dishoom is lovely - good food and great design. A restaurant trip is about food but it isn't just about food - the whole experience adds up.
I used it a couple of hours ago, sci-hub.io
Does that mean you assume reducing population to be easy/easier?

Increasing our habitat isn't simple. But it at least is likely to get more feasible over time. While reducing population seems to be the opposite of our 'nature' (not that we aren't able to go against that) and it requires the cooperation of basically everyone. Which isn't required by the former. Cooperation seems to get [insert mathematical function] harder when more people are involved.

Sidenote: expansion would of course not exclude taking care of existing habitats.
OK ... let me spell it out for those who apparently can't figure it out by themselves:

"This is really a horrific medical safety problem. Hard to believe an oil that is made specifically to cure your ailments has non-foodsafe stuff in it!"

If the packaging of snake-oil tells you about its miraculous properties ... that is, believe it or not, not a reliable source of information.
Snapchat is More Than Just Stupid Pics and Videos
Even when using a framework that has username/password authentication already, you have to worry about whether your confirmation emails are getting sent properly and are not blocked. So, no, it's not simple.
RemixOS howto and preview for PC and Macbook
While faceboom says the platrform is open and adfree, Facebook still can legally add in their ads and deny companies access to their "free basics" platform. It makes a legal monopoly for many companies participating in free basics and pursuading Facebook to block competition.
I believe they get referrer fees from airlines when someone actually books a flight.

Also I've heard from people who work there that they do a fair bit of custom analytical reporting for destinations - presumably reporting both on what people search for and what they actually book.
Nobel laureate lambasts homeopathy and astrology as ‘bogus’ fields
That's an interesting point. I had not seen that.

I can't refute this with stats, but I would not say I have seen the same thing either. I would be curious to know if different branches of the military have widely disparate demographics. I suspect the Air Force takes in the most highly educated and also wealthiest recruits, and that the Army takes in the least educated, least wealthy.

In the Marine Corps I saw big differences in backgrounds based upon MOS. My boot camp platoon was roughly 50% Hispanic and most of them ended up 0300 - infantry.
Birthrate will go up, get over it.
> no gdb

Just in case it's taken the wrong way - I don't know what the author meant, but gdb works very well with Rust. Actually it "just works" for the debug builds.
Censor or die: The death of Mexican news in the age of drug cartels
Obviously at least once too often. :)
What should CIOs wish for in 2016?
Find a partner to start a side project
How to Support V-Play on Your Raspberry Pi
So, ... screw the minority? Seriously, one of the benefits of the web stack is that it makes it very easy to cater for a wide variety of capabilities, rather than resorting to "Best viewed with Internet Explorer 5"-type behaviour.
Well, according to this, my house should already be under water. That's what happens when you live below the water level of the neighbouring canal...
:-)

Ignoring the point that common law allows for self defense - back then the UK even let Catholics and other subversives own weapons.
Apart from tremon's excellent point elsewhere that you've noted, don't forget this sort of thing already happens all the time.

If a region (say a state or a county in a state or a town in a county in a state) helps a company out and that turns out to be wrong, passing legislation it wasn't allowed to, why would you expect the company to also get off the hook? That would seem to provide an even greater incentive to perform corruption because once it's done, as the company you're immune from the consequences.

Especially big multi-nationals with lots of lawyers who knew the possibility that this exact thing would happen. They went in to this deal knowing full well the EU might turn around and say the deal violated the company aid treaties.
Nope. However, it is more cumbersome unless tailored to voice. For example, saying "-r" versus "-R" or pronouncing something like "ioctl".
I've been to the place next door (Diwana) many times -- never even noticed that one.
Whatever happened to the programming rule of don't micro-optimize until you've measured the performance? There seems to be a lot of recommendations to do ugly things to websites in the name of optimization, but they still add complications that are hard to understand. Pictures used to by supposed to be optimized by pre-scaling them to the size they'd be displayed at. Now we have retina displays and that doesn't work anymore. You have to do more complicated things instead. HTML and co has become very low level-like and almost complex enough that perhaps humans shouldn't be doing it. It reminds me of the days of assembly language and all the ugly little tricks to squeeze out more clock cycles that are now handled by compilers.
Agreed, good food and presentation at Dishoom
No, that does not solve the problem. Consider this Java fragment:

String someLargeString = ...;
//...
String interesting = someLargeString.substring(10, 20);
someLargeString = null;

Now assume that someLargeString is garbage-collected after the last statement. Is the backing character array of interesting 10 chars long or the size of the backing array of someLargeString?

You don't know, unless you know what the implementation of String#substring does. Suppose that someLargeString's array was a couple of megabytes, you could be using 20 bytes of memory or megabytes for interesting.

(Note that in the case of Java they switched from a O(1) index-based slicing to O(n) copying some time ago.)
> with LTO support

rustc already supports lto (lto=true in cargo manifest, or -C lto in rustc)

> all the list of target backends GCC support.

Which targets are you interested in specifically?
I'm not sure one can "own" the domain.

Well, IANA does. Then, if it's a ccTLD, your NIR (controlled by your government) does. Then the registrar you've registered domain name with does. They all do lease it to you (although legal agreements sort of say you "own" it, it's not a true ownership), but in practice they can take away your identity at any time they see fit or forced to. Or impersonate you, without your consent or even knowledge. I think we've heard about enough domain name seizures to not assume they're something owned. And an identity that can be seized or revoked is something that's just not right.

I really want an identity system without need to trust any third parties to work. I walk in a store, I say "hi", they say "hi", and we're good. Just like it used to be with usernames and passwords, but without obvious issues passwords have. Notaries are absolutely useful, but they should assert identities ("yep, we know this dud, he's cool"), not provide them.
The high-tech cop of the future is here today
I think, barring a personal recommendation, people use the state of the front of house as a proxy for the cleanliness and hygene of the kitchen. (I'm not talking choice of decor, but status of upkeep).
I bet 99% of the people who insist it has to be non-GC for performance never actually tried writing it in OCaml, profiling, and optimising the hotspots.
In the country I live in, if you are in possession of stolen goods and the owner can prove they were stolen, they are entitled to the goods back. Doesn't matter how many transactions it went through or how hard you tried to determine if they were stolen. It's up to you as the buyer to verify it. I suspect it is the same in most places.

If someone gave me money that he couldn't give me (for example, he stole it), I'm not required to give it back — he is.

Another example is banks- sometimes it comes up that banks accidentally credit people's accounts with huge sums in error. This money does not belong to those people, and if they withdraw it, the banks can take legal action to get it back.
Right, in most cases you could replace begin(), end() with whole container /
range, when considering arguments to the algorithm function. Though, there are
some exceptions, like std::rotate, or just cases where you want to place result
in the same container.

Looking from the perspective of implementation of those algorithms, it is no
longer that simple and single iterator is rarely sufficient, consider:
std::unique, std::reverse, std::partition, std::sort, std::inplace_merge
to name a few, where there is much more to it than just checking for end.
They probably meant not having to use it to debug any of the common C/C++ problems.
Global look at private equity in Q3/2015 vs. Q3/2014
I agree with jdudek here. While I'd never use important, I usually have a lot of small utility classes like bold, italics, uppercase, truncated etc.

I don't see what's wrong here - they come in handy when you need a one-time style alteration.
Is there a language package manager that you would consider a good role model in this respect?
No.

Swartz killing himself absolutely does not make him a martyr. Martyr is someone who is killed for their beliefs.

We don't know why Aaron killed himself, but I sure hope that he had a better reason than possibly spending a few months in prison.
Uptime Funk – (Uptown Funk Parody) [video]
That's why I tell users to always remember the '-h/--help' option ;).
At Codacy, for your type of code base we usually recommend to use our on-premise version. It's much faster, easy to install and to use. Don't hesitate to contact us if you want to try it out.
More than 20 clinical trials have employed NAC as an adjunctive treatment in various psychiatric disorders. These include methamphetamine and cannabis dependence, nicotine and cocaine addiction, pathological gambling, obsessive–compulsive disorder, trichotillomania, nail biting and skin picking, schizophrenia, bipolar disorder, autism, and AD. In most of these studies, NAC had positive effects on clinical outcomes (Gere-Paszti and Jakus 2009; Samuni et al. 2013).

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3967529/

edit: NAC = N-acetylcysteine
Considerable amount of intelligence is required to understand that nginx, due to its design choices and attention to implementation details (which are hallmarks of truly remarkable systems, such as Plan9/Inferno, Erlang, Smalltalk, etc) is more portable than Node (it runs on more architectures, including Windows) require order of magnitude less resources providing close to optimal effeciecy, could be easily extended via modules and scripted in Lua with less lines of code, less pain, less nonsense.

BTW, contempt to incompetence or corruption is natural and healthy emotion. It is what contempt has been evolved for.
Yeah, that was the only one I immediately questioned. Many companies that I've worked for as a contractor were permanently looking for developers, and I was their more-expensive plan B.

The problem was that they either just didn't get enough applicants, or the ones who did apply proved incompetent right away.

In one company they were so desperate that they blindly hired someone who appeared to have a pretty decent track record. After two full weeks of him not asking any questions and producing code that seemed 'off', I got suspicious. Under the pretense of needing some help with a trivial bug, I sat down next to him and observed, in total shock, that he didn't know even the most basic keyboard shortcuts like copy and paste or alt-tab. I'm not sure how he managed to write any code at all and suspect he outsourced it...

Of course, the real problem is that these companies are not willing to pay competitive salaries...
"worry about memory management and all that jazz seems a step backwards just to save a few cycles"

We're not getting more cycles any time soon for sequential programs.

Other peoples problem constraints are not necessarily the same as yours.
Testing Testing the Air – APPlite
It's quite common to have such classes if you work with some kind of CMS system.
In one of my previous companies we had bunch of similar classes that allowed basic layout adjustments (like margins, paddings, font-sizes).
It's quite handy if you want to just edit the html and do not touch the css files at all.
I already did, and it works pretty well. You spend more time developing, but the type system prevents lots of silly runtime mistakes. (which you'd spend time debugging later on otherwise) I wrote web apps in dynamic languages like everyone else and know that there are situations where you practically just ignore many potential failures and cannot be sure your code runs in practice, even with ~100% coverage.

Writing in a language with proper types helps a lot. Being forced to acknowledge every error returned is great. The only time I had to think about memory management was during integration of database connection pooling and the web framework, but that's just because I was one of the first ones to try. Otherwise memory management doesn't get in the way at all.
The only part of the process that's a bit weird is loading style sheets programmatically. But I think people normally do that by adding a link tag to the DOM, so it should use browser caching as usual.

The other caveat is that the nature of generating common bundles automatically means that what's in those bundles will vary whenever the code is changed. This means that you'll lose the benefits of browser caching each time you release. If you have dependencies that you can guarantee will be in the common bundle (like it's safe to say React will always be in it, along with any other architectural libraries), then you're better off externalising them to somewhere that sticks around between releases (and therefore benefits more from browser caching). This will also make your common bundles much smaller.
React with ES6+ Cheatsheet [pdf]
The+Most+Important+TV+Series+Premiere+Dates+to+Diarize+for+Next+3+Months
A somewhat contrived example which may require a quick look at the API docs but in the main you can focus on solving the problem, premature optimization and all that.
He's referring to the double-Irish arrangement, a similarly dodgy tax scheme used by multinationals:

https://en.wikipedia.org/wiki/Double_Irish_arrangement
We inline the front page CSS on https://pdftables.com/, both for user experience and for SEO reasons.

The Node module UnCSS (https://github.com/giakki/uncss) is working reliably for us, using PhantomJS to automatically extract the CSS rules we need for our front page.

The full CSS rules are then loaded at the end of the page - just in case UnCSS missed a browser specific or Javascript triggered rule, and to get the files into the cache.
Yep, you're right that that's how jQuery works [1]. I'm not an expert in this, but I would expect requestAnimationFrame to be quicker than DOMContentLoaded, because it should occur before a paint [2], rather than after the event fires, which is presumably afterward. If the stylesheet is in cache, this gives the browser a chance to load it before the first render, to prevent a flash of unstyled content.

[1] https://github.com/jquery/jquery/blob/dabd5ba96c05279b3ffb05...

[2] https://developer.mozilla.org/en-US/docs/Web/API/window/requ...
The Founder’s Battle for Mental Health
Since when the right for self defence calls for the use of fire guns?

Basically every society preserved the right to self defence from the time humans first started to gather until now in more advanced cultures where gun possession is strictly controlled.
>"This is not sustainable."

Why does spending have to be sustainable to be practical or good? It needs only be temporary and helpful.
The seagates worked well for me for a long time when they were directly attached to SATA ports, until I got a chassis with a SAS backplane. Their firmware had some bugs which would stall all transfers on the whole backplane (not just the one disk) for about 30 seconds when there was a lot of activity.

I switched to WD REDs after that, haven't had any issues since.
C and C++ has certainly kept people busy for decades.

There is a huge category of bugs related to sloppy fudge-factor-based programming. C++ has great tooling but it's a nightmare on an organizational scale. If I was building an engineering org and had no other alternative but C++ I would be in shambles worrying that no-one does anything horrible, no matter how good the engineers were.

I write C++ for my day job :)
If their customers were able to sell high and buy low, I'd imagine they wouldn't be too sad about paying those commissions.
Free Online Private Tutions in Your Subjects
Facetofacestudy.com is primarily a private tuitions of classroom where teachers and experts from varied subjects are all set to share their knowledge and experience with students who want to learn something more than what books offer.
Workers seeking cancer compensation reject Samsung's 'final settlement'
The BSD now podcast http://www.bsdnow.tv/episodes/2015_01_06-zfs_in_the_trenches talks about this article and gives some solid recommendations on how to do your setup. It helps that one of the hosts co-wrote a book on ZFS.
Quick question to people that know more about these things than I do (pretty much everyone on HN):

Is there a way that Twitter can prevent users from creating another Twitter account to continue to send threats and horrible messages?

The worst messages we see on Twitter always seem to be from new accounts with 3 followers, clearly throwaway accounts. Ban one, they start another.
Show HN: Siteinfo Chrome Extension
Masala Zone does a good job both food and decor wise.
My understanding is that concatenation will be become an anti-pattern with http/2, but not `<script async..>`, `<script defer..>`, or loadCSS.
Haskell, Travis, Heroku and Docker – Oh My
Star Wars Mega Weapons Make Awful Bureaucratic Sense
Funny seeing the difference between then and now:

https://news.ycombinator.com/item?id=4529484

Next time, let's try being this supportive before someone dies as well as after.
I wish there was a mid-range Indian food chain on a par with Wagamamas (Japanese), Pizza Express or Nandos.
If you are writing high performance apps then you do still need to worry about the garbage collector. For example look at the huge amount of work Spark did (Project Tungsten) in order to reduce memory pressure in the JVM. Likewise in high frequency trading and other low latency apps being able to tune the JVM is a highly sought after skill.

Even for most normal web apps a full stop the world GC is a common occurrence and a deadly one.
"For a monthly fee, members got an @davidbowie.com-ending email address"

Isn't it the same thing Trump gets ridiculed for? ;)
Rust does that. Rc type is implemented in Rust. (https://doc.rust-lang.org/nightly/std/rc/struct.Rc.html) There's also arena allocation available as a library. (https://crates.io/crates/typed-arena/) You can add your own memory management abstractions as libraries.
But still. If I understand this correctly 8000vms is one of these mainframes. That's one machine versus a supercomluting cluster of 4480 nodes.
Syntax errors in JS throw exceptions.

JS syntax tends to hide certain mistakes but errors always throw.

If Chrome's extension API swallows exceptions, that's not a JS problem.
What browser doesn't support fonts?

If web developers had to support every permutation of turning off cookies, fonts, images, JavaScript, stylesheets etc. you'd never get anything done.
Would there be any advantage to running ZFS on that pair of disks in that situation? I hear it has much more demanding requirements including memory/disk ratio.
I'm French and I did not know salted popcorn even existed until I went to the UK (other than salted butter caramel popcorn). I just asked for popcorn and always got sugared popcorn...
Thanks. WASM is going to be very interesting, and I will be modifying our compiler/transpiler to support it as soon as the DOM access is available.
I'm a little skeptical after first reading "Disclaimer: I'm digging Rust. I lost my hunger for programming from doing too many sad commercial projects. And now it's back. You rock, Rust!" and then seeing comparisons to Python in the text where it seems like the author might prefer writing in Python, especially with all of the Rust cons listed.

Is the author saying Rust is a breath of fresh air from C++ or from all other programming languages? Ruby was my breath of fresh air for a while, but lately I've not been enthusiastic about any language or framework, really, so I curious how great Rust really is these days.
Thanks very much for the link.
Not the OP, but both rpm and deb have a pretty good validation story. Deb repositories (== package hashes) are gpg-signed for verification, but are usually provided over http for better caching. Nothing stops you from putting them on https either. Rpms can be signed at the package level as well.
Underperforming might be caused by my YCSB memcached driver... I'll revise it. Memcached utilized all CPUs during the benchmark.

P.S. All VM images are open, you can repeat the benchmark if you wish.
Detecting online fraud networks
Not without making it much harder to onboard new users. User growth (Monthly active users) is a business goal Twitter reports to investors so that's a non-starter.