c3

Joined 17 years ago

Karma
73
Submissions
23
Member since
Apr 11
womp womp http://entp.com
View on Hacker News

Recent submissions

Comment · 11 years ago
Step 2, make a failed game, pivot, succeed wildly :)

It's worked twice already!

Comment · 11 years ago
Step 1: Be Stewart Butterfield.
Comment · 12 years ago
fyi they don't need to power cycle your machine to remove it from the data center (if there is physical access); there's a battery backup that clips onto the power prongs while it's still 3/4 in the socket.
Comment · 12 years ago
there's an app called Habit List (ios) that pretty much does that.
Comment · 13 years ago
update: I just tested this; if you're on 1.8.7, you can manually apply the patch I linked in the parent comment and recompile. There is nothing preventing a backport.
Comment · 13 years ago
It seems to be a fairly simple patch for 1.8 series, too:

    https://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/43776
just a few lines truncating input in util.c.

Break your ruby here:

    JSON.parse("[1."+"1"*300000+"]")
Comment · 13 years ago
Comment · 13 years ago
we just switched 1/3rd of our infrastructure off our existing host (engineyard, which uses AWS) onto raw AWS and saved about $2500/month. You can do it too!
Comment · 13 years ago
It's not just a scheduling, there are a bunch of legacy systems you have to integrate with. And of course it's health data, so there are more requirements.

Anyone want to burn three months on an unpaid spec? :)

Comment · 13 years ago
Elasticsearch is great and magical, but there are a bunch of defaults that you MUST set for it to be useful. I'm surprised github wasn't using these, actually (like allocating the min and max memory to be the same size).

Generally it takes a catastrophic failure under load for you to discover that 'everyone' (everyone else) uses these!

Comment · 14 years ago
It's only a security problem if you're using the Model#where form. If you're doing Model#all or #each or whatever, you're fine.
Comment · 14 years ago
Basically, it doesn't - because it doesn't need to. Rails/ActiveRecord doesn't use those either. Problem solved :)
Comment · 14 years ago
This is old news, but we successfully use https://github.com/freels/table_migrator in production not on heroku. It creates a copy of the table, performs the schema changes, copies the data over, then renames the tables for almost (i.e. 1-2 seconds) no downtime.
Comment · 15 years ago
2. Opentable actually does this - they give you up to 10x more "points" (redeemable for meals, later) for certain restaurants on quiet nights.
Comment · 15 years ago
Obsessive metrics are fun.

Knowing how long things took vs estimates is useful for determining the accuracy future estimates.

Having an absolute sense of numbers for types of projects is useful for estimating future projects of similar scope; where by absolute I mean, not, "I think it took two weeks last time we did this".

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton