skysight-inc/HackerNews huggingface dataset:
> If they're the kind of company that makes people jump through a bunch of hoops, gives them positive feedback every step of the way and then doesn't hire them then it's likely not a place you want to work.

I know you are trying to make the OP feel good and all. But dude, every company does that. Unless you know folks in the company or are so good that they pee in their pants at the sight of you actually considering working for them and give you a blank check.
Someone should make a Scheme tips site.
I don't see how. Whether you buy it from Nike or (insert lesser known shoe company with same policy), there's really no difference.
How would you find clothes that have not been manufactured by slaves ?
In Switzerland I can buy from Switcher (switcher.ch), which markets clothes "made with respect", and I just found out about the Fair Wear Foundation, which has a short list of member brands (www.fairwear.org).
As pointed out in this thread, just buying more expensive clothes may not make a difference.
Who is "RMS"?

Edit: Ah never mind, searched for "who is RMS", got Richard Stallman.
Are we talking about "internet fora" like HN?
> I wouldn't like to repeat them now as it happens in every thread when I mention some libertarian ideas.

Funny, I feel like the whole "free market knows best" idea pops up in every thread even though I have no trouble providing counterexamples. I'm genuinely curious to see how you would solve the problems I brought up, especially the ones surrounding the subjectivity of property law.

> the important thing to understand is that a government is not some magic cure for all the problems you mentioned

I'm pretty sure my post said precisely that. We agree on this point; no need to belabor it. My statement amounts to the trivial counterpart regarding free markets, but I'm pretty sure you don't actually think free markets are perfect (or even always a better option), so how about we continue on to the part where we discuss specifics?

> Monopolies are mostly not good for consumers; and a huge one with an access to an unlimited force is certainly not.

A monopoly without profit-maximizing incentives, universally shared ownership, and checks+balances (relatively speaking on both counts, of course) seems preferable to one with profit-maximizing incentives, without broad ownership, and without checks+balances. Especially when it comes to force.
Timothy Gowers: What I did in my summer holidays
@RyanZAG

Please look into what escrow means. Of course you can do business with an entity you're not sure is legit. The assumption is that you trust the escrow provider, and the Escrow provider is trusted by the merchant. So, the critera of trust for the escrow provider, is quite a bit higher than a random online store.

If carefully select the escrow provider, check their business registration, make sure there's a legitimate entity behind them, this makes dealing with possibly fraudulent entities as safe as with fiat.
Are there any recorded cases of someone recovering stolen BTC?
Opera shuts down My Opera blogging platform
http://en.wikipedia.org/wiki/Stallman
So sniffing traffic?
"Football/basketball players are paid obscene amounts of money, while what they do does not have any real value."

Serious question: Do you consider entertainment to have a real value for society?
Cython	0.47s	less

...ignoring the cdefs, it's just as readable or more, at least for someone used to reading imperative code as opposed to functional code or mathematical equations. Plus that it takes you 5 minutes to quickly get from a quick and dirty Python hackoff to Cython. And you can stay blissful and ignorant about what "stream fusion" is, focusing on the problem you try to solve and not on the computer science of the tools. Haskell really is far far away from the "don't make me think" philosophy (or "don't make me think of anything else besides the real problem that I'm trying to solve"). No wonder Python and Cython are so loved in the scientific computing field :)
AMD Carrizo APU in 2015 – Intel’s Skylake More Feature Rich
Sightsmap
The richest and most leveraged always gain and lose the most. Pretty obvious but nice graph. And you can link to any period, like the dotcom bubble bursting

http://www.stateofworkingamerica.org/who-gains/#/?start=2000...
this promo code has expired =((((((((((
Come on, ladies and gentlemen, the fine submitted article is about stark conditions in India, where "Western capitalism" was specifically rejected, and socialism embraced, as an economic model after independence in 1947. The comparison with Taiwan (where I have lived, twice) is instructive. Taiwan too, under the China Nationalist Party (KMT) dictatorship, had a period of governance that accepted Sun Yat-sen thought and dabbled with a lot of socialism. (That the field of Taiwan's flag, formally the flag of the Republic of China, is red is no accident. The KMT was very much part of a worldwide socialist movement when it was founded.) Meanwhile, as the mainland fell to the Commmunist Party of China and then Stalin's invasion of South Korea from the north began, the United States felt constrained to prop up Taiwan, and one way it did so was by promoting land reform in Taiwan and local free and fair elections. Gradually, Taiwan became more "capitalist," and it went from stark poverty (being poorer in my wife's birth year than some newly independent countries in Africa) to prosperity. Taiwan hasn't had a garment industry like that described in the submitted article for a long, long time. Essentially everyone who gets online to discuss issues on Hacker News probably uses an Internet device with multiple components made in Taiwan and traded in international trade.

Trade is the foundation of capitalism, not exploitation. (The references for this, of course, are the writings of Adam Smith and David Ricardo.) India (and also much of South America) specifically rejected this wisdom during much of my lifetime, and now those countries have to play catch-up. They still have time. They won't have stark poverty forever if they learn from the examples of other countries, just as Taiwan did.
Outside of the asymmetrical reporting angle (which I would say doesn't exist, unless your question is why normal thefts aren't on the front page of HN?), large value thefts are very uncommon in traditional commerce. There was one recent one where an international ring with many participants stole from ATMs using skimmed cards, yielding $45 million, but that has been international news repeatedly for quite some time.
The problem with teaching TDD is there are too many opinions. If someone wants to use assertion based testing and fixtures then learning rspec and factory girl in depth is not going to appeal to them.

A lot of the useful information on testing comes from figuring out how to do certain things that are very specific to the testing lib you use.
You can't define stealing (action) without first constructing property (concept) and property rights (concept).
My terminology is going to be off because its been a while, but if they are serious have them sign a term sheet, that has a exit clause; if for some reason the deal falls through they reimburse you for the time spent. If they are serious about the deal they will sign it, a 500K exit clause, as an example, is small change to a 6b company but can mean alot to a small startup. I know this does not help with your current situation, but might be useful for people reading who will find themselves in an acquisition.
People reflashing devices is not "all users", and that leaves open a few possibilities.

For users, a far better user interface (still prefer the user interface of the N9 over android one), a new app ecosystem (work most android apps, plus jolla native/meego/mer ones, maybe will be a compatibility layer to run ubuntu touch/tizen ones, and as it is based on qt/qml, probably will be easy to port BB10 ones too. And of course, ports of linux apps in general (the N900 had a lot of them)

For Jolla is, of course, improving installed base, enabling people to try, or even improve the OS, and generate a critical mass of developers and fans that will make the rest of potential users to see with good eyes the phones with jolla built in.

Remember, part of android success was that people was able to install cyanogenmod in their old windows phones. If this is more efficient than android giving new life to old android phones could give enough visibility to the new OS.
Ok, let me tackle this one specific point first (I'll address others a bit later, as I have to leave now).

> A monopoly without profit-maximizing incentives and with universally shared ownership (relatively speaking on both counts, of course) seems preferable

Now, that's in theory. In practice, where are those angels who work in the government and don't seek profit for themselves? Where do you find those people who would be immune to lobbyists and always serve the people of the country? Because if you don't have a very precise workable procedure on how to elect such individuals and also the one that wouldn't allow them to become corrupt in the process, then you can't claim an existence of such a monopoly is better than its absence.

Politics attracts people who like power and would willingly lie to and coerce the people who elected them. The only way I see is to deny such people opportunity to have this power. Free market may not be perfect, but it fosters virtue to a much greater degree than politics. A politician must first get power to do some good, while a businessmen must first do some good to make money.
The attack scenario here is a request from an authorized browser which is run by a hostile page on a different website (e.g., due to phishing attack). And since the request comes from an authorized browser, the cookies typically checked by an authentication before_filter will be present. In detail:

1) the attacker knows of an authorized user, already logged in (most likely). So, any request sent by that browser to the target site will pass authentication checks.

2) they trick that user into loading a web page under their control by some means (e.g., phishing attack).

3) that web page, under their control, includes a <script> tag with a src attribute referencing target .rjs. It loads the target .rjs Javascript into a gimmicked environment in which the private data is captured. Since the web page is under the attacker's control, same-origin rules allow that captured private data to be sent back to the attacker directly.

To counter this, the target site needs some way to verify that its own Javascript is making the request, not some hostile web site. Thus the talk of CSRF tokens and checking .xhr?. (The latter counts on the browser's same-origin rules to prevent an AJAX request from the hostile web site --- the same-origin rule blocks that, but in most current browsers, there's no way to prevent the attacker from tossing in a <script> tag.)
Thank you for being a voice of reason and empiricism in this thread. Seems like too many people took a class in marxist sociology and all of a sudden see the whole world in terms of The Capitalists and The Exploited Class.

EDIT: Taking a class in economics and thinking everything has a monetary value attached to it, or that homo economicus actually exists would obviously be just as bad.
No. I wanted to see how the stock market change would look if, instead of being priced in dollars, it was priced in some form of commodity, like gold.

So if one day the index closed at 1000, and gold was 200/ounce, it would have closed at 5 ounces.

Thanks for the help, though.
As you acknowledge yourself, whether Haskell makes you think or not relies on what you're trained to read.
Reagan and Thatcher?
Can't say I have an example but let's hope there's at least one company who cares about that. Some industries actually changed to accomodate for those that care. A good example: food companies. At least in Europe it's quite easy to buy from companies that care about the environment, animals, lack of chemicals, etc. Eventually this kind of thinking will expand to other industries.

Update: I tried to search for a couple of minutes for more responsible brands, apparently New Balance makes some of their shoes in the US: http://www.zappos.com/search/made+in+usa/filter/productTypeF...
My point was that it's not clearly defined - not necessarily to get your opinion on the two examples.

But anyway, that's such black and white view that it's close to dogmatism. I reckon I would be wasting my time if I'd continue to discuss.
Kahnemann and Tversky call it the "planning fallacy".[1] the interesting bit is that the predictions are pessimistic when you get "non-involved" parties to estimate time to completion of the same task. Perhaps using a figure between self estimates and third party estimates may work?

[1] http://en.wikipedia.org/wiki/Planning_fallacy
Redis and Riak are from the point of view of distributed systems extremely different beasts. Both are useful in my opinion but the semantics is very different since Riak is basically an implementation of Amazon Dynamo paper. Dynamo-alike stores like Cassandra and Riak are key -> small_value stores that are available even under severe partitions, and where there is not a single node responsible for a given key. Application-assisted merge operations are used in order to merge values later when the network partition heals.

Redis have instead a master - replicas setup that can't usually resist severe partitions. In general only the side of the partition with the majority of masters survive assuming that there is at least a slave for every master that is not in the majority partition.

In practical terms this means that a few nodes going away usually result in the cluster being still available (unless you are really unlucky and all the replicas for a given hash slot go down at the same time), but that under severe partitions the system is likely unavailable.

The tradeoff makes Redis cluster able to work without help from the application, and without merge operations: this is very desirable because of the kind of complex-to-merge and big (millions of elements are common) data structures that a single key can hold in Redis.
8 and 3 are the biggest in my opinion. 3 should have it added that the we are bad at getting the requirements out of customers, then writing it down and sticking to what is written.

8 isn't just about confrontation, the person who says 'yes' is more likely to not be fired than the person who says no. You need to frame all of those times you say no as alternatives, not as flat saying no.
"Western capitalism" was specifically rejected, and socialism embraced

That must be why it has such strong labour laws and enormous social safety net supported by a tax and spend government then. Or possibly the economy ditched socialism in 1991 when it carried out a series of free market reforms at the behest of global trade organisations. Who can possibly say.
My understanding, in the US, is if you have a personal account the bank eats the loss. If you have a business account its gone.

This actually is very common. All it requires is enough mule bank accounts to wire amounts below suspicion and spyware on the user's machine (snatches RSA authentication key at entry if two factor verification is used.) The banks don't want the event to be publicized and the company/small business doesn't want it publicized either.
Bitcoin is making hacking seriously profitable.
I've been tinkering with a setup internally that uses a modified Hamlbars with Draper to generate serverside HTML and clientside templates from the same source template. It needs a bit of fleshing out, but the idea works.
I don't understand what you are trying to say in the first paragraph.

You can easily say that no one would be successful without roads or electricity, so there is always some percentage of a person's success derived from society.

Society lowers the cost of innovation far more than any perceived hurdles it may place in front of people, in all but the most extreme cases (like Syria maybe?).

So, what do you mean?
The thing is that distribution of income refers only to the shape of the graph. Unfortunately in English the word is overloaded in the sense of "the giving of stuff". That clouds any discussion.
>Another interpretation, one that I prefer, is that Thrun tried something bold and novel based on a perfectly reasonable hypothesis. It didn't work, he's learning and adapting. No garden paths or greek tragic flaws required.

The problem with this is that there are real (underprivileged) human beings used as guinea pigs for this "reasonable hypothesis".

Thrun can fail all he wants on his own dime and time.

http://tressiemc.com/2013/11/19/the-audacity-thrun-learns-a-...
Game Of Life in one line of APL, step by step
Thanksfor suggesting USSR.

From the relevant wikipedia page: " In the wake of the spread of fascism through Europe, Stalin repressed both Communist Party members and elements of the population by creating an atmosphere of political paranoia and establishing a system of correctional labour camps."
as far as society is concerned, professional athletes do have value - that value is realized in the form of ticket prices, memorabilia, endorsements, etc. And you can measure that in dollars, obviously. Keep in mind, these are professionals. There's only like 700-800 of them per professional league, and their athletic careers span 0-20 years. You could similarly do that calculation for hollywood too. That's the supply side. The demand side: it provides joy; it's entertaining, it's emotional, and fun. People pay for that, for the most part. Of course some people don't feel it;s worth paying for. that's fine too. But there's enough of the payers to sustain industries.
Developing for the M7
http://www.columbia.edu/~jhb2147/why-you-should-never-pay-fo...
Not really the same thing - It's not that I don't trust monologuests (sp?) as a class of people, and, indeed, the writer of this article, Dana Liebelson is a reporter in Mother Jones' Washington bureau.

It's more along the lines of living your entire life without locking your doors, and then, one day getting burgled, and thereafter making a point to lock your doors when you leave.

Or getting mugged at night, and not walking down that dark street anymore.

Perhaps it's a good thing that I don't just automatically take things at face value; I'll admit to having listened with rapt attention to Mike Daisey's performance on NPR - he's really quite talented - maybe there was a positive takeway, Mike Daisey was like a vaccine, I'm now more resistant to false reporting.
Mr Postman app sends letters from your smartphone
> The comparison with functional programming ("no glue and cuts" and "no state")

Er... what? What does "glue and cuts" mean in functional programming?

And functional programming has state, like most other programming paradigms (see the ST and State monads).
Oh. Mother Jones. Well, that's about on the level of the National Enquirer for me, so I'll pass.
> You can easily say that no one would be successful without roads or electricity

You can? A lot of people became successful without roads or electricity in the past. Actually, I'm pretty sure those who built roads or invented electricity became successful without those things. Then others paid them to use their invention and that paved way to their success.

Of course everyone's success depends on many things that were built before. But to claim that only a government can build those things and therefore you are forever indebted to the society as a whole is just plain wrong.

Are you willing to pay Apple for the rest of your life because it invented the modern smartphone?
Personally I don't agree with Marx a lot (I'm more of a Groucho Marxist and am therefore not allowed to join any club that would have me as a member), but I do have Marxist family members and know a fair amount of what it is and what it is not. India is definitely not an example of a Marxist state.

edit - Folk keep framing stuff in the economic dogma-battles of the superpowers in the 19th and 20th century, but to me the problem is 14th century economics combined with 21st century logistics. Retaining a caste system in a world of global networks can give you a fucking big pyramid and systemise abuse on an unprecedented scale with the money that flows in from those outside the structure.
> Remember, part of android success was that people was able to install cyanogenmod in their old windows phones.

Not really, no. Only a tiny fraction of Android users even know what cyanogen mod is, let alone install it on their phone.

That's not at all what made Android successful.
Beautiful. My favourite so far:

"Show HN: I hacked my microwave with a Raspberry Pi into a wireless airplay speaker"
Yes, you're right that Haskell is probably easier to read for someone with the mathematical background. But I'm referring to the cognitive overload incurred when you try to optimize it, thinking about list creation costs, then stream fusion to avoid it: most physicists or mathematicians will cringe at the thought of having to think about these "computer sciency optimization stuff". As opposed to this, a crude tool such as Cython or C or even Fortran allows one to just "skip thinking" about these and still have fast enough code.

Haskell is great if you want to expand your CS knowledge, but not if your math/physics/engineering problem is already so complicated that it uses up all your available brain cycles and working memory and you just can't squeeze thinking about language-specific optimizations too. I guess this is why it's only used by companies like Galois and such that are already neck deep in advanced CS problems and used to thinking about them all the time.
And I suppose the just thing would be "free" shelter for everyone so that humanity is "free" from work?
one problem with this graph is it based on gross income before transfers. it is quite possibly that if we take the actions to make a more 'just' society by increasing taxes on the rich and making greater transfers to the poor that this graph will look even worse. i think after tax and after transfer income is what really matters so I think it would be better if the graph showed this. but possibly it doesn't because the story would not be as bad.
You can avoid allocating so much memory by changing

a::Int64 = ((a%2==0) ? a : 3*a+1)/2

to

a = ((a%2 == 0) ? a : 3a+1) >> 1

or

a = div((a%2 == 0) ? a : 3a+1, 2)

for me this gives

(329, 837799)
elapsed time: 0.449473338 seconds (544 bytes allocated)

For reference the C version gives

./a.out 1000000 0.40s user 0.00s system 99% cpu 0.407 total
I remember seeing Vanilla when it first came out. It looked quite nice them. I'll have to look into seeing how it could be integrated into an external site - hopefully via an API.
He's referring to the beginning, were geeks were still important for android.
This article was less a practical look into how to write fast Haskell code and more a peel-back-the-curtain look. Practically, you'd just use the vector lib [0] which has massive amounts of stream fusion built into it and exposes only very simple immutable and mutable APIs.

[0] http://hackage.haskell.org/package/vector
Here is an implementation in OCaml. Time taken on a 1.3 GHz MacBook Air:

:tmp $ time ./collatz.native 1000000
start: 837799 length 329

real	0m0.782s
user	0m0.776s
sys	0m0.004s

exception Error of string

let (@@) f x = f x
let error fmt = Printf.kprintf (fun msg -> raise (Error msg)) fmt

let max (a, x) (b, y) = if x > y then (a, x) else (b, y)

let length start =
let rec loop len a =
let next = if a mod 2 = 0 then a/2 else (3*a+1)/2 in
if a != 1 then
loop (len+1) next
else
len
in
loop 0 start

let collatz limit =
let rec loop start longest =
if start >= limit
then longest
else loop (start+1) (max longest (start, length start))
in
loop 1 (1,0)

let report (start, len) = Printf.printf "start: %d length %d\n" start len

let main () =
let argv = List.tl @@ Array.to_list Sys.argv in
match argv with
| [] -> report @@ collatz 10000
| [n] -> report @@ collatz @@ int_of_string n
| _ -> error "usage: collatz [n]"

let () = main ()
Disk Caching with SSDs on Linux and Windows