Firebird News

Tuesday, November 30, 2004

What is Public Relations?

Linux Media Guide


This is a *good* read


http://www.tldp.org/LDP/Linux-Media-Guide/html/what_is.html

enabling 64bit on suse SLES9 (power)

gcc -m64 show_lp64.c


foo@foo:~/test> ./a.out


char is 1 bytes


short is 2 bytes


int is 4 bytes


long is 8 bytes


long long is 8 bytes


pointer is 8 bytes


Hmm gcc compiles default to 32bit ?!

"The -mpowerpc64 option allows GCC to generate the additional 64-bit instructions that are found in the full PowerPC64 architecture and to treat GPRs as 64-bit, doubleword quantities. GCC defaults to -mno-powerpc64."


gcc powerpc options

being part of the free java community

" Anecdotal evidence shows that by being part of the free java community wonderful women will fall in love with you. "

Saturday, November 27, 2004

Ponie is up and running!

Well perl5 engine is started and seems to compile ok with new


Parrot VM


"Failed 2 test scripts out of 779, 99.74% okay."


Look how i did it :


1. download code from http://opensource.fotango.com/~nclark/ponie-3.tar.gz


2.tar -zxvf ponie-3.tar.gz


3.cd ponie-3


4.perl Configure.pl


5. make test


Now i should run ./perl harness (that was the message build gave me)


Dj X-Sonic - Blue Sun (DI Trance)

Maybe i'm blue today - Imagine Blue sun ..


Hmm very good *Free* Pascal Unit for testing


I have to test it http://camelos.sourceforge.net/fpcUnit.html


Friday, November 26, 2004

quote of the week

"I have a rule of thumb about Unicode: Nobody likes it. Nor does anyone dislike it enough to come up with something better."

Parrot has php

"Hey! Fabulous! Someone's making a serious effort to port a real language to Parrot! But that new type suggestion is just reinventing the PMC. Oh, and if you could change your generated code slightly you'd get much faster execution".


http://xrl.us/d5sy

Game of life :12.279487 generations/sec

/opt/parrot/bin/parrot ncurses_life.imc


3884 generations in 316.299867 seconds. 12.279487 generations/sec


A total of 12656656 bytes were allocated


A total of 179 DOD runs were made


A total of 9 collection runs were made


Copying a total of 13508336 bytes


There are 1702 active Buffer structs


There are 7053 total Buffer structs


Thursday, November 25, 2004

Compiler Optimization for Speed on an Athlon-XP System

"These results were obtained by running a script with different sets of optimization flags and measuring the run time results of the same floating-point intensive analytic code on the same set of data. The script cleaned and recompiled the code with the given set of flags, and logged the results. Inorder to reproduce the same background load on the machine each time, the xscreensaver daemon was killed, along with any other X-applications (such as mozilla, open-office, etc). The only other applications running were a few xterms, gkrellm, a window manager (Enlightenment in this case). Due to asynchronous loading of mail polling, and other monitor updates, there was an observed timing uncertainty of roughly half a second, meaning that run time differences of 1 second may not be statistically significant. For a more detailed discussion of the methology, flags, and results for other systems, follow the links:"


Compilier Oprimization for Athlon link

Graydon on divisions (or the lack thereof) between C# and Java

they are all the same :) (ms start your xerox'es)


http://people.redhat.com/~graydon/csharp-java/

Wednesday, November 24, 2004

to test in weekend "free as in speach" java

The goal of this package is to be a replacement of commercial Java Source Development Kits (JDK). This is accomplished by integrating the best free java tools into one development environment.


http://packages.debian.org/unstable/misc/free-java-sdk

one of the best sites i found this month

one of the best sites i found this month


added to our documentation for advanced linux users


http://www.linuxhomenetworking.com

just a reminder :)

Mariuz's To do list

Tuesday, November 23, 2004

firebird porter to linux-390 - who me ?

I took the release (V1.5.2.4719 Firebird 1.5) from the cvs and reached to this point (have to define IMPLEMENTATIOn in jrd/common.ch)



../src/jrd/inf.cpp:483: `IMPLEMENTATION' undeclared (first use this function)


../src/jrd/inf.cpp:483: (Each undeclared identifier is reported only once for


each function it appears in.)


../src/jrd/inf.cpp: In function `USHORT get_counts(short unsigned int, UCHAR*,


short unsigned int)':


../src/jrd/inf.cpp:1084: warning: suggest parentheses around assignment used as


truth value


make[3]: *** [../temp/libfbstatic/jrd/inf.o] Error 1

Linux for S/390

to bookmark this (for reading)


http://www.redbooks.ibm.com/abstracts/sg244987.html?Open

gcc powerpc options

"The -mpowerpc option allows GCC to generate instructions that are found only in the 32-bit subset of the PowerPC architecture. Specifying -mpowerpc-gpopt implies -mpowerpc and also allows GCC to use the optional PowerPC architecture instructions in the General Purpose group, including floating-point square root. Specifying -mpowerpc-gfxopt implies -mpowerpc and also allows GCC to use the optional PowerPC architecture instructions in the Graphics group, including floating-point select.



The -mpowerpc64 option allows GCC to generate the additional 64-bit instructions that are found in the full PowerPC64 architecture and to treat GPRs as 64-bit, doubleword quantities. GCC defaults to -mno-powerpc64. "


http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/RS-6000-and-PowerPC-Options.html


Firstly, Fujitsu is apparently working to make your car talk to you like the HAL 9000, while Motorola is said to be working on various remote-control devices (I don't have URLs for those two, unfortunately -- that's just gossip I picked up on mikeslist -- but I'm willing to mention them anyway, because they are intriguing).

xrl.us and shoking kars

read about thouse cars


http://xrl.us/d4os


Monday, November 22, 2004

gaim blogger

some shots http://gaim-blogger.sourceforge.net/screenshots/


I think soon we will have gaim gmail pluggin (use gmail account as im one )

Web based XUL Filemanager

very nice file manager


"How about this file manager? The front end is XUL + Javascript and the back end ASP in this example (recommend Firefox 9.x+ - allow the popups from that site)."



http://www.sitepoint.com/blog-post-view.php?id=211452


linux on mainframe (S/360)

now is that i call a machine


"LCDS System


9672 G6 Model ZX7 (10 way processor)


Memory 32GB"


http://www-1.ibm.com/servers/eserver/zseries/os/linux/lcds/

Install all Linux Gazette-issues at once!

now that is cool , i will try to read it all :)


apt-get install lg-all


http://www.linuxgazette.com/



Learning the JavaScript debugger Venkman


"JavaScript have been blamed for lacking proper development tools. Enter Venkman, a JavaScript debugger, tightly integrated into Mozilla."


http://www.svendtofte.com/code/learning_venkman/

Sunday, November 21, 2004

testing gnome-blog

apt-get install gnome-blog


ps : is working

Friday, November 19, 2004

give me a [php] pint

PintCompiler
Sterling, Thies and a few others, have been busy investigating PHP for Parrot, I had a chance to browse the code a couple of weeks ago. Last time I saw it was at the PHP conference last November, which was a bit chaotic, so although I did start trying to hack up a compiler in PHP to do the same thing, the phpSharp code base I was using wasnt quite ready..

Page of pintcompiler

Thursday, November 18, 2004

flamerobin 0.2 on

- linuxcompatible [DONE by alex]
- pclinuxonline [DONE by alex]
- warp2search [DONE by alex]
- neowin [DONE by alex]
- fresmeat [DONE]

To do announce flamerobin release on:


- lxer [not DONE]
- neowin.net [done by alex]
- newsforge.net [not DONE]
- gnomedesktop.org [not DONE]
- warp2search.net [done]
- osdir.com[not DONE]
- linuxelectrons.com [not DONE]
- linuxtoday [not DONE]
- osnews [not DONE]
- databasejournal.com [not DONE]
- devshed.com[not DONE]

- developers.slashdot.org [not done]
- betanews.net [not DONE]
- softpedia.net [not DONE]

other
- jaybird linuxpr.com [not DONE]
- jaybird on freshmeat [not DONE]
- send this to lxer.com

Sunday, November 14, 2004

Installing open source linux driver for mustek wcam300

download the kernel and compile it folow this tutorial for debian
http://www.desktop-linux.net/debkernel.htm
then get the cvs version of driver

Patch for kernel 2.6 and a Makefile for 2.6. And some small bugg fixes.
So to compile with a 2.6 kernel :

cvs -d:pserver:anonymous@cvs.nw802.sourceforge.net:/cvsroot/nw802 login
cvs -z3 -d:pserver:anonymous@cvs.nw802.sourceforge.net:/cvsroot/nw802
co nw802-2.4
cd nw802-2.4
cp Makefile.26 Makefile
patch -p0 < patch-2.6
make clean
make

if it fails then go to lists

after kernel compile and driver patching is time for compile

make
ln -sf /opt/kernel-source-2.6.7/drivers/usb/media/usbvideo.h .
ln -sf /opt/kernel-source-2.6.7/drivers/usb/media/usbvideo.c .
make -C /opt/kernel-source-2.6.7 SUBDIRS=`pwd` modules
make[1]: Entering directory `/opt/kernel-source-2.6.7'
CC [M] /home/mariuz/tmp/nw802-2.4/nw8xx_jpgl.o
CC [M] /home/mariuz/tmp/nw802-2.4/nw802.o
LD [M] /home/mariuz/tmp/nw802-2.4/nw8xx.o
CC [M] /home/mariuz/tmp/nw802-2.4/usbvideo.o
Building modules, stage 2.
MODPOST
CC /home/mariuz/tmp/nw802-2.4/nw8xx.mod.o
LD [M] /home/mariuz/tmp/nw802-2.4/nw8xx.ko
CC /home/mariuz/tmp/nw802-2.4/usbvideo.mod.o
LD [M] /home/mariuz/tmp/nw802-2.4/usbvideo.ko
make[1]: Leaving directory `/opt/kernel-source-2.6.7'

then we should do modprobe for driver


su -c 'modprobe videodev'
su -c 'modprobe usbvideo'
su -c 'insmod nw8xx.ko'
dmesg | grep video
Linux video capture interface: v1.00

also at the end of dmesg
nw802.c: Potentially NW8xx supported cam found ( supported vendor/product IDs )
nw802.c: Detected bridge type : DivIO NW802
videodev: "nw802 USB Camera" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
drivers/usb/media/usbvideo.c: nw802 on /dev/video0: canvas=320x240 videosize=320x240
usbcore: registered new driver nw802
nw802.c: Module loaded


install xawtv
su -c 'apt-get install xawtv'
then you should grap nice movies from your camer :) with this command
xawtv -c /dev/video0

Wednesday, November 10, 2004

Why linux (nv drivers) works on faulty hw

os linux drivers sometimes works even when the hw is faulty (when it shouldn't)
Had one gf4mx440 (elixir or something) and one day stoped working on windows (no hw acceleration even after driver/os reinstall) took the userlinux livecd http://hams.com/Mirror/userlinux-live-0.2.iso and booted .Was in the state of shock every thing worked (hw detected) , i could watch divx movies ...etc
Ok when i booted from the hdd (debian-sid) it crashed (black screen no signal)
What puzzled me was why it worked with live cd :) I know the board is dead (it will be replaced at vendor)

And the new nv linux drivers!
Just installed nvidia driver on my "borkstation" (userlinux aka debian-sid)
works great (gf2mx400)

And look what they have done with the new drivers ! :)
http://planet64bit.de/modules/news/article.php?storyid=351

Interview with NVIDIA Engineers
http://www.linuxquestions.org/questions/showthread.php?s=&postid=1285190
good cluster example
while searching on google for "athlon clustering linux"

http://www.tik.ee.ethz.ch/~ddosvax/cluster/
This series of benchmarks compares the Athlon XP 2500+, the Mobile Athlon 2500+, and the Sempron 2500+.

We put all three 2500+ rated chips through a plethora of performance benchmarks in order to see which of the three will give us the best performance for our dollar straight out of the box.

Now there is mention that the Sempron 2500+ rating is actually in comparison to relative Intel Celeron CPUs (since they are after all it's main price point competition), but after years of having AMD promise me and the world that it's performance rating system was based on some mythical Thunderbird processor and NEVER the competition I don't buy it. You're not allowed to rate two chips at identical 2500+ speeds without so much as an asterix and then tell that they're not supposed to perform similarly. The same goes for the Mobile Barton Chip.

http://www.hardcoreware.net/reviews/review-239-1.htm

Wednesday, November 03, 2004

Booting FreeVMS under Bochs (amd64)

We assume bochs is already installed .You can download an bootable BOCHS disk image from this url
http://www.systella.fr/~bertrand/FreeVMS/disk1.tar.bz2
Then uncompress it with tar -jxvf disk1.tar.bz2
modify bochs configuration (make the cd bootable)
~/.bochsrc

boot: disk
ata0-master: type=disk, mode=flat, translation=auto, path="/freevms/freevms.dsk", cylinders=130, heads=16, spt=63, biosdetect=auto, model="Generic 1234"

It should show you this boot prompt


ps: my system is an "old" barton 2500+ emulating an opteron(amd64) system at 8Mhz. Need this for installing debian 64bits under emulator one day (now is crashing)
installing pearpc

1.have downloaded sarge powerpc net installer from debian.org page
2.Installed pearpc (apt-get install pearpc)
3. cdrecord dev=/dev/hdd sarge-powerpc-netinst.iso

Tuesday, November 02, 2004

nice blog on power arhitecture

http://www-106.ibm.com/developerworks/blogs/dw_blog.jspa?blog=394

another good article on porting to ppc64

http://www-106.ibm.com/developerworks/library/pa-intro64.html

RC4 implementation for AMD64

They did some optimizations with assembly code :
throughput of the best currently known RC4 implementations has been surpassed by a factor of two. [ed: on the same amd64 machine]
http://etud.epita.fr/~bevand_m/papers/rc4-amd64.html

Monday, November 01, 2004

Project of the day mod_chroot

mod_chroot makes running Apache in a secure chroot environment easy. You don't need to create a special directory hierarchy containing /dev, /lib, /etc...

http://core.segfault.pl/~hobbit/mod_chroot/