Windows 95 under Windows Vista

After I had been able to get a Windows XP running under my Windows Vista using Sun’s Virtualbox I was still experimenting to get a Windows 95 running as well. I had been running into the problem that setup of Windows 95 failed at the point where it started to copy files to the disk. After I got myself the latest version of Virtualbox (3.1.2) I tried again and failed again. Nevertheless, this discussion thread in the Microsoft Server Forum made me a bit smarter so that I could overcome a few problems and finally got Windows 95 installed. The solution was to start the setup from c: root drive as "setup\setup.exe" instead of changing to the setup directory and starting it from there, and to apply the following virtualization configuration settings: 8 MB video memory, 128 MB RAM, 500 MB hard disk ( I actually used the 2 GByte initially recommended by Virtualbox, but configured my primary partition to be 500 MByte ), disabling VT-x/AMD-V and pae/nxBut. So far, so good. After a successful looking installation I attempted to boot it the first time it bumped into an “invalid or corrupted command.com” problem.

I discovered a newer version of Microsoft Virtual PC 2007 which now runs on Windows Vista ( even during the install it told me it wouldn’t be supported on my home edition of Windows Vista ) and thus tried this one to setup a Windows 95 on my Vista box. Same result. Apparently something wrong with my installation media ? But why did the install succeed ?

Finally I got the idea to grab a copy of my virtual Windows 95 hard disk from my old XP machine where I had setup Windows95 under Windows XP using an older version of Microsoft Virtual PC 2007. After I had copied this over my Windows 95 booted up nicely. At least the first time. During the second boot it ran into this problem. A patch is recommended in this discussion thread and it is assumed this error can be caused by the processor speed being too high. Before I tried the patch I disabled hardware virtualization and see: Windows 95 now boots without any problems.

Windows 95 running on Vista

Thus, time now to play Tomb Raider 3 and other good old games in a Windows 95 box on my Vista PC.

Installed Ubuntu using Wubi under Windows XP

Today I installed Ubuntu using Wubi on my old SONY PCV-RX 202 with 512 MByte RAM and a 1.8 GHz Pentium 4 processor running Windows XP, as described here. Went nice, Ubuntu boots and works and I even can access all my other drives and directories. But a few things simply don’t work out of the box on such an Ubuntu installation:

  1. my Fritz! WLAN stick doesn’t work
  2. I can not play mp3 files
  3. I can not watch flv videos

I started to get the WLAN stick to work and followed some instructions available here. No luck. The linux driver won’t compile, to unpack the Windows driver I would need either Wine or Cabextract; so far I couldn’t figure out how to get any of the two, they didn’t show up as available packages to add to my Ubuntu install.

Besides I noticed another strange thing:

4. the blower in my computer seems to blow full power as long as I am running Ubuntu. No smart temperature management so far.

The journey continues ….


Update on February 2, 2010:

Followed these instructions to install Wine. This caused Update Manager to be activated and ask to install 213 updates. My thought: why not, may be this fixes problem # 4. ? Have been reading a lot about that problem here and here, seems to be a well known weakness in Ubuntu distributions. Isn’t is amazing what things you need to worry about as a Ubuntu user ? Never thought about fan speed while running Windows. It simply seemed to work the smart way.

Apparently none of the 213 updates fixed my fan speed problem.

Anyway, time to install Wine. Well, seems to be not that easy:

Some good news: problems # 2 and 3 are solved meanwhile. Either through the updates or the fact that I connected to my wired network and thus player have been able to download the right codecs.

Meanwhile I tried the link provided in this article to install Wine, and got this:

If they could tell me what packages are missing ? Why isn’t this resolved automatically ? Thinking.

Well, there is actually a second version of Wine offered and even it is called a Beta version I selected this one since the non-Beta version didn’t install.

“The art of finding the right Wine”

Funny enough, this beta version installed fine and a little later I had been able to finally unpack my Fritz! USB installer exe to get to the files I would need:

“Windows Files needed to get my Fritz! USB Stick to work under Ubuntu”

I followed ( kind of ) these instructions now to get ndiswrapper or “Windows Wireless Drivers” installed. I actually searched in Ubuntu Software Center for “ndis” and bumped into the “Windows Wireless Drivers”  package. After installation an entry “Windows Wireless Drivers”  showed up in the System->Administration menu.

Using this utility to add my WLAN driver caused this error:

even “Hardware present: Yes” is finally shown under “Currently Installed Windows Drivers”. I uninstalled an tried the Terminal-Command-Version of the installation procedure with the same result. ndiswrapper –l shows:

WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

fwlan : driver installed

device (057C:6201) present

Hmmm, partially good, but a bit obscure. I tried to configure my WLAN connection through network manager ( accessible from the top desktop bar ).  It detected my network “Auto Fritz!Box Fon WLAN 7113” but insists in using a “WPA & WPA2 Personal” type of security instead of the 128-bit WEP I need. Changing to WEP still makes it prompt for the WPA authentication when I attempt to start wireless. There seems to be a bug in the connection management software; it automatically adds this WPA configuration and simply ignores my WEP configuration.

What a mess !

Ajax for beginners

As mentioned yesterday I have been reading “Ajax: A Beginner’s Guide” by Steven Holzner. I finished it today and must say: an excellent read and absolutely worth the time spent on it ! It teaches the fundamentals around HTML, XML, dynamic HTML, Javascript and PHP in the context of developing dynamic web applications with what is called Ajax technology. It comes with 12 easy to digest chapters and lots of examples to go through and try on your own. In order to do the latter for almost all examples of course a web server is needed and PHP for the examples making use of PHP as a very common means to do  server side programming. Since I have Apache 2.2 set up on my thinkpad and PHP installed I have been able to do all these examples and really learn all the nice things you can do we Ajax.

A lot of the fundamentals have not been really new to me but it actually did not hurt to go through this again and add some more solid knowledge around a few topics and some great tips by the author like

  • the difference between GET and POST and how to handle that
  • usage of an anonymous inner function as the easiest way to handle multiple XMLHttpRequest objects
  • usage of array type names for form elements to handle many forms and containing elements through arrays
  • usage of literals as an index for arrays in PHP
  • handling timeouts
  • handling image maps
  • the real difference between client side and server side programming

The latter became real obvious when debugging my examples. Based on the fact that in Books24×7 apparently scanned-in soft copies of the original books are used a lot of typos made it into the code in form of incomplete lines and thus missing semicolons or brackets, or additional blanks, or the typical confusion between e.g. “1” ( the number ) and “l” ( the letter ). It turned out that HTML and Javascript errors are easy to catch through the browsers error console ( because that’s of course code running on the client side ) while PHP errors are invisible on the browser and one has to peek into the server side log files to catch those. Makes sense, but experiencing it is a different thing.

As I mentioned browser: what I really like as well about the book is that the author puts a lot of focus on the differences of browser and what works and what doesn’t work in either Microsoft’s Internet Explorer (IE) or Mozilla based browser. Capturing mouse events for instance works very different in IE vs. Firefox and the author shows an elegant way to write a wrapper function to deal with both cases. There are four different dynamic HTML properties available, but only one works in Firefox: innerHTML. And most annoying is the way Mozilla based browser create a DOM ( the Document Object Model ) from a web page compared to IE: for some strange reason the DOM created by a browser like Firefox contains blank elements for the indents in front of nested tags. Hard to explain, but this is a great way to confuse programmers and make properties like firstChild or nextSibling hard to use. Again a nice way is shown how to detect whether a Mozilla based browser is used and to remove those dummy “white space node"s” in this case. Well done ! The author also highlights what works in both browsers and thus gives great advices what to consider when you want to develop some web applications supposed to work in both types of browser.

So, if you consider to do some Ajax web development, this is a must read ! 12 Chapters – if you do 1 per day you are done in two weeks. It takes may be 1 or 2 hours per chapter including trying out the examples. Well invested time, to my mind !

Professions for my next life

Next time I am born I think I will go for one of these professions instead of becoming a project manager:

    4) Spazzacamino 2007
    "4) Spazzacamino 2007" by Alberto Ferrero.
  • Chimney sweeper. One has been in my house recently. He charges me € 65 for 15 minutes routine work, and this contains a lot of small talk as well.
  • Scuba diving instructor somewhere on Fiji or the Maldives. Probably not the right profession to make lots of money but the right profession to always be at beautiful places where other folks have to pay a lot of money to be there for just a few days. OK, I would need to become a much better scuba diver than I am currently, but if I would start to learn it early enough in my life that should work. Or how about mountain guide or something similar ?
  • Writer of books about programming. If you know your topic it is easy to fill hundreds of pages just with the source code you have written. Currently I am reading “Ajax: A Beginner’s Guide” by Steven Holzner, also available on Books24×7. Don’t get me wrong: it is an excellent book I can recommend to everyone who wants to start with web programming and Ajax, with HTML, XML, dynamic HTML, Javascript, PHP, or who thinks who knows something about web programming and Ajax, about HTML, XML, dynamic HTML, Javascript, PHP, like I did. The book is excellent to teach or refresh a lot of fundamentals and comes with lots of interesting examples in a very detailed way – and that’s where the author generates lots of pages with developing and repeating his source code again and again as he explains it in detail. Which is good. And a reasonable way to make money. More about this book may be later here in my blog.
Posted in work. 1 Comment »

Recording music from a web browser under Windows Vista

Among many things which did not work out of the box on my Windows Vista installation – like creating and burning to CD music playlists or displaying some web sites correctly – recording music from a web browser didn’t work either. On my Windows XP machine I am using Free Music Zilla to record music tracks especially from last.fm. It has a limitation of only 10 downloads per day but works nicely and easily with Firefox. Nevertheless: under Vista of course it doesn’t work at all: Free Music Zilla simply doesn’t seem to catch any audio stream from my browser.

One of my Christmas presents was a “Vinyl USB 1 Turn Table” from DJ-Tech allowing me to record my vinyl disks and store those as mp3 files on my computer. It comes with an Audacity CD as the recommended software to do the recording. Audacity is a free, open source software for recording and editing sounds. After I recorded my first discs successfully I was studying the documentation a bit and bumped into the chapter about Preferences and Audio I/O where I discovered that Audacity of course can capture from all kinds of audio input channels: The two drop-down list controls in this pane is where you configure which device Audacity should use for sound input and output. This basically means which sound card, USB sound device, etc you want to use. If your sound card support multiple sound inputs, e.g. has a microphone input and a line-in, then you select these on the mixer toolbar.

Von Software

Initially I wasn’t able to get the audio line-in from my soundcard to show up as a selectable input source. I headed to Windows System Settings – Sound and found an option “Stereomix” not enabled so far. After enabling it I now can select this additional option shown in screen shot below as an input source and now record audio from my browser or most probably any other type of application using Audacity – without any limitation Big Grin.

Whether this works on anyone else’ computer certainly depends on what sound card and device drivers are installed. In my case it seems to be some Realtek Sound Device together with the corresponding drivers and software enabling me to do what I described above.

Important Hint: “Software Playthrough” should be disabled when recording from the line-in audio stream, since otherwise this will cause some very annoying audio feedbacks effects. The option is useful for recording from my USB turn table allowing me to listen to the tracks without needing an additional amplifier,, but as I said: when recording from line-in, which is played back through the speakers anyway this option definitely should be turned off.

Von Software

Back after 5 weeks

You think a 5-week-vacation is a long vacation ? Yes, it is, for most of us. No, it isn’t if you become aware how many beautiful places there are in this world to discover and how many exciting things to do. Nevertheless, no matter how long a vacation can be, at some point of time it reaches its end.

Auckland
"Auckland"

So did mine, thus back to work. My first Monday started with 400 e-mails and a surprising calendar entry: a class starting on that day at 09:00am for the entire week, every day from 09:00am to 01:00pm, a class about Cognos 8 Framework Manager my boss has sent me to, not because I need it right now, but simply because it is available. The class is interesting but challenging and slows me down a bit to catch up with things like e-mails, blogging, capturing the status of my current project. 

So, what did I do during the last 5 weeks ? My wife and I traveled to New Zealand and explored both the North and South Island for 3.5 weeks, then flew over to Fiji and spent another 5 days there to relax at a beautiful beach of a little island and do some scuba diving. Roughly 4 days were needed to fly around the world, that’s why we ended up with a 5-week-vacation.

Urupukapuka
"Urupukapuka"

In New Zealand we started our trip in Auckland, visited the War Memorial Museum especially to learn a bit about Maori culture, and explored this largest city of New Zealand where roughly 1 of the 4 million kiwis live. in Auckland we also picked up our rental car, a Ford Territory, and drove to Pahia, from where we did a boat cruise through the Bay Of Islands. Two days later we drove over to the West Coast of the North Island to do a hike through the Kauri forests. Then we headed south and to the beautiful Coromandel Peninsula with wonderful bays and beaches, and the famous Hot Water Beach where you can dig for boiling water directly at the beach. Also we hiked to the Cathedral Cove and then continued our journey to Rotorua, to visit the two thermal areas there: Whakarewarewa and Wai-O-Tapu, to see geysers, mud pots,  steaming and colorful lakes and boiling springs. Next stop was Lake Taupo. We then headed to the Tongario National Park, but again, like 9 years ago when I was there the first time, the volcanos were hidden behind clouds and thus we continued our trip right away to Waitomo to visit another natural feature: the glowworm caves. After that we travelled further south to New Plymouth, where we stayed for two nights and some mountain hike at Mount Taranaiki. The weather was nice now and we even could see the Tongario mountains far away.

Picton and Queen Charlotte Sound
"Picton and Queen Charlotte Sound"

Now it was time to get to Wellington and take a ferry to the South Island. When we got there it took us 4 hours to find a room and finally we ended up in a village called Lower Hut Valley I never had heard about before, simply because New Zealand tried to qualify for the soccer world championship and played against Bahrain and thus all rooms were booked in the Wellington area.

After a nice ferry trip over the Cook Strait and through the Queen Charlotte Sound we ended up in this little village Picton, where we spent our first night on the South Island. From there we traveled to the Abel Tasman Nationalpark for a beautiful day hike along the Coast Track, from Bark Bay to Marahau, where we had booked a chalet for two nights and a water taxi to get us to Bark Bay in the morning. Another spectacular hike we did in Nelson Lakes Nationalpark afterwards: around the Lake Rotoiti in 8 hours. After that we got to the West Coast of the South Island and visited the Pancake Rocks, another awesome geological feature of New Zealand. So far the weather had been just great, not really warm, lots of winds most of the time, but lots of sun as well. This changed when we got to the Franz Josef Glacier, nevertheless this area is well known for its many rain days.

Mitre Peak in Milford Sound
"Mitre Peak in Milford Sound"

So we stayed there just for a short hike and continued our trip southwards. We reached Wanaka, a nice and peaceful alternative to busy Queenstown, and decided to stay there for two days to do another great hike: the Rob Roy Glacier hike in Mount Aspiring National Park. After a quick stop in Queenstown we drove to Te Anau, the gate to Milford Sound, the only of the 14 sounds in Fjordland Nationalpark you can reach by car. A trip to and through Milford Sound is always a highlight, especially if you have as nice weather as we had. A ship cruise took us through the sound, which actually is a fjord, out to the Tasman Sea, and back to the head of the fjord. On the next day we drove to Dunedin and visited an Albatross colony there. North of Dunedin is Moeraki with the famous Moeraki Boulders, another must-see in New Zealand.  And then we reached Christchurch, our final destination in New Zealand.

Matamanoa Island
"Matamanoa Island"

From there two flights took us back to Auckland first and then to Nadi on Fiji. From the main island it was a 1.5 hour boat cruise out to this little beautiful island Matamanoa, where we spend the next 5 days with relaxing, snorkeling and some scuba diving. The journey back home afterwards was a 38-hour-trip: boat tour back to the main island, transfer to the airport, flight to Los Angeles, wait on airport, flight to London Heathrow, wait on airport, flight to Frankfurt, Taxi ride home.  It took us almost 1 week afterwards to overcome jet lag.

It has been a fantastic trip with so many awesome impressions and more than 2.300 photos I took. Some of them can be seen on my flickr account: here is my set of New Zealand photos and here is the one with photos from Fiji. Or simply watch a few photos in my slideshow attached below. Our more detailed travel diary will be published in my German blog, so if you can read German you might want to check this out; I plan to publish this day by day in the next weeks.

My favorites for week 42, 2009

NerdSomething to watch: my favorite video clip of the weekabout changing the world

Wouldn’t it be nice if you could change the world as shown in this cool animation video about an Origami World ?

Of course this won’t work, since you share this world with 6.8 billion other human beings. But what, if you could create your own world … ?

Cool Something to discover: my favorite bookmark of the weekabout the size of our planet
We know: Size doesn’t matter. Our planet Earth is really small compared to our sun. And can you imagine how small our sun is compared to e.g. Antaresa red supergiant star in the Milky Way galaxy ? Check out this site for some insightful visualization of the size of our planets compared to our sun and other suns: The Size Of Our World.

Thumbs-up Something to enjoy: my favorite photo  on flickr under a Common Creative licenseabout pumpkins

Free Pumpkin #1
"Free Pumpkin #1" by makdune.

Halloween is coming up, folks, time to buy some sweets to be prepared for the kids invasions before it is too late ! This photo by Andrew Taylor from Poulsbo, United States, is may be not that spectacular, but nicely done with this white background.

Something to talk about: my favorite quote of the weekabout the struggle between individuals and “power structures”

The struggle is always between the individual and his sacred right to express himself and the power structure that seeks conformity, suppression, and obedience.

This struggle indeed always existed – in societies and in any form of organizations, like in companies for instance.
In the era of social software and Web 2.0 this struggle becomes more exciting, since it shifts some power away from the “power structures” to the individuals. 
Are you brave enough to grab that opportunity to speak up, to share what you know and what is on your mind ?

My favorites for week 41, 2009 – about the unexpected and more

Big GrinSomething to laugh: my favorite comic strip of the weekabout potential career goals

How to prepare for the unexpected in a conversation with your employees ? Well – you can’t, since it is unexpected. You’d better prepared for anything.

 

NerdSomething to watch: my favorite video clip of the weekabout the unexpected in a presentation

How to prepare of the unexpected in a presentation ? Well – you can’t, since it is unexpected. The speaker here is doing pretty well, he simply describes what is happening.

Cool Something to discover: my favorite bookmark of the weekabout a nice flash performance
   Scared to click on the PLAY button ? Do it and you will see a nice flash-music-dance-performance type of thing. Don’t worry, it doesn’t take forever. A nice one-minute-break for you so to speak. Enjoy !

My odyssey to find a useful media player for Vista

What I mean by media player here basically is a music player with the capability

  1. to create playlists
  2. to burn audio CDs using these palylists
  3. to create a listing of tracks including track number, title and duration of the track.

While most media player support my first two requirements most fail with the third.

And most media player I tried actually failed at all running properly under Windows Vista. itunes for WIndows, Winamp and a newer version of SonicStage all are pretty much unusable on my system: they respond very slowly and after a while don’t respond at all and freeze on my Vista system. I guess I have to blame Vista more for this than those tools, but anyway: no useful option for me.

I am using a very old version of SonicStage on my old Windows XP box successfully to do what I want. It stores playlists in a Microsoft Access Database (mdb) file and I used OpenOffice Database to connect to this database and query the list of tracks I need to produce the CD Cover sheets.

I also tried the native Windows Media Player on my Vista box. It doesn’t support my third requirement, there is no way to show the track number in the playlist and no way to get it printed or exported somehow. And I hate their design how to edit playlists. I never will grasp why I have to load it into the right sidebar in order to edit it and how to save my changes; I am always confused by this and have no idea what steps to perform in what sequence.

Then I re-discovered Media Jukebox 12 by J. River Inc., a free version of their awesome media software. I had installed it long ago on my computer but after an initial trial did not use it anymore and almost forgot about it. I had almost decided to uninstall it but luckily I didn’t and gave it another trial in these days.

It turned out to be the best choice for my requirements. Creating and managing playlists is very convenient with their easy to use user interface, I can burn audio CDs and most important: it provides a numbered track list and I can either print a CD Cover sheet right away ( and may be print it to a pdf file and then re-use the list of tracks through copy/paste with my graphics program I use to create my own CD Sheets ) or even copy the track list to a spreadsheet application and re-use it from there. That’s where most other media player fail – besides their usability under Vista in general: easy access and copying to clipboard or printing of the track list.

My odyssey came to a happy ending: Media Jukebox 12 rocks !

Looking for day hike recommendations in New Zealand …

OK, folks, we are in the process of planning a 3.5-week-trip to New Zealand.

We plan to explore the North and South island and since we love hiking I would love if you could come up with some good hiking recommendations here in my blog as a comment to this posting.

What good day hikes can you recommend in New Zealand ? Can be anything from a 2 hour to an 8 hour walk, or even a 2- or 3-day hike with over-night stay in a cottage or hotel; we don’t plan to do any camping out there with a tent.

Please let me know your ideas and experiences, hikes you have done already are heard about, links to good sites describing those hikes or book recommendations.