Tomer Gabel's annoying spot on the 'net RSS 2.0
# Tuesday, 14 June 2005
A bunch of tidbits to get you through the day:
  1. Three words: what. the. fuck.
  2. Do you recall that classic picture of the back of a girl? I recall seeing that picture demonstrating the graphic prowess of generations of computers and video cards (from the earlier Macs, through a friend's 286/VGA machine and the first true color-capable PGA video card another friend used to own). Ilya sent me a link detailing the original story. Interesting, if you're a history buff like me.
  3. This (Hebrew only) news post only goes to show that stupidity knows no bounds.
  4. While not American, I find the very concept of a senate intelligence committee voting on expanding an already-problematic Patriot Act extremely disturbing. What really yanks my chain, though, was that the vote was held during a secret meeting, to which members of the press were barred entry. Does anyone else consider the very concept of legislation in secret anti-democratic in the extreme?
  5. I came across an amusing definition of a particular class of bugs, dubbed heisenbugs. I think I'll start using the term.
  6. Finally, it appears we have an Aibo here at work! The damn thing is really disturbing. Photos and experiences to come (as soon as I get my ass off the chair long enough).
Tuesday, 14 June 2005 16:55:30 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal
One of the most useless, slow and annoying features in Visual Studio.NET (2003 included) is its crappy "dynamic help" feature. It cripples the IDE performance, adds horrendous I/O overhead, pops up on top of the property sheet constantly and is completely useless to boot.

Gladly Fabrice managed to Come up with a way to get rid of it completely! Good riddance to bad rubbish. (Note that the registry change should be made in HKCU and not HKLM)

Update: Alternatively, go ahead and download VSTweak. It does the above and other things as well.

Tuesday, 14 June 2005 09:40:09 (Jerusalem Standard Time, UTC+02:00)  #    -
Development
So I haven't had a proper vacation in ages. Sure, I've had days off on occasion, went on trips on Saturdays etc., but not a vacation per se. The last time I spent any amount of time doing nothing specific was about a year and a half ago when I went with my family to Eilat (the southernmost city in Israel, and its most [only?] popular tourist attraction).

A very good friend of mine went to live in Eilat a few months ago, so I figured since I haven't seen him for a while it might be a chance to make good use of a few days off (weekend combined with the Shavu'ot holiday). So midnight on Thursday I took a bus from my home town of Haifa to Eilat. I'll take this opportunity to extend a hand of friendship and understanding to the poor buggers who live in countries where several hours-long bus rides are a fact of life; busses suck. It's the most uncomfortable thing in the universe. I spent two 5.5 hour trips trying to find "the position" which would actually allow me to sleep a bit and failed miserably, the direct result of which is my coming to work today tired and quite off, not to mention cramped muscles, knees and back. Yech.

That said, Eilat kicks much ass. First off, coming to Eilat in your own vehicle is idiotic: to begin with parking is difficult (particularly around the city center, promenade and major attractions), the roads are quite packed and there's a constant stream of pedestrians crossing the street everywhere at all hours. Add to that the amazing availability of low-cost (particularly compared to the Tel-Aviv area) taxis that literally materialize out of thin air the second you raise your hand, where the cabbies are knowledgable and even courteous (in Israel, no less!). All that combined with the fact that everything is a short walking distance away (the entire city center, promenade included, can be crossed in a comfortable one-hour stroll) mean that it's cheaper, more efficient and certainly healthier and more enjoyable to just stroll around the city. The climate was difficult to get used to at first: the temperatures are considerably higher in Eilat than in my native Haifa bay area (37C vs 27C by day), however moisture is considerably lower - 20% vs 65%. The direct result is that it's generally quite a bit hotter but far easier to breath, and it's much more convenient to move around by foot: I'm now back north and a short walk from the bus to work got my all sticky, whereas in Eilat I would walk the 2km from my friend's house to the promenade and not feel the worse for wear.

Eilat is either a shopping heaven or a shopping nightmare, depending on what you're looking for and how hard you're willing to look. Being a free trade zone the prices in Eilat are VAT free - Israeli VAT is currently at 17% - the direct result of which is that certain commodities (CDs, cameras and books for example) are considerably cheaper, whereas simpler things are ridiculously expensive (like a can of coke). The promenade offers an insane variety of tidbits mostly aimed at tourists, but there's still pretty cool stuff to be found: I finally tried on a sharwal (also known as "fisherman's pants") and actually liked it in the extreme - I'm starting to understand the Japanese and the scots, even though the lack of pockets can be an encumbrance. Even the local shopping mall has its moments: every time I'm in Eilat I find myself spending $100-$200 on CDs; the local CD shop (Disc Club) is VAT free and cheap to begin with.

The beaches in Eilat are terrific. I've only been out of Israel once so I wouldn't know how they compare, but the beaches are clean, the water is cold and transparent and you get to swim alongside a huge diversity of wildlife. If you're into diving I probably don't have to tell you about the possibilities as the city's pretty famous for its diving attractions. There are various tourist attractions (desert trips on jeeps and camels, etc.) and it's also pretty relaxing just strolling all over the place on foot.

Being used to some pretty high quality pubs back north I was slightly disappointed with what Eilat had to offer in this area as it was particularly hard to find reasonable beer. I've found a couple places that sold Leffe Blond and Weinstephan (and the mandatory Guiness, Carlsberg, Heineken and local Goldstar that I personally dislike), but that's pretty much it. The pubs themselves however are pretty good - at least the ones I've been to (DeBar was absolutely terrific, thumbs up David!) Lastly, food-wise there are some really great places to eat in Eilat, my personally favourite being Casa Do Brasil: an absolutely terrific all-you-can-eat south-American grille. I make it a point to go there and crunch my body weight's worth in meat whenever I'm in Eilat, and this time was no different (with one exception: apparently they make the best beef fillet I've had yet in Israel). Basically everywhere you look there's great food in abundance, just take your pick and ask around for recommendations.

Tuesday, 14 June 2005 08:31:24 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal
# Wednesday, 08 June 2005
I tried to help a colleague analyze an issue with an ASP.NET 1.1 application. The application was installed and worked properly on both an on-site server and a local mirror, in both cases under Windows 2000 Server with Windows 2000 SP3. The on-site administrator installed SP4 on the server, after which the application promptly stopped working properly: it didn't crash, it didn't register any errors what-so-ever and it didn't even time out, the client (in our case Internet Explorer) simply remained waiting for a response from the web server. My colleague attempted to install SP4 on the local server with the exact same result.

Oddly enough switching the application to ASP.NET 1.0 resolved the issue (but obviously is not an acceptable solution), so we tried re-registering ASP.NET 1.1 with aspnet_regiis.exe -i which had no effect. Obviously server restarts and iisreset had absolutely no effect either.

Eventually through trial and error we devised the following solution:

  • Remove the .NET framework 1.0 and its service packs (so that only 1.1 remains)
  • Reinstall .NET 1.0
  • Make sure to have a cup of coffee next to the machine at this stage (very important!)
  • Switch the application to 1.0
  • Test the application
  • Get another cup of coffee, make sure it's between 20cm and 1m from the development machine
  • Switch the application back to 1.1
  • Test again

This seems to have consistently resolved the issue with both local and on-site servers, but is obvious not a stable (nor acceptable) solution. It is also very non-scientific, because we haven't measured the volume of coffee in the mugs (mind you, neither was mine - I hardly ever drink coffee).

In short it's goddamn voodoo. I'm used to that kind of crap from Windows, but programming .NET has been impressively voodoo-free so far. I couldn't find anything similar with Google searches; has anyone ever seen (even better, solved) this issue before?

Wednesday, 08 June 2005 20:24:17 (Jerusalem Standard Time, UTC+02:00)  #    -
Development
# Tuesday, 07 June 2005
I thought I wouldn't bother with the third Star Wars movie. I really did. Well no, not really; it took me exactly five minutes to snap out of it and stop lying to myself: I was going to watch the movie in the theater even though I knew it's going to suck, much like Matrix Revolutions or Terminator 3. I can't help myself. It retrospect it amuses me that I'm willing to spend money on a purely mainstream product I know there's no chance I'll enjoy, but then - it's Star Wars, if I didn't go I'd feel left out...

Anyway, bottom line - I did go and did see it in the theaters. And it did not suck. Not even remotely as much as I feared it would. Now admittedly I've read the various "it doesn't suck" quotes on the 'net, but being my usual sceptic self I had to see for myself. I wouldn't call it terrific, though; it has two major problems without which it would probably have been the best in the series: crappy dialogues that seem to have been written by a 6-year old (particularly the various Padme vs Anakin scenes), and Hayden Christensen. Not even Ewan McGregor, whom I hold in very high regard since Big Fish, was able to keep me from noticing how poorly the dialogue is written, and not even the really terrific action scenes and utterly astounding visuals could keep the grimace off my face whenever Anakin came on-screen. Add to that an anti-climaxic Darth Vader experience and what you have is a pretty decent movie that could've been the biggest thing since, well, Lord of the Rings. A crying shame.

I had a completely opposite experience with The Hitchhiker's Guide to the Galaxy: I was never a big fan of the series (yes, I read all of them) and had very low expectations. When the trailer came out I was plesently surprised to find that I thoroughly enjoyed it and laughed quite a bit, so it was with mixed feelings that I went to see it in the theater. Suffice to say that when the lights came on for the half-time break I was quite surprised: 45 minutes had gone by, and I didn't even notice. This movie is funny as hell! It's well-written, well-acted and even well-designed (visually); there are a lot of subtle jokes (as opposed to the incoherent in-jokes I originally expected) and this just made everything even better. I'm also very happy that the authors of this movie didn't give in to the fanboys, which means the authors did have some artistic license - I actually prefer the movie to the book this way. So in summary: this movie rocks. Watch it.

I had reasonably high expectations for Sin City: I like dark films and the trailer seemed very nifty. I had no idea what the movie was about though (never read the comic, nor could be bothered with previews) so I had no idea what I was getting into when I went to watch it. All in all I dub this film "high quality garbage." The production values are as high as it gets, but it doesn't stop the movie from being generic comic-based film-noir. The plot lines are overly simplistic and what the movie lacks in story-line it makes up for in insane amounts of gratuituous violence. When I made this argument a friend of mine challenged it, saying that I enjoyed Kill Bill immensely despite the level of violence which was at least as high; now don't get me wrong - I'm not squeamish and enjoy a good violence scene at least as much as the next guy, but the difference is that where violence in Kill Bill is intentionally portrayed as ludicrous and works to advance a simplistic plot (not to mention homage to '70s Hong Kong action flics), the violence in Sin City is not portrayed as ludicrous at all and works mostly to take the place of a nonexistant plot. It may work in the context of a comic, but I've never been a comic fan, so for me it merely detracts from a quality production. That said, the acting is top notch and the graphic design is absolutely beautiful, but as a whole Sin City is one movie I'm probably not going to watch again.

Finally I have a recommendation to make: grab Oldboy from the nearest Blockbuster and watch it. It's a Korean movie and I'm not sure how to best define it, but it's combination violent, disturbing and thought-provoking, with incredible acting, visual design and music to boot. Heartily recommended. Also, if you get the time, check out Kung Fu Hustle - I think it's in the theaters (in Israel) right now, or will be soon.

Tuesday, 07 June 2005 17:57:18 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal | Movies
Tidbit time:
  • Raymond has an über-interesting post on the potential security issues with C's strncpy, including an interesting bit of history.
  • Senthil Kumar's found out an interesting detail regarding the equality (==) operator in .NET System.String.
  • GAIM joins in on Google's Summer of Code project. I just wish I were a student living in the States with enough free time...
  • Remember the old Amiga game Cannon Fodder? Well I found this promitional (?) video for the CD-32 version of Cannon Fodder - so funny it's disturbing.
  • A pretty interesting post at The Register claims Microsoft's Windows 2000 operating system was a complete flop as far as security's concerned, but it marked an interesting shift in the company (and therefore the industry).
  • I don't find myself completely disagreeing with Roy Osherove that often, but his his take on The Grudge is completely opposite my own: the movie was not scary at all, for the most part very poorly acted and I came out of the theater feeling as though I've just wasted 37 NIS (the price for a preordered movie ticket in Israel, approximately $9 US - way too high anyway) and two hours of my life. On the other hand, I've found White Noise quite appealing; it didn't scare me proper (only System Shock 2's managed to do that in recent memory), but it did leave me unsettled, which is also pretty unusual. Probably the only good horror/thriller I've seen in ages is 2002's The Ring. I openly admit to not having seen the original Japanese version, nor have I seen the supposedly great The Sixth Sense. Working on it.
Tuesday, 07 June 2005 17:00:40 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal
# Monday, 06 June 2005
Paniq came out with a new album a couple of weeks ago, the second track from which is called Elektronische Musik (can be downloaded from here). It's in German though, so make sure you read the lyrics.
Monday, 06 June 2005 09:38:15 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal | Music
# Sunday, 05 June 2005
Despite my lately-discovered tendency for open-source evangelism, I constantly use proprietary software in my day-to-day computer exploits. Here's a list of a few of the more useful ones:
  • Everyday use:

    • Windows Live Writer - Microsoft's blog client/word processor. Microsoft entered a saturated market full of mediocre and/or abandoned software, and simply did everything right from the get-go. This is one hell of a tool - stable, convenient and extensible. Recommended.
    • XMPlay - a great audio player for Windows. Has excellent module playing capacity, plays streaming audio perfectly, basically does everything WinAmp does only better and in a much lighter package. I have yet to find a (preferably portable) open source platform which compares..
    • Microsoft Outlook - Outlook has its moments, but I've enjoyed working with Mozilla Thunderbird a lot more. I originally switched to Outlook for its PDA synchronization capabilities (via ActiveSync); since this is no longer an issue for me, I'm planning on switching back to Thunderbird as soon as I can find the time to take care of the migration.
    • Total Commander - I simply can't work properly without a Norton Commander clone. I switched from Servant Salamander to Total Commander and so far never looked back. An open-source replacement is definitely #1 on my wish list though.
    • AVG Free Edition - the free (for home use) version of the AVG Anti-Virus is an impressive piece of software. It's lightweight, nonintrusive and simply works. I'm sceptical that open-source antivirus software can be as up-to-date and effective as proprietary software.
    • Windows XP Professional - bought a copy with my laptop, and can honestly say I do not regret it. It is impressively full-featured, completely stable, has terrific hardware support (I will tell the story of my Linux hardware woes in another post) and despite being very powerful it is also very intuitive to work with.
    • Trillian Basic - a free multi-IM client (I use ICQ and MSN). It's not lightweight, nor it is the fastest, but from all the multi-IM clients I've used (GAIM, Miranda, Trillian) it has the best combination of stability, features and looks.
    • ACDSee (at work) - Best of breed photo browser. The new version seems quite bloated, but it's still the best program of its sort I've used (since version 3...)
    • XnView (at home) - Great photo browser that's fairly quick and lightweight. Free for non-commercial purposes, basically does everything almost as good as ACDSee.

  • Development tools:

    • Visual Studio 2005 - being a primarily .NET developer, this is an absolute must-have. It has a lot of issues though, and missing some features that I can only enjoy with ReSharper.
    • JetBrains ReSharper -the quintessential upgrade to Visual Studio. Improved autocompletion and syntax highlighting, fully customizable code reformatting, code navigation, refactoring, code templates, unit test runner and more, all in one package. I've been using this since version 1.0 after seeing a presentation by Roy Osherove, and nowadays I find it daunting to work without it.
    • Araxis Merge - best of breed commercial diff and merge utility. WinMerge and the various diff/merge utilities that come with source control provides (Vault, Perforce etc.) simply can't compare.
    • Stylus Studio - I tried this out as an alternative to XmlSpy a few years ago and got hooked. Although it's still a terrific XML IDE, unfortunately they have very annoying registration, activation and upgrade policies, so I may yet take XmlSpy for a renewed spin.
    • SourceGear Vault - the source control provider we use at work. It's like a moderately improved version of SourceSafe: reasonably fast, fairly full-featured and mostly works. I've used Microsoft VSTS and Perforce since and both are far superiour, but also considerably more expensive.

  • Occasional use:
    • Nero Express - a lightweight version of the fully-fledged Nero. This has been my CD-burning software of choice for about 6 years. Since a copy came with my laptop I haven't found the motivation to seek a proper open source replacement yet.
    • PowerDVD 5.0 - probably the only reason I still use PowerDVD is because it came (OEM) with my laptop. I don't watch many movies on my laptop so I couldn't be bothered to find an open-source replacement.
Sunday, 05 June 2005 18:34:44 (Jerusalem Standard Time, UTC+02:00)  #    -
Personal | Software
The Thunderbird nightly build for yesterday seems to kick quite a bit of ass. It's just as stable as the 1.0.2 stable build, has a useful spellchecker, works like a charm with the BiDi Mail UI extension and feels over-all very solid. Can't wait for the official 1.1, so I could recommend it to other people.
Sunday, 05 June 2005 11:12:05 (Jerusalem Standard Time, UTC+02:00)  #    -
Software
Yes, CSS2 is very cool, but apparently way more problematic than I originally thought. It seems even minor details are the cause of much consternation, giving headaches to programmers and designers alike.

The whole thing started when I noticed that the blog title ("banner") was not displayed properly on my grandfather's machine (Internet Explorer 6); it appeared as though the text class wasn't handled properly. Give or take 20 minutes later I found out that I accidentally used a class="banner" declaration where in the CSS it was defined as A.Banner. Apparently Mozilla was misbehaving in ignoring the case. At first I thought Microsoft finally got something right with Internet Explorer 6, then figured I might as well delve a little deeper into it and figure out which behaviour is right.

Enter the CSS2 specifications, specifically section 4.1.3 Characters and case, where it is clearly stated that CSS is assumed to be case-insensitive "except for the parts that are not under the control of CSS". This a very subtle distinction, which apparently goes on to include the "... values of the HTML attributes "id" and "class"".

Now, seeing that I love to be standards-compliant, I naturally included the correct <!DOCTYPE> declaration in the beginning of my blog template, putting Internet Explorer in standards-compliant mode; unfortunately I did not read the CSS2 specifications carefully enough and therefore did not properly understand the case-sensitivity issue.

Therefore I will quote what I perceive is a very good piece of advice from Zen and the Art of Website Maintenance:

Last but not least, let me touch on the issue of case sensitivity. CSS selectors are not, by definition, case-sensitive. However, if the page language within which they are used is case-sensitive, then they become case-sensitive. HTML is not case-sensitive [HTML 4.01 is, though, so take care! -TG], so CSS is not when used within it. But XHTML and XML are case-sensitive and so, therefore, is any CSS used within it. Given this, the only sensible choice is to regard all CSS as case-sensitive: this will save you from considerable pain in the future.

And to sum the whole thing up: yes, Microsoft seem to have done something right for a change, and Mozilla does indeed misbehave (unless, which is just as likely, I've missed another subtle but important issue...)

Sunday, 05 June 2005 10:05:04 (Jerusalem Standard Time, UTC+02:00)  #    -
Development
Me!
Send mail to the author(s) Be afraid.
Archive
<2005 June>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
All Content © 2024, Tomer Gabel
Based on the Business theme for dasBlog created by Christoph De Baene (delarou)