skysight-inc/HackerNews huggingface dataset:
Honestly, the most difficult, time consuming, and mundane aspect to this project would have to be the parser, which was apparently written in C by hand. So bravo.

Getting to some of the final notes:

> ... I'd choose a different design than that if I were to write it again. Particularly, I'd use yacc instead of writing a parser by hand and introduce an intermediate language early on.

That's why I found the LALRPOP post by one of the Rust developers interesting. Writing your own parser generator is actually much easier than writing a parser by-hand (depending on the complexity of the language, here not that complex and still difficult), and I think it's more instructive than using a free or open parser-generator or compiler compiler. The downside is that it is less practical, because almost none of the important aspects of language implementation involve the parser.
Comments like "add one to index" are a symptom of laziness, not of commenting about the wrong thing. As an example, here is some of my actual code:

/* Prompt for scheduler. */
if (!flag_scheduler_selected && !flag_no_prompts) {
option_scheduler = prompt_scheduler();
}

The purpose of the comment is not to tell you what it is doing or why I'm doing it. The comment is there to tell you that what I am doing now has nothing to do with what came before. It signals a mental context switch. Without the comment, you wouldn't be able to easily scan the code and see where different things are happening.
Because email is a tool you already have.

"Go get a proper application for that" entails a lot of work, including things that can be cognitively difficult like sifting through the giant sloshing sea of half-finished code that is the Internet to pull out a few good candidates. So it's not hard to understand why using a tool you already have (and already understand) would be more appealing.
The Drone Center’s Weekly Roundup: 12/14/15
Thanks for this thread. Totally made my day.

Waiting for future slew of news stories regarding "rogue fridges"... some goof drives by a house, jacks the wifi, compromises the fridge.
is this is a viable option in building Angular 2 apps? Im afraid the RxJs aproach could lead to mantainability issues for larger apps.

The Observable pattern is well-known for causing event carrousel soup, where one event gets triggered in one place of the app and it just retrigers itself 2 times accidentally until it stops. I've seen code where this happened and it wasn't pretty.

Im really not sure if the stream abstraction pull its complexity weight. The Store abstraction is more intuitive and might be all we need
My technique for windows since vista has been :

1) Plug both disks into a host machine (or boot up off of a WinPE or WinRE disk).

2) Mount the source them as D:\ in this example

3) Format the destination disk in diskpart and mount as E:\ (be sure to mark active and format as a primary partition)

4) Run robocopy D:\ E:\ /x /e /COPYALL /zb /r:1 /w:0 (or something similar

5) wait...

6) verify that the copy didn't miss anything

7) Run bootsect e:\ /nt60

8) Try to boot from the new drive, if it doesn't work then try 'bootmgr /rebuildbcd' and fixboot

it's not sector level, but i don't think it really needs to be, just mirror at the file level and fix up the boot sector. I'm not sure if it is dangerous but it works for me and it doesn't need 3rd party tools.
Scot Aaronson does understand this work very well, and he mentions several times (with citations) that there is no widely accepted proof or disproof that a quantum speedup will ever exist for quantum annealers.

http://www.scottaaronson.com/blog/?p=2555
"Well, there’s always booting into Linux and doing the old DD if=something of=something bs=somethingbig and then maybe hex-edit the partition tables after it runs off the end of the source drive. This is my wife’s computer and she’s worth it. For kicks, I look at what partition tables have mutated into. They were a miserable hack back in the early 80s, and time has not improved them. I wince and close that web page."
Interesting that they do this via partnerships with news outlets etc.

Last year they adapted search rankings to get everyone producing mobile-friendly pages. They could have done the same here. Great for getting the web forward, but it's a bit mafia like. "Nice 1st search result you have there, would be a shame if something happened to it...". I would like if it they used this again to get other things on everyone's prio list: IPv6, HTTP/2.0, page load time. It's a bit of a nuclear weapon, but it gets things moving.

More on topic: I have the strange feeling that AMP will somehow help them to "inline" the search results like they currently do with wikipedia etc.. That way your site becomes just a data source for Google, they're not actually driving traffic to it.
If they've foregone other opporunities, it might well be because working conditions in the games industry are (apparently) pretty awful, especially in large development houses. There seems to be an attitude going around that endless crunch is somehow a 'good' thing, so you get massive amounts of overtime and ridiculous working hours.

Presumably, this then selects for people who like games so much that they're somewhat able to give up just about everything to make them. If the conditions were more stable and... normal, then you'd probably get a more 'diverse' group in the industry and likely also better games in general.
Not just that, but I can't wait for the day I can only rent my appliances and have to have a monthly subscription to some GE "Smart Appliance Network" for them to even work.
I'm excited for less of a stack. I recently brought Fallout 3, which had a big warning about it not playing well with window 7 and later.

That's a sad state of affairs given that the game is not playable to non technical people.

I managed to get it running well on osx and wine but I still got random OpenGL crashes due to OOM. Clearly the windows driver was fixing a bug in the game.
If you put this on a blog, you could probably become the top Google result for how to copy a bootable Windows partition, and make tons of money from advertising.

The last time I was able to make head or tail of the Windows bootloader was in XP, before they decided that plain text configuration files were too easy for users and they needed to obfuscate the interface by using binary blobs that you could only work with using a rather confusing, poorly documented tool.
You can still construct an example that is "definitely and obviously wrong" but emotionally neutral. Which you did above.
Interesting, nice clean look.
Those functions don't always align with the problem model, and they often have a cost associated with their use.
The problem here is not the refrigerator, or the software on it.

I repeat.

The problem here is not the refrigerator!

We're building a shitty internet, not an internet of shitty things. If integrating with an online calendar means having to have a software team at the ready at all times for the whim's of some service's API updates.. we have failed society in a deep way.

The API that Google should be releasing for Google calendar is CalDAV, because it's a standard that people can depend on. Google - by choosing to not use that standard AND to not get a different one standardized with their peers, shows they don't want to be part of an Internet.
I just want to echo the love for Subsonic (and the iOS iSub app). I happily used Google Music until I hit the (at the time) 20k track limit. Now that I've been running and using Subsonic for a couple years, I consider it a complete upgrade in terms of features and performance.

I had not heard of koel or ampache until today, but choices will always be welcomed.
You know, I know the author didn't actually name Tools A - E, but how much you want to bet that there is at least a bit of overlap between Tools A-E and the set of tools that people here have sworn you "just" have to use and have never failed them?
How to charge our clients and why we are bad at it
Lucky Patcher v5.8.8 Apk Free Download
I'd like to see them scale this out and get it in more places.
Trucking Deregulation (1993)
One Liner JUnit Productivity Tip
I am leaning towards it. An analogy would be, "How much blood do you want to give; an ounce or a pint?" you still are losing blood but a heck of a lot less.
Relative velocity too high, fingers were going faster than my brain...
Ok, we changed the title from "Africa faces a population explosion" to a representative sentence from the quote by tokenadult. Thanks to both of you.
do people really have this problem? I never remember being bombarded by a single source (be it a person or a service), email becomes a burden because there are many sources and the level of urgency is alternating even for the same source through time
> I'm not sure it's fair to argue that it would scale in such a way. Sure numerically it's an insignificant portion of the population but the Death Star still literally destroyed and entire planet and every living being on it.

Between core worlds, protectorates, governorships and colonies, the empire is estimated to cover close to 70 million inhabited worlds, and billions of uninhabitable planets.

> Rather than comparing it to bombing a wedding, I think it's more accurate to compare it to destroying every trace of some micro-nation

More like a small town taken over by entrenched terrorists.

> then cleansing any plant and animal life native to that nation.

A firebombing would do that, and that's an unfortunate side-effect more than the purpose of the act.
As a java/groovy programmer, all I have to say about this is SUPER LOLZ. What would be a use case for something like this? Could it make spock tests into javascript tests?
As with most articles, this one says more about the writer than it really does the subject. The stories are ambiguous enough that you can literally find any message you want to out of them. Scrappy little startup vs Oracle. The plight of the middle east vs the UN (or just the USA). A SF story told from another time.

So, what do you take from it? What does that tell you about yourself?
What's the economic incentive for the ledger keepers and verifiers once all 21MM bitcoins have been mined?
It is not surprising to me. If you read over this entire thread you'll see that I acknowledge that the US has blood on its hands but I also argue that we have made considerable progress in foreign policy particularly with regard to how we treat civilian casualties. This, and the critical difference of 'intent,' is something conveniently ignored by those who want to hand-wave away the difference between the foreign policy of Western countries and the actions of extremists who indiscriminately murder un-armed civilians routinely and without warning. It is a false equivalence.
Thanks for mentioning that. Although, nowadays, most kids that are old enough to worry about what's on the calendar, are also equipped with a phone or computer on which they could easily look up what's on the family agenda for the day.
Point taken on my rather glib final statement there. I deserved that..

I'll admit that my experience with Java web apps was never against bare JVMs, but against app servers (Liferay, etc). How common is it for people to roll their own no-framework bare web apps in Java?
Some other discussions at https://hn.algolia.com/?query=elliptical%20pool%20points%3E2....
Incidentally for Machines – A Shakespearean Sonnet to FP
Behind the Scene: Syntax Highlighted Editor
The phenomenon you're talking about is known as 'depressive realism' (https://en.wikipedia.org/wiki/Depressive_realism). The evidence is fairly inconclusive, but it's an interesting (and IMHO, plausible) hypothesis on depression. The prevailing theory is that depressed people have a more accurate perception of reality (as opposed to the non-depressed, who have a positively biased perception).

There's some (disputed) evidence that Winston Churchill suffered from depression. Perhaps this is why he was such an effective war-time prime minister: in a time of war, if your perception of reality is inaccurate, you're less likely to survive.

It's interesting to contrast the speeches of Chamberlain and Churchill with this in mind. On the one hand you have Chamberlain's "Peace for our time" speech after concluding the Munich Agreement:

"My good friends, for the second time in our history, a British Prime Minister has returned from Germany bringing peace with honour. I believe it is peace for our time. We thank you from the bottom of our hearts. Go home and get a nice quiet sleep."

And on the other you have Churchill's first speech to the House of Commons after becoming Prime Minister:

"I would say to the House as I said to those who have joined this government: I have nothing to offer but blood, toil, tears and sweat. We have before us an ordeal of the most grievous kind. We have before us many, many long months of struggle and of suffering.

You ask, what is our aim? I can answer in one word: Victory. Victory at all costs—Victory in spite of all terror—Victory, however long and hard the road may be, for without victory there is no survival."
I'd have a hard time switching to an email client other than mutt. I'm not sure what I would do without an actual grammar to deal with email.
> Within 5 years, I think BuzzFeed will have earned a spot next to The New York Times as being among the most credible, highest quality storytellers in the world.

I... is this Poe's law[1] in effect?

1: https://en.wikipedia.org/wiki/Poe%27s_law
If Idi Amin and Nicholas Garrigan had the "fight it out!" rule in my pub quiz night, Nicholas should've won.

Of course, in their context it's a bit more complicated. :)
Sex love and robots: is this the end of intimacy?
Guy doesn't know how to work with Windows, tries, and fails horribly: the blog post.

What's really sad, he never does backups, so there will be a sequel.
My car connects to Google for POI lookups over GPRS. However, it can't retrieve traffic data nor update it's maps. Android Auto is a nice alternative, but I'm an iOS user. ::Shakes Fist:: C'mon automakers.
All my different devices have shoddy software. From every smart phone I've bought to smart televisions and not so smart satellite decoders and bluray players. None of them have source code available to fix the problems, and the firmware is more often than not encrypted.

There has to be some solution to the problem of low quality and ill-maintained vendor software - but to them it's not a problem so much as a push for the user to do a device upgrade.
Even when they try to support it, they changed the endpoint location (?! I guess even Google is bad at URLs), and their CalDAV implementation only supports the calls of a popular enough client they don't have control over.

"We have not yet provided a full implementation of all of the relevant specifications, however for many clients such as Apple iCal™ the CalDAV protocol should interoperate correctly."[0]

[0]: https://developers.google.com/google-apps/calendar/caldav/v2...
Anyone who wants to share their preference with us is welcome to email hn@ycombinator.com. We're interested.
> you pretty much never actually want a full disk backup

I pretty much want a full disk backup all the time:

- when I buy a new laptop that comes with a non-SSD hard disk that I immediately upgrade to an SSD, saving hundred of $$ compared to buying a laptop with an SSD

- when I upgrade / change the drive of my home PC

- when I backup the boot drives of said laptops and home PC in order to have an instant swap-in clone in case of hard disk failure.
Subsonic works well enough, if you ignore the fact that it requires Java, frequently corrupts its own database, doesn't properly cache certain file formats on the client side even though it sends transcoded files (this one is inexplicable to me), and has many other strange quirks. Worst of all, though, is that it bills itself as free software, but requires activation after a short period of use, and patches to circumvent the ransomware anti-features have been taken down (not sure why tho). Recently, the pod catcher has been crippled and made ransomware as well.

A good replacement would be welcome.
Complaining About Work
An error that large may be rare, but the overall experience of massive/unexpected financial load is fairly common via my experience hearing from customers (full disclosure: I founded a medical tourism startup called Emissary two years ago: https://www.emissarymed.com)

We talk to people all the time who don't have insurance (20-30M last time I checked), don't have dental insurance (~150M), or whose insurance comes with coverage caps as low as $1K-$2K that render insurance effectively useless for them in large operations. Most of the time, customers we talk to actually don't even get as far as the author did, because they can't afford the estimate, let alone the risk of over-shooting it. They just avoid getting treatment (and often get worse in the meantime).

The trick then is how to find a doctor you can both afford AND trust. If you'll excuse the plug, we started Emissary to solve that when a friend's mother had this problem. Our mission is to help connect people to high-quality options they can afford, regardless of where they live in the world.
If you want to go a bit deeper -

http://www.amazon.com/Distinction-Social-Critique-Judgement-...
Yeah I manage that by treating all mail as low priority and every chat as high priority. People chatting for spam or to bring attention to a low priority inbox gets told to send an email. This way I'm sure not to miss critical messages without relying on pepople self tagging
That's not what Colonel Hogan taught me.
Kinto – open-source alternative to Firebase and Parse
I like Gerrit features, but it always seemed too complicated to integrate into usual coding workflow, especially with people always even complaining about git being "hard to use". This tools seems simpler compared to Gerrit, and more flexible compared to GitHub pull requests.

I would appreciate advices on introducing Gerrit to my team and make it somehow transparent in development workflow.
Israeli business intel startup Anodot scores $3M in Series A
I was planning to dust it off and try it on a bunch of disks with different configurations. This thread was a nice reminder. Windows might even benefit from a port of DD to its boot disks with a GUI.
That's a nice ideal but unfortunately it's false [0]. Corporations are legally required to operate in their shareholders interests. They have wide latitude [1] in their decision making abilities but they're still required to act in the best interests of the company and its shareholders.

[0]: https://en.wikipedia.org/wiki/Dodge_v._Ford_Motor_Co.

[1]: https://en.wikipedia.org/wiki/Business_judgment_rule
Asking for equity in the right way can be good signalling to a founder that you want this to be more than "just a job" for you for the next 5-7 years.

Asking for equity in the wrong way can close a lot of doors.
If you adjusted what they earn for living expenses (and do people pay taxes on prison income?) isn't it equivalent to much more?
Does AMP Counter an Existential Threat to Google?
There's a lot of this going on over at /r/adventofcode, people are abusing the hell out of languages just to get their answers as quickly as possible to make the leaderboard.

For those of you who don't know what Advent of Code is, think of it as the advent calendar you had as a child (you know that thing with the chocolate behind the paper doors?), except you get a new coding problem every day and you get stars instead.

https://adventofcode.com
Well Selim, the Serbs are wise people who fought against invading muslims for more than 500 years. If anything, the "west" needed to learn from them instead of bombing them to oblivion. Modern muslim population of the Balkans are essentially invaders, you can't put it any other way. Their introduction to Eastern Europe retarded the region for centuries. The real Albanians for example were evacuated by the Pope to Sicily when the Ottomans began stirring up trouble.

As for German exceptionalism in 1939 - this is what economic depression and a charismatic leader can do to a people. The difference between the Germans and say descenats of the Ottomans is that the former are still paying reparations to this day though while the later are busy burning churches in Kosovo.

Go ahead, try to debate me muslim-lovers and Islam apologists. Millions of Christians live in the Middle East as 2nd rate citizens - dhimmis with no practically no rights.

Where are the Assyrians of Iraq? You know the answer. This is whats attempting to spread to Europe and the rest of the world.
Even better!

I do all of my Windows stuff in VMs these days, so I don't really know what tools there are anymore. It doesn't surprise me that there's an easy-to-use answer to this problem, especially since the problem isn't all that exotic.
Awesome visualization of the evolution of Swift
https://github.com/google/git-appraise-eclipse
Run SpinRite on the disk first?

https://www.grc.com/sr/spinrite.htm
Since no one mentioned it yet -- and for what it's worth, and YMMV and all that -- I use Casper to clone drives on all versions of Windows, without any problem whatsoever (used on XP, 7, 8.1 and 10).
Now that I think about it it does let them take preliminary action before something happens and talk to the owner. So it's not as bad as I thought.
I honestly didn't read that into what he said, am I missing some context that alludes to this meaning? It seems like he's trying to call out those people who would demand he hire a less qualified woman simply because of her sex.

Isn't holding the belief that there exist qualified women putting them on equal standing? And then because there are qualified women wouldn't hiring without concern for sex the fairest hiring method? If he believed that women were inferior and wanted to promote diversity then wouldn't he would be making the exact opposite claim?

If he truly holds the beliefs he claims to in the quote then the problem of diversity could be solved at the educational level by encouraging more women to go into tech. Assuming merit is uniformly distributed throughout society, if 10% of your applicants are qualified but 90% of your applicants are men then you would expect your staff to be 90% men assuming no bias whatsoever.
I use the Navigation on my 2015 Mazda 3 everyday.
It's the most functional car GPS I've ever used and has way better directions for me as a new driver than Google Maps.

For example, a mile before a left turn it'll tell me to bear left instead of the way google suddenly springs it on me half a mile before a turn on a super busy road during a traffic jam.

Instead of having to glance at my phone every little bit it displays the directions on my heads up display along with the lanes that I should be on to make the turn. It also knows how to deal with music already playing on the car speakers by muting the driver side of the music while reading directions so my passengers can keep listening.

Along with all of this, even though it's quite fiddly to view it, if I connect my phone to the car and have internet on it can grab traffic data to overlay onto the map, so I get the best of both worlds. <3 Mazda
Story Musgrave
I go there too :) just went back to school after a long "hiatus" ... get in touch sometime
I love my built-in GPS in the car. For one, it displays directions in between the gauges, for another, it does a better job of unobtrusively providing audible directions without interfering with music.
That's actually terrible advice, in my opinion. Raising a family is REALLY hard work that requires a lot of time and dedication out of you. It also restricts what you can and can't do; quitting jobs that you hate or moving somewhere to seize an opportunity become astronomically difficult with a family.

Families are important, but why limit your potential early?