and has 2 comments
So I had this legacy project that I was supposed to work on and so I installed Visual Studio 2003. That is, over VS2005 and VS2008. From then on, every time I had a javascript error in Internet Explorer 8 and that "Do you want to debug" window appeared, if I clicked yes, the system would freeze. And I mean total freeze, not even the mouse would move.

After a few angry reboots I noticed that unchecking "Use the built-in debugger in Internet Explorer" checkbox would not freeze the system. Setting it back on would bring the problem back. So this is what I did:
  1. went to a page with a js error on it
  2. unchecked the setting so that the system would not freeze
  3. chose a debugger from the presented list (but not the default one)
  4. set it as default
From then on, my problems were gone.

In conclusion, I have no idea what caused the error, but this is how it was fixed. I hope it helps people in the same predicament as myself.

and has 0 comments
I am not working with barcodes or anything, but I think this new technology is kind of cool. Something that acts like a barcode, encodes more information and it is several times smaller. More than that, it can be read from multiple angles and from a distance of up to 20 meters!

I can imagine multiple applications, but what I specifically think could be great is augmented reality. It would start with markers that would tag objects from computer detection, but then it would probably transform into a communication system, if the codes are dynamic. And I am not talking about replacing IR or bluetooth here, but couldn't one imagine a programmable bokode that would change the tag of an object? Think picture frames. Or TV images. Something that would tag a dynamic object like a video screen.

and has 0 comments
I usually don't like Mecha anime, with silly robots fighting battles that make no sense. I also dislike the Ecchi style, where young almost preteen boys and girls fall in love or are dressed in a sexual manner, with no sense either. At first, this is what Guren Lagan seemed to be. However it evolved into something else, and there is a pun in this phrase.

The series revolves around the "spiral power" (enough with the puns already!), the power of evolution, which allows people to get to new heights every time they meet an obstacle. Even if the animation was pretty basic and the story about always shouting robotic pilots that power their machines with the strength of their souls (geez! :) ), I just have to give it points for rapidly changing form and evolving in style.

We follow a bunch of "villagers" escaping from their underground almost stoneage dwelling and getting to the surface, where, in the course of 7 years, reach another universe and destroy the very beings intent on annihilating humanity with a robotic starship. Now that's fast :)

However, this is not it. What began as a simple courageous brawl twisted into a story about friendship, then despair, then rebuilding, going through the unforgiving politics of unintelligent human masses and ending with a galactic... no, universal battle for the survival of the human race, all in 27 episodes. I say not bad! I was expecting to see tens of episodes going nowhere and then ending suddenly when the funding was gone, but no, it was a complete story, evolving from the level of 7 year olds up to almost adult (in a timescale sense :P) level.

So watch it, it might surprise you. Prepare yourselves for really corny dialogs and a rather simple animation, though. Oh, also, you might find a Guren-hen movie that is like a summary of what happened from episodes 1 to 11 in the series. If you have watched the series already, the movie is made of fragments of it, so you don't need to watch it. If you are in a hurry and you have seen neither, watch the movie, then the series from episode 12 upwards.

Yay! Post 600! I will post about a new song that you have certainly heard during movie trailers or if you watched Requiem for a Dream: Lux Aeterna, composed by Clint Mansell. No video for this one, even if the embed is from YouTube.

It's just nice and hints on the rithm of development of both myself and the blog ;) Have fun!

and has 0 comments
I had not read a scifi book in quite a while, but then I heard of Alastair Reynolds, once an employee of ESA, and now turned hard sci fi writer. I just had to read something by him and I started with Revelation Space, the first of the Revelation Space universe books, which spans 5 books and several short stories and novellas.

What can I say? I loved the book. Not in a very intellectual way, though. Certainly the universe in which the action takes place is very ingenious and the story full of twists and hi-tech marvels, however, I felt like the writing style was not completely to my liking. The characters are all very much alike, the leaps in logic are pretty big and only to support previous ideas that the book had put forward. It seemed lazy to me. But I did say I loved the book, once I got over the "revelation" that the PhD in Astrophysics and the ESA work did not compel Mr. Reynolds to be very thorough. Besides, it's only the first volume. Maybe the next ones will be more natural, now that a first book has established the rules of the universe.

Prepare to delve in a place where technology is way more advanced than today, but faster than light travel is not yet possible and the lives of people on spaceships, frozen in stasis and moving at relativistic speeds, feel like weeks have passed between a world and another, while for the people on the planets decades or even centuries have passed. Extinct races, time spans of billions of years and impressive armament (both in the physical and virtual realms), favourably offset the fact that humans are pretty much the same and they all sound like Asimov characters :)

As you have probably noticed, a lot of my recent posts have been about WPF. Having to do a demo in this new (for me) technology I had a lot of thing to learn and a lot of brick walls to hit. It was exciting, but also difficult, with new concepts that felt awkward, mind twisting. I even burst one day shouting "I hate WPF".

However, I am now working, temporarily, with ASP.Net (no Silverlight) again. And guess what? At every step where I need to design something, I think in the WPF way and find the web way lacking. Riddle me this, riddle me that. :)

Of course, some might say that this is another proof of my whiny personality. I hate when people say that about me!

and has 2 comments
I have this Genius Comfy KB-16e model K640 keyboard. I went to the Genius web site and downloaded the drivers and Media Key application which is supposed to control what the "media" keys are doing. But the application is crap. It only shows some of the buttons I have and some I don't. Most annoying, I don't have listed the buttons for previous/next track.

The solution is to modify the registry. If you go to the Media Key installation directory (typically in Program Files) you will see a registry file called Magickey.reg. It holds all the information loaded in the reg by the installer of the Media Key application. Open it with notepad (not by double clicking!) and search for "Function Table". You will see a bunch of equalities like:
"0000000B"="Show MediaPlayer"
You will need to write somewhere the numbers associated with the keys that don't appear in the Media Key application. In my case
"00002000"="Previous Track"
"00002005"="Next Track"
Ok, now run regedt32.exe from the command line (or Run command in the Start Menu) and navigate to HKEY_LOCAL_MACHINE\Software\WayTech\Versato\System. You will see there stuff like button1, button2... and their values 0000XXXX or some string holding a path. All you have to do is double click on the buttons that hold the numbers you wrote down as the value (in my case 2000 and 2005) and write instead of the value a path to a batch file or an exe file. I use bat files so I can change them later.

So, in my case I double clicked on button17 and button18 and filled the value with C:\Batches\prevTrack.bat and C:\Batches\nextTrack.bat. And now it works. I am sure you can change something in the registry to actually make the buttons visible in the Media Key application, but I don't care about that. If you do it, please let me know.

If you have the same problem as I do and all you want to do is set up your Music, PlayPause and Prev/Next buttons, take the text below and write it into a file with the .reg extension, change the paths to your own batch files, then double click on it:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WayTech\Versato\System]
"button7"="C:\\Batches\\playpause.bat"
"button8"="C:\\Batches\\playlist.bat"
"button17"="C:\\Batches\\prevTrack.bat"
"button18"="C:\\Batches\\nextTrack.bat"

and has 0 comments
I know, Might and Magic IX is an old game, but I haven't played it because, after being a HUGE fan of Might and Magic 1 through 5 I got really dissapointed with versions 6,7 and 8, which used 3D technology, but presented a lot less as the game story and playability was concerned. Then I played the tenth version, Dark Messiah of Might and Magic, which was a completely different game, more of an Arx Fatalis 2, rather than M&M 10. Not that it wasn't very very cool, just wasn't what I had expected from an M&M game.

Enter Might and Magic IX. From the start it looked less modern than versions 6-8, which prompted my friend to think that he played more recent versions of the game. It became soon apparent that it was an attempt to go back to the roots. The game was complex, the map large, the monsters inventive and the storyline pretty interesting. Also, they returned to the old solution of dungeons, where entering a place was moving you to a new map, rather than a small part of the larger one.

I loved every moment of it until close to the end. The cities at the end of the game had less stuff in them, less monsters around and of a more poor quality. I kind of expected that, since it must have been a long software project plagued by a release deadline in the end. However, when I had to spend hours trying to get around dungeons filled with powerful yet silly monsters just to get to the end, I got very bored. I actually did not finish the game, only about 95% of it.

The game had an unhealthy amount of undead creatures, which made Turn Undead a very useful spell. Unfortunately, I think it was a bit buggy. After a strong Turn Undead monsters continued to run, even if the spell wore off. Another really nice spell was Enrage, which allowed one to make monsters fight each other. Wizard Eye was a bit annoying, since it lasted a too short a time.

I recommend you check the character development tree (Druid, Healer, Lich, Gladiator, Assassin, etc) and decide from the very start which character in your party will be what. Pay extra attention to the promotions. You may be able to promote more characters in the same time, but then you are commited to that path with all of the characters. Try to build each character in a different class. Some allow for very powerful spells that one cannot learn or use otherwise.


I don't want to spoil anything, so I will let you play it and enjoy. I applaud the return to the old values of Might and Magic, even if those older games had a lot more brain and humour in them and this had a lot of braun. The ending was inconsistent with the M&M storyline so far which was disappointing.

Bottom line: greatest of the true Might and Magic 3D games, I wish I was young again and full of free time so I can play it without looking at the clock all the time. If you somehow missed it, do play it.

and has 0 comments
Something really cool from the TED blog, this image is an optical illusion of grand scale. See the Cyan/Green spirals? Well, they are the exact same color. Trust me, I opened Paint.NET and checked their RGB values. Event at immense zoom, the colors still appeared as different.

and has 0 comments
I know it is not the very best method of implementation, but I had to make due with the "client only" Blogger solution. There is a link in the left bar called 'Low band version'. Click on it and it will set a cookie for 30 days and then refresh the page. Then you should be able to see the backgroundless, barless, label-cloudless blog version. You can also add a #lowBand hash at the end of any blog link to force a low band. Something like this: https://siderite.dev/2009/06/low-band-version-of-blog.html#lowBand.

Keep in mind that this relies heavily on javascript and cookies. If you have either one disabled, you're in a world of trouble. It seems that the blog will appear in low band mode all the time if you have javascript disabled and always normal mode if you have cookies disabled and you have not used the hashed solution for the low band.

Please tell me if anything causes problems so I can fix it. As far as I know it works on latest IE7, FireFox3 and Chrome.

and has 0 comments
Ok, would I like to make a music video and then all the people watching it on YouTube instead of buying the record? Well... actually yes! If they like the song they will either buy the record or download it from a peer to peer network. And it beats people NOT watching my videos and listening to my songs.

I may not be the perfect example of a musician, since I don't sing, play or dance, but still, what happens on YouTube just doesn't make sense: Most of the cool videos of original songs were deleted! Even those with scenes from movies and such. Are actually the band members surfing the net, fishing for videos of their band and requesting their removal? NO! It's (again) the distribution companies, the record companies, that think this is some sort of way of either
  1. decrease piracy
  2. make some money out of Google
. And , at least for me, this makes me even less likely to apreciate that band and buy their album.

It all reminds me of what happened in my home country of Romania. After the revolution, nobody could be bothered with copyright laws, therefore the streets were littered with people selling pirated CDs. Then the economic stability brought some law enforcement (and widespread Internet) and now you can't find pirated CDs on the street anymore. Do people buy more music albums now?

In the end it is all about the ease of purchase. If you stumble upon a nice CD from a band you love, you will buy it, provided you actually use a CD player anymore. No one goes out of their way to a store specifically for music unless they are collectors. It's so much easier to just watch TV, listen to the radio or watch/listen to their Internet versions. Online stores are not much better. They anally query for all of your personal details in order to buy a crappy thing. It may work for electronics, but not for data!

Probably some day a brilliant idea - like combining IM identities with pay later accounts, or maybe vending machines with USB ports and touchscreens to load any music on your MP3 player for a fixed fee - will work, but until then, people will do what is the easiest thing to do. I mean, if writing music CDs and then distributing them is so damn expensive, why should I pay for it when getting the music online?

Do I feel a little guilty for listening to music and not paying for it? Yeah. But not that much.

What has gone into Siderite and made him rave mad? Is he high? Everybody knows that software patterns are all the rage and the only perfect and delicious way to make software. You can't just go "cowboy style" on software, it's an industry after all.

Well, I am not saying that (although you can probably guess from my impression of my virtual/inner critic that I am a bit partial to the cowboy approach). All I am saying is that once you identify a pattern (and yes, to open another parenthesis, a pattern is identified not learnt) one should never stoop low enough to use it. Some software should do that for him!

One good example is the Iterator Pattern. It sounds so grand, but the software implementation of it is the foreach command. Does anyone actually think while iterrating through a collection that they are using a pattern? As I said before, patterns are identified. You think of what you have been doing, see a pattern, make some software to take care of similar situations, then get on to identifying another pattern.

Well, yes, but you can't entrust everything to a software, Siderite! You will bloat your code, create tools that will do less than you wanted and still end up doing your own efficient code. I know, I've seen it before!

Well, thank you, critic! You have just identified a pattern! And any pattern should be solved. And yes, I agree that software can't do everything for you (yet!) and that sometimes the tools that are designed to help us with a problem become a problem themselves. But instead of having "two problems" you have a bad solution to a previous problem. Fixing the solution would fix everything and the problem domain is now one level of abstraction higher.

Stuff like managed code, linq, TDD, ORMs, log4net... just about every new technology I can think of, they are all solutions to patterns, stuff that introduces new problems on a higher level. What C# programmer cares about pointers anymore? (developers should still be aware of the true nature of pointers, but care less about it).

There is one final issue though, the one about the actual detection of patterns. Using "prediscovered" patterns like from the classic Gang of Four book or anything from Martin Fowler is ok, but only if they actually apply to your situation. That in itself shows you have to have a clear image of your activity and to be able to at least recognize patterns when you see them. Sometimes you do work that is so diverse or so slow that you don't remember enough of what you did in order to see there is a repetitive pattern. Or, worse, you do so much work that you don't have time to actually think about it, which I think is the death of every software developer. Well, what then?

Obviously a log (be it a web one or just a simple notebook or computer tracking system) would help. Writing stuff down makes one remember it better. Feeling the need to write about something and then remembering that you have already done so is a clear sign of a pattern. Now it is up to you to find a solution.

Back to the actual title of the post, I recognize there are situations where no automated piece of code can do anything. It's just too human or too complex a problem. That does mean you should solve it, just not with a computer tool. Maybe it is something you need to remember as a good practice or maybe you need to employ skills that are not technical in nature, but should you find a solution, think about it and keep thinking about it: can it be automated? How about now? Now? Now?

After all, the Romans said errare humanum est, sed perseverare diabolicum. The agile bunch named it DRY. It's the same thing: stop wasting time!

and has 0 comments
HBO has done it again. I am not a great fan of the HBO channel. The movies I see on usually suck ass, the series are cut short, it's a consumer thing. But the HBO produced movies and series are something else. Very often I am amazed of the orginality of a series idea and the quality of the show and then I see it's HBO productions.

Entourage is one of these gems. A show loosely based on Mark Wahlberg's personal experience as a rising actor, it features four childhood friends, one of them quickly becoming a major Hollywood star. Mark Wahlberg is another guy I like without him being a mainstream accepted actor and also an executive producer for Entourage.

Anyway, through all the good and the bad, these four guys stick together. This alone is something to watch the series for, but the acting is very good, too. The whole show shines, yet to tell you the truth, I think that the real stars are Kevin Dillon and Jeremy Piven, who are actually secondary characters.

Again it is proven that great stories are the ones based on reality and you can see that the show has soul, it's not just a winning recipe applied again and again. And even better, I am at the end of the second season and it has not become any worse, so it is not just a one season wonder that quickly collapses after, but something solid. Also an interesting thing is how they have a guest star or two in every episode, playing often themselves, sometimes completely different people.

So watch it!


A while ago I saw the anime Fullmetal Alchemist and I was really starting to like it. An interesting melange of dark horror, funny kid stuff and magic in a very consistent alternate universe. Unfortunately the anime ended, in a somewhat unsatisfactory way.

Enter Brotherhood. This is the "continuation" of the original series to match the progress of the manga. I believe it will quickly tell the story up until the end, then ignore the previous ending and continue in a new way. Unfortunately I already know what is going to happen, having read the manga, and also don't especially like that storyline either. I hope it will not suck like Berserk did. After a brilliant start it just failed utterly.

Anyway, hopefully the anime story arches will be more interesting than those in the manga.

and has 0 comments
I was just installing a new system, with all the necessary tools of the trade (Visual Studio(s), Sql Server, etc) and after I've installed VS2005 I noticed that there was no entry for the Business Intelligence Studio. I've tried all kinds of "solutions" on the net, varying from using some complicated command line to running vs_setup (exe or msi) or even reinstalling everything (which I refused to do).

In the end the problem was simple enough: Visual Studio installed some SQL Express version and the SQL Server 2005 setup thought I already had Business Intelligence Studio installed, so it never did reinstall it. The solution is to run this command line:
setup.exe UPGRADE=1 SKUUPGRADE=1
on the SQL 2005 installation kit.

Warning:
  • the parameters MUST be upper case, otherwise it will not work
  • it may be that only one of those parameters is actually necessary, but I have tried them both, anyway
.