Archive for January 2009

 
 

How Twitter turned me into a lazy blogger…

twitter comic

Twitter is right now the number one motive for my lack of updates in this blog. Recently some unusual amount of portuguese friends have just joined so, much of my ideas and link sharing are being done through Twitter. Even the President Cavaco Silva now has a Twitter account (check it here).

One of the good thing on Twitter is it’s API. Very well documented and simple to use. You can do almost everything, and almost everything has already been done. I’ve been playing with the API recently and made some fun stuff that I plan to share when it’s finished.

Also, now there’s a Twitter icon on the menu on top of this blog, that links to my account, so feel free to add me.

Until next post (it wont take long, I promise), I’ll see you on Twitter :P

The remake of Filebuster

filebuster

I’ve made a remake of Filebuster (named “emoogle” back in 2006) just to try out some fancy things with jQuery.

Filebuster is a web interface to make specific search of media files on Google. The app itself is useless most of the time and most of the search results are just fake or wrong, but if you dig enough you’ll probably find what you’re looking for. Maybe i’ll make some better features in the future.

Link: rogeriopvl.com/filebuster

Watercooling fail

mess at work

Actually, this is not even a watercooling attempt. It’s just an example of some mess that can be seen at my workplace. Notice the scissor and stickies also inside the computer. And yes, the computer is running and being used :D

Photo taken by Eduardo

Moving to Dreamhost

Expect to have some trouble in the next days trying to access this blog and any other file hosted on rogeriopvl.com. I’m moving from my current host (Hosting Bug) to Dreamhost.

I’m not moving due to any kind of problem with Hosting Bug, I have absolutely no complains about them. It’s just that Dreamhost is offering some crazy new year sales, and I just took the chance.

Let’s hope that the transfer runs fine and soon I’ll be posting again :)

IBM PS/1 – My first computer

IBM PS/1 PC

Do you remember your first computer? Well, I do, thanks to this tweet from Célia Leocádio, I found my first machine in this old computer archive website.

Back then I knew almost nothing about these machines. When my parents bought it, I was about 11 years old. I only wanted to play games. The only contact I had with computer programming was in some BASIC lessons I had at school, where we just copied code from paper to an editor, and then some pretty colored and flashing ASCII art would appear. I had no clue of what I was doing.

I’m not sure of the real specs of this computer, it was an IBM PS/1, I believe it had something like 2Mb of RAM, the CPU was a 386sx with speed probably around 10Mhz and came with Windows 3.1 installed.

I remember playing games like Accolate Grand Prix, Prince of Persia (the first game I was addicted to), Crystal Caves, Pacman, Italia 90, and allot of others.

I could now just end up this post saying “those were the days”, but well, that would make me feel old :P

Copy to clipboard from terminal in OS X

To copy something to the clipboard using the terminal seems to be pretty simple in Mac OS X. There’s this command pbcopy that copies whatever is passed to it from the terminal into the clipboard (aka pasteboard in OS X, hence the command “pb” and not “cb”).

To use it’s just this simple:

echo 'lol' | pbcopy

This will copy “lol” into your clipboard. Now you can paste it in your browser, mail or whatever. And if you want to paste this also from the terminal, you can use pbpaste, to do it:

pbpaste > file.txt

This will paste the previous copied “lol” into “file.txt”.

I’ve googled for something similar in Linux, and found xclip, but it seems that it doesn’t work with the graphical paste. You can only paste the output using the wheel mouse button.

Oh, and by the way, this the first 2009 post, so Happy New Year! :)