skysight-inc/HackerNews huggingface dataset:
Because it does. Are you sure you aren't misunderstanding the meaning of volatile in C99 (and the C++03 standard has the same semantics for volatile as C99, it even refers back to C99 in a footnote)?

The C standard has no notion of the memory hierarchy and therefore does not know or care about the processor cache. Volatile means that reading/writing from/to volatile variables must strictly follow the rules of the abstract machine, and not bypass these rules as an optimization. When people say that volatile means that the value may not be cached, they mean that the variable MUST be written to or read from every time it is accessed. This means it may not be cached in a register or otherwise avoid the actual variable access as an optimization, that is, that it may not bypass interacting with the abstract machine. What this means is that a memory read or write must be issued, but the existance of processor caches (L1, L2, L3) is outside the scope of the abstract machine and is a platform detail.

On x86 and x86-64, reading or writing memory using temporal load and store instructions lets the CPU, if it feels like it, cache the value in the processor cache. As far as C knows or cares, its in memory, but its up to the CPU to decide if it actually is or not. This means that in practice, if the variable is accessed often, it would be in L1 or L2 cache and reading it would be quite fast. When writing to it (since it is volatile, a write is a store to memory instead of a mov to a register), the processor sees that the cache has changed and invalidates it for other cores, so the next read would hit main memory and get the new value.

Note that non of this is visible in the generated ASM (unless the compiler generated non-temporal loads/stores, in which case the rocessor cache would be bypassed), as it is applied transparently by the processor.

For the record, before I wrote this code, I researched it a lot. Also, Arch Robinson, the architect behind Intel Threading Building Blocks, in the comments to his article on volatile, confirmed that this works (at least on intel platforms). Furthermore, nothing I've read in the standard or other articles (such as the one you linked) contradict my assumptions. Note that anywhere I have tested this, it works as expected. I am interested in hearing if I overlooked soemthing fundamental, though, especially when porting to ARM (which, for example, may require additional instructions to make writes visible to other cores, something volatile will NOT do).

The C standard only states:

An object that has volatile-qualified type may be
modified in ways unknown to the implementation or have
other unknown side effects. Therefore any expression
referring to such an object shall be evaluated strictly
according to the rules of the abstract machine, as
described in 5.1.2.3. Furthermore, at every sequence
point the value last stored in the object shall agree
with that prescribed by the abstract machine, except as
modified by the unknown factors mentioned previously.)
What constitutes an access to an object that has
volatile-qualified type is implementation-defined.
The thing is, it is fair to say that search sucks. Many times it's impossible to find what you're looking for. Even the desperate tricks like including the word "forums" in the search don't always work any more. And the post does highlight the problem with search (which is that it sucks). As for possible solutions, that's a hard problem. You can't say that Arrington needs to mention possible solutions, is he going to suggest that they invent some kind of algorithm? It is fair to point out that specialized tools are more useful (and maybe that future search engines will need to be built around these).
Stumbleupon can drive good traffic if you have stuff to link to. PDFs don't stumble well (they're probably banned), and homepages don't do well unless they're interesting on their own.
Copyright Troll - Post a Copyrighted Picture, Face a $150,000 Lawsuit
It's tough for Detroit to shake the negative press about it. I think there is a lot of potential. There's a re-gentrification happening and there's a growing population of artists, musicians, and tech growing in the middle of the city. It's certainly not big enough to garner any attention but it will.

I think it's easy for people to poo poo on Detroit. Detroit needed to burn so something better could rise from the ashes. Change always happens when things hit its lowest point.
How much of brilliance/perseverance can be nurtured/injected by parents early on?

SCVNGR's Seth Priebatsch[1]

"It's an idea that a 5-year-old Seth also learned on a ski trip.

Seth's dad took him to the top of a black diamond run and skied down about 100 feet to wait for his unprepared son. Seth threw a fit, cursing up as much of a storm as a 5-year-old could muster. But then it clicked.

"He wasn't going to come get me," he said, "so at a certain
point, you just start moving."

Also, Bill Gates [2]

"The future software mogul was a headstrong 12-year-old and was having a particularly nasty argument with his mother at the dinner table. Fed up, his father threw a glass of cold water in the boy's face.

"Thanks for the shower," the young Mr. Gates snapped."

"Still, they worried that [Bill] seemed to prefer books to people. They tried to temper that streak by forcing him to be a greeter at their parties and a waiter at his father's professional functions."

[1] http://www.cnn.com/2010/TECH/innovation/11/02/seth.priebatsc...

[2] http://online.wsj.com/article/SB124061372413054653.html
Is this a joke?

Edit: Ah, yes, it is :) Phew...

At the bottom: "This is a satire, for the real Qt website go to qt.nokia.com"
And? That doesn't change what was written.
Rivals say Facebook could be tough sell in China
No according to the article, it can fly as high as Mount Everest, but that is a lot different than landing on the peak.
I would have ignored it if it was an irrelevant tidbit, but it wasn't. It seemed to be quite a major point in the article.
I disagree to an extent. Some of my freshman lecture courses had 500+ people in them! I was coming from a highschool that graduated a total 80 seniors.. talk about culture shock. I would much rather have done this course online and saved the money. Perhaps have another avenue to speak to tenured professors about interests, but this would be fine for an online learning session.
There needs to be a great $500 Android tablet with appropriate specs (great battery life, snappiness, appropriate resolution, small, great build quality).

I don’t think that $800 tablets with extravagant specs will help Android corner the tablet market. Specs luckily don’t matter much anymore.
This is a question asked out of ignorant curiousity: what, if any, are the intellectual property implications of releasing genomic information into the public domain? Does doing so preclude the patenting yet un-patented genetic sequences published in that genome?
Petty hatred? Microsoft made a lot of real enemies on the way up. Microsoft drove a lot of people out of business. Microsoft funded the massive expansion of H1B visas in the late 1990s by hiring Harris Miller to form the ITAA to bribe Congress, Clinton and Bush. We got outsourcing and Microsoft having a special subsidy that cost developers lots. [ source : Four Indian IT outsourcers topped the 2008 list of companies obtaining H-1B visas - http://www.eweek.com/c/a/IT-Management/Indian-Outsourcing-Fi... ]. Microsoft acted like Walmart for 15 years : destroying their American competition and suppliers. Now that they're looking for buddies. They're scraping the bottom of the barrel for alliances: SCO, Novell and now Nokia. Sleep with Redmond and you die. This may save Nokia from bankruptcy in the short run and enrich some executives, but it spells doom in the long run. The fear is well justified.
It might be, but how many stumblers are students of International Relations?
When I was in High School all my programming experience was either Basic on my calculator, or VB6 in Visual Studio.

13 years later my debuggers still don't work as well as the VS debugger did in 1998. Being able to move the cursor back, change a variable and replay to my break-point? Yes, please.
I'd be worried if my CEO doesn't understand the internet of things.
> Of course, employees working on a team don't have the same interests that investors do.

Yes, team dynamics, especially at large corporations are vastly different than startup dynamics. Loveable fools fit right in at BigCo, as long as they are not so foolish to do their job reasonably well. The brilliant worker who fights for change and speaks their mind isn't seen as a team player and is often a threat to management. They are seen as "difficult," even when they are right. BigCo largely wants compliant workers who take orders, which is largely the opposite of what drives a startup founder.

That same brilliant worker, however might make a great founder at a startup. Smarts and tenacity can pay very well with a startup, so long as the people can understand what drives the founder and sometimes makes them hard to work with.
What's up with the whacky accent? I hear this in demonstration / marketing videos from big industrial companies all the time, and I can't figure out why you'd want someone who speaks so oddly.

"We need a professional sounding English narrator. British accent, of course, it's more refined. But not a native speaker... that's too ordinary. We need someone who's faking a British accent. Also, random word emphasis is a plus."
The Google Toilet: SuperNews
> Imagine how much money the people who discovered it would end up making!

And they'd start making it right away ;)
Stumleupon is like Reddit. You can pick your topics. There's bound to be an SU category for that somewhere.

edit: http://www.stumbleupon.com/discover/international-relations/

:)
You can extend that argument to "x sucks", then, where x can be virtually anything we know - since it is valid to say something sucks without mentioning why, or how it could be better (because he doesn't need to publish an algorithm indeed, but what good is saying something is bad if you don't even know how it could improve?)
Stuxnet is now on GitHub
Look at the bottom of the page.
Works perfectly in C# with practically all Visual Studios (and I think other .Net languages as well)
You responded to a question with a list of buzzwords. You responded to a gentle ribbing of that list of buzzwords with another buzzword.
I don't think that Motorola is after the whole market with Xoom. There are plenty of lower priced android tablets. So there's lots of choice for upper and lower end buyers. Also, ipad is priced from $500 to 900$, depending on specs, which means that they do matter.
Literally laughing outloud at this.
Good questions. Thanks!
There is people who really have nothing to do of their weekends.
But what does this really tell us about the price of iPads? Is Apple selling iPads at prices under the bill of materials, or do they have such a lock on things like NAND flash that nobody else can build a similar product for the same price?

All the talk about screen size and HDMI and ports is noise in the final price. You need to look at what Motorola is paying for things like flash, processor fab, and Gorilla Glass to understand why the price is so high.
Absolutely.

Which is fine. For example, in this case, I hadn't thought about the quality of Google's search results and how they are doing. This has brought the matter to my attention and now I have a different perspective on the future of search engines.
There are no competitive cheap Android tablets.

Specs obviously still matter when it comes to the price but they don’t matter to consumers. They want a snappy device, that’s all.
Summer home three gold to share skin care tips
and by meta-searches like Duck Duck Go who make it easy to get to all those tiny niche sites -- and protect your privacy while you're at it.
I actually fall into the group of people that had a Kindle, sold it once I got my iPad and could use the Kindle App and keep my entire library. I am pretty sure that nothing is going to get me to start buying books from the iBooks App.
The Arduino is a nice, accessible platform which stands tall on the shoulders of some true pioneers.

BDMicro (Brian Dean): http://www.bdmicro.com/mavric-iib/ (hmmm, interesting layout in 2004 vs the Arduino in 2005)
The avrdude developers: http://www.nongnu.org/avrdude/user-manual/avrdude_2.html (how "sketches" get to and fro)
AVR Libc: http://www.nongnu.org/avr-libc/
Atmel MC's: http://www.atmel.com/products/AVR/
avrfreaks.net: The unofficial support forum for avr's that has had its ups and downs over the years. Tons of projects.

Not really sure what this guy means by winning.

It might have been better to write about how many people are "discovering" the Arduino platform versus phrasing it in terms of victory.
Just take the current price, and extrapolate. Not more than a few years for researchers. I don't know how retail will develop, since there may be regulations and other overheads.

For my friends in systems biology it's now almost cheaper to just send their microbes in for sequencing than doing their own gel electrophoresis.

(If you want to read around in Wikipedia, also have a look at Southern blots and Western blots, and DNA microarrays.)
Cheap housing.
Good infrastructure.
Friendly to tech startups.

Pick any two.
His interests ARE aligned with Nokia. Like every CEO everywhere, a big chunk of his comp package is bonus and stock options.

Much ado has been made about him having $0 Nokia stock. This just means that he hasn't executed any of his Nokia options yet, and hasn't been awarded any stock as part of his bonus yet. Neither is suprising: He hasn't been with Nokia for a year yet and he certainly has a vesting schedule.
I thought this was a great point: "When companies start to flail they nearly always do a couple of things. First, they trash the competitors. Then the talk about how hard the problem is and that the solution is a long term one."
Simple: Android.

Open source, healthy ecosystem, safe future. Around 60% of my friends with smartphones have Android devices. Don't worry about competition, there's plenty of demand. Just be good at it.

If open source isn't a requirement and you own a Mac then obviously iOS is a great choice too. For the time being I really wouldn't consider learning any platform apart from these two.
Thanks much.

That turns out to be one of the better engineered compilers, at least according to David Conroy (author of MicroEmacs, author of the first handful of compilers for Mark Williams, hardware engineer for DecTalk and who should be on this list).
What languages do you know, and what hardware do you own?

If you know at least basic C, Objective-C isn't hard to learn at all, but you need a Mac to do development on.

Android requires Java as far as I can tell, but maybe there are other options for that platform. Java is fairly close to C, but you'll probably still find it easier to learn if you've done C++.

It is also possible to create web apps that are essentially wrapped. Though I'd imagine you still need access to the platform (e.g. a Mac for iPhones) to produce even the wrapper.

Keep in mind that dynamic languages such as Objective-C and JavaScript will probably make it easier to debug, at least in my experience. If this is something brand new to you, a forgiving platform may be the best way to start.
Quora's Traffic May Be Catching Up With Its Hype
This is a sad story... Qt was gaining huge momentum under Nokia's acquisition. QML, their new technology for mobile interfaces was just pure joy to use. The platform was moving fast, and it seemed that nothing was impossible, including ports of Qt to Android or iOS.

Now, it just seems that it's slowly going to die.

As an enthusiastic Qt / QML developer, I'm sad...
I would go... in the second mission.
Right, exactly. My point is that other debuggers don't work as well as VS did in 1998.

Notwithstanding, there were a few years after .Net first launched where such edit-and-continue debugging wasn't supported. And I don't develop all that often against the .net CLR--so i'm not very confident about this--but also I think that being able to rewind was a feature added only in VS 2010.
Not sure where you're located geographically, but in the US there's still a major shortage of qualified mobile developers for the major platforms (iOS and Android). Any platform other than those and there will be less competition, but also many fewer jobs. I've started doing some iOS development, haven't even completed my first project yet, and I'm already turning down consulting jobs.

If you're thinking about launching your own apps, the same logic applies. Go where the users are, then branch out if you're successful. There may be less apps on some of the other platforms, but now that there are successful smartphone companies, they're porting to most major platforms, so you're competing with the big boys for a share of a much smaller pie.
Well, perhaps we'll see a stripped-down version of xoom later on. Half the memory, no 3g, single-core processor. Could reduce the price for a few hundred bucks.

EDIT: I've found one bit of news that suggests there'll be a wifi only Xoom: http://androidcommunity.com/motorola-xoom-wifi-clears-fcc-20...
Yes, if you are being paid.

Or if this is your pet project.
Euronews http://www.euronews.net/ speaks with more or less exactly this accent too.
According to you they take more out, but the truth is, they put in just as much. Artists willingly go to labels because most of the time, they either don't have the resources or just aren't interested in dealing with everything that has to do with the music business (it is and always has been a business). They just want to concentrate on what they do best: playing music.

Unless you outlaw business, there will always be labels because there will always be an artist that doesn't know how to deal with the business side of the industry. They also might want connections that they otherwise wouldn't be able to have.

Venture capitalists serve the same purpose as a record label, yet this entire forum is based around the industry and nobody here seems to have a problem with them.
There is absolutely no way he could have made such a move without the board's blessing; perhaps it was even their expectation that bringing him in would improve a deal they wanted to make with MS. I don't understand at all why you'd hint that this is "Microsoft serving" when it is clearly the will of the board of directors that this happen for Nokia.
Well, so bury a treasure next to it, in a relatively safe place. Then it might be psychologically easier for the treasure hunters to avoid the danger.
<shameless_plug> try drag2up http://drag2up.appspot.com/ </shameless_plug>
Why? I mean it without sarcasm, why do you suggest that the three are not possible?
go Startup Genome!
There are projects like this in Detroit already. I see everyone in this thread passing around old, tired images of a past Detroit. It hasn't been like that for awhile.

I started my business in Detroit and there is no other place I would choose if I did it all over again.

Stop passing old stereotypes about Detroit around and come see the city for yourself.
That's the type of company I'm looking to find, however their particular "style" wouldn't mesh well with my design.
And sometimes, that's fine. But call it what it is.
Even for people who call it a big iPod touch; the touch starts at $229. The bigger screen and battery aren't free. $499 is a fair price, even if 16GB of memory is a bit stingy.

Funny to remember before the iPad introduction people were expecting $999.
Watcom IDE could step back in some cases too (for many years now). And that was C code... It did not register the changes though as far as I remember, so you could not step back before x=x-x.
Android and iOS, and Qt mobility is still fine since millions of Nokia devices are sold around the world.
I think the generalization is fair. Their are always exceptions, but overall, the generalization is spot on. You might be one of those exceptions.

At the same time, I also think we are taking 9-5 to literally. He isn't talking about 9-5 exactly (otherwise, anyone working from 8-4 is safe!). Rather, it's the people that treat the job like a 9-5 job, and that's it. They go to work, do the job, and go home. They don't try to learn, they don't try to advance themselves.

You don't do this, so even though you might work between 9-5, you aren't just a 9-5 coder.
Decompiler output; product of the HBGary/Anonymous dump. The most interesting thing here is probably the emails from HBGary folks about StuxNet in the accompanying blog post[1]. (For public purposes, the CEO wants everyone to know, they know nothing about it, but Aaron Barr was talking about it with various people anyway.)

Unfortunately, the decompiler output doesn't convey much as it stands, unless you like sorting through pages and pages of

local199 = local191;
local203 = local191 + 0x6f02418d;
local3 = proc2(0x10021238, param1, param2, param9, param5); /* Warning: also results in local190 */
local208 = local3;
local209 = local190;
local211 = local203;

That being one of the more interesting sections; there are stretches with dozens of lines in a row of the form "localfoo = localbar".

It does seem to suggest, at least, that this dump didn't have the actual source.

[1] http://crowdleaks.org/hbgary-wanted-to-suppress-stuxnet-rese...
There's no conspiracy here. Elop has been liquidating as quickly as possible.

See:
http://yle.fi/uutiset/news/2011/02/nokia_elop_buying_shares_...

Which includes:

Tallqvist told YLE that Elop will divest all of his Microsoft shares as soon as security exchange regulations and Nokia's own internal directives allow. Elop intends to purchase Nokia shares as soon as it is legally possible.

As an executive at MS who announced his role at Nokia while at MS, it was all but impossible to liquidate quickly, given all the disclosure that needs to happen to avoid insider trading issues.

There's no conspiracy or conflict of interest since all of his MS shares will be gone before any actual work product from the alliance has occurred.
This has been a trend for the last six months or so. Backflip Studios tried a free game as a promotional strategy, and it's turned into a core piece of their business. More small developers are realizing promotion is easier with free apps and the market is now large enough to support ad revenue models.

http://148apps.biz/backflip-studios-brings-in-serious-cash-w...
So glad to see "Stokes' theorem"! Back in college, I devoured the books "A Course in Mathematics for Students of Physics" by Paul Bamberg and Schlomo Sternberg that covered exterior calculus. It was awesome to see kirchoff's laws in circuits, flux and loop integral laws in electromagnetism all take the same form.
The contention isn't that search quality sucks - it is that search quality has declined visibly over the past few months. Personally, I find most of the articles maligning Google to be little more than linkbait trying to capitalise on a meme, but let's at least discuss the real issue rather than simply saying "Search is amazing. Now shut up."
Upvoted, but what TFA is claiming is that codine w/o acetaminophen is roughly as affective as the combination, which isn't addressed in that analysis.
Sounds like Google intervened manually as well as doing algorithmic changes. How long till they do the same with Demand Media?
Ask HN: Google Search spam solutions
After reading http://techcrunch.com/2011/02/12/search-still-sucks/ I couldn't help think up a quick fix Google could try, so I'm interested in why this wouldn't work / hasn't been tried yet:

GMail has a 'Report Spam' button, why shouldn't Google search? I'd be happy to log in using my google account before being able to use the spam button, as I'm guessing this would be required to prevent misuse (e.g. has to be reported as spam by n people before affecting a result's rank).

Am I missing something as to why that wouldn't work?