HNHacker News
TopNewBestAskShowJobs

devinj

687 karma · joined February 25, 2010

I'm a programmer who enjoys video games and long walks on the beach.
submissionscomments
devinj··on Recursion: The Art and Ideas Behind M. C. Escher’s Drawings
Very much relevant to anybody who found this interesting: http://www.amazon.com/Godel-Escher-Bach-Eternal-Golden/dp/04...

I found it in a used bookstore for $5 once, totally by accident. It's probably the best nonfiction book I've ever started (I unfortunately never bothered to finish, which isn't so good. It's still in my backpack in case I ever get stuck anywhere...).

devinj··on [dead]
Not really. Actually I think the GP was mistaken. The big reason gamers don't want 24FPS is because if it's 24FPS during normal play, it's gonna stutter. There will be times when it goes down to, say, 12 FPS, if not lower. And 12 FPS is simply not good enough for anything.

And of course, there's one thing about employing sophisticated motion blur-- you're not going to do it just to lower FPS. Real motion blur is quite expensive. There's really no point except for the visual coolness.

devinj··on The Most Influential SF Movie Never Made
The Dune miniseries was wonderful. I watched it as a kid and never got over it. It's a very nostalgic thing for me.

Maybe it doesn't match up to the book, but if I ever read the book it would only be because of the miniseries and comments that the book is even better.

devinj··on 'Remove Google Background' surges to number 2 in Google Trends
Pretty easily. If it's distracting or somehow bad for me, because of the aesthetics, I could dislike it for logical reasons.

If I open up a law firm and then the decorator puts a gigantic mural of H.R. Giger's work on the walls, I'd probably be less than happy, and not because of emotional reasons (although it would be pretty creepy). It'd be bad for business.

Similarly, if Google's new change increases load time or distracts me...

devinj··on [dead]
Have you ever read the original version(s)?

( http://www.jennifersdreams.com/inspirations/footprints.html )

devinj··on Dynamic typing and anti-lock brakes
Static typing is like a helmet that forces a speed limit, too. It won't necessarily help you experiment faster-- the common wisdom is that it does the opposite, in Java/etc. style static typing.
devinj··on Apple's "evil/genius" plan to punk the web and gild the iPad
You could or you couldn't?
devinj··on How to turn a sphere inside out [video]
Sorry for the lack of clarity. I meant that the form of presentation should be useful for aiding understanding, not coincidental. I didn't mean to implythat the content itself should be useful (in the sense that it has practical applications). It's OK for a video to just be a little mental puzzle.
devinj··on How to turn a sphere inside out [video]
So well spent that it didn't even feel like 20 minutes. This is what videos should be like-- not essays delivered more slowly and painfully, but real useful things presented visually in a way that takes full advantage of the medium.
devinj··on Apple's "evil/genius" plan to punk the web and gild the iPad
No they're not. They're welcome to submit an app to approval. They have no freedom to control what gets released.
devinj··on [dead]
Did you rape and murder a little girl in 1990?

Questions aren't that much better than statements.

devinj··on Ask HN: "Platelets" for stopping the oil leak?
What more do you need to stop bleeding? It's not like we're worried about gangrene here.
devinj··on What Python Fixes
Because then it would look as if she were off-topic.
devinj··on Platforms are for Suckers: Why you shouldn't build your business on one.
It still happens, though. See: Facebook and Zynga.
devinj··on Anyone Interested in Articles on Using PyPy to Create New Languages?
Yes, absolutely. A project I've wanted to run with for a bit is writing a Scheme implementation in PyPy. It would provide a wonderful way to better learn the parts of Scheme I don't know, and use Scheme alongside Python code (which is nice, because it would mean I could conveniently use Sexps as a data language and do the data handling in Scheme, but do the real work in Python, for example). I'd been looking into some of it idly, but as you say, there isn't much.

More significantly, one of the projects I've been working on really requires a new language, and while I could implement using, say, PyParsing and so on, having free JIT is really nice.

devinj··on Cells. A massively multi-agent Python programming game.
PyPy's sandboxing hasn't been as thoroughly analyzed and tested as, say, Javascript's (not by far) or Java's, but the actual construction is simpler and arguably better. The PyPy devs, at least, are fairly convinced of its robustness. Basically they whitelist system calls and all other calls are translated to sandboxed calls during compilation of the sandboxed interpreter, as I recall. This is entirely different from CPython's restricted execution, which was essentially a blacklist of Python calls/attributes-- every attempt at such a system has died a death of a thousand cuts; it really pays to do it from the bottom up like PyPy or E.

It might not be ready for prime-time in some very critical systems (like a web browser for example) but it's honestly probably good enough for this, especially in combination with process jailing as you suggest. I might consider trying to patch Cells up to use PyPy's sandbox instead of the non-solution currently implemented (I cried (okay, groaned) when I heard about it-- yeagh), when I have time, and if nobody else does it first. I'm a bit worried anything I write now would get lost or broken in the incoming tide of patches/changes anyway.

The main problems with using PyPy's sandboxing is probably with communication to/out of the sandbox, which is apparently problematic. I also anticipate some complaints about relying on PyPy in the first place, which is rather abnormal compared to using CPython-- using and relying on PyPy-specific features is pretty much unheard of.

devinj··on Smokescreen - a Flash player written in Javascript and HTML5
He's not your friend, guy. That phrase needs to go away.
devinj··on Cells. A massively multi-agent Python programming game.
PyPy has no such limitation. PyPy has perfect sandboxing.
devinj··on Living in denial: Why sensible people reject the truth
The Junk Science site is scary, because it's so close to the truth. You really shouldn't take "may" or "possibly" as a statement of fact, and it's true that statistics can be used to manipulate facts and present false ideas. And yet much of the site is about denying ("debunking") real science, not pseudoscience.
devinj··on GCC starts move towards implementation in C++
throwing an exception in the constructor comes to mind

I don't know C++ and thus don't know all the different ways to break constructors and destructors, but this particular way will be banned-- exceptions are off-limits.

I kind of think that the worst part of all of this will not be the C++ code that is added to gcc, but the massive bikeshedding that looks to be inevitable at the start.

devinj··on [dead]
Which means it wasn't a terrible invention at all. So again, why is it on this list?
devinj··on Berp: An implementation of Python 3, that compiles to Haskell
As an goal in and of itself, it seems like one would go "did it get rid of frame introspection?!" in a happy voice, rather than "does it support frame introspection?"

Maybe you wanted to ask, "does it run Twisted and/or Zope", which use frame introspection (sadly, so very sadly), but otherwise, yuck.

devinj··on Peter Norvig's book reviews on Amazon
Hero worship is sadly not transitive.
devinj··on Lobsters and Crabs Feel Pain, Study Shows
I'm not sure you've ever seen an injured worm.

As for ants:perhaps so. The thing is, ants are really different and interesting. As I said, perhaps some animals don't feel pain, but they'd have to be pretty weird. I would suppose ants qualify, being essentially borg, which is pretty out there. Lobsters, not so much.

devinj··on Most "mad scientists" are actually just mad engineers
Nah, the LHC dudes think there's an actual zero risk. The LHC doesn't produce collisions of any magnitude greater than collisions that occur in the upper atmosphere (from what I understand). That was the ultimate debunk of things like the whole "microscopic black hole will eat the earth" thing.
devinj··on Gesture-Based Touch Interfaces: A Step Backwards in Usability
Disclaimers are for avoiding liability. i.e. you adda disclaimer because you have some hidden agenda or other fact that hurts your cause. Caring about usability on the web isn't any of these things. It's really more of a "and it's not like I dislike usability, either," sort of addendum rather than a disclaimer.

Anyway, I'm not convinced. Usability matters to everyone, not just people that can't make heads or tails of the interface. The point is not only to make it usable at all, but also to make it easier to use, and at times, faster to use. So, sure, maybe a ferrari isn't usable by those that are somehow physically handicapped and unable to walk. But you know what? That doesn't have to be the case, and indisputably the ferrari would be better if it was usable by everyone without sacrificing anything (except the "freedom" of the engineer to make it hard to use for some people). And that's what usability, and accessibility, is about, isn't it?

devinj··on Lobsters and Crabs Feel Pain, Study Shows
Wait. You mean people thought they didn't?

I'm not at all experienced in the realm of animal activism as it relates to lobsters and crabs, but did people really think that animals didn't feel something akin to pain if you ripped their limbs off? Pain is a vital mechanism/motivation for survival and thus evolutionarily advantageous. Maybe some complex animals don't have it, but they'd have to be pretty weird (although I admit, lobsters and crabs would be in the right category-- it's not going to be a vertebrate that feels no pain-- they aren't particularly unique in terms of how they grow and die).

devinj··on Why I Switched from iPhone to Android
So let me get this straight, you're saying he should get over the fact that Apple is acting against his interests, because Apple doesn't care about his interests? How does that make sense?

It sounds to me like the sensible choice is not to stick with a company that doesn't care about you, but to switch to one that does. Which is exactly what he did.

devinj··on 10 tips for writing perl one-liners
Well, there are languages I learn to improve my mind, and to improve my craft. As far as the mind goes, perl is nothing new (on the mind to-learn list: Haskell, OCaml, Eiffel, Erlang). Craftwise, it looks very useful.
devinj··on Head mounted camera tracks with your eyes
Yeah, I'd read about them sometime in the past, but to see it so visually is jarring.
← PreviousPage 4 of 9Next →