2,116 karma · joined Aug 14, 2007 (19y ago) · 566 submissions
comment 17y ago · link · parent
Ask questions, share code, give an unrehearsed five-minute lightning talk, whatever. Just make sure that people have a chance to notice you, and see you doing something interesting. If you make a habit of doing this, you will start developing a professional network, and opportunities will get sent your way.
comment 17y ago · link · parent
These days, though, TDD is winning a lot of converts as a more effective means of specifying the expected behavior or code. Whether you consider that a good thing probably depends on your relative opinion of executable vs. human-readable specifications.
comment 17y ago · link · parent
Since the "last mile" bandwidth is effectively free, by virtue of being embedded in the control channel, there's no reason other than "consumers will pay it" that justifies the cost of SMS traffic.
The Internet is full of services that blast millions of tiny packets between networks (routing, DNS, etc.) without incurring significant per-transaction costs. There's nothing special about SMS that should drive costs up as much as they have been.
comment 17y ago · link · parent
As stated in the original article, the second-worst kind of credit card user from the issuer's POV is the one who immediately pays down their balance each month, without ever incurring interest or late-payment fees.
This is possible only because of the altogether too-cozy relationship between the credit rating agencies and card issuers. I think any regulation of the lending industry should start with the credit rating agencies, and move on to the banks only after they've established effective oversight and consumer protection in that space.
(Incidentally, my disgust with the normal lending practices in the credit card market is the reason that the only one I will carry is a small-limit emergency card issued by my local credit union. Since they're a member-owned not-for-profit institution, I have far more trust in their desire to serve my financial needs, rather than trying to screw me over for a buck.)
comment 17y ago · link · parent
Improve yourself: go back to school and get a degree in history, or music, or art; travel to another continent and live somewhere new long enough to learn the language; write a book, and read a lot of other peoples'.
Improve others: get your teaching certificate (usually <1 year of school) and teach math to middle-school students; tutor kids at a local library or after-school program in computers; adopt.
comment 17y ago · link · parent
I know this because I paid full price for a G1 w/o contract, and had to wait 48 hours for my data service to be activated after I bought the phone. (T-Mobile's contract-less service is slightly less crappy than most carriers', but still has some horrible problems, like not being able to change service terms mid-month under any circumstances.)
comment 17y ago · link · parent
I understand that this may be a gain in efficiency, but I can't see how anyone who calls themselves a foodie could enjoy eating the same eight dishes on a slightly-randomized schedule for months at a time.
"What's for dinner, hon?"
"Oh, we're having #7 tonight."
"Hooray! #7 is my favorite."
etc.
comment 17y ago · link · parent
Heck, when was the last time you bought any desktop system instead of a laptop for development or science work? Sun's hardware is very cool, but desktop machines that neither dirt-cheap nor monster gaming systems are a hard sell these days.
On the other hand, if you want to develop software that targets the SPARC ISA -- and there are lots of reasons to do so -- you can easily pick up an entry-level config of a 1U SPARC server, and rack it up wherever you like.
comment 18y ago · link · parent
I am a much more sociable, confident person than I was at age 11 or 12, when I first read Card's writing. Even without knowing as much as I do now about his particularly distateful (to me, at least) political and social views, it was pretty apparent that Card and I disagree on many critical ethical issues: eugenics, whether the "ends justify the means," and when (if ever) armed conflict is a noble activity.
However, the Ender's Game series (like Dune, Wizard of Earthsea, and other young adult Sci-Fi and fantasy I read as a child) still served a valuable role for me in that earlier, more difficult time in my social development. By providing role models that were not, in fact, the typical action hero, athlete, or rich businessman, they showed me a glimpse of a world (however unrealistic and disfunctional) in which a geek could get ahead.
For that (and for teaching the ever-valuable lesson of questioning the motives of even respected authority figures) I still owe a debt of gratitude to Mr. Card and his menagerie of characters.
comment 18y ago · link · parent
comment 18y ago · link · parent
By taking full advantage of fast branch and merge operations, you train yourself to experiment with many possible implementations of the same idea, without completely losing the history of your trials.
comment 18y ago · link · parent
Quite simply, you've shown why some of us prefer to work with compact frameworks in the online space.
The normal web stack, as a vocabulary, is really only a few thousand "words" in size: HTTP verbs, HTML tags, CSS selectors, JavaScript/jQuery/etc. API, and your choice of agile web framework interfaces (perhaps with a little SQL mixed in for good measure).
Once you're relatively literate in the weird pidgin that is the modern web stack, it's pretty easy to rely on the auto-complete engine already wired into your head.
If your class member names are too long, or your method defs are buried inside some 10Kloc monster source file, perhaps you should consider some light refactoring to clean things up. Similarly, if you find yourself heavily relying on search-and-replace outside of single files, you may may have a bit of a coupling problem in your system.
comment 18y ago · link · parent
Sorry to offer a non-solution, but maybe someone else out there does have a UNIX dev platform, and could get some benefit from storing big binary files in network share with versioned symlinks.
comment 18y ago · link · parent
Here, in no particular order, are the ones I can think of off the top of my head:
* Tamarin * OpenJDK * Squeak * Parrot * Python * Self * SpiderMonkey * PLT Scheme * CLisp * V8
(...etc., etc.)
The problem is not a lack of VM designs, implementers, or experience. It comes down to two factors:
* Ruby is a weird language, compared to most -- it wasn't so much designed as composed (in the sense of art/music). Normal compilation, optimization, and type-safety rules just don't apply, so even clever VM hackers are sort of left scratching their head when it comes time to optimize or deal with harder problems like serializing closures.
* The Ruby community is deeply bifurcated into two mutually-suspicious subgroups: the Rails users, and everyone else. Rail people hate (or at least mistrust) backwards-incompatible innovation in the language itself, because it breaks Rails, and (at least some of) the other group resents the Rails guys for holding the language back.
If you don't believe me on this second point, look at Ruby 1.9. If 1/10th the energy went into testing and patching new Ruby releases as goes into a minor point-release of Rails, we'd all be running nice, fast, bytecode-compiled Ruby scripts with full Unicode and fiber support. Instead, we're stuck and 1.8.6 for anything "serious", because it's the last release Rails supports well.
comment 18y ago · link · parent
Covering rent + groceries in some sleepy midwest town with decent broadband is do-able on minimum wage, if you don't mint having a small apartment and older computers.
The challenge is in living the kind of lifestyle that most HN readers have or aspire to: living in S.F., going out to nice restaurants + clubs with your hip, hacker friends, owning multiple nice computers + tech toys, and flying to conferences and vacations all over the world several times a year.
That stuff gets expensive, fast.
comment 18y ago · link · parent
Not all objects are alike. Smalltalk is "pure"; Python and Ruby mostly "just work"; C++ is very complicated.
No programming paradigm can save you from under-specification. You need a very good description of your desired behavior before you start coding.
comment 18y ago · link · parent
"Did not!"
"Did so!"
...
Etc., etc.
Honestly, neither of these guys need us feeding their egos. They've contributed some decent infrastructure for web hacking, but if they want to have a he-said/she-said argument, that's their business. I personally don't want to waste any more time on their little ego-fest.
Let's turn this into a thread about Passenger, instead, since both of them seem to be blessing it as the next great thing for Rails deployment. Personally, I've been nervous about using it in production, mainly because I don't yet trust that it isn't going to interact poorly with my rewrite rules and authN/Z setup. Apache configurations can feel a bit like voodoo even when modules aren't stomping all over each other, and the interaction of Passenger with mod_rewrite, in particular, seems like it could cause breakage.
That being said, once you get the thing packaged and installed (which wasn't as easy under Debian as I'd like), it does save a lot of resources compared to a Mongrel-based deployment. I've seen a drastic reduction in RAM usage, as well as a major decrease in the number of idle database connections lying around in inactive Mongrel backends.
comment 18y ago · link · parent
I think it's an unfortunate sign of the times that the commoditization of hardware is threatening to drive one of the last truly innovative hardware vendors out of the server market.
Of course, it may all just be karma for the time when Sun workstations more or less killed the arguably much-cooler Lisp Machines way back in the 80s.
comment 18y ago · link · parent
Longer answer:
Memory management is hard in soft real-time systems like video games, no matter whether you use GC or not. If you do any dynamic memory allocation, you're going to run the risk of eventually hitting an malloc() or free() call that blocks your main thread.
However, avoiding memory leaks is especially important for gaming applications, especially if you're targeting console hardware. Game code tends to create very large numbers of tiny objects during each session, and need to be able to re-use the memory taken by those objects quickly as the game context changes. GC is a great way to protect yourself from leaks, if you can avoid long GC pauses during gameplay.
There are a large number of strategies for keeping GC from blocking time-sensitive threads in your program. The solution you describe is a little like generational garbage collection (which AutoZone, incidentally, does). In generational GC, rather than scan the entire heap on every pass, you focus on recently-created objects, as they're most likely to be garbage.
Also, using GC for some parts of your application doesn't mean you have to use it everywhere. You might divide your application such that real-time threads use a more deterministic memory-management system, while less performance-critical code gets the productivity and stability advantages of GC.
382.
2 points · by rcoder · 18y ago · discuss
comment 18y ago · link · parent
comment 18y ago · link · parent
I actually used the layout of a UNIX 'man' page for a while, which got lots of chuckles, but no offers, so now it's just simple Markdown-like text.
comment 18y ago · link · parent
1. Python code will only be executed from trusted sources (i.e., chrome loaded from the local filesystem). This means that you'll need to get users to download and install an extension to use your Python script code, rather than simply including it inline in a page on your server.
2. Because the extension bundles its own Python runtime, it has to be built and packaged separately for every architecture target. Right now, that means no 64-bit platforms, BSD, etc. -- so cross-platform compatibility is probably no better than Flash at the moment.
That being said, having yet another development language on the client for rich web applications is pretty cool. I can imagine all kinds of useful projects that could capitalize on Python's strong libraries. Hooking into native libraries using Python (either via the extension API or ctypes) is also a lot easier than writing an XPCOM wrapper.
386.
Paul Krugman's economic analysis of interstellar trade(princeton.edu ↗)
6 points · by rcoder · 18y ago · discuss
comment 18y ago · link · parent
In short: there are far more than 10000 possible patterns (the max for a 4-digit numeric unlock code) available with the Android login screen. I haven't looked deeply enough to insure that there isn't some minor error, but the analysis here looks fairly convincing:
http://beust.com/weblog/archives/000497.html
So, we get a 40-fold increase in the key space, plus an easy spatial mnemonic? Sounds like an improvement in both security and usability to me.
Sorry, Mikey, stick to business plans and rumors. Leave the security to the pros.
comment 18y ago · link · parent
http://www.princeton.edu/~pkrugman/interstellar.pdf
I've never laughed so hard that coffee went up my nose while reading an econ paper prior to coming across this one. (Okay, and maybe the first version of the Paulson bailout, but that was a very different sort of laughter.)