skysight-inc/HackerNews huggingface dataset:
I do this also. I have no idea why people go to the gym. You naturally increase your strength by moving your body around. No excuses for not having time to go to the gym because you can fit it in any time. Also, the important thing Convict Conditioning emphasizes is that it is a way of life and not just a quick get strong program. You can't just get strong in a few months and expect to stay that way forever. If you progressively work your way up from simple exercises with the mindset that you'll be doing this forever, regardless of moving or changing gyms or spending more time at the office or whatever, you will get strong.
I prefer using the vim-trailing-whitespace plugin and fixing it manually: https://github.com/bronson/vim-trailing-whitespace
Isn't it better to have them fire you than to quit outright? I think a future employer would prefer to see "fired because I refused to sign a two year non-compete" than to see "quit because I didn't like how management was acting." The latter is more ambiguous to interpret.

Personally, I would treat it as a salary negotiation and ask for "garden-leave." See http://www.employmentlawgroup.net/Articles/ROswald/Defending... : "Before signing a non-compete agreement, an employee should request that the employer include a “garden-leave” provision in the non-compete. A garden- leave clause requires the employer to continue paying the former employee her salary and benefits in exchange for the employee’s agreement not to compete with the employer. This arrangement benefits both the employer and the employee because it gives employers necessary protection against unfair competition yet ensures that employees are financially secure during the non-compete period. While Virginia courts have not yet addressed the enforceability of a garden-leave provision, other courts have held that a former employee is entitled to garden-leave pay where she is unable to find new employment because of a non-compete."

The Wikipedia entry on non-competes may be helpful: http://en.wikipedia.org/wiki/Non-compete_clause
Heroku, Mailgun, MongoHQ, Cloudkick, Parse, AeroFS, DotCloud, Vidyard, AppHarbor, Mixpanel, Cloudant, PagerDuty (we like this type of company).
in my 10-years old project, removing all trailing whitespace would produce a 1000+ lines commit, and make many contributors' lives harder.

so, thanks, but I'll keep my whitespace.
Keep in mind that Gandi includes 1 free SSL cert with every domain name. Per year.
Made in America: Trend against outsourcing brings jobs back from China
Driving out of a deep squat is always the hardest part for me. I find it just requires so much more willpower than a press or the like.

It probably also requires recruiting more muscles at the same time and coordinating them all, and more effort to keep your balance (recruiting even more small muscles), which adds to the complexity of the exercise.
Point taken; I'll keep this in mind in future examples. I find it extremely tempting to write JavaScript as compact as possible, sometimes at the expense of readability. Writing pedagogical code requires a slightly different mindset.
I see a pretty big schlep involved in our business (http://www.tagstand.com YCS11). Fulfillment is an absolute pain in the ass.

The closest thing that comes close to solving it is Amazon's fulfillment services (http://www.amazonservices.com/content/fulfillment-by-amazon....), but it doesn't quite work and is US only.

A hard problem to solve indeed (and one we've discussed).
Bill Gates Is Better than Batman
If you aren't from the US don't even bother.
We're working on fixing that part.
The biggest painpoint for me was the fact that Paypal requires you to route your customers to their domain. Stripe lets you keep them on your site.
"why wouldn't US citizens be able to be extradited to Thailand on charges of disrespecting the king or to China for undermining the government by being critical of it?"

This sounds like a clever point, but really isn't. Extradition requires that the crime is also a crime under the local laws. Which is why Swiss Bankers would never be extradited to the US for tax evasion, and why Americans would never be extradited to Thailand for making fun on the King.

I don't think copyright infringement should warrant extradition, but I don't have a good reason why I hold that belief.
One of the reasons that I like stripe more is that they give you much more granular control ove the user experience. Users on your site never need to know that you are using stripe to process payments. Things just work. Also: PayPal customer service is a joke, they will freeze your account etc... etc...
I hadn't heard that, thanks. That's kind of a full-circle moment then, given that transactional memory started out as a hardware proposal!
>Standard barbells can't handle more than 230 lbs safely.

Did you get a hollow bar or something? I regularly deadlift 350# on my 6 foot standard bar with no problems. And I haven't seen any claims about safety issues elsewhere. If you actually look at the bars, the central section when the maximum loading is is the same diameter on standard and Olympic bars.
It's too bad that government / regulatory boundaries can't be overcome as easily :(. But when they can be overcome, the solutions are all that much more valuable and defensible.
Parliament does have the power to sack the monarch; the last time this happened was in 1689.
He comes so close to spelling out some ideas he wants people to do, but for some reason files them under "What you can't say".
Show HN: calling you from abroad at their local rates
White House Strangles SOPA, Citing Censorship, Security Concerns
One of the things that I have noticed about all of your examples is that they are all tools for developers. Do you have any examples of companies that solve real problems for the general consumer?
If you are referring to the seed cleaner, his name is Moe Parr.
Aria2 - awesome command line downloader
Sure. But he asked for examples of companies working on plumbing.
This is pretty much chicken and egg problem.
There is a huge schlep blindess in world of VCs, advisors, incubators, etc. So many entrepreneurs are actively discouraged to do things they want and to solve the real hard problems (the most common theme is: because there is a big company XYZ doing something kinda similar like that).
"The point is that any employee of Google can access such data."

This is just untrue. Only a handful of people at Google have access to each set of data (e-mail, search, etc.), and their access is heavily monitored and restricted. I assure you not every Google employee has access to the kind of data you're worried about.
MessagePack looks quite interesting (http://msgpack.org/) and seems to have quite a lot of binding (I don't the support level on each one though)
Dropbox, Airbnb
I think a lot of us are clamoring for an alternative to Gmail that also happens to be placed outside the (immediate) jurisdiction of the United States.

It's obvious people want it, but mere mortals shirk from the prospect of securing it.
I never thought I'd see the day where I'd become embarrassed of my country, but we're moving perilously close to that, in more ways than one.
Or LZ4.
http://code.google.com/p/lz4/
http://fastcompression.blogspot.com/2011/05/lz4-explained.ht...

Atm snappy seems a bit more mature, though.
This is the money quote:

"A company is defined by the schleps it will undertake. And schleps should be dealt with the same way you'd deal with a cold swimming pool: just jump in."

It also helps to think of things like "making deals with banks", which can initially seem scary, in terms of the basic human actions they really stand for: "talking to a lot of people who work for banks". To me at least, that is both less boring and less scary.
I think Dropbox is part of that list. Hey - there were file sharing solutions from big companies (AOL, Microsoft, etc.) but they were all crappy.
Would the various AWS services count as the biggest, by far? Not a startup, but fits the definition.
Is there any equivalent of the robots.txt standard for public code repositories? Being able to opt-in to certain bots might be helpful (opt-out being the default, of course).
hooray! (i'm an investor)
Ender's Game (book review)
Sorry, the idea that people can be extradited for providing directions to websites that enable you to break copy-write, but not say creating a gun which is actually used to kill someone is ridiculous.
Well some European countries have had use the European arrest people for sealing a sheep in poland.
I should clarify that command-s is the save command. My macro overrides the standard behavior.
you actually forgot the most important mode that aria2 supports: the daemon mode with RPC interface, and aria2 can add new jobs to that daemon.

thanks anyway, I was looking for such utility since awhile.
so if a murderer or rapist managed to leave the US would you still say so?
Dreamhost suckered me that way. A few years ago they offered a limited time special anniversary discount (only 11 days left!!), however, the anniversary sale was still on months later and there were only 11 days left!!

I will never, ever use them again for doing that to me.
It's strange how the quoting trick seems to work, even when double quotes appear in in a variable. For example:

Ives ~ $ FN='"a b"'
Ives ~ $ if [ "$FN" = '"a b"' ]; then echo "Does not matter"; fi
Does not matter

Still works fine, so clearly something more than simple variable expansion is going on here. It seems like the end-of-literal-string matching is performed before variable expansion.
I don't agree with the original author that this kind of superficial beauty is the best indicator of a lack of code quality. However, I like to use the following slightly devil's advocate-y argument that readability usually matters more than just about any other property of code, including correctness and good performance.

(In the absence of any standard definitions, let us take "readability" to mean "ease of extracting useful information from the code" and "maintainability" to mean "ease of making useful changes to the code".)

First, observe that most software projects are developed over an extended period and evolve over time. As a basic approximation, assume 75% of development time on such projects is spent performing maintenance on existing code. Assume also that half of that maintenance time is spent understanding that existing code.

Now, even if the code today has positive attributes such as correctness and good performance, those properties will only be sustained if the code's maintainability is good, because code is typically changed several times after it is originally written and if it is too difficult to make useful changes during maintenance then quality and efficiency will be reduced. Moreover, given the proportion of maintenance time spent on program comprehension, good readability is a necessary (though not necessarily sufficient) condition for good maintainability.

Thus, readability is paramount, because without it you can't have good maintainability, and without that you won't sustain any other desirable properties in the long term even if your code has them today.

The exception is when future maintenance of the code is low priority or irrelevant, for example if you're about to ship something that can't easily be changed once it's out the door, at which point obviously you care greatly about things like correctness and performance today.

The above argument doesn't say anything about whether "superficial beauty" actually affects readability as I have defined it. However, it would not be unreasonable to guess that it does, given that good visual design and typography have been shown to affect comprehension and reading speed under many different conditions. While I know of no research addressing the general influence of cosmetic presentation on bug count, there has certainly been research done into more specific questions. For example, in one study, using indents of 2-4 spaces measurably improved program comprehension relative to using either no indentation or indenting by 6 spaces (even though subjectively some programmers preferred the larger indent).

I haven't tried to present this as a rigorous argument with sources because I'm not sure the detailed statistics really affect the general gist of what I'm saying anyway, but FWIW all of the assumptions and figures I've chosen are based on extensive personal study of resarch literature, so they're definitely a reasonable starting point.
This is like contacting the IRS for assistance with your tax bill.
WHY CAN'T PEOPLE KEEP THEIR GYM PROMISES?
FOR THE SAME REASON CONGRESS CAN'T PASS DEFICIT REDUCTION.

Congress doesn't have the proper incentives to reduce the deficit. People do have good incentives to go to the gym. (Coincidentally, I just got back from the gym. It feels really good.)
Instant-runoff is a terrible voting system and should never be used, see http://zesty.ca/voting/sim/ . Approval voting is simpler and better. Condorcet is best except that it is somewhat complicated.
Meet your Brain  (Christmas Lectures 2011)
Now? Criminal copyright infringement possibly lead to prison time since long before the interwebs existed.
So before you say/publish anything in the internet you should read the laws of every country in the world? That is just plain nonsense.
Simple/BankSimple, maybe :p.
also a web interface for controlling your downloads: http://sourceforge.net/projects/aria2web/
I'm actually shocked at how many places accept the trust chain of my free SSL certificate from Gandi. Some browsers refuse my company's very expensive wildcard certificate from GoDaddy saying it's not trusted but trust mine from Gandi!
It's hard to imagine Amazon offering specialized services for a class of products such as pre-programming NFC stickers, so I'd say you are safe from them.

A minor typo on your site:"If you are ordering NFC tags in bulk, need stickers pre-programmed..."
"Thus far Google’s attempts [to coerce Android carriers and manufacturers to prioritize OS upgrades] have been an ignominious failure. Well, “fail fast” has always been their motto, but I sure hope they get it right the next time. Me, every other Android app developer … and every other Android user. The latter group isn’t missing out on anything huge, yet; iOS isn’t that far ahead."

I'm not so sure, I think it'd be hard to argue that iOS 5 isn't far ahead of Cupcake (Android v1.5).

The iPhone 3GS was released 31 months a go. It can run the latest version of iOS and many iPhone 3GSes already do. In fact, 66% of all iPhones have the latest version of iOS installed [1].

Are there any Android phones from that time that have the latest version, Ice Cream Sandwich (v4.0), installed? How many even have Gingerbread (v2.3), which was released more than a year a go? In June of 2009, the most recent version of Android was Cupcake (v1.5); I'd wager that many Android phones have never been updated since.

[1] http://www.readwriteweb.com/mobile/2012/01/more-than-66-of-u...
That 'supercompensation peak' is pure soft science, but the overall message is dead on: if you're at the gym, act like it. It boggles the mind to see people my age baffled at their inability to lose weight when their cardio involves reading a magazine while on a stationary bike and their weightlifting involves bicep curls.
Wawa (covenience store that also sold sandwiches like subway) was using touch screens for ordering since at least 03 or 04. It was great and I've wanted to see it used everywhere since then, I agree that it's surprising it's not already widespread.
How restaurants test dishes
Product fulfillment is hard but doesn't have to be a pain. There are plenty of very sophisticated 3PL warehouses that can do any type of fulfillment you need. At my last job I managed an e-commerce business and our process was so streamlined that we'd never actually touch our products. They were delivered from production directly to the 3PL fulfillment warehouses where the items were unpacked and stored. When the orders came in items were packed up, and shipped out, including international delivery. When items were sent out, we got the tracking numbers for the packages back so we could send customers e-mails (again all automated).

Some of the newer operations have staff on site that has electronics expertise and offer troubleshooting of arriving items, etc. It seems that having them flash NFC stickers shouldn't be soo bad to teach them (but maybe expensive).
Why is it too late to be Stripe?
<rant>
I hereby demand that all US citizens that violated the law of any other country to be allow to be extradited into said country.

And also congratulation to "great" Britain to once again confirm that it is nothing more than the US' lap dog.
</rant>
The title of the article is "Writing Robust Bash Shell Scripts", which differs from the title of the HN post.
Why Did I Fall in Love with Play Framework?
I love the "barbershop workout" analogy!

The original "Fuckarounditis" article on Leangains: http://www.leangains.com/2011/09/fuckarounditis.html
Weekly Roundup: Libraries
Game servers are never going to be anything other than "high concurrency with local state on one machine", due to their intersecting requirements of low latency, authority, high computational demands, and relative indifference to uptime.

Relevantly, CCP say the idea of EVE is "incontheivable" without Stackless Python[0], which doesn't have STM, but does go in a similar direction (co-operative multitasking) to solve the same problem.

[0] http://www.slideshare.net/Arbow/stackless-python-in-eve
Leanpub (self-publishing in-progress ebooks)

[disclaimer: my startup]
This sounds like a clever point, but really isn't. Extradition requires that the crime is also a crime under the local laws.

The argument is being made (quite rightly I think) is that what he did was not illegal under British law.

So perhaps it is a good comparison :)
Because there's already a Stripe. Doesn't mean you couldn't start a company to do what Stripe does, but it'd be hard, since people would probably be saying, "Isn't that what Stripe does?"
That point ignores that in the UK he would receive a reasonable fine, whereas in the US he will possibly be fined $150.000 per infringement or face a prison sentence.
“The average Chinese worker is about a quarter as productive as the average U.S. worker.”

This statement could use a bit of elaboration.
I second this experience, and "Lovecraftian" is indeed an excellent way to describe it. It's not just that the process was difficult, it's that my confidence dwindled through every strange and baffling step.

Since you mentioned paying "a few dollars" to Namecheap, can you comment on the feasibility of their $8.95 "PositiveSSL" certificate? ( http://www.namecheap.com/ssl-certificates/comodo.aspx )
Definitely agree that working out should be a habit, must like most other productive (but initially unattractive) activities in our lives. Congrats on your awesome progress!

You are much like myself in that we both seem to have strong lower bodies and relatively weaker upper bodies :P

>You do not need to be an expert, or know how to lift to do the program.

You don't have to be an expert, but it's crucial to have regular form checks on the lifts. Nothing is more depressing than being sidelined for several weeks because of bad squat form leading to an injury!
Why did you change the title of the post? The actual title according to the HTML is "Writing Robust Bash Shell Scripts" and your title is "Writing robust shell scripts"/
Is it valid to compare the "fragmented Android OS means writing code for old versions problem" to the browser fragmentation issues we've been dealing with on the web for so long? I can't really answer this as I haven't written any Android code.

If that is a valid comparison then perhaps building a library to abstract away the OS differences (like e.g. jQuery) is a big opportunity for someone. On the other hand maybe there are some features that are impossible to emulate on older platforms, or there are orthogonal features that can't be abstracted away.
Is that supposed to be a bad thing? The IRS provides amazing tax advice -- on the phone, for free -- ask any question and they'll give a detailed answer, point you to the exact parts of the tax code that answer your question, and send you a copy of the documentation if you want.
Its worth to mention that their certificates cannot be used to secure a Java web service because their CA is not included in Java's cert bundle. I had to learn this when I tried to callout to a web service (with a startcom cert) from Salesforce.

Also their certs are only free as long as you don't need to revoke it.
SOPA is bad.

Personally I do not understand why this gets so much more attention than the military spending act, which allows for indefinite detention on terrorist suspicion. And that includes US citizens.
Not at this incubator.
I disagree completely. Stripe is the only one so far who doesn't suck. There's room for more, and plenty of room for differentiation. Sure, stripe.com set the bar and has first mover advantage etc., but that doesn't mean they now own the market. Not at all.
I'm with Gandi and didn't actually realise I already had this facility under my nose. Thanks for the information!
I find online shopping for a lot of things to be really tedious (when you don't exactly know what to buy). That's why I'm working on a shopping search engine to make finding the right products much faster and easier. But PG dismissed my idea as a shopping guide that no one needs.

Almost every new shopping/ecommerce startup is some clone of Pinterest or a Q&A site. Those are very attractive ideas, but I believe I'm working on the real schlep, which involves combing product feeds, crawling for furniture photos, etc. and making life for the average Joe easier.

What do you think?
That's not how central tendency works. The average position converges to a normal.
The CPS != "the crown" (at least not today). The CPS is the UK equivalent of the DA's office. It's a political bureaucracy (I could literally complain for days about how much of a bureaucracy it is, but you'd get bored of me :)).

The judge, theoretically, is more of the expert on the law and whether it should be tried - but the CPS have to decide to bring the prosecution to him/her. Which is why you regularly get cases that should be seen in court, but which a suit decides is statistically unlikely to prosecute favourably.
I'm surprised no one has mentioned the website NerdFitness (http://nerdfitness.com/blog/) yet. Steve runs a really great blog for those looking to get started doing fitness. The forum there is a good place to ask basic fitness questions too.
That article was posted here last spring, I believe (forgive me, but I'm on my iPhone at the moment and too lazy to look up a link to the discussion). Reading that article planted the seeds that led me to start barbell lifting three months ago. I've always been scrawny, so it's been amazing to watch my body transform. I've gained 25 pounds and my squat strength has doubled.

I've tried gym memberships in the past, so it's hard for me to put my finger on exactly why I've been able to stay motivated this time around. Having hard, quantifiable gains may be the biggest factor, and perhaps even more than that, having quantifiable losses when I skip a workout. When I missed a week at the beginning of november (I was out of town), I had to knock 10 pounds off my squats in order to get through them. That is not a good feeling. Definitely worse than being charged five dollars.

Edit: ok, I looked it up -- http://news.ycombinator.com/item?id=2287213

I'd also like to add, reading Rippetoe and Kilgore flipped a switch for me. If you can write 60 pages about how to do a squat, then weightlifting can be a geeky activity.
you're getting lucky. as I understand it, the GIL just protects certain pieces of interpreter state. you still need to lock to get correct behavior from your code. the presence of the GIL doesn't remove the need to lock your data structures and each thread created with the threading stdlib is actually a native thread on your platform.
Government won't disclose why 12 girls suddenly developed tourettes in New York