skysight-inc/HackerNews huggingface dataset:
Yes, like Youtube, Duolingo has what it takes to function in a capitalistic system. For capitalism to work, you (very grossly) need 3 things: Capital (ships, factories, stamp machines, etc), Laborers (gardeners, secretaries, miners, etc ), and Customers (vinyl collectors, beer drinkers, tourists, etc). Many companies in tech confuse 2 or more of these things as the same. Twitter boasts of it's users, which one thinks of as customers, but those are in fact the capital. Twitter's real customers are who pays to advertize on it. Facebook is just the same, their customers are businesses. That bears repeating, FB is a business-to-business style enterprise.

Youtube, however, is better off. Laborers are the people that upload videos and workers at Youtube, Capital is the servers and all the software and somewhat the content creators, Customers are people watching and businesses trying to advertize. Though it is not as clear cut as a sandwich shop, it makes more sense than Yo or the myriad other tech startups out there that confuse these 3 key groups.

Duolingo is also 'unconfused'. Capital is the language service, website, and software of repetition. Customers are, again, the people using the service and other companies and people trying to get translations. Labor is, again, the people translating and the employees. In lieu of being paid for the translating, the users are 'paid' in the free service provided. Overall, I think it works pretty well, and, according to the OP, so do many other people.
This reads exactly like Atlas Shrugged, complete with politicians bankrupting the system, unwarranted charity, non-objective scholars and a collapsing railroad system.

I don't know of the situation in Sweden, but I kept wondering if the post was satire. It seemed too one-sided to be totally honest.

And then things like "most of the west had a housing crash" don't increase your confidence in the writing.
Tricks and Things to Know in OCaml
Ask HN: What project are you currently working on? – June
What projects (hobby projects, side projects, startups) are you working on right now? Would love to hear what HN'ers are working on!

(ME : I'm working on currently to combine all the things that I've liked, bookmarked and up-voted - it's called "Marvelogs" - http://www.marvelogs.com)

How about you?
What's your source for that? Do you know someone at Epic or have you worked there?
Sure, but considering we have something like 29x as many fatal shootings per capita in the US versus the UK, arguably, the police here show relative restraint -- not in the sense that the police shootings are a direct response to civilian shootings, but rather that police shootings are a comparatively small percentage over the overall shootings.

I'm not trying to say any of this is good, but my point is that it's incorrect to believe that it's "relatively common for the police to shoot a fleeing suspect".
I think what Google tries to find are the engineers with creativity, skill and ability to work intelligently at a problem which they haven't seen before.

It's important to know how a person approaches a hard new problem and how easily or not they give up. I'd guess that a person who didn't solve a hard problem, but got close enough by displaying creativity, curiousness and a solid thought process might have an edge over a person that implemented a familiar algorithm with ease but got a little flustered, and didn't show much creativity or inquisitiveness, when challenged with something new.
I'd definitely pay for a news subscription a la Netflix where I could read curated contents from various news sources.
And this is why Google moved heaven and Earth to get Android out the door, even when it stalled all the momentum for its own ChromeOS.
There are some problems with this theory though. (a) On average iOS users have more disposable income than Android users, (b) iOS users have shown a proclivity for spending that money on mobile content and (c) iOS are responsible for more web traffic than Android.

So if publishers adopt a freemium model (the most common) and they present a crappy experience to users who block ads then they won't be willing to buy a subscription. That's why most websites today don't punish users who block ads and that position will likely continue on mobile as well.
Fantastic new, I'll have to try it out then and see!
setjmp()/longjmp() will work, but they're sort of inefficient as, at least under POSIX, they will save and restore the signal mask, which makes for two round-trips to the kernel just for a coroutine context switch.

My web server uses coroutines, and for x86 and x86-64 it uses open-coded assembly routines to yield/resume, with fallbacks to setjmp()/longjmp() on other architectures.

It works fairly well, performance-wise. In fact, it's one of the top-performing servers/frameworks in the TechEmpower's Web Framework benchmarks[1].

I wrote a similar article explaining how everything is put together here[2].

[1] https://www.techempower.com/benchmarks/
[2] http://tia.mat.br/blog/html/2014/10/06/life_of_a_http_reques...
This feels like a broadside attack at Google.
> Feature-for-feature comparisons to more accessible libraries (jQuery+plugins) are unconvincing.

The attractive part of Closure was that it had extremely robust, unit-tested counterparts to jQuery's plugins and the reliability of it was never in question. For a while, their URL parser was superior to anything in the jQuery ecosystem. By contrast, jQuery plugins have many different authors with widely variant degrees of quality.

Part of the verbosity is due to its type system, but it was one of the few client-side tools I used where my code had a high chance of running well once I satisfied the compiler. I notice React's Flow and TypeScript are realizing the benefits of better type checking which Closure has had for ages.
yep, hiring is broken.

https://news.ycombinator.com/item?id=9689232
Well, it seems the actuarial math should include projections for people paying off their loans early just like they include projections for defaults, etc, and if you demand an above-market interest rate, obviously you'll increase the likelihood that people find better deals elsewhere.

But what I'm really objecting to is the conclusion that the future loss of interest represents a loss of income, when they now have the principal back and can invest that in the currently best way possible. If what you get from those funds today is significantly worse than the projected income from those loans were, then it seems you are implying that student loans really are meant to shaft the people who take them out.
What material did you spend time on that you don't know how to reverse a binary tree?

It isn't a difficult problem, even having never seen it before. This is one of those warmup problems to test how comfortable a candidate is with basic concepts such as recursion.
Check your site for weak SHA-1 certificates
And yet filly (a young female horse) is quite appropriate as a compliment or term of endearment for a fashionable lady in some parts of the world.
> where another might ding you for not instantly knowing the answer

While there certainly are incompetent interviewers, I think ones that extreme are rare.
This is a great project!

I believe there's a lack of clarity in the let form explanation:

=>(let [object "light"]
=> (let [object "darkness"])
=> (println (str "God said let there be " object)))
God said let there be light
nil

'object' is overwritten but only within the second let form:

=>(let [object "light"]
=> (let [object "darkness"]
=> (println (str "God said let there be " object))))
God said let there be darkness
nil

or even:

=>(let [object "light"]
=> (println (str "God said let there be " object))
=> (let [object "darkness"]
=> (println (str "God said let there be " object))))
God said let there be light
God said let there be darkness
nil

The reason for this is the let form uses lexical scoping. In other words it creates a new frame which includes the bindings declared in the square brackets. When 'object' is evaluated its binding is looked for in the current frame, then the frame that called that frame and all the way out into the global namespace stopping when a binding is found.

See also: http://stackoverflow.com/questions/1774417/scoping-rules-in-...
not to be confused with Stripe Connect:

https://stripe.com/connect
China also has had a bunch of spectacular construction failures. My favorite is the Shanghai bridge made out of styrofoam and garbage [1], but there are other, less spectacular examples: [2]. The schools in Sichuan are notable for poor construction, as many schools feel down but adjacent buildings did not. [3] Apparently one builder would tap the cement on inspection, and if it didn't ring right, he would make the contractor redo it. They didn't like him much, but his schools stayed up. Can't find the article, though. Apparently the rebuilding isn't any better [4].

I wouldn't even consider using Chinese construction material.

[1] http://www.weirdasianews.com/2010/02/05/shanghai-wonderbridg...

[2] http://world.time.com/2012/08/27/bridge-collapse-in-china-ra...

[3] http://www.nytimes.com/2008/05/25/world/asia/25schools.html?...

[4] http://www.npr.org/sections/parallels/2013/05/14/183635289/F...
The developer documentation is here for anyone interested in developing their own Bitbucket add-on projects.

https://developer.atlassian.com/static/bitbucket/
It's the lack of feeling you've completed anything. I work for a major telecom company doing field support, mostly patching holes in the dike, and because of this, I can only rarely point to something and say "I did that" and feel good about completion or a job well done. It comes down to fighting the fire and moving on, which when combined with no feedback from management is a great way to leave work dissatisfied every day, and dreading the next.
What Cook Overlooked in His Defense of Privacy
Interesting that, at the same time, Apple is actively promoting iAds for people to monetize its new news service. On the one hand, if you have to have ads, it's probably better to have an ad platform under your control (where you can enforce privacy and safeguard against performance issues), but it's still not ideal (slippery slope later on?). I wonder if Apple's News app takes off if, at a later date, they could introduce a paid tier Spotify-style to let people read its news content without ads, and distribute the funds accordingly to news providers who've signed up for it?
Tech/media companies dependent on advertising should just adapt. As techies told a complaining music industry, just do concerts and sell t-shirts. Now maybe this won't be as profitable as the current business model, and maybe the industry will be smaller and more consolidated, but that's capitalism. No one guaranteed you would keep growing and making more money.

Perhaps you'll have to stop using third-party ad networks and start selling and creating your own ads. Native ads like Buzzfeed's sponsored posts could work. It'll probably require more capital and won't scale as well, but you'll just have to deal with that.
5 App Security Leak Points Every Mobile Developer Should Know How to Plug
Performance Monitoring Essentials – Elasticsearch Edition
Great, another self entitled engineer who thinks Google owes them a job because they are sooooo good (Which, maybe they are good at some things)

But how about Google didn't give them a job because this is how they handle failure, embarrass an entire company on Twitter to punish them.
I'm using Rubinius, the C++ implementation of Ruby in conjunction with Puma. (http://rubini.us)

I'll definitely check out Data Dog and New Relic, thanks for the tip
Reason.com targeted by federal subpoena to reveal identities of commenters
Ted Kaczynski was wrong about a lot of things, but reading this I can't help but think he was correct in his diagnosis of the ills of modern leftism (power process, feelings of inferiority, oversocialization)
I'd like to interview at MS next year, I have no formal CS training. Can you give me any hints?
> while pretending we're all some monoculture, which is ludicrous

Actually, progressives do seem to be relatively monocultural when it comes to, as the article says toward the end, "tolerating everything except the outgroup." Either that, or the intolerant faction(s) are very dominant and end up getting their way quite a lot.

As well as the examples cited in the article, another good example is Brendan Eich being forced out as chief of Mozilla due to having political views that some progressives deemed to be "incorrect."
I first thought this was a new Nicolas Cage movie. If not, I think he could reprise two of his better roles to do this!
Where is the free money coming from if you keep charging tuition but do away with student loans?
A real gem of gibberish interpretation by the thread: https://i.imgur.com/AWTQ0bM.jpg
“Slicing (iOS) creates variants of the app for different devices.”
I'll disagree that these questions require weeks of preparation. I think it's more just unfair because they favor a certain type of person: those whose interests align more strongly with the theory and algorithms and less with building things.

Of course, the irony is that for vast majority of the people they hire, most of the work they do will be building and not much algorithms work. So then what will happen is either you have people who are great at building things and force them to suffer through the interviews or you have people who are great at algorithms but not that interested in programming.

Of course, you might also have people who are great at both, but I wonder how many of them there are..
i didnt understand can some one explain TLDR ?
Exactly. This style interview doesn't find the people I think are valuable - people who ship code. Instead, it validates people who spend time thinking about interview questions.
On behalf of all of HN, I humbly apologize for there being a top news post of an event whose underpinning idea you had already read about and knew would probably work if it was put into effect in a situation like this. To prevent you from becoming emotionally harmed by potentially trite news, we will make sure never to post or upvote any story whose conclusion you might have guessed the outcome of.

We will continue to upvote every new JavaScript framework and tool, of course. After all, we're not unreasonable.
Prepare for the Age of Entitlement
True. But don't underestimate the efforts of a multiple billion dollars content industry with their back against the wall (a lot of them ads only without any freemium option). Robbed of any monetization strategy for a whole segment (unlike the ads vs. paywall wars between publishers), I see much more collaboration coming against a too invasive force with their own objectives.
> "I'm all for freedom of speech, why can't I shout racist expletives at black strangers in the street?"

What right of others' does that infringe?

In general I recommend Ken White's writings on hate speech and the 1st amendment: http://popehat.com/2015/05/19/how-to-spot-and-critique-censo...

But anyway, none of this of course applies to the reddit example since reddit is a private entity which can do as it sees fit.
Burden of proof isn't presumption of innocence. Burden of proof always lies with the party making the positive assertion. In criminal trials, that's something like "Shmerl did it, with a pipe, in the pantry" or whatever.

This is why, for example, a criminal defense of insanity must be proven by the defense — and why such a defense is risky. The defense is stipulating to the fact that the defendant committed the act, but arguing the defendant didn't have the requisite mens rea to make their actions a crime. That eliminates the State's burden to prove that they did it, and assumes the burden of proving the defendant's state of mind/lack of culpability at the time.

In a civil case, the question is more one of "Here's why Shmerl is responsible (and, consequently, liable) for what happened." The facts (that Shmerl did whatever, to whomever, at whatever time) are often stipulated to. The positive assertion being made by the plaintiff against him is the degree of liability.

Consider the oft-mocked case of Liebeck v. McDonald's. No one disputed for a second that she bought the coffee at McDonald's, that it was the temperature it was, or that it was spilled. That wasn't remotely the question. Rather, the question was, "Should they have known better, to a degree that makes what happened to her their fault?"

Does that distinction make sense?
Personally I don't really care about Google's hiring process. It's unlikely I'd ever want to work there anyway.

What does bother me is that other companies, who are not even in the same league as Google, start to copy their hiring process.

I remember interviewing with a digital ad agency a few years back and I swear, these guys thought they were Google. The number of academic trivia questions that came up, it was ridiculous.

In a way, I think Google has done a lot of harm to the industry in general by making others believe that everyone should have a hiring process like Google's.
Hey, don't be mean.

There's gravity from the sun but not the planet, and yes, that ought to be worth adding. I'm not sure what'd help the most to turn this into a fun game, though, so I'm working on other things. Thanks for the suggestion; a time control's probably a good idea too.
Do you mean that the US and UK compare favoratively when measuring "fatal police shootings per generic fatal shooting per capita"?
Mandatory Cellphone Kill Switch, Coming July First
I realized I didn't have anything in python that I could put on my resume, so I threw together a quick version of tail in python.

https://github.com/gryftir/pytail
Well how do you define "better"?

Esteemed schools of music probably produce dozens of guitarists "better" (in any way you would measure it academically) than Jimmy Page or Jimi Hendrix per year who go on to a life of producing nothing of lasting worth.

I'll take the guy/girl who has actually proved they can produce something useful every time over someone who is "better" but hasn't.
In order for you to pay off your mortgage, you need to receive money. That money was generally created through the creation of debts.

So it is hard to say exactly who took on that debt, but someone probably did.

For more on how debt creates money, read up on http://en.wikipedia.org/wiki/Fractional-reserve_banking. And the person you replied to is exactly right - our entire economic system only works right if there is a lot of debt to go with it.
Not a good day for reddit. The sub was offensive but there are more "PC" subs that break some of rules that they claim FPH did, namely brigading with that sub specifically forbade and tried to police. I do know in recent weeks that particular sub was having photo links to imgur removed by imgur staff on a near constant basis. (I was banned by FPH ages ago but I take no joy in its closing)

When you are led by a SJW it was only time before it filtered down to the site itself. There are more than plenty of subs will fall afoul of the vague rules application they used in removing five subs. There certainly are more directly offensive subs that should be worried.

It effectively demonstrates that you can shout down opinion which has become the operating method across colleges. For a liberal mindset they are hell bent at stifling any opinion they don't like. It was become a selfish world where any offense is verboten. Literally people are screaming "MOM"/"DAD BILLY CALLED ME A BOOGER"
I interviewed (unsuccessfully) at google. If you want to be prepped, yes, I would recommend going over the algorithm books, and make sure that you can do all the basics in your sleep.

That said, memorization, in my limited experience, won't be that helpful, because the questions will likely come with a twist that requires that you understand the algorithms and are good at adapting and applying them - and you need to be able to do it in 45 minutes on a whiteboard. It is very difficult.

I did find "cracking the coding interview" to be helpful prep, and really, the hard problems are fair game. Again, memorizing won't really help you, instead, view these as the kinds of problems you need to be able to solve in 45 min at the whiteboard.

I am kind of blown away that people can do this. I went home and did one of the questions I remembered from my interview with a compiler, and it took me several hours (though I didn't look up a solution, I did use the compiler constantly to check logic, and so forth, something that isn't available of course if you write on paper or a whiteboard). I suppose might be able to get this down to 45 min at a whiteboard, but it would take me a lot of time to get that sharp, months or more of study and practice.

None of this is mean to comment on whether this is or isn't a good interview process, it's just advice on how to prepare.
Emotional Trading
For a dark perspective on this sort of issue (UK, not SA):
https://en.wikipedia.org/wiki/Among_the_Thugs
If you instead use a language with algebraic datatypes, you can get a nice concise implementation. Let's try OCaml:

type 'a tree =
| Node of 'a tree * 'a * 'a tree
| Leaf

let rec reverse = function
| Node (L, x, R) -> Node (reverse R, x, reverse L)
| Leaf -> Leaf

Isn't that nice? And it is even easy to reason about! Unfortunately, OCaml tends to chew up stack space so we're likely to seg fault, but that's okay!
Paying off a mortgage destroys debt (and therefore, the money you used to pay it off).
It's something that trips me up constantly, but we don't have to say anything. If there's not enough to go on, we can just be quiet.
Your third point is completely false.

According to Opera Mediaworks, as of Q1 2015, Android makes up 65% of mobile traffic, 3x more than iOS with 22%, as well as beating iOS out of the top spot for ad revenue. You can read this report here: http://operamediaworks.com/sites/default/files/file_attachme... (page 2)
yesss! the is innovation beyond the mathematic and engineering....
He sure has an awful lot of his self-worth wrapped up in whether he gets a job offer from one specific company. It reminds me of being interested in a particular girl in high school.

At a certain point, you learn that there are other jobs out there, and maybe the one with the biggest name isn't the best one. I certainly wouldn't be the least bit offended. Not when the market is flush with high-paying-jobs-a-plenty, particularly for someone with his background.
A cool idea, though the it's in need of some better examples to show its true power. Several of the examples can be accomplished with the traditional C preprocessor. For example:

#define with_open_file(fp, path, mode) \
for (FILE *fp = fopen(path, mode) ; fp ; fclose(fp), fp = 0)
If you are trying to get a job straight out of college and you didn't have many relevant internships, there really isn't much to judge you on other than what you learned in college. This isn't a fault with the interview process.

Some companies give take-home assignments (small projects that can gauge how well you learn). I tend to find that these are smaller companies. You can always try there.

Also, the most important thing that they don't teach you in school is that getting a job is all about connections. Email some people that you've interacted with to see if they know of anything that might be suited for you.
But you are still a billionaire so I won't be shedding any tears for you.
>Customers are people watching

Why do you classify youtube watchers as customers and facebook users as capital?

The vast majority of youtube's revenue is from ads, so to me that says that youtube is in the same category as facebook.
Are there any current games using unreal engine 4? It seems this has been hyped for a long time but no real games have come out.
The chemical wedding of RethinkDB and Node.js
free download, complete text, including monitoring and ELasticsearch essentials and the "Top 10 Elasticsearch Metrics To Watch" as a separate chapter