HNHacker News
TopNewBestAskShowJobs

dxq

75 karma · joined August 31, 2010

submissionscomments
dxq··on Orbit: EA's first open source project
These are just the GPL releases, but they contain bits of code from EA if you start digging. IIRC the EAWebKit release contains a big chunk of EASTL. EASTL is EA's implementation of the C++ STL that was for a long time considered so great as to be a competitive advantage.
dxq··on Apple's libc shells out to Perl to implement wordexp
Judging by both the source code and its placement in the repository (gen/FreeBSD/wordexp.c), I'm thinking it's a derivative of the FreeBSD implementation (which may itself be a derivative of the NetBSD implementation, or perhaps the other way around).
dxq··on Apple's libc shells out to Perl to implement wordexp
Source to wordexp-helper here: http://opensource.apple.com/source/system_cmds/system_cmds-6...

Also the source to the Yosemite implementation is available at: http://opensource.apple.com/source/Libc/Libc-1044.1.2/gen/Fr...

dxq··on Apple's libc shells out to Perl to implement wordexp
I'm guessing that the linked implementation probably hadn't been touched since 2008. My comment that this was source code from 2011 was referring to the fact that this release of libc (Libc-763.11) is from 2011.
dxq··on Apple's libc shells out to Perl to implement wordexp
This is source code from 2011. Checking http://opensource.apple.com will show that it's not longer implemented this way in 10.10.

Here's the current implementation: http://opensource.apple.com/source/Libc/Libc-1044.1.2/gen/Fr...

dxq··on Notch trying jsFiddle
How do you suppose event-based models are notified of changes? Ultimately you are still polling, you're just abstracting it out of your higher-level design.
dxq··on WebAppKit - create web applications using Cocoa
Your statement that Apple is the only company still using WO has no basis in fact. There is even an annual conference[1] for WO developers, in which Apple has zero involvement.

[1] http://www.wocommunity.org/wowodc11/

dxq··on C, The Beautiful Language
After finding the documentation and guides for writing nginx modules woefully inadequate, I did a lot of poking around in the nginx internals to better understand how things worked.

The code is very readable, follows good style guidelines, and has its fair share of brilliant workings. I found that the source code served as much better documentation than a lot of _actual_ documentation that I've read.

dxq··on How to build a social entertainment website
I don't know, but that's how reddit got started.
dxq··on [dead]
Please be considerate of their privacy.
dxq··on Lichess - Don't register. Play Chess.
Also, I would like to make a lichess.org bot that plays chess and intelligently talks to opponents.
dxq··on Lichess - Don't register. Play Chess.
How to troll online chess:

1. Open up Chess.app

2. Turn CPU difficulty all the way up

3. Start lichess game as black

4. Mirror lichess opponent's moves into Chess.app

5. Mirror Chess.app opponent's moves into lichess

6. Talk incredible amounts of smack

dxq··on Mechanical Keyboard Guide
The arrow keys are accessible with the function key. It seems awkward at first, but after a day of use it becomes very natural.

If it's what you really want, the HHKB Lite 2 is actually sold in the US and is quite a bit cheaper (though the switches aren't as nice).

dxq··on Mechanical Keyboard Guide
The HHKB is very much still in production (mine just arrived last week), though it can be hard to get one in the US. I ordered mine from http://elitekeyboards.com.

My HHKB is replacing a 16 year-old Apple Extended Keyboard. It's definitely not as click-clacky as a buckling spring keyboard, but it's much easier on my wrists (and doesn't wake people up when I'm hacking at night).

dxq··on Help stop the spread of NIBS (Native is Better Syndrome)
I agree. The author misses the fact that writing a native app for the iPhone (usually) means taking advantage of the well-designed UIKit. If developers all had to develop their own GUI, we'd see way more crappy native apps. It has nothing to do with language and everything to do with the tools Apple has provided to create beautiful apps.
dxq··on How to game the U.S. higher-education system
These points all individually look like good advance, but I can't stress #8 enough.

GET. A. JOB.

I'm a full-time college student attending a relatively cheap state school. I work nearly full-time as a software developer (full-time summers, every chance I get during school). I can afford to live on my own and pay my own tuition.

Though I can't tell you where I'll be five years from now, I'm sure that having zero debt and years of work experience won't hinder me.

dxq··on How to game the U.S. higher-education system
I don't really see anything in the article that I would call "gaming" the higher-education system. Maybe you could argue that the concept of going to a cheaper school for undergrad and attending a prestigious grad school is gaming the system, but that's not exactly a secret.

Achieve straight A's in high school, do well on standardized tests, suck up to professors, study absurd amounts... This is more a guide of how to fall victim to the higher-education system.

dxq··on My new Roomba + iPhone 4 = this video
The opening and closing shot were done with my roommate's 7D. The rest of it is about half an hour (squeezed into a couple minutes) of iPhone 4 resting on top of the Roomba.