skysight-inc/HackerNews huggingface dataset:
Usually the game server would keep everything in the game instance in memory, for an FPS or RTS. As great as Redis is, it's way more cumbersome than having everything in your data structures ready to go.

Redis is suitable for persistence, so where it would really be appropriate would be storing things like player profiles and other misc data that is not tied to a specific server. In fact, that's exactly what I'm using it for.
They do. They are called waivers. You sign them all the time when using the health care system.
That doesn't work with virtualenv, does it? The advantage of pip and easy_install is that you can install it per project without fucking up global dependencies, etc.
Hahaha hilarious choice of names.
Update your LinkedIn profile. Seriously. Don't post to Dice/Monster etc. About 2 months ago I updated mine and started sending positive reviews to coworkers and friends and got some in return. I've been contacted by a handful of good recruiters and several companies directly.
Here's an example (from http://www.tate.org.uk/about/media/copyright/):

" In terms of artistic works, if the artist is alive, or has been dead for less than 70 years, there will be a separate copyright in the work itself that is additional to the copyright in the photographic reproduction."

Here you have a gallery stating that there is copyright in the photograph of a work of art, distinct from that in the work of art itself. As I understand it, this is standard for reproduction photos.
Fractal - Email HTML/CSS code Validator
I think most people are projecting a bigger ambition onto this than is accurate. This is not Google's revolutionary attempt at visualized search, it's a cute way to showcase all the diverse products in Google's portfolio. "What do you love? Here's what we can do for you regarding that." It's just a marketing micro-site.
Wrote a quick command line Gmail password changer for this type of thing; if I see my username I can go ahead and start changing passwords. Hopefully I'll pound more out this weekend. http://christopherwoodall.com/gmail.py
In the big picture, I don't see having to write a wrapper function for template rendering with a fixed template_lookup argument being a big deal (I'm basing all of my judgments on source alone, I've only fiddled with either framework).
Commute to work like a Jedi
I don't think you had made a mistake, far from it, I think that this process helped you became aware of the things you really value. That's a big step forward.

I'm a similar person: I approach starting a startup as a means to provide me with enough money in order to have more time to do other things(help others, build/contribute to great applications that can make the world a better place, improve my mindfulness).

Of course, you don't need a startup to do those things(I'm already doing them) but can be of help if you'd like to have more time to do them.
The only rank I care about is what our ordinal placement is for a given search term. This can be automated.
> "boiling water may be hot"

Most people don't equate 'boiling water' with 'coffee.' Sure you need to boil water to brew it, but I've never been handed a bubbling cup of coffee.
The rise of electric and hybrid cars blocked by limited lithium resources?
I started a Kickstarter to create a social object against Pi!

http://www.kickstarter.com/projects/ianterrell/say-no-to-pi
A business term you rarely hear: Friendsourcing
Our startup was looking for a succinct way to describe what we do (allowing business executives to share their digital roledexes). At first we thought we were a crowdsourcing company, but after some investigation, it turns out "friendsourcing" was more accurate. And no one is really talking about it.
I didn't downvote you because I don't understand your point. Presumably you're not saying that nobody should flag posts, because someone might post them again; I don't think that makes sense. Are you saying that the dupe detection system should be better? Or that flagged posts should be visible or searchable in some way? Or are you just saying that you like this post and you don't think anyone should flag it?

Personally, I don't think it's a big problem, although I'd really like a cleverer dupe detection mechanism. It's true that people tend to just re-submit the same links without searching, and that happens even when a post is not flagged -- there are often two active threads for a single topic on the front page. Flagging still acts to discourage a post, and the chance that someone will resubmit is just how it goes.
I've been interviewing with companies recently and it's interesting to see how some places just completely ignore these types of questions. My guess is that there's a bit of self selection when interviewing. Some places don't looks for passion because they themselves may not be passionate.

On the other hand, you do want to make sure they know how to program. Talking about side projects and areas of interest may bias the interviewer when they really just want to know how technically competent you are.
Too bad that automatic rank checking is not allowed per Google ToS.
Javascript Applications 101
The problem with HFCS is not its biological impact. It's the economic impact. By heavily subsidizing corn, we have made sugar (via HFCS) incredibly cheap, which makes it easy to use as an additive.
I totally agree, but I think calling Type 1 "juvenile" is misleading as well. My wife developed Type 1 when she was in her twenties.
The Coverage of LulzSec is (Fucking) Stupid
You got a good case with pi/2, it's truly useful, as it represents the angle between 3d axes, the boundaries of the tangent and inverse trigonometric functions, the monotonic regions of cosine and sine etc. It will even make spherical coordinates easier to visualize mentally. (It will also make a two-digit number, 16, a common resident in lots of formulas). I vouch for it, and i call for a move to name it, confusingly, pi-bar
I understand math, but I can't read mathematical symbols. Does anyone know a good website/book for applying and understanding mathematical symbols?
Ask HN: Rate our startup - myHeatmap
http://www.myHeatmap.com

Please let us know what you think of myHeatmap. We are big boys, we can take it.

Also, please suggest any potential customer segments that could use myHeatmap.
Protecting Linux Against DoS/DDoS Attacks
This effect is very real. I'm an engineering student at U of I, and there are a lot of engineers (especially Computer Scientists) here who are just itching to drop out the second one of their ideas catch on. What I think they fail to realize is that you need much more than an idea. You need to have resources and solid foundation, or at least some proof of concept, before you can make such a drastic life decision. In the majority of cases, finishing your time at college is the best way to prepare yourself to make your ideas successful.

In my opinion, this effect stems from a misunderstanding in this now popular hacker-startup culture. Students are getting the idea that forming a startup is the end goal, when in fact it's just the beginning of a long road to being successful.

The Zuck/Thiel effect is not a trend, it's an extraordinary exception. Stay in school, kids.
Agreed on fructose being the more damaging component. However, sucrose (regular table sugar) is one glucose and one fructose, so 50% fructose. HFCS, however, is typically 55% fructose, and I believe used in about the same quantity. So not that different. The real issue is simply amount consumed, and not what form it was in.
I am utterly offended, DOS is awesome. Esp for embedded devices where the OS and the application are the same thing. Less complexity leads to more stability.

Flame wars are the most virulent when the enemy is extremely close to your position but doesn't take it. Emacs and VIM, essentially the same. Mercurial and GIT, again, the same. If the differences are too far apart the whole argument becomes, meh.

meh.
XPath/CSS path selectors for scraping are definitely the "now" way to do it. I recommend Nokogiri (http://nokogiri.org/) for the Ruby users, it does pretty much the same thing in a nutshell.

What it really comes down it is 2x-3x smaller code, plus much faster to write it since you can just test your CSS selector in your web browser such as with FireBug before sticking it into your code.
Prize Madness?
Right now, I'm writing most of my projects in Tornado.. Not because I need the async, but because I wanted a simple web.py like format that was under active development.

Can someone help me understand where Flask fits into things? It would essentially be a replacement for Tornado? What's the advantage of this over Tornado? Ease of use?

I can understand the simplicity argument; I chose to avoid Django because it was too heavy, so I'd love to hear more about how Flask compares.
Suggest changing your twitter authentication first.... looks like it has potential should I have some geospatial data to use at some point.
HFCS and regular sugar have a very similar proportion of glucose:fructose.

The kind of HFCS used in soft drinks is 55% fructose and 42% glucose, while sucrose (sugar) is 50% fructose and 50% glucose. The kind of HFCS used in baked products is 42% fructose and 53% glucose.
EDIT: I hope these help:

https://secure.wikimedia.org/wikipedia/en/wiki/Table_of_math...

https://secure.wikimedia.org/wikipedia/en/wiki/List_of_logic...
Same logic:

Sure that doctor gave you the wrong medicine, but you're responsible for your own well-being. How hard is it to Google the name of the medicine and see that it has nothing to do with your condition? How hard is it to remember that the medicine that the doctor told you he was writing a prescription for and the one that he actually wrote on the paper aren't the same? Stop wasting the court's time. Zero dollars.
While many generic games may have been reduced to, 'shitty movies', I think developers have evolved gaming into a medium that would have been hard to imagine twenty years ago. Games like Fallout 3 or Mass Effect 2 are brilliantly designed hybrids of action, adventure, startegy, puzzle and rpg elements all wrapped in gorgeous, well written and immersive worlds built to evolve around a player's individual play style.

Even the base concept of challenge is not a given in modern gaming with titles like Little Big Planet where creating games is a major focus, or Kinectimals in which atmosphere and light hearted play trump all (actually, that second title could use even less, 'forced' challenge, IMO).

I applaud modern developers for constantly pushing the limits of what it means to 'experience' a game, rather than just play one as we have in the past.

That said, Zork totally rules! I've always thought there was room for Interactive Fiction in the modern world, it's just a matter of how/when (I hope!).
I think humanity has bigger issues than that. When are americans going to adopt the metric system?
How many resumes does it take to make an intern?
On the other hand, if you're walking along and you pivot, you may only have changed your direction slightly.. but you are now headed in a totally different direction towards a new destination.

It's possible for a small pivot to make a major different, it's also possible for a pirvot to be 180degrees, i.e. a complete turn around.

That said, I'm with you, it irks me when a company "pivots" and is basically a new company with the same people behind it - but from the point of view of the definition of "pivot", it does fit.
You're welcome! :)

Much of the credit goes to Danny Yoo for Moby -- http://github.com/dyoo
Building games around movie-like cutscenes is like filming a stage production of a play and calling it a movie. There were plenty of people who did essentially that in the early days of movies, because of the higher prestige of stage drama and their desire to produce "art", but that wasn't how film developed into an art form. If games want to fulfill their potential as art, they have to evolve toward their strengths instead of being just a shitty way of presenting mediocre renditions of an existing art form.
I second that, PyQuery is excellent. I've even used it for manipulating an RSS feed: http://pastebin.com/QnF0Li3m
Worse, honestly, the value of your wasted time is almost certainly higher than that of the person on the other end of the call.
You make a mistake >>> You got served!

The American justice system sucks.
To explain:

Spam certainly should be flagged - no question.

The problem is that there are stories that people think will be interesting, but which then get thoroughly discredited. Initially, no doubt, they should be flagged, and therefore deleted. Fine.

But if they are submitted again then they should not be flagged. It's likely that they will be submitted again and again and again. Instead, the original should be pointed out, the fact that it's discredited recorded, and the submission left so the dupe-detector prevents any further submissions. In that way we learn from history.

I thought that would be clear. Clearly it wasn't. I hope it's clearer now.

<rant>

As a programmer and mathematician I'm accustomed to being brief and succinct, letting my code or my readers get the point without having to expand it excessively. It seems to me that such was once possible on HN, but that now one's point must be written out in exquisite detail to avoid drive-by downvotes from people who don't bother to try to figure out the meaning.

This isn't a dig at you - you didn't down-vote, and you did ask. To my mind that makes you one of the more valuable (potential) contributors. Indeed, I see that you have more karma and a higher average than I do. That supports my initial impression.

I'm just getting a bit fed up with having to write so much of what I think is obvious.

Maybe I'm just having a bad day.

</rant>
h2g2 is difficult to the point where it seems like a parody of the genre. Some of it makes stuff like monkey island seem trivial, and I find it hard not to assume that the whole thing was a big joke on the part of Douglas Adams.
From the article: "I doubt anyone would argue that song composition is a lesser art or any less deserving of full royalties than other arts."

Note that this viewpoint isn't historical: http://law.bepress.com/villanovalwps/papers/art31/ Copyright wasn't originally granted even to sheet music, if I read the paper correctly. In the USA, musical recordings weren't covered by Federal copyright until 1972, but rather were covered under state copyright. Older music still is.

Copyright on music is indeed debateable, and has been as long as copyright has existed as a legal concept.
"Pivoting" and "failing fast" both seem to have been taken and abused by some people. These are concepts for applying learnings to your current environment. While you may wind up 180 degrees and three miles off of where you started, there is a continuous path between where you started and where you ended because you were gaining knowledge the whole time.

Discontinuous jumps may be necessary, but don't pretend you are pivoting your idea. And like TFA said, you lose a lot of confidence from your employees and your investors if you are skittish and jumping all over the place. The founders, like the name implies, form the foundation. Shaky foundations don't build strong buildings.
I definitely agree it's an exception but the more blogs like TechCrunch publicize people dropping out (Thiel Fellows, Penn students from a post yesterday), the more prominent (and viable) it appears. The best option is to run the business at school, leverage the vast array of (usually free) resources on campus, and graduate with a startup AND a degree.
By choosing a favorite, you cannot help but choose an infinitude of not-favorites. With a high-traffic blog such as yours, it's near certain that some people will believe you've shown yourself to be an idiot by missing a superior choice. Neuroses may be at work in some cases, but it's arrogant to assume that all who disagree with you are neurotic.
Apple Lands Patent for iPhone Display Surface
Ask HN: Is having two brand names a dumb idea?
I'm guilty, I've fallen in love with two names and can obtain both domains. They have a very different feel to each other, and halfway in between is the feel I want to achieve.

I am the cofounder of a cloud computing start up and we are developing an application to assist in managing cloud deployments.

The two domains are in the format:
XXXXXXXcloud.com
YYYYYapp.com

I'm not dumb enough to use both just because I love both, but the first one sounds perfect for a company name and the second for the app name.

Is it foolish to use both as we only have one product? Should the company name and the app name be the same?
I agree “Then x = y/2” is fine. However, your reasoning why this is OK (“=” is “equal”) is incomplete. Consider “Then the answer = y/2.”, which is grammatically correct but improper.
I was joking. Not very funny, I admit...
I had one last year. The company name given wasn't that but it was similarly generic. They did talk me through the event log thing which I went through with but took my time constantly complain that my computer was being slow - they caught me at a time I wasn't doing anything more important so I figured I'd waste some of their time.

After that he asked me to install some software so their specialist could share my screen and help fix the problems. He got a little exasperated as I kept getting the URL wrong that he was telling me to type into my browser. I eventually went to the site using Firefox with scriptblock on a Linux VM. The site looked quite professional, but when I had a poke around after the call there was a lot of obfuscated javascript (not minified, but altered in ways that were obviously to disguise its function from casual inspection (very long seemingly random variable names for instance) and for no other reason) in the page which leads me to think it might have tried a drive-by download even without the user continuing with the remote control software. Anyway I wasted a bit more of his time telling him that the file was downloading very slowly, and asking if he knew of a way to speed it up, and then telling him I was getting "not a valuable execution" errors when I tried to run it. In the end the line just went dead: presumably he either worked out I was just playing with him or they are just instructed to give up after a certain amount of time and start work on the next mark.
In your first example, you use redis to cache the id's of the latests comments, with a fallback to SQL in order to populate the list. However, you still need to call the DB to load the comments. I don't see the gain here.

Yes, you've replaced a "select * from comments order by created_at limit 10" with a "select * from comments where id in (list_of_ids_from_redis)".

Wouldn't you cache the comment models in a top-10 list?
I think he meant do not follow their instructions through the actual phishing part.
I've read about Redis before and heard how companies are using it, but never completely understood it's purpose. After reading this I can actually say I understand Redis now and how it's useful. Amazing that after hearing so much about it all it took was a relatively simple article.
Actually, that was hilarious.
Well played.
How can a code editor hint at code nesting level without indentation?
Social Cubes
Here are social icons psd from Charlie Dean.
Are you advocating false advertising? It's ok to mislead your customers, just so long as you cover yourself in the EULA?
Two of the more critically acclaimed (or at least fan favorites) titles:

A Mind Forever Voyaging

Trinity

Both games really emphasize the narrative bankruptcy of modern games. The fact that people were developing games like this back in the 80s is kind of mind blowing. If Bioware put out 'A Mind Forever Voyaging' with nice shiny graphics the gaming press would be all over it as the greatest game ever.
I take the occasion to ask here if someone could point or write some documentation on unittest in Flask. I am trying to get that right using mongodb...
1. Just because there is no license available doesn't mean you can just use it anyways.

2. He never asked for the license before using it. Only after he was sued did he ask if he could have gotten a license.

3. It was a commercial product.

4. The "compulsory license" does not give rights to do whatever the person wants with it. From the wikipedia page, it gives the right to rearrange the work but not to change the melody or fundamental character of the work. I know that the remix artists 2 Many DJs were not given permissions to create versions of certain songs. So it is most definitely not cut and dry as this claims it to be.

At the end of the day, he created a derivative work to be used in a commercial product without, as a minimum, even asking for permission.
So, is there counter-advice?
Lots of the IE6 only "webapps" use (in part at least) ActiveX controls.

That's what makes them so hard to port - they aren't really webapps at all - just (old style, non .NET) client-server VB programs that happen to be deployed as ActiveX controls in a web page.
Sometimes you pivot because you don't have any customers to listen to in the first place.
The company pretty much scattered. Probably the biggest chunk of Ex-Be ended up at Danger Research.
A political theory ... advocating class war and leading to a society in which all property is publicly owned and each person works and is paid according to their abilities and needs.

1. No more class war
2. Property might be "publicly owned", but it's as good as private.
3. There is an absolutely huge disparity in income. My elevator operator got paid 500 RMB/mo, while each one of the random gifts I got for just happening to be close to someone important, was over 2000 RMB.

A relative of mine recently bought a large plot of farm land from a bunch of farmers, for a substantial sum of money - much more than its value. He spent a load of money and bought high-end equipment and machines, and hired agricultural specialists to consult on best practices. He started growing high-quality fruits/vegetables purely for family consumption, and as a pass-time. In fact, when he's bored, he just goes to the farm and starts farming.

After a while, the farmers realized how much value their land had gained (not due to economic reasons, but because he had invested so heavily in it) and started to complain. The government did absolutely nothing. What I'm trying to emphasize is that class wars are no longer in place, and recognition of private rights are soaring. China, really, is a capitalist state... a capitalism without democracy.

Just because not everyone can be a leader, doesn't mean it's a communism. Do you know what happens when anyone can be a leader and run for office? Take Quebec for example. In the most recent Canadian elections, a girl ran for MP (Canadian congress) for lulz, and went to vegas during the election. She did absolutely no campaigning, and came back to find that she had won the seat.
There's a wide difference in overall sugar intake between the US and countries in Europe.

US: 152 lbs. per capita
UK: 80 lbs. per capita
Canada: 117 lbs. per capita
Russia: 112 lbs. per capita
France: 79 lbs. per capita

You can play around with these numbers at Wolfram Alpha:

http://www.wolframalpha.com/input/?i=sugar+consumption+per+c...

http://www.wolframalpha.com/input/?i=sugar+consumption+per+c...
oh, so i wasn't dreaming about the post. :)

Assuming they were censored, I wonder what the reason was. Could it also be possible that the OP deleted it himself? Nevertheless, you're right. It was quite an odd move to remove the post.
And pi in Greek is pronounced 'pee'. Still lots of pun potential, but maybe not the kind you'd want. ;-)