Shared bookmarks for del.icio.us user tvset on 2005-10-24
Category: Programming
A big part of my work has to do with code. I’ve worked as system administrator – installing, patching, and configuring someone else’s code. I’ve worked as independent programmer, writing code on my own. I also programmed as part of the team. And on top of that, I worked as Team Leader and Project Manager, where I had to interact a lot with programmers. Programming world on its own is as huge as the universe. There is always something to learn. When I find something worthy or something that I understand enough to write about, I share it in this category.
Sim bug cleared up
I’ve been enjoying my Sim ride for some time now. With more confidence in it, I explore the menus and look for more features and configuration options. One of the things that I noticed is support for Yahoo! Messenger. It’s not on the list of features, but it is in the menu (Connections » Connection Manager » New Connection » Protocols » Yahoo!).
I don’t use any other protocols except ICQ much. But I do have a Yahoo! ID, so I thought I’d configure it just in case. I tried to create a new connection, but there was some strange problem. Whenever I would put my Yahoo! ID and password and try to connect, Sim would complain that ‘Login failed’.
Continue reading Sim bug cleared up
Synchronizing directories with Perl and SSH
For a while now I have been using ICQ both at home and at work. Instead of having two different copies of data or running ICQ remotely, I was simply copying all data files over between these two locations. rsync
with scp
were doing the job just fine. The problem emerged when I started to use ICQ on more than two machines (two machines in the office and one at home). I had to always figure out where is the latest copy of my data and distribute it from there to all the other locations. After doing it manually for just a couple of time bored me to death and I decided to write a script.
I started off with a very specific script that was only meant to copy my ICQ back and forth, but quickly realized that it can be generalized to copy any set of directories. So, here it is – sync_dirs.pl.
This script accepts and requires only one parameter – directory to synchronize. You can define a few shortcuts for frequently used directories inside the script. Locations are also defined inside the script. Since this piece of code uses Net::SSH
and Net::SCP
, the current limitation is that you must have ssh configured to authorize with keys, not passwords. The good news, is that you need only one location to be able to access all the others. The most recent copy of data will be copied over to this central location and from there distributed to all the other machines.
Generating ultimate movie wishlist with Perl and IMDB
One of the things that will go into history with the year 2005 is the number of bad movies produced by Hollywood. IMDB says:
Hollywood is mired in its biggest box-office slump in over 20 years.
With all those bad movies around, finding something worth the time and effort becomes increasing difficult. Luckily, there are these two things that can make our lives easier – IMDB and Perl.
Combining the two all sorts of interesting things can be achieved. Particularly, an ultimate movie wishlist can be generated.
If you are here just for the script, than here is the movie_wishlist.pl. If you want just the result, than here is wishlist.html. Otherwise read on for the explanations on how it works and how you can make it better.
Continue reading Generating ultimate movie wishlist with Perl and IMDB
Request for an application
I’ve got an idea for an application. If you have nothing to do or looking for an idea to practice your mad programming skills, feel free to use this one.
Flickr is an excellent source of images. Better even, all images are tagged and most are available in different sizes. It would be very nice to have a tool that could use Flickr images as desktop backgrounds (wallpapers). Ideally, I would just specify the tags that I am interested in, such as sports, nature, or landscape, and this tool would get the list of images from Flickr that are available in the resolution that I am using. Images could be random or sorted by some criteria, such as posted date or number of comments. If there would be a preview and an easy way to change to the next image (maybe even automatically based on time period) I’d be totally happy.
I don’t see myself programming this anytime soon as I don’t care much for desktop candy. But if one was available there is a chance that I would use it. I also know of a few people who would simply love something like this.