mozy: free online backup solution. I hope this works over the http proxy I have at work, otherwise it will be useless to me.
Update: I just asked them (mozy.com) and they told me Mozy will work with any proxies that allow access to secure traffic (https). Their FAQ should now cover this and include a section dealing with popular firewall software.
Friday, September 30, 2005
mozy: free online backup solution. I hope this works over the http proxy I have at work, otherwise it will be useless to me.
Thursday, September 29, 2005
Interesting quotes from this C|Net article:
For instance, Chief Executive Steve Ballmer once famously called Linux and the open-source philosophy a "cancer." More recently, Ballmer has changed the tone of his rhetoric: "We compete with products. We don't compete with movements," he said in a recent interview with CNET News.com.
And when I was just about to say that JBoss sucks a lot on Windows:
And Shaun Connolly, vice president of product management at JBoss, said that more than half of its customers use the JBoss Enterprise Middleware System product on Windows.
Tuesday, September 27, 2005
Saturday, September 24, 2005
Enlightening post regarding web services infrastructure and template languages at Web Services Infrastructure: Kid Templating [@lesscode.org] by Ryan Tomayko:
Which brings us to Kid as “Web Services Infrastructure”. The concept is simple: for whatever reason, template languages (PHP, ASP, JSP, CFML, ERB, Cheetah, Tapestry, Velocity, etc.) have become a fundamental tool for web development and their usefulness is in no way limited to presentational data (HTML). Templates are simple, templates are cool. You throw some junk in there and look at the result. If the result isn’t right, you tweak your template until it does look right. There’s no layers of magic to get in your way. When something doesn’t come out right, you change the template. There’s no “management” or “container” involved.
There’s no rule that says templates must only be used to generate HTML. Indeed, many of the RSS and Atom feeds in the wild are generated from some form of template. They are never automatically-generated-behind-the-scenes using language bindings and are very rarely generated using some kind of DOM/SAX API.
All this to say that if you’re looking for “Web Services Infrastructure” for exposing processes and information, you’re probably looking to hard. If you have a database, templating, and a web server, you have most of the infrastructure and framework required to begin exposing information from each of your systems in a proven and established way. What you want to be on the lookout for are small and specific enhancements to these existing pieces that allow you to interact with other machines in a more predictable manner or in new and different ways.
The next time someone is selling you infrastructure for Web Services, or SOA, or ESB, or whatever they’ll call it next, make sure you ask “Why?” After they tell you, make sure you understand, agree, and have the problems they propose to solve. If not, ask again. New framework and infrastructure is extremely expensive in more ways than one: you have to ramp people on it and then deploy, manage, monitor, and support it. Sometimes new infrastructure is unavoidable but when it overlaps a large portion of your existing infrastructure, you should make sure it’s bringing back a significant return.
Image processing example using the Python Imaging Library. Functions for working with stereo images are provided: de-interlace, extract blue and red channels, sum two images, scale using bilinear interpolation.
Friday, September 23, 2005
Thursday, September 22, 2005
Those differences are precisely what Putnam is looking for. What he's studying during his unlikely playdates is that elusive temperamental divide between those of us who thrill to the new and those of us who prefer what we know--those who seek out the unfamiliar and those who retreat into the cozy and safe. It's in that divide, many scientists believe, that the mysteries of shyness may lie.
Wednesday, September 21, 2005
GMail has a feature (or a bug ?) which allows you to append a plus sign followed by a keyword to your account name and it'll ignore this sufix. Think of it as a way to create several aliases for your inbox.
I've set up one so that all email sent to email@example.com will be delivered as an SMS message to my cellphone. All I had to do was create a filter like the one below. (and of course, your cellphone company must support forwarding emails to your phone).
Matches: to:(firstname.lastname@example.org to replace account by your gmail account and email@example.com to the email address your company set you up.
Do this: Forward to firstname.lastname@example.org, Skip Inbox
In case you didn't notice: we're indeed becoming smarter !
Has intelligence changed at all in the era of the Internet?-- CNet.com: Are we getting smarter or dumber?
Merzenich: Over the past 20 years or so, beginning before the Internet really took hold, the standard measure of "intelligence" (cognitive ability) has risen significantly (well more than 10 points). No one really knows what to pin this on, but it is a well-documented fact.
From The naive vegetarian:
As we know, when it needs food, our body indicates this to us with the feeling of hunger. But there are also other signals if specific nutrients are deficient. Meat is the best source of several nutrients. When our bodies are deficient in these, we become irritable and aggressive. This is a perfectly natural signal built into our genetic make-up over our evolution: our bodies are telling us to go out and kill something to eat. This is why strict vegetarians tend to be so vociferous. It is a trait that was recognised long ago; it was, after all, the vegetarian Cain who killed the carnivorous Abel, not the other way round. The vegan Kikuyu tribe in Kenya were the perpetrators of the murderous Mau Mau in the 1950s, not their wholly carnivorous, but peaceful, neighbours, the Maasai.
Mind-opening article. Dad always told me not to trust on anyone not eating meat.
Monday, September 19, 2005
A phenomenological law called Benford's Law or the first digit law, states that in listings, tables of statistics, etc., the digit 1 tends to occur with probability ∼30%, which is much greater than the expected 11.1% (i.e., one digit out of 9).
That has been used by tax experts to detect fraud since any natural data (which are not dimentionless) should exhibit such a distribution of first digits:
Sunday, September 18, 2005
Before even installing linux or any other operational system, you'll have to split the huge 60GB single NTFS partition into other partitions. The recovery DVD will rewrite the entire 60GB disk if you don't abort it and fdisk/format a smaller ntfs partition on the beginning of the drive. To do so, i followed the following steps: (You could also take a different approach, by resizing the NTFS partition, using http://linux-ntfs.sourceforge.net/)
- Boot knoppix, or any other linux rescue system. To choose the boot medium, you will have to press F12 during boot.
- Use fdisk, cfdisk, or the partition editor of your choice to create a smaller NTFS partition and the other desired linux/windows partitions. In my case, i decided to create the following:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2433 19543041 7 HPFS/NTFS
/dev/hda2 2434 2444 88357+ 82 Linux swap
/dev/hda3 2445 5363 23446867+ 83 Linux
/dev/hda4 5364 7296 15526822+ c W95 FAT32 (LBA)
That is: a 20 GB partition for WinXP, a 20 GB partition for Linux and another 20 GB FAT32 partition to share data (mp3, movies, etc) between linux and windows. (NTFS is mounted as read-only on linux)
You may probably want a smaller linux partition, or a separate partition for /home. I just wanted to keep things simple.
- Boot with the recovery dvd this time.
- On the screen prompting you to confirm the recovery procecure, you just abort.
- You will be then dropped into a win98 "shell". On this environment, i made sure the first ntfs partition was active and formated. To do so, i used fdisk to make this partition active, and then, after another reboot (as recommended by DOS' fdisk) with the recovery dvd (aborting once again) I used DOS' format.com to properly format C:. (This formatting step may not be needed, i haven't confirmed so. But it is safe to do it anyway). As reported on http://www.fnal.gov/projects/ckm/ckm_cluster/toshiba-1805/ you should change to the recovery virtual drive and run the proper win98 fdisk. There is also a .bat for resuming the recovery process. More details on where to find fdisk and how to resume the recovery process can be found on http://www.fuw.edu.pl/~pliszka/hints/notebooks/.
- Locate a .bat file on the recovery dvd or virtual ram drive, that should resume the recovery process. So you then wait patientely as it transfers the entire winxp home system image with all the pre-installed software. Notice that on the progress screen, it will show that the target partition or disk has only 20GB.
- Boot windows normally, just to make sure you have your winxp home system working again.
- Boot your favourite linux install iso this time, and proceed with the installation as you would on a normal desktop pc.
My distribution of choice was knoppix, as it gives me a fully working Debian unstable/testing system in less than 10 minutes. So the following instructions may only appply to debian-based systems. (But well, you should easily figure out how to do them on your distribution)
- Boot the knoppix live cd. I used the latest 3.3 release.
- Make sure everything is working fine. Right out of this boot, i had ethernet and audio (not ALSA) working. X11 resolution will be at 1024x768, since knoppix doesn't seem to install nvidia drivers for you. Don't worry, you will have 1280x800 real soon.
- Open a root knoppix console (there is an icon on the kde panel for that i guess). Run the knoppix-installer script. (the one for installing knoppix into a hdd)
- Follow through the normal questions you'd expect on any linux install, and you should end up with a working knoppix system on the 20GB linux partition you defined on the 1st section. I decided to use ext3 as the filesystem for /.
I compiled the latest 2.6.1 kernel available from www.kernel.org, and applied the -mm4 patch availble on this same page. Instructions for applying this patch is available at http://kerneltrap.org/node/view/875. You could take a look at my config file (there are instructions on the official kernel package on how to use old .config files when compiling your kernel. Mostly all you may need is a "make oldconfig") for this kernel.
Please notice that a lot of unnecessary modules are still included on this config, and should probably be removed. But all necessary ones for this toshiba model are there. Please email me with any suggestions.
At the time of this writing, the acpi extensions found on the phoenix bios of this M35 were not supported by the toshiba_acpi kernel module included on 2.6.1, but this patch will make it work. Download the patch and follow these instructions (assuming you have the mentioned kernel sources extracted to /usr/src and /usr/src/linux pointing with a symlink to the extracted kernel source tree).:cd /usr/src/linux
patch -p0 < /home/rnc/downloads/toshiba_acpi_0.17-test1.patch
The patch above is now available on kernel 2.6.3-rc2.
Also take a look at the "X11, usb, mouse" section below for some other kernel fixes before building it.
Now compile your kernel with the usual "make bzImage modules modules_install", and don't forget to copy the resulting bzImage (/usr/src/linux/arch/i386/boot/) to /boot and re-run lilo.
Reboot the new kernel, and make sure you have a toshiba dir on /proc/acpi. Also keep in mind that you need to reinstall the nvidia driver everytime you compile a kernel.
There are some toshiba utilities you should install from http://fnfx.sourceforge.net, in order to change the lcd brightness for example. All I did was download/install the debian package for fnfx, and make sure the fnfx daemon (fnfxd) runs automatically:dpkg -i fnfx-0.2-1.deb
The .config file above would give you a kernel supporting intel's speedstep technology, but you'll need a daemon running on background collecting system load info and adjusting the processor speed as needed. And "powernowd" is the one responsible for that. What you should do:apt-get install powernowd
echo "sysfs /sys sysfs defaults 0 0" >> /etc/fstab
I haven't tested it yet. All i know is that linux won't support it natively, and INTEL will take a long time to release closed or opensource drivers. So you should try ndiswrapper (http://ndiswrapper.sourceforge.net/).
Get the latest synaptics driver for X11 at http://w1.894.telia.com/~u89404340/touchpad/ . It should be a synaptics-version.tar.bz2 file. Uncompress and install it.
Take a look at my XF86Config-4 file. With this config, USB and touchpad with synaptics support will work simultaneously. There are some hacks on the net that will switch between 2 diferrent XF86Config files if you boot with the USB mouse plugged in or not. Google should assist you there.
This config should also contain a modeline for 1280x800 and truecolor, but i guess it will only work with nvidia drivers.
There are some issues with the touchpad: the keyboard will hang or delay when you press keys right after using the touchscreen. Follow the instructions on http://www.marcsaric.de/m30_linux1.html (search for "psmouse-base") to fix it. So note that you need to change psmouse-base.c as described on Marc Saric's howto before building your kernel.
For kernel 2.6.1, i had to use the nvidia drivers from http://www.minion.de/ . After downloading the latest binary nvidia driver for 2.6.1, all i did was "sh NVIDIA-something.run", and an NVIDIA installer compiled/installed everything necessary. Latest official drivers from nvidia.com seems to support 2.6 kernels, so you are probably better off with official drivers.
Also, don't forget to set the proper driver on your XF86Config file. (Again, my config linked above does that for you)
Due to a bug on knoppix 3.3, or other Linux distros, a message (ttyS0: LSR Safety Check Engaged) would appear every few seconds on all terminals. To make that go away, as suggested by Karl Tallen (K.Tallen at gmx dot de), I had to remove /var/lib/setserial/autoserial.conf and run (as root) /etc/init.d/setserial. You should also remove the brtty package, because there is still a single error message (something like "device not found").
- Try tuxmobil.
On a Debian (SID) system, it should be as simple as this:
# apt-get install subversionThis will install all necessary binaries and tweak /etc/services so svnserve is executed by the user starting the ssh tunnel upon network activity.
Create a repository to store versioning data:
$ svnadmin create ~/svnImport a source tree into subversion:
$ svn import /home/rnc/coEdit svn+ssh://127.0.0.1/home/rnc/svn/coEditWith this import command, all files under /home/rnc/coEdit will be checked in as the toplever dir coEdit on your repository.
Now you need to checkout a working copy of your project source code:
$ cd ~/myWorkDir/Now you are ready for commiting and updating source under ~/myWorkDir/coEdit. From here on, refer to /usr/share/doc/subversion/book/book.html for detailed usage info.
$ svn co svn+ssh://127.0.0.1/home/rnc/svn/coEdit
Saturday, September 17, 2005
There is almost one mobile phone for every person in much of the developed world, according to new figures from the OECD. In Luxembourg, phones outnumber people, since many people who live in neighbouring countries have a second handset for use within its borders. Despite their enthusiasm for PCs and broadband links, Canada and the United States have been slower to adopt mobile phones than other rich countries. - Economist.com
I've been using www.last.fm (formerly known as audioscrobbler) for a year now and the short way I have to define it is: "an orkut for music".
Every user populates it's musical profile automatically using plugins for popular desktop media players so the site keeps track of everything you listen, being able to make recommendations, show musical "neighbours", that is, other users with similar music taste, and so on.
It's really fun to browse similar artists on it even if you don't have a profile.
See my profile for example.