skysight-inc/HackerNews huggingface dataset:
...or just preload a special implementation of strcmp that makes notes of its inputs.
By the way, in case anyone was curious about the comment in the article:

> Since fences are so expensive, couldn’t you add a dummy assembly instruction that prevents the X86 from re-ordering? So the pseudo assembly for thread 0 might become:

> store(zeroWants, 1)
> store(victim, 0)
> r0 = load(victim) ; NEW DUMMY INSTRUCTION
> r0 = load(oneWants)
> r1 = load(victim)

> Since the dummy instruction is a load, the X86 can’t reorder the other loads before it. Also, since it loads from “victim”, the X86 can’t move it before the store to “victim”.

> If you do this to both threads, does that solve the problem?

This doesn't work. Intel specifically calls out these sorts of attempts to get a fake memory barrier: "The memory-ordering model allows concurrent stores by two processors to be seen in different orders by those two processors; specifically, each processor may perceive its own store occurring before that of the other." This is true in practice as well as in theory.

A related trick that does work in practice (though it is also banned by Intel) is to write to the low-order bytes of a word, read the entire word, and get the high-order bytes. It's sort of a single-word StoreLoad barrier. There's a paper from Sun that documents it further: http://home.comcast.net/~pjbishop/Dave/QRL-OpLocks-BiasedLoc... .
Replace the last part of the url with export?format=xlsx:

https://docs.google.com/spreadsheets/d/17Mr201gfDoOTe5ONLS6L...
Like many, I tend to use tabs as short term bookmarks or a reading queue. Do you do anything in particular for those use cases? Just URLs in a text file, maybe?
We all learned prolog at the lab, well at least those of us who used prolog.
It's unclear if there is an equity component not well reported in the survey, or if startups with 10 employees have "directors".

A "Director" like this is earning less than a median engineer at a AmaGooSoftBook.
On the flip side, it could probably be used as a really slow universal keygen for naive license-key implementations :)
I agree that its worth looking at (and I need to find time to take another swing at it), but I have to admit that when I came into it from Ruby (having also had some experience with Erlang, but not need), I found the Ruby-like syntax with very different semantics an obstacle rather than a help -- it had a kind of "uncanny valley" effect.
Mine almost never can properly receive MMS messages. Either I just don't get them or it can't download the attached image. It also has problems getting group messages. I've switched back to the stock messaging app.
* An Android interface is in development.
* CloudOn has just done a proprietary version for iOS (including a lot of contribution to the core code).
Basic colour theory for programmers
AndrOpenOffice is a port of of Apache OpenOffice, not LibreOffice. It's ... a bit of a dancing bear.
Titles tend to be a very poor indicator of actual responsibility or skills.
No one said confidential, and I'm sure this all come out via the public case, but they only represented themselves as a reporter to the target. They didn't publish fake stories or build a public fake persona.
Mind Mapping and Brainstorming
All good. Regardless I'm interested in reading your position on sexual prohibition. I'll take a closer look later.
Not even them. A data type could change: the interfaces between functions are what must be versioned e.g. An SML module system.
Hence why personal email happens on my phone, and work email happens in outlook (running background). Both notify me when I get mail, so "checking my email" is a meaningless action.

Of course, this only works out well when you can prune down the number of emails you get. Unsubscribe from everything you can.
Dennis L. Montgomery
i remember hearing about the settlement on the radio and was like Great! At least some investors will get compensated for being scammed... then I read this:

"Couple this with the fact that the bank's share price soared six percent on news of the settlement, adding more than $12 billion in value to shareholders, and one could argue Chase actually made money from the deal. What's more, to defray the cost of this and other fines, Chase last year laid off 7,500 lower-level employees. Meanwhile, per-employee compensation for everyone else rose four percent, to $122,653. But no one made out better than Dimon. The board awarded a 74 percent raise to the man who oversaw the biggest regulatory penalty ever, upping his compensation package to about $20 million."

Just amazing
SparkLabs Launching Internet of Things Accelerator in Korean “Smart City” Songdo
Why does it use fuzzed input in the first place? Couldn’t one just use random input from the beginning instead? It would be effectively equivalent but fuzzing of a "hello" string seems to be roundabout.
Wow, two awesome ideas in a week. Reminds me of this posted just a couple days ago http://reverseocr.tumblr.com/
Emacs Stack Exchange
CatThink: see the cats of Instagram in realtime with RethinkDB and Socket.io
The problem is that no one chooses an alternative candidate who doesn't belong to one of the major two parties. Moreover all of the money is being funneled into those two parties.
This is an argument one often hears. However, V8 is encapsulated quite well, since chrome has the same issue.

Furthermore, these micro services can actually improve security: You can implement your own scheme for authentication and authorisation on the document level and deploy it to the database. Then, if your application has various clients for different devices, they are all authorized in the same way by the same code. This leads to a simplification in app development and thus to more security, because there are fewer places to get right and the whole approach is less error prone.
When I first learned ruby, it was my first dynamic language I ever fully experienced. I never found the poetry mode to be an issue, and in fact the community was so new and vibrant, they made it very clear to me what was going on. I believe every ruby tutorial I have ever seen made it very clear what was going on.

as far as the hash, you can always inspect the actual arguments being passed, which doubles as a nice learning exercise for beginners.
Why? It's not impossible to think that there is an engineer somewhere out there contributing seven figures a year to a company's bottom line . . . why shouldn't they capture a significant part of that productivity?
It works kind of like http://reverseocr.tumblr.com/ does, but it monitors code paths in the "recognizer" until the software doing the recognition goes to where you want it. It's like a genetic algorithm meats code-path testing way of exercising your code.
It sounds like you're just a simpler person than most, who can be fulfilled by one thing: [your definition of] success. That may actually be pleasant. But a lot of people are not that simple.

And if you say that farming and parenting are easy, then we know two things about you:

(1) You call the things that you value "hard."
(2) You've never farmed or raised a child.

You also clearly believe in an afterlife ("if you die, [you can] know..."); and you believe in one that looks something like a throne from which you can gaze down on your own and others' accomplishments. These two ideas may well have some truth to them, but neither are guaranteed.

Frankly, it's strange to me that in a society in which we are constantly exposed to the memoirs, memories, junkets, and essays of the roundly accomplished, we still think they are any happier than anyone else. Surely some must be or must have been, but I don't know of any confessors. I have heard plenty admit to dissatisfaction, to put it mildly. I hope you don't run into the same trap that many do.

The only thing I agree with you on is that I, too, am a misanthrope in even some of my best hours. I just don't think any more highly of myself for the fact.

Still, I would be proud to have made a better world for the people I do care about--and would even be happy with this George Eliot line for an epitaph, although the pronouns don't map quite right:

"But the effect of her being on those around her was incalculably diffusive: for the growing good of the world is partly dependent on unhistoric acts; and that things are not so ill with you and me as they might have been, is half owing to the number who lived faithfully a hidden life, and rest in unvisited tombs."
So wait until the API is used by relayd, opensmtpd and httpd and see how that works out? I assume that in the end the goal would be to use the libtls for all of the home grown OpenBSD tools?
The problem is now you either have zero data abstraction or uncontrolled data abstraction without even a convention like "these functions work together as a bundle" to save you.

That said, a nice SML module probably could work as the base abstraction here.
Fossil.. it deserves more attention than it has now. Maybe Git is more powerful, but Fossil is a pearl of software engineering
To be honest, we don't know anything about their relationship, but calling the last 10 years a prison sentence to celibacy is a bit ridiculous. Also, having a husband that is too focused on providing for his family financially is certainly not neglect.

As you say, there is more to love and marriage than sex - but both are built on trust. If she was unhappy she needed to voice her unhappiness, not destroy the trust on which the rest of their life was built. That's why she deservers the entirety of the blame. Cheating on a long term partner is one of the worst betrayals of trust there is.
Angular 2.0 – Beating a Dead Horse
Is there any way Holder and the people that orchestrated the cover up can be charged with corruption and negligence?

I'm all for criminal consequences for the bank executives, but it sounds like we also need criminal consequences for coverups by the DOJ.
Why you can’t get strippers’ names with public records requests
The problem with this approach is you need to consider every existing function name in order to define a new one.

The beauty of commonjs modules is they allow you to focus on implementation, rather than identification. All functions can be anonymous, identified only by their path and named at the whims of the caller.
This is basically a perfect example of how "capitalism" in the US is not capitalism anymore. No corporation should be insulated from the financial downside of its incompetence. In the real world, Chase should have gone under or at least lost a hundred billion in market cap, but instead they are in cahoots with government regulators to limit their downside and protect their upside from what is their fault.

This is not capitalism! And it's painful to see how this hybrid growth-corporatist model trump true innovation and economic progress. It's an insult to free market economics and democracy at the same time.

Rant over. One addendum: jail time isn't the answer. Putting an executive in a minimum security prison for 5 years just lets another one take his place. CEOs aren't afraid of jail time, they're afraid of losing money. If you let banks fail who deserve it then creative destruction will ensure stronger, better and safer banks in the future. Capitalism can't survive without profit and loss working hand in hand.
Technically in turing-complete languages, there is nothing that one language can do that another is incapable of, correct?
Discipline, is that an app?

Seriously though, I seem to have so little. I'm seemingly distracted by every neutrino floating through me nevermind things that actually interact with me, gah! ...
Thanks for that link! I also kind of wonder what the non-tailor traded that tailor for their garments, and where the tailor got their tools/equipment/raw material, the whole shebang, so to speak.

As others have said, back then, everyone worked as much as possible just to get by, so I guess if you weren't a tailor, you were X, so there was something you could offer to exchange.
ODRAAS works too :) My email is in my profile.
One solution is to extend the "corporations are people too" concept to the logical conclusion. It's just harder to jail a corporation aside from fines.

A corporate death penalty would be nice to see for some of the most egregious cases, including a "show-cause" requirement to allow executives to take leadership positions in another public company or one in a regulated industry.

This is fraught with problems though... you could kill the corporation, shame the executives, but tens of thousands could still be out of a job, and in the financial industry you'd wreak havoc on the entire economy. I'm not sure if it is worth the risk.

Realistically, I'm not optimistic that this will ever happen in a meaningful way...
That disclaimer is not enough and doesn't justify a link bait title.
>> Can someone ELI5 what's going on here...

Evolution.
https://news.ycombinator.com/item?id=8552262
The sad part is when you have to get a whole new set of friends, even though you like them, to become the person you want to be.
Just for the sake of having balanced anecdotes here for people who might be considering the switch to TS:

I recently started using TextSecure on my janky, crappy old Android phone and it is a _dream_. So far it has been strictly better that the native Android text app in every respect. The user experience is so different it's like night and day. Faster, lighter, quicker to load, better at sending messages while I'm in the subway with low signal, lets me keep typing the next text reliably while the old one is starting to send, etc. I could go on and on. I would use it just for the UX alone, even absent crypto.

I'm not in any way affiliated with TextSecure and frankly disagree quite strongly with some of Moxie's politics, but credit where credit is due. +1 very satisfied user.
"the default themes for it are decent"

Not on Linux. One of the long-time criticisms of Tcl was its Windows-centric development.
Reddit launches its own crowdfunding platform
Google's phone number handling library
I've thought about this before, and I'm assuming this is because clickable links in a post would allow people to submit articles pre-attached with comments, and HN wants users to submit links and then comment with the others, not have a perma-comment attached to the article.
Depends on the company, and whether the execs were staying (and golfing) at a five-star...
Show HN: Presentious – Capture and Share Presentations
As a guy in his mid-20s working in a high-pressure, high-paying 9-8 job...

Its all a tradeoff. Yeah I'm working very hard during the week - I don't really have time for anything besides work+gym during weekdays, and some weekends I need to work as well. BUT I'm able to provide for my single mother, live in a very nice area in my city, travel wherever I want to go on vacation, eat at nice restaurants, buy expensive toys, etc etc. Coming from a family where the the nicest place we ever went out to eat was hometown buffet, this financial freedom is pretty damn great.

Plus I would argue that I actually have more freedom to do what I want to do during my free time, despite having less of it. I went to NYC for a weekend last week, was in vegas 2 weeks before, and I'm traveling to Japan over Christmas and NYE to snowboard in Hokkaido. You just cant do stuff like that if you don't have any money, especially when you need to help support your family.

Anyway just my 2 cents. Every job has a varying degree of intensity, and mine, despite the long hours needed, is still pretty flexible in terms of when I can take time off and such.
big tough guy covered in tattoos

This tells us more about your stereotypes of criminals than anything else. If you made a story up out of whole cloth to impress someone it would be unlikely to fit with any other evidence in the case. Back in reality, if you read cases where such tactics are employed, they usually involve pairing someone up with a cellmate who is in for some relatively minor crime and gain's the suspect's confidence by talking freely about their own situation. Admissions to cellmates usually come after days or weeks, once the suspect has become comfortable, at which point the suspect may brag about their criminal activities - in much the same way as everyone else likes to share 'war stories' about their line of work from time to time.

A threatening or scary cellmate that glared aggressively at a suspect would be a gift to defense lawyer, since it would make it a lot easier to argue that the confession had been coerced and should therefore be suppressed. Criminology texts emphasize this point; the object is to elicit a confession that will stand up in court. In the vast majority of them the informant presents a friendly demeanor towards the suspect, and furthermore is instructed not to prompt or ask questions but simply to pay close attention to the suspect's conversation and report anything interesting to investigators - again, to avoid complaints that a confession was coerced or that a defendant was put in a position where they felt obliged to provide information without benefit of counsel. Indeed, law enforcement often uses undercover officers posing as prisoners, and courts don't consider this a violation of Miranda rights as long as statements made by a suspect are voluntary.
Facebook Bug – Posting without permissions on behalf of user
This is almost axiomatic of modern processors, because the truth is there is no market for truly general-purpose processors. Chip designers produce heavily optimized & targeted silicon to squeeze out significantly more performance in real-life workloads at the expense of code that might- but doesn't- exist, and given the choice between a slow GP-PU and a fast modern CPU, you'd take the latter 99 times out of 100.

Belief in a truly GP-PU probably would lead to some very bad design decisions- either in software or hardware- but I don't think many people actually believe in it beyond the theory, the model. Just as hardware engineers adapt their ideal model to the "real software", software engineers adapt their software to "real hardware".

Because processors optimized for these cases have been the cheapest processing elements that consumers can buy, many algorithms have been coerced into exhibiting some of these properties.

I would additionally argue that aside from cost, because of the speed exhibited by such processors, many algorithms that do not naturally fit in the current model are in fact faster on the modern CPU than the hypothetical GP-PU anyway. Caches, for example, are such a tremendous lever on performance that a low-performance but cacheable version of algorithm X running on an i7 will almost certainly be dramatically faster than a high-performance but noncacheable version running on our hypothetical GP-PU...

If there is a low-level OS whiz around, they might be able to figure out how to set the noncacheable flag on your program's memory space, and you could prove to yourself just how much speed the cache is worth... unfortunately I am not that wizard.
Well, "hello" is pretty random. :) It was probably just used for dramatic effect in the demo, and you have to start with something - of course even a 0 byte file would be enough.

You could also have a started with a valid .jpg with lots of complicated embedded exif metadata sections etc, and have a good chance of triggering bugs in those code paths without having to "discover exif" first.
Maybe a decentralized market server approach is better: https://openbazaar.org/

Edit: I should say that openbazaar hasn't been released, and very little work has gone into allowing for anonymous nodes on the market. The idea is that once openbazaar is released then people can apply Tor anonymity to connecting their market node to the database of all nodes where things are available for purchase.
In this case "hello" was just a pseudorandom starter to seed the fuzzer.
I'm interested in knowing how people can even detect this happening. Anyone? The article didn't really go into detail on that point.
Windows 8.0 seems to have become especially bad when it comes to this. All of a sudden it will pop up and focus a (modal) window - all there is is the wallpaper (fuzzied) and the window, where did my application go?

No Windows, I don't want to update Java (yet again) when I'm playing a fullscreened video game.
ArangoDB was only started in 2012 but many years of experience in developing special-purpose database solutions went into it. This is how the rapid evolution into a market-ready product was possible at all.

Foxx is designed as the extension framework for ArangoDB and so it does not really make sense to rip it out of the DB kernel. Furthermore, a lot of its advantages would vanish if it does not longer have immediate and rapid access to the data.
When banks go down they take down the economy with them; that's what 'too big to fail' means.

It's not worth all the human suffering caused by a depression instead of a recession just to prove that the banks should be more cautious.
Show HN: Versey
Chocolatey is one of the first things I install on any machine...
Mock it locally, exploit it globally. One more reminder why it's useful to turn off your server signatures, especially if they spew out version information.
here is a daemon that runs forever

foo()->
foo().

1. processes as tail-recursive functions

it's callstack will never grow. you can have multiple of these running and the scheduler will still split work between them.
a process is a tail-recursive function where the argument becomes its state.
a process ceases to exist when it stops being tail-recursive.
erlang's distributed computing strengths can in ways be attributed to tail-recursive approach to network programming & beginning with concurrency in mind. everything else came as a side-effect.

for anyone interested for more examples of expressiveness/composition, this is from my talk at functionalconf
http://www.slideshare.net/bosky101/recursion-and-erlang/43

2. Node's or machine's are first-class citizens.

you can decide to replicate data over to them, make the data on one node location-transparent, or decide to just abstract it all in a distributed system.

3. binary patten matching

you can pattern match not just [A,B] = [1,2] but also contents of A,B. or do gaurds against contents . eg if the contents of this binary variable begin with "foo".

4. you never have to import any header or module. the vm uses all modules available in its (ebin) path. big cyclic dependency headaches good bye.

5. as many schedulers as there are cores in your machine. (configurable)

6. hot code swapping.

albeit little contrived for the beginner on production systems.

7. otp

comes bundled with the fsm,client-server,etc skeletons called "otp", the same that runs 40% of the worlds telecom traffic.

~B

PS: the root link describes more such features you may find useful
No astroturfing on HN, please.
I defined this for someone else who had the same question a few days ago. There are 4 ways to contribute:

- bugs (find and report them)

- code (the part everyone wants to do)

- docs (the part that everyone should do, but has been given second-class status due to everyone thinking writing code is the only way to feel like you're contributing)

- tests (ever clicked on "button" and everything broke, well if someone wrote a test for the functionality there, it likely wouldn't have)

I urge you to start with the things the pure-coders hate, and that is well-defined, noob-friendly documentation.

You'll never be given the high status of "genius programmer living in basement, changing world", but your documentation and "dumbing that shit down" way of explaining things will sometimes make the project more successful and will carry more weight as far as bringing more users of the code-base.
I hate the idea of giving these banks special treatment to keep them solvent, but if that's really necessary, fine. But there's no reason we can't lock up all the executives and fine them personally.