skysight-inc/HackerNews huggingface dataset:
Yeah, it's a sad, cruel irony that PHP and Javascript of all languages are getting this sort of extremely focused treatment.
Interesting. I like the idea of currently/today's/yesterday's news.

The scores, though, are rather buggy. On the home page right now a Forbes article about Apple's headphone jack is listed twice in the top right with two different scores (8,046 and 7,908).

On the CNBC subpage, Marc Andreessen's interview in which he called Snowden a traitor is listed three times, with three different scores. All are probably very low -- the article was well-discussed online, has 300+ comments, and the discussion topped the HN home page yesterday for a while:
http://newsscale.com/site/cnbc.com

I'd probably narrow categories considerably. Two of the top three articles in "entertainment" deal with random human interest stories (a sick 4-year old and a puppy video). That's what I'd call "cute" or something, but not what most people would think of in an entertainment category.

Similarly, in business the top articles include student debt (should be in personal finance), landlords and dogs (should be in real estate or pets), an Obama story (should be in politics), a musician obituary (should be in music or entertainment), and guns (politics or law enforcement).

The problem is that solving those problems and taking Newscale to the next level requires rather more work than merely crawling RSS feeds and making some calls to Facebook's graph API to get sharing counts. :) I've looked into similar problems while working on creating a recommendation engine and iOS/Android app for personalized news (I quit CBS to found http://recent.io this year) and it gets a bit more difficult from here. Happy to chat offline if you like. I think my email address is in my profile.
Copying my comment from the post:

I don't think the cpuid is actually required, but feel free to tell me that I'm wrong.

The comment in dispatch_once talks about systems with weakly ordered memory models like ARM. But x86 has a strongly ordered model: among other things, "any two stores are seen in a consistent order by processors other than those performing the stores" [Intel]. After calling dispatch_once, I expect to see any writes performed by the once routine, but once the store to the dispatch_once_t flag has been observed, this is already guaranteed.

The main reordering pitfall in x86 is that reads may be reordered with earlier writes to different locations, but I don't see how that would cause a problem here.
Google is worse than the N.S.A. anyway. They do exactly the same only that they give you a shitty UI for your emails in return
Were you a fan of C&H? I think that the lens of nostalgia strengthens our pleasant memories of the books and can't really ever compare to these new strips. You need character development, plot... most of his stories would extend across the entire week or longer. (Oh man, the family camping trips in C&H were hilarious)

Just appreciate it for what it is--a window into our fond memories of Watterson's work.
I would be more likely to sign up if the site had links to previous newsletters so I could see what I was actually committing to.
Missed the part about being unusual. Unusual being rare or uncommon, yes, but one of the first questions people always ask is if they have a learning specialist on board. This means different things to different people, but for me, I feel really lucky for a lot of reasons to land where and how I did.
>These are people who want to learn how something is actually done

While this is true sometimes, many times it is simply that they don't want to learn a new way to do something. You can tell which side of the fence they lean towards in the way they phrase the question.
Another cinematic application for a rabbit-proof fence: http://www.imdb.com/title/tt0246578/
If anything, that's why his comment is more warranted. Most of the aforementioned lack the facilities to inform their position, which can be forgiven. Someone who knowingly and proudly endorses what can only be described as evil should not be given a pass.
I think the EFF said it best ""Anyone trying to perform mass surveillance is going to have a much harder job today than even 6 months ago".

Not only are there technical barriers being set-up but now a lot of companies have started to grow a spine and challenge the Govt..

Plus that "smiley" on the leaked NSA slide bragging about hacking all the big companies has VERY seriously ticked off some of the bright folks at these companies :)
There's no American law stating "the US economy must be capitalist." "Capitalism" is just the rough description we assign to the US economy. The principles are there, but there are many exceptions.
you are a huge minority in this regard
It is definitely more strongly typed than objective c. Swift's type inferencing is up there with Haskell, and Objective C/XCode's 'find all uses' is still string based.

Totally agree with your 'reduce ambiguity' observation, and I think long term Swift will do very well there. It will also will allow tooling to radically improve from what it is, and multicore to have a reasonable chance to be helpful.

Imo it seems a lot of the language decisions they have made are to make it more compiler/memory friendly (eg the way assign works with arrays). That bodes well for speed/memory/battery I think.
2 nations, separated by a common egg.
Is calorie constriction considered nutrition? Of course animals will have evolved different food requirements, but it seems like the basic mechanism of responding to a lack of calories should be the same.
EVERYTHING YOU NEED TO KNOW ABOUT PR TO DO IT YOURSELF
Good to know! I'm in a funny place in my research project where I recently found out about the limitations of cross-modifying code. I had previously assumed that everything would work out for the best (doing hot-code patching in a DBT system that runs in kernel space), and didn't (appear to) face issues on the last version of my DBT system. For the next version, I'd like to play things safer. However, I suppose I could transparently recover from GP faults, as this is something I already do for other scenarios.

Do you have any suggestions (besides stop_machine-like IPIs for synchronizing all CPUs) on how to go about dynamic code patching in a JIT-based DBT-system? In my case, it's a priori unclear on whether or not the instruction being patched has been prefetched by another core.
I wonder why MTQQ has been chosen as protocol. It seems that this protocol has quite some deficiencies according to this article: http://vasters.com/clemensv/2014/06/02/MQTT+An+Implementers+...
I'm not sure who gets the shorter end of a comparison between Zed Shaw and Stephan Pastis.
I wonder if Watterson really believes the gag line for the third strip, "Nah, the art form's dying"? He might, being (apparently) a neo-luddite of some sort. But there has never been as many, or as good, comics as there are now, or as many busy, thriving comic artists. Hint: they are not found at gocomics.com.
There are a lot of good reasons not to use Boost. It has had version issues in the past, where code that compiles with one version does not compile with a later version. If you are creating a library, using Boost forces the users of your library to also depend on Boost... in particular, to depend on the SAME version of Boost as what you used, which could be a problem if they are already using a specific version.

In general, Boost is just a huge library. Using it may make your code unfamiliar to people who don't know the whole huge library, because there is a strong temptation to start using random parts of the library. Additionally, the style of Boost doesn't always mesh well with the coding style you are using. This is why Google, for example, bans boost except for a small number of approved functions.

When I'm on Stack Overflow, I always end up downvoting a lot of answers that don't answer the question being asked. "You are dumb for wanting to know the answer to this question," no matter how politely it's phrased, is not an answer.
If you knock on wood, make sure it's not a pile of chopped wood outside.
I truly think a redesign is the only thing keeping from Twitter today to Twitter 10x. It is too cluttered and they are innovating their design too slowly. Remember how fast Facebook released changes (albeit facing massive protest)? People got over it and they are still growing. Twitter needs more contextual filters!
Though not linked, today's strip (http://www.gocomics.com/pearlsbeforeswine/2014/06/07) seems like a fun ending to their collaboration. Assuming the short story arc is over.
Thanks for letting me know about HN. I wanted to make it very clear I was speculating wildly. It doesn't seem that outlandish to think that the NSA could have agents working at top communications companies.

I worked for a small security startup, and our main security engineer would mention that he believed that at MSFT, there were groups that secretly worked with the government to install government backdoors in various software. He had no proof, but it seemed plausible.
Watterson was very outspoken about his displeasures with the art form and the grinding newspaper production process throughout the life of C&H. His beliefs, then, predated almost all online comics, but he discussed a modern take recently:

http://mentalfloss.com/article/53216/mental-floss-exclusive-...
Of course encryption would help. But for that you don't need your own fiber. So balls187's point still stands.

> Or the relative difficulty of needing to use a submarine of some sort

They overcame that difficulty. The USS Jimmy Carter was specifically outfitted to be able to tap into undersea cables.
> There's no exercise at all: They'd get pilloried for it in the very same media

Unfortunately you only get a C+ on this exercise. :)

The short answer is that portions of the Espionage Act likely violate the First Amendment's guarantees of freedom of speech if the EA were used to prosecute journalists who obtained the materials over the transom. (Whether this applies to Wikileaks is a different story. Different facts.)

The slightly more detailed answer is that the modern jurisprudence relating to the First Amendment is far more speech-protective than it was when the EA was codified a century ago. And DOJ doesn't want to risk having parts of the EA declared unconstitutional. So Glenn Greenwald and other reporters were (properly) not indicted for violations of the Espionage Act, which makes it a federal felony to publish classified NSA SIGINT or cryptographic material.
Did you not realize that when you said it, or were you being intentionally manipulative?
So for this product to succeed we're also arguing that tablets can replace laptops? I own both for totally different reasons, and I don't think that will ever change.

Or this is just a "nice to have" accessory for tablets?

My point is this isn't really something the masses will adopt, and is instead a very luxury item for wealthy nerds (myself included). Totally fine if that's the case, I just want to understand the target market.
DBT == dynamic binary translation, in case anyone else is wondering.
By similarity. People who like this also like this.
Click on a node/band and may see similarities of that band.
Pastis is a prankster, but I highly doubt that his claim is fake. Pearls Before Swine is a well-known comic of its own right, without much need to fake a claim about working with Bill Watterson
My thoughts exactly - GET with payload virtually means no caching.
I like it.

I would change "Currently on the Web" to "Currently Trending" or something like that.

Currently on the Web sounds strange as all the articles are on the web.
As if our ancestors were fasting because they knew it was good for their health. As if their poor nutrition didn't cause much worse problems for them like nutrient deficiencies, lower IQ, shorter heights, lower life expectancies. As if most people today eat only according to the best consensus of nutrition science.
Perhaps he just misses it. I would.
> "This is how you don't fuck up your body while working"

As an aside, “Using Python to code by voice”[0] is quite an inspiring presentation on the topic.

[0] http://www.youtube.com/watch?v=8SkdfdXWYaI#t=542
Car manufacturers created the franchise system as a way to avoid them having to carry the cost of vehicle inventories and repair facilities across the country. Having done so, the dealerships lobbied the state legislatures to formalize their status in law, so that they couldn't be disintermediated by the manufacturers later.

I believe that the argument in their favor, other than blatant self-interest, was that dealerships provide post-sales warranty service, which would otherwise not be readily available. In some states, IIRC, the statutes are written to say that vehicles can only be sold from a location that also offers warranty service.
Dear I
Why Students Aren't Fighting Forever 21
Great article! I'm still trying to wrap my head around this, but in the meantime I'll quibble about one tiny throwaway aside:

DISPATCH_EXPECT is a macro that tells the compiler to emit code that tells the CPU that the branch where 8predicate is ~0l is the more likely path. This can improve the success of branch prediction, and thus improve performance.

While this is what the macro would do on processors that support such code, x86/x64 isn't one of those processors (Itanium was). Instead, it's more important purpose here is to hint to the compiler (not the processor) to lay out the conditional in assembly such that the expected result is on the faster "branch not taken" path.

That said, is the actual implementation of the "write side" viewable online?
"I could do better if I had more space"

http://en.wikipedia.org/wiki/Calvin_and_Hobbes#Syndication_a...
Can someone link a mirror?

I get timeout for some reason.
I realise this approach has its assumptions and limitations, I was just trying to show how far you can take things if you're really after absolute performance. NOP'ing out the call instruction is the subtle part, but if you can ensure that all your calls to this function are 2-byte calls and aligned, then everything works out great.

Direct calls on x86 are 5 bytes so NOP'ing them out atomically is a bit more difficult; two ways of doing it I can think of: [1] use an 8-byte load/store, or [2] ensure the displacement part is aligned, and overwrite it with the address of a single RET instruction so the call immediately returns. The first way could be slower but effectively NOPs out the whole call, the second is simpler and faster to do but leaves the useless call/ret (while still eliminating the compare/branch.)

Incidentally, doing this is much easier on RISCs like MIPS and ARM thanks to fixed-length instructions (that automatically align), and they tend to have much shorter pipelines too so the flush penalties are lower.
I think you mis-interpreted the parent's example. Larry and Sergey were academics before they were founders.[1] Their research lead directly to Google's success. I believe Google still licenses Page Rank from Standford. (A huge win for the TTO at Standford)

[1] Sergey's academic homepage: http://infolab.stanford.edu/~sergey/
Oh god, that chart [1] took me a long time to understand.
Since when was it a good idea to use floating, negative bars in a bar chart to indicate change over time.

[1] https://lh6.googleusercontent.com/3VC2E1ok_hRV5MPXS3J9s5u9xe...
Any reason why you have to add utf-8 param? This is interesting, especially the check mark - that's actually my first (or number zero) question :)
I seriously doubt it. As an art form, newspaper comics are going the way of newspapers, but comics in general are thriving more than ever. The Internet has provided the perfect platform for them, and crowdfunding works quite well for strips with a following.
After spending years reading Web comics I now find that "C&H" maps to Cyanide & Happiness rather than Calvin & Hobbes. (Which is crazy; I read all the Calvin & Hobbes strips and grew up in Cleveland Heights for pete's sake!)

It didn't used to be that way. Modern Webcomics are starting to be big cultural phenomena (income comparable with a comfortable full-time job or better for the stars in the industry)
This line of reasoning is ridiculous and I will give an analogy.

Pick an ancient "wisdom" at random. What probability do you assign to this belief being true? You get "throwing salt over your shoulder increases luck." Obviously ridiculous right? You aren't going to actually do it just cause "the ancients" said it was good.

Now imagine some study comes out saying that exposure to salt in the air actually increases your something-or-other levels making you healthier. Ha, the ancients were right (kinda-sorta, about one thing, and for the wrong reasons, and with the wrong predicted effect)! All modern science must be wrong and all ancient wisdom must be correct! Proof we must go back to draining blood to to treat diseases and stop abandoning ancient practices.
The Washington Post talked to Watterson about the collaboration: http://m.washingtonpost.com/news/comic-riffs/wp/2014/06/06/e...
That is one philosophical position -- a classist and strongly capitalist one dividing members of a company into owners and employees. This leads to division of society into workers (who sell their labour) and capitalists (who collect rent).

An alternative, more progressive position is that all workers should be entitled to some ownership of the fruits of their labour. That is to say, everyone involved in an enterprise, no matter how big or small, is entitled to receive ownership proportional to the impact of their contribution to the success of the endeavor. In this world view there is no division between owners and employees, and unearned rents are minimized.

This is really a philosophical / moral / political debate.
I have a hard time taking this site seriously. Most popular project in the chemistry section seems to be a hand drawn picture of a cat. The entire site seems very focused on gigantic thumbnails instead of, you know, comments.

I file it under 'internet based funding agency'
Diskettes!
Ghostzilla
Every Bitcoin address includes a checksum at the end, so while you can make up any address like in this example, the checksum still needs to be correct in order to form a valid address.
It's a great feature against typos, btw.
I think what's more amazing is that his opinions are so simple and undefended that they fit in all of 17 tweets.

This isn't the stealth libertarianism of Silicon Valley. This is its naked, obvious politicization.

Given how extraordinarily little substance his opinions have, we agree or disagree with him entirely based on whether or not we like him, not whether or not he is fundamentally right.
Show HN: Mimik – Write UI automation tests in natural language
>In my view, the company has two options: find new sources of traffic, or evolve the product.

It seems we've omitted their purchase of MoPub, the world's largest mediator of mobile ads.
Yang Kyoungjong, the Korean captured on D-Day
I think their funnier if you understand the subtle Watterson references. The 3rd panel of the 2nd strip for instance references Bill's career-long battle over the confinement of the existing panel structure.
That sounds like a tricky/interesting problem -- out of curiosity, what's the higher-level problem you're trying to solve? What are the required semantics? For CMC, synchronizing with the destination core is probably necessary. Details of how the snooping works aren't documented and you probably can't rely on particular uarch implementation details anyhow.

But -- specifically for DBT, and just a guess -- you're trying to avoid an indirection when going between translated blocks/traces, and patching them directly together? Or at least somehow modify blocks/traces already in use by other cores. Then -- at the cost of more memory usage (and icache misses), you might be able to sidestep the IPIs by generating new traces and pushing synchronization up a level to whatever dispatch/map mechanism you use to find translated code. (Think of a persistent datastructure where the only mutable state is the root pointer, not the datastructure nodes -- same concept, same concurrency benefits.)
> 2) institutional library access to get at the papers you need (Google Scholar helps here, but it's far from perfect)

Really? At least in my fields (programming languages, networking) everyone has their articles on their homepage. You can find whatever you need by using regular Google or CiteSeer.
There are hints for taken/non-taken branches in x86. However, the only family to use them was Pentium 4; other processors silently ignore those hints.

As for the write side, you'll find it here: https://opensource.apple.com/source/libdispatch/libdispatch-...
Err... I don't see an edit option!
Show HN: 1 click sharing of interesting stuff on HN with your team
The CIA's first tweet
University of Reading to stage Turing Test in London on Saturday
Academics already do their peer review for free. They don't even get internet points.
There is if you don't want to lose advantages that following them bring. That said, I don't see how this would break any REST principles.
didn't know it allowed custom emails. Thanks for the tip.
Uh oh! Gotta watch out for those stealth libertarians! They might secretly try to let you do things!
It's a language. Get over it.
Oh I have partaken of said kool-aid. Maybe I haven't had enough of it.

I've done toy examples, and watched lectures (Erik's C9 lectures are amazing), and I just haven't found anything to write in Haskell.

At this point Haskell is starting to seem like the sketchy guy in the corner at a party. "Oh you think I'm obtuse? just drink a little bit more of this kool-aid here"
I am not sure of that. This might be fueled by a lot of negativity, but many people I know care 0 about ergonomic reasons, even if it fucks up their body while working. Chair too low, not configured, table not at the correct height, although easily changeable... I could go on.

Also, I am not sure how this thing makes anything better: you still have to do hand movements correctly and most people will need some kind of surface to orient their hands on. Same problem, without a keyboard.
I wouldn't go that far.
So you're accusing them of only helping some minorities, not all? On what basis?
Yes, and sometimes you want to loop over something that can't be expressed with existing syntax.
That's the benefit of Lisp-style macros:
http://www.paulgraham.com/avg.html
This is about as silly as "The stealth liberalism of Salon"
But that wisdom is all from different periods. Fat in particular is the old sugar - it makes food taste good. It's also the most calorie-dense macronutrient. Of course you're going to put as much as you can in your food. Want some more old wisdom? Bread: eat as much as possible, because it's cheap and fills you up. Bread and butter - the foundation of a good diet.

You can't just take any old practice and follow it blindly, you need to have some idea if it's good for you or simply doesn't kill you. Because there's a whole ton of shit that doesn't kill you.

Nutritional science may be bunk, but at least you can usually tell when they're speaking bunk and it sure beats the old system of "My parents ate this and they lived to the ripe old age of 50".