Here is a picture of the internal board of my newly aquired Emtec S800 PVR. It works on Linux but Emtec was not so kind to provide the sources of the PVR application (there are some sources of an alternative OEM – Ellion available on the net). I needed to open the box to put…
How to convert DVD iso to avi using mplayer
Here is a python script to convert an .iso of a DVD to avi and to encode it using mpeg4. It is a slightly modified version of the script found at http://lists.mplayerhq.hu/pipermail/mplayer-users/2003-April/032226.html to work with newer versions of mplayer/mencoder. Later edit: It seems that mplayer/mencoder know to play/convert .iso files directly so we can do:…
How to convince the SmartGWT ListGrid to automatically fetch from the server only the data it displays
Since I was looking all over the net how to do this and I only found pieces of information, here is an example: [java] public class OperationsGrid extends ListGrid{ OperationsGrid(){ super(); TreeGridField accNoField = new TreeGridField(“accountNo”, 150); TreeGridField commentField = new TreeGridField(“comment”, 150); setFields(accNoField,commentField); setHeight100(); setWidth100(); setAutoFetchData(true); setAlternateRecordStyles(true); setDataSource(OperationsDS.getInstance()); setShowFilterEditor(true); } } [/java] [java] public…
MySQL Java SQLException error codes enum
Because I had this problem and I could not find a list of MySQL error codes on the Internet, I’ve decided to implement my own MySQL error codes enum. It is based on MySQL 5.1.35 sources, include/mysqld_ername.h file. Now I can do something like this: [java] catch (SQLException e) { if(e.getErrorCode() == MySQLExceptionCode.ER_DUP_ENTRY.getErrorCode()){ r =…
Midnight Commander Returns
The development for Midnight Commander seems to be revived. There is a new site that supports it’s development at http://www.midnight-commander.org They are keeping the sources on a git repository and they accept patches. This is good news for me, as I have some old issues with Midnight Commander and this might stimulate me to fix…
Cifs problem in Gentoo
If you encounter the following error when you try to mount a cifs filesystem: CIFS VFS: cifs_mount failed w/return code = -22 try to: #emerge mount-cifs I did not find any indications on the net that a separate package should be installed in order to use cifs. Later Update: same problem in ubuntu, you need…
GWTpedia
As I started to look at GWT and its related widgets, tutorials and utilities, I thought that it might be an idea to put the information together into a Wiki site. This way, GWTpedia.com was born. Everyone is free to edit.
Word generator
Here is a python script to generate words using Markov chains. The archive also contains some dictionaries (English, Romanian, Romanian names). This is similar with http://www.fourteenminutes.com/fun/words/ but you have the possibility to use your own word dictionaries.