develCuy's blog

Multiseat, Multiterminal, Green computer

It is sad to me that my old compaq nx9030 has been sold :( but thanks to God now I have a new Toshiba a205-s5804. This baby is running with Debian sid amd64 kernel because his Dual Core T2330 processor supports EMT64.

Seems powerful right?, well, my wife used the old laptop until has been sold, and now we got "fighting" to use the new toshiba... then, in order to preserve my marriage and aid the hearth by saving energy cost, we decided to use it at the same time, how?

Posted In

HOWTO Screencasting from console with sox and ffmpeg

I'm consternated with my Debian sid, I can't capture my screen with xvidcap or istanbul anymore, marvil told me that they work in Ubuntu, why not in Debian?

It was a pain the ass to research for a good an usable solution for me, because I have an old laptop CPU(Centrino 1.8Ghz), but 2 weeks later, here is the best solution I found at the moment. Sox is a "Swiss army knife of sound processing" with sound recording capabilities and ffmpeg is a "multimedia player, server and encoder" with screen capture capabilities.

Posted In

EXA, XAA, Xorg and Firefox memory leak

One month ago I was experiencing memory leaks with Firefox.
I did a fast check with "top" command and seen that when Firefox was running it started to overcharge Xorg, making it to use more and more CPU and Memory resources, near 95%!!!!!!!!
So I've decided to use Opera. That was a nice experience to use that super-fast browser. The problem is that Firefox is a key tool for my working day (I'm web developer).
Today I've launched Opera from the command line, and noticed this warning:
"opera: X Shared memory extension is not available. ZPixmap not supported"

Posted In

Access Visual Foxpro Tables(Vfp Dbf) from Linux

It is one of my first posts in english(recovered from: http://www.linuxforum.com/forums/index.php/topic,137025.0.html):

I don't know if it is new, but today, alfer a large week of intensive
research, finally i had discover a way to access visual foxpro
databases directly from linux. What do you need? download, compile and
install CLIP from http://sourceforge.net/projects/clip-itk/ then put
the vfp table into the same directory of the next script:

file: testdbf.prg

use dbftable
list columnname

Posted In

Drupal API: Javascript Startup Guide

"There are three main difficulties that an inexperienced developer faces when trying to understand JavaScript as used in Drupal:

  1. The lack of documentation,
  2. The OOP style of programming,
  3. The confusion between all the different elements and API involved

"
Complete article at Drupal API

Blessings!

Powered by ScribeFire.

Posted In

Why I ported from Joomla to Drupal ?

Let me talk about the history(hehe)
I was webmaster of somesite.com from october 2006 to march 2007.
In January 2007, my new boss wanted to port current home made CMS to a solid platform.
My boss choice was Java, using JBoss(I still smile when remember). I've made research by 3 weeks...
Drupal was the winner, core+community comply at least 80% of full somesite.com functionalities,
the other missing had to be just 2 months of customization and integration of special funcionalities, then the theme and final testing.

Posted In

Recipe to make your living from Open Source (from DSL Damn Small Linux)

I was thinking a lot on it: "How do we make a living while doing what we love?"
May be here is the answer for you http://www.damnsmalllinux.org/income-guide/intro.html
Blessings!

Posted In

Power-off button not working? ACPI-TOOLS found!

Oh! my Goodness, finally I found that package.

I was not able to turn off my laptop because acpi events handler was "miss-functional" since 3 months ago. Why?

Because the package was split in two: acpi and acpi-tools, and when I've updated my Debian sid, it does not cares about the new package. Solution:

# apt-get install acpi-tools

I've you were victim of this error, please submit a comment with your impressions.

Blessings!

Posted In

GLX fix for i915, benefits for OpenGL applications on many Intel Graphics chipsets

Today I decided to upgrade my debian(leny) box. The process was a classic/easy:

# apt-get dist-upgrade

Then I restarted my computer and Oh! my God!!! there seems to be something diferent, my hearth speed up and then I decided to test compiz-fusion.... Great! this is finally working!!!

Please forgive me, I've forget to explain that I use a relative old HP laptop: Compaq nx9030, that comes with i915 compatible Intel Graphics chipset:

# lspci

Posted In

How to fix: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout (Debian/lenny)

Finally I got some hours to rest and play my guitar. Then I opened my xterm and tried to run tuxguitar(to practice: ysellamaperu.mid from "El Rincón Musical Peruano") but....
There is a terrible and poor in expression "bug" (like 99% of "yankee" code):

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/eclipse/swt/widgets/Layout
Posted In