skysight-inc/HackerNews huggingface dataset:
Database schema changes can almost always be moved forward in a always safe manner using expand-contract pattern http://martinfowler.com/bliki/ParallelChange.html

As for reducing the risk of damage to the data itself from badly behaved application code, I think the best approach is to design your architecture such that you can't lose important data.

There are various other techniques than can help. I wrote about some of them here http://benjiweber.co.uk/blog/2015/03/21/minimising-the-risk-...

Releasing less frequently actually only makes the problem worse. Infrequent changes are often too big to have a chance of understanding their potential affect on the production system. You're also less likely to immediately know how to respond to a problem.
Sure, I could certainly compress it into a oneliner. I'm mainly focused on trying to make something simple with few moving parts. To that end I did a little more tinkering. Most pleasantly I was able to remove the conditional:

w: *1?("aardvark";"apple";"peanut";"etc") / pick a word
c: {|/w=/:x} / correctly guessed
b: {("_",'w)@'c x} / word with blanks
p: {`0:" > ";*0:`} / prompt for a letter
{~&/c x}{`0:b x; x,p[]}/"__"; `0:w,"\n";
None of these big companies ever do anything useful after their initial product. They just start buying small companies and sucking them into the big shitty company.
From the New Oxford American Dictionary:

http://f.cl.ly/items/0D2y420L2t2t1W3c000I/love.png

• a deep romantic or sexual attachment to someone: it was love at first sight | they were both in love with her | we were slowly falling in love.
Glad to hear you are ok. I am also an advocate of shorter work schedules - it was not my recent incident, but rather having a child that prompted this. Having a child reduced my available hours and made me optimize the time I did have to work - and I found out I was more productive when I used my time carefully, rather than allowing procrastination and working longer hours. To be clear, even with a child my hours were much longer than they should have been (12 hours a day, 7 days a week, vs 15 hour days)
"It’s about stealing something you can make a buck off of. It’s part of a strategy to profit off what American ingenuity creates."

This may be a quote of the assistant attorney general of the U.S. Department of Justice’s national security division which can be easily ignored but the next paragraph just makes it seem like the author wants you to accept the quote as fact.

"A 2013 study estimated that China accounted for as much as 80 percent of the $300 billion in losses sustained by U.S. companies from the theft of intellectual property."

What absolute nonsense. It truly makes this article come across as American propaganda.
AaronSW on income inequality
If you're into food and agtech, we run https://AgFunderNews.com Our weekly newsletter features our top articles and other top external articles we shared on social media. Newsletter goes out to >15,000 people each week with a 30% open rate.
I had the same reaction as you, so I googled it. According to Wikipedia[1] the eruption did indeed take two days, with shocks starting in the morning and ash starting to fall in earnest at 1 p.m., with "pyrocastic flows" beginning in the middle of the night. People were able to escape and be rescued during the afternoon.

[1] https://en.wikipedia.org/wiki/Eruption_of_Mount_Vesuvius_in_...
This is not true, if the person doing the interview is also black. Or are you saying a black interviewer would also be racist against another black person in a suit and a tie? The fact is that race is matter of in-group, out-group thinking, and mentioning it exacerbates the problem because we are persisting the group-think. It's true the problem won't go away if we ignore it, but we should identify behavior and hunt down people who are racist, regardless of their race, and without mentioning their race so as to not keep persisting the grouping problem.
Wikipedia gives 24% for both healthcare and social security for 2014.[1] Total military spending is more complicated but is estimated at 28-38% of the total budget (though no citation).[2] That gives somewhere between 0.98 and 1.33 trillion, so I guess I was off there, but it has been much higher at (estimated) 54% in recent years.

Per capita healthcare spending is similarly estimated at $8,713 for 2014 or $9,146 for 2013 depending on which of those estimates you go with.[3] Presumably that includes total healthcare spending, public and private, but the issue is how much potential savings are there to pay for a UBI (by switching to a more effective healthcare system), so I think the total is relevant still, not just medicare + medicaid.

Your 33% number for SS seems to come from the inclusion of spending on unemployment and labor. The military spending being larger than total discretionary probably comes from inclusion of veteran's benefits and other programs included in with mandatory.

The exact numbers aside, I think the larger point still stands that the money is there - once you start looking at how much money is already being spent it's not hard to imagine getting a few trillion together for a UBI. Political feasibility is another matter, I agree it probably won't happen anytime soon for that reason, but saying it's economically infeasible just seems... wrong.

[1] https://en.wikipedia.org/wiki/File:U.S._Federal_Spending_-_F...

[2] https://en.wikipedia.org/wiki/Military_budget_of_the_United_...

[3] https://en.wikipedia.org/wiki/List_of_countries_by_total_hea...
Rapid CNC Prototyping Process for Smartphones and Tablets
Most motherboards still do this.
Yeah, I loved Everquest. But it was a different time. I was in college, had no job, had no wife, had no kid, and had no social life. I had the time to spend most of my waking hours in the game.

Edit: actually, it sort of was my social life. I played with a group of friends I met online that I had been playing video games with for 4 or so years.
Cool article, but please update code snippets to some consistent codestyle :)
Mary Beard talks about this in her book "Pompeii: The Life of a Roman Town". She points out that not only are there multiple versions of Pliny's letter with different dates, but also:

1) Many of the victims were wearing heavy woolen clothes. Hardly what you would expect on a day in late August in Italy.
2) Shops and restaurants have seasonal foods that are typical of late fall and early winter, not late summer.
3) The latest election ads throughout the town were for an election that took place well after late August
4) A coin was found in such a way that it could not possibly have been dropped by later looters. Currently believed that the earliest the coin could have been minted is late September of 79 (she doesn't give much detail about this).

So yes there is quite a bit of debate about when this happened.
i wish there was a word like schadenfreude that captured that sublime feeling of seeing someone miss the satire in something and pile contempt on it at the same time.
Oh wow! I remember borrowing these from the library when I was a kid! Awesome!
There is a genetic trait called Factor V Leiden which will make you predisposed to blood clots (some tests can reveal if you have it). I am not sure if I have it but it can be a factor outside of diet and exercise. But you don't need my case as a warning - studies have linked sitting to death for at least several years now. How valid they are is up for question, but better safe than sorry. :)
It was on a freeway, but it's true, we were in danger. The point is, if it wasn't a divided freeway he wouldn't dare.
Socat-lite with letsencrypt support
Debuggers are very powerful tools and if they're worth anything, they'll have a learning curve.

For example:

- When debugging multi-threaded code, you can test interlace events by manually pausing executing of certain threads at certain points. I've used this many times to manually reproduce a rare race condition.

- Tweaking a conditional breakpoint at runtime can be easier than rewriting code and re-running.

- Visual Studio has "tracepoints" which are like inserting a puts/printf statement in the code, but allows you to output things you might not easily want to write code to do like the current callstack or function name, e.g. "Print the callstack when I enter this function every 100 times I enter it"

- Poking around in memory can reveal things you wouldn't have thought to output, or is invisible in output, e.g. discovering a BOM in one string and not the other and having that be the cause of a comparison failure or a different path through the code than you think it should be taking.

- Trying to understand control flow when exceptions might be thrown or assertions might be triggered just isn't as easy with puts/print. You're likely to make a bad assumption. Understanding exceptions and how to make your application easy to debug is definitely a skill that begins at coding, not opening the debugger.

If you don't think you "have to learn a debugger" you're missing out on a lot of opportunities to be better at finding bugs.
Except, for some makes, it wouldn't get that far but at least that narrowed down the possibilities.
Interesting 8/10 years ago!
I think he is referring to homeowners insurance. Unlike driving a car, you can legally own a home without homeowners insurance. However, if you finance your home with a mortgage, your lender most likely will require you to have home insurance coverage to protect your home in case of damage caused by unforeseen circumstances (fires or natural disasters).

Last time I checked homeowners insurance prices were something between 0.5-1% of the home value annually. It sounds ridiculous but it does not cover flood, you need separate insurance for that.

Edit: Lender will require this insurance until home is 100% paid off.
I've fluctuated in the range of about 30 or 40 pounds in terms of my weight. It is much harder to motivate once you are in a relationship (that's just the way it goes). But it will go a long way towards making you feel better in other ways, both physically and mentally. And of course, it will help keep you alive. :)
FOIA Request: FBI Files on Ian Murdock
Are you being mean to the person you're talking to? If so, please don't do that here.
So it was an inside job!
Shared hosting is still magnitudes ahead of VPS deploys in terms of numbers, and in those environments it's easier than creating a Gmail account.
That's incredible. Usbourne books including some of those filled my shelves as a kid along with Steve Jackson and Ian Livingston's fighting fantasy series. Nostalgia is cheap these days. I'll be buying some Usbourne for my children soon...
I love this. Makes me want to put my childhood code on github. Thanks!
These are fantastic. Just browsed through the fantasy game book, and the illustrations are lovely. Especially like the comments done as goblins with speech bubbles beside the listings :-)

I missed the days of BASIC that required line numbers, but this reminds me fondly of my first programming class, in QBASIC on old 386 DOS clones
It's true there's a case for having people interact with many cultures and races, but forcing it can be a problem because you will only persist the segregation because you will have to continue to divide people in order to treat some of them in a special way to attempt a fix.

The initial problem is seeing the world as if people are different, and then identifying yourself as part of a group, and then seeing people outside of that group as "others". This is even worse when the categories are inaccurate, and are actually not races, but rather sub-cultures.

We shouldn't be promoting these inaccurate categories. Many "white" people are actually "black", and many "black" people "white". It just so happens that American culture has incorrectly correlated certain physical traits as markers for these sub-cultures, and now in an attempt to fix inequality we have persisted this mistake into government forms and professional business in the name of fixing the inequality, but we're simply promoting this mis-categorization and actually persisting the segregation into the future. There are definitely ways to address racist people and the damage they're causing without using these incorrect labels.
The only thing you really need to know is how to use media queries.

https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queri...

http://www.w3schools.com/css/css_rwd_mediaqueries.asp
I feel like sharing something. It's somewhat a tangent to this article (and isn't special enough to really share as a separate submission or anything) but still related.

For a while, I was working 40+ hours per week at my dayjob and making far less than the median programmer salary in my city. I was paid hourly (so holidays were the worst; no paid time off but not allowed to work), had no benefits, etc.

A lot of articles I read on HN at the time made me feel worse about my situation, because their words of encouragement ("value yourself! demand more! you can't help the people you love if you die!" etc) when filtered through my circumstances ("plead guily to a federal felony" -> immediate permanent disadvantage with any salary or benefits negotiation; you're lucky if anyone, anywhere will even believe they're legally allowed to hire you) made me question whether or not I even valued myself.

I decided that, if the posts on HN and Reddit decrying impostor syndrome and investing time in one's health were at all applicable to me, I clearly must not care if I live or die. So I started downing more and more energy drinks and spending more and more time on side-projects, hoping that one of them would finally become impressive enough to serve as a distraction to prospective employers.

That line of thinking only got derailed when I realized that employment is a sucker's game and consulting is the way to go. None of the messages intended to change my mind had a positive effect, they just made me sad.

All of the "take care of yourself" styled articles made me feel bad but never prompted positive change. The title "Dead Men Write No Code" made me remember the older posts I read and I sort of rolled my eyes expecting the same spiel I've heard a thousand times. I was pleasantly surprised to see a well-written, concise, and on-point warning about symptoms and their possible consequences.

If anyone reading this is in the same sort of situation I was in (working 40+ thankless hours per week and spending all your off-time trying to work on building your own company to get out of your own personal hell), I'm sorry to say I don't have any advice to offer. Every situation is different. Feel free to reach out to me, however, if you need someone to vent to. And if I do have any ideas, I'll let you know.
In the old days of relational databases we had an abstraction layer between actual storage and applications called a query language, decoupling them with functions and views, which were helpful to change the schema independently of the code...
Please learn about "body-weight workouts." Yoga is the original body-weight workout. But there are many others.

You don't need a gym to get a full workout. All I have is a doorway pull-up bar and a yoga mat. I get a full body-weight workout in less than 10 minutes spread over 1 minute breaks through the entire day. And I love long walks.
It's great enough that they've released them, but I love how they've used them as a draw to the page where they present their new/current computing books by presenting both on the same page instead of hiding them away somewhere.
And Firefox. There are probably more instances of SQLite in use than humans on the planet.
And I'm not finding the source code any easier to read. Thank God we moved on from one char variable names.
This is one reason I am inspired by reading about Nelson Mandela. He fought for both equality and forgiveness of his former oppressors. Once apartheid ended in South Africa he fought against the desire from many of the former oppressed to extract revenge. An early example:

"During my lifetime I have dedicated myself to this struggle of the African people. I have fought against white domination, and I have fought against black domination. I have cherished the ideal of a democratic and free society in which all persons live together in harmony and with equal opportunities. It is an ideal which I hope to live for and to achieve. But if needs be, it is an ideal for which I am prepared to die." ~ Nelson Mandela [https://en.wikipedia.org/wiki/I_Am_Prepared_to_Die]

IMHO, this position is more philosophically consistent than what many circles in American academia espouse. As I recall, Mr Mandela had to fight a lot of over-zealous activists in his own party who wanted to implement punishment or retribution to the white apartheid supporters. Though it cost him greatly in terms of discontent and difficulty but stands to me as an example. But it's been widely acclaimed after the fact.
Except make it so a student starves if they don't pass the class. Ask if they are in favor minimum grades then.

The goal is to make the consequences of failure less severe.
I like to use both. Sometimes MDN gives an excellent technical description of something, but W3Schools tends to give a bit more examples, and lets me play with the code.

Once I know how it works, I can look at the technical description and fill in any gaps that W3S had.
Meh, it's an easy situation to get out of though. Especially with a typed language and decent IDE: right-click, "inline function"; check your git status to see what changed, go to those files and remove unused branches (which a decent IDE should hightlight and provide 2-keystroke fixes for). 2 minutes, done.

Grotesquely replicated code is a much more difficult situation to resolve.

I'm guessing the OP primarily uses untyped languages. I'd offer that that is the core of the problem, not the abstractions.
What I think is funny is that he said exactly why in the second paragraph. You make it seem as if you got so pissed off at the first sentence that you immediately hit the reply link without bothering to read what he said. Why not address the reason he stated?
The last big calendar restructuring before the eruption was done by Julius Caesar when he created the Julian Calendar. It brought the calendar back in synch with the seasons.

EDIT: Forgot to say when this reform happened. 46 BCE, to take effect in 45 BCE.
Doesn't have the pascal source?
How wonderful that you know what's best for everybody. Time to write a book.
I think that is important to get out there: those long work hours and, while coding is a brain activity and logically can take place mostly in your brain much faster than you can ever type, advocating long hours behind a computer is not more productive. It really does not have to be. And that is important!
Not sure how this can be levelled at the congestion argument. Presumably Verizon's video service is running from their data centres over their internal pipes, rather than external networks where bandwidth is considerably more expensive and probably more limited.

Anti-competitive, sure, but I think that's about it.

I've always felt conflicted about this here in Australia where different ISPs have been setting up peering agreements to achieve similar situations for years. It works out better for the customers who get the unmetered service but at the expense of competition.
There are no freeloaders in a basic income society
I didn't literally say I will move. I was more coy and diplomatic about it. I just said the market is different, rents are coming down in the neighborhood, it's a great location and apartment and I'd really like to stay here but economic good sense tells me it's reasonable to request lower rent right now, and I think $x is reasonable.
Some tips.

Keep your layouts flexible:
* Avoid specifying widths and especially heights of individual elements unless really necessary. Allow the content to determine dimensions.
* Set percentage based widths on overall containers (columns / grids). Allow these to constrain the dimensions of elements within. (Simplify your page structure as much as possible and don't overuse these.)
* Use max-width to prevent elements from exceeding the dimensions of their containers:
img {max-width: 100%;}
Not really what you're looking for but it's what sprung to mind:

George Orwell's Down and Out in Paris and London. He gives up his bourgeois lifestyle to live among the poor. I'm not sure he started anything at the end though. Besides himself, with a wider perspective of the world.
So people are allowed to have unpopular opinions as long as they don't, you know, tell anyone else about them or anything? Sorry, but that's unacceptable.
I agree that looking it this way comes as un-caring, in-sensitive and negative but thats what it is.
I guess it is by far easier to be a puts debugger than a printf debugger (I'm saying that as someone who prefers printf over a debugger but pry on Ruby over simple puts).

You can get a much longer way with what Ruby lets you do with puts than you would with printf in C/C++.

Like the example with `method(:render).source_location` from the article. You can't do that in C/C++ on a general base.

Or pretty printing a struct is cumbersome. In Ruby you just do `puts obj.inspect` and get a readable representation of the object.
Ratan Tata on how to build a company successfully
I mostly agree with your comment except for
> benefit from ever improving medical technology

As I understand it (not a US citizen) most of this technology comes with a mortgage sized debt if you aren't insured? If so I think this reinforces the GP's case.
I'm gonna take a wild guess and say that they're going to keep going on that guy, possibly with a bit of delay. Running joke over here is that Fremont is basically TableauVille. Or they're to Fremont as Microsoft is to Redmond. Hell, rumor has it that new buildings are being built in Fremont just for their damn expansion right now (take a wild guess if you're in the neighborhood which ones--it's not hard, just look for glass). I doubt even a big dip in share price is gonna quash their thirst for real estate for very long.
For fellow people on HN, if your have not read Infinite Jest I very highly recommend the audiobook version of it. I was not able to get through it reading it as its such a large book but I found the audio version quite enjoyable.
Probably warrants a (2013) tag. While the article is new, the video was published nearly 3 years ago.
It is not the underrepresented that are bigots.

It's the ones who say that certain people must shut up because $GENDER or $RACE who are bigots.

I don't think this describes the majority of reasonable people defending diversity.
This definitely, in addition to the fact that, at least in the U.S., we incorrectly correlate certain physical traits as markers for a certain sub-culture. This is why it's an inaccurate categorization, and by continuously bringing it up in professional settings in the name of "fixing the problem", we're simply persisting the mistake that allows racists to have a framework to continue causing problems.
209 days is "new" to you?

Why does it even matter how old the account is?
The state already provides roads, ensures the safety of our food, and gives us all access to a justice system. What of self-respect? If we want it, we should be able to derive it from being political beings, from being active and engaged members of civic society. While you need a purpose for being to have self-respect, that doesn't have to come from punching a clock.
http://tesloop.com/
Everyone works on a book or project of their choosing? Sounds like a golden age for creativity and culture. Sounds like everyone gets to enjoy the self-actualization currently reserved for a few.

Sounds really nice overall.
animats is John Nagle, who's name you might know from

https://en.wikipedia.org/wiki/Nagle%27s_algorithm