Games Knoppix released
Finally, the first release of the Games Knoppix (St. Nicholas Day Release) is ready for download. Please use this link to get to the Bittorrent page.
Programmer 4 life
In many ways, it seems like Python and Parrot are from different planets.
In Python, the general approach seems to be to reduce everything possible to a canonical form as early as possible, and then deal with everything consistently.
In Parrot, the general approach seems to be to leave everything in its original form as long as possible, and then deal with everything separately.
Long : Python vs Parrot
array datatype in fb , rensponse to that thread
how to install mod_mono
"could the Parrot VM be used effectively with strong typing languages."
and the answer in perl6.internals
"I guess this is my belated ApacheCon blog. I had a lot of fun as usual, and I got a chance to meet a few new people and hang out with old friends. The talk that Geoff and I gave went really well, and it ended up being as funny as we had hoped. More exciting than the talk is the project behind it. I think we've created the single best testing framework for PHP applications, and I'm going to try to describe it for those who missed the talk."
more on phpplannethttp://shiflett.org/
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)
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
/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
"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:"
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
"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).
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
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..
su -c 'modprobe videodev'
su -c 'modprobe usbvideo'
su -c 'insmod nw8xx.ko'
dmesg | grep video
Linux video capture interface: v1.00
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
cat firebird20/compile_fb20.sh
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/firebird login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/firebird co firebird2
cd firebird2
./autogen.sh --enable-debug --prefix=/opt/firebird20 --enable-superserver
make
cat compile_firebird_15x.sh
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/firebird login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/firebird co -rB1_5_Release firebird2
cd firebird2
./autogen.sh --enable-debug --prefix=/opt/firebird --enable-superserver
make
make install
cat compile_vulcan.sh
cvs -d:pserver:fbReaders@cvs.netfrastructure.com:/usr/local/cvs login
# password is fulda conference
cvs -d:pserver:fbReaders@cvs.netfrastructure.com:/usr/local/cvs checkout vulcan
cd vulcan
chmod +x autogen.sh
./autogen.sh
cd src
./set_platform linux32
./boot_build
./build
"Thank you for posting a news article on TheServerSide! Your article must first be authorized by a member of TSS staff for relevancy, clarity, etc. It may be slightly editted for grammatical/formatting errors, etc."
"Hi,
JayBird 1.5.2 is available for download. It contains fixes to the issues posted in this group. There should be no more "invalid statement handles" and result sets should be correctly released when using the connection pool.
Hopefully also the "cannot start transaction, local transaction active" is gone too, at least I have added some more fixes.
Additionally I made it possible to specify both isc_dpb_lc_ctype and charSet encodings. In this case lc_ctype is passed to the database, charSet is used to convert bytes to characters. Most useful case is when lc_ctype=NONE.
Previoulsy driver used the default JVM encoding to convert bytes into strings, now you can enforce the encoding you like and do not depend on the regional settings of the host OS.
I have tried to build it with JDK 1.5, but it was not successfull. The build system cannot run with 1.5 (the target="1.2" part in build.xml and the used version of Ant does not understand 1.5), and at least JNDI code from the pool does not compile due to use of generics in JNDI API. Most likely one can build driver by using the "compatibility" mode of the compiler, but the
build system must be fixed (probably requires upgrade of Ant). I think we would need to split the code bases the same way I did it for JDK 1.3 and JDK 1.4. Are there any volunteers for this task?
Roman"
update :"JayBird 1.5.3 is available for download. Release contains fix for theRoman
ClassFormatException reported today.
We have detected your browser does not have the required Windows Media 9 plug-in to play this video.
http://www.nzone.com/object/nzone_videomods_home.html
LM: Do you ever want to create a new groundbreaking music video with modern technologies?
RUNDGREN: I do, but there's little demand today for music videos. There used to be a thriving, hungry market for music videos, but now most of the so-called music video outlets like MTV and VH-1 are doing reality programming -- they're not filling up their time with new videos. So the obstacle for me isn't daunting technology, it's simply the fact that there's nobody to play the result.
About twice a year I succeed in crashing Linux, usually by hitting ctl-C
while something is going on with my tape drive. Well, tonight, I
totally froze my system. Even the little CPU meter stopped working. At
the same time, the CPU was going full out -- I can tell because the
cooling fan starts speeding up.
What is interesting is that I noticed the num-lock and caps-lock lights
blinking in a way that reminded me of something. After a few minutes, I
realized it was sending Morris code. Now, my Morris code is *really*
rusty, and though I know all the letters, I cannot recognize them very
fast, so I got:
..-. then waited until the message repeated and got ..-. .- , then
again (really painful) ..-. .- - and so on. I finally gave up after
getting:
..-. .- - .- .-.. . .-. .-. --- .-. (etc)
For those of you who do not read Morris code:
..-. .- - .- .-.. . .-. .-. --- .-.
F A T A L E R R O R ...
Linux is funny :-)
Tiny Linux is better
I Have to install it on my 386/6M AMD machine ! Here is the page
Snapped from newsforge article
"Later in the morning, Matt Mackall talked about the Linux-Tiny project.
Linux-Tiny is a project to reduce the size of the Linux kernel and its footprint -- or size -- in memory, for use on older legacy hardware, or embedded systems.
Mackall explained that the Linux kernel has become bloated over the last ten years and has a lot of room to shrink. He explained very rationally how this came to pass.
Linux kernel hackers got jobs.
In 1994 the kernel was at version 0.99 and could happily run on a 486 SX running at 16MHz with 4 MB of RAM.
By this year, 2004, the kernel had arrived at version 2.6 and could happily run on a 1024 node Intel 64 bit (ia64) architecture cluster with multiple terabytes of RAM.
When Linus got his job at Transmeta, he was suddenly entrusted with a computer running with 512M of RAM and various other improved features over the older hardware he had been developing Linux on. Memory use and disk use become less of a priority, and functionality and features took the forefront.
Over the period of 1994 to 2004 there was a huge growth in personal computing and Internet use, and a constant massive reduction in hardware costs. Coupled with Moore's law of ever accelerating hardware, this led to the loss of the concept of running Linux on small, old systems.
Linux has grown, Mackall went on, one small change at a time. Eventually lots of small changes adds up to large changes, significant improvements in various performances, and increased size.
Mackall's project, Linux-Tiny, aims to reverse this trend. He noted that it was nice to be scaling in the opposite direction for a change.
The means Linux-Tiny uses to get to its small memory footprint and kernel image size ends is a radical trimming down of the kernel's... less necessary features.
Mackall described the various steps he took to reduce the kernel's size by removing extraneous code, wasted memory, and unneeded text output. His stated goal was to run a small Linux system whose sole purpose in life was to run a web server with no bloat.
He has so far reduced the kernel to a 363 KB image, significantly below the 1.9 MB image found in a default compile of kernel 2.6.5, and comparable to the 1994 kernel 0.99pl15 image size in Slackware 1.1.2 of just 301 KB. His memory consumption is down to less than 2 MB, and together this means that Linux-Tiny can run on embedded systems and legacy hardware efficiently, as it did before Linux kernel hackers got jobs."
Changes from previous version:
This release adds a charset improvement, allowing use of NONE as a fully transparent charset everywhere. (Changes were made in the engine to make the character set NONE more friendly about reading / writing data from and to fields of another character set.)
It adds the config-driven ability to abort a server process in the case of bugchecks or structured exceptions (to produce a core dump).
Firebird Superserver has a link-time backward compatibility issue with the NPTL (Native POSIX Thread Library) that may cause it to be unstable on Linux distributions that enable the NPTL in the GNU C.The new NPTL builds of Superserver should solve these problems.
More on freshmeat site
KERNEL_SOURCE ?= /lib/modules/`uname -r`/build
obj-m := nw8xx.o usbvideo.o
nw8xx-objs := nw8xx_jpgl.o nw802.o
default:
ln -sf ${KERNEL_SOURCE}/drivers/usb/media/usbvideo.h .
ln -sf ${KERNEL_SOURCE}/drivers/usb/media/usbvideo.c .
make -C ${KERNEL_SOURCE} SUBDIRS=`pwd` modules
clean:
rm -f usbvideo.h usbvideo.c *.o *.ko *~ *.mod.c
" divio doesn't think like you.
Many people (including me) contacted Divio to disclose for example the NW-802 technical details to migrate it to linux, but they didn't answer.
Munaut Sylvain is doing a big effort on his NW802 Linux Driver for some webcams. But Divio deserves some kind of boycott because some customers who spend money on their products are forgotten."
The passions are said to dominate whenever an individual is motivated by the desire to have pleasurable experiences. The Apostle Paul would say that such an individual is carnally minded and that he's living according to the flesh. Passions include: Love/Hatred, Desire/Aversion, Joy/Sorrow, Hope/Despair, Fear/Courage, Envy/Lust/Anger. Neither good, nor evil in themselves because (in general) they are independent of reason and will, and are the movements of the sense appetites.
man floppymeter
floppymeter - measure raw capacity and exact rotation speed of floppy
drive
floppymeter
Warning: all data contained on the floppy disk will be lost. Continue?
yes
- rotations since start of test = 1000
- average time per rotation since start of test = 200062
- sliding average of the last 10 rotations 200197
- missed rotations 2
capacity=200153 half bits (should be 200000 half bits)
time_per_rotation=200062 microseconds (should be 200000)
data transfer rate=500227 bits per second (should be 500000)
deviation on capacity: +765 ppm
deviation on time_per_rotation: +310 ppm
deviation on data transfer rate: +454 ppm
Insert the following line to your /etc/driveprm file:
drive0: deviation=765
Credits
The Lazarus developers for making Delphi work on Linux better than Borland could, and the Lazarus mailing-list members for always happily answering my (often stupid) questions.
DireqLearn, my employers for giving me the opportunity to create Free, Open Source software for a living. The only thing nicer than altruism, is profitable altruism :)
My cat, Vyf, for (forcefully) ensuring I take the occasional break.
Procesor AMD Athlon XP 2200+
Memorie 256MB
HDD 80Gb 7200pm
FDD 3.5
CD-ROM da
Placa video ATI Radeon 9200, 64MB
Placa de sunet integrata
Placa retea integrata
Carcasa ATX
Monitor nu
Tastatura da
Mouse da
Sistem de operare: ***Linux***
216882 future Linux system administrators have visited this site.
g++ calutzu.cpp
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from calutzu.cpp:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This fi le includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples in clude substituting theheader for the header for C++ includes, or instead of the deprecated header . To disable this warning us e -Wno-deprecated.
calutzu.cpp:2:18: conio.h: No such file or directory
calutzu.cpp:3:21: graphics.h: No such file or directory
calutzu.cpp:4:16: dos.h: No such file or directory
calutzu.cpp: In function `void draw_solutie()':
calutzu.cpp:39: error: `delay' undeclared (first use this function)
calutzu.cpp:39: error: (Each undeclared identifier is reported only once for
each function it appears in.)
calutzu.cpp: In function `void cal(int, int)':
calutzu.cpp:47: error: `getch' undeclared (first use this function)
calutzu.cpp: In function `void mod_grafic()':
calutzu.cpp:77: error: `detectgraph' undeclared (first use this function)
calutzu.cpp:79: error: `initgraph' undeclared (first use this function)
calutzu.cpp: In function `void draw(int, int)':
calutzu.cpp:86: error: `cleardevice' undeclared (first use this function)
calutzu.cpp:87: error: `CYAN' undeclared (first use this function)
calutzu.cpp: In function `void draw_horsy(int, int)':
calutzu.cpp:95: error: `SOLID_FILL' undeclared (first use this function)
calutzu.cpp:95: error: `RED' undeclared (first use this function)
calutzu.cpp:95: error: `setfillstyle' undeclared (first use this function)
calutzu.cpp:96: error: `pieslice' undeclared (first use this function)
calutzu.cpp: In function `void draw_grid(int, int, int)':
calutzu.cpp:106: error: `getmaxx' undeclared (first use this function)
calutzu.cpp:107: error: `getmaxy' undeclared (first use this function)
calutzu.cpp:110: error: `outtextxy' undeclared (first use this function)
calutzu.cpp:111: error: `getcolor' undeclared (first use this function)
calutzu.cpp:112: error: `setcolor' undeclared (first use this function)
calutzu.cpp:118: error: `line' undeclared (first use this function)
calutzu.cpp: At global scope:
calutzu.cpp:130: error: `main' must return `int'
calutzu.cpp: In function `int main(...)':
calutzu.cpp:144: error: `closegraph' undeclared (first use this function)
In file included from ../src/jrd/thd.h:214,
from ../src/jrd/isc.h:98,
from ../src/jrd/isc.cpp:53:
../src/jrd/sch_proto.h:43: error: use of enum `ast_t' without previous declaration
../src/jrd/sch_proto.h:43: error: ISO C++ forbids declaration of `parameter' with no type
In file included from ../src/jrd/thd.h:215,
from ../src/jrd/isc.h:98,
from ../src/jrd/isc.cpp:53:
../src/jrd/thd_proto.h:64: error: `THD_T' was not declared in this scope
../src/jrd/thd_proto.h:66: error: `THD_T' was not declared in this scope