skysight-inc/HackerNews huggingface dataset:
well, the rm example is overly simple on purpose - the only thing that -f is actually going to do that's remotely dangerous is removing files that have the readonly bit set.

Since you originally outlined the requirements as:

Take "rm" as a trivial example - when I say `rm foo.txt`, I want the file to be gone.

then the file should be gone even if "the readonly bit" was set.

This is not only a contrived example, but a bad one, for system management. rm is an interactive command line tool, with a user interface that is meant to keep you from shooting yourself in the foot. rm is polite in that it checks that the file is writable before attempting to remove it and gives a warning. System management tools I would expect to call unlink(2) directly to remove the file, which doesn't have a user-interface, rather than run rm.

However, the system management tool doesn't start with no knowledge of the current state of the system, but rather one that is known (or otherwise discoverable/manageable). And then attempt to transform the system into a target state. They can not be expected to transform any random state into a target state. As such, the result of unlink(2) should be reported, and the operator should have the option of fixing up the corner cases where it is unable to perform as desired. If you've got 100 machines and 99 of them are able to be transformed into the target state by the system management tool and one of them is not, this isn't a deficiency of the system management tool, but most likely a system having diverged in some way. Only the operator can decide if the divergence is something that can/should be handled on a continuous basis, by changing what the tool does (forcing removal of a file that is otherwise unable to be removed, for example), or fixing that system, after investigation.

The other option is to only ever start with a blank slate for each machine and built it from scratch into a known state. If anything diverges, scrap it and start over. This is an acceptable method of attack to keep systems from diverging, but not always the pragmatic one.
Fun fact: An acceptable, albeit dated, spelling of "et cetera" is "&c". Since et cetera literally means "and so forth," you can contract it into "& cetera," or "&c".
I used to get that with other games such as Amplitude on the PS2. I'd close my eyes and my brain could see the game being played with incredible detail. It's happened to me with other games also. I think of it as a type of mental burn in. Goes away after a while.
If only you could morph those old 2Gbs into 4Gbs, into 8Gbs...
If "she lead the team" were in the present tense, it would be a gross foreign-speaker error; no native speaker is going to mess up our vestigial 3sg verb rule.

But as with lose/"loose", I don't think this is a pronunciation change in progress; I think it's just a spelling mistake, by analogy to read/read.
> 5. Keep dependencies out of source control

Am I the only one who doesn't? I don't want to add another step for people checking out my branch. It should just work.
MH370 oxygen deprivation theory
First thought I had as well. In fact, it was the only one I had. I was thinking, "I know what a 2x4 is, and a 2x6 is, a 6x4 is probably a really large beam? But why didn't he call it a 4x6?"

I read through the possible poll answers and realize I was totally missing the question.
Too damn addictive.

Won a few times and still keep picking it up. Now the Tetris dreams are starting; must stop.
Home automation using Node.js, raspberry pi and tinkerforge
Ask HN: What can MtGox customers do now to defend against ID theft?
Re:
http://www.zerohedge.com/news/2014-03-11/isnt-it-ironic-mtgox-hacker-demands-ransom-exchange-users-not-reveal-their-personal-

Now that it seems your MtGox passport scan is being sold, what are some steps to take in order to protect yourself?

What can be done to minimise the prospects of finding out your credit rating has been hijacked, or your webservice accounts hacked using your personal details?
Those people's lives will go down with the next game then whether is FarmCrush, or Angryville, or CandyBirds. It does not matter. So... well... better give the money to a good cause imho.
Sir Tim Berners-Lee: World wide web needs bill of rights
Generals are easy to fire and rarely have direct effect on the day to day operations. A new general may attack today instead of tomorrow, but it will be the mid-ranking officers who determine what set of rape pillage and plunder happen in the aftermath.

It is the same with the CIA. The director may set targets and direct stratagity but it is the untouchable civil servants who run the show. Given the Hall of Mirrors effect, I think it could be possible that the appointed leaders are mere figure-heads just there to take the blame what a job goes bad.
Exactly. This is a deeper problem than commonly appreciated, and the cfengine author has written at length about that. http://markburgess.org/certainty.html
and counter offers!
25 Years of World Wide Web: Amazing WWW facts
For good and bad, the World Wide Web is transforming everything. How it changes the world over the next 25 years really is up to us.
> With my fitness tracker, I want it to run all the time, even offline like a native app. But every day of my workout history will have a URL and I can link my friends to it.

Slowly, slowly, we'll be reinventing web. I can't wait for 2020, when these brand new apps that structure every kind of data and make it uniformly accessible, in a form that makes it easy for automated programs to reason about both content and structure, are going to be all the rage.

I'm actually excited about it. What makes me bitter is the fact that I have no idea what the fuck we were doing wrong in the early 2000s or so, because we should have been there already.

It's easy to find scapegoats like Facebook, tightly clutching private data in poorly-designed, ever-changing access schemes that polarize the WWW, but I'm not entirely convinced they're the only ones to blame.
20 Best Alternatives to Track Time
Neat :) I have that temptation too sometimes, must. not. give. in.

Missed you on my tour of the UK, I really should have thought of you, that was stupid of me. Write-up is here: http://jacquesmattheij.com/journeyman-project-trip-1-united-...
Nice proof of concept (the concept being that sometimes the whole funding thing is a bit difficult to properly understand).
Now, a call to programmers: why the heck there's still no readability-like chrome extension?
After I saw the spritz demo I thought that it would have been immediately consequential...
Steve Jobs Hated The Idea Of A Multi-Button Mouse, Designer Claims
Is it just me, or other people are also not able to get the content of the text while testing these method? Reading is highly non-linear and it is necessary to spend more time on some parts of the sentence than the others. Streaming the words linearly just does not work for me at all.
Demo means "demonstrator". Usually you use it to demonstrate (show) what your product can do. If it doesn't, you show them something that doesn't exist, and it's more of an illusionist show than a real demonstration.
From Europe is easy to notice the difference, random examples: the class actions against tobacco companies are strange from our point of view, or, the other day there was a blog post about somebody losing a member of his family for an illness and he blamed in part a software (it was not the case...), and instead to see a WTF reaction there were plenty of retweets and messages supporting this point of view. Or, even in popular culture like reality shows that are transmitted here, this attitude is constantly present "I did this because of this".

I think you can see it at different levels even on the other side of the medal. I think customer care Americans experience is stellare compared to Europe on average, because Europeans hardly will blame enough the service supplier even when it is the case and this would result in raising the level of service. Apple was one of the first companies to provide US customer service here and at first I and my friends were pretty surprised that this was possible at all.

As with everything I guess this is just a bias and everywhere there are people of all the kinds, but because of culture there are some biases. Like, sicilians can be the most honest often, but surely on average my island exhibits a bias for not being able to stay in line, park the car where it is not possible and so forth. Basically I'm not generalizing.
and some would argue that you place a lot of focus on the artifact (manuels) than on creative thought.
He's right, of course. But even if the "communal decision" is made by the majority of the people online it wouldn't be worth much without all governments officially signing it, too, and/or having a body enforcing it.

Sad as that makes me, I do not see that happening anytime soon if at all.
Yeah and the internet stinks because of the Nigerian Prince scams. And fiat stinks too, because, well, billions worth of smuggled drugs each year in the US alone, human trafficking and who knows what.
I would contest 'better python driver' with SQLAlchemy.
I observe that the linguistic sophistication here is significantly in excess of that of an ordinary HN comment thread.
Am I the only one who isn't totally grasping this 25 years of the Web thing? The Web was "turned on" in 1991, am I right?
Ok, Berners-lee had already been working on it since he had the idea in 1989, but this is like celebrating your birthday 9 months in advance because, you know, that day, your mom and dad...
It'll be interesting to see what happens - if spelling is the same or confused for long enough I suspect the pronunciation will also merge, and then we'll have the difficulty of confused meanings - e.g. lose the hounds vs loose the hounds (a potentially fatal error), but if a word like loose is used infrequently enough, it may simply die out, even if the spelling lives on. I suppose people use loose for lose because they are unaware of the separate meaning and lose can have a long middle vowel, so we might end up with one word spelling: loose, meaning: lose.

Perhaps as a reaction people will start to emphasise the pronunciation difference and they'll drift apart. NB that discussion of pronunciation does depend heavily on where you live - in one area the two might be clearly distinct, and in others almost indistinguishable.

Another example of a common error is the bizarre and illogical it's and its, which I suspect will collapse to its at some point as people can't be bothered with the distinction and the context usually makes it clear.

I loved this article because it pointed out that languages evolve mostly through mistakes or elisions which are common enough to become acceptable, and mistakes of 100 years ago become the accepted usage in future and enter the armoury of grammar pedants as indisputable truths.
When I was in school we were reading 'The Crucible'. One lesson we all took turns to read out loud. One of my peers read the word 'whore' as 'war'. Some of the boys sniggered.

The teacher then needed to describe what a whore was.

I think she handled it quite well in hindsight considering she had a bunch if immature teenagers to deal with.
That all the bots say much the same thing is a bit sloppy. If I had a bot net, I'd add some automated variety to the messages.
Traditional infotainment in decline and how it will be fixed
Glad someone mentioned this.

You cant call for open standards and an international bill of rights whilst bending over for corporate content control.
World Science U is live
Should Big Companies Give Up on Innovation?
renders in mine...
The story mentions later on: "Her settlement money comes in small increments, so it is difficult for her to save up." So she got the 14k even after she refused to honor the contract she signed.
There's an easy alternative that also gets you Fridays off and has the advantage of not getting you laughed at by your CEO.

Take a 20% pay cut in exchange for a four day week.
I may have weaseled out of the problem by using "may" instead of "will" in the new version at https://github.com/hausen/xkcd-clock .

Timekeeping enthusiasts: please clone, fork, and/or submit a pull request. You can now easily change the text to suit your needs.
Submodule can be used when you want to nest a private repository inside of a public one. Only authorized users will be able to fetch from the submodule repository. This can be useful in some cases, such as storing private keys in an otherwise public project.

Also, if you have a very large submodule repository, it won't inflate the size of the repository that contains it.
> The original meaning of agile, the manifesto, was doing it right.

My impression of the original Agile project (C2), from reading their wiki, was that it was an attempt to make their customer feel really bad that they were incapable of lasting a week without changing the requirements.

Also, didn't the project fail? Though, in a way where it actually got partially deployed.
> I think (hope) that we'll see a backlash against merging and simplification.

My guess is that this process makes "room" in the language for bringing in additional words and grammatical constructs. The language will be just as complicated as before, but will feature lots of new things, while old things get tidied up a bit.
In order for any action to justify damages (under public law), one must indicate to the satisfaction of the judge :

1) that action was illegal (violated law, contract provisions, ...)

2) that damages were incurred

3) that there was a causal connection between the action and the damages

It is pretty obvious what happens in most situations. For example if you damage someone without violating the law, you cannot be punished for that (well, not legally).

It is also pretty obvious that if you violate a contract, but it has no consequences for anyone, you can't be punished for this (this is a major difference between our -mostly- canon law and judaic or sharia law, where the state/everyone is responsible to punish you even if no one was bothered by your actions (the state in judaic law, everyone in sharia law, although muslim states are in the process of changing this, because despite allah's "wisdom" the part of sharia where everybody should attack everyone they believe to have broken the law turns out to be massively counterproductive and destructive. There are many such changes, the one I like to remind muslim nutcases of is that sharia specifies the death penalty to any muslim not living under an islamic state (something they thoroughly implemented during the crusades for example), and there's plenty of fatwas of this)

What the judge illustrated is that he judged that condition 2 was not satisfied in this case. There are lots of qualifications though. First, anyone who was damaged was reimbursed (A), not just for the price he would have paid, but on top of that for the resulting damages. I doubt you'd want to use this very often, as it does mean paying damages. Also : this is a very "American" judgement, and on the extreme side even for America. I would expect this not to work on most judges.

Well sure, except that won't apply here since there is ample precedent of courts finding copyright breaches do damage the copyright holder.
But as said in the article it might be a problem with some C libraries that need to be compiled.
Fin: Make your Palm a Gesture Interface
Design for emotion
chock ;-)
I've used both. Notepad++ doesn't give you twisted willow-like hands like emacs and all the meta key love.

I'm now recovering using vim and have a big pinky for escape usage.
Thanks for that. I'm only 18 months behind in my thinking!
well if ti was slow why wouldnt they try to radio. Obviously i don't know anything about airplanes, but one would assume their limits for warning about decompression events will be long before the average crew member will pass out
Which English do you speak?
Hmm, how about "transactional email management"?
For those who haven't had great success with Zethos/Spritz, can give magicscroll.net a try. Another reading tool but very different technology. I've found it quite easy to read books with it for some reason (unfortunately it does not work with PDF or general text content.)

Like try this (click the play button at bottom right to start):

http://www.magicscroll.net/#reader;md5=597e52af574ea413a5886...
Before looking at the full question I started with a timber size. Then thought it might represent an area. Within the context of the full question I suppose it is:

a) An Area or
b) Six, four copies of

but the little automated arithmetic unit at the back of my brain keeps "shouting" 24.
Another new IPv6 transition mechanism?
PHP is a hell of a drug.
Tell HN -- Indian Startup Hiring Techies
Hello HN folks!

We are Exotel (http://exotel.in) trying to build a good cloud telephony solution for Indian SMEs and have over 500 paying customers. We do a lot of cool core infrastructure / distributed-systems work (http://exotel.in/engineering) to make sure that our customers phone lines are up and running all the time (http://status.exotel.in).

Currently our tech stack is built on PHP, Java, Ruby, JS, Node.js and JQuery. We use MySQL, Redis, Cassandra as data stores, ElasticSearch for search and Beanstalkd for queuing.

Looking to hire:

-- Software Engineers (all levels) for our tech/infra and product teams

-- DevOps Engineers

-- FrontEnd Engineer

-- UI Designer

If you are interested in non-tech then we are hiring Sales Associates, Customer Success Managers.

How to apply -- Our careers page (http://exotel.in/about/careers) is best place, I'm at sudheendra@exotel.in happy to answer all your queries.
I don't know, vertex. They were organic traffic, and as I recall they were coming for what seemed like relevant keywords. It's been a while, though.

My current site is a micro-site. I and my wife wrote the material. I hand-designed the layout, hand-coded all the html. As a programmer and a writer, I was pretty excited about the idea of microsites a few years ago. Here was a chance to combine my love of writing and programming to create online magazines around particular topics. I envisioned writing dedicated applications, doing some live updating of relevant information, and so on. It was (and is) a pretty cool idea: a spot between a blog and a dedicated topical site. As far as the guts of how the site works, using internal links, scoring highly on search terms, etc? Read that in an article somewhere. The goal is to create a small spider site around a topic such that people land on one page and see the top 3 or 4 related pages immediately, allowing them to browse tangentially if they're in the wrong spot. There's probably a better way to optimize around that than I did, but I never got around to it. And as far as Adsense, I added on ad unit to pay hosting costs. As I said, once I figured out why folks were visiting the idea was to get rid of it. But Google kept emailing and suggesting I bump it up to three units. Go figure.

And yep, Google killed me because everybody else in the microsite business used content farms, cranking out thousands of pages of crap, loading up with Adsense, flash ads, grabbing emails, and so on.

I still think the microsite idea is a great one, although, you are correct, anything that looks like one is going to get penalized. That's a shame. There's still a lot of potential there. Check out my microsite for books that hackers might like for an idea http://hn-books.com (This is also a good example of a totally-static site that still has a database and lots of interactivity)

In either case, Google's algorithm decided my couple of hundred hours of programming, design, and writing effort wasn't worth it. After horsing around with the idea for a year, losing valuable time, I gave up. As somebody who was not out to game the system, I was collateral damage in the bigger war against crappy content.
Coach Bags 2014 Cheap Sale
iTunes was criticized as a Monopoly, but it frigging revolutionized the music business. Steve Jobs, who first of all was a super music buff if there was one, wanted exactly this. Easy accessibility. He started with compromises (DRMs and so on) and then moved on to make the giants crumble down to the current obviousness of ubiquitous music access.
Ten years later we need something that large and global, but for the movie business. It's harder and Steve's not around to kick movie executives asses anymore, but a service like Popcorn Time is very useful: they show exactly what people want and they should be a ringing bell for the movie industries. That's the way to follow, movie folks: do it or die painfully.
This generalizes and is reinforced even more into words of Germanic origin being automatically considered lower register, while Latin and Greek words being assumed to be higher.

e.g. valediction instead of farewell

https://en.wikipedia.org/wiki/List_of_Germanic_and_Latinate_...
This game feels like life. I plan and make a move. Some pieces move exactly as I had wanted. A bunch of other pieces that I wasn’t looking at, also move. Some of these unexpected results surprise me and make me happy, I even subconsciously take credit for them. Some others, I don’t even notice. It’s okay, there is too much going on.

Sometimes it feels too hard and pointless to plan, so I am pressing the arrows almost randomly. Need a break from thinking and taking responsibility. I just hope that I am going in the “right” direction. Sometimes I do, sometimes I don’t. It’s also hard to tell. Ah well.

Now I’ve been doing pretty well at this for a while, I am getting pretty good I think, I have it all under control. A few moves later, before I even know it …. oops! suddenly it’s all a mess! :(

But there are miracles also. I’ve been in this mess for a bit now and it’s not much fun. It’s slowed down and my heart is not in the right place. Suddenly, a couple of moves later, I am totally back in the game! I don’t know if I know this, but it was barely my doing!

Of course, it’s this elusive goal (of 2048 or 42 or whatever else), it’s the reason why I keep going. I am pretty sure it’ll be really cool once I get there :)
It reminds me of the 6to4 translation for IPv4 connectivity for IPv6 hosts.
Although it's a little off topic, I'm fascinated by how much time 2000s bloggers spent namedropping all the other bloggers (see paragraph 2).

When someone mentions your name all the time, they're trying to sell you something, but what did it mean to mention other people's names all the time? If they're selling the message that they're Spolsky's close personal friend, it's hardly working.

I guess it lets you steal their page views if you summarize their post…
> it seemed like Grunt was more for front-end developers

Grunt is a task runner. It's a general purpose utility, that happens to work well with JavaScript (client and server).

Our team first started using Grunt to concat Scala templates prior to compilation (in an old version of Play with an old JVM). Back then, we noticed that concatenating the Scala files reduced the amount of heap used during compilation. Never did figure out why.

Later, we started to use Grunt to minify and concat our Backbone code.

Currently, we use Grunt for both our server-side Node and client-side Angular.

Server-side we use Grunt to: 1.) Restart Node on file change, 2.) Run JSHint against both server-side and client-side JavaScript, 3.) Set some environment vars prior to starting Node, plus a few other small tasks.

Client-side we use Grunt to: 1.) Create a production build by minifying and concatenating JS, 2.) Minifying and concatenating CSS, Minifying HTML, plus some other minor tasks.

We also use Grunt to run the client and server test suite.

Basically, it's common practice to use Grunt (or Gulp, or another task runner) to assist with both client and server-side JS.
Don't kid yourself, pal. Inability to understand basic human interaction is how we roll here. You haven't diverged from anything around here.

Your joke, on the other hand, Zucked.
Java 8 – Métodos Default y Static en Interfaces
All those nice places I can't afford to go...

...and he stares at a computer screen!