Recent submissions

Comment · 13 years ago
Heroku's free plan is a good option, but it does require some knowledge of git/one of their supported framework. Good learning regardless.
Comment · 13 years ago
Create an infinite scrolling effect for an image gallery. This will test out the following:

* Ajax * Event handling (scroll) * Basic arithmetic (e.g. when to trigger a new request based on % page scrolled) * Template/DOM insertion * Thinking about edge cases (e.g. what happens when the page is resized, or the ajax request has no more elements to return)

Comment · 13 years ago
Terrible article in my opinion teaching some really bad habits that will cause hard to find bugs over time. Truth is, omitting semi-colons is probably fine at smaller scale, but for larger javascript code base with multiple maintainers, it's definitely a better practice in my opinion. Oh well, no point in me saying what has already been said :)
Comment · 13 years ago
Play a full game and you'll be surprised, the AI is actually surprisingly good and gets better as the game progresses, especially given the size of the code.
Comment · 13 years ago
There's hidden cost associated with offering a paid membership for "privileged" users, in that it affects the overall perception of the product. Many non-paying users would feel negatively about it, and start looking for alternatives. As a result, the membership fee has to cover (1 + lost users) advertisement revenue.
Comment · 13 years ago
Comment · 13 years ago
I stick to the basics: Chess.
Comment · 13 years ago
120$/BTC hasn't been fairly stable. Just a few days ago it was at 70.
Comment · 13 years ago
Would you be interested in trading services? I can teach you how to code, in exchange for flight instruction. I'm in SF.
Comment · 13 years ago
Comment · 13 years ago
Did you try creating a new gmail account with that email? If you succeed, it means no one ever received those documents :)
Comment · 13 years ago
MSDN
Comment · 13 years ago
Absolutely, many people don't realize that interviews are a two way street. Not only is the company interviewing you to assess your technical skills and cultural fit, but you are interviewing the company as well to see whether you'd like to work there.

If you're a "superstar" (I don't really like that term), you want to work with other talented individuals. So if the interview process is non-existent or overly easy, it sends a negative signal about the "potential" quality of other hires.

Comment · 13 years ago
Quote from pg: "For some reason I didn't check the comments after the surgery to see if they were in the right place. I must have been distracted by something."

Short answer to your question: Test the fix after deploying it on production :)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton