skysight-inc/HackerNews huggingface dataset:
Which timsort implementation did you compare to? (your profile.cpp on github doesn't include it).

Heapsort implementation vary widely in their cache coherence. The vast majority are extremely simple but result in essentially complete incoherence. I was once able to speed a heapsort about 2x by rearranging the scan order into a cache-oblivious one (Mostly the heap building part; I'm not aware of a way to make the extraction part cache-friendy).

Heapsorts, quicksorts and bubble sorts have the ability to sort just the "top-n" and stop there (unlike mergesort), which is often useful, and a significat speed up (goes from nlog(n) to n+mlog(n) to get top m, or from n^2 to n times m for bubble sort) - I wish library routines actually provided that as part of a standard interface. Perhaps you could be the torchbearer in your publication?

Personally, I think just about every standard library except APL/J/K got sorting wrong. The primary sort operation should be "compute stable ordering permutation", with "sort this array" (basically only available operation in most libraries) being at most a shortcut when you don't care about the permutation.
With the $ sign?
This article struck me as illogical and out of touch.

...a more recent study commissioned by Uber reported that the typical Uber X and Uber Black drivers make about $19 an hour after paying Uber’s 20 percent commission ... yet that hasn’t diminished the appeal of driving for Uber.

Does the author really not realize that $19 an hour would be appealing to a very large proportion of the population?

The author also doesn't show how the federal income tax is fundamentally different to what an employee would pay, and yet the tone of the article suggests that the amount of income tax paid is a special burden for Uber drivers, e.g. ...there can be a big difference between the fares from driving for Uber, say $62,000, and what’s left over after paying Uber’s commission, your gas, car maintenance, health and car insurance expenses, and your federal income and self-employment taxes, or about $27,600. And you may still have to pay state and local income taxes, which might add up to another thousand dollars or so. I thought only the crazy libertarian right talked about "what's left over after federal (and state and local!) taxes".

Finally the author makes a ridiculous comparison with actual employees of Uber: Things would be different if you worked for Uber Technologies. You would receive a 401(k) plan, gym reimbursement, nine paid company holidays, full medical/dental/visions package and an unlimited vacation policy. You might even get snacks in Uber’s lunchroom. How is this relevant? Is the author going to get the Uber drivers jobs as professors at GWU, since the mean tech nerds won't pay them software engineer salaries?
From surveying the comments... If companies are willing to spend the time and money vetting you, why are you not looking at them the same way?

Despite the headlines, market cap, cache of the name of the company on your CV, how can't you have as many questions coming up to put at them as they have for you?

The only time I've been turned down for a job that looked like it could have "dream job" aspirations to it, I had to say that 1) I totally knew and agreed with why they were declining and 2) felt they knew exactly why I would not likely feel comfortable coming in with them in a way that fits just right.

You should be seeking out, within reason, what day 1, month 1, and year 1 are going to be like. You should be seeing how they fit into your life path as much as they are seeing how you are going to get them through the issues that made the added headcount necessary.

What OP left me with, literally, was "I'm not a dummy b/c they brought me in." It's such a dry, objective review that it makes me think they were along for the ride instead of taking the wheel. It could well be just a personality-based thing. The OP has an apparently sterile passion for design and/in documentation.

Interviewers love passion and resonance - or at least they should at some place you really want to be. Nobody should have to pry things out of you. And then, they want to be able to agree with you and your view on technical passions and interpersonal rapport. Are you hard-working, objectively talented, opinionated-but-open, and do you seem ready and able to complement or enhance them?
People probably don't install valid certificates because they can't. Consumer routers (think Linksys) are locked-down devices and things like SSL certificates are baked into the firmware. I'm curious what sorts of cheap devices you bought supported custom certificates; were they consumer-oriented? (That wasn't rhetorical; actually interested.)

Personally, I usually end up using plain unencrypted http instead, which is a net negative in terms of security (doesn't even protect against passive adversaries), but that seems to be what the SSL implementers prefer.
I've been using Docker since forever and I think I grasp the architecture here.

But, my question is, what does this bring to the table that isn't possible with Docker + Machine + Swarm?

That's a super important question to ask, because adding another layer to deployments is not something people are wont to do to a system (Docker) that's supposed to put the simplicity back into deployments. Also, since this isn't under Docker Inc.'s umbrella people would be right to be cautious depending on it lest it die, whether that's fair or not.

I don't use CoreOS but I get it: it offers orchestration whistles that solve some people's problems. I also don't use but I understand PaaSes like Flynn: they're solving problems at a completely different layer and their ties to Docker are incidental.

But this, the primary touted advantage seems to be that it's a slim Docker image. For me (and I imagine others) that is a solved problem with Machine and/or boot2docker. On top of not imposing any new overarching architecture to learn, those tools are already widely deployed, supported, and trusted, and have the huge unfair advantage of being blessed by Docker core.

And if you really want to run Docker in Docker, that's been supported for a very long time, and you get that for free without installing anything.

So I'm at a loss to think of a case I'd advise someone to reach for this. Is there something I'm missing?
I've been using it for a while too now and my verdict is that i can't remove google from the second row in my search bar but i find the results of ddg to be good enough to use as my first choice.

80% searches work flawlessly on ddg, and for the remaining part you learn which kind of searches that will work and which ones doesn't. Many times i know in advance that this particular query will probably not work here but on google it will and i'll just append !g to the search to go straight to google.

What i find mostly interesting is that I have re-learned to use multiple different search engines, you know like we all did back before in the days, and that it actually helps me find more relevant information. Not only because the quality of Google has dropped significantly the past 5 years but even when google delivers a pretty solid result i check DDG after and i might find an even more relevant result, or an opposing story in a political topic etc. We all learn to check your information sources, this includes your search engine!
Read The Martian. It's Castaway Meets Apollo 13 on Mars.
Yes, but WiFi doesn't give me the same view of the airspace the controllers get, or pilots will eventually get. WiFi gets me something like flightware tracking which is a lot slower and more delayed than primary/secondary radar, TCAS or ADS-B.

My point is I think the article's author thought they were making a funny. And it wasn't correct or funny.
Meditation Driven Development (2009)
Though this isn't as bad as many I've read, stories like this are the reason I have never applied to work at any of these large firms (Google, Apple, etc.). I have been a full-time developer for more than 20 years. I have 4 software patents to my name, one of which formed the basis of a startup that was acquired for $64 million. I know a few people at Facebook and Google (not at Apple), and I am definitely in the same league in terms of coding skills.

However, based on available information, I am 100% certain that I couldn't successfully complete the on-command hypothetical coding exercises with someone standing over my shoulder, along with the other mental and social gymnastics associated with applying at any of these companies. I wonder how many other well-qualified people are out there that will simply never apply because of the drawn-out, intimidating hiring process.
Disclaimer: Not my amazon afilliate link. It's taken from the books website: http://www.andyweirauthor.com/books/the-martian-hc
Solution for security puzzles
Floating-point control: Why doesn’t my application give the expected answer? [pdf]
>In principle, government has the capability to be less stupid than the market.

That may be true, but the US had a "strategic helium reserve" that we decided to sell off for no reason I can discern. I have more trust in people who are trying to maximize the amount of money they make than Congressman who can be bought and sold more easily than helium.
Things like this would more formally be called 'agents', software agents, or intelligent personal assistants (which are a type of agent).

However, I think AI is perfectly acceptable in common usage nowadays. Some people will just get caught up with the 'formal' definition, but the media and, increasingly, consumers are just using the term "AI" now anyway.
I haven't been in the industry long, and I'm a web app developer as well.

I haven't worked at a place that cares about code quality very much. We talk occasionally about best practices, and our lead dev actually writes very quality code, but the focus is nearly always "get it working, get it not-horrible, ship it."

Sometimes the "not-horrible" gets skipped over.

I'm right there with you and I've just decided that I'm not done with a piece of code until I'm not embarrassed of it. If it takes longer to ship, fine. The problem is I'll continue to be self-taught in that regard--there's virtually no code reviews or solid feedback for me.

I'd guess that if you want that, you're going to have to look at either 1) a very well-respected, high-volume agency or 2) a well-established web biz where the product is a pretty complex application.

For instance, Shopify or Twilio or somewhere like that is likely to have a pretty decent code base, if I had to guess. Of course, it's definitely not a guarantee...

Maybe look over their open-source code? Look for history involving refactors and simplification?
Motion sickness is not a problem if your graphics hardware is fast enough to run your particular application. Anything below 75 Hz makes me feel sick, and anything above that feels okay.

With respect to your eyes, I don't think there's any kind of issue if your VR experience is good. I certainly haven't noticed anything, and I've had a DK2 for about four months.
Flow is nice, but the article does explain in the paragraph for id that us & id should be close to 100% when added. That's why they are placed together in the article.
I'm struggling to understand how Apple is stifling this standard. I don't even know why Apple is being given this much power in the first place. Yes, the article mentioned some but it cannot be the market share and some developer bias.

Apple doesn't have much of a market share in the first place. They have what <8% of the PC market share and maybe ~10% of the mobile market share?

Google owns 80% of the mobile market share, they have far more influence than Apple.

Google managed to get stuff done via its SPDY2 work to the point that the HTTP/2 standard adopted most of their work, without any help from Apple. So what's the problem here? I know it is not the same analogy as the Pointer Event/Touch Event but still, it is possible.

> Too many times, we’ve seen browser vendors with the best intentions fall victim to Apple’s reluctance to work with standards bodies and WebKit’s dominance on mobile devices. We cannot let this continue to happen.

I totally agree but Apple's not required to work with any standard bodies. Focus on getting your standard out and then call on Apple for failing to support it when the rest of the market supports it. Let Apple realize they can't get away with not being involved.

Also, WebKit is an open platform. Apple does not own it completely and look at Google's Blink fork along with Opera helping out. Blink probably now has more users than Webkit.
Hi,

Here at IMVU we found some ways of how to improve the Mutation Testing speed, but I agree that you need some degree of parallelization to achieve its purpose. Anyway, I found Mutation Testing very helpful while creating robust code :)

Llorens
add them to vagrantbox.es
Uber isn't sharing at all. It's CSR service. ZipCar, Car2Go are sharing.
Intrace – Traceroute-like application piggybacking on existing TCP connections
Ironically unsaid:

"People like myself for twenty years and nothing to sell."
> When I receive a GPG encrypted email from a stranger, though, I immediately get the feeling that I don’t want to read it.

I don't understand why. Did I glance over it, or is it not in the article?

When I receive GPG encrypted email, I only have to enter my password and it gets decrypted. Simple as that. Same as when starting me email client, then too I have to enter a password to decrypt the login for the server. It takes only a moment really.

I don't receive that much email from strangers anyway, but the times I get GPG encrypted email from a stranger it's never spam, so it's surely worth the approximately three seconds to enter that password.

(For the curious, I use Thunderbird with Enigmail and kgpg as front-end to GnuPG.)
There's a lot of negativity and disdain in this thread, but something is being overlooked: You simply can't apply "startup-style" development to something like air traffic control. This isn't your latest javascript app where you can push an update to fix localization bugs after the client reports an issue.

This is air traffic control, and thousands of lives are at risk every day. This stuff has to work. It has to be bulletproof.

The FAA doesn't refactor existing codebases into Haskell on a whim. A lot of this code and the hardware it runs on has been thoroughly vetted, not to mention battle-tested over decades of use. "Move fast and break stuff" is not an attitude I want FAA-certified gear to be built with.
According to Uber's underlying research (http://www.scribd.com/doc/253410228/An-Analysis-of-the-Labor... , page 23), $19 an hour is just the revenue they get after Uber's cut, and does not include gasoline, depreciation/lease fees, insurance etc, which makes it a useless number.
You can add Microsoft to the list when it comes to on-command hypothetical coding exercises. Along with optimal solution, you are also expected to give it in a short duration.
> THE UPGRADED SYSTEM WILL GO ONLINE THIS SPRING, FIVE YEARS LATE AND AT LEAST $500M OVER BUDGET.

If they are over budget by half a billion, what was the original budget number?

I completely understand that building such system is complicated, not just in terms of technology but in mainly in terms of coordinating all the moving pieces involved. But at no point, I can fathom how you need to spend close to a billion dollars to implement it. As Milton Friedman famously said, you are least careful when you are spending other's money. (i.e. Government spending taxpayer's money)
Well the way I read it was the author poo poos $19 an hour because Uber originally claimed their drivers were making " $74,000 a year in San Francisco". $19/hour isn't great compared to $74,000 a year.
You are presenting a false dichotomy and your conclusion that "privacy is not achievable" is a claim without any justification.

http://mind.ucsd.edu/syllabi/98-99/logic/falsedichotomy.html
This. Closing a real estate deal is like running the hurdles. Cash buyers are starting the race at the midpoint.
Fascinating parable about how "Software Movements" get started. Although, even if the initial effect observed is due to some sort of placebo effect, it might be worth it.
Clinton takes on gender and pay gap for women in Silicon Valley
> unlimited vacation policy

I could not work for a company like that, as I would feel guilty taking each and every day. Much better to just give a generous allowance - how about the 4-5 weeks you'd get in Europe?
I got that, but even in that context, it doesn't make sense to ask why Uber is still an attractive option when they only offer $19 an hour, when clearly that would be an attractive option to many people.
What happens when Betelgeuse explodes?
Conspiracy theories are not "questioning popular opinion". You can question popular opinion without coming up with crazy theories, or at least, you should take them as what they are: wild guesses at what might explain some discrepancies in that popular opinion.

Conspiracy theorists usually show a strong belief in something pretty improbable without a shred of tangible evidence. I think it's fair to label them as "crazies" because they tend to be very vocal about it and impervious to logical flaws in their own theories. And they're annoying, when you annoy people, you can expect some kind of negative feedback, like being mocked or called names.
This makes me wonder where the threads (beyond server scaling) around resiliency on HN are. I'm doing some non-critical embedded programming at the moment (typically do full stack stuff), but embedded and critical systems are much different than the typical audience here....
People extol all kinds of principles till those principles come to bite them (I like immigration, but I don't like H1Bs, etc.). So, everyone's whipping boy/girl is technology today. Of course they are not going to talk negative things about the ills of higher ed. How undergraduates are used as free labor, or the excessive hazing, etc.

I'm not a particular fan of Uber the tech company, but at the same time, a fair comparison would be to see how Uber compares to working for a regular taxi company. Just as it would be fair to compare Uber the tech co vs. Twitter or Amazon the tech company --not the warehouse operations. amazon's warehouse operations should be compared against other warehouse operations, and if they come up short, castigate them.

But hey, people like reading catchy titles and like consuming things which reinforce their biases.
On a software developer's salary there are a whole lot of cities in which you'll have to live like a student if you have a family.
> The author also doesn't show how the federal income tax is fundamentally different to what an employee would pay

Not disagreeing. For anyone wondering what the fundamental differences are:

1) As an independent contractor you are responsible for 100% of your FICA tax (social security and medicare tax). For most people the tax due is 15% of your income. This is in addition to your income tax. In an employee/employer relationship the employer pays for half of this. It can be a big shock to people who are hit with this for the first time.

2) If you're an employee, your employer is automatically withholding your income tax payments for you and sending them in to the IRS at a regular interval. As an independent contractor you need to be doing this yourself. If you wait until the end of the year and pay as one lump sum you'll likely be penalized.
It would be great to know if this is still useful to get as an adult older than the age 26 mentioned in the article.
The gist of the article is that it isn't really even $19 an hour though with taxes and expenses.
I am saddened that as a candidate, I am expected to just go away without getting any feedback but the company in a similar situation hounds me if I happen to reject them. I don't know how to improve this situation, unfortunately.
You've got the mobile browser market share almost backwards.

https://www.netmarketshare.com/browser-market-share.aspx?qpr...

And then there's this.

http://venturebeat.com/2014/12/03/why-do-ios-users-buy-more-...

The reality is that Apple has significant market share, and Apple doesn't really follow very often. Ever heard if NIH and the reality distortion field?
Clickbait-y article. Hidden costs? How are these hidden? You live in the US and expect to NOT pay taxes or something? I expected to read about some surprising cost, but insurance, gas, taxes, car maintenance, uber's cut, etc., are all straightforward.
I agree that the article was poorly written, and using the $19 an hour figure to make a point, then debunking the $19 an hour figure later to make a different point, was a poor way to structure the argument. The final take home pay after federal tax was quoted as 27,600, which strikes me as still an attractive wage for many people. Of course if you had the option to become a software engineer at Uber (or a Professor at GMU) then you should probably take that option. But that's precisely why the article is out of touch. People who drive for Uber don't have these options.
I have and that was the exact feeling most of the non-management employees got. It didn't feel like a "perk" at all.
Any prospect of prototype availability for an upcoming project?
Obamacare and shuttle software are completely different political beasts.

Obamacare is a standard government contract. The contractor is piling money as fast as possible into today so that when the government pulls the plug tomorrow he's already made a profit.

The shuttle software is a safety critical system with a defined budget and schedule. There is no overall incentive to do things immediately and badly as the political fallout for failure will be very severe.
If the potential to be rendered to a blacksite or tortured to death somewhere less polite isn't sufficient motivation for people to be careful, I'm not sure "security" is their biggest problem.
I'm sorry, the profiling code for timsort wasn't included in my remote repository yet. I profiled against https://github.com/gfx/cpp-TimSort .

Also, C++ has always had the "top-n" interface called partial sort: http://en.cppreference.com/w/cpp/algorithm/partial_sort .
How could I get in touch with a team within Walmart that uses Scala? (To see if there are any available positions.)
You've articulated my thought better than I have. Housing is not just a business.
Ask HN: How much for office space in downtown SF?
I believe WeWork is at about $500 or so per month, but we have a pretty special space in downtown SF with views, directly above Montgomery station and wifi, etc (duh). What are desks going for month to month? Our current office mates are leaving after 2 years. :(
I'm a freelancer and too have wondered why every one else isn't.

I think part of the reason is that freelancers actually do the work; they write a proposal, and then three months later people check what they produced.

So called "white collar" employees, for the most part and in my experience, pretty much sit around doing, well, nothing. They go to meetings, talk on the phone and check out the work produced by various contractors, consultants and trainees, drink gallons of coffee, and that's pretty much it.

This is of course a generalization; people who have physical jobs (moving things or making them) are in a different category, as well as people whose output is somehow monitored, etc.

But in many many big companies there are swathes of people who would be hard pressed to account for any of their day.

And they still get paid, and they still have a job, and they still have colleagues. That's something.
How you upgrade system docker when it is PID 1 ?
Does the machine has to be rebooted?
There's definitely a network effect. And abundance of tech jobs draw in and abundance of tech workers, which draws in companies (jobs) looking for workers, which draws in workers looking for jobs...

That's why you see municipalities failing at becoming "the next Silicon Valley" so often. It's not impossible for new tech hubs to form, but it's not as easy as you'd think by looking at CoL.
I completely agree and would never apply to any of these companies, specially Apple.