skysight-inc/HackerNews huggingface dataset:
It was daytime. One of our MySQL tables were growing at a rate higher that usual. Easiest way to check the size of the table? Duh, you `cd` into /var/lib/mysql on the database primary to `du -sh` the InnoDB table file...`SHOW TABLE STATUS` requires some arithmetic for true file size.

To this day I have no idea why I typed `rm -fr /var/lib/mysql` instead of `cd`. I blame muscle memory. Good news is MySQL pools its open files. This means the database was operational (but slowly failing opening less used tables) for 15 minutes or so.

We quickly promoted a database slave to primary and took the old one down for backup restore. I went for a teary walk. Shaken.

At the postmortem we concluded we needed more metrics from MySQL to avoid SSHing into servers. We also concluded how error prone one-off commands are. Personally, I'm much more careful nowadays.
2kg, for me, is enough to go from, 'these jeans are too tight' to 'these jeans fit'.

It'll depend on where you carry weight too.
Many years ago I was asked to image a new Samba server as the old one was throwing random errors due to age.

I waited until everyone else had left the building, grabbed the disk out of the old server, stuck it into the shiny new server and proceeded to dd the old disk to the new disk.

Except I got the devices around the wrong way (/dev/sda , /dev/sdb) and proceeded to copy the contents of a blank hard drive over the top of the old server's drive. Didn't notice until the process had finished...

I then discovered the benefit of DR plans the hard way (backups are useless unless you test a restore).

Long story short, I managed to recover most of the files using a variety of disk recovery tools, but I was still in the office the next morning when other people started arriving and began to ask me why, for example, the payroll application couldn't find it's database. I spent the next few days in panicked forensics mode until the company was operating to everyone's satisfaction.

When I left that company years later I had implemented many redundant layers of backups, proper DR plans that I religiously followed, and developed a meticulous habit of testing any commands that needed to be run on any production server.
Off topic: Geez. I wish I had bought a house and had a kid by 26. I'm 31 and I don't know if I'll be able to afford a house for 10 years. My partner is studying to be a primary teacher and she's 3-4 years away from finishing. The housing market in Australia is a bit broken though, and I don't exactly work for Google.

Back on topic: The hardest thing for me is giving up Coke. I love that stuff. I think I would have to lose 20kg to get to a healthy range.
Soda. Fries. Chips. Peanuts. Gummy bears (with pectin instead of gelatin). A carb-heavy diet consisting of pasta/potatoes + X. It's easy to eat unhealthy vegan stuff. But being aware of what you eat and what's in it is very helpful, and if a vegan diet does that for you, then that's great!
but if fox is far right, where does that leave Breitbart? Most would say that Breitbart is more partisan, but you can't just make it "far far right". A scalar with a limit means that as you add new values towards the limit, other values have to shrink towards the root to compensate. Fox was "far right" in 2004 when politics was generally quite centrist, but now that politics has become much more polarised on both sides, fox is still fairly centrist but new, more partisan sources have come along.

Fox's level of partisanship hasn't changed, the environment has, leading Fox's "relative partisanship" to go down.
You'd get symmetric situation if someone sues a biased employer who only hires gingers, and the guy decide to shut shop instead---don't you?
The EU can do what they want, including jumping up and down and yelling 'unconstitutional'. Any devolvement to Europe can be removed, just like the Queen could be - by acts of Parliament.
Do you have anything in place for people who have a no-compete clause and are working at one of your competitors? Asking for a friend.
> Under the 2004 law, the state keeps 75 percent of any penalties won. Attorneys for employers have nicknamed it the “bounty hunter” and “sue your boss” law because of the remaining 25 percent is a reward for the workers who bring the case.

USA has strange habit of attaching money to justice. It comes up with various schemes of making money while exacting justice and gets all surprised while justice becomes way less just in the process.

In european countries fine is for punishing the offender. Victim might get some help but one is not usually directly connected to the other.

I feel that those money making schemes prevent from introducing better solutions because they work to some degree and the damage they do is not visible till later where it is already huge.
He did bomb Muslims BUT not because they were Muslims. Get the difference? Trump has said many times he wants to ban Muslims from the USA, even that Muslim with a MIT PHD.

Only on Google cache since he removed it:

"December 07, 2015 -
​Donald J. Trump Statement on Preventing Muslim Immigration

(New York, NY) December 7th, 2015, -- Donald J. Trump is calling for a total and complete shutdown of Muslims entering the United States until our country's representatives can figure out what is going on. According to Pew Research, among others, there is great hatred towards Americans by large segments of the Muslim population. Most recently, a poll from the Center for Security Policy released data showing "25% of those polled agreed that violence against Americans here in the United States is justified as a part of the global jihad" and 51% of those polled, "agreed that Muslims in America should have the choice of being governed according to Shariah." Shariah authorizes such atrocities as murder against non-believers who won't convert, beheadings and more unthinkable acts that pose great harm to Americans, especially women.

Mr. Trump stated, "Without looking at the various polling data, it is obvious to anybody the hatred is beyond comprehension. Where this hatred comes from and why we will have to determine. Until we are able to determine and understand this problem and the dangerous threat it poses, our country cannot be the victims of horrendous attacks by people that believe only in Jihad, and have no sense of reason or respect for human life. If I win the election for President, we are going to Make America Great Again." - Donald J. Trump"
Related Cloudflare blog post: https://blog.cloudflare.com/protecting-everyone-from-wordpre...
A long time ago, working for a BBS, I wrote a nice interactive utility to review and change user configurations. I named it uc ("user configure"). After some testing, I installed it in /usr/local/bin.

Time to use it!

# uc /bbs/users/*

Nothing happens. It needs some time to read all users' configuration files before displaying the user interface, but it's taking too long. What's happening? I decide to interrupt it. Shortly after, we find out all user accounts starting with A, B, and C are wiped out.

Apparently, unbeknown to me, somebody had previously written a utility to delete user accounts. It was named uc (user clear), and was installed in /usr/bin. Fortunately we had fairly recent backups.

That day I learned about hash -r.
It's not clear whether Carmack was actually the one to get that fine, sounds like it was Iribe.
While I don't agree with lineindc, they are clearly talking about unit costs or something else that measures price per productivity.
Yes, more than that: if robot cars could be made incapable of hitting pedestrians, then children might start to roam again. It would be a marvellous unintended consequence...
deadlifting heavy weights is the single best way to avoid lower back pain
Their whole thing about "military grade aluminum" makes me laugh every time. I associate it with the quote about the Saturn V being 2 million parts made by the lowest bidder on a government contract.

I don't want military grade anything. I want something that will last me 20 years without hesitation.
psychological has problems reproducing results - How many independent studies debunked it?
Something I don't get about this is that it seems to be largely just a web view - what are all those classes doing?
fines aren't a great way to enforce justice either in my opinion, because they incentivise finding perpetrators where there aren't any, and being heavy-handed with enforcement of the law in order to bring additional funds into the courts and police departments.
My guess as an American is that it incentivizes victims to step forward, if in a somewhat self-serving way. I wouldn't be surprised if you told an average blue collar American that you won a class action lawsuit against a former employer, of if you received a court settlement in the past against the FOO company, that they'd expect you to be quite rich, or at least to have received a large amount of dough. I suspect they would have no idea that the real winners were in fact the lawyers on both sides.
It's not so much that it's "nicer". It's that it's simpler. In his "Simple Made Easy" talk, Rich Hickey quotes Dijkstra saying "Simplicity is a prerequisite for reliability".

Here's some more grist to the mill, currently on the HN front page:

https://news.ycombinator.com/item?id=13547317
It's called due diligence. The fact that Facebook didn't do it was a factor in the trial.
Agreed in general. (As a small counterpoint: I helped a beginner get familiar with Linux. We tried Ubuntu first, and she hated it. She switched to Arch and has been happy ever since.)
Mobiloitte: Appcelerator Titanium Mobile Apps Development Company India
> HTTP/1.1 conforming servers are required to support pipelining. This does not mean that servers are required to pipeline responses, but that they are required to not fail if a client chooses to pipeline requests.

http://www-archive.mozilla.org/projects/netlib/http/pipelini...

8.1.2.2 that you quoted [RFC2616] continues:

> A server MUST send its responses to those requests in the same order that the requests were received.
I agree with your assertion but suggest you misunderstood mine.

Well meaning politicians in liberal democracies would do well to consider carefully before crossing the line between encouragement and coercion when trying to modify individuals behaviour "for their own good".

Health facism can include appealing arguments like "the State pays for your healthcare so we can punish you for risky bahviour".

Australia's TGA today rejected an application to permit smokers to legally purchase a safer source of nicotine (e-liquid for vaping), largely due to pressure from the same groups patting themselves on the back for what a great job they've done making life harder for smokers.
Trying to grasp the concepts here. But if I understand pipelining correctly, it's a great boost for a single browser making a million requests but won't really help you in dealing with a million browsers firing one request each.

If that is correctly understood then the benchmark is highly artificial.

But yeah, feel free to correct me if I got it wrong.
Though I agree with your point I suspect Uber's driver numbers to be "inflated". Not in the literal sense of the word but in the Silicon Valley Venture Capital sense of the word.
Contractors are one of the types of workers not covered by the NLRA, so there are a variety of protections that do not include them.

I'd also add that Uber's software contains many restrictions on how drivers must perform, how frequently and quickly they must respond, etc. It's not without restrictions just because they set their own hours.
if you have world-class tech guys working for you then don't support them, just tie them up in contracts, and when they leave and become successful you can sue them to get 25% of whatever they made, at zero risk to you.

He was free to not let id get bought out or to take a lower paying offering elsewhere.
I usually go for green on black in my terminals.
Probably because those devs didn't found another way of getting the community to pay for their bills.
Not sure how this is in other countries, but here (Germany) canned tomatoes contain: tomatoes, tomato juice, citric acid. Why would there be added sugar and salt?
> Suing because their videos are not "disabled-friendly"? What does that even mean?

Sorry, bad wording on my part (had other things on my mind and wasn't Englishing properly). Meant to say the content was not accessible; see edit.
I'm not sure you can say that most major technological developments come out of Silicon Valley. Perhaps the most obviously world-changing ones do but the majority of technological development still happens outside of Silicon Valley. Even if you just look at the software industry, where Silicon Valley clearly is leading, the majority of software is still developed outside of Silicon Valley. When considering other industries and disciplines this becomes even more obvious.

Regarding the entrepreneurial itch the same thing has been said about the US in general in the past. People elsewhere are just as smart and can be just as entrepreneurially-minded it's often just that the environment doesn't easily accommodate this drive (e.g. lack of adequate infrastructure or conditions not as amenable to entrepreneurship).

However, with the world becoming ever more connected and networked there is no good reason (other than VCs with ulterior motives as mentioned in the other comments) why people from different parts of the world shouldn't collaborate on new projects and ideas. In fact, this stubborn insistence on location might exactly be what's holding further innovation and entrepreneurship back because it excludes a huge number of people from taking part.
I was picking on inaccurate headline. I hate inaccurate headlines - most people don't read all articles and thus end up believing nonsense when a headline is invalidated by its article.

RE this settlement being a scam - yeah, I feel the same way.
> $ sudo chmod -R 755 /usr/local/bin

I can't see any downside at a glance but err on the side of caution. Don't make assumptions about someone else's device.

Others please correct me if I'm mistaken but a better one would be

chmod +x /usr/local/bin/thaum
> Now think about the millions of kids across the country: what are the odds that in a year, none of them will make a fatal mistake while crossing a street?

What price a life? What else would you block to save a life? Pen lids? Swimming pools? Marshmallows?

> if they make even a small mistake, they can die. In what universe is that reasonable?

This universe. It is nature's way. Nature is unemotionally brutal, and cares not for a slip-up. We just try to insulate ourselves from its brutality.

Edit to reply to Tullius (I've hit my comment limit):
The whole origin of this discussion is the hit to quality of life that losing the 'right to roam' has given. Also, while pen lids and marshmallows are outliers, swimming pool deaths aren't - between 1 and 4yo, drowning is the leading cause of death in the US, and drowning is up there with traffic accidents up until the teen years.
Maybe try to get out of Sydney or Melbourne where its most broken. But yeah crazy system that rewards the rich massively.
The about section says that it's not a CSS framework, but it seems that it is. If you mean it's better than other CSS frameworks, you should just say so.
Who Will Pay for San Francisco's Tilting, Sinking Millennium Tower?
Imagine the amount of human resources stolen by the USA from all those countries, and the subsequent economic resources (taxes, jobs, international commercial balances) capted by the USA, instead of the original countries!

Clearly, we should ban all migration immediately, and perhaps even give back all those companies to the countries of their founders!
I spent months getting my MSDN license personally assigned so I could get a copy at home for playing around in. So bitter...

(it's awesome)
> He lost the popular vote by 3 million votes

Maybe if it mattered he would have campaigned differently. You can't judge on a metric that isn't the target.

> His disapproval rating

opinion polls?

> I can't find any evidence that there is some silent majority supporting him

He won the election...
Consider the tone of my remark about what we call it.
that might sound great, but what about people who want to accept the trade-off that being a contractor provides? You waive your employee rights (and take up a B2B contract instead) in exchange for receiving a much larger share of your total cost of employment.

It's not like HMRC misses out on tax under this arrangement, as the contractor's business pays employer taxes (plus any corp tax from cap gains) and the contractor pays their employee taxes.
Not sure whether it does, but the extra information probably doesn't hurt.

Some people suggest taking a picture of everything you eat, too. Forces you to stop and take the picture _before_ --- one can procrastinate on recording calorie entries in a journal, but you can't procrastinate on the picture.
You are downvoted because you are incorrect. The UK Parliament can decide to adhere to EU law, and just as easily take that away. Parliamentary sovereignty which includes the inability to bind or restrict any future Parliament, is the foundation of UK constitutional law - http://www.parliament.uk/about/how/sovereignty/
The coolest windmill animation
And Flash Ads were easy to turn off instead of the pile of workarounds we have to use nowadays with JavaScript ads.
> Losing and maintaining weight is hard, and I agree with Michał that there are no quick and easy solutions.

Actually, nicotine patches might make the whole endeavour quite easier (if your body can take them)? Stimulants tend to depress your appetite.

Caffeine also works; something extra in tea and coffee (perhaps the bitterness?) seems to work beyond that.

Of course, easier doesn't mean easy.
Working with VRS and harddisks of 20Mb ( that was top of the bill in those days) With the disk came a program called cd.exe and we thought it was for checkDisk, it wasnt. It was cleanDisk or Cleardisk. A quick format was done. Spent 24 hours manually restoring all the files on the disk.
Here in the UK many government agencies have investigation and enforcement responsibilities and personnel, but they are 'civilians'. There just isn't any expectation that these people are ever likely to get into a situation where they might need to be armed or ever even encounter someone who is armed. If they got into a potentially dangerous situation they'd run a mile and call the police.

The situation is a bit different in some places in continental Europe. Building security at several offices I visited in Italy were armed and when I first encountered that I found that quite shocking, but firearms are generally more available and of course they have a particular problem with organized crime.
Transparency is not a substitute for competency. Both are important, but I'll take the latter every time.
You can run a completely unscientific experiment yourself: take a really large text file, or just use `yes`, and time its full output on several different terminals.

yes | head -n 1000000 > two_megs.txt
time cat two_megs.txt

You will definitely see a difference in the time it takes to complete or a libvte-based terminal, xterm, urvxt, roxterm, etc.

OTOH I can google up posts saying that pt shows good results in comparisons like that, apparently using a TTF font. Hopefully the bitmap font performance problem is not due to the general design, but a regression in a special case.
Show HN: HypaType – shorthand for your keyboard
What reasons are there not to use tmux over screen these days?
Are they offering anything on the site for people who want CS education? From clicking around a bit it seemed like it was focused entirely on people teaching and learning in physical classrooms.

I was pretty excited at first, thinking this was something like a Google-sponsored version of EdX or OpenCourseware that was laser focused on CS.
in the UK, when government agencies need to enforce a law under their purview, they defer to the court system and bring in a public prosecutor. This seems more sensible to me.
I would like you to make an AMA or a blog post about your story with details. It is pretty inspiring.
He makes capital. Capital is a resource that you need to run, say, a software company. Makers don't usually go too far without it. And they, makers, are the ones who put their creations on the market, for good reason.
> IMO if a society treats people like responsible adults they'll rise up to the task.

Like passing anti-minaret laws?

Societies and culture are more complex than you make it sound.
Is there anywhere else that has the US model? I worked on a UK university campus for a few years and I don't think they had any security guards (certainly I never met any and I was in and out of buildings at all hours) let alone armed police!
I would like to go with green on black just for hacker street-cred, but how does this work with colors? The normal color set seems to be geared towards black/white or white/black as base colors.
I do the same.

Only IE, Chrome and FF and their mobile versions are relevant on my daily workflow when working on web projects.

Then I get hold of one of our pool Macs and iDevices and check Safari for a few hours.
And there's http://programming-journal.org/feed.xml
Some of the literally are their own municipalities.

Two examples: The University of Notre Dame is in Notre Dame, Indiana, which happens to be surrounded by South Bend, Indiana. Same with Stanford... which is technically in Stanford, California.
I have tried both. VS Code lacks too many features still that are necessary for dealing with C# comfortably, while Rider is still immature (and isn't free).
* A strong back is less prone to injury.

* Building muscle mass while you're young helps you stay mobile instead of becoming frail when you're old

* It feels nice to be able to lift heavy stuff.
As a 27 year old Australian, I know how you feel. I will likely never own a house, especially with the Liberal Party actively pushing house prices as high as possible. They want us renting forever, so the rich get richer and the poor get poorer.

I'm glad I didn't have a kid last year though. Would've made getting that house a whole lot harder, and I've still got plenty of living and travel and women to do!

As for not exactly working for Google... I have a useless IT degree so I know what you mean. Nothing exciting is going on here. There's no real tech industry. CTRL-F the 'who's hiring' thread from earlier - two results for Melbourne, 167 for San Francisco. I'm trying to start my own business because screw working for some accounting firm.

As for the Coke... I'm gonna assume you mean the drink, since if it was the drug you'd probably have no trouble with losing weight (and not capitalize it).

A few years ago I switched to sugar free softdrink to lose weight. It worked wonders, although I did also count food calories and exercise. But it was a valuable part of losing 30Kg. Going to Coke Zero was the easiest change I made.

However, sugar-free soft drink still has acid that rots your teeth, so I've given even that up as of about two weeks ago. And you know what? It was surprisingly easy. I thought it'd be impossible, but after I got the bad news from my dentist I just started drinking water, and it's just... not that hard. I just drink when I'm thirsty and then I don't crave a sweet drink anymore. The caffeine addiction though? Well, I have still had a little coffee... but you can have caffeine pills or tea or plain coffee for that, and not all the sugar. Even sugar WITH coffee is nothing compared to how much is in Coke.
Extraordinary Collaboration [podcast]
Scaling startup culture
Only because you have the luxury of refusing.
I've always found this bizarre too, but then all alcohol is prohibited until 21 quite unlike other places.
I guess someone has to enforce that, too ?