skysight-inc/HackerNews huggingface dataset:
I think 'perf' is probably lying to you. Although maybe it's not a lie, as your Gist does contain that line '<not supported> dTLB-misses'. Perf tries very hard to be non-CPU specific, and thus doesn't do a great job of handling the CPU specific stuff.

What processor are you running this on? If Intel, you might have luck with some of the more Intel specific wrappers here: https://github.com/andikleen/pmu-tools

You also might have better luck with 'likwid': https://code.google.com/p/likwid/

Here's the arguments I was giving it to check:

sudo likwid -C 1 -g \
INSTR_RETIRED_ANY:FIXC0, \
CPU_CLK_UNHALTED_CORE:FIXC1,\
CPU_CLK_UNHALTED_REF:FIXC2, \
DTLB_LOAD_MISSES_WALK_COMPLETED:PMC0 \
./bytesum 1gb_file

| INSTR_RETIRED_ANY | 7.38826e+08 |
| CPU_CLK_UNHALTED_CORE | 5.42765e+08 |
| CPU_CLK_UNHALTED_REF | 5.42753e+08 |
| DTLB_LOAD_MISSES_WALK_COMPLETED | 1.04509e+06 |

sudo likwid -C 1 -g \
INSTR_RETIRED_ANY:FIXC0, \
CPU_CLK_UNHALTED_CORE:FIXC1,\
CPU_CLK_UNHALTED_REF:FIXC2, \
DTLB_LOAD_MISSES_WALK_COMPLETED:PMC0 \
./hugepage_prefetch 1gb_file

| INSTR_RETIRED_ANY | 5.79098e+08 |
| CPU_CLK_UNHALTED_CORE | 2.63809e+08 |
| CPU_CLK_UNHALTED_REF | 2.63809e+08 |
| DTLB_LOAD_MISSES_WALK_COMPLETED | 11970 |

The other main advantage of 'likwid' is that it allows you to profile just a section of the code, rather than the program as a whole. For odd political reasons, 'perf' doesn't make this possible.

ps. I think your 'argc' check is off by one. Since the name of the program is in argv[0], and argc is the length of argv, you want to check 'argc != 2' to confirm that a filename has been given.
Easy (yet long) fix:

on iPhone - Disable iMessage from the settings menu.
- Go back to messages and send a standard text message to the phone number.
- Enable iMessage from the settings menu.

Done.
It does. Log into your Apple ID at https://appleid.apple.com and un-associate your phone number.

Though this only works if you attached your iPhone to your Apple ID in the first place. The phone bugs you about it repeatedly but many people do not do so.
> I'm having trouble reconciling the two.

Why? It's extremely common for industry/standardization groups like the IETF to come to conclusions that are contrary to the position of one of its members, and it usually doesn't result in said member being expelled or falling on their sword.
Throwing myself behind your anecdote. Works for me, I remain engaged with a lecturer. Different strokes.
i dont know any more than the wiki entry, which is not difficult to digest :)

http://en.wikipedia.org/wiki/Branch_predictor
I guess all those thousands of Rails apps running on Ubuntu had some kind of magic or secret knowledge to get that working. Going open source and posting some libs on Github is 'Huge'? That's kind of funny considering how much is out there, top notch, and did it way before MS did, and yet, it wasn't "huge" for them.
SMS isn't that bad. http://jimkeener.com/posts/sms I like it and find it useful in many circumstances.
@korzun, Suspicious? Far from it. It's par for the course.
Sam,
tokenadult is by far my most favorite commenter on HN. In fact, I'm not alone. Huge karma. That is one reason. The other reason might be that a few people upvoted his comment, and that's why it's on top. Of course you might disagree with the ranking, but ranking is there to give us an idea of what the whole community thinks.
Does that work if you've wiped and resold your iPhone without disabling iMessages on it first? The impression I've gotten is that Apple will still think you're signed in even though you no longer have the phone (and can't sign out).
20 Minutes with Mt. Gox Protester Kolin Burges (audio)
Bitcoin News Weekly's Mark Jeffrey conducts a ~20 minute interview with Kolin Burges about his protest of Mt. Gox and confronting Mark Karpelès.
I may be wrong, but it's quite obvious to me. You wouldn't want to donate to an organization where the money doesn't make a traceable and measurable impact. Luckily I see more and more charities prioritize transparency.
Could Zenly really make the NY apartment hunt painless?
Not all of ASP.NET though...notably absent: Web Forms.
Pig Beach (article on Wikipedia)
The reason California has all these ZEV (zero emission vehicle) regulations is because of smog. It's better to burn stuff at a power plant than on a highway in the middle of LA or the Bay Area. (And you're right, CO2 isn't the issue, it's the other stuff.)

In this respect, batteries and fuel cells are similar.
Lest this thread gets hijacked with unnecessary "political bickering", I suggest we avoid using words like "coup" here.
That's why I call this "stupid political bickering". It's not about Ukraine, it's about superpowers projecting their influence.

Also, I might be biased, because I live not that far from the Ukrainian border and I would feel much safer if the US stayed away from this.

Edited to add:

I'm also less concerned about US not getting military launches and more about the future of the ISS. The Space Station is more than just a research post in a cold place; it's a monument, a symbol, of a bright future, of a peaceful progress of whole mankind. Losing ISS wouldn't be just a bad day for science, it would impact many people's hopes and dreams.
"I'm sure there's case law that establishes some kind of balance" isn't really any kind of answer to the GP's questions...
As someone said jet engines != rocket engines.

But who do you think NATO should attack next with a wink and a smile? Ah yes, whoever dares to challenge the petrodollar, right? If that's the case then taking away their rockets is a good step for humanity.
The idea is that Crowsnest organizes what devices can do into capabilities, and anyone can build a plugin for anything using our device integration framework. A plugin maps between what Crowsnest knows as capabilities and the actual calls that need to be made to the device. Of course, we can't build something for every device, so this framework will be open source with the idea that anyone can use plugins already created for existing devices, and hopefully we can engage the community to contribute and maintain these for devices as new ones are created. As soon as we release this, we're going to seed the community with a handful of integrations that we'll maintain. And if there is anything of particular interest to our users, we'd love to support that.

We've also been toying with the idea of using some device discovery so that devices can tell Crowsnest what they are capable of without needing to build a formal plugin for it.
Then I fail to see why this is really an issue - blog explains no proper solution, need to pay $20, engineers can't figure it out, etc... Sounds like hogwash.
In Ember, for instance, it's perfectly easy for a "computed property" on a View object to return the value of an attribute on a DOM node. In this model, the DOM is the "canonical" representation of state (also fulfilling HATEOAS if "real REST" is your thing). This is a perfectly fine way of doing things, and is possible in Ember or React or any of the above frameworks as far as I'm aware. How the binding between javascript and DOM is registered is entirely up to the library developer.

In my ideal world, I want the performance of the Virtual DOM / rAF batching described in the blog post, I want web components as the underlying DOM / markup that represents my views, and I want to wrap them with Ember-like computed properties and routing structures. But hey, while we're asking for everything, I'd also like universal flexbox implementation, Clojure-to-asm.js compilers, ES6 generators to finally come out...
Scratch is great for making animated comics. It appeals to girls as well as boys. I taught kids from 6 to 12 years last year. Kids older than that got bored with it. Highly recommended.
I've been here for almost a year.

It's not clear why this seems okay. "We've stolen contact for a year. We're working on it."

Seems like anti-competitive behavior. Stopped buying Apple 100% immediately once I found out.
Can I have the hardware and not use Juju on it?

Give me this, plus Flynn, plus Camlistore and I'll be in heaven.
If I'm not entirely mistaken, the "coup leaders" in Ukrane were in fact the duly elected government of Ukrane, and it was exactly as much a "coup" as Congress kicking out the US President would be.

Edit: to be clear, I'm not being hyperbolic here, the "coup" in question literally consisted of the elected representatives of the Ukranian people kicking out the president, who I think even belonged to the same party as a number of the ringleaders.

Edit 2: yep, "The Ukrainian parliament, which decisively abandoned Yanukovich after loyalists defected, declared on Saturday the president constitutionally unable to carry out his duties and set an early election for May 25."[1] His own former political allies voted to give him the boot.

http://www.aljazeera.com/news/europe/2014/02/ukraine-parliam...
This is really amazing. I hope your service receives a lot of success.

One problem is that many people don't have bitcoin even if it is the best way to pay. Many people are uncomfortable buying bitcoins.

Amazon micropayment service lets you pay with credit card
transaction anywhere from $0.05 to $9.99 with a 5% + .05 cent transaction fee. Which isn't as good as bitcoin but it is still pretty good as far as credit card fees go.

https://payments.amazon.com/help/Amazon-Flexible-Payments-Se...

Many small micro-payments can really add up. This can be huge for content creators. I would really like to give tips to people who create educational science videos, open source software, open source hardware, write detailed tutorials for hardware and software projects, take the time to help me on forums, etc. Many content creators on the internet have helped me. I might not want to give a lot to each but I can give a small tip. Which can still make a difference to the creator if many people also do the same.

I think if they charged a fee for the tip it would be a more standard business model and people would not find it as exciting. It seems more direct to customer this way without the man in the middle dilemma for content creators. Also charging a fee in addition to the transaction fee would make it increasingly difficult to tip the creator a small amount. I think the fact they don't charge a fee on top of the transaction fee is out of necessity.
Let's Build a Goddamn Tesla Museum – Part II
How to Style a Denim Jacket For Spring
Yeah, I noticed that too. It would seem that my co-worker who thinks MVC is a fad is at odds with MS themselves.
Ah, but you are comparing line by line or function by function. Is a 3 line scala for comprehension doing simple mapping more 'readable' than a 10 line java loop? Well, depending on who you ask the answer is either "about the same" or "less readable" if they aren't familiar with the idiom.

However, it's pointless to compare methods when we need to be comparing applications. In my experience, I'd say I get about... 100 times reduction in LOC compared to a java application. Not hyperbole, two orders of magnitude LOC reduction compared to java applications.

Now, given that information, does it matter if each particular line takes you three times as long to read? With more type safety to boot?
However you feel about the Ukraine, Russia's credibility is just about at zero. Come on, Putin claimed there were no Russian troops involved in Crimea, an obvious lie that he has now admitted was false. Now the Russian ambassador is attacking Musk...which is just about the best endorsement he could have gotten right now.

When you lie, publicly, about big things, you no longer get believed. It's just that simple.
"with large chunks of it being (or threatening to be) annexed by Russia in the chaos."

I would consider that an allusion to a desired outcome.

But agreed with the poster above who mentions political bickering. It won't get anyone anywhere. Besides, I've made my view known, I think it is just good sense on the part of the west to seek peace rather than hostility, I don't think not being unreasonably hostile in rhetoric and deed is capitulation and I don't have anything else to say.
Very cool, would be nice if this expanded to data tagging (more granularity than just visited site) and if it was it possible to buy/sell rather than just trade in the future
I've done all of that. The number is no longer associated with my Apple ID, but other iPhones still send messages to that number via iMessage — which means they go nowhere.
Only YOU Can Protect Net Neutrality
I think Hudo's point is that experience with technologies is subjective. I loathe Windows after having been comfortable in terminal, and I loathe Eclipse after having been comfortable in VS.
http://www.arrl.org/news/fcc-dismisses-encryption-petition

The amateur radio community is not universal in their dislike for this rule. I don't personally see any way in which the rule could be removed without altering the fundamental character of the amateur radio service.

You simply should not be making transmissions in the amateur radio service that require privacy. Permitting unrestricted encryption makes that basically impossible to enforce.
That's almost always what the teacher considers the most important material. So, yeah, attending lectures lets you know what concepts are especially important in the subject.
I've been wondering whether voxels or light fields will win the 3d video war. This is the first cheap voxel capture I've seen working well.

Voxels are nice because they are well understood by most 3d developers, and have the same spatial resolution characteristics as we are used to on 2D formats.

Light fields on the other hand have easier capture going for them, don't change transmission formats (a light field can be transmitted in a 2d video or image), and don't suffer from interference problems.

I'm excited to see what happens.
West Antarctic Glaciers in Irreversible Decline
Well in rat experiments a little bit of alcohol in their water makes them live longer. The supposed mechanism is that alcohol helps keep intestinal bacteria in check and reduces endotoxin absorption.

There are various other reasons to think that in most people light alcohol intake is protective. I don't think wine has anything to do with it. The safest drink would be a high quality vodka.
Addepar's letter from the founder
The financial crisis of 2008 marked a structural power shift in investment management, not just a cyclical correction. Investors now have the leverage to demand transparency, and expect answers as soon as questions arise. Complete answers, however, remain unavailable from financial giants. Wall Street responded to the 2008 crisis with quick fixes—technological band-aids—rather than building new, more accountable systems. Wealth-management professionals, as a result, rely on incomplete data, in countless different formats, sent from disparate sources.

Financial products and services are the largest market in the world, with over $1 trillion in annual revenue. But, as we’ve seen, the financial infrastructure is broken. It’s about time for finance—the lifeblood of the global economy—to catch up with other sectors and modernize its technology. The new possibilities offered by “big data” will soon replace closed networks, cut out middlemen, and empower investors. Open platforms will give inside deals and fraudulent advisors no place to hide. This is a good thing for honest wealth managers, and a good thing for the world.
Or maybe Ukranians are tired of being Putin's hand puppet. They have to be looking at Poland and hoping.
Sometimes this process just doesn't work. I've switched to android twice (and back to iPhone) in the last year cause of phone breakages and the moving off of iMessage the second time was a nightmare.
Chrome URL Button 'feature' used as attack vector
Ugh, I hear you. I had to disable iMessage on my girlfriend's iPad because it kept 'stealing' every SMS I tried to send her.
Hi, thanks for the feedback! We agree that for now Bitcoins constrict us to a relatively small community - which is why we will be supporting credit cards in the near future! (And thanks for the link to Amazon micropayments +1!)

We plan to launch with only Bitcoins, and shortly thereafter add on credit card payments to go more mainstream.

Our mission is to enable anyone to tip any creator anywhere in the world - so educational content and others are definitely included in this! Music is just the starting point.
These are all great ideas that we're hearing from others. Definitely stay tuned.
>But why is her interest in privacy sufficient to create a right protected by the law? What about the conflicting interests--including existing legal rights--of others to learn about and to publish that information?

Because for thousands of years of civilization, the possibility of not being constantly publicly reminded of one's past, even if it was a crime he was found guilty of decades ago or some dumb or embarrasing thing he once said, was one of the most humane things.

We shouldn't abolish that freedom to be forgotten, just because machines enables us to abolish it. Technology should be a tool, like in optimistic sci-fi, not a master, like in dystopias.
Dr. Dobb's 2014 Developer Salary Survey
What It's Like To Own a Tesla Model S: A Cartoonist's Review
> There community around dogecoin is, generally speaking, more amenable to tipping

I disagree with this - Bitcoiners have been quite generous with tipping in the past, and it's been picking up again thanks to the ability to tip millionths of a bitcoin (informally called "bits") using ChangeTip.
The easiest way to avoid this problem is to make sure you turn off iMessage on your iPhone before you switch devices then you don't have this problem in the first place.

https://discussions.apple.com/thread/3392014?start=15&tstart...
because some people just like to complain and hate.
You obviously feel that it's useless, which is debatable

If you want to bring it up again, this time I'll throw Teach For America onto the list of organizations that say it has no impact.[1]

that it's a professional barrier to entry which requires extra time or money to get

This is exactly credentialism. EXACTLY. "I don't know if it provides any benefit, but it takes time and money to get" is the perfect description for a useless credentialism structure.

when you know that means “nights and weekends at no extra pay”

I really don't know this. NPR seems to be part of the conspiracy keeping me ignorant [2]. Teachers work about 30 or so minutes less per day than other professionals, and that includes weekend work.

How would you feel if your CEO kept talking about your company is releasing buggy code and we need to hire better programmers and make shipping bug-free code a key part of your pay?

Like any professional, I would leave and get a different job. Fortunately my profession has not worked hard to arrange that there is only one employer in town. Since my wages are roughly what I would get on the market, as opposed to being set by some third party despite my market value, it means I haven't priced myself out of other jobs. My current employer pays me (roughly) enough to keep me around which is (roughly) what I would get elsewhere.

If I was being paid way above market for some reason, though, I'd raise a stink to high heaven and keep a hold of that prior job no matter what.

Modulo the need to keep things staffed for a whole semester, switching jobs into or out of teaching should not be as insanely difficult as it is. The beneficiaries of this system are the high-seniority people currently in the field who have no plans to leave. If someone wants to switch into teaching from another career, they need to go through the silly Masters-In-Ed hoops via night school. If someone wants to switch out after a few years, they are walking away with nothing from their pension-vesting system, and they have a "Masters In Education" degree which no one values besides school boards that have negotiated contracts.

[1] http://www.theatlantic.com/magazine/archive/2010/01/what-mak...

[2] http://stateimpact.npr.org/ohio/2011/10/05/teachers-work-few...
ASP.NET MVC is no longer a fad - a lot of the job openings I'm seeing are asking for it.
It is Yuzhmash in Dnipropetrovsk, Ukraine (still, Putin is working on the issue).

http://en.wikipedia.org/wiki/Yuzhnoye_Design_Bureau (search for Antares :)
The only reason I bring up Visual Studio is because most people don't even see the world out side of that IDE. "If it's not MS and it's not possible inside of Visual Studio it doesn't exist." That's how a whole lot of .NET developers, and .NET houses work -- and so that leads to my comment on VS.
I don't think it's junk mail, per se. Real junk mail, AFAIK, requires the senders to pay USPS money to send. Why would insurance companies (who are cost-sensitive, or so they want us to believe) pay to send useless mail that doesn't generate any additional revenue?
This has happened to me a lot too. A lot of times there will be tons of politics involved and for whatever reason somebody (a team or project lead) may want to portray 'their' version of the narrative mostly for political reasons.

At one place where I worked there were 4-5 big teams with different technology specializations and for every big project we did, these 4 teams had to have a cut of the project for budgeting purposes.

So no matter if there was a need for it or not, youd have BizTalk, or SAP, or SalesForce or whatever inject themselves into a solution and create a complete mess from an architecture standpoint. Completely idiotic.
I find it interesting how so many people still find it acceptable in 2014 to be using a "phone number" as their id.

It's a number you can't even pick yourself: you _pay_ to get a randomly assigned digits, at best with the ability to reroll (also not always free).

To me, it feels like someone using an `@aol.com` email in 2014. Or a rotary phone.
>a record being "public but must be made really difficult to find" is completely illogical.

Actually it makes perfect sense. Making it difficult adds a barrier. You don't have to make it impossible to prevent something from happening. Sure, you might not stop the most determined people, but you'll stop millions of cases by just making it harder.

It's not black or white -- as a lot of security people use to think for similar things like "security by obscurity" etc. Most of the time your adversary is not some highly capable entity, but just common folks who'd give up at the first barrier.
frustrating, indeed. the short answer is, if you are in the know, and you switch from iphone to android, disable iMessage on your iPhone first.

It would be great to see an interoperable solution replace iMessage, but for now, it is (purportedly) secure and often more reliable than text messaging. I still pay for an unlimited sms plan.
Steve Sold his Companies to Intuit and GoDaddy...How?
Austin’s Peach Digitally Connects Local Farmers to Restaurant Chefs
> save the green vs. blue bubbles, which are in their own way a sort of weird social/status indicator

Save your opinionated anti Apple rhetoric. The color coded indicator allows people to know which features are included in the service, or whether your text was delivered and read or in your case, not delivered...
It's encouraging that they actually have the capability to fix the issue, but you really shouldn't have to call tech support to regain control of your phone number. When you sign up for iMessages they don't say "We take over your phone number and route all texts from iphones to it and you'll have to call tech support to make us stop!"
Excellent work. Make that your next interview question.
So I'm curious how one would implement something like drag and drop in a React app?

Would you model the drag in the main data model somehow? Or would you do that all externally (with traditional DOM manipulation) and then update the model when the drag is complete?
>But yeah, this is not sound fiscal planning on Russia's part.

"sound fiscal plans" have never been endemic to Russia.

anyway, it was easily predicted :) https://news.ycombinator.com/item?id=7649064