Categories
General

Post from Ubuntu

Ok, so I found out that my old monitor had somehow fried the nicer of the two graphics cards I have for my Ubuntu PC.  I installed a new card and found that my X11/Gnome/xserver didn’t like the new graphics card as it was setup by default.  After doing some googling with my laptop I managed to find out how to reconfigure the xserver to use more generic settings, and its now all working.

Its pretty cool that firefox is installed by default, at least that’s one thing I don’t have to figure out how to install for now.  Its now after midnight, so I should probably go and get some sleep.  Its not an amazingly huge start, but at least the OS is installed and the basics are working. 😀

Categories
General

Adventures with *nix OS’s

Since about 1992 I’ve had some brushes with various *nix’s.  My dad had SCO Xenix on his PC at home at some stage around my “senior primary” school days and I remember trying to read bits of the manuals to figure out what the heck was going on.  I was quite used to DOS back then, so this “Xenix thing” was a little odd.

Since then I’ve had to use a number of Linux flavours, FreeBSD, one of the Sun Microsystems OS’s and the OS that Silicon Graphics computers use (the last two being on varsity machines).  When it came to running any form of linux on my personal computer I’ve not had much success. 

Throughout varsity I had problems getting X-Windows to work due to various graphics driver issues, even after varsity any attempts always seemed to fall over when it came to anything graphical.

Just over a year ago my home PC lost its motherboard, and my only backup PC had Windows 98 and wouldn’t connect to my iBurst modem.  So after some searching I found out how to get iBurst connected in Linux, and I installed Ubuntu on my old varsity PC.  I was pretty suprised to find out that it actually worked quite well (even if it was a little slow because of my lack of ram and super old cpu)

At my current job we have a single Mac in the office to test out “cross platform” issues, and seeing the good old terminal window made me wonder about trying out a *nix operating system again.  This desire was probably fueled by listening to some of the Daily Source Code podcasts where Adam was talking about some of the networking stuff he was configuring, about SSH, and other typically *nix stuff.  It just sounded very geeky and thus cool.

Tonight, I cobbled together a PC based on bits from my in-laws and my old varsity PC and I’ve installed Ubuntu.  I had a few false starts (like forgetting to plug inthe hard drive), and had only one issue with the installation (setting the time zone in the install wizard seemed to hang the wizard completely).  But now I seem to have a working machine. 

I do have some hardware issues:

  • Both of the graphics cards that I have seem to be a little flaky
  • My old monitor seems to have issues coming out of “power saving” mode. So currently I cannot use my monitor at all. (I’m typing this on my laptop)

Once I’ve solved the monitor issue I plan to see if I can get all of my common applications installed on it, and to set it up as a “backup” machine.  I’d ideally like to have Firefox, Open Office, some media player, a graphics application (Picassa/GIMP?), a cool mail client, some kind of calendaring application, and a development environment (Mono + Apache + MonoDevelop/SharpDevelop?). 

If things go super well, I’d love to be able to synchronise my Creative MP3 player, connect/synch to my HTC phone, use my Cannon scanner, and print via my HP Laserjet.

But that’s all I have for now… I’m going to go and carry my creation through to the spare room to introduce it to my Windows desktop, and to plug the monitor from the windows PC into the Linux PC so that I can carry on my journey into the world of Ubuntu. (Hopefully my next post will be from the Ubuntu PC)

Categories
Development General

Code Reviews

One of my month-end deliverables this month was to have finished reviewing certain portions of code that my team has written.  I have spent the last two hours going throug 20 printed pages of code. (I print the code out because I find it a lot easier to reference multiple sections of code at once using paper than I do using a monitor)

I feel like I’m back at varsity marking pracs and tuts (which I did for 3 years) or like I’m back doing my 1 year of part time Computer Studies teaching and I’m marking the Grade 12 tests.  The 20 pages I have looked at are almost more covered in ink from my pen than in the pigments from the laser printer.  (ok, so that’s a slight exaggeration)

The code I have to review is probably 30% mine and 65% developer A, and 5% developer B.  All of us are pretty pedantic, but I’m quickly seeing trends.  I think I can now make out Developer A’s code at a distance, wearing a blindfold, with both my hands tied behind my back.  I don’t think I’ve seen any of Developer B’s code yet, but we have recently been through a rather large “refactoring” of our OO heirarchy so I think there are bits of his code which I’ve looked over tonight. And I’m still amazed at how my own code sucks.

A lot of our development has been evolving as we’ve gone along so there are some cases of really old and BAD code, right along side really new and slick code.  Then there are cases of really old and BAD code being copied and pasted into really slick and new code without even changing the comments to match their new location!

There are cases where one developer built one way of getting access to a list, and then a few months later built another way of getting access to the same list and put it right next to the first way in the code and didn’t pick up on it.  I’m not sure if I am that aware of the code that surrounds my current coding task, but I’m sure as heck going to start trying to be in future.

One of my pet peeves has been comments in the “///” comment portions ahead of method/field/property/class/etc declarations which are written assuming a fair amount of knowledge of how our system works, instead of written to explain to a new developer how the system works (I’m guilty of this too).  One of the things we’ve discussed many times is the fact that eventually we want to produce NDoc/DoxyGen documentation from our code so having comments that are not helpful is really a waste of time in the long run.  (Worse, in my mind is repeatedly starting sentences with lower case letters – something that is uber evil when you consider how many members of the the grammar police are in our team)

Fortunately, after our recent OO Architecture “Refactoring” Marathon, most of the code I am reviewing is consolidated into three main base classes, and I’ve completed the review of two of the three.  So after the next class I should have very little code left to review.

I’m still rather suprised about the amount of silly bugs we have in our code… I’ve been watching Scrub’s recently and I keep saying to myself (in the voice of Dr Cox) “Oh, my goodness barbie!  How do you get your bra and panties on in the morning all by yourself!”

I guess that’s why we have code reviews.  We try to have “debriefing” (after my “bra and panties” comment, I must say – “No, not that kind of de-briefing!”) sessions where we all try and learn from the mistakes made in code that is reviewed.  So I have LOTS of content for our next session, and hopefully I won’t see these mistakes ever again.  (I can dream, can’t I?)

 

So after that general badmouthing about the quality of our code, I must just say that we have a great team.  If(when) we make mistakes we learn, and code better.  The other guys are super bright and really capable (which is probably why some of th bugs shock me so much) and I’m really happy to be working with them.

Categories
Uncategorized

PDF Converters & customer contact

Where I work, we’ve had some experience with PDF converters.  Mostly abysmal. But we’ve found one crowd that seems to be on top of the game – WebSuperGoo.  Most of these converters totally mess up HTML to PDF conversion, especially when you have CSS involved.

We have one client that we have written the HTML to PDF converter for and we have had so many problems with other PDF converters we have eventually changed to using ABC PDF.  We’ve had some minor hassles, but WebSuperGoo have been excellent at responding to the questions.

In my small hosting business (DigitalTinder.com), I have written a simple acounting application that keeps my billing going.  Up till now I’ve been creating HTML files, printing to PDF and e-mailing them off by hand.  Today I downloaded a free copy of ABC PDF to test out an automated e-mailing of invoices as PDF after they have been created.  It was great, took about 15 minutes to do what used to take me about 2hrs previously.

The only down side is that as a small business, I can’t afford the $325 (R2500) for a license. Its actually pretty easy to use it, I still have to wait to see if the PDF’s get through the firewalls and mail filters and spam filters, or even if they make a better impression on my clients.

There’s a fine line between efficiency and and customer contact.  It saves me time ot use the PDF generator, but I lose the ability to have a personalised message for each client.  I can try and make a mail-merge’d email sound personal, but I don’t want to become an “impersonal machine” of a business.

My last post mentioned Grant from FusionReactor and how he’s got a great handle on PR in the web 2.0/social networking world.  I don’t have the same customer base that Grant has.  The majority of my customers actually don’t know about the inner workings of the technology underpinning their websites, whereas there are a number of tech savy people who use FusionReactor’s services.  Not that I’m saying that my customers are “clueless”… most of them are great entrepreneurs.  Their focus is on their businesses, not the technology and blogging/social networking is not at a mature enough phase for people like them to be using those tools.  In fact, in SA I doubt that there are many great businesses blogging and seeing business value coming from their blogs.  Its probably in the process of changing as I type this.  But I think it will be at least 6-12 months away.

So for now, I’ll have to keep some “offline” way of connecting with them.  Possibly SMS’s, or phone calls.  Keep efficiency up, but maximise personal contact with my customers. 

Its a learning curve for me and I’m looking forward to the journey.

Categories
Uncategorized

Moving and linking

In 1 week’s time we’ll be in our new place. We’ll be minus iBurst and DSTV… mainly it is for cost saving purposes but I’m sure it will also have plenty other benefits – less sitting passivly watching tv, typing on laptops (like I’m doing now) and more talking and socialising.

The big pitties are the cool series that are starting on DSTV, and missing our PVR.  (Pausing live TV is such a life changing feature for any Series watchers)

And since I’m in a linking mood, we’re using SA Movers for our move, MortgageSA for our bond, and ABSA are our new lords and masters (aka the bank that gave us the loan).

More linking – my connection to iBurst is organised via FusionReactor. I LOVE their service, although I’m not always quite as fond of their Account’s section (late invoicing of purchases plays havoc with nice neat budgetting and forgetful memories).  Recently Grant from FusionReactor recently posted a comment to my blog about their new service – In Page Ads.  His comment went along the lines of suggesting that I’d possibly like it since I’ve raved about their services before.

My official comment is that its an old concept redone… You put their system on your site, and every time a user clicks on a link they get shown an advert before they get taken ot the new page.  Its been done before, and has failed, so I’m not sure what is different about their system.  But Grant is a bright cookie and seems to know his social networking/web 2.0 pr implications, so I’m guessing there is something that I’m missing.

So since he’s been great to me, I thought I’d link to their In Page Ads system, and maybe someone who reads this blog can comment on it?

Categories
Uncategorized

Home, sweet home – almost

Just got a call from MortgageSA to say that we have had provisionally had a bond approved (pending a valuation of the property).  We had a nice response from ABSA and Nedbank, no response from FNB and a really crappy response form Standard Bank.  ABSA’s response just beat Nedbank’s so we’re going with ABSA.  (No rude comments, please… I know “My Bank” is crap, but hey, I’m going to be paying the least amount of money if I use them, so I’m going to use them)

Now we just need the valuation to be ok (it should be), and we need the body corporate to approve of our cat.  The cat should be fine as long as she is spayed and wears a collar, and our cat is spayed and will get used to a collar.

So, everything is looking good for us to move in on 1st April 2007!

Categories
Uncategorized

Thoughts for the day

I read two great blog posts today.  One by Wil Wheaton, and one by Joel Spolsky. 

Wil’s post was about taking the time to take care of yourself, not just living for your job or to help others.  Its something I’ve thought about every now and again: how can you help other people if you are dried up because you don’t take time to replenish your reserves?  Check it out here.

Joel’s post was about great customer service.  Its a pet peeve of mine so I won’t dwell on it for long, but he makes some good points that I think most companies don’t pass on to their support people.  Its a long read, but its pretty good.  Check it out here

Joel’s article actually mentions a company (Land’s End)that he has had awesome service from.  It is funny how certain companies seem to stick in your mind.  I remember them from about 1998 (when I was in varsity). I was helping out at the Sanlam Future Business Leaders Week by managing “sound/media” for various venues which meant that I got to listen to a bunch of really interesting speakers.  One of whom was “Brian Gardiner” (my apologies if I have spelled that incorrectly).  I first met Brian when he came to lecture at Rhodes University in the Infomation Systems department (my dad was the head of the department at the time, I was in school).  I think that in 1998 he was at Internet Solutions, and while I don’t remember much about his talk, I do remember that he mentioned Land’s End.  He was talking about doing business over the internet and mentioned how awesome their service was even though he was a customer in a different country to their main market.  At that time there probably weren’t too many large companies selling products globally via the internet.  But I do remember him telling me that they had done some great work in keeping him happy when he’d had problems.  Its good to see that they have kept up that customer service value going strong.

Categories
Uncategorized

When technology works…

Continuing in the saga of the home acquisition story, I’d like to ruminate on how handy technology can be.

Back in the day, faxes were “all that”.  And while I still think they’re useful, I am really appreciating e-mail and fax to email.  In the quest to obtain  home loan you end up having to send and recieve a lot of faxes.  But, thanks to fax to e-mail a lot of this schlep goes away.  (I have a fax-to-email account from CyberFax)

The process for the bond application went as follows:

  1. Christie and I have to fill out a “Fica” declaration form and fax it to the bond originator
  2. We both have to send a copy of our ID books
  3. We both have to send a copy of our last 3 months bank statements
  4. One of us have to send through some proof of address.
  5. We both have to send through a copy of our last salary slip

The only thing in this list that was actually faxed off is the form that we filled out.  (I was too lazy to scan it in and e-mail it.)  Both of us have electronic copies of our ID books, both of our banks faxed our statements to my fax-to-email account, SABC faxed me a statement with my physical addess on it, my salary slip is e-mailed to me so I just printed it to PDF, and Christie faxed her copy to my fax-to-emal account.

Then in one e-mail, I sent all of these electronic copies of to the bond originator.  No hassles with writing cover letters, printing things out, and waiting by the fax machine for ages until it sends successfully.  Just a few phone calls, and one quick e-mail.

It really was quite easy.  So by Tuesday next week we should know if we have a bond or not.  Yay!

Categories
General

Changes and Attitudes

Today we heard from an estate agent that an offer we had made on a house was accepted.  Currently I am swinging from excited to nervous and back again every few minutes.

But the story starts long before today.  In fact, you could probably say that it started just over a year ago.  Christie and I have been renting a place on a six month lease for the past two and a half years.  So every time that our lease is about to be due we wonder if we should find a house of our own.  Our lease ends at the end of August and the end of February.

Two augusts ago, we started thinking seriously about buying a house.  By February we had realised that we could not find anything in our price range that was the right size and in the right location.  Then we found a new development which was a great price and great size.  The only down sides were that it was just outside our desired area (but that could be compensated for)  and that it was near Cosmo City (not so much of a down side as a “risk factor” since it is a new suburb with low cost housing and RDP housing combined so it could be either great or really bad).

Fortunately after my dealings with legalities around my Telkom bursary at varsity, I was quite prepared to read the entire contract and do by best to understand any implications it might have.   It was a good thing that  I did that because there were a number of clauses that were very bad for the purchaser.  After much fighting with the developer who insisted that nothing was wrong, and who sounded most frustrated that I had actually read the contract and was asking to be shown the various appendices that were mentioned in the contract, I managed to get a few clauses added.  One of which stated that we had to have occupation of our unit within 12 months of signing the contract.  (We were supposed to have occupation within 6 months, so it wasn’t too unreasonable)

Now, almost 12 months later, they still haven’t started building at all.  They predict that they will start with phase one at the end of next month. Our unit is part of Phase 4, so we would only be moving in in 2008.  After recieving this news at the end of January, we decided to find somewhere else to live.

From using Private Property we managed to find one place that we absolutely loved, but unfortunately they didn’t allow pets in the complex and for us there was no point in moving to our own place and a better lifestyle if we were going to have to give up on some of our current lifestyle to get it.

This weekend we spent most of Saturday going through the weekend property section of the newspaper.  We looked through over 300 pages of adverts, cutting out the ones that were in our price range, area and size requirements.  We then sorted them into areas, and picked the ones in our most desired locations.  This whole process probably took over 8 hours to do.  I am so completely over this way of finding properties.  Online searches are definately the way to go.

On Sunday we went to see our 30 odd houses.  We made it to well over 20 of them, and found two that we liked.  After some financial calculations we made an offer on monday for the one that we liked the most, and today we got the call to say that our offer was accepted.

Its a big step for us, and not just because our “housing” expenses are more than doubling.  So I am super excited about all the nice things we can do in our soon-to-be new house (as long as the banks agree that we can afford it), but I am also slightly daunted at all of the changes that we’ll need to be making to our lifestyles for the next long while to make it affordable.  We’re saying “Bye bye” to iBurst, DSTV with PVR, our maid (although we’re hoping not), eMusic account, Audible account, KFC, Nando’s, Spur, Woolies and all the fancy clothing stores out there.  But, we’re opening up a future where we are no longer paying off someone else’s bond, one where we will have our own space, and where we can adapt it to our needs as we see fit (within “body corporate” regulations, of course).

If all goes well, we get occupation on the 1st of April 2007.  And before you think it (no, you’re not the first) this is NOT an april fools joke. Remember Gmail?  People thought it was an April fools joke and it wasn’t.  In fact, it was really good for us… just like our house will be for us.  Yay!  I’m getting older and more responsible!

Categories
Development General

Entering the new world

Yesterday I started working on moving our development to .Net 2.0.  We spent a year doing .Net 1.1 only development specifically to keep us open to the option of using Mono to create a frontend for our Mac users.  Now we have decided (and convinced everyone) that our web solution will cover the needs of the Mac users so we can move to .Net 2.0, VS.Net 2005, and even a little bit of WPF/E research.

We’re planning on getting our full product done by around June this year, when Mono is planning on having a .Net 2.0 version of their framework out, so even if we do have to build a Mac application we could use Mono 2.0 (assuming its stable).

Anyway, I’m happy. Because after a year of watching other people play with the cool toys while I’m stuck with the 3 year old model I finally get to join the ranks of the cool-toy-people.  😀 (Even more so since I got my HTC TyTN in December)