Sunday, April 29, 2007

On job offers and career management (edited)

Recently i've been reading a fellow *'s musings on job searching and expectations and focus on career management, and although I mostly agree with his opinions and objectives, I can't stop but wondering if I (or most people, for that matter) can afford to be as straightforward as he seems to be.

In my career, and up until some 6 months ago, I've been mostly involved with Microsoft products and technologies. I've developed, administrated and and maintained applications, databases, systems and networks. However, Linux and Open Source in general have been my hobby and, i dare say, passion for the last 8 years or so. Cutting a long story short, in a Windows world I'm (somewhat) highly valued, but in a Unix\Linux context, I'm bound to be considered a junior staff member for a couple of years more.

Now, if the job title doesn't really bother me, the difference in wage is staggering. Enough to make me consider a jump back.

All this is only important when I'm faced with a difficult decision like I am right now.

I've managed to get a good deal of respect and appreciation on my current job, I've been involved with some very interesting technologies and have been given the chance to use Open Source technologies and am currently in the process of finishing up my first professional (cof...cof...) Ruby on Rails application, but the wage is ridiculous.

On the other hand, I have an offer to get back to a development only a sysadmin only position, but using .Net and other mostly Microsoft technologies. The pay is good, the challenge is well, challenging and the work environment as far as I could gather so far is very good. On the downside there will be plenty of grey suits and ties in my future. And a senior colleague who thinks rails is amateurish. But the boss says I can use whatever technologies I see fit to get the job done. And they both actually read my resume. And want _me_ to work for them.

Well, as you might have guessed the wage is the only thing that's making me consider the change, and the love for open technologies the only thing thats keeping me back.

In a ideal scenario I would refuse the change hands down, but these are not ideal times, so I'll have to sleep on it and hope for the strength to make the best decision.

Well things change quickly when you let them. There was a sysadmin position available too, and although I refused the developer job, I'll most likely be accepting the later. Stay tuned....

If only we had known earlier...

As seen on The freedom blog...

"Linux hackers! They aren’t smart enough to scare Bill Gates… and they certainly aren’t smart enough to scare Jesus. Did you know that He protects this website too? I prayed it, and it happened! All attacks rebuffed! All sin kept far from these pages.
Thank you Lord!"

By the way, did you know that if you use Ubuntu Christian Edition you can stop daemons with the command "Exorcize!" ? And that you can use "bless" whenever a program fails to start? Just beware not to issue a "chmod 666" , or you'll go to hell!!

Oh @wathever, forgive them, for they are funny. Seriously, I thought that sarcasm was beyond americans.

Thursday, April 26, 2007

What caught my eye this week

Brand of the year:


Google, witch you know already so I wont link to their site, was recognized this week as the the world's top-ranked brand.

In only 10 years, Google's Sergey and Lary managed to top decades old brands such as General Electric, Coca-Cola or even IBM.

Entering a realm occupied by only a few other companies whose brand became a synonym with their product (think Gillette) Google is an example of entrepreneurship. If you doubt it, you can always google it up. :o)

Blog of the month:


Following a tip from a new friend I've been enthusiastically reading a blog from a fellow rubyist. It's called Ruby on Windows, and as you might guess it's about using Ruby as a scripting and automation tool on MS Windows OSs. It provides some great examples and code samples witch got me thinking about replacing my vb scripts at work.

This is a great example of how to integrate an open technology with a closed system.

Wednesday, April 18, 2007

Year Zero. A final surprise?

Year Zero, Nine Inch Nails new album was officially released today. And a few more surprises came with it.

After hearing it on repeat for about 3 hours, when i finally removed the cd from my macbook, the CD had turned from grayish into white revealing some binary code that (after some googling) "I" discovered could be translated to a link to another secret site!

And i though that it was just my macbook going _Extra_ hot this time!!

This is the beginning....

Tuesday, April 17, 2007

Thursday, April 12, 2007

Old School To-Do List

I figure that if I write down my tasks, I'll be forced (by punishment of public embarrassment) to _really_ do them. This will hopefully get me out of LMP(*) and into GTD mode.

To Do:
- Install Edubuntu on a old iMac G3 to offer as a birthday present to my 6 year old cousin;
- Finnish reading Everyday Scripting with Ruby;
- Create a script to automate data extraction and transformation and creation of Excel graphics at work;
- Replace a myriad of Judoscript, Groovy, bash and Perl scripts with well documented Ruby scripts at work (It will look good in my resumé.. "the guy who introduced #a banking institution# to ruby");
- (finally) Take the admission exams for College;
- Help in the translation of www.ruby-lang.org to Portuguese;



(*)LMP .: Last Minute Panic - the major driving force for lazy creative geeks :o)

Thursday, April 05, 2007

The begining of the end (of record labels)

Nine Inch Nails made their _entire_ album available on their website!
Even the almighty RIAA can't stop them now

Art is resistance!

Perl Tech Meeting

Yesterday I went to my first Perl Tech Meeting and I can't stress enough how geeky those guys are.

Having lots of easy going, funny intelligent people talking about something they like is always fun, but this was actually very informative, since there were some tech talks that covered areas such as better debugging, replacing bash with perl, using C to improve Perl scripts benchmarks (dam, this guy was awesome!).

I specially enjoyed meeting Francisco Cabrita hearing Miguel Duarte and José Castro and some others whose names elude me right now.

Anyway, thanks to SAB(offline for _way_ too long) and Penantes for the invite.

May the Camel be with you!

Wednesday, April 04, 2007

Free tech support

One of the nicest things about being involved with customer support is being able to hear in first hand _real_ users fears and doubts.

Today i received an e-mail (at work) from a customer contemplating "migrating to a Ubuntu / Firefox solution" (his words) from Windows / IE and he was wondering if it would be safe to use our on-line banking service.

Yes it is. The only side effect is that the web app will work better in Firefox.

And since I am in a good mood, I will send him my personal e-mail for any tech support questions he might have in his migration.

It feels good to help a customer. :o)

Long time no see

I was forced to observe the shutdown day for over a week (not really, but i'll get back to that) because my Macbook died on me.

It's never a good experience to be away from your mac, but to deal with the Apple support around here one must be prepared for the worst.

From telling me that the customer service guy wouldn't reply my e-mails because he had personal problems (hey that's funny,i have a personal problem too! MY MAC IS BROKEN! what a coincidence) to taking some 20 phone calls to finally get some answers (I have witnesses. And they're still laughing) i've seen it all with these guys.

If we consider that a large part of Apple sales come from mac owners showing off the “superior hardware and the user experience a mac gets you” to their friends and coworkers (I myself am responsible for at least 4 switchers over the past 6 months), one should expect a better level of emphasis on customer satisfaction right?

Thankfully I still have my trusty Asus laptop that managed to deliver the daily fix of web surfing, and getting most of my work done so I really didn't had to be offline for so long. I was just too negative to write anything useful.

Anyway the XVI Jornadas de Informática an event hosted at UBI went by, and this year at least I heard something about what happened there. In Ruby in Portuguese website there are even some of the presentations given there available for download.

My humble 2 cents however would be to manage to get some more publicity before it happens.

While on the subject of great events happening in this little
fascist square of dirt by the sea, the fifth national encounter on Open Technologies will be happening in Lisbon on the 19th, and although the organization is hosted by Sybase and seems to be very professional and extremely interesting, my favorite Solaris Admin - slash -Farmer boy already managed to find a bug on the event page.

Also, today I'm going to my first Perl Mongers tech meeting and I'm hopping that I'll be able to learn something from those guys, 'cos the Perl I know wouldn't move the proverbial mountain.

Thursday, March 22, 2007

North American Scum

Não. Não é o ultimo single dos LCD Soundsystem.

Sou declaradamente de esquerda, mas não sou anti-americano. No entanto não resisti a partilhar esta perola que me enviaram, mesmo quando eu achava que aquela especie de reality show da tvi mostrava que os portugueses eram do mais inculto que há...



P.S. se estão a ler este post no P* aqui fica o link para "O" video.

So many ideas and so little time (edited)

I've been having some good (i think) ideas for posts this past week, but haven't found the time to fully elaborate on any of them so I'll just leave the topics here for now and will try to get back to some of these subjects as time allows it.

Is Google evil? I mean, it can't really be a bastion of open source with so many closed source programs and patents. It's not all about free beer people...

Microsoft sponsored site profiling Linux adopters, but I guess they missed (at least) one.
The type that enough about MSFT that it avoids direct contact as much as possible.

Is there a conspiracy between apple keyboards and planeta asterisco?
I mean, have you looked at the "P" key on those things?

It's now 4 years since operation "Lasting Freedom" started. that must be the longest running act of terrorism in history (if you disregard the catholic church, that is). What? you still think a couple of Arabs planned 9/11???

A good friend pointed out a "default-is-stupid" moment on Firefox. And provides the fix. Got to love that.

Allgarve. Oldporto. Lisbonafied. Why didn't anyone think of it before?? oh yeah... it sucks.

Ian Murdock (that the "ian" in Debian) joined Sun. Is it me or is Debian slowly stepping into the void?

osx tips and tricks
compiling ports and don't have /usr/libexec/config.guess ?? (Or config.sub for that matter)
(from the command line)
cd /usr/libexec
cp /usr/share/automake-1.6/config.sub .
cp /usr/share/automake-1.6/config.guess .

Customizing OS X's behavior from the command line
defaults.write galore....

Friday, March 16, 2007

30 (+10) reasons to switch

This is a post i thought i'd never write. It's not that i don't find the discussion fascinating, but that in my experience people (read: non geeks) seldomly need (or want) to change their OS.

Better yet, most people don't use an OS, they use a set of applications. But if the same applications are either cross platform or platform agnostic, then it might make sense to discuss the possibility of switching.

I'm doing it now because i saw a post earlier this week about reasons to change to Linux, and the whole thing got me going. I really don't think my opinion will make you change your mind, but it _does_ come from a someone who is a Windows specialist, a Mac fan-boy and a Linux geek (all me, at different times).

Oh, and this is my first post from TextMate!

10 reasons to use Windows
- It comes pre-installed with ~80% of the PCs sold worldwide;
- You don't know what a driver is (except if its behind a wheel) and couldn't care less;
- Most software is written for Windows, all new technology (Blue Ray; HDVD; DRM) is made for Windows;
- You can go to chat rooms, use file sharing software, visit google and read from Windows;
- You don't know how exciting it is for a script kiddie to see what files you have on your "My Documents" folder;
- You mostly play games, but don't have a games console;
- You don't know that there _are_ other OSs that you could use;
- You use your computer as an electric typewriter with a monitor. What is an OS anyway?;
- You can't afford a Mac, and Linux doesn't offer you the trust of a big corporation behind it;
- You are a VB, XBase, .Net and\ or a MSSQL pro;


10 reasons to use Linux or other *NIX OSs
- You are curious by nature;
- You know a little bit about computers, but want to know more;
- You are a programmer, a security or systems expert, or any other sort of Hacker (or want to be one);
- You can't afford a Mac, and Windows isn't configurable enough;
- You laugh at something like "rm -rf /usr/bin/laden" or you understand the sentence "thank @Divinity I had that shell script to change my MOTD with events from calendar.* or I would have missed LISP's birthday last wednesday";
- Somebody shown you what Beryl, XGL or E17 can do. And now everything else fades in comparison;
- You saw a video on youtube of a guy playing around on a touch screen and flipping windows with his thumbs;
- You believe in Open Source ideals;
- You are a security \ privacy junkie;
- You have DVDs from more that one region or you can't stand the idea behind DRM;


10 reasons to use Mac OSX
- You are a creative professional. (And i don't mean those of you who can write a 20 line telnet replacement);
- You are easily influenced by Apple's halo effect or Steve Jobs reality distortion field;
- You want a computer that just works. And looks good enough to turn heads;
- OSX is a UNIX on visual ecstasy (in-joke, i'll explain another day);
- You don't mind using a closed source OS that is based on Open Source and whose OSI model layer 7 (again, in-joke) can be replaced with FOSS variants;
- You would never replace a CPU, motherboard or graphics card on a laptop by yourself;
- It comes pre-installed with ~10% of the PCs sold worldwide, including your own;
- You are really good at Windows (an expert of sorts) but your antivirus spouts messages about Viruses and other threats that try to creep into your PC and you wonder how it's like on the other side;
- No matter how much you tweak Linux (or how much software you put on top of XP for that matter), it still doesn't feel as snappy or look like OSX;
- Your favorite band is putting out GarageBand files of their new album (I'm still excited about that, sorry);


10 reasons not to use a Computer
- you don't work with computers;
- you own a DVD player, a good Stereo, a Cell Phone and Cable TV;
- Your prefer to listen to CDs instead of ripping them;
- No one ever picked up a girl by formatting her hard drive;
- You don't know how people spend so much time writing and reading without touching a single sheet of paper;
- You where the one behind this. You will now pursue a new career;
- You where the one behind this. You will now pursue a new career;
- You like practicing sports that are incompatible with a flat ass;
- You don't own a portable media player apart from an old Walkman;
- Your fingers are too thick for such small keys;

Wednesday, March 14, 2007

Can you think of a geekier thing to do pt. 2

Nine Inch Nails, confirming their status as the Greatest Band in the World (for their fans at least) has just posted the multi-track files for survivalism in garageband format.

Just download listen and remix for fun! No strings attached. Just the ~100 mb download.

Better yet, according to their site, and i quote :
"We plan to release every track on the album this way over the next few months..."

The Wow (sic) is here.

Commodore is back!


This is one of the most exciting news I've had in recent times. Probably the second most exciting thing happening apart from Nine Inch Nails new album

My first computer was a Commodore 64 with a tape recorder for loading games and a monochromatic (green tones) monitor. I can still remember playing Ghost 'n Goblins and other top notch games when i was err... along time ago. Not to mention that my first baby steps into programming where with BASIC on this machine.

I also had a friend a few years later that had a Commodore Amiga 500 that I thought was amazing, and it was on this machine that i saw (and heard) the first ever computer generated music video (Money for Nothing from Dire Straits). It was _way_ ahead of anything my 386 DX 40 Mhz could ever do at the time. Oh and there was also Golden Axe and Technotronic kept playing on the stereo. Man I love classic gaming!



While on the subject of how old i am (actually I'm 26 in case you're wondering, but I've been using computers since i was 6) here's other things i remember:
Going to Iron Maiden concerts and wearing Judas Priest, WASP and Venom t-shirts;
Wanting to look like Charles Bronson;
Buying a Sega Saturn;
Barrotes, Jerusalem and Friday the 13th viruses;
Giving up on computers when the battery on my 386 melted all over the motherboard;
Playing bass guitar for a Black Metal Band (and being acclaimed as the most promising new metal band on national radio by António Freitas (link to portuguese language page);

Thursday, March 08, 2007

International Women's Day

Today was the International Women's Day, and all over the world there where men who didn't get their sandwich even if they tried to sudo it. :o)

Actually this is a very important day, since it universally marks the _one_ day where we are supposed to thank women for their efforts in making the world a better place and reflect upon the way we, the society, have been treating them.

In my humble opinion, one day isn't nearly enough. People (read: men) should remind themselves everyday that is wrong to abuse verbally, physically, by actions or by inactions all and every woman.

Hopefully, you'll be thinking that I'm beating a dead horse, since we're a civilized society and all that, and these kinds of discrimination don't happen anymore, so I'm going to share two little stories with you.

My friend Carla, was forced to leave the company she helped create because despite all her recognized (and praised) hard work, the business unit wasn't making much of a profit. And for all the long hours and even some lost nights that she poured into her former employer, all she got was a 0€ severance pay. Why? because her former boss didn't find it necessary to pay her a dime. After all, what was she going to do about it?

Another girl friend whom I cannot name as of yet, has been killing herself slowly trying to do all the graphic design for a company that represents 3 small monthly newspapers all by herself for the past months and she already has been subjected to harassment, lied to, overworked (16 hours work days...on saturdays) and they don't even pay her measly 600 € paycheck on time, but rather some 8 days overdue. Without an apology. Why? Because "nowadays everyone knows how to work with a computer" and "it's so hard to find a job" (these are actual quotes in case your wondering) and besides, what was she going to do about it?

Since this blog is mostly about geeky stuff, I'll say goodby with a lttle tech tip.
If you use Stoplight (a Pref Pane add-on that changes Carbon apps maximize and close buttons behaviour so that they do just that; Fill the screen and exit (Command-Q) an active window) on your Mac and are experiencing crashes on Safari after printing to PDF or if Finder restarts after viewing a slidshow in iPhoto, look no further. Just change Stoplight's setting so that these two apps run in "Mac OS Default". Pronto.

Wednesday, March 07, 2007

On the subject of goodwill

This is not good news for Microsoft. Their latest OS hasn't even begun to make its way into the corporate desktop and already the claims on unbreakable security are a thing of the past.

Or were they ever anything but marketing?

The question I most often hear regarding the transition for the new OS is "Why bother?" To answer this, I made a funny little mental exercise.

What would I do if I was in charge at Microsoft (or at least if they listened to me).

Well, to start with, I would take the number of available versions of Vista down from 7(5?) to only 3.

Vista Corporate Edition (VCE) - Drop the show off (Aero will be turned off by policies on most cases anyway);
Better security and networking. This would eliminate the need for mandatory hardware upgrades in the enterprise and would thus lead to wider embracing by CTOs and CFOs alike.

Vista Media Hub (VMH) - A version with some great visual apparatus, geared towards the home user with basic needs beyond media and internet access.

Aero would be a must, so maybe this could lead to a more reliable hardware certification \ standardization process (much needed IMHO) were Vista Ready meant "Ready to run full specs with full performance".

Vista Gamer (VG) - Recognizing that a vast majority of PC users mostly use their OSs (at home that is) to load and play games, Microsoft should make a version of their newest SO much to the liking of the one that powers their own Xbox 360.(Not necessarily compatible, though that would be a blast).

Networking and Security services striped to a minimum, very compact and hu.. lightweight. Take advantage of the relationships with Hardware Vendors and maximize performance.

Next if my list would be taking better advantage of what comes out of their own labs and projects (label it as beta, if you will) and deliver a companion DVD full of goodies like Photostory (does it still exist?) Expression (even a lite \ demo version) and Photosynth (for VMH).

Also a good option, would be throwing VirtualPC, SQL2005 and Visual Studio Express into a Companion DVD for VCE and finally XNA Game Studio for the Gamer version.

As for the Office suit, i wouldn't touch it (with a long stick).

Eliminate the fabricated need for upgrades (personally I’ll stick with Office XP for as long as I can, or must) and make it compatible with open-document standards for publicity if nothing else.

Finally on the server front. Well this is going to be a biggie... So I'll put it more as a wish list than anything else.

1- Native Support for "foreign" file systems.
2- Show us what WinFS can do. If it turns out not to be all that much adopt ZFS (ouch).
3- U-N-I-X C-O-M-P-A-T-I-B-I-L-I-T-Y L-A-Y-E-R (or SFU done right, or cygwin in a companion CD).
4- Gui-less version. With option for graphic administration from remote desktop or even trough a web browser. This would be a great selling point for Application, Web, DB and File servers. And for low-end servers too.

Ok, so most MSCEs would be left to dry without point and click. But the good ones would adapt, and the best ones won't tell the difference (if it can't be scripted, it can't be done, right?)

Friday, March 02, 2007

A week in song titles

Ramble On Led Zeppelin
BES Photo's winner this year was Daniel Blaufuks, a multimedia artist who also does some photos.

Not surprising at all. As someone way more "in the know" that I noted earlier, this was very likely the worst BES Photo ever.

If you take some time to go around a couple of blogs and Flickr pages, you'l find many talented photographers, but hey, their name isn't Blaufuks or Themlitz or Ideafix or any of the other weird names that seem to be a pre-requisite to enter the competition for Portuguese artists.

By the way, the photo on my blog's title is a self portrait by Kay whom i rank at nr. 2 on my favorite artists list, right after Dali and Trent Reznor (incidentally, if you didn't get this joke, you might be reading the wrong blog) and is here with her consent. The logo underneath it is from the "Art is Resistance" movement.

In Memoriam Rodrigo Leão & Vox Ensemble
I finally managed to give my Macbook a 1G memory upgrade, and it is worth every penny. If your stuck with the default 512 Mb, your missing out. Good does get better.

Simultaneously, a work colleague humped his (newer model) Macbook a full Ghz (to 2G) and notes that the performance improvements are even more noticeable. So todays Haiku is "Grab RAM if you can. OS X surfs graciously in deeper waters".

There There Radiohead
This week on Digg a story gained some momentum again (the original is kind of old) about how 199 out of 200 CS Majors can't program. This just proves that a degree can be a display of educational excellence, but doesn't hint at all on competence.

Dead cat on the line (Diamanda Galas cover)
I had almost forgotten about these...

Tuesday, February 27, 2007

Everybody loves a self explanatory error message....



...and this ain't a very good example of one, is it?

Monday, February 26, 2007

Search and Zip (revised and improved)

This is a little vbs script I wrote the other day. It's purpose is to find all log files in a given directory, create a zip archive (using 7-Zip command line interface) of each individual file (created before today, so I don't zip anything currently in use) and delete the original file.

I hope somebody else finds it useful... Although I know that someone can probably out best me with a Perl one-liner..

Here goes!

'Function: Compress and delete log files
'Description: Finds all files with the extension ".log"
'from inside the folder(s) passed as arguments, create a ".zip"
'archive with the same name and delete the original file
'Example: cscript compress.vbs d:\logs "d:\big app logs"

strComputer = "."
str7z = "C:\7-Zip\7z.exe"
i=0

If WScript.Arguments.Count = 0 then
WScript.Echo "Directory path missing. Usage: cscript zippit.vbs dir1 ""dir 2"" (etc)"
Else
'For each folder passed as an argument
For Each strArgument in WScript.Arguments
strDir = WScript.Arguments.Item(i)
Set oShell = WScript.CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
'fiel collection inside strDir folder
Set colFiles = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory.Name='"& strDir &"'} Where " _
& "ResultClass = CIM_DataFile")
'Process monitor; will report upon closed \ finished processes
Set colMonitoredProcesses = objWMIService. _
ExecNotificationQuery("select * from __instancedeletionevent " _
& "within 1 where TargetInstance isa 'Win32_Process'")

If colFiles.Count >0 Then

'for each file
For Each objFile In colFiles
'only logs mater.any other file is skiped

If WMIDateStringToDate(objFile.CreationDate) > now() And objFile.Extension = "txt" Then
'compression routine
oShell.Run ""& str7z &" a -tzip """& strDir &"""\"& objFile.FileName &".zip "_
& " """& strDir &"""\"& objFile.FileName &".txt"
WScript.Echo "Created the file "& strDir &"\"& objFile.FileName &".zip "

'log deletion routine
z = 0
'wainting Loop (sleep until zip is done)
Do While z = 0
Set objLatestProcess = colMonitoredProcesses.NextEvent
If objLatestProcess.TargetInstance.Name = "7z.exe" Then
'7z process ended; i can leave the waiting loop and delete the original file
objFile.Delete
WScript.Echo "Deleted the file "& strDir &"\"& objFile.FileName &"."& objFile.Extension &" "
z = 1
Exit Do
End If
Loop

End If
Next
End if

i = i+1
Next
End If

'change date format returned by wmi_script
Function WMIDateStringToDate(dtmDate)
WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
& " " & Mid (dtmDate, 9, 2) & ":" & _
Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate, _
13, 2))
End Function

WScript.Quit

'as with everything else on this blog.... Creative Commons apply to this code.