skysight-inc/HackerNews huggingface dataset:
I think he has some iffy premises. I'm not certain, but I guess pthread mutexes probably use userspace mutexes under the covers. If they don't you could select a library that does. Grabbing uncontended mutexes should be basically free. It is definitely not a good idea to write all your own abstractions, as he suggests, unless you have a really great understanding of the issues involved. You'd probably still get it wrong sometimes even with that.

Affinity is definitely valuable, but I don't think you should need to disable interrupts for most applications. I'm not even sure if it is generally possible, since interrupts are sometimes used to swap pages or notify the kernel that a page isn't mapped or that a blocked resource is now available. The reason affinity is valuable is not because of kernel interactions. It's because of NUMA and cpu cache swapping. Affinity can prevent thread migration, which is expensive mainly because data also has to be migrated or else accessed in a less efficient manner. Likewise, make sure that if you dispatch an asynchronous call, the handler runs on the same core you sent the call from.

Finally, it's a common fallacy in these kinds of posts to act as if threads can't be used to do shared-little or shared-nothing-style multi-programming. They often aren't, but there's nothing that prevents it.
I would just about buy it purely on the basis of being 4:3, were it so.
I hope this means MBA Retina will be coming soon :)
Innovate or Die - It's time for Startup Vitamins
I use Dojo's charts. http://dojotoolkit.org/features/graphics-and-charting
>> MBAir is best dev laptop I ever had.

seconded.
Maybe I'm missing something, but I'm not getting the point. It seems to me there's no fundamental difference between multiprocess with shared-memory regions for anything that needs to be shared and multithreaded with mostly thread-local storage plus some shared data. The kernel is going to multiplex your single-threaded processes among the available cores just the same as it will multiplex your multiple threads among the available cores.

Multi-threaded techniques, like mutexes, don’t scale on multi-core. Conversely, as Snort demonstrates, you can split a problem across multiple processes instead of threads, and still have multi-core code.

Synchronization is synchronization. There are inter-process synchronization primitives, including mutexes. And you can use lock-free synchronization in a single-process multi-threaded scenario.
Putting ubuntu on the chromebook would really have given a much better experience than either the stock or the iPad.
come to think of it OpenVPN uses UDP also, and that's considered quite secure. So what kind of encryption are they using? Rolling their own sounds scary.
Yes.

Nevertheless, people in Florida are able to exert control over people in Alaska, and vice versa. That seems incredibly absurd to me, what do they share beyond a common language and currency? Even the distance between Portugal and Finland is only half of that, and the EU is rather different than the US Federal Government.

If we all needed to band together to increase our military might in order to keep razing hoards of Canadians at bay, then I may see the need for it, and clearly the importance of common travel and trade agreements cannot be overstated, but right now our system enables politicians elected in flyover country to tell people living in Portland what they may or may not do in the privacy of their own home. The opposite is equally unfair. Where is the value in that?

These are different communities, different regions, different societies being forced to play politics with each other. If we need to start sacrificing the quality of the democracy (reducing representation per individual) in order to keep a system so absurd running smoothly, then it should be downsized.

Chop it all in half, or more, until the size of it resembles a more reasonably sized country. Two to four federal governments instead of one would make more sense. Representation per individual could increase back to previous levels without resulting in deadlock.

Lest I come off the wrong way, my problem is not that the Federal government is strong, but rather that the Federal government covers a regions and people too diverse. I'm not a "state's rights" nut, just a Cascadia nut.
The extra dosage for living near a coal power plant is really low - about 2% of a chest x-ray per year. The extra dosage for living near a nuclear power plant is nearly non-existent at a third of that.

The chemical effects of the pollutants in fly ash are a far bigger concern than the radiological effects.

Edit: Neat chart (http://xkcd.com/radiation/)
As a non-american I think the healthcare system is broken.

This is clearly a nexus between insurance companies and hospitals to drain people of their savings. They together have a good interest in keeping health insurance at very high levels.

The barrier to market is very high in both the sectors because of government regulations. If I was in that couple's place I would have used the $80k to fly to India and get treated in the top most hospitals such as Tata Cancer Hospital. for $80k I would have got VVIP treatment.
Yes, in Firefox it is impossible to scroll down.
Code Together with Hillary Cage
Web Retargeting vs Facebook Exchange, 468 cross-exchange campaigns analyzed
Here's a contrarian investment approach: if what you say is true, then buy Exxon. The only way electric vehicles and the "green" movement maintain momentum is if oil prices stay high. Consequently, Exxon wins.
as the size of the input to the procedure increases you will indeed be calculating with numbers with a huge amount of bits
Rhode Island always keeps it classy. Though I'm honestly surprised it wasn't Dunkin Donuts.
Thanks Alex for posting the first quote from a sportsperson I've every actually found inspirational.

OP, hang in there and find someone you can talk about your feelings to, even if you have to keep your "confident face" on all day.

Failing that, listen to a lot of Nine Inch Nails. No, wait, that was Dotcom 1.0.
I was delighted to see Bastion, a game I played on my Mac, available on the Chrome Web Store using Native Client (https://chrome.google.com/webstore/detail/bastion/oohphhdkah...)
1tb free online storage and 100mb/month free data. that's hilarious. is the cost of mobile bandwidth still ridiculously high in the states?
Bullshit? You didn't really disprove my point.

Samsung, Sony, etc won't be able to make a decent OS but they'd still make an OS that they have some control over.

Why the hell would phone manufacturers use an OS that they can't customize and will make their phone look like every other phone out there?

Look back more than a decade ago on feature phones. Phone manufacturers didn't use a standard OS. Some of them created an OS built on Java ME but you still need to code for a specific manufacturer for your app to work.
Seriously? Downvoted because I won't engage with someone being abusive?

Okay, fuck HN.
Nexus 4 wireless charger slipping off?
Just an hour back got my "orb" charger, 2 of them (I have 2 Nexus 4). With lot of excitement I placed the phone onto the orb surface, in 10 mins I found the phone lying on the phone. Tried both the phones, both the chargers. The orb surface just doesn't hold the phone, it SLIPS OFF.

Check this video. http://www.youtube.com/watch?v=DKTORRMeoxE (Posted by another person).

As I searched forums I found many people saying their orb has a magnetic surface it is too tightly held, but for sure mine doesn't have any magnetic hold. It is just working on silicon friction. Anybody has more info on this? Does your orb has any magnetic hold? I would hate to return this back to Google. But it looks completely unusable.
I agree completely. The VA is a excellent example of a national healthcare system. Talking to veterans who've spent time in the VA, and visiting VA hospitals are a surefire way of convincing people what side to be on for the NHS debate.
Not common, standard. Having the customer contact you isn't a frequent occurrence, depending on where you do business. The British do not wish to talk to you, they assume that you're the one trying to defraud them by default. Swedes will pretty much never do charge backs.
It is a hundred thousand dollar, its not like the market is large. Sure there are many buyers out there with good money to spend but there are far more exciting cars in that price range. Finally, its electric ONLY. Supercharger network or not, your tied to cord.

To put their numbers in perspective versus their losses and debts, they want to sell nearly twenty thousand cards this year. Mercedes sold more than that in January just in the United States. Toyota sells that many cars in four days, US alone! There are also stories about supplier problems, something small volume cars suffer a lot.

Sure the luxury market doesn't put up those numbers but the brands there are well established and storied. Tesla is neither.

Tesla's fate is probably to be bought by Mercedes or similar. Someone who has the ability to put a large number of these on the road, with a large support network, and a trusted name
DrDreams you are hellbanned. I don't find your comments especially terrible so perhaps you were just unlucky or something, so I'm telling you.
he should encouraged and cheered

All of Musk's recent ventures (Tesla, SpaceX and even SolarCity) have been heavily subsidized by government (federal, state and local). It certainly seems like there has been a lot of cheering and a lot of positive thinking. Siemens is even running a TV add where they celebrate SpaceX's success.

I hope he succeeds, but when it comes to investing money, I don't want to make decisions based on hope.
Your average end user isnt as average as you think they are and can return the hardware if it does not meet their needs.
That pretty much explains the Pixel then.
I don't blame you for it, since it's long, but I don't think you read the entire article, let alone the second page. I also don't think you actually understand how hospitals bill insurance companies. I'm not saying insurance companies are great: they are not. But their profit margins are substantially smaller than these "non-profit" hospitals featured in the article. Hospitals don't send a high bill to an insurance company, and then play a game of who pays what. All the rates are pre-negotiated. The second page clearly states that insurance companies, when they pre-negotiate, want to do so from the Medicare price as a starting point. Hospitals want to do so from their exorbitantly inflated "chargemaster" central pricing table. As hospitals and clinics have consolidated, they have increased their leverage over insurers so that they can force the insurers to pay far more than they used to.
Exactly, a "$249 ARM Chromebook" hits bulls-eye what Chrome OS laptop should be. Developers(and other users though less likely) would not mind paying $249 for a laptop which obviously has constraints compared to its more powerful and more expensive counterparts.

Chrome Pixel looks like a powerful laptop plagued by the limitations of Chrome OS. Chrome Pixel is not going to be (in my opinion and probably Google doesn't expect it to be either) a sellout product but it highlights Google's vision of how laptops would be in coming years.
Don't web developer's need access to image editing tools?
My $PS1 always contains the hostname of the machine I'm SSH'd into IN ALL CAPS so that I never do this (again).
"You prefer 91 octane for your car as well? Nice"
depends on the movie - old favorites, can help set the mood (your brain already knows whats going on-screen).. documentaries where you don't have to look at them all the time seem to be good too.

Anything new and action oriented will probably will make you loose your attention track.

Sometimes my brain is musiced-out and I need something else in the background. Some that I know by heart: Star Treks, Real Genius, Tron, War Games, Hackers, True Stories, Koyaanisquatsi, Slackers, Clerks. Working at home the idle/predictable conversion in the background sometimes helps.
By not including the important word - Unethical - in the original title you weaken that argument, because you commingle ethical and unethical experimentation. Most human experimentation is done under rules to help keep them ethical.

By focusing only on the "human experimentation" part, it is you playing with words.

I gave a link to an example of how a private company RIGHT NOW might be doing things which are not ethical, under the rules for academic and pharmaceutical research.
Rationality (in this sense) is a matter of perspective, and useful only as a tool to help see the rationale behind decisions.
Because nobody wants to buy a $1,300 machine that they have to futz with right out of the box.
But to his own employees? I understand in a public PR, but his letter was internal.
Wait, they were down to JUST $28M IN CASH in February right before taking yesterday's financing? If my math is right, looking at their 2012 financials on PrivCo:

Their operating expenses are about $1.4 Billion/year (Revenue + Operating loss = about $1.4 Billion they spend a year). That's $120 Million a month. $4 million a day. THEY WERE DOWN TO JUST 7 DAYS OF CASH! How is that NOT the very definition of a "distressed financing" situation? Correct the record Primack and admit when you're wrong - there's no shame in that - that you were a bit hasty at first, but yes they were down to a dangerously low level of cash and regardless of the financing terms or structured as technically debt or technically equity, that yes this was a distressed financing situation.
Same. Nobody gives a shit about your open source stuff on Github unless you are known for some other reason already. It's worth commenting on because of how often job seekers are told "do Open Source," as if this were an actual advantage in practice
Does anyone know if it has a "developer mode" switch like the ARM Chromebook, that lets you give up DRMd content apps and in return get full control of the machine (and install e.g. Ubuntu, or since this is an x86, maybe even some flavor of Windows?)
I am from India. Some of my family members settled in United States visit us just for dental treatment. Cost of entire treatment in India is much lesser than Insurance for 2 years + flight tickets.
Addiction to electric cars would not be harmful.
Probably because you're basing your argument on a bunch of things that don't exist, to justify a product that will take $1,300 out of your bank account today, not 3-5 years from now when it might be useful.
Couldn't the defendant offer to pay off the employee at, presumably, a lower amount than the company is asking (particularly if they pull the import embargo stunt).
Ha, I was hoping that the freelance developer was you :)
You're talking about developers, no?
Low Income
If you are living the dream in SF working for a startup and making less than $60K annual salary you are in luck! You are considered low income. You should apply for assisted living (subsidized housing) through the department of Housing and Urban Development.

Reference:
http://homeguides.sfgate.com/hud-guidelines-low-income-1911.html
> You're quite free to unlock your phone after the contract runs out

Do you have a source on that? I can't find anything about such an exemption; I'm fairly certain it doesn't exist.
Well, in that case, shit.

I hope your experience doesn't turn into mine someday. What a shady practice.
> If you're interested in faster clock cycles, check out the specs on this beast: http://www-03.ibm.com/systems/z/hardware/zenterprise/zec12.h....

You can overclock an old Core 2 higher than that, with a bit of luck and good gear. And it'll undoubtedly be cheaper than buying an IBM 'frame.

FWIW overclocking records are currently above 8GHz on Vishera using N2 cooling. Granted N2 cooling can't actually be used, but that gives you the limits of the chips. You can reach 5.5GHz on water, and 6+ on cascade or single stage (which do work as standard cooling solutions)
If you have a recent (>=10.7) version, pf [0] is installed. pf is a more capable firewall than ipfw, and can shape upstream connections in a number of ways. As an example of what it can do, the Network Link Conditioner [1] is built using pf. The version in OS X is not the most recent version in OpenBSD, but that FAQ is a good start, and the man page [2] can fill in the details.

0: http://www.openbsd.org/faq/pf/

1: http://mattgemmell.com/2011/07/25/network-link-conditioner-i...

2: http://developer.apple.com/library/mac/#documentation/Darwin...
Did you get out, or did you purchase shorts? Getting out seems to be painful from a taxation perspective, assuming you're net positive.
Considering that factorial of 1e6 has about 18e6 bits (and factorial of 1e3 has 8.5e3 bits)? Yes, any factorial that doesn't have a huge amount of bits will be fast enough to calculate that there's not much point to parallelizing it.
Sounds good, will look into and pursue it. Thanks!
When you buy stock, you should scale in. He is clearly someone comfortable now with his purchase, if it dips, as far as he is concerned its on sale, scale in.
This kid thinks I'm "alive for a reason" and "bets it's something great". Pass the sick bucket.
Tort reform would help in two ways: The obvious reduction in lawsuit costs, and also help to lower the incentive for overtreatment. However, it is pushed way too often by the conservative establishment in the U.S. as a panacea for fixing our health costs. This is completely wrong. It is a tiny chunk of the problem, and the overtreatment incentives are still there, due to profit motives of so called "non-profit" hospitals, as detailed in the long ass article.
Screwed by incubator, what do I do with my dead company?
Hi everyone,

I was part of a (non-YC) incubator in the Bay Area. We were given a small amount of money equity-free and we were directed to use the incubator's high-profile Silicon Valley attorney in forming our corporation. The attorney and founder of the incubator tried to throw out our CEO and replace them with an associate who worked for one of their VC sponsors. This ended up being a pretty awful experience, and we left the incubator early.

Given this experience, the founders have agreed that this company is not going anywhere but we're unsure what to do. We're obviously crushed, but we have plenty of other opportunities, so we're okay.

But to complicate it further, the attorney is now demanding payment for their services which total about two-thirds of all of the incubator money we even got (which has already been spent), and the attorney's firm has a negligible amount of equity in the company. Nobody other than the founders has any equity, and we didn't raise any capital.

So, HN, what have you done with your dead startups, especially after they've been legally formed as a Delaware C-corp? And, how do make sure the ghost of your startup doesn't haunt you for years to come?

Thanks!
> Instead of complaining, one should try to see the business opportunities there.

Seeing things through the lens of business opportunity is a great thing to do when incentives to provide high quality service at the best possible price are lined up with treating people well.

I'm not convinced this is the case with medicine, but I'd rest easier it if someone who worked in it could convince me otherwise.
Sure, you can make text readable by modifying only 17 different config files. Then you realize that widgets are too small to click on, but that only requires 23 different patches to fix...
There's not really a dichotomy here. He's competing against both.
I'd like to see an aerial battle-bots event. Imagine a giant transparent cube or orb 'stadium', with entry points for opposing fleets. There might be capture-the-flag or last-man-standing victory conditions, and a variety of units, perhaps including dirigibles.
The blog author is asking the community [KDE] a question, not acting as if his opinion represents the community. He's talking to me and my fellow developers, via an open letter.

KDE is a much looser community than you may be used to seeing within open source projects. You seem to be projecting to see an alpha dev who's looking back at his friends saying "What should we do with this one?" with a grin on his face and a plot in his mind. But that's not what's going on, and that's not what someone in KDE would see. What you see on the tin is all that's going on.

A KDE developer's opinion is implicitly his or her own and no one elses.
It would be pressurized before storage. However, to reach 500kg/m^3 it looks like it will be close to becoming a liquid: http://www.wolframalpha.com/share/clip?f=d41d8cd98f00b204e98...
I am a European doing the entrepreneurship thing in the US, with a wife and 2 young kids, and I find the health care situation here my biggest problem and worry. I start every month owing $1400 to some health care company that, when push comes to shove, will to avoid paying the bills, sometimes with little recourse from our part. And this is being lucky because we found a company to take us...

When I hear my friends in Spain how hard it is to start a company there because you have to pay $300 to the public health system, I have to laugh. But seriously, the current healthcare environment is effectively turning away many entrepreneurs at their prime, since family and kids are usually in the picture, as parents cannot and will not risk their family's health. Sometimes taking a corporate job seems like the only option to avoid such risk, which again, yay for entrepreneurship!
CNN/Fortune story just updated again to say insiders confirm that LivingSocial was down to JUST $28M IN CASH in February right before taking yesterday's financing.

Do the math: looking at their 2012 financials on PrivCo:
http://www.privco.com/livingsocial-receives-emergency-110m-c...

That is, LivingSocial's operating expenses are about $1.4 Billion/year (Revenue + Operating loss = about $1.4 Billion they spend a year). That's $120 Million a month of expenses. $4 million a day. MEANING NEW FORTUNE/CNN UPDATE to their story confirms LIVINGSOCIAL WAS DOWN TO JUST 7 DAYS OF CASH! How is that NOT the very definition of a "distressed financing" situation? Correct the record CNN and Fortune - shame on you - and admit when you're wrong - (and by the way they just deleted this posting from the article comments). LivingSocial was down to a dangerously low level of cash just as PrivCo's sources confirmed, only a week, maybe 2, left, before paychecks would start bouncing and the whole house of cards came down. This is the very definition of a "distressed financing."
In an alternative fictional universe Elon will be hired by Honda to survive a near death spiral and will then bring in the team from Tesla to create Honda 2.0
I should have made clearer that I am reading on those template engines right off. That is, I hadn't really heard of them till you mentioned them. Asking for more was simply on the lines of "if you have other examples right off."

Regarding TAL. Looking at it, it did not look like it fed in the markup of the current tag to anything to process it. That is likely just my misreading of the wiki page.

Regarding Heist. This could again just be my hasty reading, I think. I saw it said it was the same idea as the Lift templates. But then it jumped straight into the bind and apply tags. With the latest lift templates, there are no custom tags. Nor are there custom attributes.

Also, I'm highly curious on the upsides of the Haskell framework you are using.

And again, thanks for keeping this going!
are you a developer? PM me please - I have a few questions I want to take offline.
Tangentially related, Snort was doing research to move to a multi-threaded architecture, but decided against it due to cache synchronization problems [1]. Though, their thoughts about splitting up processing was quite different than what the OP blog post suggests.

It looks like Snort gave up on one way of doing multi-threading, but they could still go the way suggested in the OPs post.

[1] http://securitysauce.blogspot.com/2009/04/snort-30-beta-3-re...