Firebird News

Monday, June 30, 2008

PHP Firebird driver á la ActiveRecord

A very useful Firebird driver for performing most CRUD database operations in PHP.

read more | digg story

Fresh Firebird Python Driver 3.2.1 Patch Release

Firebird Project releases a patch release for KInterbasDB 3.2 that fixes some issues with transaction parameters and services when working with Firebird 2.1.

read more | digg story

Sunday, June 29, 2008

nginx gains more than a million sites; more than doubling in numbers. The WordPress blogging system recently converted all of its load balancers to nginx, using the upstream hash module to serve 8-9 thousand requests per second. Netcraft's site report shows the main WordPress site switching from LiteSpeed to nginx in April. nginx is a web server and mail proxy server written by Igor Sysoev.

Saturday, June 28, 2008

"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!"

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!

This month, we’re proud to introduce a new column, Command and Conquer. We’ll be taking a look at the command line and hopefully how to make it a little less scary for you.

read more | digg story
ffmpeg + mplayer + mencoder script for fedora/centos or any linux host (debian / ubuntu )

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 ..


In PHP 5 there are some new firebird functions if you migrate from php4. Here is the list of them:



Wednesday, June 25, 2008

Eclipse Ganymede Released

Eclipse Ganymede is the annual release of Eclipse - this year there are 23 projects included. Some highlights of the release include the new p2 provisioning platform, new Equinox security features, new Ecore modeling tools, support for SOA and much more.(Personally, I'm looking forward to testing the real time collaboration feature!)

read more | digg story

Eclipse 3.4 Hidden Treasures

Eclipse 3.4 "Ganymede" will be released in the upcoming days. I've been working with the RC builds for some time now and I like it. Eclipse 3.4 is a better IDE and a more robust platform than its' predecessor. In this post, I've gathered some new features which I like and may be "off the beaten path".

read more | digg story
replacing an ide drive with an sata one in an raid 5 array
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
testing firebird extension and php 5.3

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

Here is the Gnome vs KDE base dependency flowchart

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

  1. GConf – for storing application settings. (keep the settings in ini or json files)
  2. Bonobo – a compound document technology.
  3. LibXML – an XML library.
  4. 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

Microsoft Corporation is suddenly inviting all people behind ODF to ‘pull a Patrick Durusau’ and come to Microsoft’s turf.

read more | digg story

Wine Weekly News: Issue 348

This is the 348 issue of the Wine Weekly News publication. Its main goal is to It also serves to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows.

read more | digg story

Monday, June 23, 2008

it was a Hungarian sysadmin protesting a $227M investment in MS licences throughout the Hungarian state system as a massive waste of money: “I think there are much more useful free software solutions available, for no charge.”

Heroes of Might and Magic 5 on Linux with Wine!

Heroes of Might and Magic V is the next installment in the venerable and long-standing Heroes of Might and Magic series... The six towns that will appear in Heroes V are the humans, Haven, the demons, Inferno, the necromancers, Necropolis, the dark elves, Dungeon, the wizards, Academy, and the elves, on Linux with Wine 1.0

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
perl6 tutorial in german , the examples are nice
http://perl-6.de/

and i will use them with the help of the official documentation
perl5 vm an simphony of horror
here are the slides
Parrot 0.6.3 is available via CPAN , or follow the download instructions. For those who would like to develop on Parrot, or help develop Parrot itself, we recommend using Subversion or SVK on our source code repository to get the latest and best Parrot code


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

So here is a novice's guide to installing Lazarus and getting it to use gtk2.

[Lazarus] Google says "this site may harm your computer"


 From google:

"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
i really hate you , thank that i have alternative browsers ...
100% Organic Software

That means that firefox smells or something ?
That mean firefox is less open source ? yes is proprietary

read the licence agreement ....
installing movabletype open source version on ubuntu

[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

This guide documents the changes made in Firebird 1.0 and 1.5 SQL since the fork from the open-sourced InterBase 6.0 codebase.

read more | digg story

Wednesday, June 18, 2008

transparent png watermark example

and article 


Replace 

imagecopymerge($this->pictureFile, $this->stampFile, $this->stampXpos, $this->stampYpos, 0, 0, $this->stampInfo[0], $this->stampInfo[1], 100);
with
imagecopy($this->pictureFile, $this->stampFile, $this->stampXpos, $this->stampYpos, 0, 0, $this->stampInfo[0], $this->stampInfo[1]);


in  stampPicture() function allows to use PNG-24 watermarks with advanced transparency.

Firebird 2.1.1 Release Candidate is now officially announced

The Firebird Team is pleased to make a release candidate available for field testing the first V.2.1.x patch release on Windows, Linux and MacOSX Intel platforms. Please test it hard and report any problems to the firebird-devel list.

read more | digg story
arora from source 

You need to install all build  dependencies

sudo apt-get install libqt4-dev flex gperf

here is my script on ubuntu

svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
git clone git://github.com/Arora/arora.git
cd WebKit
./WebKitTools/Scripts/build-webkit --qt --qmake=qmake-qt4
cd ../arora

export QT_WEBKIT=webkit_trunk
export WEBKITHOME=//home/mariuz/WebKit
qmake-qt4
make clean
make

Tuesday, June 17, 2008

Wine 1.0 Released

Well it has finally come to pass after long hours and lots of hard work...The Wine team is proud to announce that Wine 1.0 is now available. This is the first stable release of Wine after 15 years of development and beta testing. Many thanks to everybody who helped us along that long road!

read more | digg story
windows 2008 on hardy+virtualbox

(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




The character device /dev/vboxdrv does not exist in hardy/gutsy latest kernels

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.
ERROR: Firmware file "b43/ucode5.fw" not found or load failed.



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

ABUSE is a great game. There are few games I like...ABUSE is among the first three. I always had a crush on older games like Wolf3D, Hocus Pocus, C. Keen, Tankwars, Heretic. You just don't get the same feeling while playing Quake on the hardest level in comparison with ABUSE or Wolfenstein 3D.

read more | digg story

How to Run Dreamweaver CS3 on Linux using Wine

This is for those Linux lovers and website developers!, This tutorial that i stumbled on will show you how you can run Dreamweaver CS3 on Linux using Wine. I would image that this will apply for all the CS3 packages.

read more | digg story

The People Behind Mesa 3D

Article describing people and companies behind the work on Mesa 3D. Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics. In shot: Mesa is core of 3D graphics in your free operating system.

read more | digg story

WebHTB - Web interface for HTB-Tools, LAN bandwidth limiting

HTB-Tools is one handy bandwidth management set of applications for Linux. Now, with WebHTB you can apply rules and do trafic shaping as you please, through a cool-looking AJAX-based web interface. Adding and deleting clients can be done in just a few clicks. Trafic shaping can be done with both public and private IP addresses.

read more | digg story

IBM may open source DB2

IBM is positive about the possibility of bringing out its DB2 database management software under an open source license.While the computing giant has no immediate plans to open source DB2, market conditions may make it unavoidable, according to Chris Livesey, IBM's U.K. director of information management software.

read more | digg story

Monday, June 16, 2008

removing some fat on my ubuntu

sudo apt-get remove evolution tracker evolution-common

~105MB saved
quote of the day - php related

"please consult /dev/urandom"

http://snaps.php.net/


What have I got against Firefox 3?
[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.
php example for amazon webservice (soap getFunctions)


$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

Ext4 is the latest in a long line of Linux file systems. As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. This article explains when to adopt ext4, how to adapt traditional file system maintenance tool usage to ext4, and how to get the most out of the file system.

read more | digg story

Build Web Services with PHP in Eclipse

This tutorial will use the PHP Development Tools (PDT) plug-in in Eclipse Europa to show you how to build Web services in PHP. Also, learn how to create and deploy useful PHP projects, learn about the philosophy behind contract-first development, and understand the basic parts that make up a Web Services Description Language (WSDL) file.

read more | digg story

Discover How a UNIX Machine Boots

Ever wonder what makes a computer tick or how a UNIX server does what it does? Discover what happens when you push the power button on your computer. This article discusses the different boot types, managing the AIX bootlist and the AIX boot sequence. After reading this article, you will better understand what exactly happens when your server start

read more | digg story

Migrating to the Newest Linux File System ext4

Ext4 is the latest in a long line of Linux file systems. As a Linux system administrator, you should be aware of the advantages, disadvantages, and basic steps for migrating to ext4. This article explains when to adopt ext4, how to adapt traditional file system maintenance tool usage to ext4, and how to get the most out of the file system.

read more | digg story

Anatomy of a Linux Flash File System

You've probably heard of Journaling Flash File System (JFFS) and Yet Another Flash File System (YAFFS), but do you know what it means to have a file system that assumes an underlying flash device? This article introduces you to flash file systems for Linux, and explores how they care for their underlying consumable devices through wear leveling.

read more | digg story

Speaking UNIX Part 8: UNIX Processing

On UNIX systems, each system and end-user task is contained within a process. The system creates new processes all the time and processes die when a task finishes or something unexpected happens. In Part 8 learn how to control processes in UNIX and use a number of commands to peer into your system.

read more | digg story
sudo apt-get dust-upgrade

funny misspelling when doing the daily dist-upgrade :)

Sunday, June 15, 2008

Firebird 2.1.1 RC1 for Ubuntu released

The Firebird 2.1.1 packages are now in ppa for Ubuntu Gutsy , Feisty , HardyThe guide for installing is located in the ubuntu wiki

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"

But, since you're making it such a pain Microsoft to get XP Pro, may I point out the big PC companies are all offering desktop Linux now., ubuntu can replace all old winxp machines also the vista ones with bettter drivers and best oss programs

read more | digg story

Wine 1.0 Update

The final release candidate for Wine 1.0 will appear this Friday, and barring catastrophe, Wine 1.0 itself will be released a few days later.

read more | digg story
arora - simple cross platform web browser

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

[there are many Romanian open source projects or sites (related to international communities)Here is a list of them : kiwilinux.org/ubuntu.ro/firebird.ro...]An open source library system has been created for managing administration of public libraries and was funded by both the Romanian and Italian governments. Meanwhile eLearning vendor Timsoft has created an open source e-learning project in cooperation with the Politehnica University in Timisoara and the University of Helsinki.

read more | digg story

Happy birthday, Perl!

It was 20 years ago todayLarry Wall taught some text to playIt's been going in & out of styleBut it's stuck around for quite a while()So may I introduce to youThe tool you've loved for all these yearsLarry's Practical Extract & Report Laaaanguage

read more | digg story

Thursday, June 12, 2008

webkit squirrelfish logo


webkit squirrelfish logo
Originally uploaded by goopymart
webkit seems to be faster now than tamarin in firefox3.x

SquirrelFish is faster than Tamarin

SquirrelFish is at least 1.9 times faster than Tamarin with tracing turned on; 1.8 times faster than vanilla Tamarin, the same engine used in Flash 9.

read more | digg story
compiling php5-interbase extension from source
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

Running IE6, IE7 and IE8 on your Ubuntu with vmware/virtualbox

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

Any platform
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 ?

See a screenshot of the new Ubuntu Mobile Edition, designed for the new ultra small PCs such as the EeeePC, and follow the instruction to test it on your computer!

read more | digg story

24 Core, 48GB RAM Linux cluster runs on 400W

The Helmers project shows that there is 3x the performance at 1/2x the cost for those willing to innovate. By no small coincidence, this is what I see every day when I visit Red Hat customers who are replacing proprietary systems with open source solutions.

read more | digg story
i hate the new google favorite icon please revert back

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
It's me or the gmail is becoming slower and bloated

First thing to notice is they have added an progress bar or splash screen to watch while loading

That is the first sign of bloatware , and then that progress bar is loading forever in an infinite loop
from time to time

Ubuntu, Fedora, Mandriva Performance Compared

A review that benchmarks the three Linux distributions

read more | digg story

Quake 3: A True Classic That Never Dies

Quake 3 was released in December 1999, and ever since, it is one of the most played online FPS games. It's actually one of the most played FPS games from all time. It is very alert and benefits from lots of maps and mods, making it probably the most played games ever, together with the Unreal Tournament series.

read more | digg story

Monday, June 09, 2008

adding APC cache configuration to cakephp1.2

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
));
installing planet software on ubuntu hardy
cd /var/www

$wget http://www.planetplanet.org/download/planet-2.0.zip
$unzip planet-2.0.zip
$cd planet-2.0/
$python planet.py examples/basic/config.ini
$lynx examples/output/index.html

or lynx http://localhost/planet-2.0/output/index.html


Configure zoom plugin for compiz




is good for recoding console operations (fonts are small and can't be seen in flash on youtube videos)

The dumbest world record in the world : ffx download day
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



[fedora webcomic Firefox 3 world record]
installing gtk-recordmydesktop and posting videos on youtube

$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.




using .qmail (dot-qmail) to forward emails and record them in database
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)

Using Trolltech's Qt you can build industrial-strength C++ applications that run natively on Linux/Unix, Mac OS X, Windows, and embedded Linux--without making source code changes. With this book Trolltech insiders have written a start-to-finish guide to getting great results with Qt 4.1.

read more | digg story

Mark Shuttleworth on Netbooks pre-loaded with Ubuntu

Mart Shuttleworth discusses Canonical's new Ubuntu Netbook Remix: goals, design decisions, license, project status, relations to OEM's and... "We’re also working with two companies that want more radical user interface innovation."

read more | digg story

Firebird 2.1.1 RC1 in debian experimental

Here is the package for Firebird 2.1.1 in debian experimental , And you can watch the changelog

read more | digg story

APC - Alternative PHP Cache by default in Ubuntu

Idea Storm : Include APC in ubuntu by default when php is installed It will be included by default in php6 so we need to act now with php5.x too . Performance increases and resource usage is decreased (cpu/load) so is the best for servers and admins

read more | digg story

Iptables command - simple tutorial

Iptables is a powerful administration tool for IPv4 packet filtering and NAT. It is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.

read more | digg story

Microsoft Tries to Gradually Embrace & Extend SourceForge

How long before SourgeForge is filled with Windows-only applications that rely on Microsoft’s proprietary stack for their operation? Remember: to Microsoft, “open source” is just some development methodology.

read more | digg story

Friday, June 06, 2008

Windows 2008(guest) on Vmware Server Ubuntu (host)

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
vnc access for ubuntu 8.04 guest in vmware server


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

just installed haiku on vmware server and i like it's speed and simplicity , somtimes crashes but is ok overall , i always wanted to test beos

http://arstechnica.com/news.ars/post/20080212-first-look-haiku-poetically-resurrects-beos.html

Here's how to combine OpenOffice and Google Docs

Want to get the power of the free OpenOffice, and combine it with the collaboration capabilities of Google Docs? There's a way to get the best of both worlds, with a free OpenOffice extension.

read more | digg story

Thursday, June 05, 2008

top sites in romania

http://www.alexa.com/site/ds/top_sites?cc=RO&ts_mode=country&lang=none
Cool class of the day Google Chart for php

 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.
And to us, C++ was the ultimate in Roman decadence. I mean, it was equivalent to going and vomiting so you could eat more

[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

OpenOffice.org 3.0 takes on PDF import with this new extension (available now). Also the extension introduces innovative, dual-format PDF-ODF files combining portable presentation and editing capabilities in a single file.

read more | digg story
Port of the FastCGI header files to Pascal to make it easier to write FastCGI programs using FreePascal

http://www.elebbs.com/files/fcgipas10.zip

via this page

Wednesday, June 04, 2008

sched: schedtop utility

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

In ubuntu atom cpu is caled lpia and firebird builds just fine on it (is low power x86 so it should be ok)

read more | digg story

Firebird builds on both ARM and ARMEL

From this table you can see that firebird builds on both ARM and ARMEL ( ARMEL is just ARM with some hardware extras.) and here is the buildlog

read more | digg story
Sysvutils removal on today Intrepid updates?
I did:

sudo apt-get -o APT::Force-LoopBreak=yes install sysvutils

Then updates run fine.

Tuesday, June 03, 2008

Firebird 2.1.x will be included in the top most popular linux distributions

read more | digg story
noatime is useless to add it in ubuntu because reatime is better and already added in hardy


File systems are now mounted with the relatime mount option by default, for improved performance.

  • The relatime mount option stands for relative [WWW] 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). [WWW] 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

Here are the Firebird 2.0.4 packages for OpenSuse and the link for database repository and one click install

read more | digg story
the new stuff is firefox3.0 final and flash10 and firebird2.1 final and the firebird2.0 with bugfix-es

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
upgrade almost fine

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



dist upgrade to ubuntu intrepid ibex

sudo vi /etc/apt/sources.list
%s/hardy/intrepid/g
:wq
$sudo apt-get update
$sudo apt-get dist-upgrade