Monday, June 30, 2008
PHP Firebird driver á la ActiveRecord
read more | digg story
Fresh Firebird Python Driver 3.2.1 Patch Release
read more | digg story
Sunday, June 29, 2008
Saturday, June 28, 2008
So one more thing to hate gnome bloatware
read this blog
"The final feature, which would make Lazarus finally ready for 1.0 (just my opinion! I know others disagree) is unfortunately not in this list. It would be the retirement of the Gtk 1 widgetset, and the move to a fully unicode and modern Linux Toolkit. I have worked a lot in the Gtk 2 widgetset, trying to get it to a development level where it could substitute Gtk 1, but I got really frustrated, partly because of the low quality of the mixed gtk1/gtk2 interface code, but also because Gtk just doesn't help. Having worked with the Windows API, Qt, fpGUI, Cocoa and Gtk, I am absolutely sure that Gtk is the worse GUI toolkit I have ever seen. Yes, even worse then direct Windows API, because at least the Windows API works!"
Thursday, June 26, 2008
Full Circle Magazine: Issue 14 is out!
read more | digg story
needed for this php class where generic install is described bellow
also is now added to google code
http://code.google.com/p/build-ffmpeg/source/checkout
#1 get som prerequizite
#. On Fedora.Centos
# yum install ruby subversion gcc
apt-get install ruby subversion gcc git-core automake unzip
#2.Get faad2 (here are some details)
#http://packages.ubuntu.com/source/intrepid/faad2
wget http://archive.ubuntu.com/ubuntu/pool/universe/f/faad2/faad2_2.6.1.orig.tar.gz
tar -zxvf faad2_2.6.1.orig.tar.gz
cd faad2
./bootstrap
./configure --prefix=/usr;make;make install ;cd ..
#3.Get liba52 - a free ATSC A/52 stream decoder
#http://liba52.sourceforge.net/
wget http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
tar -zxvf a52dec-0.7.4.tar.gz
cd a52dec-0.7.4
./configure --prefix=/usr;make;make install ;cd ..
#4.Get libgsm http://packages.qa.debian.org/libg/libgsm.html
wget http://ftp.debian.org/debian/pool/main/libg/libgsm/libgsm_1.0.12.orig.tar.gz
tar -zxf libgsm_1.0.12.orig.tar.gz
cd gsm-1.0-pl12
./configure --prefix=/usr;make;make install ;cd ..
#5.Get Faac
wget http://surfnet.dl.sourceforge.net/sourceforge/faac/faac-1.26.tar.gz
tar -zxf faac-1.26.tar.gz
cd faac
./bootstrap
./configure --prefix=/usr;make;make install ;cd ..
#6.Get Lame
wget http://mesh.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
tar -zxf lame-3.97.tar.gz
cd lame-3.97
./configure --prefix=/usr;make;make install;cd ..
#7.Get xvidcore
wget http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.bz2
tar -jxf xvidcore-1.1.3.tar.bz2
cd xvidcore-1.1.3/build/generic/
./configure --prefix=/usr;make;make install
cd ../../../
#8.From http://www.penguin.cz/~utx/amr download amrnb-7.0.0.2.tar.bz2 and amrwb-7.0.0.3.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.3.tar.bz2
tar -jxvf amrwb-7.0.0.3.tar.bz2
cd amrwb-7.0.0.3
./configure --prefix=/usr;make;make install;cd ..
tar -jxvf amrnb-7.0.0.2.tar.bz2
cd amrnb-7.0.0.2
./configure --prefix=/usr;make;make install;cd ..
#9.Get theora from here http://theora.org/svn/
svn co http://svn.xiph.org/trunk/theora
cd theora
./autogen.sh
./configure --prefix=/usr;make;make install;cd ..
#10.GEt x264 from here http://www.videolan.org/developers/x264.html
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20080625-2245.tar.bz2
tar -jxvf x264-snapshot-20080625-2245.tar.bz2
cd x264-snapshot-20080625-2245
./configure --prefix=/usr --disable-asm --enable-pic ;make ;make install
cd ..
#11.Finally ffmpeg from svn trunk
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --prefix=/usr --enable-libamr-nb --enable-libamr-wb --enable-libvorbis --enable-libxvid --enable-liba52 --enable-libmp3lame --enable-libx264 --enable-libtheora --enable-libfaad --enable-gpl --enable-shared --enable-pthreads --enable-libfaac --enable-nonfree --enable-postproc
make ; make install; cd ..
#Needed for extension after php5-dev is installed
#http://ffmpeg-php.sourceforge.net/
#12.Get ffmpeg-php
wget http://dfn.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.3.1.tbz2
tar -jxvf ffmpeg-php-0.5.3.1.tbz2
cd ffmpeg-php-0.5.3.1
phpize
./configure;make ; make install
#and enable it in php.ini
#echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini
#Restart Apache to load FFMPEG-PHP (Depends on OS, this is for RHEL/CentOS)
#service httpd restart
#Verify if it works
php -r 'phpinfo();' | grep ffmpeg
#13.Get mplayer
wget http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
tar -jxvf essential-20061022.tar.bz2
tar -jxvf MPlayer-1.0rc2.tar.bz2
mkdir -p /usr/lib/codecs/
cd essential-20061022
mv * /usr/lib/codecs/
cd ..
cd MPlayer-1.0rc2/
./configure --prefix=/usr
make; make install;cd ..
#14.Get flvtool2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
tar -zxvf flvtool2-1.0.6.tgz
cd flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd ..
- ibase_affected_rows() - Return the number of rows that were affected by the previous query
- ibase_backup() - Initiates a backup task in the service manager and returns immediately
- ibase_commit_ret() - Commit a transaction without closing it
- ibase_db_info() - Request statistics about a database
- ibase_drop_db() - Drops a database
- ibase_errcode() - Return an error code
- ibase_free_event_handler() - Cancels a registered event handler
- ibase_gen_id() - Increments the named generator and returns its new value
- ibase_maintain_db() - Execute a maintenance command on the database server
- ibase_name_result() - Assigns a name to a result set
- ibase_num_params() - Return the number of parameters in a prepared query
- ibase_param_info() - Return information about a parameter in a prepared query
- ibase_restore() - Initiates a restore task in the service manager and returns immediately
- ibase_rollback_ret() - Rollback transaction and retain the transaction context
- ibase_server_info() - Request statistics about a database server
- ibase_service_attach() - Connect to the service manager
- ibase_service_detach() - Disconnect from the service manager
- ibase_set_event_handler() - Register a callback function to be called when events are posted
- ibase_wait_event() - Wait for an event to be posted by the database
Wednesday, June 25, 2008
Eclipse Ganymede Released
read more | digg story
Eclipse 3.4 Hidden Treasures
read more | digg story
before i had 4 ide drives
hda - wd400bb
hdb - gb200p0
hdc - gb200p0
hdd - wd2500jb
and now i have another wd 250G sata one
mdadmin --manage --setfaulty /dev/md0 /dev/hdc
mdadm /dev/md0 -r /dev/hdc
reboot
add the new drive after i have created an new partition with fdisk with the same siz
fdisk /dev/sda
mdadm /dev/md0 -a /dev/sda
watch it with cat /proc/md0
i created new raid with the space left after using 200G from each drive for
raid5
mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda2 /dev/hdd2
wget http://snaps.php.net/php5.3-latest.tar.bz2
tar -jxvf php5.3-latest.tar.bz2
cd php5.3-200806251430
my config.nice looks like this
#! /bin/sh
#
# Created by configure
'./configure' \
'--disable-all' \
'--with-interbase' \
'--prefix=/opt/php5.3' \
'--disable-cgi' \
"$@"
sh ./config.nice
make ; make test
and then make install
/opt/php5.3/bin/php -m
[PHP Modules]
date
ereg
interbase
pcre
Reflection
SPL
standard
[Zend Modules]
I will work on the php changes and fix the warnings that dont allow tests to be complete in 5.3 (and later in 6.0 )
TEST 1463/4206 [ext/interbase/tests/003.phpt]^MFAIL InterBase: misc sql types (may take a while) [ext/interbase/tests/003.phpt]
this one seems to be an warning only
Warning: Division by zero in /opt/build/php5.3-200806251430/ext/interbase/tests/interbase.inc on line 108
$n = substr(rand() . rand(), 0, rand() % ($len - $prec) + 1);
the other tests that firebird extension fails
TEST 1464/4206 [ext/interbase/tests/004.phpt]^MFAIL InterBase: BLOB test [ext/interbase/tests/004.phpt]
TEST 1466/4206 [ext/interbase/tests/006.phpt]^MFAIL InterBase: binding (may take a while) [ext/interbase/tests/006.phpt]
TEST 1468/4206 [ext/interbase/tests/008.phpt]^MFAIL InterBase: event handling [ext/interbase/tests/008.phpt]
Tuesday, June 24, 2008
gnome is too big and heavy on dependencies , it's absurde complexity is driven by bonobo and idl/xml stuff
throwed together to make it more like com api from the windows world
Gnome should get rid of these , all the xml crap that slows the desktop
- GConf – for storing application settings. (keep the settings in ini or json files)
- Bonobo – a compound document technology.
- LibXML – an XML library.
- ORBit – a CORBA ORB for software componentry.
also allow java script and other languages to be included in the main desktop
like javascript , php , pascal ....
Microsoft to ODF Technical Committee: Come to Remond
read more | digg story
Wine Weekly News: Issue 348
read more | digg story
Monday, June 23, 2008
Heroes of Might and Magic 5 on Linux with Wine!
read more | digg story
Sunday, June 22, 2008
Rakudo Perl - Perl 6 on Parrot
presentation by Patrick R. Michaud
and i read right now the Parrot Compiler Toolkit
written by the same author
http://perl-6.de/
and i will use them with the help of the official documentation
here are the slides
Here is the howto get it from svn
1.check out the code
svn co https://svn.perl.org/parrot/trunk parrot
or download it from cpan
wget http://search.cpan.org/CPAN/authors/id/S/SM/SMASH/parrot-0.6.3.tar.gz
2.run the Configure script
cd parrot
perl Configure.pl --prefix=/opt/perl6
3. Make the perl6
make perl6
.... [skip the compile lines]...
./perl6 -e'say "Hello, world!"'
4. create an file goodbyeworld.pl with this content
vim goodbyeworld.pl
say "Hello, world!"
./perl6 godbyeworld.pl
5. install it on the system
make reallyinstall
/opt/perl6/bin/perl6 -e"say 'Hello, world.'"
Friday, June 20, 2008
[Lazarus] Google says "this site may harm your computer"
From google:i really hate you , thank that i have alternative browsers ...
"Malicious software includes 2 trojan(s). Successful infection resulted
in an average of 9 new processes on the target machine.
yes firefox3.0 i'm stupid enough to install viruses , in fact you might notice
that i really want to read content from he lazarus wiki , i'm really sure
and mature enough , i'm not kidding , and i hate the red stuff and the angry mail man
That means that firefox smells or something ?
That mean firefox is less open source ? yes is proprietary
read the licence agreement ....
[I wonder how to port it on firebird , seems that it works already on postgresql and sqlite so an port can be done easily]
$cd /var/www
$wget http://www.movabletype.org/downloads/MTOS-4.12-en.zip
$unzip MTOS-4.12-en.zip
$chown -R www-data.www-data MTOS-4.12-en
$chmod g+rw -R MTOS-4.12-en
$mv MTOS-4.12-en mt
$mysql
mysql> create database movabletype;
Query OK, 1 row affected (0.00 sec)
mysql> quit
Bye
add in apache conf
$sudo vi /etc/apache2/apache2.conf
Options Indexes ExecCGI
$sudo /etc/init.d/apache2 restart
run the setup
http://localhost/mt/mt.cgi
Thursday, June 19, 2008
Firebird SQL Temporary Reference Update
read more | digg story
Wednesday, June 18, 2008
Firebird 2.1.1 Release Candidate is now officially announced
read more | digg story
You need to install all build dependencies
sudo apt-get install libqt4-dev flex gperf
Tuesday, June 17, 2008
Wine 1.0 Released
read more | digg story
(kvm is the next on the todo list)
I had to install Virtualbox 1.6.2 from here: Link on Ubuntu 8.04
and remove the old one $apt-get remove virtualbox-ose
some required packages to compile the module
sudo apt-get install bcc iasl xsltproc xalan libxalan110-dev uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libqt3-headers libqt3-mt-dev libasound2-dev libstdc++5 linux-headers-`uname -r` build-essential
sudo apt-get install gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libqt3-headers libqt3-mt-dev libasound2-dev libstdc++5 libhal-dev libpulse-dev libxml2-dev libxslt1-dev
dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb
/usr/bin/VirtualBox
Then create the 20G disk and mount the windows 2008 iso (see the link from my previous vmware/windows2008 post )
And install guest additions from the menu
locate vboxdrv.ko
dpkg -L virtualbox-ose-modules-2.6.24-18-generic
(may need to locate -u first)
then I did
insmod /path/to/exact-same-kernel.../vboxdrv.ko
sudo insmod /lib/modules/2.6.24-18-generic/misc/vboxdrv.ko
lsmod | grep vbox
/etc/init.d/vboxdrv status
open: Permission denied
* VirtualBox kernel module is loaded.
sudo apt-get install b43-fwcutter
that solves it
Lorenzo Alberton has endorsed your work as Evangelist at Firebird.
[Thank you Lorenzo]
Dear Marius,
I've written this recommendation of your work to share with other LinkedIn users.
Details of the Recommendation:
"Marius is an active OSS developer and evangelist. With his constant efforts, the image and visibility of the Firebird project and its community have improved considerably."
Abuse - oldie but goldie
read more | digg story
How to Run Dreamweaver CS3 on Linux using Wine
read more | digg story
The People Behind Mesa 3D
read more | digg story
WebHTB - Web interface for HTB-Tools, LAN bandwidth limiting
read more | digg story
IBM may open source DB2
read more | digg story
Monday, June 16, 2008
[ED: i agree with this post about the new firefox , they (moz
Corporation ) are headed to a wrong way IMHO and i will stick to epiphany/webkit browsers i also hate the fsking awesome slow bar ]
It’s a known issue that I’m not thrilled with Firefox 3. There are some nice improvements to it, but after seeing the progress of development through the betas and seeing where Firefox 3 was headed I decided it had been time to try out other browsers.
$wsdl_url =
"http://soap.amazon.com/schemas3/AmazonWebServices.wsdl";
$client = new SoapClient($wsdl_url);
var_dump($client->__getFunctions());
Migrating to the Newest Linux File System ext4
read more | digg story
Build Web Services with PHP in Eclipse
read more | digg story
Discover How a UNIX Machine Boots
read more | digg story
Migrating to the Newest Linux File System ext4
read more | digg story
Anatomy of a Linux Flash File System
read more | digg story
Speaking UNIX Part 8: UNIX Processing
read more | digg story
Sunday, June 15, 2008
Firebird 2.1.1 RC1 for Ubuntu released
read more | digg story
Friday, June 13, 2008
Dbi2 will be based on jdbc , you can watch and test the examples from here
http://svn.perl.org/viewvc/modules/dbi2/trunk/JDBC/
I came to the conclusion a year or so ago that rather than try to create
a new Driver API from scratch we should simply adopt an existing one.
The most widely know object oriented database API that's a close fit to
the DBI's needs and most database client APIs is the Java JDBC API.
It's also suitable as a Parrot API, which is a key goal for DBDI.
So I'm specifying that the DBI->DBD API will be based closely on JDBC.
How close? Very close. Specifically, closely enough that we can refer
users JDBC documentation and only document differences and (inevitable)
extensions.
http://www.mail-archive.com/dbdi-dev@perl.org/msg00048.html
we should do an petition and say "please kill xp and install ubuntu on all OEM machines"
read more | digg story
Wine 1.0 Update
read more | digg story
sudo apt-get install arora
I like this quote:
Arora hopes to never become another Mozilla. The Extension system should allow for many features to be implemented outside of the browser.
Mini HowTo: How to port Perl 5 modules to Perl 6
Often, the translation of P5 -> P6 is quite mechanic
http://svn.openfoundry.org/pugs/docs/other/porting_howto
I wonder how to port dbi modules to perl6
Open source tour of Europe: Romania
read more | digg story
Happy birthday, Perl!
read more | digg story
Thursday, June 12, 2008
SquirrelFish is faster than Tamarin
read more | digg story
I assume that php5 is already installed and we have the source for php5.2.x
$cd php-5.2.6/ext/interbase
$phpize or /opt/php5.2.x/bin/phpize (if is installed there)
$./configure --with-php-config=/opt/php5.2.x/bin/php-config
$make ; sudo make install
add this extension to php.ini (at the end for example)
extension=interbase.so
restart apache
$sudo /etc/init.d/apache2 restart
Load phpinfo() and search for interbase extension
Wednesday, June 11, 2008
Microsoft provides free VirtualPC disk images for each of their browsers all you need is to convert them to vmware/virtualbox format with qemu help
http://blog.mozmonkey.com/2008/vpc-ie6-ie7-ie8-on-mac-os-x/
1. Download ie7 for example
IE7_VPC.EXE from this page
2.Launch it with wine
$wine IE7_VPC.EXE
then agree to the agreement
you should see an file named after is finished
XP SP2 with IE7.vhd
$ ls -lah XP\ SP2\ with\ IE7.vhd
XP SP2 with IE7.vhd
3.Convert the image to vmware format
$ qemu-img convert -f vpc "XP SP2 with IE7.vhd" -O vmdk XPIE7.vmdk
4.Open VMWare Server and click File > New
5.Go through the wizard and when you get to the “Virtual Hard Disk” page, expand “Advanced disk options”, check “Use an existing virtual disk” and use the dropdown to find the new “.vmdk” file.
6.Finish the wizard and start it! (If prompted to upgrade the virtual harddrive, click “Yes”)
7.Ignore any driver dialogs that ask you to insert a Windows CD. The VMWare Tools should install these drivers for you (see next step).
8.Install the VMWare tools (Virtual Machine > Install VMWare Tools) as soon as Windows boots up. If installing the tools gives you a weird error, read the next section.
9.You’re done
Tuesday, June 10, 2008
that isn't emulated by qemu is almost by definition not very interesting..
QOD via linux-tiny
Want to see and try the new Ubuntu Mobile Edition ?
read more | digg story
24 Core, 48GB RAM Linux cluster runs on 400W
read more | digg story
just because it looks nice on fscking iphone doesn't mean it looks better on my browser
google.com/favicon.ico
http://googlesystem.blogspot.com/2008/05/new-google-favicon.html
Quake 3: A True Classic That Never Dies
read more | digg story
Monday, June 09, 2008
First install apc module in php by following this tutorial
vi app/config/core.php
and delete the last line
Cache::config('default', array('engine' => 'File'));
and replace it with
Cache::config('default', array(
'engine' => 'Apc' ,//[required]
'duration'=> 3600, //[optional]
'probability'=> 100, //[optional]
'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string
));
In that day i will deinstall my fox from desktop and use konqueror
ps: why i say dumbest because friday i tried 10 times to download firefox3.0 for x86 on my
ubuntu hardy hosted in vmware , That means that i have installed firefox 10 times ? no i hated the download counter 10 times more , give me bittorrent by default in firefox and make the download
scale , I don't need an useless counter
$sudo apt-get install gtk-recordmydesktop
$ gtk-recordMyDesktop
then choose the window you want to record and encode it , then upload it to youtube
More about it in this article
I want to update my Firebird Appliance and Firebird Ultimate
http://www.vmware.com/appliances/directory/276
http://communities.vmware.com/thread/44017
Vmware Community Contributed Virtual Appliances – Community Contributed Virtual Appliances are created by members of the virtualization and application community and typically include open source applications. Learn how to submit a community contributed virtual appliance.
you need to create an file .qmail with this content
./Maildir/
&myEmailAddress@example.com
|/var/www/EmailToFirebird.php
1.first one it keeps mail in the maildir directory
2.it will forward to the example.com address
3.it will insert emails in the databse for example (to check the bounce emails)
Ideas taken from this post comments
Free e-book: C++ GUI Programming with Qt 4 (Zip with PDF)
read more | digg story
Mark Shuttleworth on Netbooks pre-loaded with Ubuntu
read more | digg story
Firebird 2.1.1 RC1 in debian experimental
read more | digg story
APC - Alternative PHP Cache by default in Ubuntu
read more | digg story
Iptables command - simple tutorial
read more | digg story
Microsoft Tries to Gradually Embrace & Extend SourceForge
read more | digg story
Friday, June 06, 2008
I have downloaded the standard version from here
I have created and 20G disk for it in vmware ( with create new machine)
mounted the iso from the edit vmware machine
and all booted and worked only the network had some issue so i had to fix it
Here is the solution to add network
Iexplorer is insane - the settings don't let you install firefox !
Now you can ditch your windows vista and switch to ubuntu forever
I tested this access method but it was buggy with the mouse (it was staying on right and couldn't move from there )
and then used the native vnc server from ubuntu and ditched the vmware one
System -> Preferences -> Remote Desktop
and clicked -> Allow other users to view your desktop
And from an my machine i connected to the vmware guest machine (check it with ifconfig)
vinagre 192.168.0.255:5900
http://arstechnica.com/news.ars/post/20080212-first-look-haiku-poetically-resurrects-beos.html
Here's how to combine OpenOffice and Google Docs
read more | digg story
Thursday, June 05, 2008
http://www.phpclasses.org/browse/package/4602.html
Author: Tom Schaefer
Description:
This package can be used to render charts using Google Chart Web
services API.
There are several classes to define each type of supported chart
and the respective parameters.
The class generates an URL with parameters to pass to Google Chart
API so it generates an image with the defined chart.
[Quote of the day via Dynamic Languges Strikes Back]
I like this slide with Java Pig stuff :)
PDF Import and Hybrid PDFs in OpenOffice.org 3.0
read more | digg story
http://www.elebbs.com/files/fcgipas10.zip
via this page
Wednesday, June 04, 2008
This utility will process statistics from /proc/schedstat such that the
busiest stats will bubble up to the top. It can alternately be sorted by the
largest stat, or by name. Stats can be included or excluded based on reg-ex
pattern matching.
You can download the tarball here:
ftp://ftp.novell.com/dev/ghaskins/schedtop.tar.gz
Firebird on Ubuntu Netbook Remix and Atom cpu
read more | digg story
Firebird builds on both ARM and ARMEL
read more | digg story
sudo apt-get -o APT::Force-LoopBreak=yes install sysvutils
Then updates run fine.
Tuesday, June 03, 2008
File systems are now mounted with the relatime mount option by default, for improved performance.
The relatime mount option stands for relative atime (or time of last access), and relatime will only update the atime if the previous atime is different than the mtime (modification time) or ctime (time of last status change). more info
here is my fstab with already included reatime cat /proc/mounts
/dev/disk/by-uuid/840c4762-57dd-4e43-befc-2047488f30d0 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
Monday, June 02, 2008
Firebird 2.0.4 packages for OpenSuse - link to repository
read more | digg story
and the new flash plugin is now gpu accelerated if you don't use compiz ... doh , or it should crash less , so they say in the changelog
this bug was present when i tried to do an dist-upgrade from hardy to intrepid by replacing in apt/sources.list
but with upgrade manager upgrade worked until the end but with one minor error
sudo vi /etc/apt/sources.list
%s/hardy/intrepid/g
:wq
$sudo apt-get update
$sudo apt-get dist-upgrade