Being Bit(ten) and Byting Back

Sunday, July 31, 2005

"Real-time"

I wish people would stop bandying about "real-time". Real-time means that some task has to happen in some specific hard or soft deadline. The important word here is deadline. Unfortunately, its used to imply the fast response to some event, and that can mean anything. Something fast can mean something happening in an hour or in a second. You need to be specific. For something to be realtime you need to specify a deadline.

Saturday, July 30, 2005

Currently Reading ....

"Harry Potter and the Goblet of Fire"

Currently Listening to ...

Pick Up The Phone from the album "Neon Golden [Bonus Tracks]" by The Notwist Consequence from the album "Neon Golden [Bonus Tracks]" by The Notwist Neon Golden from the album "Neon Golden [Bonus Tracks]" by The Notwist

this is a British band. Just discovered them recently. Not available in the US store, but available in the UK iTunes store (had to buy the CD). A little strange but in a nice kind a way.

iPod Blues ...

Went to the apple store about my iPod today, and found out that it was totally hosed. They told me that the some component had failed on the iPod and since Apple didn't have a policy to repair iPods the only option was to replace it. And since it was out of warranty (expired Feb 2005) I had to pay about 268 for like equivalent or $299 for a 20 GB color iPod.

... Not sure if I I should be depressed or pissed.

Wednesday, July 27, 2005

Something about today ...

I got an email from a recruiter today. He told me a about a job opportunity about a company. Its the same company I work for already. Ironic? Plus, I got an official document today. As usual, it confused my country of birth with my country of citizenship. I guess, most people assume that a person born in a country is automatically a native (and hence a citizen) of that country, even though his or her parents may be there only temporarily. This (among other things) raises an important question, should origin really become such a fundamental determinant in an age when people come and go with so much ease?

Wednesday, July 20, 2005

Scott Collins' Journal: On Becoming a Video Game Programmer

.. and there goes my dream of becoming a hobby game programmer. Seems to happening quite a lot these days.

Monday, July 18, 2005

Nissan to Recall 140,000 Murano SUVs - Netscape Autos

... And I was planning to buy this car :-|

Sunday, July 17, 2005

iPod Blues ...

My 1 1/2 year old iPod finally gave up on me. I tried restoring the file system, but the updater does'nt detect it anymore. I'm not happy :-(. However, it just might the time to buy the new color iPod :-). Anyway, I'm going to take my iPod to the Apple store at the Carousel Mall, and see if I can get it restored.

Saturday, July 16, 2005

Nasa's Ramblings in Space: Nerd vs. Geek

So what does that make me?

Friday, July 15, 2005

Potter Mania...

Just came back from the local Barne's & Nobles. "Harry Potter and the Order of the Phoenix (Harry Potter (Paperback))" (J. K. Rowling) is going be released on in about 1 1/2 hours. A lot of kids were there, and some of them (actually the majority of them) were dressed in various Harry/Ron/Hermione outfits. Most of them had the big round glasses. There were plenty of adults too. One of my co-workers, M., will be there around midnight or so. As for me. I think I'll wait for the movie. The fourth one will be out soon. Here's a peek. "Dark and difficult times are ahead, Harry. Soon all of us must face the choice between what is right and what is easy." This dialogue or words to that effect seem to pop up in movies quite a lot. Every notice that?

Tuesday, July 12, 2005

BBspot - Which File Extension Are You?

You are .*  You are a wildcard.  You are everything to everybody.  You can't make up your mind as to what you want to be.
Which File Extension are You?
Brought you via here. And here was another great blog brought to you via the same blog. The writer's right. It really is better than Napolean Dynamite.

Thursday, July 07, 2005

I Love C++ Exceptions

this is an article about C++ exceptions I just read. Someone I know was telling me about this code base that he works on. It was designed and written by a bunch of "architects" who were originally C programmers and imagined they were great C++ programmers. His boss thinks that the code is so good they are going to use it again to build their next generation product. The code is a horrendous spaghetti code of if's, else's and multiple copies of the same code in ten different places, functions that are a hundreds of lines long (if not thousands), class interfaces that have 10 to 20 methods. The funny part is that they think its object-oriented just because they use the class keyword. This friend of mine has plenty of ideas to improve matters to clean up. Use more exceptions. Refactor. Make use of patterns, you know actually apply what you learnt in school. Basic stuff. His team shoots down his ideas. They say its "Too much work". And then they wonder why they have so many bugs and are always behind schedule. And then they wonder some more... Such is the lot of all programmers who work for a living.

Monday, July 04, 2005

Disk Space ...

I'm running out.!! I need to repartition my HD again. Unfortunately, I could'nt figure out a good way to do that from Linux itself. I originally thought about restoring the original factory settings in windows but I already have data on the Windows partition. So I'm going to run the linux installation again and see if I can have a better partition scheme, since I really dont have anything there yet. This time I selected the the "update system" option. I'm hoping it allows me to resize the partition table. Right now its reading the package database. ... If things don't go well as they should I'm seriously start looking at a new PC to buy. ... I don't think "updating the system was a good option. I'm going to go with the "new installation" mode. ... New Installation has started lets see how this one comes out. ... Some how the KDE desktop didn't get installed, I'm really not interested in getting any other desktop GUI. Once this is done, .... I'm really not sure what I want to do right now. I want that DirectX book.

Everyone ...

A Happy Fourth of July ... Be safe around the fireworks

Sunday, July 03, 2005

Linux 9.3 & other news

Finally, got around to installing Linux on my PC. I have an HP, and since HP had some time in the past announced that they were releasing a notebook with Suse Linux on an experimental basis, I thought that the Suse distribution would be a good bet because if there is one thing I hate about installing a new OS is mucking about with drivers and devices. Anyway the installation went just fine except for one hiccup. I had downloaded the ISO images from some mirror site. Apparently the CD had some problem and it did'nt install the cpp package properly. This is important to me. Because I'm going to be downloading the new Qt 4 framework. I have this habit, that I always write a quick hello world programs in C and Java to make sure that my development environment is working properly. Anyway, I restarted the computer and then booted up Windows. Windows kind of got wierd on me, since Linux had create some new partitions. I just found out that now Windows has only 10 GB of hard drive available for it. Now if I were to install Visual Studio and MSDN that would really eat up hard drive space. Hmmm, I believe that a new PC has got be bought if Linux is to be used. In other news, I'm debating if I should by a 20" LCD HDTV from Samsung or a 30" widescreen TV from Samsung.

Paul Thurrott's SuperSite for Windows: Longhorn Setup and Deployment Strategies

It seems as if that with Longhorn, Microsoft is moving to an OS installation procedure that is more akin to the Linux mode. An OS image consisting of just the kernel and with various add-ons added by OEMs and resellers. Much like the way various Linux distributions work.

Who says Microsoft is so full of itself that it can't learn from others, even from its competitors. Click on the link above and read all about it. Brought to you via The Old New Thing.

Saturday, July 02, 2005

Qt 4 just Released

Check out the Qt 4 video just released. (Quicktime Required).

Apple Matters

This is a rather simplistic article on why Microsoft's party is coming to an end. The author has listed out three "nails" that are going to take down the company.

<Nail 1> Shoddy software practices are forced on programmers due to incompetent managers which in turn produces the mess that is Longhorn. <my response> I think the whole software world is suffering from shoddy software programming because the programmers are doing a shoddy job through out the industry. The programmers and testers at Microsoft are probably no different or no smarter than the ones outside. And programmers who want to do a better job simply can't because its not practical to rewrite thousands of lines of code just because the design is bad. Try justifying to a manager that a working product needs to be reimplemented because its design does'nt look good in UML and you'll know what I mean.

And what makes you think that badly written code has not been in Mac OS X? Just because it looks good? </my response> </Nail 1>

<Nail 2> <snip 1> Steve Jobs. He has Apple humming like fine tuned violin. Tiger is everything Apple promised </snip 1> <snip 2> Apple is going to squeeze out yet another OS before Microsoft can get Longhorn out the door. </snip 2> <snip 3> Then you have this whole Macintel thing going on plus rumors about the iPod/ITMS/movie business all of which draw the attention of the media towards Apple’s successes. </snip 3> <my response> In principle, I agree with what the write has to say about Apple's successes. But I think a lot of it has to do with the media's attention to Apple and it's activities. Apple has always been this quirky, anti-establishment, unconventional company. Its different from the Dells, HPs and Microsofts and very different from the IBMs of the world. Plus, its penchant for secrecy has always fascinated, and people are naturally curious as to what is happening at Apple. Microsoft on the other hand has always open about itself. Evidence: Microsoft's encouragement to its corporate bloggers. I've yet to see a blogger who openly identifies themselves as an Apple employee and writes about it too. Microsoft encourages its employees to blog and its a sign of its maturity that employee can talk about themselves and their employer so openly. Some of them sometimes go over the top about like this one, but in this particular case, I think that has something to do with his job. (Click on the link and scroll down to find his job description).

Positive media attention is factor in Apple's ability to wow. Microsoft does'nt get that simply because everyone wants some one to blame, even when its their own fault. </my response> </Nail 2>

<Nail 3> Linux <my response> As much as I like Linux, I've yet to see how someone can make money of it. And no providing support for it does'nt count. The GPL code is so expansive, that it practically forces a professional development company to publicize its code and in a competitive business enviroment that just does'nt make sense. Peronally, I think Linux is best for students and researchers to try out new ideas and then let companies Microsoft to implement those innovations in their products. In my opinion, the GPL needs to be revised so that people have more flexibility. One way could be to use the license that Qt operates under. </my response> </Nail 3>

<Nail 4> Mindshare <my response> The author defines mindshare as "the extent to which people know about a phenomenon". As unfortunate as it is, mindshare is'nt what gets applications developed for OS'es. Its the C#, Java, HTML, ASP and script programmers who actually develop applications, and if Apple does'nt have any of that mindshare, then the mindshare of people who own iPods, buy music from iTunes and rave about MacOS X really does'nt count. Secondly, the money comes from corporate customers and while consumers appreciate the bells and whistles in a OS and how "cool" something looks, corporate customers are just not going to be buy stuff just because it looks good. My employer is still using Windows 2000 as the corporate desktop, because it just works for everything they need. That's why they have'nt shifted to Windows XP, and they won't until they absolutely have to. Microsoft knows that its money comes from corporate customers and it does'nt have the luxury that that Apple has in saying to customers that "we're transitioning and you better cough up the money to buy new stuff, and if you can't do that, well tough. " </my response> </Nail 4>

<Nail 5> Games <my response> I'm not sure how this is going to be a cause in Microsoft's demise. In my opinion, Microsoft has done a pretty good job in creating a gaming platform for Windows, ala DirectX. The only thing that I don't like about DirectX was the COM programming model that is used to expose functionality. I've never been a fan of COM, and I always thought it was just too cumbersome to use. But it is possible to roll and decent framework, and wrap those COM interfaces, and you can build some pretty decent games. Not to mention that the DirectX games can be easily be made using the standard tools that Microsoft provides (Visual Studio). In theory that means that something that runs on a PC, runs on an XBox. XBox is a pretty decent console and I think the new console is definitely going to help Microsoft retain customers that might gravitate to alternatives like a Mac. Contrast this with Sony's console. Yes its got the largest games, but I'm pretty sure that people out there are working on porting the large variety of games for the PC to the XBox. Personally, I can't wait for the XBox 360 to come out. </my response> </Nail 5>

Thats about it for my thoughts on the subject. Read another rebuttal here.

Different Kinds of Bugs

This is a Bohr Bug . The opposite of a Bohr Bug is a heisenbug, requiring indirect debugging. A rather insidious form of a Bohr Bug is a mandelbug. The most irritating kind of bug is a schroedinbug. I hate these kinds of bugs. I think I've got one on my plate right now.

Friday, July 01, 2005

2morrow ...

I'm going to start another attempt to start three-way split in my computing personality.

...Does that make any sense?