Thursday, April 30, 2009
Works very nice with an dark theme like ubuntu studio
maybe in the evil edition too
Friday, April 24, 2009
prezentare_ubuntu 9.04
Lansare Ubuntu 9.04 in cadrul Comunitatii Linux din Targu Mures
Comunitatea Linux (www.lug-mures.org) din Targu Mures va invita la lansarea Ubuntu 9.04 (Jaunty Jack)
unde se vor prezenta noutatile aduse in noua versiune si proiectele comunitatii locale din Targu Mures. Se pot aduce laptopuri sau calculatoare pentru instalari (stick-uri usb)
Intalnirea va avea loc in data de 25 Aprilie ora 11.00 AM
locatia va fi Restaurantul Asteri Strada Postei nr.1 (http://www.lug-mures.org/ pentru mai multe informatii)
Evenimentul este sponsorizat de reea.net
Lista de prezentari
Ca invitati speciali il avem pe Adi Roiban (ubuntu.ro ), Marius Popa (firebird.ro) , Emil Cheriches (emil.cheriches.ro)
1.Se vor prezenta cu lista de lucruri noi aduse in noul Ubuntu Compiz 0.8.2 , Linux Kernel 2.6.28.x, Kde 4.2.2, Gnome 2.26.1 intr-un top cu imbunatatiri si schimbari majore inspirate din notitele de lansare si alte articole
2.Schimbari pe partea de server (Emil Cheriches)
3.Adi Roiban va vorbi mai mult despre comunitate în general, despre localizare (progres-ul pe partea aceasta) și
software-ul liber în România(GSL, lug-uri, rosedu) și va prezenta realizările Grupului
pentru software liber și al echipei Ubuntu România precum si noutatile din Gnome (gnome.org)
4.Compiz si efecte grafice 3D – prezentare noutati in compiz 0.8.2 si nexuiz 2.5
Wednesday, April 22, 2009
Ubuntu Release Jaunty Jack Party in Targu Mures
http://ubuntu.ro/node/129
The lug page with more info is here
http://www.lug-mures.org/content/jaunty-jackalope-release-party-la-targu-mures
The announcement in Hungarian language is here
http://hup.hu/node/69899
And yes we are on front page on ubuntu.hu
http://ubuntu.hu/hirek/2009apr/jaunty-jackalope-release-party-marosvasarhelyen
Other notes:
There is a note on infoms website ,
Realitatea TV will post the news about the release maybe some ubuntu.ro team members will be there too , Adi Roiban confirmed
Tuesday, April 21, 2009
reached to Using the Users Service on google app engine tutorial
sun set
solving pidgin bug of the day on windows
Trying 66.163.181.169...
Trying 66.163.181.170...
Trying 66.163.181.171...
Trying 66.163.181.172...
Trying 66.163.181.173...
Trying 66.163.181.174...
Trying 66.163.181.175...
Trying 66.163.181.176...
Connected to scs.msg.yahoo.com.
Escape character is '^]'.
66.163.181.176
Saturday, April 18, 2009
linux 2.6.30 rc3 on ubuntu jaunty for 32 bits and cloudbook
and 855.840 FPS in glxgears and i can play prboom on the plane/moxytaxy
there is an new repository blessed by the kernel team
you can download the deb files from there
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc3/
and download with wget or by browser
linux-headers-2.6.30-020630rc3-generic_2.6.30-020630rc3_i386.deb
linux-headers-2.6.30-020630rc3_2.6.30-020630rc3_all.deb
linux-image-2.6.30-020630rc3-generic_2.6.30-020630rc3_i386.deb
the from the terminal
$ sudo dpkg -i *.deb
reboot and let's see the kernel bugs
use db wrappers in php don't write to mysql only
http://www.alberton.info/php_pdo_firebird_status.html
http://forums.devshed.com/firebird-sql-development-61/firebird-and-php-pdo-functions-327659.html
I would recommend to use an stable wrapper around ibase/mysql functions
the one from cakephp is very well done you can find them in the cake
php source code
http://api.cakephp.org/class/dbo-firebird
also there is mdb2 with an good firebird/ibase driver
http://pear.php.net/package/MDB2
http://pear.php.net/package/MDB2_Driver_ibase/
also i have seen the adodb for php
http://adodb.sourceforge.net/
http://sourceforge.net/project/showfiles.php?group_id=42718
Friday, April 17, 2009
kvm , synergy, x forward and ssh
For example I have two computers foo and bar with two monitors and two keyboards two mices
and i want to use only one mouse and one keyboard for both
on each the task should be started with kvm like virtualization and so i can cross the mouse from one pc to another like the synergy , but also with the help of xforward i could pass the windows from one pc to another also i wish the processes can be migrated from one machine to another (to have an migrate to machine in the menu )
it's done for full virtual machines so it should be possible for single processes
foo <-> migrate window/process <-> bar
linux 2.6.30 rc2 on ubuntu jaunty for 64 bits and nvidia issues
there is an new repository blessed by the kernel team
you can download the deb files from there
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc2/
../linux-headers-2.6.30-020630rc2_2.6.30-020630rc2_all.deb
../linux-headers-2.6.30-020630rc2-generic_2.6.30-020630rc2_amd64.deb
../linux-image-2.6.30-020630rc2-generic_2.6.30-020630rc2_amd64.deb
and download with wget or by browser
the from the terminal
$ sudo dpkg -i *.deb
reboot and let's see the kernel bugs , if you are "lucky" to have an nvidia video card
then you need to patch the nvidia driver so it can compile
$sudo su
# sh NVIDIA-Linux-x86_64-180.44-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/
# http://pavlinux.ru/nv/nvidia-x86_64-180.44-2.6.30-rc2.patch
# patch -p0 < nvidia-x86_64-180.44-2.6.30-rc2.patch
# cd ../../../
# ./nvidia-installer
arora 0.6 on ubuntu jaunty
you need to add my repository to /etc/apt/sources.list
then do an apt-get install arora
$ sudo vi /etc/apt/sources.list.d/mariuz.list
or use pico
$ sudo pico /etc/apt/sources.list.d/mariuz.list
deb http://ppa.launchpad.net/mapopa/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/mapopa/ppa/ubuntu jaunty main
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com ea316a2f8d6bd55554c23f680be6d09eef648708
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get install arora
What next ?
try some acid3 test or some css3 selectors one
Round divs are cool
Thursday, April 16, 2009
For jaunty and twitter gwibber gives 'HTTP error 400: bad request' for twitter accounts
so i need to use daily ppa for gwibber
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 06d1ed00eb802a66640696c8d0aff96872d340a3
$ sudo nano /etc/apt/sources.list.d/gwibberdaily.list
add
deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
$ sudo apt-get update
$ sudo apt-get dist-upgrade
but now i have another issue but fixable (re enter your accounts passwords)
HTTPError: HTTP Error 401: Unauthorized
Tuesday, April 14, 2009
$sudo apt-get install qt-creator qt4-dev-tools
http://thelins.se/learnqt/?p=5
http://www.qtsoftware.com/products/developer-tools
And qtcreator 1.1 is on the way
for compiling an simple webkit app
sudo apt-get install libqt4-webkit-dbg
and i had to add QT=+webkit
Monday, April 13, 2009
$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ sudo python ez_setup.py
$ sudo easy_install windmill
$ windmill shell firefox http://www.google.com
Saturday, April 11, 2009
i'm typing this from an arora 0.5 with qt 4.5 and debian experimental
http://packages.debian.org/experimental/arora
how did i installed it ?
i installed from stable then dist-upgraded to testing and then
unstable
here is how my sources.list looks like
cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ unstable main non-free
contrib
Add:
deb http://ftp.us.debian.org/debian/ experimental main non-free
contrib
deb-src http://ftp.us.debian.org/debian/ experimental main non-free
contrib
Then:
# aptitude update
# aptitude install -t experimental arora
my next thing is to build the 0.6 on it :)
Friday, April 10, 2009
Thursday, April 09, 2009
Friday, April 03, 2009
Microsoft, on the other hand, doesn’t deserve to get Twitter. Microsoft has totally screwed up its online branding and search. It’s pretty incompetent in those areas and has been for years. Yeah, I know that Microsoft has thousands of employees who’ll call me names on their blogs and yeah I know that Microsoft has thousands of fans, er, MVPs, who’ll tell you at length why I’m wrong.
But when I go around SXSW or Gnomedex or Northern Voice and ask people what they use from Microsoft I get blank stares. Microsoft has lost the Internet generation because they simply have not done anything interesting. Spending another $100 million on advertising is
http://scobleizer.com/2009/04/03/worstfortwitte/
Seems that scooble is using identi.ca
http://identi.ca/scobleizer
Thursday, April 02, 2009
in my case nginx is in front of two servers (2 copy cats with the same files /php and configurations)
now nginx handles all the images and compression and sends all php and other requests to the other servers
so it can have an very basic config (no advanced modules enabled)
vi /etc/nginx/sites-enabled/balancer
http://gist.github.com/89628
Wednesday, April 01, 2009
That is what I call a practical joke
if you don't want to use nm-applet then is better to try the lxde network manager
I wil see if can work with wireless
$ sudo apt-get install lxnm
by default if you install lxde by hand is not installed
so you have to do it manually
Tuesday, March 31, 2009
i went to an java script presentation in mit campus nearby
and the big shock and horror was the new firebug clone and separated processes like in chrome
no wonder jobs told them "microsoft start your xeroxes"
at least if they want to copy they should copy paste the code so ie 8.x can pass that dreadful
acid3 test
even my pesky arora-browser passes the acid test 100%
http://acid3.acidtests.org/
thank you nokia for qt , thank you google for chrome and open chrome , thank you apple for iiii webkit
thank you mozilla for the excellent firebug and extensions engine (i still hate rdf and xul by the way)
http://www.osnews.com/story/21193/_IE8_Does_Not_Pass_Acid3_Because_Standards_Not_Official_
Microsoft doesn't care about standards you and me or about security , the only thing that matters are
the cash cows that are now dying : windows and office
the rest is history
http://boycottnovell.com/2009/03/31/encarta-dies/
Monday, March 30, 2009
I showed to some people at java script meetup my first tests with javascript used for server side stuff
it's very easy download the windows zip from
http://www.wxjavascript.net/
http://downloads.sourceforge.net/wxjs/wxjs_win.0.9.75.zip?use_mirror=voxel
unzip with with 7zip in c:\wxjs
then start the command line like in the picture
cd c:\wxjs
Sunday, March 29, 2009
Sunday, March 22, 2009
Wednesday, March 11, 2009
$ sudo apt-get install pidgin-facebookchat
and create new account on pidgin and choose facebook protocol
what is next twitter. identi.ca
http://code.google.com/p/microblog-purple/
Tuesday, March 10, 2009
download and choose the gz from this url
http://hg.tangent.org/skeleton-mysql-engine/
$ tar -zxvf tip.tar.gz
$ cd skeleton-mysql-engine-0beed5ef2859$
$ autoreconf -vif
$ ./configure --with-mysql=/home/mariuz/work/mysql-5.1.31/ --libdir=/opt/mysql5.x/lib/mysql/plugin/
$ make
$ sudo make install
$ /opt/mysql5.x/bin/mysql -u root
mysql> INSTALL PLUGIN skeleton SONAME 'libskeleton_engine.so';
mysql> show engines \G;
Engine: SKELETON
Support: YES
Comment: Skeleton storage engine
Read howto use it the README
bzr branch lp:~mysql/mysql-server/mysql-6.0-falcon
it took almost an hour i think (git is way faster at this stuff count the seconds not the hours)
cd mysql-6.0-falcon
autoreconf -vif
Than took me a while to figure out why it doesn't compile on my box (configure script was broken the same bug as when I requested new firebird 2.1.x to be synced from debian )
./configure --prefix=/opt/mysql6.x
make ; make install
see the previous post and the links there (is explained there how to install the default databases)
I started to install mysql in the /opt/mysql5.x using the source and an simple ./configure --prefix=/opt/mysql5.x
Here are my compile notes for 5.0.x but you can use it as guide for 5.x to (just replace the numbers)
http://www.howtoforge.com/mysql5_debian_sarge
Next if all ok and you can connect to local port 3308 and example storage seems to disabled by default if you run show engines in mysql prompt.
What we do now is to enable it
mysql> INSTALL PLUGIN example SONAME 'ha_example.so';
mysql> show engines\G
show engines\G;
*************************** 1. row ***************************
Engine: EXAMPLE
Support: YES
Comment: Example storage engine
CREATE TABLE test (i INT) ENGINE = EXAMPLE;
INSERT INTO test VALUES(1),(2),(3);
Here are more notes on how to use this example engine
Our next step is to modify the storage engine to work with firebird
I will use in my case the ibpp c++ api for firebird (is used in flamerobin and is absolutely stable and can be used with UTF too)
I was yesterday at Mysql meetup in Cambridge (mit campus) and was great (free pizza and coke)
http://www.meetup.com/mysqlbos/calendar/9675782/
I wish I had some code/presentation to do but my ideas are in the pre alpha stage
and had a lot of very long fights with configure scripts (not quite ready to the general public)
While there i could at last compile and setup the example_engine from mysql 5.1.x source so i will add the notes here on my blog.Also the skeleton engine now compiles fine (Yesterday I couldn't do configure on my jaunty )
In rest one talk was about java and converting xml message files to an mysql db and how to do that in real-time
He was using mysql on linux with some tips but i told him that for him is best if skips the all xml -> db transformation and it should
write data in mysql directly with simple inserts (100x times more efficient) sometimes too much orm/xml takes too much overhead
My summary and ideas that can be applied to firebird database too: avoid xml and orm if you want performance also avoid java too :)
also changing the Linux IO scheduler /file system cache can affect the performance and benchmarks and sometimes results can be weird
I would recommend for performance ext4 and for IO Scheduler to start tweaking and change it (do some benchmarks with each of them), If you have UPS and you trust it then disabling the ext4 journal would bring you more performance (not much)
The other presentation was an storage engine that is quite fast it seems to be done parts of it in memory but I guess that we need more details about that engine (source code)
http://blogs.tokutek.com/tokuview/2009/01/
My opinion after meetup:
at least if we don't care too much for transactions or advanced features then a memcache storage engine would beat anything but not all apps are the same
or there are benchmarks and benchmarks also usually people use myisam by default it's fast but no integrity - forget about ACID http://en.wikipedia.org/wiki/MyISAM, innodb is worse in performance and usually it takes a lot space (double than myisam)
if you want to do an snapshot for database you should use their tools or lvm , usually is not much better than myisam but at least you don't loose data
and you can do rollback , oh also for performance you have to tweak a lot of parameters and know the engine internals (good money for consultants this is the oracle way)
also if you have more that 8 cpus you are out of luck it doesn't scale as good as Falcon (Jim's words) and hard facts
Tomorrow I will attend to the jquery talk (free)
http://php.meetup.com/29/
and after that i will go to the python meeting (free)
http://python.meetup.com/181/
Also I have already donated 60$ to the Free Software Foundation and I will be at the conference
http://www.meetup.com/Libre-Planet-Boston-Free-Software/
Friday, March 06, 2009
I posted some ideas for an banner we should spread on all the sites
http://gist.github.com/75033
also here is my idea inspired from kill ie6 campaign
http://mapopa.blogspot.com/2009/03/how-to-kill-windows-and-ie-first-step.html
imagine if we put these kind of banners on all blogs/sites we have , this way we have ads for free also we can get more exposure to windows/ie users
they are the main target
On my blog i modified the kill ie6 ra-ajax div and i put
if IE without the 6 [if IE] so now my blogs show that nice div to all ie users to upgrade to an modern wekit/mozilla browser and kill IE and microsoft altogether
I remembered that we have to fix #1 from ubuntu so I put an message for IE users to upgrade their
Operating system to Ubuntu
Thursday, March 05, 2009
$sudo apt-get install youtube-dl ffmpeg
$ youtube-dl http://www.youtube.com/watch?v=aR5j2Y6QCho
$ ffmpeg -i aR5j2Y6QCho.flv -vn -acodec copy aR5j2Y6QCho.mp3
and that is all
ffmpeg copies the mp3 part from the flash movie
-vn means no video
-a acodec copy means that it copies the audio part of the stream
-i is input file (flv)
I had some issues with one server and one sane approach is to change IO Scheduler
that could bring more performance if you have Raid or performance depends of file system also disk controller
The drive was sda
so here is what is available
cat /sys/block/$devicename/queue/scheduler
# cat /sys/block/sda/queue/scheduler
[noop] anticipatory deadline cfq
to change it to that from cfq i had to
# echo noop > /sys/block/sda/queue/scheduler
And now is time to do some benchmarks :)
Sunday, March 01, 2009
If you look at the specs and price is quite normal
if you consider 3 core something usual :) but if you have an AMI bios
and I do have one I can Upgrade from Triple core to quad for Free
Here is the howto : is just an bios switch
ahh and the 6M of L3 cache is sweet
But there are chances that you will be left only with an simple Triplet if
the bios doesn't enable you the Quad inside
It is not guaranteed that it will work with all motherboards with AMI bios
Friday, February 27, 2009
I had to create an log in common format
and the problem was to insert the date for it something like "26/Feb/2009:16:09:08"
this is how is done in php date("d/M/Y:H:m:s");
the rest was easy copy pasted from another log
It's upstream problem or
let's find a cool name for ubuntu release
I'm just joking ,they have no time with 5-A-day
http://www.eviljaymz.com/files/whypeopleseemtohavefreetime.png
Tuesday, February 24, 2009
killall pulseaudio
sudo aptitude remove pulseaudio
sudo aptitude install esound
sudo aptitude remove /etc/X11/Xsession.d/70pulseaudio
now the cpu is working ok at 80% on this dell vostro , also watching the video
before was 100% with large delay for the remote target
Monday, February 23, 2009
Sunday, February 22, 2009
Friday, February 20, 2009
Thursday, February 19, 2009
What is next ? Step one is to test nginx as an proxy for apache and to be an accelerator for static content
Tuesday, February 17, 2009
I wonder why the password change is not in the accounts -> Manage accounts -> modify
I also expected to use the jabber.org to change my password or create an new user
sites i visited , is good and healty even if i don't have the same password anymore :)
Thursday, February 12, 2009
seems that all you need to do on this unlocked phone is to install an terminal emulator , then
do an simple su
with no password
what is next ?
i wait for r33 update so i can have google latitude or seach by voice
more useful would be gtalk with voice or skype with voice
also i think i will install the debian in paralel on it , so i can play with firebird/nginx/php
http://www.saurik.com/id/10
Wednesday, February 11, 2009

Tuesday, February 10, 2009
http://vederi.inmures.ro/
I was just missing that town , now that I'm in Boston
to replace and save the file in the same time
http://spiralbound.net/2007/12/12/php-and-sed-for-string-substitution
I need it to replace some files , maybe it could be done in php more elegant
but later
also json_encode and decode function are really fun
for me , I have an . file where I save the values in json format and then get them in array format
for php
Thursday, February 05, 2009
Saturday, January 31, 2009
$apt-get install php5-dev
$wget http://pecl.php.net/get/APC-3.1.2.tgz
$tar -zxvf APC-3.1.2.tgz
$cd APC-3.1.2
$phpize
$./configure
$make
$sudo make install
cp apc.php /var/www
sudo vi /etc/php5/apache2/php.ini
add these lines
extension=apc.so
[apc]
apc.shm_size = 100
apc.cache_by_default = 1
apc.stat = 1
and restart the apache server
and load
http://localhost/apc.php
default username and password are apc and password
you can change them in /var/www/apc.php
sudo /etc/init.d/apache2 restart
Thursday, January 29, 2009
seems that you need to enable the ubuntu official repositories and after the upgrade is made from hardy to intrepid you need to change the /boot/grub/menu.lst so that root=/dev/sda1
seems that you will have some issues with uuid if is not in the /etc/fstab
so is better to be added in grub too
Update:
I got an server cd from boston loco meeting so the os is reinstalled
I didn't needed the home partition to be so big reformated the drive anyway
After all finished i have removed the apparmour and other useless stuff that comes with server
also usually i like that server install is more clean (the list of processes)
The weird stuff : on the case there is an sticker with VIA C7
and that is an mistake , inside is an athlon64 core (sempron)
http://www.everexstore.com/everex/products/gpc3/gpc3.php
Monday, January 26, 2009
here is how you can make wireless work on dell vostro
https://help.ubuntu.com/community/WifiDocs/Driver/Atheros
you need to reboot after the madwifi is disbled
here is how the Hardware Driver should look
System -> Administration -> Hardware Drivers
And Support for Atheros Should be Disabled
Thursday, January 22, 2009
What i did next was to boot from an Jaunty jack live cd and i have checked the partition
Wednesday, January 21, 2009
it's dead end , We don't look at tv for about 2 weeks
Also the romanian tv stations are misserable
Mizerilion 2009 (also known as Parangelion 2009 )
Elodia is back
and there is no Music at MTV or other stations
Long long time ago I cut hbo contract (worthless movies and i don't like it anymore)
I use only the youTube and ignore the noise that is TV
Quote from LCA2009
He contrasted TV channels (you had to watch what they decided to screen) and YouTube where something like a number of hours of video was uploaded every minute.
http://tinyvid.tv/show/17unvmqqh0was
This site currently exists to test out usage of the HTML 5 video and audio elements with the Ogg codecs. You'll need a browser that can playback Ogg media Firefox 3.1 nightly builds, Opera experimental builds and Safari with XiphQT installed can playback videos with varying degrees of success. Support for non-HTML5 compatible browsers may follow to test fallback options.
ogv can contain hd format too
http://tinyvid.tv/show/ah2ebubqurvy
Digital Tipping Point: Clip of the Day
Lawyer John Koenig on how people make money with Free Software 09 (2004)
Digital Tipping Point is a Free software-like project where the raw videos are code. You can assist by participating.
This was an example for ogv (ogg/theora video) taken from this site
I just show how simple can be to support the theora streaming , also the encoding and transmitting is very simple with vlc or other solutions
Tuesday, January 20, 2009
whenever i see acpi my hair goes up
QOD from linuxjournal:
I counted no less than 10 instances of the word 'magic' during his explanation of how ACPI suspend happens. After my misspent youth digging into making Linux go on laptops I fully believe him that magic is involved. Dark magic. Involving animal sacrifice. Possibly the animal operating the computer.
I have installed the silverlight plugin for linux (moonlight)
http://tirania.org/blog/archive/2009/Jan-20.html
I have downloaded the 64 version from here
http://www.go-mono.com/moonlight/
Then installed it in abrowser 3.0.5
Restarted the browser and then some codecs were installed for watching movies
Tested on this page
http://www.silverlight.net/fox/
also i watched the starting for presidential change in usa
http://www.pic2009.org/page/content/linuxplayer

I feel a little impaired because only 1.0 is used and we (linux users and macosx ones)
we are treated like 3rd class citizens and we have to accept proprietary formats
This is the new digital semi ghetto created by new lobby (pro microsoft it seems)
I wonder why is not in ogv (theora video) format ...
Monday, January 19, 2009
It might be possible to move the root and boot partition on intrepid
but there are many things that must be installed by hand (new kernel , new grub ...)
so the best way is to migrate to jaunty (kernel does have support and also the grub)
on my station i did in terminal (upgrade command to jaunty)
$ sudo update-manger -d
then i have downloaded an daily live cd for jaunty (an alpha 3 should work too)
http://cdimage.ubuntu.com/daily-live/current/
i booted the live cd and opened an console
$ sudo tune2fs -O extents,uninit_bg,dir_index /dev/sda1
$ sudo fsck -pf /dev/sda1

mount it
$ sudo mount -t ext4 /dev/sda1 /mnt
$ sudo pico /mnt/etc/fstab
and you see ext3 for the / partition , please change it to ext4

save it reboot and eject the cdrom and see if it works (boots)
the guide that i have used is located here
http://kernelnewbies.org/Ext4#head-3891522e0601162aab24c73c1f148a1e28c6a9d4
and running the db demo (tested on ubuntu jaunty but it should work on intrepid too)
I assume firebird2.1 installed also the devel related packages
I use the snapshot usually (I use the webkit for arora) but you can download an more stable package from qtsoftware
http://www.qtsoftware.com/developer/preview-qt-4.5
git clone --depth 1 git://labs.trolltech.com/qt-snapshot
export PATH="/usr/local/Trolltech/Qt-4.5.0/bin:$PATH"
cd qt-snapshot
git pull
ln -s /usr/lib/libfbclient.so.2.1.1 /usr/lib/libgds.so
./configure -no-accessibility -no-exceptions -no-qt3support -nomake examples -nomake demos -plugin-sql-ibase -v
make && sudo make install
i use qt-creator to open an demo for sql
http://mapopa.blogspot.com/2009/01/qt-creator-is-now-open-source-here-is.html
open the sqlbrowser.pro from
qt-snapshot/demos/sqlbrowser
Compile it and press run
driver QIBASE
then fill the db name with
/var/lib/firebird/2.1/data/employee.fdb
username:SYSDBA
password:********
I was inspired by this thread from ubuntu forums
http://ubuntuforums.org/showthread.php?p=6577210#post6577210
And here is the screenshot
Thursday, January 08, 2009
here is how you can compile it from git
$ git clone git://labs.trolltech.com/qt-creator
I use qt snapshot for arora installed in /usr/local/
$ export PATH="/usr/local/Trolltech/Qt-4.5.0/bin:$PATH"
$ cd qt-creator/
$ /usr/local/Trolltech/Qt-4.5.0/bin/qmake
$ make
$./bin/qtcreator
and open an project , in my case arora , Happy debugging
Wednesday, January 07, 2009
I have fork-ed arora and i had added some very small changes
the problem is to update my repository and merge the changes already done on the main one
I go to my local cloned repository (the forked one is in my github account)
I use fetch to check what is changed vs my repository
$ git fetch git://github.com/Arora/arora.git master
watch the log
$ git log -p HEAD..FETCH_HEAD
or with gitk
$ gitk HEAD..FETCH_HEAD
I have added an remote repositry (so we have less typing)
$git remote add icefox git://github.com/Arora/arora.git
Removed src/locale/pt_BR.ts
Merge made by recursive.
arora.pro | 2 +-
autotests/autotests.pro | 1 +
manualtests/manualtests.pro | 4 ++--
src/locale/locale.pri | 5 +++--
src/locale/pt_BR.ts | Bin 43813 -> 0 bytes
src/locale/sk_SK.ts | Bin 0 -> 63590 bytes
src/locale/zh_CN.ts | Bin 0 -> 62833 bytes
src/utils/lineedit.cpp | 39 ++++++++++++++++++++++++---------------
src/utils/lineedit.h | 39 ++++++++++++++++++++++++---------------
src/utils/lineedit_p.h | 39 ++++++++++++++++++++++++---------------
src/utils/proxystyle.h | 2 +-
src/webview.cpp | 2 ++
tools/tools.pro | 7 ++++++-
13 files changed, 88 insertions(+), 52 deletions(-)
delete mode 100644 src/locale/pt_BR.ts
create mode 100644 src/locale/sk_SK.ts
create mode 100644 src/locale/zh_CN.ts
Then i tried to push the changes in my forked repository
git push origin master
To git@github.com:mariuz/arora.git
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to 'git@github.com:mariuz/arora.git'
seems that i have made some changes in the repository at github that i didn't got them down
$ git pull
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From git@github.com:mariuz/arora
94cffc2..5c00b4c master -> origin/master
Merge made by recursive.
build_arora_qt_snapshot.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
$ git push origin master
Counting objects: 73, done.
Compressing objects: 100% (54/54), done.
Writing objects: 100% (54/54), 22.46 KiB, done.
Total 54 (delta 39), reused 0 (delta 0)
To git@github.com:mariuz/arora.git
5c00b4c..cdb7bb3 master -> master
So here it is the merge was done
http://github.com/mariuz/arora/commits/master
options snd-hda-intel model=vaio
Wednesday, December 31, 2008
to enable the kernel driver you need to follow this advice (driver is missing in debian and ubuntu )
mach64 driver for xorg is already packaged for newer distributions (> hardy or debian unstable)
also in my case i had to do an
$sudo depmod -a
and added mach64 in
/etc/modules
after that i can see that direct rendering is enabled
$ glxinfo | grep direct
direct rendering: Yes
and with glgears i get 140FPS
and now i can play openredalert on this old pc
Monday, December 22, 2008
download windows setup for firebird
in my case i test 2.0.5 rc2
http://www.firebirdsql.org/download/prerelease/win32/Firebird-2.0.5.13206_0_win32_RC2.exe
Download flamerobin
in my case 0.9.1.x
ttp://ovh.dl.sourceforge.net/sourceforge/flamerobin/flamerobin-snapshot-0.9.1.1822-setup.exe
download php zip or setup version from php.net
http://ar.php.net/distributions/php-5.2.8-Win32.zip
in my case i have unziped on d:\php5.2.x
rename the default ini to php.ini
uncomment the line with interbase.dll
extension=php_interbase.dll
run cmd.exe
Start->Run
cmd.exe
d:
cd php5.2.x
run
or php -m to see if interbase module is enabled
next create an test script
like this one
and run it like
php test.php from command line
next you need to install apache or nginx and enable them on windows
read the install.txt from php dir
http://gist.github.com/39050
Saturday, December 20, 2008
enabling snow extra effect in compiz
Here is the fuzzy video
until i can youtube enable hd on my account
Friday, December 19, 2008
install Compiz Config Settings Manager
System -> Administration -> Synaptic Package Manager
and search ccsm (Compiz Config Settings Manager)
install simple-ccsm
and compiz-fusion-plugins-unsupported
Then goto System Preferences -> Compiz Config Settings Manager
Extras-> enable Snow
then press Win key and F3 (Special Key and F3)
you will see the snow
Download the driver from nvidia
remove nvidia drivers from ubuntu repository
in my case i removed restricted drivers
sudo apt-get remove linux-restricted-modules-generic , also search whatever nvidia related
packages are already installed (see it in synaptic)
then run the install script
sh NVIDIA-Linux-x86-180.06-pkg1.run
after it is finished
add into /etc/X11/xorg.conf
Section "ServerFlags"
Option "ignoreABI" "True"
EndSection
Seems to be an issue with the new xorg just imported in jaunty alpha
Another thing is the old driver seems to remove xorg if i remove nvidia-glx-177
https://wiki.ubuntu.com/JauntyJackalope/TechnicalOverview
http://ubuntuforums.org/showthread.php?t=1011847&page=7
also i see there is an packaged 180 into ubuntu archive and that I will test later
with default ubuntu kernel
search for http://packages.ubuntu.com/source/jaunty/nvidia-graphics-drivers-180
here are the results on my board after all was finished
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6100 nForce 405/PCI/SSE2/3DNOW!
OpenGL version string: 2.1.2 NVIDIA 180.06
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
I went from an single core athlon 64 3000+ on am2 socket and asrock motherboard with nvidia 6100 gpu (on board) and 1G ddr2 (noname)
to an dual core athlon x2 5400+ with 1M cache level2 and an beautiful asus motherboard + kingstone 1G ddr2 @800 mhz
why i love this motherboard ? it comes with linux in bios + firefox and skype (just in case you drives are dead or you need to reinstall the thing) also the layout looks nice with solid state capacitors (they seems to last longer than the electrolytic ones)
The funny story about these caps is that my old motherboard and cpu will replace an barton 2500+ soltek nforce2 motherboard with caps blowed (leaking)
I replaced the motherboard and cpu ,
the bad: linux 2.6.22 doesn't boot with this new chipset (seem to be an s-ata issue) so the tuner winfast tv200 global xp doesn't have sound with the 2.6.27 or 2.6.28 kernels even after i put the right firmware
the good : the second cpu really helps when there are cpu intensive tasks like bittorrent or linuxdcpp (flash)
the sound is really better than the old motherboard and i love it when i play music with xmms
the bad: video performance is not on pair with the old integrated gpu ! at least there are some issues with
compiz , for now i disabled the advanced effects and all is ok but there are times where when scrolling in arrora the screen is not rendered si fast (painting lag)
I have an paralell port printer and there is only one socket on the motherboard , you need to buy the cables and the interface , So i was lucky to have an old computer (k6-2) and i took what i needed from there.
the very good: now i have accelerated kvm ! so it will be easier to play with it than with qemu + kqemu
I have already remove kqemu so I will have an accelerated virt-manager
The Weird: I can hear the caps singing when i scroll the web pages , seems to be an interference issue with the motherboard ?
Wednesday, December 17, 2008
What will happen if we refuse to optimize and test sites for ie6 -> ie8?
This is a call for all webdevelopers and all people who write code for the web
Refuse to optimize for ms ie, refuse to test , and tell the customers that this is an good decision
and you protect them ,also show them all the good things you can do in webkit and firefox (ogg , canvas, no activeX, speed)
http://www.theopensourcerer.com/2008/12/16/bbc-internet-explorer-security-alert/
this is an new revolution , i see web3.0 without flash and silvernowhere , without iexplorer6 ->8
I see in 3d version with vrml and open source from webservers trough webrowser and back
http://openvrml.org/index
or see these ideas
http://vrmlengine.sourceforge.net/
Monday, December 15, 2008
I hope you have Firebird 2.1 already installed with examples :)
Install Monodevelop and Mono
In my case was something like this on Intrepid
$sudo apt-get install mono-gmcs mono-gac mono-utils monodevelop monodoc-browser monodevelop-nunit monodevelop-versioncontrol monodoc-gtk2.0-manual
You must download the .Net Provider 17.x sourcecode
I downloaded this 7zip archive http://downloads.sourceforge.net/firebird/FirebirdNETProvider-1.7.2-Src.7z
$ wget http://internap.dl.sourceforge.net/sourceforge/firebird/FirebirdNETProvider-1.7.2-Src.7z
$ 7z x FirebirdNETProvider-1.7.2-Src.7z
$ cd NETProvider/NETProvider_17/builds/linux/
$make
Create an new C# Console Project with the main looking like this
http://gist.github.com/35930
Then add the Firebird .net assembly to the test project
References-> Edit References -> .Net Assembly
browse to the
FirebirdSql.Data.Firebird.dll
in my case was in
~/work/mono/NETProvider/NETProvider_17/builds/linux/mono-linux$
then click Add button

Also Add the System Data reference

Then build the solution and if all ok
click run after the solution is build and the result should be like this
Wednesday, December 10, 2008
Thursday, December 04, 2008

Wednesday, December 03, 2008
This article is about compiling a Kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (Vanilla Kernel) so that you are independent from the kernels supplied by your distribution.
Rc kernel patches are generated from the base stable release.
For example: to create the 2.6.28-rc9 kernel, you must:
- download 2.6.27 (not 2.6.28.x)
- and then apply the 2.6.28-rc9 patch.
Yes, you want 2.6.27 not 2.6.28. Remember, that's an -rc kernel, as in, 2.6.28 doesn't exist yet. :)
seems tha the kernel you want is prepatch , choose B from this area "The latest prepatch for the stable Linux kernel tree is" also choose 2.6.28-rc9 the same area.
$ cd /usr/src
$ sudo su
# wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.tar.bz2
# tar jxvf linux-2.6.27.tar.bz2
# wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.28-rc9.bz2
# bunzip2 patch-2.6.28-rc9.bz2
# cd linux-2.6.27
# patch -p1 < ../patch-2.6.28-rc9
#cd ..
#mv linux-2.6.27 linux-2.6.28-rc9
# cd linux-2.6.28-rc9/
# cp /boot/config-`uname -r` ./.config
# make menuconfig
Enable Preemptition Model for Low Latency (near realtime)
Processor Type and Features> Preemptiton Model (Preemtible Kernel(Low-Latency Desktop))
You must disable xen support
Processor Type and Features -> Paravirtualized Guest Support -> Xen
support otherwise you will get this error
$ sudo make-kpkg clean
$ sudo fakeroot make-kpkg --initrd --append-to-version=-vanillaice kernel_image kernel_headers
$ cd ..
dpkg -i linux-image-2.7.28-* in my case
$shutdown -r
now you can install the headers too from /usr/src/linux-headers-2.6.28*
If you want to build it Vanilla way without debian tools then consult this page http://kernelnewbies.org/KernelBuild
This article is about compiling a kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution.
$ cd /usr/src
$ sudo wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.9.tar.bz2
$ sudo tar jxvf linux-2.6.27.9.tar.bz2
$ cd linux-2.6.27.9
$ sudo cp /boot/config-`uname -r` ./.config
$ sudo make menuconfig
Disable xen
Processor Type and Features -> Paravirtualized Guest Support -> Xen
support otherwise you will get this error
$ sudo make-kpkg clean
$ sudo fakeroot make-kpkg --initrd --append-to-version=-vanillaice kernel_image kernel_headers
$ cd ..
$sudo dpkg -i linux-image-2.6.27.x-*
$sudo shutdown -r now
you can install the headers too from /usr/src/linux-headers-2.6.27.x-*
in my case i can show you how the packages are named
ls *.deb







