skysight-inc/HackerNews huggingface dataset:
The trick is to use a time accumulator. Each update you add the display deltaTime from your high resolution timer into this accumulator. Then, while there are whole increments of your dt available you run a physics step and subtract the physics step dt from the accumulator.

I've got to be missing something: doesn't that yield fairly jerky motion? I thought that the 'obvious' solution would be to keep the physics time steps fixed, while interpolating (between physics frame) the position/orientation of objects at drawing time.

Oversampling is where you have an insanely high framerate (or you are viewing physics in slow motion) where one physics frame accumulates over several display updates.

So... If drawing is at 200 FPS and physics at 50, you end up redrawing the exact same frame 4 times. So what's the point of 200 FPS?
Oh, I definitely don't believe it is a Rails-only issue, it just seemed odd that the loudest discussion going on right now seemed to be focused on Rails. It just feels odd to attach it to a specific technology.
That's excellent, thanks!
You should make the cursor snap to the first text box upon loading of the page

Can you make it not autocomplete text in the text field? Eg, type UK and it fills in UKraine ... nicer if it only auto completes when I click a result / select with arrows and press enter/tab.

Make the error page (select 1 country and click submit) much nicer, ideally inline javascript.

I'd make the results auto generate above the text fields, this way I can easily enter another two countries to calculate simply by pressing tab a few times.

It's also too hard to return back to the home page (assuming you don't do the above suggestion) -- how about a little image at the end of the sentence which when clicked takes you back to the homepage?

thats all I can think of right now - cool app!
Also thanks for the reply.
Stay in school and wait it out. Don't drop out... If you must, find a way to program in school. Go to teachers and request that you can go off by your self because your making A's in their classes. Most will listen and understand.

Go to a computer room when you can and build something great. Even though something is boring in your life and its mandatory for our society, do it. If people describe it as mandatory, do it.

A little story: I knew a guy in my school that made his first million in 10th grade. He dropped out and never looked back. You sir, don't have that luxury unless you decide to start now and make your first million. If you want out, strive to achieve what you think will actually get you out and keep you from working for "the man" in any other job....

Also, if your a child prodigy, think about going to the NSA website and crack a few of their codes... They are always hiring....

I also suggest you watch a movie called "Good Will Hunting". It struck home for me. Maybe it will for you.
The problem is that it was also the programming community that is pointing out that the guy was being kind of a douche. You are taking a very small portion of the community and extrapolating extremes from that. The plural of anecdote is not data.
I think your English is fine. It's not perfect, but it's better than many I've read. Concentrate on making sure you have something to say, then say it as simply as you can.

It's a good start.
"Cheerleader come over and ask about programming? Shot down"

In what planet did you grow up?
Research needs to go into secure programming environments, not secure operating systems. The vast majority of horrible security flaws never come within a mile of the kernel.
New report reveals hottest apps, best traffic times
Code as much as you can.
I don't know about that, the college I went to to get a degree in Mech Eng had strong ties to industry and did lots of useful research. Most of the professors had consulting gigs on the side; the chap that taught us Thermodynamics & Turbomachinery was doing real jet engine design, the chap that taught us about control systems was also working on real systems for North Sea oil rigs.

It's only in the humanities and so-called soft sciences that academia's disappeared up its own backside.
You could also think about using geolocation to pre-populate the first box. They have a free database and API that would work for this application: http://www.maxmind.com/app/support
Right.... as opposed to the rest of the population arguing over which (baseball team, basketball team, hockey team, football team, soccer team, nascar driver, music group, shoe label, clothing label) is better, which while I guess isn't "elitist and closed-off" definitely says certain things are better than others, usually for no reason, and often for bad reasons.

Or in other words, so-called nerds have different interests than the rest of the population, and they act completely normal about those interests within their peer group.
your legs were an inch longer or more due to the increased shoe cushioning.

hence you experienced a slight increase in speed.
This is just a long-winded version of: http://www.b500.com/~hplus/graphics/game_loop.html
No Smalltalk or Lisp? Seems like an odd list.
Do It Yourself Biohacking
Another point of view is to be disappointed in language theory, if one can be so incredibly successful without it.

Reminds me of Edison.
I'm a high school student myself (senior). I skipped massively (like 50% of the time I wasn't in class) in 10th grade, and after 10th just went to do Running Start. It's a form of dual enrollment and I'm going to community college now; I haven't set foot in HS (except to get authorization forms) in two years. College is different from high school.

Try something similar. High school is a massive, pointless waste of time. It's like prison. Get out of it by any means but be smart. Meaning: don't go apeshit and kill your classmates. If you do drop out, have a plan on how you can give people what they want so they can feed you and clothe you. May be you want to spend the rest of your days working in a Walmart, but probably not.

Anyway, don't stress over it. You're in a fucking America, you won't die of hunger :) And you'll die regardless of whether you went to high school or not, so don't worry. It doesn't really matter in the long run so enjoy the fact that you were born in this perverted (but fun) world.
http://www.usgovernmentspending.com/downchart_gs.php?year=18...
Scientists take a page from online journalists
I'm not in the Ruby community, but here's what I've gathered:

There was a talk at the Golden Gate Ruby Conference called "CouchDB + Ruby: Perform Like a Pr0n Star", which featured an extended porn-industry metaphor and what some have described as softcore porn in the slides. This talk created a lot of discussion in the Ruby community, in particular about the effect this kind of talk has on the female attendees, and the general atmosphere of the conference. It also caused the Ruby community to introspect on what kind of environment they are creating and how it affects people who are not heterosexual males who may wish to participate in that community.

See the links posted above by swombat for some of the discussion.
I just want to know how you can hold up the "Rails community" as a positive example of socially well adjusted people, when their acknowledged leader just explicitly approved of a presentation that would obviously result in complaints of sexual harassment in any normal workplace setting (and did result in such a complaint, although given in an almost apologetic tone because she knew that her complaints would not be well received by the Ruby community, and was proven right).
>if you're prominent enough in a field to be asked to review papers,

There aren't that many prominent people in a given discipline (and some of them do a poor job in reviewing anyway - slow, etc). It's quite normal to have a nonprominent person do the reviewing.

This is, after all, peer reviewing.
...That's almost exactly what my article was about. It was that smart people exist in every group, and so by trying to use intelligence as an excuse for rejection you're causing trouble where there shouldn't be any.

I mean, considering I'm criticizing the nerd social atmosphere in a lengthy post, it's unlikely that I'm saying nerds suck because they're smart.
if i hadn't dropped out of high school and gone to an "early college", i'm not really sure where my life would have ended up at. something to look into:

http://www.simons-rock.edu/
http://www.earlycolleges.org/
Why are people still recommending SVN? Do some people enjoy merge conflicts?
Launching a Startup in One Week
"professionally I would never pull a stunt like this, or even consider it because of the risk of offending someone."

I find this a pretty craven position to take. You are always going to offend someone unless you offer only the blandest of commentary. Do you really want to let your speech and actions be guided by the lowest common denominator?

"What makes it worse though is that the offender will not apologize"

Because he feels he has nothing to apologise for? What do you want, a fake apology?

Hey, you didn't call me Sir. That offends me. Apologise.

"or even try to see the other side of it"

There is a limit to how far you can go trying to "understand the other side". Sometimes the other side is just bullshit.

Imagine you give a talk about evolution. It "offends" some young-earth creationists. Are you really going to try to "see the other side"?

"which is then magnified by the core team members backing him up on it"

Kudos to them, they didn't have to step into the ring, but I'm glad they did.
> What's the risk for nerds?

The risk, of course, is that they'll screw something up and the tormentors will continue to torment. These are generally socially awkward people we're talking about. You're being rather silly to suggest that someone who isn't at home in social situations to begin with and has been ostracized for pretty much their entire life is not at risk of real failure in a social environment.

I'm glad that you were successful in your social ladder climb. But you are pretending that _everyone_ will be successful. It's simply not a foregone conclusion - there are losers in this game, even among those who try their hardest not to be.

> you realize that nobody is any more at risk than anybody else

This is so very false that I don't even know where to begin. Are you saying that there are not real advantages and disadvantages in social situations? Can you not see that the captain of the football team is way less likely to be harassed than the math dweeb?
"Any way, don't stress over it. You're in a fucking America, you won't die of hunger :) And you'll die anyway, so don't worry."

Awesome rule to live by!
Yeah and another of those themes is how the founders at id, Microsoft, OSF, Apple and so on used to code the whole night through.
Time and Space Tradoffs in Version Control Storage
My Mac-using business associates have told me a hundred times that my (Java Swing) program is an abomination unto the eyes of Jobs and will never sell until I embrace the One True Way to do a Mac interface. (I'm a Windows programmer at heart and my Mac port most certainly has issues -- some of which I'm cognizant of, and some of which I addressed over the years.)

But regardless of my friends' feelings on the matter, my stats just do not say that Mac users are rejecting the program. They convert at fully twice the rate of Windows users. If anything I need to look at what I've screwed up in doing a Windows-y interface that wasn't Windows-y enough, apparently!
I think GvR's special expertise is more in the 'user-interface' of programming languages than in their implementation. The whole point of Python, really, is to put the former before the latter; which is exemplified in GvR's 'readable-stack-traces before fancy-features-in-the-implementation' reasoning on the present point.
how about classic Converse shoes? Those have a flat and thin sole. I wonder why they weren't mentioned in the article, since the brand is quite famous..
Because it's better than nothing at all. And way better than VSS, which what the target audience of this article is probably using.
Anything new about exo-kernels?
"Sure, there were dicks, but who cares about them?"

The real problem seems to be school violence and bullying, and it seems that in the U.S., at least, this is a non-trivial problem.

Dicks you can just ignore are one thing. Dicks who beat up kids smaller than them or pick out kids to ambush with their buddies, cannot be ignored. Sounds like this was not the case at your school, which is great. But it changes everything when violence is involved, and explains why unpopular "nerds" could display exclusion and paranoia, literally as a survival mechanism.

In schools where violence is not widespread, I think Rory's comments have more validity.
Also, please tell us more about that resin, you shoe-hacker, you!
One important point is missing: If I want to phone to Germany, I have to omit the first zero of the area code. Phoning to Italy I mustn’t omit it.

Make the result inline javascript. One page load less.

Additionally, wouldn’t it make sense to add some "dial this number now with Skype" or some related service?

Good service.
Perhaps the camera can move between diplays frames, while the physics frame stays the same?
Do you have any suggestion? I don't know anything better then SVN :(.
It's a tautology to say that people who could run before running shoes were invented didn't need running shoes, it ignores the possible runners that dropped out.

Running is a mechanical process. If there is something wrong with your feet, say your arches are too low or too high, or if one of yours legs is longer than the other, you will have problems with your gait that will likely increase your chance of injury. I don't see how history plays into it.
Interesting data point: On a $/mile basis, my friends who run spend more on running shoes than I spend on gasoline for my car.
It sounds like you expect yourself to have everything figured out. Life is simple but not easy. Believe me, most everyone I know does not have life figured out in the mid-twenties and early-thirties. Life is not a puzzle, it's life. You think, you have it figured out and then another challenge/curveball comes along (layoff/marriage/divorce/best friend dying/whatever).

As someone wiser than me once said, high school is probably the most structured experience you'll have unless you end up in prison. College is different (if you decide to go).

High school is a geographical coincidence. College is more your choice.

You only have two years left in your "term". If you drop out, your parents very well may decide to kick you out (as in, why should they support you if you're not supporting them [by not dropping out]).

Unfortunately, in this white-collar society, having a high school degree is almost a bare minimum requirement for being hireable (in some states, McDonald's will not hire non-HS/non-GED)

> I absolutely can't stand wasting time.

Please read this:
http://www.fourhourworkweek.com/blog/2009/04/13/stoicism-101...

> I'm introverted and spend most of my time reading or obsessively working on hobbies like programming

As someone who is much older than you and very much has considered the possibility of dropping out (e.g. quitting my job), please consider what you will do for income if you are not in school. Are you active in community/open source? If not, why? What kind of brand/reputation in the open source community have you built? Enough to do paid consulting?

> But, I spend nearly every moment outside of school learning, just because I love to do it.

You're like me. You're using absolutes. Contradicting yourself. I'm guilty of those self-lies too. No one spends every moment learning. Otherwise, you would be learning that which would have a greater relative impact on your navigation of this world (e.g. organizing introverts together, taking the lead, social and other-ness).
On this Mac laptop, screen at full brightness in daylight, I can hardly see the grey text.

Although it says 'country' I can see a lot of people typing in cities. Any way to resolve those as well?

Also: trim whitespace. I typed in UK, hit space to remove Ukraine as a match, and it said no matches for "UK ".
Mint makes your finances fun
mint makes your finances fun
"inconsistent and unreasonable person", like "madman" is still stating your disagreement at the lowest intellectual levels. See http://www.paulgraham.com/disagree.html
You need to remove the personal attack ("person") and just point out that the ideas are inconsistent.

Refuting one sentence is useful, but does not refute the central point.
I wasn't responding to you directly. Your comment put forth the assertion that God said something. He didn't. It's not in the Bible and though some Christians claim it is true, that doesn't make it so. Sorry if I wasn't clear about that.

PS: You can't claim to pass over something while talking about it in a PS.
To be completely honest, if I were to go back to elementary school and look at when I first started being divided from other kids, I'm almost certain it would have begun with me being an arrogant brat because of my intelligence. When you're bright, it's too tempting to try and rise above teasing by claiming superintelligence. I'm not saying that arrogance is a bad thing, but I feel that people who are persecuted for arrogance should at least admit that their own attitude is partly at fault. Of course, such an admission makes persecution less likely to happen. It's a nice circle.

Personally, I find it much more helpful not to worry about who to blame for unpopularity itself, and to focus more on what is _done_ to the unpopular. And the responsibility for that is much more clear.

To discuss a problem, you need to get to its root. The root of the problem is twofold: people on one side are too willing to ostracize themselves, and people on the other side don't want to spend time learning about people. My belief is that it's not the responsibility of others to spend time trying to understand you. I think that bullying is a problem, but frankly, if nerds were ostracized but not actively bullied I would find a hard time blaming the other kids and not the nerds. I actually discussed this problem with a professor: my solution to this problem would be twofold. First, get the other kids to realize why nerd things are cool. If people think programming is really super neato, then suddenly programmers are neato too. (It worked with math in my school: once you like math, then math geeks are pretty awesome kids. By my junior year all of the math kids hung out with the jock/class clown group.) At the same time, though, you've got to do the same in reverse. Teach the nerds to appreciate the non-nerds. Intolerance works both ways, and there are a lot of people willing to dismiss sports players or actors or musicians or artists or preps as stupid and meaningless, and what this essay's all about is that in my experience, the nerds are usually a lot less tolerant than the other people. My first day in college, when my roommate arrived, I was unpacking a virtual library, and he was carrying a volleyball, and my first impression was that we wouldn't get along because he wouldn't "understand" me. This year's taught me a lot about how you can be smart and not be a nerd, and I honestly think that the nerds are less aware of this than the other groups.
I went to college when I was 16 at http://www.tams.unt.edu/

Most states have these now.

Look into it.
What about Assembly and C?
It made some good points, but was far too black-and-white, and I lost all respect for the essay when the writer started fellating Mark Zuckerberg.
Yeah. Unfortunately (or fortunately, depending on your position), users are often content with "good enough". The apps I mentioned (Adobe CS4, Firefox, MS Office) obviously haven't suffered in the marketplace. People complain, but enough buy that it really isn't a huge issue.

That said, having a truly native interface can't hurt: if you were to pit a native interface against a non-native one, the non-native application would have a hard time competing.
Two of my friends spent six years in Denmark, and had real difficulty adjusting to American high school. So they enrolled in the local community college to finish up their diploma. You might find that model easier to deal with.
TIME's purpose with the poll was to drive traffic and interest - the integrity of the poll is a very distant second concern. Throw up barriers around voting and you remove the participation and thus traffic from the equation.
Sometimes your vote does not have an effect on the "true" count on the server. For example, try voting every comment on a page down, and then reload to see the real counts. This isn't "evil" per se.
IPhone Owners Don’t Use Their Devices For Work? Yeah, Right.
> But there's an attitude amongst this type of person that says they are entirely not to blame for the harassment they get

They _are_ entirely not to blame for what they get. What they _are_ to blame for is their own behavior.

I don't have a problem with you saying that some people are irritating and do annoying things. What I have a problem with is the suggestion that they _share in the blame for what others do to them as a result_. There is a difference there, and it is an important one.

To be clear, I am going on the principle that a person is alone responsible for their actions, and not for those of others.
when I was in high school, I loved my track shoes, they were just this sculpted shoe wth no padding almost like a slipper and we would put our screws into them.

I felt like I could fly when I wore them.
I [...] expect Python to die well before the end of my professional career [...]

Why?

I do invest my time in longer term languages such as Scheme and Haskell.

What makes Scheme and Haskell "long-term" languages?
What's your aversion to home schooling? You could get a job (part-time maybe) as a programmer and do your school work at the same time.
I think my group of friends prided ourselves on being a little more inclusive, an easy distinction to achieve, but we still followed the same pattern the popular people did and the same pattern followed by HN: we valued the current state of our group and wanted to protect it. We knew we could drive out most people just by being ourselves, but more desperate people had to be sent social cues saying, "You're welcome once in a while, but don't push it." I don't remember us being overtly rude, though.

I remember being particularly mortified about a retarded kid who kept coming and talking to me about his chances of getting into "Hahvahd." I don't know who was messing with his head, but he honestly thought that being an Eagle Scout (honorary, I'm sure) gave him a a good shot at getting into Harvard, and he wanted to talk to me about it. The retarded kid was a bit slower with the social cues. I hated him for that. And I was smart enough to know that's how normal people felt about me, which made me hate him even worse, but I never made fun of him to his face.
I think one area in which this might not be true is gaming. Since so much of games are abstracted away from the OS anyway, it's not too hard to provide an identical interface on multiple platforms. It's not the best example, but I can't avoid a shameless plug for my checkers game [1]. It's in java, and I like to think the UI isn't horrible on either platform.

[1]http://www.tranquilapps.com
Take every AP exam available, that will knock off all the easy classes in college that will equally waste your time and you can get out of some high school classes now and do it as independent study. I took 5 or 6 in my junior and aced them all - including two for subjects I had never even had class in. Just pick up some princeton review books and go at it. By the time I got to college I had 40 credits already done.
I saw Grady Booch give a presentation at SIGSCE one year -- actually a very interesting guy and a dynamic speaker. He said a quote that has stuck with me since: "Hardware eventually fails. Software eventually works."