Joaquin Peralta

My Personal weblog.

Ubuntu 6.10 Out!!!

No es la gran noticia del a\~no, pero algunos fanaticos de ubuntu la pueden considerar asi, navegando por distintos lugares mientras probava explorer 7 y firefox 2 en windowsXP, he dado con que ubuntu ya saco su version 6.10, no si estara tambien disponible para 64 bits, pero esta semana intentre una actualizacion del sistema.

No vi tantas diferencias salvo quis que ya no usa gthumb como administrador de fotos y ademas es gnome 2.16 la ultima version con la que viene ahh… y porsupuesto firefox2 para linux (H) una nuva version de openoffice y gaim … y cosas que pueden ver en esta pagina.

El sitio oficial para descargar esta version esta aca. Por desgracia aun no se puede solicitar el envio de los CD aun, ojala luego se pueda hacer :) .

Bueno luego habra tiempo para comparaciones y avances, eso es todo por ahora.

JP.

October 28, 2006 Posted by jperalta | GNU/Linux | | 1 Comment

Using LFS

Sometime your personal program can’t write files of more that 2Gb, a reasons for this is the use of LFS.

For using LFS in user programs, the programs have to use the LFS API. This involves recompilation and changes of programs. The API is documented in the glibc manual (the libc info pages) which can be read with e.g. "info libc".

In a nutshell for using LFS you can choose either of the following:

  • Compile your programs with "gcc -D_FILE_OFFSET_BITS=64". This forces all file access calls to use the 64 bit variants. Several types change also, e.g. off_t becomes off64_t. It’s therefore important to always use the correct types and to not use e.g. int instead of off_t. For portability with other platforms you should use getconf LFS_CFLAGS which will return -D_FILE_OFFSET_BITS=64 on Linux platforms but might return something else on e.g. Solaris. For linking, you should use the link flags that are reported via getconf LFS_LDFLAGS. On Linux systems, you do not need special link flags.
  • Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE. With these defines you can use the LFS functions like open64 directly.
  • Use the O_LARGEFILE flag with open to operate on large files

In the mostly of the case with the first option you correct the problem and can write more of 2Gb of data in the files output of your program.

Thanks to this constributions : Eduardo Valdebenito (i don’t know your personal web-page)

JP.

October 19, 2006 Posted by jperalta | GNU/Linux | | 1 Comment

Kim Jong Il

El famoso presidetede Korea del Norte, sus pruebas nucleares de ayer fueron rechazadas en todo el mundo, pero bueno probablemente no se le castigue con nada, aunque haber producio un sismo grado 4 con su famosa prueba no es ninguna gracia voy a poner aca unas fotitos de el para el recuerdo.

kim 1

kim 2

Me encontre estas dando vueltas por la web, y lo dejo aca para recordarlo … quien sabe quizas estas fechas sean el principio del fin.

Bien feito …

Salu2.

JP

October 10, 2006 Posted by jperalta | Life in general | | No Comments Yet