skysight-inc/HackerNews huggingface dataset:
At least for ARM on Linux, the kernel does provide cmpxchg in the VDSO, but I think that is for support on older ARM architectures. IIRC, the ARMv7 does not need to use the kernel helpers.

https://www.kernel.org/doc/Documentation/arm/kernel_user_hel...
BTW, I don't mean to disparage the general idea of a life coach. I know some people who have used them with highly positive effects. They can be a more affordable way to get impartial feedback and help accomplishing goals, like the mental equivalent of getting a trainer to help with physical health.

It's just that I wouldn't be too concerned about the possible conflict of interest with a healthcare professional where I am officially a patient and have HIPAA protections. However, I would be concerned about possible motives and conflict of interest with a company-provided life coach, who is not necessarily bound by any privacy rules.
Fair. I just didn't know how to rephrase that small sentence without unfolding into the two paragraphs you just wrote.

How would you rephrase that? Just "low level atomic", "atomic"?
I spoke about that in the post - we had narrowed our efforts to just be hardware focused, but soon realized that wasn't enough. We then narrowed even further and were going to simply offer a podcast radio with a number of customizations. But that decision was made too late.
Owens Corning has a trademark on the color pink for insulation.
Look Ma, no OS
When they were written (in 1865), he was only 10 years away from getting his first typewriter.

>> Hartford, March 19, 1875

Gentlemen:

Please do not use my name in any way. Please do not even divulge the fact that I own a machine. I have entirely stopped using the Type-Writer, for the reason that I never could write a letter with it to anybody without receiving a request by return mail that I would not only describe the machine but state what progress I had made in the use of it, etc., etc. I don't like to write letters, and so I don't want people to know that I own this curiosity-breeding little joker.

Yours truly,

Saml. L. Clemens
> The dominant form of government in Europe is the parliamentary republic

You mean "parliamentary democracy" (which is a subtype of representative democracy), not "parliamentary republic". "Republic" specifically means the absence of a monarch, which, as you note, is not a feature of many of the systems at issue.

(Some, however, are republics, as well as parliamentary democracies.)

> Central banking was initially a European (British, I think?) invention.

The Bank of England wasn't the first central bank (Sweden, at least, had one first), though its often credited as being the dominant model for later central banks. It does seem to be a European invention.
There's a second performance reason (although I can't comment on whether it's relevant in this case); it's cache banking.

Sandy Bridge and Ivy Bridge processors load data into L1 cache in 64 byte chunks. This is split across 8 banks, the first 8 bytes go in the first bank, and so on.

Each bank can service one request at a time. If you have aligned structs, then you will only be accessing one cache bank for each request. If you have unaligned structs, you might access two cache banks, or three for a 16 byte read.

This increases contention and reduces the opportunities for instruction level parallelism, because it increases the number of conflicting instructions.

This is unfortunately tricky to benchmark synthetically (your link displayed it well; his benchmark doesn't show it but the linked benchmark is 50% slower - who's is the realistic case? (probably a bit of both)), but it's entirely possible that you'd see a difference over a large test case set.

I think with Haswell there's less of a problem.

Also it's probably easier for them to align and guarantee their code works on all architectures; PHP memory usage is not huge in general (I know Wordpress is doing badly if it uses 64MB) so it's not really a problem.
10 Top Entrepreneurs Share Their Best Business Advice
Use Negative Keywords
What are salaries nowadays in Barcelona? is 60-70K realistic?
As a child, I interacted with the first computer, a TI-99/4A, on a farm. So, for me the best programming inspiration is mixing nature with computers.
I appreciate the info, but I currently hold (and use) a security clearance. All these MDMA / cannabis / LSD-25 assisted therapies are doing great things for veterans, but when it comes time to fill out that SF-86 in a few years, it would bone me.

Still, I appreciate the info.
acquihires are one way
Same here, although I picked the west coast of Florida near Tampa.
One of the useful tests for "realness" is what lasts

What? This ismeaningless, and obviously false if you just think about it for one second. Please see my reply to tsunamifury above.
Before Minecraft, there was "Infiniminer" - a decompiler was involved:

Zachtronics discontinued development of the game less than a month after its first release as the result of its source code leak. As Barth had not obfuscated the C# .NET source code of the game, it was decompiled and extracted from the binaries. Hackers modified the code to make mods, but also started making clients that would target vulnerabilities in the game as well as build incompatible game forks that fragmented its user base. Barth, who was making the game for free, then lost interest and dropped the project, as development of the game had become too difficult. http://en.wikipedia.org/wiki/Zachary_Barth

"Proto-MineCraft Abandoned Due To Epic Error" article: http://www.rockpapershotgun.com/2011/01/20/proto-minecraft-a...

The Minecraft mods-support relies on a decompiler too: http://minecraft.gamepedia.com/Programs_and_editors/Minecraf...
You will too dude/dudette. Keep your head up.
In Erlang, B will log only what stack accumulated in B's process. Nothing from A's. That is -

run() ->
B = spawn(fun() -> receive_func() end),
A = spawn(fun() -> send_func(B), io:format("A completed normally", []) end).

send_func(Pid) -> Pid ! whatever.

receive_func() -> receive _ -> throw(blah) end.

You will receive a call stack listing only an error in receive_func. You will not have the anonymous function in B (due to tail call optimization) in the call stack, and you will not have the send_func in the call stack, at all, because that process completed normally; there was no error involved with it (a fact you can see by the io format call, which will be invoked just fine). A sent its message, and then printed something, and that's it. B's error does not relate to A; A might have a separate error (such as if I were to add a receive clause to send_func, expecting a response, that times out after a while), but that error is unrelated to B, and will create an entirely separate error in the logs, with an entirely separate call stack.
Whatever that is, it looks almost guaranteed to send a post straight to the bad dog box.

We took the voting ring penalty off this story because we hate to see good work get penalized on HN. But please, everybody, don't get people to upvote your posts! It mostly backfires.
It is a nice service, maybe useful, and I think it is also cheaper than the others that do the same thing. However the blockchain has no legal value under the government courts, so you cannot "send notaries on vacation".

Anyway, nice job.
Just curious, why did you decide to use a supervised learning approach for this? You're hard-coding the categories in this manner.

You could try using clustering instead (K-means) to group the posts together into their own categories. This is similar to a "trending topics" approach, where the categories could change each day.
I don't like the Java environment at all. Furthermore, the syntax choices baffle me: Having to specifically know when a form uses () or [] is just odd. The 'let' form stands out as a good example of Clojure's bad language design choices. There's also no tail-call optimization, one has to explicitly use a 'recur' form to approximate it. I'll stop here.

Everything you've said in the above quoted text is a selling point for me, not a negative thing. I like having the java environment because it brings a lot to the table. I really like (let [...] ...) because it makes it visually obvious to me where the bindings are. I also like explicitly using recur because it makes intent obvious and lets the compiler complain if its not in a tail position.
Ahhh, you aren't scraping, you're building an aggregator! Google does have a bunch of lawyers but the hardest part is building and selling something. Solve any perceived illegality later.
My formulation was admittedly not very good but I am not confusing those things.

The first part, being doomed to throw money out of the window, was intended to mean that Bitcoin can never profit from lower electricity costs or more efficient hardware. Whenever hardware becomes more efficient or electricity cheaper the Bitcoin network has to increase the hash rate or will become less secure. On the other hand a normal bank for example can reduce their costs whenever hardware becomes more efficient or electricity cheaper.

The second part, hundreds of millions Dollars for only a few transactions, sounds probably even more misleading. You are of course correct, you can at least technically process an almost arbitrary number of transactions no matter what the hash rate of the Bitcoin network is. But there is a catch. You can not process transactions worth millions of dollars with a Bitcoin network consuming electricity worth say $100,000 per year. You surly can try but it will only be a matter of time until someone will destroy it for the lulz.

Or imagine Bitcoin really taking of processing transactions worth billions and billions of Dollars every day. What do you think how much would an hostile group or government be willing to spend to burn your system to ashes? Right now it sounds quite ridiculous because the transaction volume is so small that it is really not worth it but imagine for a moment Bitcoin becoming Visa. A rich nation or a nation sponsored terrorist organization willing to spend 10 million, 100 million, maybe even a billion Dollars to bring the system down sounds not absolutely unimaginable to me. And the amount of money an attacker is willing to spend sets the lower limit of money the Bitcoin network has to burn every year to remain secure.

The important takeaway is that for Bitcoin burning money and security are the same thing, whatever makes mining cheaper makes Bitcoin weaker. Especially it is not the hash rate that makes Bitcoin secure, it is the amount of money it costs to achieve this hash rate. And also mining incentives and so on are really secondary, it is the amount of money an attacker with incentives external to the Bitcoin network is willing to spend on an attack that determines how much money needs to be burned to keep the system secure. So the only way to achieve lower transaction costs is to increase the number of transactions processed which may or may not increase the amount of money an attacker is willing to invest.
In addition to that, uBlock/adblock also seems to take care of most toolbar/malware pop ups that parents tend to fall for.
I agree. My personal choice: they should have focused on "build your own personal digital alarm clock - make it snooze however you want: shouting at it, moving it or just placing the snooze button on a particular hard to reach place".
These guys had amazing time in Asia
enum gives you sum types, struct/tuples provide product types. That's pretty vanilla ADTs sorted. GADTs are a whole other can of worms though.
> I don't think the target user will care where the data comes from if it saves/makes them money.

I may also be scraping the targeted user or targeted user boss' website. That's part of the conundrum.
Facebook’s Internet.org Isn’t the Internet, It’s Facebooknet
Warn HN: The website hnofficehours now redirects to an app's landing page
I noticed something somewhat shady today. You know a few years ago there was this website called hnofficehours where the users of HN were able to make a profile.
A lot of the users currently have the link to their user page on hnofficehours in their profile.

Well the thing is that today i tried opening a specific link to a user's hnofficehours page, well i got a 404.

So what i did next was tried opening the page HNOfficehours.com and saw that it redirected to the landing page for an application.

So calling out all HNers, remove the HNOfficehours links from your profile, otherwise you are indirectly and unknowingly promoting an application which you had nothing to do with.
Google Rolls Out New Ads as Mobile Searches Top PCs in 10 Countries
Apple Is Thinking Different About Today's Technology
Mountains of Mouthness Going Viral
If you honor robots.txt or provide a straightforward way for sites to opt-out of your search engine, you're in better shape than you would be otherwise.

Google honors robots.txt but few site owners enable it because of the cost of delisting. By contrast, the cost of delisting from your specialized search engine is low, so you might see some of your content dry up.

In the U.S., at least, you do not have the legal right to connect to a site if the owner as requested that you stop -- see eBay v. Bidder's Edge. Fair use has nothing to do with that point (fair use deals with what use you can make of the information once you obtain it, not with any right to obtain it in the first place).

Talking to a lawyer is always good advice.
Cool idea! We will work on adding RSS feeds for each category page. Probably between today and tomorrow we will have it ready. Will let you know :)
Yes, pre-ARMv6 does not have the load-link/store-conditional instructions.

The Linux kernel hack for that is actually kind of awesome. Notably, it's not a syscall and you don't enter the kernel to do them. Since pre-ARMv6 is always single core, it simply becomes a matter of detecting you are in the middle of an atomic op at interrupt time, and patching the result. This means the atomic op has to happen at a well-known (kernel-provided) address. Details here: http://lwn.net/Articles/314561/

I'm also aware of some older systems that needed kernel intervention for atomic ops. But on x86, ARMv6+, even no longer relevant arches like SPARC, POWER, ... this is not the case. It really is rare that the kernel needs to do this job these days.

Edit: ARMv6, not ARMv7, per the link I provided...
I've worked on similar problemsss starting with Microsoft's speech SDK back in the 90's. This is more of a pain the the ass than it first appears to be. I was secretly excited that maybe NSA has cracked a difficult nut here. (NDA be damned, I'd like to see this in the commercial market)

While the whole spying thing is disconcerting, I wonder how much cool tech they have that could be put to commercial use. wondert if theres a path for a government agency such as NSA to share tech breakthroughs with the public sector. Nasa does this to some degree...
You sound defensive. He's just voicing his opinion.
The good news is the vision of mass-customized electronics is a huge deal. The bad news is, Apple proved it in 2007-2008 with the iPhone + App Store.

The points that you could've focused on a specific object are good. It would've made you think like your intended customer, the designer. You would've been forced to answer the question "Who wants this?" instead of planning layers of abstraction.

You should've taken a smaller slice not only so that a small team could execute it well, but also to make the concept much more graspable to customers. That's the true brilliance of the App Store.
There are two common theories on greatness - (1) it results from hard work (2) it results from natural talent. Both are wrong. Multiple studies show that high degrees of skill are the result of deliberate practice, and that its results eventually override either hard work on natural talent. Much of the book is taken up defining what "deliberate practice" is and how you can achieve it.
Thanks! Well, depending on what kind of service you wanna replace it's actually legally binding.
For example, private documents can be easily stamped using our service.
And anything creative (music, art, etc.) as well.
A couple of years ago there was no book version of the LCK, but a very popular book on the zompist bulletin board was "Describing Morphosyntax: A Guide for Field Linguists", by Thomas E. Payne.

It's essentially an overview of all the weird morphological and syntactical features that the various languages of the world exhibit, so it can function as a great source of inspiration for conlangers as well.
3D Printer for Living Cells – BioBots TC
> In my opinion Rust and Nim would make a nice team as complementary languages

I don't think so because the syntax is very different. You would have to learn two languages, and if you know Rust and you need it for safety reasons -- then why not code everything in Rust?

Nim is very practical by design. I think some practical additional security features in Nim (pre- and post conditions for instance) make more sense than interaction with Rust or Haskell. Somewhere I read that the Nim developers plan to add pure functions (like Haskell). This would be the first step in that direction.
Whose castle is this?

This is the castle of my master, Guy de Lombard.
Very good points, and thank you for adding that context. By all accounts, sounds like a wise book.
One of the best pieces of advice I ever got was from the Dilbert cartoonist. His advice that you can either be in the top 5% at one thing or the top 25% at two things.

Most engineers I mentor make the "mistake" of only focusing on being good at "programming". There is nothing wrong with it, but I'd argue that there is a much lower ceiling than if you were an expert at both programming in general and some niche topic.

In my case I'd say math is the other leg I specialize in, with market micro structure being a close third.

In the general case it could be something like SEO, visual design, or a particular industry like logistics.

The other way to make more is to be closer to the money. If you are developing a product then you are considered a cost center, ie a negative on cash flow not a positive. Sales on the other hand is often the canonical example of a boundless upper limit on compensation as they can directly draw a line from incoming revenue to themselves.

Don't be a programmer, be an engineer who can solve real world business problems. Even better be able to draw a straight line from your work to incoming revenue!
I'm not questioning that it works for some, I'm just wondering how many it actually works for.
Looks like he's back: http://economictimes.indiatimes.com/small-biz/startups/rahul...
So many new features with so few consequences on old codebase... <3 Ember.js
There’s an Uber for Everything Now
Maybe I should not just have skimmed the article. The rest was same logo, same company and limited knowledge of the history.
Ask HN: Foursquare API vs. Location Cloud vs. Places
Trying to understand what the difference between all these API products are: https://developer.foursquare.com/, https://cloud.foursquare.com/ , https://places.foursquare.com/
Why so many upvotes for Spam?!
If atomic operations were compatible across processor "families" then you'd have "the family atomics." (Obscure Dune reference.)
There are some questions about the deal we secured to return our investors' money. Without going into the specifics, I can say it was essentially an acquihire. I'm going to another company, and part of that deal allows me to repay our investors in full.
Living in France (and more specifically, in Paris) for 46 years, this is definitively not my experience or that of anyone I know.
Reminds me of this back in the 2003 where Microsoft went after a high school kid for having the domain mikerowesoft.com (his name being Mike Rowe):

https://en.wikipedia.org/wiki/Microsoft_vs._MikeRoweSoft

It ended alright for Mike Rowe in the end, but Microsoft only offered $10 originally and accused him of cybersquatting which was false. It was only after a bunch of press that he got some decent return.
hardware-provided atomic?
Looks like the user ccalebs has created a Slack board for sharing ideas: https://news.ycombinator.com/item?id=9492884
The facade is kinda bland and ugly. The stickers is the best part of the wall.
Fashion Photographer
"...some of the non-French speaking neighbourhoods are quite dangerous, even cops would avoid going there for their own safety..."

???

Do you know what the area this friend spoke of was ???

Serious question.
I think it's clear that many, if not most, are not arbitrary - which doesn't mean they are well supported; not everything is valid just because it has some reason behind it.

The definition of arbitrary is "having no reason behind it". Sure, judging whether a particular classification counts as "arbitrary" is hard because the definition of "arbitrary" is squishy. But what you just said amounts to:

It's not arbitrary. It might be arbitrary, but it's not arbitrary.
The idea is interesting, but I think the technology isn't there for scalability (need of better 3D printers like the OP said).

Just allowing me to customize a radio (do people still buy radios? I'm curious) isn't of incredible value right now.

I'd wager that "custom drones" would have been a more successful start point, but scalability would have been a problem.
We will never let redgate forget ;)
Ha ha. Love it.
Woot Woot the Tequila Express Through Mexico
Difficult assessment. The Soviet economy was collapsing when the soviet union broke up. It's hard to tell what Jelzin did right and wrong, especially compared to Putin.

What Putin certainly did was to turn Russia into an authoritarian state, run mostly by ex-KGB officers. What he didn't do was to make the society more open and retool and revitalize the economy. He also did hardly anything against corruption which didn't directly affect is ability to rule.
We don't really have an accurate translation of the word "chateau". It's a superset of what we'd call anything from "fort", "castle", "mansion", "palace", "manor house" and anything in between. That being said, the word "chateau" comes from the exact same etymological root as our word "castle", so it's not exactly unfair to use the word.
https://www.nsa.gov/research/tech_transfer/

Most government agencies that do research have a technology transfer program. Searching for "<agency> technology transfer" gets you to the correct place.
Yahoo Trust Cryptography Conference Videos
I had a speculative-design project in the back of my head, where objects physically evolve over successive versions, using only existing use data fed into a generative design. The alarm clock was the specific object I chose (what method of waking you up works the best for you?), and this would've been the perfect platform to realize it. Just a silly concept, but you need to come up with a reason to do millions of one-offs, rather than letting a designer doing her job well for a single universal model.
Yeah, very cool to see tools like this coming to peer-to-peer hosts.

And, I remember a few years back, when peer-to-peer accommodations were considered a novelty.

Now, it's pretty clear that I will probably spend most of my future trips renting someone's home, as opposed to a hotel. Hotels must be shaking...
Whole business model was around selling box that can be replaced with fancy tablet case/stand? Wow, wonder why it failed.
Nobody is holding a bag of money. I only wish it played out that way. It was essentially an acquihire, so I'll be going to another company, and part of that deal allows me to make our investors whole.
Russia didn't need an authoritarian state 10 years ago and didn't need one now.

Putin never achieved anything without cutting down his opposition.
It's all perception. The manager talking with employees, having meetings with them etc gives the appearance of "work". This same thing causes interruptions to developers all day long. "Hands off" managers who hire people they trust to do their job are far more productive, but not the middle of the curve.
Early? Chumby was 10 years ago.
Yik Yak’s Founders on the Value of Anonymous Apps
Synthetic Gel Allows Machines to Move Like Humans