Live data from Hacker News

Stockfighter is live

stockfighter.io

71–80 of 151 posts

Re: Stockfighter is live

#71
post #61
post #55

Usernames must start with a letter? That is an odd requirement. I usually pad my username with zeroes when sites dont let me choose dfc. Out of curiosity why the constraint?

Databases are usually sharded by the first letter of the username. Devs like to start their usernames with a number, which causes problems. Also, usernames are injected into their code. Therefore they must be valid identifiers. Don't name yourself exit() or ret, or you'll crash their servers. Naming yourself nop will give you a distinct advantage relative to other players, however. I don't know.

It took me too long to realize you weren't serious

Re: Stockfighter is live

#73
This is part of the game. To beat this level you sweet talk the founders into letting you help them fix their scalability problems. If you get the site running in 3 hours, you get a bonus score of ∞.

Re: Stockfighter is live

#76
post #65
post #62

Earlier quoted context omitted.

hmm yeah I get that but still, what does an "introduction" mean? :)

Sequence of events: 1. You play stockfighter and get the highest score this year. 2. patio11 emails you and says "hey, you're awesome. are you looking for a job?" 3. You say "yes!" 4. patio11 emails pc (CEO of Stripe) and says "hey 2oi4j3 is awesome, here is proof (i.e. your stockfighter score)" 5. pc emails you and says "hey let's talk about what job you would like at Stripe, and let's bypass most or all of that tec…

that business model... if you've nothing nice to say, say nothing, i'll keep to that

Re: Stockfighter is live

#77
post #74

I'm on the instructions for level 2 and it points to the API docs ( http://starfighters.readme.io/ ) but that URL is giving me a 404.

There's an extra 's', try https://starfighter.readme.io/

Yup, I got it now from the API docs link in the level. Seems like a typo in the level 2 instructions.

Re: Stockfighter is live

#78
post #56

Earlier quoted context omitted.

In a blog post some months ago [1], Patrick said that some components do use Rails. [1] http://www.kalzumeus.com/2015/08/20/designing-and-building-s...

I know using Rails isn't as popular here as it once was, but in my experience, if you cache correctly (like you should), it's trivial to scale.

Modestly less trivial if you happen to put your chat server on the box with Rails because Rails is certainly not going to fall over and your chat server attempts to open several thousand websockets on a box with a not-too-generous number of open file descriptors, it appears.
Post reply on HN