skysight-inc/HackerNews huggingface dataset:
At a previous job I migrated a quite large code base to git. IIRC it was at least 500k files and a couple of 10MLOCs. We had the same "scaling" issues Facebook mentioned here when trying to place all of this inside one repository. So we ended up going with submodules for this. Another idea was to perhaps enable re-use of repositories and/or disconnect old legacy code this way.

We did took a quick look at Mercurial but since lots of the upstream tools we used was using Git (linux, uboot, yocto, etc) it was an obvious choice. I seem to recall there being two hg extension that where of interest at the time (2010-ish), one to add inotify support and another to store large files outside the repository (hg-largefiles?).

Seem like Facebook's approach to the lstat(2) issue with watchman [1] is to use inotify on Linux. This has been discussed a couple of times for git as well but nothing has come of it so far [2].

[1] https://github.com/facebook/watchman
[2] http://git.661346.n2.nabble.com/inotify-to-minimize-stat-cal...
>You hold that attitude toward your student and he or she is bound to fail.

I most certainly did not. I just was surprised at how many people had trouble with the job and lacked some basic skills. I never ever, ever, expected anyone to fail, ever. You made that up. If anyone did, it was my boss, or rather he usually said "well we will give them a shot." Seemed he hired on a trial basis wereas I always expected everyone to stay. I was never evaluating anyone.

I didn't want to train because only because I would rather just do the job, only because the time went by far faster that way. I specifically was always the trainer because I was the best trainer. If I was so incompetent than my boss would just pick someone else, and he did have a few people do it before deciding on me.

>deficiencies of the business management

In all honesty, this was by far the best run business I ever worked at.
This is a slick interface and the perfect way to learn how to code.
>Messages from the US government are correct, Americans in general consume too much fatty foods.

What are you basing this on? I've seen no controlled studies supporting the idea that saturated fats are harmful.

Anecdotally, I switched to a diet high in saturated fats and without grains or sugars, and my cholesterol numbers went from good to absolutely optimal, with high HDL and very low triglycerides. Friends on the same diet report similar results.
That post helped, and bookmarks might get the job done, but the mercurial culture doesn't seem to encourage them compared to branches. As a result, you tend to find a lot more separate mercurial repositories than single repos with bookmarks, and a lot more named branches with hard-to-eliminate commits as well (since even "closing" a branch doesn't really get rid of it).

> hg commit --amend, hg histedit, hg record (but hg crecord is much nicer).

> They're built-in, but you have to flip them on the last two with a config switch.

And that's the fundamental attitude that I can't stand in mercurial's culture: "careful, you might accidentally throw away that information you specifically wanted to throw away". Those commands aren't available by default because the culture doesn't encourage that workflow, so even if you use them for your own personal workflow you'll tend to find a lot more junk commits and forever-remembered branch names in the average mercurial repository.
It's not really practical to have a proper list of credits for a company like Google. I feel some people are going overboard with Google-bashing.
Or Facebook in a few years?
We Do Not Need Flying Delivery Drones, Just Smarter Ground Robots
Can you even create fake Facebook accounts these days? I have a real one that I never verified years ago, and Facebook would always ask for verification, but allow the account to still be used. However, I tried to create a fake one, and within hours, Facebook locked the account, and claimed it needed to be verified with a phone number to continue. I tried it a few times, from different IPs, and they required a phone number within a day for each account.

You could buy a throw away cell phone for verification, which is what some people do after I did a little research, but it's more effort than I'm willing to spend.

These were not obvious fake accounts, I create a realistic fake name, location, and a couple of interests. At the time, it seemed all new accounts would require a phone number shortly after registration. I imagine it's still the same.

In conclusion, I just don't use Facebook. If I'm not willing to bend over and give up my privacy, they don't want my business. So, I don't use them, and don't implement anything Facebook related across my sites.
Multiplayer Logistics
....so it's a really glitchy video? Does it need glasses?
n.b. if you view in Firefox, it might not load correctly. I got a mostly blank page, but when I viewed it in Chrome, the page loaded fully.
http://www.ekklesia.co.uk/content/cpt/article_060823wink.sht...
Which reminds me, wasn't ECMAScript 6 supposed to be finalised in December[1]?

1: http://en.wikipedia.org/wiki/ECMAScript#ECMAScript_Harmony_....
Once upon a time there was an early adopter... and you missed him
Starting a business trying to address the world as your customer seems unlikely to succeed and yet that is often the case.<p>were you in that category too and realized the mistake? how did that happen? maybe we need a better definition/set of stories.
I registered, verified my e-mail, but then I opened the page and clicked the create button, I succesfully uploaded my synth, just waiting it to be preprocessed. Not sure, but it might be a way to pass the waiting for invitation.
Up next: Facebook public toilets. "Like = dump"
The very best torture scene I've read or scene was the one in Day of The Jackal - where they torture the legionnaire to divulge the location of the OAS leadership. Putting myself in his shoes, there is no way - no matter the importance of the information - that I wouldn't break.

The main difference between that scene vs. say Babylon 5 or StarTrek is not only the violence (for instance Captain Picard doesn't have electrodes connected to the end of his penis) but the fact the the person being tortured knows for a fact he will be killed after it's all over. There is not psychological game going on: the reason he ultimately divulges information is so that the pain will stop. He wants and begs them to kill him.

I've never seen an equally powerful scene in any movie or book.
> Let me make a wild guess, that whoever convinced you those are bad things to be avoided, personally financially benefits from your lack of a stable job, lack of vacation and lack of a good lifestyle?

It wasn't me, it was someone else that was being convinced. I was encouraged but not as directly. The idea is that at least public universities, should probably be spending resources grooming students who intent on advancing particular specialties or fields not just mooch off of tenure system.

And I guess I would have expected them to make that a bit more veiled and not as direct. That is why perhaps tenure is harder to acquire and what separates average and below average schools from top tier ones (this wasn't a top one, just an average state college).
It do think the article and the articles Daniel is referring to have a point, there is indeed an industry - PhD gap. But this gap is not more than logical; It has todo with the "raison d'être" of a PhD:

PhD are tracks of several years to advance human knowledge by doing science. It is often a low payed 'job', done by people who are passionate about the thing they are studying. If you just want to get a good paying job, doing a PhD is probably not advisable, though Universities may inform students otherwise (like Daniel is mentioning).

I myself am working in industry and am well payed, however I'm considering pursuing a PhD related to autonomous driving.. Why? Because I'm passionate about it. Because i'd rather spend time advancing the human race than to fix a race condition in our backend servers (also fun ;-)

Anyway, i think this partially explains why a lot of people or doing PhD. Its because of the human endless interest in science. Its a good thing. In the end the research these PhD students are doing will cause revolutions in our industry.

In a few years people will be driving autonomous cars. And this is mostly due to universities. Google is standing on the shoulders of giants.

Probably I'm viewing this with too much optimism, but I think thats a good thing. At least i'm aware of it.
They're not exactly as supported, because they're not on by default, and they're not the thing everyone in the Mercurial culture tells you to use as the obvious solution to problems. Version control is as much about what other people do as what you do, and what other people do tends to align most closely with the defaults and what the tools encourage.
16:9 is a no-deal for me. Horrible aspect ratio for actual work. I require at least 16:10 or preferably 4:3 (I have two monitors in portrait together at my office that effectively give 5:4)
It is built from images. Of course there will be glitches.
New Vimeo player now supports closed captions and subtitles
Sounds like conquest by NATO vs solely the United States.
Google Accused Of ‘Double Standard’ Over Rap Genius Penalty Lift
Some of those "things" you counted are based on generators, which let you to do exactly what you want.

Example: https://github.com/spion/async-compare/blob/master/examples/...

With promises, generators are not really necessary -- especially if you add arrow function syntax into the mix. https://gist.github.com/spion/8254661

(Note: that particular method in doxbee has long since been refactored to something saner with better separation of concerns :)
Yup, not just canary/beta -- my up-to-date 31.0.1650.63 on OSX has had it for at least a couple of weeks now. It's actually the most obvious browser bug I think I've seen in years, and seems to particularly affect Wikipedia.
Audi A7 takes the wheel at CES 2014
Youch. This will become more common I suspect as more things get 'smarter' in the wave Internet of Things. It suggests a certain core competency in testing, fault analysis, and fail "sage" techniques. One the most impressive folks I ever interviewed for a QA position was a guy who wrote satellite software that controlled the positioning motors. The guy was seriously (and reasonably so) paranoid in his approach to testing!
I wish Jelly luck, but for questions like that the first app that comes to mind is Yelp. It's going to take Jelly a lot to push them from the top of that hill.
Boss selling restaurant to save employee with brain tumor
This would be interesting to see with StreetView photos or with Microsoft's equivalent. Imagine virtually driving to your destination before starting out there, will help with the confusing turns etc.

Now imagine doing it on your smartphone mounted as a GPS while you drive, will make driving even more easier.
Isn't that generally what goes along with allying yourself with someone - the parties agree to do mutually beneficial acts and let each other benefit from each other's actions? I don't see how benefiting your allies makes an action less self serving.
Interestingly, I can find no evidence that this ever occurred outside of the little anecdote in the aforementioned paper, which cites a January 2002 article in The Atlantic.

The article again, is purely anecdotal. The interrogator's name of "Thomas" is just an alias, ostensibly used for "safety reasons".
One might guess that around 1995, something happened to the US food supply. Maybe the big surge of GMOs (which didn't happen in Europe because they're banned)?
He's a great programmer, sure, but this is a problem solved by a generation of engineers before him. Google "CAVE VR" to find some demonstrations of immersive VR environments which have been used in production for long periods of time without nausea or vertigo.

Indeed most of the human-factors research in this area has been in figuring out just what minimum features and precision are necessary in the tracking and display equipment and software stack to prevent these known problems. Making Occulus was simply a matter of shrinking the tech small enough to fit comfortably in a self-contained unit.
I can't help recalling Firefly, where (spoilers) only the worst, most sadistic bad guy (Adelai Niska) tortures people[1]. He does so using any method he can, not to get information but just because he loves to do it. It is obviously also a warning to other people not to annoy him, but this is almost a secondary purpose, at best equal with causing immense pain to his enemies.

This is a reasonably accurate depiction of torture, as far as I understand the science of it, and it's one of the few reasons torture might actually be used (i.e. at the orders of a complete psychopath.) - although Mal Reynolds seems unfeasibly good at resisting it (any evidence that this occasionally happens? I'd be interested to hear.)

[1] You can read about the character here: http://firefly.wikia.com/wiki/Adelai_Niska and you can buy the DVD of the original series here: http://www.amazon.co.uk/Firefly-The-Complete-Series-DVD/dp/B... (check out, in similar items, the film Serenity, which rounds off the plotlines from the series nicely.)
It's a tech demo. I don't think they created a business model.
It seems to be valued much more by the community than those who manage it - this is a problem IMO as there's then an inbalance in the desire of the community to have an optimal tool and the desire of the management which appears to be more to provide something akin to an MVP.

Of course the community is diverse and my view is not necessarily representative of any type of majority.
Branches are my biggest pain point in Mercurial. What branching workflow does Facebook use?
Okay, now I understand your critique. I don't think it's a very good point though: Node.js is not designed for extremely simple synchronous web servers (and neither is JavaScript).
I still get recommendations for the same book I just bought, but in different editions/formats. Seems like it could be improved some more.
The big ones have already been mentioned, but there's also daily prayer (you could call it meditation) and strong family ties. Also, a ton of volunteer work.

Source: I am a mormon.
On the other hand the Mercurial modularity was key for the migration.
Unfortunately, the traditional 'request' model ran into some practical scalability limits - colloquially referred to as the C10K problem. The problem is compounded by long-lived requests (comet-style push is still the best way to get around corporate firewall issues) which can block threads unnecessarily for long periods of time. We've largely solved this through async event-driven architectures and green threads. So no, things weren't always so rosy.

By the way, one of the major benefits of Node is that it allows you to use the same libraries in your server and web-applications. So even without the scalability concerns, there would be good reasons to go with Node.
Anecdotal: I grew up knowing how to cook and prepare meals since I was 10-11 years old or so. It was a complete shock after college to find out that my roommate (that I had gone to school with) could barely boil water.

I just assumed everyone knew how to cook at least basic things because that was how I was raised. He was raised with his mom doing everything for him, so after graduating (meal plans in college meant no need to cook), he literally could barely make toast. For the first 6 months after living together, his dinner usually came from Burger King.

Now I find that people my age (late 40's) and older are often the same way. Somehow they've managed to spend their entire lives eating takeout or microwaved meals.

In my single days, I managed to impress any number of women simply because I made them home-cooked meals. Insane, but true.
Why does it need to charge? Is there a benefit in breaking the traditional battery-as-backup-only model? If the home has power, the controller has power. If the home loses power, batteries can be put in to retain programs, etc. It seems like they created a problem unnecessarily.
It depends. I like to support blogs/etc that are free to use and, if they suggest something I like/want, I will click it. If it's just some random person in a forum/facebook/search result, yes I'd avoid it.
Generate API specs automatically
Resteasy helps developers generate, implement and maintain RESTful API projects automatically. If you have a mobile app or a web app you need to write an API for, enter your model structure and Resteasy will generate the API calls you need to implement for you.

The Resteasy project is still in Beta but it already has the core features in it so that you'll be able to use it probably and evaluate the product, any issues or suggestions you have are greatly appriciative.

The app is free to use so I suggest you check it out when your next project comes along or you can test it out on your current project!

Go to http://resteasyapp.com!
Nothing I've seen on Hacker News would lead me to the conclusion that 2013 was the year of Go being unanimously praised. It gets flack every time a story shows up.
Why do you think mercurial branches are not lightweight? Which operation (create, close, push, pull) on branches is noticeably slower than git's?
Most of the people I have met doing my PhD is doing it because they love their field and want to gain a deeper understanding, or work in the field.

Many of the people I have met doing my PhD are doing it because they didn't want to go "into the real world" after undergrad and their undergrad advisors shoehorned them into getting their PhD. Anecdotally (I'm a biologist/chemist) this is less of an issue for chemists in top programs, because many of them have spent two or three years in industry, and are getting those three letters to round out their knowledge and experience with 80-hour workweeks sleeping in synthetic labs (where they accrue on the order of thousands-of-reactions experience). Biology is arguably worse, additionally populated by students who "couldn't hack the MD track" or slightly more charitably who "hated all the other Premeds". Mathematics is stricken by the student who got As throughout (typically PUI) undergrad math but never has done a proof, and had a mistaken idea about what it actually means to be a math grad student. In all three cases, graduate programs often look aside because they need warm bodies to TA/teach the intro classes.

Now, many of these people will not get their PhD, but some do, because for all the hemming and hawwing about the process by grad students, it really is an exercise in rubber stamping (in many jurisdictions the reality is you can't get rid of a grad student without running into serious legal problems, especially when you're paying them so technically they're employees and if you treat them poorly they have the leverage of tattling about the technically illegal labor conditions)
Wouldn't the distribution of PhDs-in-research-positions and BS/MS-in-research-positions be different depending on whether its the former or latter? I think so. I wonder how much, or even if, there is any data about that.

Speaking from personal experience I'd largely agree with the parent's point. Also, speaking from my personal experience in academia, I'd suggest the field of academics, science or otherwise, is largely like any other industry: one's ability and intelligence can only carry one so far; who one knows typically has a far greater impact. This is especially true when applying to graduate school in the sciences. A person who is well-connected is far more likely to be picked up in a research program that is: a) of interest to him and b) well funded (as well as can be, in this area).
Of course it is implied that there is future support for Go since there are serious people behind Go who are Google developers but its current popularity comes from various implementations of the language and "rewritings" which are translated into blog posts rather than blog posts per se. I hope the difference i am trying to point out is obvious.
It may be highly contested but it's not highly important. It won't make a particularly big difference, freedom-wise, whether the mandate exists or not.

As long as both major parties remain supportive of indefinite detention without trial, of assassinating Americans without trial, of routinely bombing foreign countries without a declared war or any sort of authorization, of wholesale spying on the American public, of imprisoning people who take the wrong kind of drugs, and so on like that, then stuff like the individual mandate is a sideshow. It's exactly the kind of not-terribly-important issue that's used to make people think that the system works.

The Supreme Court ruled 5-4 on the difference between, basically, the numbers 299 and 301. Everybody, from Congress to the Supreme Court to the news media to the average Joe on the street, acts like 299 is extreme in one direction, 301 is extreme in the other direction, and 300 is the "middle". Meanwhile, the numbers 1-1000 are ignored.

We should be having highly contested questions on the massive abuses being perpetuated by the US government, but instead that energy all gets pumped into little stuff like whether it's OK to make a small extension to the government's power to tax, or whether the punishment for not having health insurance should simply be random bankruptcy and premature death. Don't get me wrong, health reform is an important issue, but it's not an important civil liberties issue.
Why not use standard mercurial branches? At least you're able to say in which branch commit was done and draw a clean history for them.
Red Hat and the CentOS Project Join Forces to Speed Open Source Innovation
There's a vast amount of experience regarding sophisticated controls for commercial HVAC systems. Systems should be tuned for individual locations. Once they are working, leave them alone until data from the actual installation indicate a need to change. It is not uncommon to lock up sophisticated control systems and only provide a key to trained personnel. If needed, untrained staff get access to placebo thermostats.

Allowing a smartphone to interface with a thermostat makes some sense. Automatic firmware updates to smartphones make sense because the networks to which they connect change.

A thermostat, however, is not a smartphone. The reasons to change the firmware are a change to the equipment to which the individual device is connected, to fix a dangerous bug, or when the new firmware is the only way to tune an individual system which has become untuned.
You can generalize that to all immigration systems not just "the".

I analyzed the Canadian point system many years ago and as a recent BS grad I had more hoops to jump thru than a recent MS grad would have. Whats easier, becoming fluent in French or a MSCS? If you want to be able to work anywhere in the world, its much easier with postgrad degrees than just a bachelors.

From memory, at least to work in Canada in CS/IT, it boiled down to a BS holder needs a formal job offer whereas a MS holder pretty much open arms you'll find a job once you get here, no need to find a job before moving. A couple years experience and I've caught up in the points race with the MS holder... This may have changed over more than a decade.

I have family commitments so I can't, but I wish I could, which leads to research and daydreaming.
I never pay attention to ads

Just about everyone thinks this. But you're wrong. It's pretty much impossible not to be affected by advertising. Sure, you don't click on the links, but the product placement and brand awareness is not something that you can turn off!
It's more like `git commit -p`. If you abort `hg record`, the selection you've made is lost.
The way you describe it - it stops being fake at a certain usage point - it then becomes a persona.
My $500 Cloud Security Screwup
Depends on how it's done. Is it the founder, but writing CorporateSpeak? Or is he/she writing like a human being?

The Cluetrain Manifesto should still be required reading, especially for a startup.