skysight-inc/HackerNews huggingface dataset:
A fun article. But, it seems odd to me that almost all of the focus in lock free queues are unbounded linked-list based implementations.

Unbounded size is usually undesirable in production systems. It's a fine property to have sometimes, but I would always default to a bounded queue. When a consumer is overwhelmed the producer must experience push-back.

Linked lists produce prodigious garbage. If you really are pushing the performance shown here, 10 million per second, that is a lot of garbage to collect, even if it all dies in Eden space.

Linked list based implementations are extremely complex. My first lock-free queue implementation was based on Java's ConcurrentLinkedQueue. It was a monumental headache, and I didn't quite complete it. Compare that to a (admittedly single-consumer,single-producer) array based queue and the explanation is fairly straightforward, by comparison. You can extend the single-consumer, single-producer to multi/multi fairly easily and still be able to explain how it works to most programmers. (all written in Go)

I am sort of confused by the amount of attention these complex linked-list based queues get in the write-ups. If the intention is to introduce lock-free techniques and concepts then I think the array based queues are much better. If you want the best performance with low garbage and predictable latency I would expect arrays to win almost always. Very happy to be proved wrong here.

The best collection of write-ups on lock-free array backed queues is here

http://psy-lob-saw.blogspot.co.uk/p/lock-free-queues.html

My code to back it up :)

The queues I have built are based on work by Martin Thomson (of disruptor fame)

https://github.com/fmstephe/flib/tree/master/queues/spscq
Show HN: Load Impact 3.0
Noob questions: Can I run Windows like this? Does it enable Qemu support? Can a non ARM OS be emulated in ARM hardware? (Probably not by hardware extensions, right?)
I have a feeling a lot of people are going to say thinkpad. I have one and haven't turned it on for a couple years but I still think that's a common suggestion. The dell XPS 13 that someone mentioned in this thread seems like a decent macbook air replacement.
That is a stretch.
I totally get your point, but I would argue that they've _never_ gotten any real advantage out of it. They just think they do.

I'm not sure that's going to stop. It's just the way that people think they have to do things. Cargo cult mastering techniques, basically.
Haha, don't worry I knew. Your post had fantastic delivery. I wanted to congrat you for the incredible joke. This isn't reddit I figured that comment was the best way to do so. It comes off as innocent yet re-enforces the message.

Guess it was too innocent.
But why is it beautiful? A CZ is indistinguishable from a diamond until you look at it with a microscope, yet maligned as an inferior piece of jewellery.
Recent HN posts of related Reddit comments:

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

https://news.ycombinator.com/item?id=9225154
Oh they do indirectly. The continued ubiquity of Windows reduces the chance of something else stealing some momentum first there and then wider perhaps globally.

It isn't really "if they are going to steal it we want them to steal ours" as quoted directly, it is "if they will only accept free, the we'de rather they be part of our ecosystem for free instead of encouraging someone else's to grow".
I'm too lazy to find the reference right now, but one's brain essentially has "pigeon holes" (sorting boxes) for sounds. If one's language has few vowels, one has few boxes, if one's language has many vowels, one has many boxes.

Each time one hears a sound, one's brain maps it to the box containing the closest sound.

Canadians generally use a few more vowels (and French speakers even more) than Americans do (with the exceptions of Minnesotans and a few others, who hear Canadians say "about" when they say "about). The way many (most?) of us pronounce out, bout, and about uses a vowel combination unknown to most Americans.

The nearest sound, the nearest box, maps to "oot", "boot", and "aboot".

So it's not us sayin' the wrong thing, it's all'y'all not havin' the auditory wherewithal to pick up what we're puttin' down!

Sorry 'bout that, eh?

(EDIT: When I learn a new language, I spend quite a bit of time with my eyes closed, listening intently to the sounds for which I have no boxes, mouthing them as best as I can, consciously building a new box.)
> How is democracy or any discussion as a society supposed to work if people don't know about the issues going on?

It's not supposed to work. Democracy makes us fell like we have a say in politics, but we really don't.

If we did, there wouldn't be mass surveillance, governments wouldn't be taking away our rights, and criminalizing entire segments of the population.

But hey, at least we can vote once every few years, for one of two to four candidates who claim to be different (but really just work for the same interests anyway).
He uses voting as an example. Which begs the question: why vote?

If you're living within a corrupt, self-serving political system (we are), then naturally the only people who run for office will be products of that system. If a candidate who genuinely wants to change the status quo somehow manages to slip in, they will be prevented from achieving anything meaningful once inside.

No matter what, none of these people have my interests in mind. So I ask, what's the point?
Hacker News isn't so much about "news" per se.

"News", I believe, should be about something new or recent. We're now talking about an article (op-ed?) written by Aaron in 2006. This isn't news and much of Hacker News isn't either. It's more just curated information.
Click the timestamp on a post. Do you see a flag option now?

Downvoting is available at a karma threshold. I think flags for comments and submissions are always available?
Taxi police just what we need

Whats next ThoughtCrime? Err operator delete that.

I was never here!
I remember everyone saying how his "old thinking" was failing in the late 90s. Having grown up and studied the market as a kid in the 80s, I was on Warren's side (plus he was someone I admired). Sure enough, that "internet economy" blew up.

I eagerly await this next implosion too. Billions for companies that make nothing. Well rich people need to park their money somewhere. Just don't be the last one holding cards.
Some things mentioned in this article
- living 8 people to a room
- have to give kickbacks to their manager
- working full-time without paying taxes

These are nonsense, definitely not happening.

Infosys pays enough for people to live on their own. They may share apartments like many others in big cities.

Noone gives kickbacks to their managers at infosys, or any other big indian companies. Managers have to sometimes beg the employees to take up unfulfilling assignments.

How can one work in the US without paying income taxes?

I guess when you are talking on any sensitive topic, you might also talk nonsense to make it sound worse than it is.
Yep, there was a risk. But with pokemon games they would say "saving game now" but the actual process didn't start until the whole text appeared on the screen - so as soon as the letters started appearing you could kill the power and it was fine.
Maybe? That sounds like a good idea.
In this attack there is no subsequent check.
I think what you're trying to do at Grasswire is interesting, but I feel like here you're arguing against the very point that Swartz was making. I think of all people he is the last one that you could accuse of not caring, and yet he claims not to have read the news for his entire adult life. The difference is that he voraciously read books [1] and took what I guess was a long view of issues of interest, which I think is what he is promoting here.

That said I still like the idea of being able to "touch base" with the news as it were - something that I can scan quickly and, if I'm disciplined enough, filter down to the bits that are actually relevant to me. Most days, hopefully, that's nothing at all.

[1] e.g. http://www.aaronsw.com/weblog/books2010
The Economist. Albeit overtly liberal (in European sense), the content is well written, well discussed and subscription policy is great.
> JavaScript for all: no language zoo, you can use one language from your browser to your back-end

Javascript is the only language native to the browser.
Even on more modern Pokemon systems (nintendo DS) you could upload a pokemon to the cloud servers and watch the network traffic lights on your router. Shut off your DS as soon as your pokemon had been uploaded and when you start up your game again, the pokemon is still in your party. It's also in the cloud so you connect and pull your clone off the server.
The lunatics are in my hall
The paper holds their folded faces to the floor
And every day the paper boy brings more
I think what they are saying is hopefully there is some mid cycle refresh that fixes this problem quietly.
America remains top arms seller to the world
Lua is a great language, but JavaScript has become something of a "lingua franca" for web development. ArangoDB's API is based on HTTP and JSON, so JavaScript was an obvious choice.
I use Webstorm for all the node development because it is a great integrated environment that really doesn't get in the way. It also lets me use sftp to do quick file deploys to a test box for experimenting etc all in one place. And while I won't say the debugging is perfect, it is pretty damn good and works well.

That said, I will still use vi to do small text edits or JSON file changes etc if I don't need the entire IDE. So I think it is a pick the best tool at the time. I also will use notepad++ if in Windows the same way I would vi on my Mac or a server.

I personally haven't used SublimeText but I know a lot of people swear by it for its flexibility.
No, don't do this. Dump the woman and find someone who's not spoiled and vapid.
Tips for Recruiting Gen Y Agents
I just registered. Great work! It's dense, but I think dense is good - it's about information after all. Also, I love the "fact-check" feature. I'll try to use it for a few days and see if it enhances my life in any way.
It's roughly the same as the change that happened when we stopped using leaded gas, which seems to have had a huge affect on society. http://en.wikipedia.org/wiki/Tetraethyllead#Toxicity

Also it's just one relatively simple thing. Imagine we find several things that can all increase IQ by a couple points...
1. Even Apple doesn't get those kinds of margins on their products.

2. Beats By Dre are garbage, and you can get much cheaper products that perform much better. That's part of the irony here.
I was planning on using php for backend and javascript+html5 for front end.
Show HN: Parade.app
I'm one of those with an affected screen. Upper left hand corner has quite bad banding that really get in the way in anything other than neutral light. In no way it this merely a cosmetic issue. As others have pointed out the screen is what you look at and its called anti-glare... preventing glare is literally its function.

I've been buying MacBooks for about 10 years now and quality control wise they seem to be struggling a bit which is to be expected when a manufacturer takes on mass production using edge techniques. Thats no excuse for not fixing the issues that do arise though particularly given the margin they have. My 2006 MacBook Pro is still chugging along whilst I've a 2009 with a few issues (one of which Apple did fix under warranty) and now my 2013 screen is quite literally coming apart.

I'm seriously considering jumping ship at my next refresh but what to is the problem. I actually like the aluminium construction of the MacBook so perhaps the Razor Blade with either Mint or Ubuntu is an option (anyone have any experience of this combination?). It has the added benefit of having a semi-respectable GPU on board for some light-weight machine learning play (again anyone have any experience using a Razor Blade 2014 for this?)
I've really been enjoying the use of sysdig for performance and other analysis. It makes it quite easy to find what you need quickly. I do prefer built in tools though, so I'll have to look at this.
I've used solvents on prior macbook screens. Maybe I shouldn't have but nothing like this has ever occurred. Nothing like this has ever happened on any LCD screen I've owned. It seems like a design flaw or a manufacturing defect to me.
They passed a similar law here in the US (http://www.fcc.gov/encyclopedia/loud-commercials) but unfortunately, it did not help very much because sound engineers use tricks that make the commercials meet the technical requirements while still being loud to the human ear. For example, they mix a loud opening and a quieter closing so the overall decibel level averages out but you still get startled when the commercial starts.
Cities: Skyline is a great game. It really fills in the gaps that I had from Sim City 5, but it's iterative; it's definitely "picking up the pieces"...

I am hoping that with some future updates this game gets to the point that it replaces the Sim City franchise completely for me, but it's off to a great start.
Nitsan Wakart gave two presentations about lock free queues.

https://skillsmatter.com/legacy_profile/nitsan-wakart#skills...

I gave a talk on simple versions of those queues in London.

https://skillsmatter.com/skillscasts/6163-high-performance-s...
So is the interrupt thing a real HW bug in the RPi CPU or might this be solvable with some setup magic on the VC black box side? And why does isolating one core on the host side suffice, without restricting which cores the guest can run on? He's running the guest SMP enabled in the example posted.
Very interesting concept. I signed up; we'll see where it goes.

One thing to note, though - on the left I'm seeing a number of duplicated entries, with the duplicates immediately after the original. I'm using Firefox, if that matters.
uglier and more complicated because you're constructing a proof of something

It's rare for the programmer to actually produce proofs that a piece of code meets the spec given by its type[1]. Those proofs are generally produced by the type checker, possibly with occasional hints from the programmer.

1: Even in Coq, detailed specs for some code are typically given (and proven) separate from the code itself rather than in that code's own type.
Not sure if it's still a thing but I used to have a TV that did this. Basically if the overall volume increased more than a certain amount it would drop it a little bit. I believe you could set it by the input you were using so it applied to cable TV but not your A/V input (so it didn't mess with movies on DVD for example).
The Week [1] is an excellent subscription magazine that comes every Friday to my door. It's UK-centric, but has international news as one of its many sub-sections.

[1] http://www.theweek.co.uk/
I think the problem with news is that it is has become driven by the imperatives of Google (a company which makes money from advertising). Those imperatives lead inexorably to a thirst for page-views and page-rank, and horrible sites like buzzfeed. I've noticed this evolution in previously respected publications like The Guardian or The Independent in the UK (much Guardian coverage nowadays is centred on clicks, as are initiatives like the i-100).

Here are some tenets to which I think any news company aspiring to change the field and report news responsibly should think about:

Popularity is poisonous and the enemy of the good - what is good or even factually right is often not popular

Context is key - without context, a fact can be meaningless or actively misleading (e.g. the most liberal senator in the senate, 45 minutes from a chemical war from the dodgy dossier).

On the ground observation is key - this is something modern tech has changed in a very positive way, though it does also allow for rumours and misinformation.

Analysis is key - without analysis from informed observers, lots of news is hard to digest and understand - it provides context

Balance is an illusion - Opinions always colour analysis and the facts reported, we should be up-front about this - every org and person has them.

Fact checking with primary sources is key - how can you possibly fact-check factoids that your readers are constantly upvoting? How can you possibly fact check an opinion?

National news is often horribly biased, and national newspapers usually pander to the government/demographic they serve, especially in time of war.

Most public outrage is wrong or at least ill-founded - we have representative and informed democracy to try to avoid the rule of the mob.

Quick news is the antithesis of thoughtful, incisive news

There's plenty of buzzfeed-esque junk out there trying to recycle news and readers as quickly as possible, and it is neither viable in the long term nor is it good for news or for readers. So I disagree completely (as does the article I think) on what you consider to be a good news publication.

PS Your website doesn't even show me what it does before it asks for email, you might want to consider changing that. I tried a fake account and looks like some kind of buzzfeed reuters mashup, and I'm afraid guilty of a lot of the sins Aaron points out.
Damned if you do, damned if you don't.

We're consuming propaganda either way. Media outlets chose what to write about and what not to cover, then stories that match people's biases tend to get disproportionately popularized. I hope that this fact-checking feature can at least do something against news sites publishing obvious lies and misinformation.
Dead simple pubsub protocol
Could Wearable Computer Radiation Be Harmful?
Me neither. Now I'm sad because it seems like a great magazine :/
"I have solved this political dilemma in a very direct way: I don't vote. On Election Day, I stay home. I firmly believe that if you vote, you have no right to complain. Now, some people like to twist that around. They say, 'If you don't vote, you have no right to complain,' but where's the logic in that? If you vote, and you elect dishonest, incompetent politicians, and they get into office and screw everything up, you are responsible for what they have done. You voted them in. You caused the problem. You have no right to complain. I, on the other hand, who did not vote -- who did not even leave the house on Election Day -- am in no way responsible for that these politicians have done and have every right to complain about the mess that you created."

-George Carlin
Return of static websites
Don't even get me started on knock-off fake dive torches.
Fast foods have pictures.

Also I never see a menu full of pictures good looking. Typography > images.
All you wanted to know = briefest introduction ever.
Exactly: "succeeds in spite of" rather than, "succeeds because of."
She sounds like a real peach.

Honestly that opinion seems more colored by her political views (i.e. breast feeding good, formula evil) than any scientific or medical evidence.

I've met lactation consultants just like that, and they often go into diatribes about how hospitals/doctors are evil and push formula on new mothers (which wasn't true at all, in fact the hospital we used had a nurse specifically to help mothers breastfeed and offered heavily subsidised classes).

While getting started with breastfeeding is hard and mothers should be encouraged to keep at it. Some mothers simply never produce, even after trying that hard, or that long. At a point you're putting your child's life in danger if you keep trying without results (and, no, I do not mean after just a few hours -- that's normal, I mean days).

Honestly I'm pro breastfeeding but I find a lot of other pro breastfeeding people insufferable. No, sorry, but people are in fact good mothers or fathers if they use formula. No, sorry, they aren't automatically ignorant if they use formula. No, sorry, you or your child aren't superior because you breastfeed. No, sorry, it really isn't appropriate to approach random people in the street and lecture them on why they're raising their child wrong.
The expected lifecycle of an engagement ring is one engagement. Getting her something "used" would be even worse than something "fake".

And diamonds are a heavily depreciating asset. A car loses about 10% of its value the second you sign the purchase contract. With a diamond ring, it's more like 60%.
This is true of sports as well. I can't talk to the average person (and family members) about asynchronous job queues but I can talk about how much the Knicks suck.
How would Lawrence Lessig feel about this article? Lessig obviously believes that the U.S. political parties' activities are consequential to everyone's lives.

Aaron seems to reject the notion of the implicit involvement, in a democracy, of every citizen in the affairs of their government. We supposedly elect (a significant portion of) the government, we pay for its activities, so we should care about what it has done and continues to do in Iraq. Virtually every extremist who has attacked the U.S. and lived to be captured and give statements in trial has cited U.S. foreign policy as a chief motivation for their actions. This alone should have us caring about U.S. foreign policy.

I agree that news covers too many topics to report on any of them consistently well (or guard against interested parties shaping the news into propaganda). I think there's a Poe's-Law-type meme about that.
Well I went through an approximately similar process in an Apple Store in the UK.

What was proper shit is the Genius Bar dude tore the original printed receipt in half for the initial purchase (handed over to act as proof of purchase) and wouldn't issue a receipt for the replacement machine. Total PITA from a receipt/warranty/tax claim POV and probably completely illegal.

I flipped my shit, spoke to the store manager and was simply asked to leave and there was nothing more they would do.

So yes, scumbags. Makes Dixons and Argos in the 1990s look good.

Edit: ironically my boss just came back from lunch after flipping his shit at them because they want to charge him £200 to replace his iPhone 6 after the WiFi packed in.
It's apparently not possible to use a space in the password. Please don't limit the characters or length of a password. Thanks.
Because a CZ can be easily damaged, whereas the hardness of a diamond makes it very resilient to scratches, damage etc.

Also, the beauty of a ring doesn't solely exist in the diamond, the setting is a thing of beauty - the piece of jewelery itself.
That's why I limited my news to Hacker News. Whenever there is an event that actually matters - like a war or a cataclysm - it will be here, upvoted and with comments made by people who know what they're talking about. I don't mind missing the 99% of the typical news sites content.
I believe what makes the author excited is the fact that Youtube makes this normalization in the first place, means that a properly mastered track and a track mastered for maximum loudness, will play at roughly the same volume. The benefit is that tracks where the dynamic range have not been compressed, will sound far better than the loudness tracks.

In other words, there is no reason for the studios to master for loudness (at least for Youtube audio).
Save Lost Weekend Video
So that he didn't have to join Occupy?

http://media2.s-nbcnews.com/j/MSNBC/Components/Photo/_new/g-...

Or have we forgotten about that already?
Yep. I'm afraid if the operating system will write web developers in JavaScript.
No dive lights over 1000 lumen? My friend, you are missing a HUGE range of lights. Light Monkey, Halcyon, L4M, FinnSub, MB, dozens more brands.
Andreessen Horowitz-Backed Leap Buses Are Hitting SF Streets This Week
I use Bitcoin Wallet (app) for Blackberry and Android. Super easy to use.
That's a bizarre exaggeration. It's more like 10-20%
This virtualisation is just for running ARM guests, so you can't run Windows.

There will apparently be an ARM version of Windows 10 for the pi, but that's a cut down version for internet of things type apps.

You can emulate x86 on ARM with something like QEMU. But the performance wouldn't be good enough for any modern OS.