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 Recession Proof Graduate - How to get any job after college
As a software developer, I would have figured contributing to major open source projects to be equivalent or better than this. Still has the same element of demonstrating your skills, but also shows that you can work in a team, do things like unit tests etc., and actually know the codebase for whatever project you contributed to.
devinj··on People who have inspired us
Nobody can say who inspired them but themselves.

I like that Frank Lloyd Wright made it on there. Love that guy's work.

devinj··on I stood there, an American citizen, sexually assaulted by a government official
There is. That is the assault law. Unless you're suggesting that grabbing someone's breasts is never sexual assault...

Force means something a bit looser than you probably think it does. A light tap can be considered assault, let alone grabbing and poking.

devinj··on How Israel handles airport security
No, you'd take a ceramic knife most likely. Much sharper, and still wouldn't be detected. I suspect the test is more for guns than knives.
devinj··on I stood there, an American citizen, sexually assaulted by a government official
You quoted the first paragraph of the section on assault. The definition of "consent" as used in the first paragraph is given in the third paragraph. It also covers the case of false pretenses:

(3) For the purposes of this section, no consent is obtained where the complainant submits or does not resist by reason of

(a) the application of force to the complainant or to a person other than the complainant;

(b) threats or fear of the application of force to the complainant or to a person other than the complainant;

(c) fraud; or

(d) the exercise of authority.

I was referring to part d. Part d would also apply to TSA officials as far as I know, but if they were on Canadian soil they'd probably get some special exemption. Also, I don't believe they technically do the searches on Canadian soil. Airports are weird.

devinj··on I stood there, an American citizen, sexually assaulted by a government official
Maybe the first question is whether it's assault. It's assault in Canada, at least, because the doctor was abusing his authority in order to touch you. This removes any possibility of consent.
devinj··on Are Canadian Universities 'Too Asian'?
Huh? Why wouldn't someone believe that?

Being an unproductive member of society living on welfare sucks money from the state, which could otherwise do things like offer more support (healthcare), improve infrastructure, fund medical research, etc.

devinj··on Gmail Creator Paul Buchheit Leaves Facebook for Y Combinator
Not particularly. What's odd about it?

It's slightly more complex than desirable for good writing, but it's certainly well within normal bounds for size, especially for news articles. News articles do that sort of thing a lot.

devinj··on Are Canadian Universities 'Too Asian'?
This is more of an interesting concern, especially considering how much money Canada spends getting students in. I don't know the numbers for emigration, though. Have any figures?

It's possible that they still stay here, but don't start companies like ATI anymore. Being anonymous employee #5761 at ATI is cool too.

devinj··on Are Canadian Universities 'Too Asian'?
I'm a UofT student, and it's the same here. There's nothing particularly bothersome about having a lot of students from Korea and China. There's not even really much to get used to. Yeah, there are asians. So what?

The parents in the article claim that the asian students beat them out, but honestly, it was really easy to get into this university. I had terrible grades in my first two years of high school, and for the most part I was rejected by (good) US colleges (probably also because I didn't have my green card). I was even forced to apply later than students in Canada, because I did not go to an Ontario high school and had to fill in a different form with a later submission date. All these things would seem to be disadvantages, and I didn't figure on getting accepted at all. And yet I got into UofT (and Waterloo). It's remarkably easy to get into a university like this -- possibly because you're only allowed to apply to three Ontario universities -- and I don't buy the parents' arguments at all. More likely their kids got terrible grades, and that's nobody else's fault.

Honestly I can't believe we're even having this discussion. The last time I heard about fears of Chinese immigration was in history class.

devinj··on Firefox 4.0 Beta 7 - Super fluid, beats everyone on sunspider
V8 JIT-compiles regular expressions. I don't know what C/C++ do -- I'd assume they run the state machine directly, but maybe they do compile it further like V8 does.

http://blog.chromium.org/2009/02/irregexp-google-chromes-new...

devinj··on How Fast Light Leaves Earth (Video)
I want to like this, but it's too unrealistic. Traveling at near-light-speeds looks very different from that. It's missing at least massive redshift and distorted visuals.
devinj··on HTML5 Security Cheatsheet
What is this, a cheatsheet for creating an HTML5 blacklist? Why would you ever do such a thing?
devinj··on Python Patterns - An Optimization Anecdote
You mean "incorrect". Also, I did post detailed timing results above.
devinj··on Python Patterns - An Optimization Anecdote
Point 3 is weakened by the fact that map can indeed be faster. http://codepad.org/SzXcubXy -- in fact, point 2 and point 3 are in conflict, because map() does use a C-loop, whereas list comprehensions do not. As it turns out, point 2 was the correct one.

Also, and this is just on a more minor, pedantic note, list comprehensions basically are regular for loops, except with the use of the list-append opcode instead of a getattr-call pair. This produces a minor speedup, but it's nothing to write home about, honest. (using a different pastebin because it has a feature I needed): http://ideone.com/dT1LG . The story is a bit different on 3.x, where list comps are implemented very differently: http://ideone.com/58FGZ

devinj··on Why A Brush With Death Triggers The Slow-Mo Effect
Yes. But not quite for that reason. A gun next to your head will make it stressful, and stress in general improves memory (even more than other emotions, thanks to the amygdala's dual role in memory and stress responses). But maybe instead of doing that, you should put your feet in ice-water or something.
devinj··on Ruby on Ramen?
Beats this stuff: http://en.wikipedia.org/wiki/Mr._Noodles

I had some really interesting (and expensive) ramen called sapporo ichiban, it was delicious. Then I discovered it had about the caloric content of a big mac, but without any redeeming qualities (a big mac has, for example, actual vitamin content).

devinj··on Inside Apple's Actual Distortion Field
Huh? To what degree? Hiding empty boxes isn't much of a coverup. It's just a small thing that adds an air of awesome, and at the same time means that if any reporter has the balls to quickly run over and unsheathe the boxes, nothing sensitive will be shown.

Putting real products under there would not be a very smart move. It only takes a minute or two to quickly hide something else instead before the reporters arrive.

devinj··on Ask HN: What do you waste too much time on as a developer?
Code. My projects need more documentation, always, but I keep writing new things and not adding new documentation until after I've stopped working on it for 3 months, try to get back in, and entirely forget what I was going for in the design.
devinj··on Paul Allen commits majority of his wealth to philanthropy
No, he probably wouldn't. Look, I understand that this site has a lot of startups, but don't let the echo chamber go to your head. Funding startups is expensive-- we're talking hundreds of thousands of dollars minimum, I expect, for a startup that most likely will fail. That same hundreds of thousands of dollars can save the lives of thousands of people that are starving to death or dying of disease.
devinj··on Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)
http://wiki.python.org/moin/Python2orPython3 was created recently to answer just such a question, quite recently in fact (some people were asking similar questions and the issue of the quality of the stock answers was raised in comp.lang.python).
devinj··on The grandmother factor: Why do only humans and whales live long past menopause?
Okiedoke. I wasn't doing anything except throwing an interesting tidbit out there. Personally, I find the whale/dolphin distinction (or lack thereof) fairly interesting. So I shared it. Your comment added more interesting information to the mix. I believe this sharing of information that is related to the post is what comments are for, and I think it's a worthy use of them.

It's especially what threaded comments are for. See, I can't derail a whole conversation-- I can just lead a small subthread away from the main flow. So, I figured this was an OK comment to post on Hacker News.

devinj··on The grandmother factor: Why do only humans and whales live long past menopause?
Humans and dolphins. None of the "whales" mentioned (orcas and pilot whales) are actually whales, they're both dolphins.
devinj··on That Misery Called Meditation
Am I the only person actually scared by what he went through? "Zombie" seems quite apt. I don't want to be an automaton.
devinj··on Cory Doctorow vs Canadian MP on "Canadian DMCA"
I sent an email to my MP (Bob Rae). Never got a response, but I hope it was read. I really like how James Moore is willing to talk with his opposition-- even though his opposition, in this case, is not a constituent.
devinj··on My [husband] works for Electronic Arts, I'm ... a disgruntled spouse. (2004)
I'd been wondering. EA claimed they were cleaning stuff up, if I remember right, but I never really heard much follow-up on whether the game industry (and EA in particular) had improved. Thanks for telling.
devinj··on The History of Python: New-style Classes
Er, that's not a complete misunderstanding of recursion. Recursion is recursion regardless of implementation-- he misunderstood one way of implementing recursion.
devinj··on Letter to a Young PL Enthusiast
I never said Python was perfect. I consider it seriously flawed in many respects. I'm not defending Python as a perfect language.

I'm just saying this "flaw" doesn't make any sense as such. If you want to tell me that with some perspective it's a flaw, show me the perspective, because I'm not seeing it at all. It looks pretty ridiculous on my end.

devinj··on Letter to a Young PL Enthusiast
Really? You're calling Python a messed up programming language because ten years ago it got lexical scoping? I don't know about Ruby, maybe it's had a rougher road, but that's really the only scoping rule change Python got. It got an additional keyword -- nonlocal -- recently to allow you to rebind variables in outer scopes, but otherwise no change has been had since then. If this is a warning sign, what on earth am I supposed to be watching out for? What's this danger it's warning me against?
devinj··on Recovered: Thomas Edison’s Voice, frozen in time for more than 80 years
Dean Kamen looks like he could be on the way to being a proper heroic inventor. Although people will always make fun of him for Segway. :)
← PreviousPage 3 of 9Next →