News for hackers. Stuff that matters.

Tell HN: Sorry I broke the server

Experimenting with some code this evening and got so into it, I didn't notice that I broke story submission for two hours. Argh!

Sorry everyone.

Edit: While you're here... you can now view the comments you've upvoted by clicking on "saved comments" in your profile. It works like "saved stories". Thanks to porker for the suggestion: https://news.ycombinator.com/item?id=9050374.

( 64 comments | 159 points | on HN )
Re:Tell HN: Sorry I broke the server by jacquesm on Sunday February 15, 2015 @05:06AM (#9052219)
Where there's people working there are bound to be mistakes. Don't sweat it, this is a free service after all and the service level for a non-advertising supported free service is absolutely incredible. I'd be more than happy to pay for HN as it is, you guys are doing a better job than most paid services when it comes to customer support, uptime and courtesy combined.
Re:Tell HN: Sorry I broke the server by switz on Sunday February 15, 2015 @07:48AM (#9052463)
Hacker News is most definitely supported by ads. Perhaps you just don't realize it.

https://news.ycombinator.com/jobs

Re:Tell HN: Sorry I broke the server by logicallee on Sunday February 15, 2015 @11:30AM (#9053040)
Sure, and Harvard is supported by ads, you just don't realize it.

(sell an education->create wealthy people->ask them to contribute->get endowment whose returns account for the largest source of its operating revenue[1])

but I find your semantics frankly ridiculous. yes hacker news belongs to ycombinator. but you can't just use the word ad however you want. No, not everything's an ad, and in particular you can't 'buy' a job ad on HN. It's not a good description of the situation.

[1] http://www.harvard.edu/about-harvard/harvard-glance/endowmen... "The endowment remains the largest source of revenue supporting the University budget."

Re:Tell HN: Sorry I broke the server by thomasfoster96 on Sunday February 15, 2015 @08:39AM (#9052564)
I'm fairly certain those companies don't pay for those job listings.
Re:Tell HN: Sorry I broke the server by smackfu on Sunday February 15, 2015 @09:35AM (#9052691)
Just because they give them out for free (to a very small specific group of companies) doesn't mean they don't have value.
Re:Tell HN: Sorry I broke the server by thomasfoster96 on Sunday February 15, 2015 @09:37AM (#9052695)
Oh yes they certainly have value - but Those job listings aren't ads that pay for servers and bandwidth for hacker news.
Re:Tell HN: Sorry I broke the server by eli on Sunday February 15, 2015 @09:40AM (#9052703)
Depends how you look at it.
Re:Tell HN: Sorry I broke the server by benologist on Sunday February 15, 2015 @11:50AM (#9053114)
Whether that value directly pays for servers or intangibly-or-directly increases their own startups' value doesn't seem like an important distinction.
Re:Tell HN: Sorry I broke the server by kyleblarson on Sunday February 15, 2015 @10:53AM (#9052910)
Well, they are YC companies so they pay YC with a pretty significant portion of their equity.
Re:Tell HN: Sorry I broke the server by DadFoundMy on Sunday February 15, 2015 @11:55AM (#9053133)
Are you the same switz from #r/GlobalOffensive?
Re:Tell HN: Sorry I broke the server by mintplant on Sunday February 15, 2015 @05:09AM (#9052230)
Seriously. I use HN as my "am I connected to the internet?" check, as it always loads instantly even when Google takes a while.
Re:Tell HN: Sorry I broke the server by ponytech on Sunday February 15, 2015 @05:16AM (#9052242)
I personally use : http://perdu.com (up since 1998) Which translate into:

Lost on the Internet? Don't worry, we will help * <----- you are here

Re:Tell HN: Sorry I broke the server by imjustsaying on Sunday February 15, 2015 @05:53AM (#9052314)
What fast IP do you use when you suspect you're connected to the internet but can't resolve DNS? I'm looking for a good non-Google IP (because China)
Re:Tell HN: Sorry I broke the server by nitrogen on Sunday February 15, 2015 @06:29AM (#9052362)
Level3's DNS is easy to remember at 4.2.2.1. Or is that Verizon's?
Re:Tell HN: Sorry I broke the server by vinceguidry on Sunday February 15, 2015 @07:39AM (#9052449)
You should only use 4.2.2.1 or 4.2.2.2 if you're an actual Level3 customer. While they do respond to public requests, they're not intended for public use, unlike Google's 8.8.8.8 and 8.8.4.4 servers.
Re:Tell HN: Sorry I broke the server by userbinator on Sunday February 15, 2015 @09:51AM (#9052721)
https://news.ycombinator.com/item?id=7120248

Level3's VP says they're public.

(They go up to 4.2.2.6 too, I think.)

Re:Tell HN: Sorry I broke the server by nitrogen on Sunday February 15, 2015 @01:11PM (#9053402)
Interesting. I seen to remember that at one point the reverse lookup for one of the 4.2.2.x addresses was "dont-steal-service-etc.somebody". I just send an ICMP ping when I need an IP to check a connection. I also seem to recall reading that the 4.2.2.x resolvers were multi-homed, but in both cases my memory could be faulty.
Re:Tell HN: Sorry I broke the server by wattengard on Sunday February 15, 2015 @07:22AM (#9052418)
Or google's at 8.8.8.8 and 8.8.4.4 ?
Re:Tell HN: Sorry I broke the server by pcl on Sunday February 15, 2015 @11:48AM (#9053107)
I still ping the IP address of my college's DNS server, all these years later. Muscle memory dies hard.
Re:Tell HN: Sorry I broke the server by tux3 on Sunday February 15, 2015 @05:45AM (#9052296)
I'd love to see their stats. They have basically 0 content and I hit them 10 times a day.
Re:Tell HN: Sorry I broke the server by iamwithnail on Sunday February 15, 2015 @05:29AM (#9052270)
Hah, glad it's not just me. It's also the thing I hit if I'm trying to think of what I was doing/am idle for a moment... typing 'news.' just seems to flow from my fingers if they're unoccupied.
Re:Tell HN: Sorry I broke the server by thomasfoster96 on Sunday February 15, 2015 @08:41AM (#9052575)
There used to be a race between Google news (news.google.com) and Hacker News to be the top suggestion for me, hacker news has pulled away to a strong lead recently.
Re:Tell HN: Sorry I broke the server by joefreeman on Sunday February 15, 2015 @07:24AM (#9052422)
Ctrl-T, N, Enter :/
Re:Tell HN: Sorry I broke the server by asadlionpk on Sunday February 15, 2015 @11:36AM (#9053065)
same here, I visit this site so much that only typing 'N' does the job.
Re:Tell HN: Sorry I broke the server by crystalclaw on Monday February 23, 2015 @03:23PM (#9096760)
Ditto. Done with catching up on other stuff? CMD-T n enter. When it's perpetual tab gets closed, that is.
Re:Tell HN: Sorry I broke the server by mintplant on Sunday February 15, 2015 @06:08AM (#9052331)
Yep, same for me. I'll be staring at the screen in thought, then up pops a Hacker News tab.
Re:Tell HN: Sorry I broke the server by vehementi on Sunday February 15, 2015 @07:05AM (#9052407)
I have this habit too and it's deeply disturbing. Actively fighting it!
Re:Tell HN: Sorry I broke the server by megalodon on Sunday February 15, 2015 @12:36PM (#9053279)
Why fight it? Visiting a technological/intellectual inspiration source definitely goes in my list of positive habits.
Re:Tell HN: Sorry I broke the server by mod on Monday February 23, 2015 @04:42PM (#9097261)
For me, because it can consume my entire workday. Has done that today, really.
Re:Tell HN: Sorry I broke the server by bpodgursky on Sunday February 15, 2015 @09:28AM (#9052670)
I use HN because I can never trust whether anymore whether Google is really loading from a remote source or is just doing some aggressive caching magic (or whether Chrome just has the Google homepage baked in now).
Re:Tell HN: Sorry I broke the server by logn on Sunday February 15, 2015 @03:00PM (#9053831)
In terms of uptime, HN has been hosted on a single server (until recently... I saw mention of a failover server). If you are just looking for a lightweight site to load, example.com is great.
Re:Tell HN: Sorry I broke the server by dredmorbius on Monday February 16, 2015 @12:46AM (#9055504)
Might want to spread that out over a few sites. Any one can go down.

Alexa's top 10 sites is usually a pretty good set.

Re:Tell HN: Sorry I broke the server by math on Sunday February 15, 2015 @05:51AM (#9052310)
it's perhaps worth remembering the service isn't 100% altruistic... though I agree it is indeed awesome and I'd probably be happy to pay for it too.
Re:Tell HN: Sorry I broke the server by akshatpradhan on Sunday February 15, 2015 @08:28AM (#9052545)
Could you give some good examples of 100% altruistic?
Re:Tell HN: Sorry I broke the server by Intermernet on Sunday February 15, 2015 @08:35AM (#9052558)
These are probably debatable, but I'd suggest Wikipedia and Archive.org would come close.
Re:Tell HN: Sorry I broke the server by spacemanmatt on Sunday February 15, 2015 @12:33PM (#9053276)
groklaw.net was close enough for me.
Re:Tell HN: Sorry I broke the server by eterm on Sunday February 15, 2015 @05:23AM (#9052256)
Saved comments throws an error trying to view page 2 of saved comments.

(change the below to your own ID ofc.)

https://news.ycombinator.com/saved?id=eterm&comments=yes&p=2

Actually, it looks like page 2 of saved stories also breaks? Is it just finding something not cached and the site is currently broken for non-cached content?

Re:Tell HN: Sorry I broke the server by kogir on Sunday February 15, 2015 @05:49AM (#9052304)
Thanks! We were trying to track down an error message we were seeing, and you found it.
Re:Tell HN: Sorry I broke the server by colinramsay on Sunday February 15, 2015 @04:54AM (#9052200)
That's ok - you did it while I was asleep :)

I seem to remember that last year there was talk of re-doing the markup for HN so that it would be more mobile-friendly. What came of that idea?

Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @04:58AM (#9052205)
We've been working on it lately and don't expect it to take too much longer, so stay tuned.
Re:Tell HN: Sorry I broke the server by colinramsay on Sunday February 15, 2015 @05:40AM (#9052289)
Great, thanks!
Re:Tell HN: Sorry I broke the server by kogir on Sunday February 15, 2015 @04:27AM (#9052145)
And I missed it in code review and testing. Sorry!
Re:Tell HN: Sorry I broke the server by kogir on Sunday February 15, 2015 @04:44AM (#9052184)
And now I'm doubling down. HN is once again running an entirely new HTTP pipeline.

Please let us know if you run into any issues, especially related to cookies and logging in/out.

Re:Tell HN: Sorry I broke the server by deanclatworthy on Sunday February 15, 2015 @05:21AM (#9052250)
When is the responsive style sheet coming :)?
Re:Tell HN: Sorry I broke the server by aw3c2 on Sunday February 15, 2015 @07:42AM (#9052454)
Oh lord, I hope it will not force some annoyingly huge text on us. I am perfectly happy with the site as it is, works well with text-reflow.
Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @02:09PM (#9053634)
As a fierce advocate for information density on Hacker News I can pretty well guarantee you it will never have annoyingly huge text.
Re:Tell HN: Sorry I broke the server by aw3c2 on Monday February 16, 2015 @10:47AM (#9057369)
Thank you!
Re:Tell HN: Sorry I broke the server by partisan on Sunday February 15, 2015 @09:52AM (#9052725)
Agreed. I am free to zoom around and scroll through as much as I want right now and makes it very easy for me to use the site. Just take a look at Craigslist to see how terrible it cn be to have no ability to view all content.
Re:Tell HN: Sorry I broke the server by walterbell on Sunday February 15, 2015 @07:16AM (#9052415)
"Saved Comments" is valuable and long wished-for, thanks for adding the feature!

Will it be possible to extract these as JSON, e.g. via the API?

Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @02:12PM (#9053644)
Good idea. The API doesn't support all the lists (edit: and logged-in state) properly yet, and when we fix that, it should be natural to include both variants of /saved.
Re:Tell HN: Sorry I broke the server by philsnow on Monday February 16, 2015 @11:46AM (#9057697)
"Stories submitted per time" seems like one of the five-ish metrics that you should always keep an eye on while making any changes in production, coming back to your desk after a coffee break, or coming in to the office in the morning.

If it is not trivial to look at these metrics (ideally you just glance up to a dashboard monitor), it would probably be a good idea to throw that together.

All of this is to say nothing of proper alerting to go with monitoring, but I mention the above because its by far easier to set up and you get a lot of bang for the buck.

All of _that_ said, thanks to dang any anybody else working on making HN better.

Re:Tell HN: Sorry I broke the server by bencollier49 on Sunday February 15, 2015 @06:31AM (#9052366)
Nice to see test-driven development at the height of its powers. :-)
Re:Tell HN: Sorry I broke the server by blackhole on Sunday February 15, 2015 @05:06AM (#9052221)
I love how ironic your account name is in this context :)
Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @05:14AM (#9052238)
Re:Tell HN: Sorry I broke the server by andrea_s on Sunday February 15, 2015 @04:52AM (#9052197)
Ah, you clearly need a proper review process!

Just joking - thanks for the work you guys put in, this is definitely one of the most interesting place on the web :)

Re:Tell HN: Sorry I broke the server by jwatte on Sunday February 15, 2015 @12:39PM (#9053290)
If only there was some way to quickly get told when production hiccups... And if only there was some way to prove each feature works automatically... :-)
Re:Tell HN: Sorry I broke the server by ugh123 on Sunday February 15, 2015 @01:42PM (#9053533)
You were experimenting with code on the production server? If not, do you have automated tests?
Re:Tell HN: Sorry I broke the server by dkarapetyan on Sunday February 15, 2015 @04:50AM (#9052196)
I noticed saved stories but why are comments showing up twice on the account page.
Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @04:57AM (#9052203)
It's the comments you've upvoted, as opposed to those you've posted. I just changed the label to make that clearer.

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

Re:Tell HN: Sorry I broke the server by oneeyedpigeon on Sunday February 15, 2015 @05:15AM (#9052240)
It'll be interesting to see whether this has an effect on the nature of upvoting. If saved comments were slightly more structured, rather than just one big list, I could imagine them comprising some sort of 'personal knowledgebase'. In turn, that might decrease the amount of 'I agree with that' opinion upvoting, in favour of 'that's useful information'. Whether that's to be encouraged is, of course, a personal opinion.
Re:Tell HN: Sorry I broke the server by dang on Sunday February 15, 2015 @05:54AM (#9052317)
Interesting point. HN mostly is a collection of lists. You might almost call it a list processor.
Re:Tell HN: Sorry I broke the server by Intermernet on Sunday February 15, 2015 @08:36AM (#9052562)
What a brilliant idea! A "List Processor"!

Oh, wait...

Re:Tell HN: Sorry I broke the server by thisjepisje on Sunday February 15, 2015 @12:02PM (#9053156)
Curious what effect this will have on comment upvotes.
Re:Tell HN: Sorry I broke the server by vegancap on Sunday February 15, 2015 @06:37AM (#9052376)
Easily done! :)