If you have used good source control systems such as subversion or perforce, you will know that adding a whole pile of files (as you would at the beginning of a project) is a trivial task. In the case of subversion it's just two commands, svn add, svn commit, and you are done. If however you have the misfortunte to have to use IBM Rational Clearcase you are a little out of luck.
So before you go and start adding the two hundred files one by one using cleartool mkelem, take a look at this option:
clearfsimport -nsetevent -recurse c:\tmp\srcfolder\new c:\views\destination_view_folder\srcfolder
Submitted by Armin on Thu, 2008-12-11 14:31
Video output to an external monitor is easy right? Well it was on Windows XP, but with Xubuntu (8.04 Hardy Heron) running on an IBM Thinkpad T41 turned out to be a little trickier than hitting function-F7.
Firstly hitting function-F7 doesn't do anything, even though all the other function buttons (keyboard light, screen brightness, etc) work fine. If you leave the external monitor plugged in, and reboot, you should see the port come to life. Next you run your favourite video player (like VLC) and notice that the video only appears on the laptops LCD display, and not on the external monitor. To solve this simply:
- sudo apt-get install xvattr
- xvattr -a XV_CRTC -v 1
Done. That should switch the video output to the VGA port. To switch back use this:
- xvattr -a XV_CRTC -v -1
If you haven't had a chance to look at Xubuntu, you should check it out. It's essentially Ubuntu but with the Xfce desktop manager. Much smaller and faster than Gnome and Kde. Great for old hardware (like my T41).
Submitted by Armin on Mon, 2008-11-10 02:24
So have you played with Ruby or Rails yet? No? Well you might want to give it check it out. The Ruby language is very interesting and Rails, which is built with Ruby, is a very powerful web application development framework.
To get you started take a look at these sites:
http://www.rubyonrails.org/ - All about rails.
http://www.ruby-lang.org/en/ - All about ruby.
Submitted by Armin on Sat, 2008-01-26 04:59
When was the last time you used a spreadsheet? What did you use? Did you go for the traditional client office application suite, whether it be Microsoft Office System, OpenOffice, or even OpenOffice portable (which is rather interesting), or an online solution like Google Docs, or EditGrid? Aside from the plentitude of feature difference, the core functionality is very similar, so how do you decide what to use? ...
Submitted by Armin on Tue, 2008-01-22 04:52
Whenever you deal with a software project, you deal with a build system. The method and process by which you turn your code into a product. This may involve many steps such as pre-processing, compiling, linking, moving files around, and signing among others. The trouble is that on some projects this system becomes an afterthought rather than a purposeful choice. Today I want to briefly talk about the benefits obtained from a good build system.
Submitted by Armin on Wed, 2007-12-26 06:00
Those who have upgraded to Vista may have many issues to discuss, however today I just wanted to mention one in particular. Typelibs. In particular how to view them.
As you may know a typelib is simply a file containing type information. Information such as data types, interfaces, object classes, member functions, etc. All the things you need to know about to use an OLE object. Now once compiled in their binary form (tlb files) these are a little hard to read so its nice to transform a type library back to Interface Definition Language (IDL).
There are of course many such tools, however Oleview.exe, which comes with Visual Studio, does this for you (File->View TypeLib). This is very handy indeed. However it seems there is an issue with running Oleview from an elevated command prompt in Vista... it hangs. There are a few suggestions on the web but the one that worked for me was thanks to Shri Borde. I.e. don't run Oleview from an elevated command prompt. I'd be curious to find out why this is the case.
Submitted by Armin on Mon, 2007-09-24 05:27
Its a new year and time for change. After spending more than five years living and working in Seattle, I have decided its time to move. My destination is Melbourne, Australia, home of the Koala, Kangaroo and some beautiful scenery. It was time to add some new challenges to my career (more on that later), and move back to the pacific where I grew up. Along the way I had one week to do some sightseeing and reminiscing around New Zealand (also known as Aotearoa). So where did I go? ...
Submitted by Armin on Tue, 2007-03-27 20:26
Is there really another single letter programming language? Yes, its called D . The D programming language comes from Walter Bright and Digital Mars. Its been around for a while, but with the recent v1.0 release its probably a good time to take a look.
Submitted by Armin on Mon, 2007-02-05 23:07
You may have noticed a change on ArminSadeghi.com. Last night the site was upgraded to use the new Drupal 5.0. Drupal is the content management software I use to run the site. Along with the upgrade there is a whole new theme in place providing a fresh look.
Submitted by Armin on Tue, 2007-01-23 10:38
When software applications do what they are advertised to do users are happy (generally), but what if you want to do more? Thats where you generally start looking for some method to extend the application. Not every application will allow this, but Windows Live Messenger (WLM) is one that does (at least currently with version 8.0). How, you ask? By writing your very own Add-In with the Messenger Add-In API ...
Submitted by Armin on Fri, 2006-12-22 01:45