Thursday, January 31, 2008

Become An Ubuntu 'Jedi Master'

If you wanted to use Ubuntu, but you had no knowledge about its usage, now it's your chance. With the help of the new Ubuntu 7.10 Desktop Course, you will be working with Canonical's distribution in no time!

read more | digg story
htbtools on ubuntu (gutsy)

Follow the istruction from the Install howto
apt-get install linux-headers-server flex
wget http://htb-tools.arny.ro/request.php?16
request.php\?16 HTB-tools-0.3.0a.tar.gz
tar HTB-tools-0.3.0a.tar.gz
cd HTB-tools-0.3.0a/
mkdir include/asm
ln -s /usr/src/linux-headers-2.6.22-14-server/include/linux/bitops.h include/asm/
make
make full

bin/cp -v docs/man/q_show.8 /usr/local/man/man8/
`docs/man/q_show.8' -> `/usr/local/man/man8/q_show.8'
sys/install.sh

Installing HTB-tools ...
`q_parser' -> `/sbin/q_parser'
`q_show' -> `/sbin/q_show'
`q_checkcfg' -> `/sbin/q_checkcfg'
`sys/scripts/htb' -> `/sbin/htb'
`sys/scripts/htbgen' -> `/sbin/htbgen'

Installing default config files in /etc/htb...
Creating directory /etc/htb ...
Installing default config files ...
eth0-qos.cfg NOT FOUND, installing ...
eth0-qos.cfg installed.

eth1-qos.cfg NOT FOUND, installing ...
eth1-qos.cfg installed in /etc/htb.

Config files installation DONE.

Installing rc.htb init script. Please enter the corect init scripts path:
( slackware type init should use /etc/rc.d; RedHat type init should use /etc/init.d )
/etc/init.d
Try again, directory /etc/init.d does not exist on your system. Exiting.
web/install.sh

Enter the directory where you want to install q_show web.
ex: /var/www/htdocs
directory:
/var/www

Installing files ...
Done.


Then read howto configure it

Wednesday, January 30, 2008

Using Perl module 'CGI::Application'

A short introduction to Perl module 'CGI::Application'. An example is shown about how to build a small web application using this module.

read more | digg story

Tuesday, January 29, 2008

writing an good press release example from lulu.com
http://www.lulu.com/en/services/marketing/index.php

and they are using bitweaver

Seems that for an romanian firebird sites the cms list would be :bitweaver, drupal , typo3 , wordpress

I don't like the software that doesn't write to an data abstraction layer like
phpado http://adodb.sourceforge.net/
or mdb2
thinking loudly - FreePascal and Fastcgi

Morfik is precompiling the application into an cgi using pascal (fpc)
I was thinking what if the fastcgi can be used to run an pascal program precompiled with lazarus(fpc)


The main issue is that main scripting languages migrate to fastcgi: php , python, perl
and light httpd servers (nginix,lighttpd,apache+fastcgi module)

Why they migrate ? because apache threading doesn't work for scripts and we are back to cgi and share nothing architecture (kiss philosophy )

Monday, January 28, 2008

surprise in latest ubuntu hardy server

I have dist-upgraded my server from gutsy to hardy
I needed for php > 5.2.3

and the server says

Apache/2.2.6 (Ubuntu) PHP/5.2.4-2ubuntu4 with Suhosin-Patch

Sunday, January 27, 2008

perl links roundup for 2008-01-21 on perlbuzz

* Perlcast interviews Curtis Poe about logic programming and Prolog. Is Fluffy a mammal? * Adam Kennedy provides a mathematical proof that Perl is unparseable * chromatic is tracking down memory leaks in Parrot * David Landgren has posted another of his marvelous Perl 5 Porters weekly mailing list summaries.

read more | digg story

Can dynamic languages scale?

Ted Neward has written an article on the problems of scaling up projects based on dynamic languages.Alas, he has to end with "Perl just sucks, period." Even as we work forward with Parrot and Perl 6, the continued public perception of Perl doesn't change. :-(

read more | digg story

Your favorite language sucks

The other day I posted a link to an article by Ted Neward called "Can Dynamic Languages Scale?" I thought it was interesting to see that an outsider saw the potential in Parrot, even though it's not at 1.0 yet. As an afterthought, I lamented that he made a dig at Perl at the end, smiley face or not

read more | digg story

Friday, January 25, 2008

Via launches 64-bit architecture

Via has unveiled a 64-bit, VM-enabled x86-compatible chip architecture for green PCs, home servers, and mobile devices. Chips based on the "Isaiah" architecture promise to outperform Via's current C7/Eden chips two-to-three times, within the same power envelope. I like their mini-itx motherboards aloso i wish they had more market penetration so i could shop the nano-itx or mini-itx from local shops from romania too http://mini-itx.com/

read more | digg story
About CQRLOG - Firebird project of the day

An advanced ham radio logger based on Firebird database. Provides radio control based on hamlib libraries (currently support of 140+ radio types and models), DX cluster connection, QRZ callbook (web version), a grayliner, ON6DP QSL manager database etc.


http://sourceforge.net/project/showfiles.php?group_id=206170

Thursday, January 24, 2008

DAG: Dstat: Versatile resource statistics tool

Dstat is a versatile replacement for vmstat, iostat, netstat, nfsstat and ifstat. Dstat overcomes some of their limitations and adds some extra features, more counters and flexibility. Dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting.

all you need to do is to apt-get install dstat and you will see an colored and nicer tool than vmstat , nfstat ..
DAG: Dstat: Versatile resource statistics tool

Blogged with Flock

Wednesday, January 23, 2008

Matrix Simulation in Console: CMatrix

CMatrix simulates the display from “The Matrix” and is based on the screensaver from the movie’s website. It works with terminal settings up to 132×300 and can scroll lines all at the same rate or asynchronously and at a user-defined speed.

read more | digg story
In case you delete Application Menu from the panel

Here is how you can edit and enable them back


ALT-F2



then write there


gmenu-simple-editor

How to run KDE applications on Windows

Want to run some open source Linux applications designed for the KDE desktop environment, without you know, installing Linux? The KDE Windows Project makes it possible to run some KDE programs in a Windows environment.

read more | digg story

How to disable SELinux

You've setup a new system, or installed something new on your Linux system and its not working. You get the feeling that SELinux is the cause of the problem. This page was written to help.

[SeLinux is the most fschked system for "securing an system" here is how to disable it on any server]
How to disable SELinux

Blogged with Flock

JVCS 2.50 Beta 1 released - 1st branching support release!

The JVCS team is happy to announce JEDI VCS 2.50 Beta 1, which is the first beta version of the second JVCS release. (JVCS an open source VCS system with database backend)

read more | digg story

Will there be another Java?

Ideas on what will follow Java as the next great enterprise class programming language.[Maybe php will become the next boring thing ?]

read more | digg story

While you’re waiting, don’t save in OOXML format

Saving your documents in OOXML format right now is probably about the riskiest thing you can do if you are concerned with long term interoperability.

read more | digg story

Tuesday, January 22, 2008

Mark Pilgrim looks back on his switch from Mac OS to Linux

www.diveintomark.org has a new post by Mark Pilgrim about how the predictions that his and Cory Doctorow's switch from Mac OS to Linux would inspire several others to reconsider using the Mac platform hasn't quite gathered mass yet.

read more | digg story
an imput from s-video can be set with v4lctl in xawtv

you need to install the xawtv (apt get install xawtv)
then set the composite video input in case you have an camera attached to the a/v input

v4lctl setinput Composite1


cool stuff you can watch your tv station from home using X forward protocol (also you can record it )

ssh -X machine_with_tunner

xawtv -remote

you can check the card inputs with
v4l-info



xawtv - Wikipedia, the free encyclopedia

Blogged with Flock

Mercurial Eclipse Howto

instamm mercurial
sudo apt-get install mercurial

There is a Eclipse Update site, In Eclipse this should be added in eclipse under "Help"->"Software Updates"->"Find and install..." select "Search for new features to install" and then in the new window select the "New Remote site..." button and add this

Name: MercurialEclipse development site
URL: http://home.zingo.org/eclipse-betaupdate/

Next is to read the documentation and create an local repository



MercurialEclipse – Trac

Blogged with Flock

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
wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.14.tar.bz2
tar jxvf linux-2.6.23.14.tar.bz2
ln -s linux-2.6.23.14 linux
cd linux
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-2.6.23.14-custom_2.6.23.14-custom-10.00.Custom_i386.deb
shutdown -r now

you can install the headers too from /usr/src/linux-headers-2.6.23.14-*
How To Compile A Kernel - The Ubuntu Way | HowtoForge - Linux Howtos and Tutorials

Blogged with Flock

Monday, January 21, 2008

What can you do with Perl 6 today?

Aaron Trevana has started a page on the Perl 6 wiki called What Can I Do With Perl 6 Today?. He's created a list of projects that people have started with Perl 6, and gives ideas for what you can do when you think "I'd like to try Perl 6, but what should I do with it?

read more | digg story

Sunday, January 20, 2008

Ubuntu Weekly Newsletter #74

Welcome to the Ubuntu Weekly Newsletter, Issue 74 for the week January 13th - January 19th, 2008. In this issue: layout contest for Kubuntu.org, Ubuntu case studies, mugs from Germany for your Loco Team, FOSS in Egypt, and much, much more!

read more | digg story
streaming with vlc and leadtek winfast 2000 xp global

encoding server ---> upd stream ---> streaming server (listen on 1212 port)



i assume the card is installed we will need to use the /dev/video0 interface and stream from it in mpeg4 or
flash streaming

On the streaming server or computer i do
vlc udp:@:1212 and i listen to the port (later i will do an relay to the stream and send it to the clients)

On the encoder server:
Here is how i do the encoding from the command line (and i send the stream to the 192.168.0.1:1212 server)

vlc -vvv --color v4l:/dev/video0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,dst=192.168.0.1:1212}' --ttl 12


Parrot 0.5.2 released, now with "make perl6"

with this release, parrot virtual machine now provides a perl6 binary. [from the cromatic blog: First, weve managed to bundle up Patrick Michauds Rakudo (thats the implementation of Perl 6 on Parrot) such that you can type make perl6 on Unixy platforms and make perl6.exe on Windows and get a working standalone Perl 6 binary. This is experimental and we hope to iron out some installation and deployment issues by next months release, but it was important to demonstrate our progress. ]

read more | digg story

Perl 6 microarticles

links to microarticles about Perl 6 features

read more | digg story

Saturday, January 19, 2008

blog of the day

How to run php4 and 5 on the same server


http://techome.wordpress.com/2008/01/18/running-php4-and-php5-concurrently/



and here is how to use perl when replacing strings in files


Perl commandline search and replace


http://techome.wordpress.com/2007/12/22/perl-commandline-search-and-replace/

[Announce] Development release 0.1 of the LatencyTOP tool

...version 0.1 of LatencyTOP, a tool for developers to visualize system latencies[I will test it on my linux systems , and it might be good for finding resource hogs]

read more | digg story

Friday, January 18, 2008

Firebird on Solaris 10 (sparc) - howto

I’ve downloaded the latest 2.0.3 Firebird Server for Solaris 10 SPARC,installed it and had some minor troubles to make it run.

read more | digg story

What do you think about FirebirdSQL.org?

Do you think that Firebird official site needs a facelift and be replaced with a new one, with a clear, professional attractive design? Please vote in our poll (look at the sidebar in the main page) and let us know.

read more | digg story

Thursday, January 17, 2008

[linux-dvb] leadtek pvr2200 and cx23885 driver on ubuntu server

I try to use it on my ubuntu hardy machine for video capture mainly and mpeg2 stream encoding (have no interest in using tvtuner yet) chipset seems to be Conexant CX23885+CX23416 and xceive3028 http://www.leadtek.com/eng/tv_tuner/specification.asp?pronameid=351&lineid=6&act=2
[linux-dvb] leadtek pvr2200 and cx23885 driver

Blogged with Flock

Tentakel - useful for distributed ssh command

Tentakel is a program for executing the same command on many hosts in parallel using ssh.

On my ubuntu i installed this way  ( stable version had some issues  with python2.5)

1.take the code from svn

svn co http://svn.tuebingen.mpg.de/tentakel/trunk/
cd trunk/tentakel/

2. install
make; make install
3. configure all your groups and hosts  hosts (and split them in groups: web, db, local)

sudo cp tentakel.conf.example /etc/tentakel.conf


Here is how can be used this command line

tentakel -g localhosts 'df -h'
Tentakel Homepage

Blogged with Flock

Perl 6 on Parrot is now known as Rakudo

Perl 6 running on the Parrot VM has always had a clunky name: "Perl 6 on Parrot". Now, Patrick Michaud, the pumpking for the project, has announced the new name: Rakudo. Read about it at the new rakudo.org.

read more | digg story

Wednesday, January 16, 2008

Customize Your Ubuntu …

I’m posting this, mostly because some people showed interest in how do I customized my Ubuntu’s look and feel. So here we go … an image worths more than 1 million words … ha!
Me, I and Myself

Blogged with Flock

Tuesday, January 15, 2008

MacBook Air: top 10 things wrong with it

Like an anorexic fashion model, Apple's new super-thin MacBook Air has made too many compromises for the sake of being skinny.

read more | digg story

xwiki installation on jboss using firebird

How-to for installing xwiki, the open source enterprise wiki, on JBoss using firebird as database backend.

read more | digg story

The firebird 2.1 RC1 release is currently being tested

The v2.1 release branch has just been forked off from HEAD, all the v2.1specific changes will go there. The RC1 release is currently being QA’d,the binaries will be available shortly.

read more | digg story

Monday, January 14, 2008

Strawberry Perl easy install on Win32

There's lots of misinformation about installing Perl on Windows. Here's an article shows just how easy it is.

read more | digg story

What the Perl 6 and Parrot hackers did on Xmas

Both Parrot and Perl 6 on Parrot have made a lot of visible progress in the past couple of weeks.Both Parrot and Perl 6 on Parrot have made a lot of visible progress in the past couple of weeks.

read more | digg story

Dinky mobile PC boasts 1GHz x86 processor, digital TV

X86 may be viable in mobile devices after all. Via is showing off a card-deck sized 1GHz Linux "PC" that can receive, play, and record digital video, with a claimed battery life of four hours.

read more | digg story

OLPC Laptop Emulation in Ubuntu Gutsy

How to get your own OLPC laptop interface emulated in Ubuntu Gutsy with qemu.

read more | digg story

Evaluating open-source DBs -Is Firebird Enterprise ready ?

The thread is on joelonsoftware.com and the question is about open source databases vs mssql

read more

Sunday, January 13, 2008

make perl6 works now with pugs (with php bonus included)

perl6 is now self hosted in the next parrot release 0.5.2


Now you check out the parrot vm from svn and test the perl6 vm/compiler


here is the quote from the NEWS file



New in 0.5.2


- "make perl6" now builds a Perl 6 executable


Here is the howto


1.check out the code


svn co https://svn.perl.org/parrot/trunk parrot


2.run the Configure script


cd parrot


perl Configure.pl --prefix=/opt/parrot


3. Make the perl6


make perl6


.... [skip the compile lines]...


languages/perl6/perl6 -e'say "Hello, world!"'


Hello, world!


4 Make perl6 to be executable file and then run the hello world again :)


chmod +x perl6


./perl6 -e'say "Hello, world!"'


5. create an file goodbyeworld.pl with this content


vim goodbyeworld.pl


say "Hello, world!"


./perl6 godbyeworld.pl


All you need to do now is to test the new mod_parrot apache module or the .... php compiler for perl6!!!


cd languages/plumhead


make ; make test


go to the parrot root source directory


cd ../../


./parrot languages/plumhead/plumhead.pbc languages/plumhead/t/hello_1.php


Hello, World!







Strawberry Perl easy install on Win32 or wine

There's lots of misinformation about installing Perl on Windows. Here's an article shows just how easy it is.No more active state and is full of cpan :)

read more | digg story
Java-plugin for Firefox in 64 bits Ubuntu (7.10) installation

My firm experience is that the default 64 bits Java-plugin for Firefox... does not work properly. The plugin uses the GNU's famous Java VM...that crashes


I have testet the plugin here... and it does not show any signs of life.



[ED i also tested the scrabulous.com scrable game and didn't worked so i installed the new icedtea-java7 and all is ok now ]



http://www.futuredesktop.com/java-plugin-64-bits-ubuntu.html

Thursday, January 10, 2008

How to write SQL queries compatibly with most databases

The Compete Guide to ODBC Escape Sequences.

read more | digg story

Oops, Look At That Phoenix, Rising From The Ashes

In a story headlined, “Open Source Code Contains Security Holes,” I referred recently to the Firebird database project as “somewhat moribund.” So imagine my surprise when a reader pointed out it was named project of the month in December by SourceForge, the dominant host of open source projects. Geez.

read more | digg story

Wednesday, January 09, 2008

Firebird is alive and secure

The following was sent to Charles Babcock at Information week in reply to an article entitled:Open Source Code Contains Security Holes As a developer and administrator of the Firebird Project I completely reject the statement you made in the above article.

read more | digg story

gOS 2.0 Rocket is Now Available

The wait is finally over! gOS 2.0 Rocket is now available. Rocket includes Google Gears to enable offline use of web apps. Virtual Desktops, Online Storage Drive, Adobe Flash 9, and much more.

read more | digg story

Using new features of the Firebird 2.1 in the ADO .Net.

Most interesting features are global database triggers, temporary tables, database monitoring through the SQL, canceling running queries and new SQL statements.

read more | digg story

Open Source Code Contains Security Holes - Firebird moribund

From the FUD department Here is one sponsored article The somewhat moribund Firebird project!!!, for example, is listed with 195 identified defects, of which it has verified zero and fixed zero

read more | digg story

Tuesday, January 08, 2008

Kernel Hackers' Guide to git

Installing git from tarball

tarball build-deps: zlib, libcurl, libcrypto (openssl)
here is how to install tarball:
mkdir -p /opt/build
cd /opt/build
wget http://kernel.org/pub/software/scm/git/git-1.5.3.7.tar.bz2
 tar -jxvf git-1.5.3.7.tar.bz2
 cd git-1.5.3.7
./configure --prefix=/usr
 make
 sudo make install
cd ..

git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6


Kernel Hackers' Guide to git

Blogged with Flock

Retro: booting Linux kernel 0.01 on modern hardware! with screenshots

"This is a free minix-like kernel for i386(+) based AT-machines," began the Linux version 0.01 release notes in September of 1991 for the first release of the Linux kernel. - "I have ported linux 0.01 to gcc-4.x, and bach-3.2 (and few others programs) can run on it. So you will find binary Image of linux 0.01 floppy and qemu hdd here:"

read more | digg story

Saturday, January 05, 2008

How to run Safari in Linux using Wine

This how to will help you install Safari in Linux using Wine.[i tried some safari on wine some time ago , but it didn't worked yet , it quite crashed]

read more | digg story
starting linux kernel 0.0.1 on ubuntu

download


wget http://draconux.free.fr/download/os-dev/linux0.01/Image/hd_oldlinux.img.zip



wget http://draconux.free.fr/download/os-dev/linux0.01/Image/linux0.01-3.3.img


install qemu


sudo apt-get install qemu


unzip hd_oldlinux.img.zip



start the linux 0.0.1 kernel


qemu -hdb hd_oldlinux.img -fda linux0.01-3.3.img -boot a


read more about this kernel dusting from kernel trap


http://kerneltrap.org/Linux/Dusting_Off_the_0.01_Kernel

Stop worrying and learn to love Perl 6

When I first got into computers I worried, briefly, that everything I learnt would inevitably be outmoded. I don't want to scare anyone unduly but there will come a time when Perl 5 is outdated. Slow, ugly, verbose, arbitrary: it will become all of those and worse.

read more | digg story