Tag Archives for tech

MCSE

This afternoon I passed the exam 70-221 Designing a Windows 2000 Network Infrastructure. Based on my reckoning, this will now make me an MCSE in Windows 2000, the culmination of a process that I started almost six years ago. Of course, six years ago there was no Windows 2000 and so most of my earlier exams do not count towards my MCSE.

With the achievement of the MCSE, in the past 3 months I have met the requirements for, and been awarded: MCSE 2000; CompTIA A+ 2003; CompTIA Project+ 2003 and the EXIN Foundation Certificate in IT Service Management (ITIL). I have been busy collecting certifications for the increasingly impending Netherlands job hunt. Just the Diploma to go.

[update 29-1-2005] Just got my official transcript - I am not only an MCSE in Windows 2000, but also in Windows NT 4.0, so I guess my old efforts did not go to waste. Bonus!

Popularity: 3% [?]

Firefox Hijacked!

I got in to work today, fresh from the break. I loaded up Firefox, and what did I discover? My Home Page is now set to http://www.ebzjzcrzpufbzndvn.com/dVwgeK9P_v/cmZItwj0cuTsf6SLPF67PhoiOxPeND8M.htm. I have not installed anything except extensions from mozilla.org.

They lied to me! They said it was impossible!

Popularity: 2% [?]

GDI+ is pissing me off

I thought GDI+ was supposed to be good. I am sure that it is better than whatever came before, but as far as I can tell its JPEG encoding is poor. Consider the following code, which creates a BMP format file from a System.Drawing.Image:

System.Drawing.Image myImage = thumbnail( afileName ); //makes the image
ImageCodecInfo myImageCodecInfo;
myImageCodecInfo = GetEncoderInfo( “image/bmp” );
//bmp so uncompressed
EncoderParameters eps = new EncoderParameters(1);

eps.Param[0] = new EncoderParameter( Encoder.Quality, 100L );//don’t really use this as bmp
myImage.Save( ( thisDir + “admin\\zip\\” + thumbName ), myImageCodecInfo, eps );

The following code uses GDI+ to produce a JPEG file of the same image, at “100%” Quality.

System.Drawing.Image myImage = thumbnail( afileName ); //makes the image
ImageCodecInfo myImageCodecInfo;
myImageCodecInfo = GetEncoderInfo( “image/jpeg” );
//jpg so compressed
EncoderParameters eps = new EncoderParameters(1);

eps.Param[0] = new EncoderParameter( Encoder.Quality, 100L );//this is 100% quality!
myImage.Save( ( thisDir + “admin\\zip\\” + thumbName ), myImageCodecInfo, eps );

GDI+ BMP Image GDI+ JPEG 100% Photoshop JPEG 80%

The problem with my example above is that the browser renders them quite similarly. It is still easy to tell that the middle one is of the poorest quality, but the difference is not so pronounced. Download the images and view them in your favourite viewer, or compare these 400% zooms of a portion of the BMP and JPEG images:

GDI+ BMP GDI+ JPEG
BMP Zoomed 400% JPEG Zoomed 400%

That is NOT 100% Quality, in my book.

So the call is going out to all the real developers out there. What am I doing wrong? Is there a better way? Comments please.

Popularity: 5% [?]

How I got started

The first computer I ever used was a Vector Graphics Vector 3 which ran CP/M. My Dad brought it home when I was six years old and I became immediately enamoured of this device for two reasons: it had a space game; and to load the game you had to enter “boot floppy” at the console. I thought that boot floppy was hilarious, it conjured images of clowns in my head, and as we all know; clowns are funny. So it was this OS command that set the ball rolling, that made me the geek that I am today.

The first computer that I owned personally was an Apple ][c, a gift from Santa for Christmas 1985. This was a great little machine, it had a 5.25″ floppy drive built in, a mouse and 128k RAM. Back then it was revolutionary that a few of my apps had a GUI (like a primitive Windows) instead of the old text-based display. The text based display was certainly there though, and I taught myself to code in AppleBasic, writing my own demos. I was first introduced to warez when a family friend, who worked at Apple, gave me a box of cracked games and some software that could crack any game. My status as a geek was locked in.

Since that Apple, I have owned 29 other computers: 24 PC’s (from 386 to AthlonXP), 3 Amiga 2000s, a Fairlight CVI and a Macintosh IISE. I don’t see an end to this progression any time soon. If I had saved the money that I have spent on computer hardware over the years, I would probably own a house by now. But what quality of life would I have had?

Popularity: 3% [?]

Things happened this weekend

Let me fill you in on what happened over the weekend, in order.

I got up early on Saturday morning for my first kickboxing class for a while (actually the second, but I had to work last week). I enjoy kickboxing and it is a great workout. When I first started it was a shock to my un-exercised system and I nearly died for the first two weeks. This time was different and I actually felt that it could have been harder. Despite this claim, my muscles are very sore right now. All of them. I aspire to someday walk comfortably.

After kickboxing I popped home for a shower and a little bit of study before my exam. Instead of studying I ended up watching TV1’s Star Trek: Voyager marathon for a few hours. Time well spent. With an hour to go I was getting a bit nervous and took 2 No-Doz (caffeine) tablets to ensure I stayed alert, as I was fatigued from kickboxing. Perhaps I am a drug cheat? Taking two tablets was a mistake though because the caffeine combined with the nervousness to make my hands shake. I don’t know why I was nervous. I had gone over a sample exam and knew 80%-90% of the answers without study, so I knew I would pass.

3pm came and I started CompTIA A+ Core Hardware 2003 (exam 220-301). No worries, the allotted time was 90 minutes and I was finished in 21 with a better than passing result. I was quite pleased and called Kip and my parents to tell them.

I sound like a bit of a wanker talking about how easy the exam was, but it was easy for me because I am not the target audience. This exam is aimed at people who hear that “IT is a good industry to get into” and need some kind of proof of competency to get the job. So it is basically a simple introduction to hardware spanning the last 15 years. I lived through this period as a geek and used and configured almost everything covered in the exam. So for me, it is easy. For someone wanting to get an entry level support job it is challenging but helpful.

You may have noticed above that I said “the last 15 years”. That’s right, the exam was updated in 2003 and still there were questions about IBM XT computers. It is a joke. I can’t imagine that there is anyone in the first or second world who is running an IBM XT, or even a 386, 486 or Pentium; for anything other than novelty value. Anyone who might have this hardware is either an enthusiast who would repair it themselves, or very poor and unable to afford a certified technician. 80% of the material covered in this exam is entirely useless in the 21st Century. Any part of the 21st Century.

You might wonder why I paid $268 to do such a pointless exam. Well the answer is: it counts as a subject of my uni course, and is mandatory. They actually wanted me to pay $1650 to do a 5 day course to learn this stuff but luckily they accepted my experience and are satisfied with just the exam. I have 5 more exams to complete before the end of the year to earn my Diploma in Information Technology (Networking Technologies), which is half of the Bachelor’s Degree. I spent a lot of money to do this course for a single reason: The Netherlands. To get a job I have to have an ‘HBO’ level of education, which is sort of halfway between TAFE and a Bachelor’s Degree. I have to get the Diploma by the end of the year so it can be translated in time for my leaving (134 days).

The exam over, I bought a well-earned beer and went home to drink it whilst getting ready. It was Tristan’s birthday and we had been invited for dinner at his parents’ house. I don’t want to go into too much detail, but suffice it to say that Tristan’s parents are very nice people and are excellent hosts. Also, Tristan had much more of an accent when he was a small child.

Popularity: 3% [?]

More monitoring delights - the Other Side

A post in progress…


I am currently in the process of setting up systems to provide more accurate and widespread monitoring of the infrastructure at both home and work. Generally I set these things up at home first, and then implement them at work.


I have previously written about mrtg, but I am now using/experimenting with the following:



I have to say that pycron rocks, installs as a service on my 2k3 server and i replaced my 56 at jobs with just a few cron jobs. I also no longer need FireDaemon or SrvAny. So much easier. I also got Squid working last night, it seems OK, haven’t noticed any speed difference (perhaps a bit slower). I went 250Mb over my download quota last month, so hopefully this will help. 250Mb is almost $40 at BigPond prices. Ouch.


More tomorrow…

Popularity: 3% [?]

How to make a nuclear reactor

http://www.hunkinsexperiments.com/pages/nuclearfission.htm

Popularity: 26% [?]

A Real Man

I have scrubbed my hands until they are pink, yet still they are not completely clean. It’s the fingernails and the creases at the knuckles; they still show signs of the thing that I did. The thing that changed me forever.


The alternator is a mechanical device under the bonnet of a car that converts a portion of the engine’s power into electricity. This electricity is used to make sparks, charge the battery and power the electric and electronic devices on board. An alternator is an essential component of a modern motor vehicle. By essential, I mean that the car doesn’t function without one, and last week Kirsten and I learned this when her Volvo stopped going.


Having just spent $1200 on repairs for the shitbox, we were reluctant to shell out any more. We rang around, got quotes. The quoted prices ranged from $250 to $380, for a second hand alternator and installation. We didn’t really see the point of throwing that much money into the Volvo pit, so we explored other options. We could get a second hand alternator for $40. I decided to do the work myself.


So that is how I found myself on Sunday morning, dressed in my least fashionable clothing with an alternator in one hand and a toolbox in the other. Armed with some basic instructions (“take off the belts and replace the alternator“), I got started. The first step was to loosen the top bolt (of two) that hold the alternator in place which allows it to swing slightly, thereby reducing the pressure on the two belts that transfer power from the engine to drive the alternator. This allowed me to remove the belts from the alternator. I then disconnected two of the three cables that protruded from the rear. I then completely removed the bolt.


Stage One over, I grabbed a towel and a few tools and climbed under the car, the only place where I could gain access to the other (main) bolt. After a bit of contortion and perhaps 10 minutes of awkward unbolting, the alternator was almost free. I only had to disconnect the final cable and lower the alternator out to the towel. Halfway there!



poor little Stimpy Cat
the bad alternator
I climbed out and proceeded to clean all the contacts in the hope of increasing my chances of success. The cables were very dirty. Whilst not as dirty as the one I removed, the replacement alternator was clearly not new, and needed a bit of a clean itself. I only cleaned the functional bits.


I was on the home stretch at this point, all I had to do was install the replacement, and I had the advantage of now knowing where it all went. All the under car work was pretty much the same as removal in reverse, it was done in 5 minutes. All I had to do was connect the top two cables, partly screw in the final bolt, attach the belts, and tighten the bolt with the belts tensioned. Easy? No.


The damn bolt. I hate it. That bloody bolt took me 90 minutes to screw in. Due to the awkward positioning in the engine area I could only turn the bolt a quarter turn at a time - and even that was broken into two separate movements as I had to turn the spanner over halfway to fit. I learned that my supposedly good shifting spanner is good at one thing: shifting. On its own. Luckily my Dad had offered to help, so I took him up on his offer. He arrived half an hour later with Honey and a small 9mm spanner. What a luxury this tool was, perfectly sized between my 8mm and 10mm. I had the job finished in 10 minutes.


The major work over, I was faced with one final task: jump starting the car and seeing if the alternator, um, alternates. This was a job for the NRMA man. It felt so good once the car had been started and it kept going! That means that it is making electricity, there was certainly none in the battery. It works!


The final test was today when Kirsten took the car for the 80 minute return trip to work without any problems.


Sunday, August 1 2004. The day I became a man.

Popularity: 3% [?]

Using external RSS Feeds in a .Text (dottext) skin

I recently moved from a home-grown blogging engine to .text (dottext), mainly because of the ‘blog anywhere’ web admin interface, and comment support. Because my old site was written by myself, it had in it most of the things I wanted. The released of .text contains many skins, but none of them were really what I was after, so I have started dabbling with skin design. You are probably reading this article on a page with my own skin. When you create your own skin or edit another you can add your own controls to the page.

Some of the user controls that I had written for my old site allowed me to syndicate some of my friends’ blogs. I wanted this functionality in my .text site, so I went hunting. As usual, it was Scott Mitchell who showed me the way, with his RSSFeed control. I have implemented a version of this in my site and I am happy with the result. See the code posted below.

Disclaimer: I am not a programmer, I am an infrastructure geek who dabbles. The below code has no error-handling, so if something goes wrong with the feed it will break your whole site. I tried to put in error handling but it didn’t work. I hope a real programmer reads this and tells me what to do.

Because I don’t want to potentially show a 2000 word post in the 200px wide box allocated, I have written a function to shorten the post to 49 characters.

<%@ Control Language="c#" ClassName="darrynRSS" Inherits="Dottext.Web.UI.Controls.BaseControl" targetschema="http://schemas.microsoft.com/intellisense/ie5” %>
<%@ Register TagPrefix="skm" Namespace="skmRss" Assembly="skmRss" %>




DarrynBlog



<%# shorten(Container.DataItem.Description) %>



Please provide feedback below if you have a better solution, or for whatever reason.

Popularity: 3% [?]

article: monitoring BCP Usage

I have nearly completed an article on Monitoring Bigpond Broadband usage with mrtg in Windows. It is published, but I still think it needs a bit of polish.


 

It is the first proper article I have written for a long time. I liked it.

Popularity: 2% [?]