and has 0 comments
This is mostly a rant, but also it should help people trying to do this as well to stop trying until there is some sort of solution from the VLC side.

I was trying to see how a web cam can be streamed over the web using VLC, a software that otherwise am very satisfied with as a video player. Recently they did a 1.0.0 version, which is quite something for free software that comes from the Linux world; usually they are 0.8 something and with a lot of alpha-beta-zeta afterward. So, as I was saying, recently VLC jumped from the 0.9.x version to 1.0.0, with a much more user friendly user interface and (at least so it seems to me) less adaptability than before. What I mean is that, in extreme cases, it throws errors that previous versions were able to circumvent, like when using partial or damaged video files. Also, it crashes on some older videos as well and I am forced to use the ancient (but sturdy) mplayer.

Back to business, I read the comprehensive command line help file that is almost 250k long, found what I was looking for, then tried. No success. I really felt like an idiot, as it wouldn't work whatever I did. In the end I just gave up and tried to start the streaming from the GUI, not from the command line. IT WORKED! Copying the exact command line parameters that the GUI would generate did not work. Saving the WORKING streaming to a playlist and then loading the playlist DID NOT WORK.

Here I have to say two things: when I say that it worked, it means that I had to fight it to be able to stream what I wanted and not HOW I wanted. Basically, the streaming will not work AT ALL if transcoding is not activated, which I personally think it makes it unusable anyway.

So, bottom line is that if you are trying to use VLC 1.0 from the command line, you are pretty much screwed. At least the flag that I was interested in (--dshow-vdev) would not select my web cam if its life depended on it. And it sort of did. Not likely I will use VLC in my business application.

I've even tried to go to one of those old style PHP forums that they have on the Videolan site. I waited for half an hour to receive the registration email and at that time I had given up completely. They had like 60.000 messages on the forums anyway and I doubt I would have gotten a reply any more intelligent than the usual RTFM. Yeah, I know, I sound very Linux unfriendly, but actually I am not, I've worked on Linux quite some time. What I am not friendly towards are the borderline psychotic assholes that only answer when they have nothing to actually say to help.

and has 0 comments

The fourth book by Alastair Reynolds that I've read recently, also set in the Revelation Space world, Absolution Gap follows the adventures of the ship Nostalgia for Infinity as it flees the "culling" of the Delta Pavonis star system by the swarm like machines called the Inhibitors. There is no purpose in reading the book without the others, as the story starts where it had left and continues to a more or less open ending.

This felt like the best book so far, however the enjoyment that I got from it had its very brutal ups and downs. While the beginning starts with full force and made me want to not let go of the book until I finish it, there was a side story that seemed not to have any connection with the main arc. When they finally met, they left me with that "What the fuck?" feeling. The ending was a jiggly up and down ranging from very cool and completely dumb. Not that the writing style faltered, but the behaviour of some of the characters really annoyed the crap out of me.

I would have to say that the ending was the most anticlimactic of all the books in the series, but the book is definitely the best yet.

and has 0 comments
Count Zero is the middle volume of the Sprawl trilogy written by William Gibson, which includes Neuromancer, Count Zero, and Mona Lisa Overdrive, all of them very good books and set in the same universe as the short stories Johnny Mnemonic, New Rose Hotel and Burning Chrome.

I had read this book when I was a child and I loved it a lot. Circumstances moved me towards reading it again and I am glad they did. In my youth I had barely understood it and I can't say I did a lot better now either; that's because Gibson is one of the mature writers, writing for the mind and heart of adults.

Count Zero in particular, it felt like something one must feel through bones, must sip the content like a good coffee and digest the content with one's soul. Alas, I am not that kind of a guy, so I read it fast in the subway while going to work, in big gulps, like the glutton I am. I highly recommend the former approach ;)

The plot itself is like a high tech detective story, but it is almost irrelevant. Gibson has such a clear and powerful vision of the future, that it subjugates all of its characters to it and makes it, the future, the main character. Many things are not said, but left to be understood, like the reasons while the world is the way it is and why people act the way they do. Read Count Zero, even if you are not a sci-fi reader, because beyond the storyline there are layers upon layers of worldliness and it is a great book.

and has 0 comments

It wasn't a very memorable trip, but I had to write this because of the Bohemi hotel in Arbanasi, which must most certainly be avoided. And it was, overall, a nice holiday. But let me take it from the beginning.

We took the car starting up from Bucharest and went towards Veliko Tarnovo. We passed through Basarbovo, to visit the rock monastery there. Very nice place, if you like churches. They have these small rock dug rooms where priests used to live and pray and then the monastery which was in renovation when we came there, but had a very lovely garden.

We then moved towards Cherven, where we visited the castle dig which is archaeologically active. It is a large XIV century Christian fortress, where one can see how people lived in the day: small one room living quarters and then a gazillion churches, large and small, then some administrative buildings and some defence walls and watch towers. There are about 200 stair steps to reach the castle from where the car road ends.

Next was Ivanovo. Some other rock monasteries, but everything set inside a natural reserve, a very beautiful place.

Then we went towards Arbanasi, a touristic area where there are a lot of hotels and where we arranged for accomodations. The hotel we chose was a three star hotel called Bohemi, boasting internet, minibars, outdoor oven, breakfast, etc, depending on the tourist site you search for it. Let me tell you how it really is: it's a two star hotel with smelly rooms, no parking, invaded by insects and spiders (and a scorpion which scared the craop out of my wife), no internet, no minibars, with a breakfast as the ones from the communist era: some bread and butter and jam and some salami/cheese slices. The hotel itself is one of many owned by the same people, so the person serving there is only an employee, put there to mind the place. In the room, after we got used with the stale odor of moist walls, we noticed that we has not enough sheets and two out of four light bulbs were not functioning. Really, I can't stress enough: 35 euros per night?! In times of economic crisis and with this kind of service? Avoid!

Arbanasi itself is not a bad place to stay, eat, sleep, and then back again. It would have killed me with boredom if I didn't have a car. They have a monastery there, but by then I got tired of any type of religious building. The restaurants where very nice, but service was consistently bad. I haven't seen dumber waiters in quite a while.

Veliko Tarnovo is a large city, once the capital of the second Bulgarian empire.

The stronghold there is a very nice place, where they don't allow sale people and where people can see theater and sound/light shows in the evening. Very large, beautiful and accomodating. Then there are some monuments and some nice streets.
The city itself is pretty cool. Lots of churches, of course :) I am sure that, being with my parents, I missed a lot of the hidden beauty of the town, but it was nice nonetheless.





That was about it. Take the links to get more information. My general opinion of Bulgaria is that it is a nice country, beatiful and wild, but rather poor. All the small towns and villages we passed through looked half abandoned, with many disaffected buildings and very few people. The economic crisis must have hit them pretty hard, too.

and has 0 comments
As I was saying in the last posts about the Revelation Space books by Alastair Reynolds, the guy has a problem with his own personality bleeding into the one of his characters. However, as the second book was better than the first, so the third one, Redemption Ark, seemed to be better than the second. It may be because now the main focus is on the Conjoiners, the fabled human faction that gave the star drives, facing the threat of the Inhibitors. Also, a very promising explanation of where they got the idea from in the first place.

We are seeing a lot of old characters from the previous books in this third installment, which bothered me a little because they weren't really needed, but it's not too annoying. Also, some of the awesome technological feats in the book are only partially explained and sometimes even completely ignored and left to a vague description, like "distant lights" when referring to a Hell weapons vs Inhibitors battle. But the focus, as always, was more on the human interaction than on the technical part, although there was blessingly more tech than in the first two books.

Since I've finished the book while away from home, I started reading another book, not the fourth in the series, so you will probably have to wait a while longer before I review that, but rest assured, I fully intend to read the entire saga.

and has 2 comments
Avatar is one of those animation series that you read about and think they're crap. I mean, first of all they are not Japanese :), they are actually US. And then they are shown on Nickelodeon and then they are about and for kids. I must be honest when I tell you that I accidentally heard about the series and I had no great hopes for it. However, as it turned out, it is a great show, one to be watched and enjoyed.

The show is mostly inspired from Chinese mythology, with Western and Indian bits thrown in when required. The world is separated into four nations. The people of each nation can control in various degrees a specific element magic: air, water, earth or fire. Unlike say, Naruto, there are no people that can control or mix more than one magic type, except a special and unique person, the Avatar. The Avatar has the job of protecting the world and, if killed, reincarnates into another person. The last Avatar, though, dissapeared a century before the show starts and no one has heard of him or any of its reincarnations. Meanwhile, the evil Fire Lord has started a war to conquer the world and he is about to succeed.

Well, you can see where this is going, right? The Avatar comes back, he is a goofy kid, and in the end he saves the world together with his friends. However, the animation, the stories and the teachings in this show are all high value and, for once, something a kid can see, enjoy, understand and USE in the real world. Well, all except the magic part :)

What is also great about the series is that it is not a work in progress. It did not end because the ratings went down or the economic crisis hit or whatever and it has very few filler episodes. It was a long consistent script that span three seasons of 20 episodes each and then ended with no significant loose ends.

In other words, this is one of those rare American shows that can rival the best Japanese anime series. Even my wife enjoyed watching it (well, most of the time).

and has 0 comments
Chasm City is the second book from the Revelation Space series written by Alastair Reynolds. It is set in the same universe, give a few hundred years, and it felt to me as a better, more mature book than Revelation Space. However, truth be told, the ending had the same flaw: the personality of the author bled through all the characters, transforming them into a do-good Scooby Doo gang, eager to solve mysteries and help people. Sorry, Mr. Reynolds, you're just too nice of a person! :)

Anyway, this time the plot revolves around issues of personal goals and identity, the very definition of a persona and of quality of life. While the story is intricate enough to make it a great book, I thought many of the concepts in it were very interesting, but insufficiently explored. Then again, explore any concept long enough and you never get to the other end, so at least having a complete coherent story that spans the entire plot is a big plus.

I just started Redemption Ark, the third book, which (finally! :) ) deals with the Conjoiners and a technologically advanced alien race. Or at least it starts that way. Happy reading!

and has 1 comment
I've had the priviledge recently to be able to watch two batches of horror movies from start to end without interruption, what I lovingly like to call FrightFest@Home. All my movie comments can be found here as well as another list, ordered by my vote here. The permanent links are in the top right of the blog as well.

However, after this, I felt compelled to also write a blog entry about them, since, as the horror genre goes (and, why not, the entire movie class), most of the films I have seen were rubbish.

So, these are the movies I have watched. I will cross out all the movies that are not worth seeing and bold out the ones that I felt need to be seen. I reiterate: all the movies in the list are horror (or at least marked as such on imDb). I would like to add a special thanks to M'hael from The Horror Club blog who recommended many of the films in the list. Here is goes:

Have fun!

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"