Hacker News new | past | comments | ask | show | jobs | submit login

> much of the development happens in the repl of the live site

Wow, I guess that gives me an excuse when I'm too lazy to test on a dev server. "Well, PG live edits HN"




>"Well, PG live edits HN"

But HN has a persistent bug where the next button on the first page expires and doesn't work. That's the difference between doing something for work and doing something for fun.

The willingnes to tolerate malfunction is higher


> HN has a persistent bug where the next button on the first page expires and doesn't work.

I don't think that's a bug, but a feature - a type of cache invalidation that forces you to refresh to ensure paging is accurate


There's the same 'feature' which works against insightful commentary. Spend too long crafting a response, get "unknown or expired link". Not particularly endorsing of a considered, pensive response.


Surely there are better ways. For example, you keep track of which posts a user has already seen, and when they hit the next page button, show them the X most highly ranked posts that they haven't yet seen. Breaking the link is just the easiest way to deal with the problem.


He's also caused significant downtime by doing this, so this may not be a good lesson to take for your own sites.


Actually I don't think any of the outages have been caused by this. The prospect does add an edge of excitement to programming though. Gamification for programmers!


There was one outage caused by a runaway which testing would have easily caught; I think about last year.


Are you thinking of this outage from last month?

https://news.ycombinator.com/item?id=7261591


There was something from >1y ago.


Probably this one:

https://news.ycombinator.com/item?id=5239673

(I remembered "new user" so was able to get a search to work...)


Good catch. But strictly speaking that wasn't doing development in the repl, but repairing data. The live server is the only place you can repair data on the live server.


Yep. That's the kind of thing which is fun for hn but wouldn't be a good idea at all on a financial system -- where you optimize for least bad likely worst case, not best best case.


That's interesting insight. I wonder what would happen if Bank of America took that same approach to pushing changes...

...what about the White House?

;)


If there is any world where the 95th percentile programmer at BOA is as good as pg, perhaps.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: