The boring rants of a lazy nerd

Saturday, May 28, 2005

This Blog - Bookmarks

A significant part of my Firefox bookmarks has been added to the sidebar in a hopefully manageable way. It should be noted the bookmarks are a mess. Please report problems with navigation, validation, dead links, uselessness, etc. here.

The hefty (30k) thing was not compressed so it would be accessible from non-typical UAs such as lynx (verified!).

Friday, May 27, 2005

Various - Update

  • Yesterday on the bus ride home I've seen two girls from Oketz (they are very distinctive by their male uniform, lack of shoulder unit insignia and a Colt Commando). It made me even prouder in my uniform, thinking of the training these girls went through to get into an elite combat unit and how nice they still look and sound. Oketz appear to choose well from Nahal's girl battalion "Karakal".
  • I've listened to some Bond (Born, Shine and Classified). It's too world-music and has too much electronic and other interference so you can barely hear the string quartet itself. Few tracks are interesting beyond the first in every album. If I compile a list I'll post it. Also, undressed publicity photos (as well as dance/hip-hop/whatever remixes) cheapen the classical act so it cuts down on the people who came to listen to four classically trained performers while doesn't gain too much of the Britney Spears audience since they don't cut it as pop icons.
  • A friend suggested going playing war games* for his birthday. It was very cool (not cheap though), but now I hurt all over: bruises on both thighs, an arm, a shoulder, palm and a bit on the back (only torso and head are well protected during games, so arms and legs get hit a bit). Also, I got splashes of paint in the face some of which is in my hair. Some of those bruises look like they'll stay for a week or so. But hey, it's as close to military action a non-combatant like me is ever likely to get. Was lots of fun.
    Personnel are Russian speakers and were a bit miffed we had two non-Russian speakers in a group of eight so they had to give the instructions in Hebrew. A common problem in modern Israel are those weird people who live here for more than twenty years and still didn't learn Russian…
    * - English site is all "under construction", but a picture is worth a thousand words.

Personal - Social Circle Meme

A variation of the thing from Rebecca:

Why are you on my referrer logs?
Comment and tell me. Then post this in your blog/journal.

Monday, May 23, 2005

Music - Sampling

No, this is not about the process of digitizing an analog signal (though it is well worth your while to find out what "digital" actually means, even of you're not a technophile like me, at least so you know when advertisers clearly lie).

"Sampling" as in tasting a little bit of everything in a buffet or listening to a bit of various unfamiliar musical styles/performers to find out if you're missing out on something good. Like radio is supposed to be. Unfortunately, since all I get at work is commercial (remember payola?) brainwashing courtesy of local recording companies / RIAA franchises, I steal music from the net to find out what I like (Schoolgirl will be glad to hear I don't listen to much Yanni any more...).

So, if, perhaps by accident, you've discovered a large file with a "rar" extension and perhaps the words "ape" or "cue" in its name on your computer and decided you're not afraid of communism and would like to give it a try, here's some advice.

First of all, congrats on choosing the cd image instead of the mp3s. It means you value the quality of your music, and won't let some ripper's poor choice of encoding software to alter your perception and possible appreciation of the artist's work. Having an actual CD image, possibly compressed by some lossless compression method, enables you to recreate a bit-identical copy of the audio CD, so you'll know what you get when you buy it (well, that and the inlay, but that too is often provided as high resolution scans).

What you need to do then is extract the archive using unrar (free from rarlabs.com):

$unrar x foo.rar

Now you can either play it, if your player supports cuesheets and decodes Monkey's Audio (plugins are available for popular media players), burn it to CD (again, plugins are available for popular burning software), or convert it to mp3s (for use in portable players or some such). For that, you need the proper decoder (in this case, mac), cuetools, shntool and of course lame (all free software). When you have the latest versions installed, just:

$cuebreakpoints CDImage.cue | shnsplit -n "band-album-" -o cust ext=mp3 { lame --preset standard - %f } CDImage.ape

and (after a while) - voila!

I have yet to find a way to specify certain tracks to split so you'd be able to do less work to get a single track or even fork off multiple instances to use that SMP machine you might have properly. But at least you don't need to create temporary files.

Shell out for albums you like - the artists do get a little of that money!

Friday, May 20, 2005

Personal - Book meme

I was named by Lou, so now that I have time I shall do her bidding.
  1. Total number of books I've owned: I've counted 50 on the shelves. I have no idea how many more are still packed in boxes (no shelf space in the rented place). I don't count the pirated eBooks, or my parents' library.
  2. The last book I bought: a preorder of HBP, actually.
  3. The last book I read: see last post.
  4. Five books that mean a lot to me:
    1. The Potter books, obviously. For all I've lost and gained in Fandom.
    2. Dune
    3. LMB's Vorkosigan books
    4. A book in Hebrew I received as a gift in 4th grade about a Jewish boy who survives alone in a ghetto in Poland during WWII. Being a children's book, it had a happy ending.
    5. I loved Robinson Crusoe as a child. And consequently had a rather mad wish to build a tree house for the longest time.
    It's interesting to note that what I liked most about those books is how the hero manages on his own. The rest are… supporting characters. Damn, that's sad.
  5. Tag five people and have them fill this out:
    1. Teri
    2. Emily
    3. Rebecca
    4. Leslie
    5. acemyth

Tuesday, May 17, 2005

Books - Shadow Of The Giant

So I've just finished the book. It took me three evenings (I'm a very slow reader). Yesterday I thought Orson Scott Card was just publishing more stuff to make money, the way I feel about what has been done to Dune, but today I've changed my mind.

No, it doesn't say anything new, per se, and it was kind of tying up loose ends, exactly as he promised two years ago (he left just a small bit for developing into plots of future books, if he ever needs the money, but then, the afterword in the acknowledgments section feels like it's the last book of the series...). The psychology was a bit simplistic, though it might be just realistic, but the geo-politics sounds about right (again, I don't know what I'm talking about). The last chapter was very touching. Actually, most of his ending are very good (contrast with Neal Stephenson for example). It really is a good book. I don't know about the non-preaching moralism, and how all that stuff gets along with the author's personal beliefs, and when (if at all) are characters speaking for him, but the whole settle-down-and-have-kids as the proper goal for sane people's ambition resonates very well with me.

BTW, the whole marrying the best female of the generation who is not your sister reminded me of themes in HP fandom. I think I read too much fanfic. (go Capt. Obvious!)

Saturday, May 14, 2005

Fandom - Congrats Melissa!

I remember in her first few posts on the now happily defunct HP message board, she was in the process of graduating from college... Anyway, hard work does pay off, and you've earned it! Now, anymore Firelox fic? ;-)

Friday, May 13, 2005

Found on The Web - Gangsta CS

I've known for a while there are some hard-core comp-sci geeks on LJ, not just liberal arts and poli-sci _______, but somehow I've never read anything of Brad's before. Anyway, he has a lot of cool stuff, among which I've found the funniest link 3v4r: So Much Drama in the PhD, by Monzi.

ETA: Apparently, there is a genre for this stuff.

Tuesday, May 10, 2005

Private - Musical taste

I recently loaned a friend a bunch of CDs I had lying around the office for a weekend. He said the music is depressive but it does appear to be conductive to a programmer's productivity. My music, depressive? It's not like I listen to Air's Virgin Suicides soundtrack on repeat or something! (A decent one if that's what you like, though I'd advise a visit to a therapist).

Here's the list. What do you think?

Private - This week

The 5th was the Israeli Day of The Holocaust, the 9th was 60 years since the end of The Great Patriotic War (my grandparents are veterans), today is the Israeli Memorial Day and tomorrow Israel will celebrate its 57th birthday. Personally I think it's too close together. It's symbolic of course, but you have to separate the days a bit more to let it sink in.

This time it was a bit more personal for me, a bit less abstract. I wish future years won't add more specific faces to the image I have in my mind's eye during the minute of silence.

Sunday, May 08, 2005

Saturday, May 07, 2005

Tech - QEMU

So, as I said earlier, I've installed the latest release of windows for home users in qemu (also latest release, 0.7.0) to test my dhtml (not ajax) in m$ie. It works, but:

  • official documentation is sparse and unofficial is not up to date and user-friendliness is of the sort that gives open source its bad reputation.
  • Performance is nowhere near "good" (even with kqemu), but can be made tolerable by keeping tabs on the swapping (or having lots of RAM). I had to decrease memory allocation for the guest in order for it to be responsive while I have Firefox open on the host. Also I switched from KDE to Fluxbox, applied a patch enabling dma on the winnt guest and switched to raw rather than sparse disk image file format.
  • Installing and configuring Samba for file-exchange between guest and host isn't terribly user-friendly as well, BTW.

I've browsed the developers' mailing list archives and they do have many good ideas, so I believe the future is bright for emulation (running OS X on an Athlon 64 is in the roadmap, and that is close to the holy grail for me). Basically, computer-savvy users only for now, unless you wan to pay for Virtual PC or VMWare (and that can't run an architecture different from the host's).

It turned out my blog's CSS editing doesn't work in m$ie. Have not debugged it yet, but it being deployed for a while now and nobody saying anything is kind of depressing (since I know for a fact not all of my hits are made with Firefox).

Obligatory pic.

Friday, April 29, 2005

Personal - Hmmm

I went with my parents to a family friend's 50th birthday party. Despite being a classic civil engineer (exasperatingly pedantic) working for the national telco he's a good guy. I was prepared for a rather dull evening, but party games for tispy 45 to 55 y/o ex-Soviet engineers and their wives turned out to be funnier to observe than I'd imagined (and I didn't even know anyone present!).

I got cornered by the birthday-boy's elderly uncle (who I later found out was a physics professor or something) with the "I've been told you're good with computers, could you please help me out with this small problem I have" line I know so well (I briefly regretted not wearing this shirt). He introduced himself as a total dummy, but as he was explaining his problem in bits and pieces, it turned out he wasn't clueless at all - he was editing his registry and he'd switched to Firefox etc. I honestly believe he was proving himself or something by "testing" me. Way more cool than my grandparents, anyway.

Thursday, April 28, 2005

Web Tech - JavaScript/DOM performance

I've done some extremely unscientific and informal comparison of Firefox 1.0.3, Opera 8.0 and Konqueror 3.4 running my dynamic table script on 100K of data and I have to say I'm very impressed with Opera. It feels like the code is JIT-compiled while KHTML feels like it's running in an emulator (I'm talking about being 50 times(!) slower while crawling DOM etc.). There are things where Konq. actually does better than dear old Gecko, though compatibility is definitely not one of them (I had to code around many KHTML issues). Opera's choice of when to actually reflow the DOM changes is a bit weird, but it might be doing the right thing performance-wise.

I'm working on getting the browser from Redmond to work in QEMU, will update here when I have more info.

ETA: It's working, but I can't really do any performance comparisons.

ETA #2: KHTML 3.4.1 bugfixes should allow me to remove a few lines of code. It's my policy to only support the (near) latest version of each browser engine. There's no good reason to still use IE 5.5, pre-1.0 Mozilla (or even pre-1.0 Firefox, which is Mozilla 1.7), Opera 6, etc. I expect the UA to either have full support of the W3C DOM and CSS DOM and things like Array.push (so no IE 5.0) or be treated like Lynx, but I won't use Mozilla 1.8b2's proprietary Array.ForEach (although it's brilliant!). For the people stuck with the version of KDE/Mozilla they have on their binary distro: too bad, you probably don't use Konq as your primary web browser anyway. :-)

HP Fandom - update

Since there is no FFDB (yet), I'll keep posting updates.

Monday, April 25, 2005

Web Tech - marketing gimmick of the year?

After the SpreadFirefox counters (never had one of those buttons myself, but I did tell everyone I know to use it ever since I switched to Phoenix 0.4) and other Firefox publicity, and the imminent release of IE 7 looming overhead, the Opera people probably decided to have a splash of their own. Literally. I think it's a bit much, but drastic measures are probably the answer if you want to continue to compete (successfully!) with both Microsoft and the Free/Open community.

Friday, April 22, 2005

Personal - Update

  1. Last week my team got a replacement for the member we stand to lose in a few months. Training a newbie (the guy was literally two days out of basic training when we got him) takes years when he's not a self-trained computer geek (we weren't that lucky) and I suspect it's going to be partially my job. He spent more time reading Asimov than the C# book we gave him, but that might turn out ok too.

    "Mother," said Miles, "calls it my great gift. Tests are a gift, she says, and great tests are a great gift. Of course," he added thoughtfully, "it's widely agreed my mother is a bit strange…"

    The Warrior's Apprentice, Lois McMaster Bujold.

  2. The weather is stifling. You constantly feel as if you'd just exercised hard and had not yet have the chance to catch up your breath. It gets better only after 8PM. Being cooped up in a hermetically sealed room breathing air conditioner air is not much fun either, as it appears to have a lower oxygen level than the real thing.

  3. Ate a lot of really delicious food in two get-togethers on the same day. I was afraid I'd be sick I ate so much. Then I walked for more than an hour on the way home.

  4. The "new" officer arranged for us to do some target practice on the laser trainer (because of bureaucracy, we're not supposed to be using it). Stationary targets feel the same since the mechanics are preserved (or rather simulated), all except for the recoil (but you barely notice it anyway), meaning the barrel moves up when you cock the trigger etc. (it can even simulate jams!), but the best part is there's moving targets mode. It's probably as close as I'll ever get to the real thing though for obvious reasons it feels more like a really cool game with the mouse replaced by what feels like standard issue firearms than actual life threatening situation (which is the only situation you're allowed to use weapons). Surprisingly, I'm better with an Uzi than with an M16A1. At least at close range, anyway.

  5. While we watched the building's lobby being cleaned up after an enormous soap bubble spill (a huge ankle thick puddle of white foam, reminded me of Gred & Forge's escapades in OoTP. It looked like the stuff used to control fire but people said it was just soap) a crowd began gathering on the other side. Turns out a guy wanted to jump off the roof of the mall across the street. Police and firefighters took two hours to get him off the roof, while a huge crowd gathered to watch, impeding traffic. People are odd about other people jumping off buildings: Some watch fascinated, some cry, others offer suggestions and critique his choice of location. The various reactions are not clear cut between the sexes.
    Reminds me I wanted to post a few pics so you'll get to see my new (temporary) office…

  6. Have been thinking more about FFDB. Who here wants to help gathering a bit of info on fics you like?

Saturday, April 16, 2005

Evils of LJ - N.S.F.W.

So, I was scrolling down my friends page and my mother comes into the room (the door was ajar, can't blame anyone but myself). The post visible on the screen was (Don't click it!) this, by jwz. How do you explain the non-selective nature of LJ Friends Pages to your technophobic and rather Victorian mother? I think I'll email this to a guy from work who might enjoy it, though...

Cinema - "Don't judge a book by its movie"

This review of the new Hitchhiker's Guide film by Douglas Adams' biographer reminds me of Alec's raving about Peter Jackson's Orcish ancestry after watching LoTR:FoTR for the first time. Let's hope it's just that, or it will be very sad.

Hardware Shopping - NF4 and low exch. rate!

Continuing the recurring theme of shopping for PC hardware (with other people's money, of course), we take the availability of nVidia's newest chipset (actually, it's a single-chip solution for mainboard logic, but anyway) and the drop in USD to ISL exchange rate into account to produce the following budget-oriented (but fully-featured!) setup:
HardwareRecommended ComponentUS PriceISL exchange rateUS price in ISLIL price inc. 17% VATripoff rate
ProcessorAMD Athlon 64 3000+ 512K 1.8GHz 90nm for 939$1424.3361586039.8%
MotherboardMSI K8N Neo4 Platinum (s939, nForce4 Ultra)$14060686041.9%
MemoryBrand 512MB PC-3200 CL3 x2$10043364047.8%
Video CardPine XFX 6600GT PCIe 128MB GDDR3$172745106042.8%
Hard DriveSeagate Barracuda 7200.7 160GB SATA w/ NCQ$10043360038.5%
sum: $6542,8324,02041.9%
Again, it's not a full computer, it's not necessarily the best offer in any way, the prices are from an unspecified vendor (including shipping but not assembling) and I take no responsibility for anything you do with this information I do not even guarantee is true.
  1. The entry-level CPU was chosen because the 5%-10% advantage offered by the next step up isn't worth the money.
  2. A non-SLI motherboard was chosen because buying a second video card is not a real option (notice it's the priciest item!).
  3. CAS-3 memory was chosen because of the price premium for CAS-2.5 (not to mention CAS-2!), and hearsay stating it often works in CAS-2.5 timings just as well.
  4. The 6600GT is the current sweet-spot (overly drawn discussion of reasons why isn't worth typing up). Because the motherboard is of the newer PCI-Express varienty (instead of the dying-out AGP), we take the PCIe version.
  5. The 7200.7 NCQ has the best performance and warranty conditions (3 years full + 2 years limited warranty). The newer 7200.8 behemoth is slower, the Maxtor DiamondMax Plus 9 and 10 have a really crappy warranty by the Israeli importer and the Western Digital is outperformed (hasn't happened in years!). Just take care to get an NCQ part - the same model exists without NCQ, which is a vital feature for heavy multitasking performance, as recently shown by Anand Lal Shimpi.
Of the 42% difference between US and IL prices, 17% goes to the government. The other 25% is for shipping and someone's kids' college.

About Me

GCS d- s-: a-- C++$ UL++ P+++ L+++ E--- W+++ N o? K? w++$ !O !M !V PS-(+) PE Y+ PGP+(-) t--@ 5++(+++) !X R-- tv-- b+>++ DI+++ D+ G e h! r* y--(-)>+++