skysight-inc/HackerNews huggingface dataset:
It was a ton of fun on a saturday afternoon when I wrote this code. I was trying to avoid rolling my own syncing solution but I guess my Google-fu failed me :)

My goal was to write a very thin wrapper around the workflow I would follow if I had to sync the changes myself manually. The tricky part was in figuring out how to inform multiple client machines when the backup server noticed a change in the file system. I wanted to avoid writing a server-side component that I had to install on the server and maintain.

When I found that I could use a combination of "ssh" and "inotifywait" (run inotifywait on the server using ssh from the client and listen for changes), I was pleasantly surprised that this even worked! I see my implementation in this aspect as the equivalent of AJAX long-polling that used to be applied for chat like communication in the browser in some implementations. i.e. When some modification happens on the server filesystem, the "inotifywait" command quits thereby unblocking the "ssh" command upon which I do a "git pull".

Because of the above, I was able to keep my implementation really simple - The whole functionality was achieved in under 300 lines of code.
...that's a good suggestion - thanks!
In my first idea, the hardware "key" holds two cryptographic keys. One is a private key, whose public counterpart is held by the manufacturer. This authenticates the vehicle to the manufacturer. The other key is a public key, whose private counterpart is also at the manufacturer. This authenticates the manufacturer to the vehicle.

My second idea does not accomplish any new authentication (beyond what over the air updates already do). However it does prevent silent updates, which is an improvement over today.

Today, not only can a vehicle owner not tell if an update came from the manufacturer or hacker, they can't even tell that an update happened at all.
No apologies required! Thanks for taking the time to post the links. I discovered "syncthing" via this thread and while it sucks that I did not come across it before, I am excited to try it out.
Yes, from what I hear, basically it's Emacs' issue.
Dead on. There is very likely some very specialized neural motor control circuitry that humans use for speech that is missing from other primates. If you consider, for example, dexterous finger movements, there is a strong correlation between the number of direct corticospinal [1] projections and degree of finger dexterity that the species exhibits. Rodents and many other mammals have no projections at all. Monkeys have some; humans have many [2, see fig 1].

So which primates have corticospinal projections for their vocal cords? Okay, that's actually a trick question because the vocal cords are innervated via cranial nerves emanating from the medulla [3], rather than via spinal cord. However, in humans, there are direct monosynaptic projections from cortex to these medullary motor neurons. These projections do not exist in macaques (and presumably not in other monkeys) or in chimpanzees [4, see fig 2]. I'm not sure if it's known whether gorillas or orangutans have them.

1. https://en.wikipedia.org/wiki/Pyramidal_tracts#Corticospinal_tract
2. http://www.nature.com/nm/journal/v13/n5/full/nm1595.html
3. https://en.wikipedia.org/wiki/Nucleus_ambiguus
4. http://www.sciencedirect.com/science/article/pii/S095943881400107X
On the spot fines seem like a great way to encourage graft and corruption among the police. Let's leave Judge Dredd-style policing in the comic books.
The New and Improved DreamHost Wiki
Do you have a link or book about this to share for a new parent?
I obey all speed limits in part because if speed limits can be written on signs without meaning anything, then they will become more and more absurd. If I'm in a neighborhood where the posted limit is 25 but the residents drive 35, they're all going to have to face the contradiction as I pass though. And I do pull over sometimes because I'm pretty sure slow traffic ought to yield.
No thank you. Just store times on computers as $epoch+$offset and then convert to UTC when displayed to the user.

That way, only the display routine has to care about leap seconds and it won't break anything.
To be fair, howterrible's tone is arguably far worse - he makes accusations that he must want [insert negative extreme not backed by evidence], and goes more in depth as with trying to connect silverstorm with malformed reasoning.

At the least silverstorm phrased it as a question in wait of an answer, which is a lot more civil than the outright hostile attack that aimed more to accuse than to enlighten.
Sorry it took so long for me to get back to you; I only check HN from time to time.

1. No, afaik there's no way to omit the import. Sadly there's little in the way of macros or preprocessors in the python world at this point.

2. I'm fairly sure there's ways to use module stubs, but all my mypy work has dealt with the stdlib which presents no issue.
I don't think it's very fair to call Glenn County a "near-desert". It drains a huge mountain watershed via the Sacramento River and in many places in that county the main hazard to agriculture is the high water table. The depth to water table in the flat part of the county is only 10-20 feet.
Why on earth are they using 96-bit cryptography in 2012?
Thank you! I tried hard to keep the code very simple sacrificing some 20%-scenario requirements (such as automatic conflict resolution).

I am using this to synchronize my Markdown based notes files across machines. There are under a hundred files now so I haven't hit any issues in that department yet.

However, there is a gradual memory leak which persists even when I kill and restart my process. I observed this only on a KVM based Linux guest - not sure if this is because of inotify based listening but I'm going to have to dig deeper to find out.
The trick with using technology to assess "driving while texting" is that texters are often the passengers in the car. Waze tries to deal with moving typers by having an alert that pops up thatsays (roughly), "You can't enter text while moving" - but has a button that says, "It's ok, I'm a passenger."

The trick with a $75 fine for texting while moving is passengers. If you're willing to ban texting entirely while moving though, using technology to assess small fines could work!
Not at all. I just combined two rants into one. Desal wont come close to watering the trees. The problem is that the forest isnt being properly managed. Old trees need to be cut down to allow for new growth and the fuel load needs to be reduced to avoid catastrophic fires. Natural burns wont work because it is urban.

Unfortunately climate change may mean that the forest may be gone in a few decades. The pines need the Cambria micro-climate with its morning fog and moderate temperatures. A series of extended droughts will kill them all.
Pretty neat!

However, I think there might be a tiny bit too much friction in using it.

First, I have to remember how to get to your app again. Then I have to login. Then I have to paste a link in a box, & then I get another link that I take somewhere else.

I'm probably not going to remember your app until I'm about to post something into a social network somewhere else, & I'm not sure how much anticipated-friction I would tolerate in that situation.

Maybe a chrome extension would be neat down the road, or maybe if I could prepend something like <user-name>.plug.to/news.ycombinator.com/item?id=10063441

It's really interesting though! You should keep working on it!
Just found Pat's stuff and I also highly recommend it
The Problem with XQuizzes, or: JavaScript is harder than you think
How to Access the EShop on an Outdated New 3DS
> Chris Christie said that a national teachers union deserves a “punch in the face”

To be fair, teachers' unions do tend to cause a desire for percussive maintenance. In my own (admittedly anecdotal) observation, said unions tend to be run by - and thus prioritize - tenured teachers over all other factors (including actual approval from students, parents, other faculty, etc., and also including test results, passing rates, etc.). This results in skilled, fresh talent to be the first for consideration when schools need to cut back on teacher employment, rather than the arguably better alternative of encouraging some of the more tenured teachers to retire. This isn't to mention that said unions tend to impose dues regardless of whether or not one is a member, and that said unions frequently take political stances that the dues-payers may or may not agree with.

This isn't to say that the concept of a teachers' union in and of itself is a bad idea - far from it. Rather, in their contemporary form, they seem to be getting more in the way of education (by favoring tenured and perhaps out-of-touch educators over younger, fresher educators with more modern foundations; also, by favoring said tenured and more expensive teachers over younger, less expensive teachers, thus contributing to higher class sizes and thus a degradation of educational quality for students) than they are helping education.

Granted, I'm not really involved in the inner workings of teachers' unions, and my experience is limited to both what I saw as a student and what I continue to see among friends who got into teaching, so maybe these tendencies aren't universal.
In some jurisdictions in the United States it's actually unlawful to divert rainfall.
This looks awesome, one day I will need to attend just to participate in these challenges! Side question: Why are there two step_11's?
Simplify, Simplydie (or why 500px new version sucks)
It's not about being emotional. It's about the opposite of passive compliance.

I do not, by any stretch, want to compare this to the Holocaust. But there's a lesson there that I learned from watching a video by this Arab author who is Islamic yet quite vocal about fighting islamic terrorism. I wish I could remember her name.

She said something to the effect that moderate majorities never matter. And she used examples such as various genocides throughout history to demonstrate her point. In the case of what happened in Germany, she, quite correctly, said that while the vast majority of Germans did not agree with the Nazi's and were "moderate" their inaction, their lack of engagement, their passive compliance, their lack of "fire in their eyes" made them irrelevant. Moderates do not act and by not acting they serve no purpose when faced with something even as horrible as a genocide.

Again, not comparing this to a real genocide. I guess we don't have a comparable word for being responsible for the death of half a forest.

Yet the point is that a different attitude of active and passionate engagement against nonsense is badly needed. The moderates, the people who just sit idly by and let it happen. the people enough passion or "fire in their eyes" to oppose these forces quickly become irrelevant. And that pretty much describes every single professional politician. They've all been neutered by their need to survive by pandering for votes. And so, they do nothing and the extremists, just like the Nazi's, have free range to do as they wish.

This isn't a simple problem and, to be sure, we've created it or allowed it to be created for decades. And no, by "fire in the eyes" I don't mean Rambo. I mean passion to do the right thing. Which also means passion to demand responsible decisions while making common sense choices about issues in front of us. Killing half a forest is criminal.
Making a million dollars a year on average is, in fact, great, by nearly any non-delusional standard.
Water doesn't work that way. Shutting off urban water supplies would not increase the supply available to growers, and the other way around, too. Growers can run out of water (delivered by the CWP/SWP) while cities (which each have their own water systems) might be set for years.
Microsoft did not have the "full faith and credit" of the Gates family. His family figured it would burn out and he'd return to college, per what Bill has said on the matter. They were less than thrilled with him dropping out. He received $0 funding or help from them in regards to Microsoft getting started.

It was a million dollar business, completely independent of the Gates family or its connections, while it was operating in New Mexico. Bill and Paul had sales almost from day one.
How to Rank on Google in Just 24 Hours
always be a "lazy" programmer. no sense in extra work if there is a simple and functional solution.

if you have 4mins sometime would love to get some feedback on my project (just the public facing demo)
https://news.ycombinator.com/item?id=10062700
> I don't think internet ads do me much harm

If you don't consider the absence of your own (or your loved ones') privacy as "harm", then perhaps the job of inducing such an absence of privacy wouldn't be considered "harmful" by your standards. By my standards, however, that is considered "harmful" - maybe not physically, but certainly psychologically.

Do you not consider the eating of a Big Mac harmful for the eater just because the eater felt said Big Mac to be relevant to him/her?
Re parent: ~365.25 does not relate at all well to bases of 10, or much else.

We can actually thank existing social patterns including religions for locking us in to a '7 day week' which is what many calendar systems try to promote.

With (roughly) every 4 years also containing an extra day of correction (the solar orbital period is not quite 365.25 days) the concept of 'leap days' is necessary anyway.

360: 2 2 2 3 3 5 << Oooh shiny
361: 19 19 << Annoying
362: 2 181 << Annoying
363: 3 11 11 << Less Annoying, but weeks are too long
364: 2 2 7 13 << Might be workable, there's a 7 in here.
365: 5 73

The IFC picks the 364 route, and puts the leap day in the middle of the printed year. The decision of where to put that date is pretty arbitrary, but probably based around a 'summer holiday'.

360 is 5 away from the closest integer orbital period of earth. Therefore 5 'extra days' (likely holidays) would need to be added. 5 is also a factor. It would either make sense to have an extra 5 day period as one long holiday set, or an extra holiday spread out through the year 5 times, though arguments for otherwise could be made.

7 and 360 get along poorly though. We'd probably also want to keep '12 months' for sanity/existing contractual structures (esp since we can't be in units of 10), and having 'months' close to current months seems to be an advantage.

Taking 2 * 2 * 3 out of the factor set, we're left with 2 * 3 * 5 for each month.

Stepping aside for a moment, let's examine a 'perfect' 28 day month in the IFC/current calendars. 2/7ths (0.285714) of the time is 'weekend' time.

I'd propose a 10 day 'week' in the new time, I also think 2 days in a row off of work is advantageous, and I think that this time should be time 'normal workers' can expect to share off. I think that this number might actually grow over time as we increasingly approach a more Utopian society based around automation and abundance.

The 10 day 'week' would begin with the following structure.

* 2 days of work
* 4 day period of 3/4th work (on each of these days about 1/4th of workers would have an 'erands' day)
* 2 days of work
* 2 days off work - weekend

On this schedule half the workers would get a 2+5 or 5+2 and the other half would get 3+4 or 4+3; all workers on a 'standard' shift would also see 0.3 weekend time, a slight increase.

The extra 5 holiday days could either be divided somehow over the year, or used up all at once as a burst half-week holiday. The necessary leap year correction would be added to one of those periods as a holiday as well.

Since this is another example of a 'standards proposal', someone must have thought of this before...

https://en.wikipedia.org/wiki/French_Republican_Calendar

This link seems to do a decent job of discussing some of the other aspects of converting to a 10 day calendar (many of which also exist for the IFC) http://www.scientificamerican.com/article/is-it-time-to-over...
I'd be happy just to get rid of DST.
ES6 in Depth: Modules
You're a champ mate. Try out git annex too. The presentation might put you off a bit but it's really powerful.
There has been a term for this type of business for a very, very long time.

A small business.

It's also nearly universally understood in regards to what it means. A layperson will get it immediately.
‘Brothers’ – Movie Review
yeah I see what you mean, we built an oauth signup option in v1.0 that we might bring back that allows you to just automatically "switch" the links you post.

We also have the chrome extension on deck ;)

So no major issues with the public facing UI/UX in your opinion? example: http://lnkplg.co/RGPp
I was just using C# as an example of an alternative way of handling calculations.

The comment about assembly comes from remembering a conversation with an older firmware guy. In his world multiplying two 32 numbers resulted in a 64 bit result. And division was 64 bits divided by 32 bits with a 64 bit result, 32 bit result plus a 32 bit remainder.

I think his thoughts on C's 32 bit number X 32 number => 32 bit result can be summed up in a single word: gah!
>1: If you thought the story for evidence-based medicine was bad, just skim through the parenting books at a book store.

Yes. All the ridiculous advice my partner and I get about our children is unbelievable. And I'm someone who had to self-diagnose medical issues after years of being ignored by doctors and other "experts" who wouldn't look at evidence-based approaches. I thought it couldn't get worse. But it does. Oh, it does... so much worse.
Evidence-based politics is even less popular than evidence-based medicine.
This is why C is sort of unassuming in its "sizeof arr / sizeof *arr" pattern.

Whenever you write a new type, just write a sizing function for it using sizeof. I like that Go is taking a similar route, except that one just implements the signature.
It's not so simple as simply increasing the amount of CSF influx into the brain, but also increasing interstitial space via adrenergic receptor inhibition.

The clearance of beta-amyloid, etc. is largely linked to the state of sleeping that would be tough to isolate without inducing sleeping itself.
Moni.ai – Connected Mind
You're focused on science learning what science previously got wrong, but I think there is a deeper conflict at work when it comes to animal capabilities.

Before science started correcting itself, it was correcting perceptions based on religion and culture. For example, the germ theory of disease ran headlong into the older idea (not based on science) that doctors couldn't have dirty hands because they were gentlemen.

The belief that animals do not share capabilities with man arises from culture, specifically Western Christian culture. God made man in his own image and gave man dominion over the dumb beasts of the world. Man ate the fruit of the tree of knowledge, which set him apart from animals.

This still dominates theoretical thinking of animal behavior. If scientists went purely off of observations, most questions would have this answer: we don't know yet. Instead observations are climbing uphill against preconceived notions.

Studies of consciousness run into the same thing. The distinction between brain and mind goes back to the body/soul distinction from thousands of years of religion and culture. There is no evidence at all to suggest that minds exist apart from brains. Yet the question of "where consciousness comes from" is still asked seriously by people who think of themselves as serious scientists.
Linguistics is about communication. Language is not spoken language. That is the common definition. The absurd comments in this thread are those which confuse communication and linguistics to that involving just sounds.
Well, you lost me when you couldn't bring yourself to fully spell-out "bullshit". What did you say again?

C'mon.

“Never use a big word when a little filthy one will do.”
― Johnny Carson

It's OK, I get it. In today's society it is better to come of in alignment with the cult and neutered than to actually have a pulse.

I'm not 20 years old any more. I don't need to impress anyone. I'll leave carefully written prose to business emails, letters and contracts. If my post offended you, well, I am truly sorry. Sorry because you are choosing to focus on the messenger and not on the issues.
nosh: modern init and service management tools
The widget itself is pretty slick (for the final end-user), and the Chrome extension is probably too much effort on your part to justify building at this point. OAuth helps, but it would only reduce friction for first-time users.
Stop claiming subjective traits on your resume
> I guess we don't have a comparable word for being responsible for the death of half a forest.

"drought, pitch canker, and beetles"? It's not one word, but it's from the original post.

I see you're really worked up but I can't tell who you're trying to fight.
Nice clean code. A couple of places to start looking are probably in keeprunning(). Any file handle issues on repeated runs?

The threads in lines 245-247 feel like they could deadlock or have a race, esp if changes happen nearly simultaneously on both ends, or if a change on one end is received and sync'ed to the other. I'm not sure how git handles multiple writes? Almost wonder if forking might cure the memory leak too or at least make it easier to see (see my other comment of some shell code).
I like this. Reminds me of this site https://www.hamburgermenu.xyz/
> My estimate is "approximately zero"

You do realize there is more to switching to metric than just updating the road signs, right?

Think of all the military and space technology that uses inches.
I don't believe you do for 18F, but you do for the US Digital Service, as its a part (or operates under the authority) of the executive office of the President.
Pull-based load balancing is a generally underrated technique.
Well maybe next time you could read a bit more about the situation, before hauling out the neoclassical big guns on us. Anyway I don't think anyone has suggested that the supply curve for nuts has moved down. You got confused because you made assumptions about that, based on limited information about the supplies of necessary inputs to nut production.
Rational Trigonometry to Universal Geometry (book): PDF now freely available
Do mosquitoes feel pain when you swat them?

Not to say that I disagree with the notion that factory farming is cruel and unnecessary (I did quite a bit of ranching duties in my childhood, all of which were open-pasture). Rather, there's a point where a given human will consider it "cruel" to inflict pain or death upon another living being, and said point is a very subjective one.

I personally draw that line somewhere between the raising of livestock as food and the continuous torture of said livestock as practiced in many larger livestock facilities; that's because I recognize that humans are naturally omnivorous apex predators, and don't subscribe to the belief that there's something fundamentally different between myself eating a cow and my dog eating a cow. Others may draw that line as "vegetarian, but I'll swat a mosquito that's biting me and I might try eating bugs". Still others might even let that mosquito suck freely. Regardless, the position of said point on the scale between "I don't even kill plants; like, everything has a soul, brah" and "HAHAHAHAHA MURDER EVERYTHING! ENDLESS SLAUGHTER! BURN THE EARTH! BURN THE SKIES! SATAN/GARGAMEL 2016! HAHAHAHAHAHAA!" is very subjective, as are the notions of "good" and "evil" that tend to influence such a placement.
I have tinnitus as well, due to stupidly playing in a band for years without wearing ear protection. So I'm quite familiar with the risks. But to clarify, when I say higher volume, I don't mean damagingly high. The benefit of having your internal monologue drowned out happens long before the decibel level becomes dangerous.