skysight-inc/HackerNews huggingface dataset:
I'm arguing that modern superscalar out-of-order hardware supports lots of parallelism, but that modern compilers (and software practices) leave a lot of performance on the table. The key to overcoming latency is concurrency, and current software rarely manages to reach its potential. This makes it look like hardware isn't getting faster, but really it's just not getting faster at running software targeted at earlier in-order CPU's.

Consider performing a series of simplified hash table lookups based a list of strings. You hash the first string, use the prefix of the hash as an array offset to look up another pointer, use the pointer to access a variable length array, and then check whether you have a matching element. Then you hash the second string, and repeat. Third, fourth, etc.

To achieve high performance, you need to overlap the lookups, so that the latencies are shared rather than sequential. But I don't know of any compilers (although I'm only familiar with GCC, Intel, and Clang) smart enough to do so. The hardware tries to get out ahead, but will almost always experience a branch prediction error before it can start working on the next iteration. And if it does manage, it will usually get at most a single iteration ahead.

By contrast, if you were to do 8 hashes in parallel (often just as fast with AVX2), and then issue 8 loads, then chase those 8 pointers in parallel, you've increased your throughput almost 8x. Little's Law is the low-hanging fruit, and you don't need to figure out how to do cycle accurate synchronization between cores.

I realize I probably sound like a quack. Here's a more formal paper describing some similar approaches with a Cuckoo Hash: http://www.cs.columbia.edu/~orestis/sigmod15.pdf
Of course, 'fun' means whatever stimulates your target audience most and longest. Which is orthogonal to my point that games are or should be about mimicking reality (because let's face it, otherwise nobody would have ever made it through the first room in Doom).
Bike helmets should be compulsory only if

- Having a five-point harness for every car is compulsory (alright, I'll admit this is somewhat overkill and rhetorical)

- Cars are certified yearly as being road safe (not the case in all states in the US, but I think this is the case in the EU)

- Drunk driving has extremely severe penalties (10+ years in prison) beginning with the first offence.

The motorist is driving a much more dangerous vehicle capable of causing serious injuries to themselves and other parties. Let us all behave in a responsible manner.
The point of a Republic is to temper the temporary fashions in political thinking with adherence to inviolable principles.
And some interesting replies showing that this tiny patch is unsafe: http://lkml.iu.edu/hypermail/linux/kernel/1510.1/02374.html
(more by following Next in thread links)
I agree that sbrk/brk are nearly deprecated. But not all allocators I studied use mprotect or mmap. Most reference material (old OS books & blogs) still refer to sbrk/brk and/or malloc when discussing reference counters or garbage collectors. And Linux has a nice gotcha (see the Linux notes here[1]) in its implementation of the sys_brk syscall. It matches neither of the interfaces described for sbrk or brk exactly that most people are familiar with.

For me, however, I have a personal goal to show how to implement the basic newlib porting requirements [2].

[1] http://linux.die.net/man/2/brk

[2] http://wiki.osdev.org/Porting_Newlib
The problem is we don't even know what it means to deal with waste for 10,000 years. If the Romans had used nuclear power, we'd still be guarding their waste. And they likely would have put it somewhere really out of the way - like London. If some of the technologies that can transmute waste intro shorter lived stuff come to fruition, fantastic. But until then nuclear power is just the worst kind of deficit spending, kicking the unknown and huge costs way into the future.
Even relatively high-probability, catastrophic risks are under assessed. Witness all the tailgaters on the highway.
I dunno what Meg is, but I did chuckle when uBlock Origin blocked SF. Good for them.
http://www.slicedham.co which is curated dev blog posts.
sbrk competes with mmap, not mprotect.

And yes, I would expect mmap to be used in most modern systems. OS X, for instance, just emulates sbrk with a large static buffer, and it has no actual effect on the page tables.
Inside Yahoo’s Super-Sized Deep Learning Cluster
And the thing I’ve been struggling with throughout my political career is how do you close the gap. There’s all this goodness and decency and common sense on the ground, and somehow it gets translated into rigid, dogmatic, often mean-spirited politics.

Well, one way that happens is when political leaders don't try to engage their opponents' best arguments, but instead set up straw men that are wonderfully fun to watch burn:

Whenever I hear people saying that our problems would be solved without government, I always want to tell them you need to go to some other countries where there really is no government, where the roads are never repaired, where nobody has facilitated electricity going everywhere even where it’s not economical, where... the postal system doesn’t work, or kids don’t have access to basic primary education. That’s the logical conclusion if, in fact, you think that government is the enemy.

The GOP (thankfully) isn't composed of a bunch of anarchists, and framing your opposition as only made up of the idiots who run around saying "Keep government out of my Medicare" is not really a great way to persuade folks that, say, a $4.1T government is worth $300B more taxes and debt than a $3.8T government. Either could keep the roads paved and the mail delivered.
I don't understand the appeal of living in an expense shoebox in a concrete metropolis.

Some of us choose to remain close to specialized healthcare, that we trust.
Appeals court hits largest public patent troll with $1.4M fee
> The point of a Republic is to temper the temporary fashions in political thinking with adherence to inviolable principles.

That's arguably the point of a constitutional representative democracy as composed to an unlimited-powers direct democracy; as both of those are within the scope of systems to which the label "Republic" applies (as are many others), its a pretty odd notion to consider it the point of "a Republic" in any general sense, though it might be the point of the particular design of a particular republic.
I find it hard to understand why there's still support for nuclear power, particularly given its historical context of not being a very successful industry at all.

* It's more expensive than the alternatives, including wind and solar now.

* Its failure modes have so much more potential to be catastrophic.

* The industry has a terrible record of cheating on nuclear waste disposal. Much of it is dumped at sea in secret because the cost of legitimate disposal is so expensive it would make the industry commercially unviable.

* Human error is common and impossible to eliminate. The nuclear industry is somewhere the human factor has been historically disastrous and it doesn't seem likely that will change.

There's really not a lot to like about the nuclear power industry. Can anyone explain why we shouldn't just leave this method of power generation behind as a tragic mistake?
Excellent metaphor.

That's precisely the kind of thing that would happen.

This system was created to prevent that kind of mob rule.
If you want one that's just rolling out, Sibley country in Minnesota is doing ftth even on farm sites.

They just started the rollout and iirc it should be done at least in the towns by next summer.

Rsfiber.com is the site to check out
I mean no disrespect but this is bizarre to me that people believe developers should have more access or protection than incumbent property owners. Seems like exactly what government should be doing. This is why we have borders, immigration laws, zoning, licensing, etc. isn't it?
Interesting. I do worry about the security implications, especially after watching this talk[0] about the security of Estonia's e-voting system. The government does not seem to have a wonderful sense of how to handle information securely, and does not take to criticism of its security protocols kindly. Here[1] is a tweet from the Estonian CIO in response to questioning about the video.

[0] https://www.youtube.com/watch?v=JY_pHvhE4os
[1] https://twitter.com/taavikotka/status/612281286011568128
Thanks, please understand your lovely response is zero percent correct :)

97/100
Exactly. If being at-fault in a severe traffic accident cost you driving rights long-term, then I'd be understanding that we're taking safety seriously. Until then, talk of mandatory helmet laws is just trying to get the cyclists off the road.

/wears a helmet when cycling.
Can HN help with this?
Sorry, if this kind of post is frowned upon but if you or anyone you know can do something, it will be great for these poor people.
Was going to post about this but saw that you already had: http://i.imgur.com/KBCmcyb.png
New Winter Sport: Skiing+Biking
Creativity and joy are fantastic qualities that are difficult to quantify on an accountant's spreadsheet. Clients have to be able to budget sufficiently for project work, and the only way they can do that is with an estimate. This is how business is done. "Uh..we'll send you a bill when we're done for...like...whatever it costs. I guess?" Isn't going to go over well when responding to a potential clients RFP.
The way the regulatory and economic winds are blowing, renewables have become the new baseline generating capacity, with fast-spinup combined cycle natural gas as marginal capacity. Renewables may be weather dependent, but it is hard to argue with a 20+ year lifespan, minimal maintenance, and, most importantly, zero marginal cost.

Nuclear and coal are starting to fade, with vastly more retirements than new construction, outside of the deep south for nuclear (because let's do the opposite of the liberals) and coal producing states (because jobs).
Just buy one of these: http://www.amazon.com/Silex-SX-DS-4000U2-Print-Server-800MHz... .

Works awesome, lets you buy the cheap non-workgroup version of pretty much everything (printer, scanner, label printer, ...) and still hook it up to a central server.

I have a Fujitsu ScanSnap ix500 hooked up this way, which scans directly to Dropbox. Put the scanner anywhere where it's convenient to access, put paper in it, press scan button, by the time you walk back to your desk it's on the dropbox. Order of magnitude improvement over other setups.
For more context on this excerpt, see:

https://www.linkedin.com/pulse/20141018100736-1088431-richar...
The Constitution only provides for proportional representation in the House.

There were disparities in population during ratification. This was a necessary compromise to address the concerns of the smaller states.

The system is working as intended.
Firewatch, a new game from Panic, will launch 9 February 2016
And when you feed that output back as input, the top suggestion is:
"Yo, fix the goddamn civil servants before"
4MB buffer to be exact [0].

[0] https://books.google.com/books?id=K8vUkpOXhN4C&pg=PA950&lpg=...
It's not dying: https://www.youtube.com/watch?v=P9M__yYbsZ4
HN would be much better if it allowed the creation of "subReddits" as Reddit does. Currently, you cannot browse HN by topic (or subReddit) as you can Reddit or Slashdot or Voat.
This site should help thus Watsi i.e https://watsi.org
Hi! I thank you kindly for your lovely thoughts! Haha, please! They are very specious! Thanks! :-)

99/100
Cascading failures and human error happen in all kinds of complex systems. You can't really say "that doesn't count" just because the failure was easily avoidable in hindsight.
Chatting instead of posting comments seems like a cool idea. You just need to get enough installs so you have a critical mass of people chatting, then it should build up. Good luck with the idea!
Data retention laws and data obfuscation
Of course, given the historical fact that traditional project management doesn't work and the estimates are a farce, why should we happily continue doing this cargo cult uselessness?
Cadmium never decays. It isn't dangerous for 10 kiloyears. It's dangerous forever. And I guarantee you that your average barrel of cadmium is worse to deal with than your average nuclear waste flask.

Even more than that, a nuke plant generates, amortized, several tons of waste per year. A few flasks. Which can get shoved into a volume the size of your garage. And then you basically forget about it. Unlike, say, a coal plant, which generates a reservoir worth of awful ash a year. Containment isn't even an option there.

Even more than that, even if our nuke plants vented directly into the atmosphere every now and then they'd still put out less radioactive waste than coal plants. Seriously, the only reason nuclear waste is dangerous is because it's concentrated. If we held nuclear plants to the same standards we do coal plants, "safe, permanent disposal" would be as simple as dumping it into the ocean and making sure it mixed up.
> If some of the technologies that can transmute waste intro shorter lived stuff come to fruition, fantastic.

Today we could be reducing the volume of HLW if the US deployed pyroprocessing and cadmium distillation. Unfortunately for the USA, those technologies are more mature in Korea.
It's been compulsory in New Zealand since the late 80's or early 90's. I'm sure initially people felt like dorks but after 20+ years its normal. People will get over it.
Announcing a $400M Fund for Startups on AngelList
Software time/cost estimates are essential. If I run a business, I need to have some understanding if an investment will have a return. If I have no way to gauge that at all, then there are many more predictable endeavours where I can spend the money and realize a return. When you invest, do you simply say the future is unknowable and bet on raw emotion? I should hope not. That's not to say you may err in your judgment of available facts, you may still lose, but at least you understand some of the parameters about what constitutes success.

Software time/cost estimates are exactly that: estimates not guarantees. We tend to think of such things in terms of project management and contract enforcement. If anything, that is where we go wrong. What we should do is not try to understand the whole project in terms of an unalterable roadmap, but rather as a guideline for managing expectation and for informing decisions that are made during the course of a project. I use my estimates to sell the project, yes, but I also tell the client that as we go along we will be making many decisions that will move us away from our initial plan as we better understand both the issues and opportunities a project affords. Sometimes spending more time than planned will make sense, sometimes it won't and we cut the feature. Sometimes we find that we have failed to identify important features and sometimes we identified a feature early on that isn't as important as we thought. The overall project plan and estimate does set a benchmark to ensure the economics are still correct, after all if we lose that we lose the point of the project entirely, but we don't turn that plan into dogma. We don't lose sight of the reason that caused the project to exist.

So, yes, we need estimates no matter how hard they are to get accurate. What we need to stop doing is equating that estimate as an oath to be upheld regardless of what new knowledge comes along.
> They are scheduled to be online in 2018 and 2019.

Unfortunately as is universally the case with nuclear construction (see the debacle in the UK as well), both reactors recently announced significant delays of ~18 months and at least an additional billion in cost overruns. There may be an economical way to build nuclear but we clearly don't have it.

http://www.power-eng.com/articles/2015/05/delays-at-vogtle-v...

http://www.bizjournals.com/charlotte/blog/energy/2015/03/uti...
Family Guy joke.
This is my favorite book on the state of atomic energy: http://www.amazon.com/Atomic-Accidents-Meltdowns-Disasters-M.... The book looks at the history of atomic accidents from an engineering perspective right up to Fukushima. The author is a nuclear engineer and understands the systems he talks about.

Interestingly I came away from a book about atomic disasters being pretty pro nuclear, at least more so than I was before reading the book. Here are my main take aways:

- The US needs to start back up the waste reprocessing program. Jimmy Carter banned this in the hopes of setting a good example for other countries (one of the byproducts being plutonium). But everyone else continues to process nuclear waste except for the US and it just makes the waste storage problem that much harder. 95% of the fuel that comes out of a rector is harmless U-238. We should only be burying a tiny fraction of what we currently bury.

- We need to start innovating beyond PWR and BWR reactors. Things like liquid metal fuel reactors have the nice property of not having to worry about them melting down because they are already melted.
No, the prof I was referring to was Chinese. It's pretty hard to identify that one prof who can't speak English and can't teach, when there are so many to choose from.

That said, I've also had great profs at Berkeley as well, though I suspect they do it out of the love of their profession the subject matter, rather than career advancement.
the suggestions for impolite needs fix?

If you enter vulgarities and offensive language, the suggestions seem to be just as bad.

""this is a fucking stupid task and idiotic in it's delivery.""

edit: it's a really cool tool, actually has helped me to make polite to uber polite.
Would you care to elaborate? AWS is a Business Unit of Amazon, how is the relationship complicated business wise?
I don't follow your logic. Safety on modern cars is taken pretty seriously. I don't think many people die in cars today in 10 mph wrecks, but that's plenty fast enough to die on a bike going head-first into the ground.
Added it to staticgen.com now - love these small non-general purpose static gens :)

Reminds me of ThumnsUp: https://github.com/rprieto/thumbsup
And/or stl files for 3D printing...
Companies have a wide variety of hiring practices. By making yourself bad at one hiring procedure but good at another, you'll select for the companies that are selecting for developers like you.

Getting a job is not a numbers game unless you just want any old job and really hate jobsearching. I've found that making myself unappealing to the organizations that I wouldn't actually want to work for has paid off significantly in both financial and job satisfaction terms.
London wasn't out of the way. Londinium (https://en.wikipedia.org/wiki/Londinium) was the heart of their administration, the provincial capital, and a commercial center as well, which could merit imperial visits. Romans storing nuclear waste there would make about as much sense as Americans storing nuclear waste in Okinawa or Baghdad or Kabul (that is, none).

Somewhere out of the way then would be like the Sahara, which not coincidentally, is still out of the way; and desert regions are also where it's usually proposed to store waste.
I see that camera toted by a lot of photographers after I go "Oh wow, these photos look great!"

As much as it's the artist over the tool - I think I'm going to invest in this camera as my next step into photography. I've seen nothing but praise for the GX7.
Show HN: Extendable/Editable Travel Guide Map and App
NFL Gets Prominent Sports Sites Suspended From Twitter For Posting Vines & GIFs
Windows had it first and then it was added to Linux (at least that's what I'm told).
I stand corrected :)
Because we need to get off of fossil fuels and wind/solar is intermittent, so it can't provide base load power without huge numbers of batteries or other technology that hasn't scaled up yet (e.g. molten salt/flywheels).
> Safety on modern cars is taken pretty seriously.

Yes, at the time of manufacture. How about maintenance? If your car has severe mechanical problems, you are endangering everyone around you (and of course yourself as well).

> I don't think many people die in cars today in 10 mph wrecks

Not that many cars go 10mph. Why should it be some kind of benchmark for car safety? Freeway speed limits are usually between 55 and 70mph, and are violated with a level of casualness that varies by state.
As said above helmet usage is compulsory in NZ (As is yearly warrant of fitness for cars younger than 10 years old and six monthly check-up for cars over 10 years old). The five point harness is not the same thing though as you aren't harnessed to a bike. Compulsory seatbelt wearing and air bags are more apt, and these things are currently in place.

One thing that is interesting is that compulsory wearing of helmets has not decreased fatalities to any great extent. But if I ever have an accident I am sure glad that I wear one.
Cool, when can I look forward to a power plant using such a design?
Surprisingly, there are very few studies on the actual effectiveness of bicycle helmets. Lots of times, articles will just say "X% of people that are injured aren't wearing a helmet". Which of course is next to worthless.
Not sure about the above poster, but the only times I've heard folks claim that macports broke their system was when they were setting DYLD_LIBRARY_PATH.

edit

should be noted you really ought not do this and if you absolutely have to you should use DYLD_FALLBACK_LIBRARY_PATH
The Linux stuff, but what about the Windows stuff?

Last I checked, there was someone from Eltima Marketing proposing the site be updated with some revenue sharing deal to their proprietary and costly Windows and etc. USB over IP solution.

Also, there were numerous users in their forums posting signed and patched drivers for modern Windows since the ones available for download aren't signed, so I saw.
> Function.prototype.toString() should be deprecated anyway. There are very few to no legitimate uses of it that are any better than awful eval() hacks.

The toString() on a function is very useful in more ways than awful eval hacks. The most useful way is how I use it in msngr.js for creating keys for methods that handle events.

So let's say your custom object has a way to handle events. Surely you want to allow more than one method to be hit for each event, right? So internally to your object you keep track of this by the method's contents as a sort of key or hash that always points to that specific method. Then you can remove handlers by simply passing in a method. No requiring special keys or anything to identify a function as a function is its own key.

Make sense? It's most useful for developers who work on frameworks or objects that require some custom eventing that can be used by multiple places.

If you really want to deprecate this functionality then you need to provide a way to hash to create a unique key based on a function itself. The only other way around it is adding more verboseness to the language or event handler calls which doesn't add anymore clarity.
I thought it might be referencing to "Mega Upload"
V8 JavaScript optimization killers
I do not get why this is a post, might as well post "techno" on the way?
> It's more expensive than the alternatives, including wind and solar.

You're probably looking at best-case vs. worst-case here. The expense of getting sufficient wind power in areas without wind or solar power in low-light areas can get pretty crazy. And a large portion of the expense of nuclear power is regulatory hurdles we impose on it.

> Its failure modes have so much more potential to be catastrophic than the alternatives.

The success mode of the current most popular alternative (fossil fuels) has proven much more catastrophic. As for other things like wind and solar power, I think a lot of people are unconvinced that it's fair to call them "alternatives" yet. Nuclear has proven itself as a good general-purpose solution and they have not, and nuclear seems to be a lot better than what we are doing now.