Category: Tumbles
Mock geolocation
Useful if you’re working on a website meant for mobile devices. Firefox 3.5 has geolocation, but I use this with Safari and GreaseKit. Replace with whatever latitude and longitude you prefer, naturally.
if (!('geolocation' in navigator)) {
navigator.geolocation = {
watchPosition: function(success, f, options) {
var broadcast = function() {
var position = {
coords: {
latitude: 30.2696384,
longitude: -97.74947,
accuracy: 10000,
},
timestamp: (new Date()).valueOf()
};
success(position);
};
broadcast();
window.setInterval(broadcast, 10000);
}
};
}
A stream‐of‐consciousness browsing session brought me to this writeup on how the Source engine deals with lag. Also serves as a parable for web developers — don’t rely on the client to validate input, for the same reason that a game server can’t trust a participant to tell it if that bullet hit anything. See also Ninjam, a clever latency workaround for online jam sessions. And consider that even without the inherent delays of Internet traffic, the speed of light would be a constraint on distant collaboration.
Uncharted 2: Among Thieves
You don’t need me to tell you how good this game is; the rest of the gaming world got there first. I don’t know if any one game can be a “system‐seller” — but if you already own a PS3, it’s inexcusable not to own Uncharted 2.
It’s not just good; it’s unusually, surprisingly good. It’s unusual for a game to be this much better than its prequel. It’s unusual for a game to make such large graphical leaps over its prequel on same‐generation hardware.
I was saying around the office that I think what was missing from the Lieberman public option sellout deal was a healthy dose of liberal catharsis. Like if Lieberman got the leadership to agree to drop the public option, but in exchange Bernie Sanders gets to slap Lieberman five times in the face as hard as he can.
How good was Drew Brees on Monday night? Cold Hard Football Facts says he was nothing short of obscenely fantastic. Five touchdown passes (against a Belichick‐coached team), a perfect passer rating, and 16.13 yards per passing attempt — accomplishments that range from rare to extremely rare to unprecedented.