External monitor on linux laptop (nvidia)

Goal The goal of this effort was to use an external monitor or projector on a Linux based laptop (running Ubuntu Linux) equipped with a Nvidia video card: should not require laptop restart should not require X restart should be simple enough Hardware Dell Inspiron 8600 and Dell Latitude D820 with Nvidia graphics card running at 1680×1050 External LCD monitor capable of 1680×1050 (this might not be always the case but surely the solution can be adapted) First try My first try was to just plug the monitor and press the Fn + F8 (CRT/LCD) button....

<span title='2007-03-18 18:23:36 +0000 UTC'>March 18, 2007</span>&nbsp;·&nbsp;len

Small VOIP platform for distributed sales force

Our strategy is to allow people work remotely and concentrate more on results than spending a fix number of hours in the office. The goal of this project was to allow the sales people which work remotely to call clients over the internet using the phone lines from the headquarters. Other goals: integration with our sales platform (www.solis.ro) can call using the data from the CRM reporting using the integrated tool...

<span title='2007-03-06 03:04:49 +0000 UTC'>March 6, 2007</span>&nbsp;·&nbsp;len

Graph web representation (conclusions)

Updated 18-oct-2008: There is a great solution in Flex which I have used for this and this projects. Conclusion The problem of representing a graph on the web is not a solved one. On the desktop application side there are lots of tools which can handle large graphs with nice visualization but on a web page the choices are limited. For the given problem of representing a set of nodes connected through lines in order to illustrate the elements of an application I have tried the following:...

<span title='2007-02-02 20:21:26 +0000 UTC'>February 2, 2007</span>&nbsp;·&nbsp;len

Graph web representation, dojo.gfx

Dojo.gfx I recently searched about a javascript/ajax way of rendering graphics to a web page and the best choice seems dojo. What dojo does (and other similar libraries also) is to render SVG graphics for the browsers which supports it and VML for IE. Of course IE has his own special standard and cannot render SVG without an Adobe plugin. Here is some code which renders 3 rectangles and the connecting lines in dojo (similar to the result of the image from the first part):...

<span title='2007-02-02 19:39:01 +0000 UTC'>February 2, 2007</span>&nbsp;·&nbsp;len

Graph web representation (java)

Prev: Goal, html, image representations Next: dojo.gfx Java applet Still searching for some way to represent a graph in a web page I remembered that lot of time ago I found a library called touchgraph and stayed one night to code an applet using it in order to dynamically represent the sitemap of my oldest site. I almost had forgotten about that work but was able to find it in CVS (good for...

<span title='2007-02-02 19:17:07 +0000 UTC'>February 2, 2007</span>&nbsp;·&nbsp;len

Graph web representation

Goal When my Solis product manager came to me with a file representing a list of the application functionalities asking me how to present then on the web I naturally started searching for various solutions. The problem: representing a graph (or more simply a tree) to the web. This articles describes the various tests I have done: plain html, java applet, plain image, dojo.gfx. Plain html The plain html strategy is the simplest one and I will not go over it in detail as the result is the classical site tree....

<span title='2007-02-02 18:30:40 +0000 UTC'>February 2, 2007</span>&nbsp;·&nbsp;len

Product (skin) localization

The goal With a plone site you can do a lot of localization using the linguaPlone product. This is a great tool even if it still has some problems with the localization of folder default pages (folders which have a page as custom view). But in a custom skin there are also elements which need some localization. In my case it was the left side portlet which needed romanian and english localization....

<span title='2007-01-27 14:37:40 +0000 UTC'>January 27, 2007</span>&nbsp;·&nbsp;len

Price of work

It’s now more than 16h of work for today. My mind hardly commutes any neuron. With pauses no greater than 5 minutes I have been sitting in my comfortable chair in front of my 2 computers codding, debugging, testing, software applications. I’m struggling with a fight I don’t know how to fight. I’m driven to work and to finish my tasks, to finish a work which never finishes. I’m driven to eat in order to give my poor neurons a bit more energy juice....

<span title='2007-01-26 12:20:31 +0000 UTC'>January 26, 2007</span>&nbsp;·&nbsp;len

Migrating Mantis from mysql 4.0 to 5.0

Goal: migrate the Mysql 4.0 mantis database to Mysql 5.0 Backup the database The wrong way: mysqldump --opt --password=xxxx mantisbt > mantisbt.sql This is a bad way because Mysql 4.0 stores the database in latin-1 encoding and if you later convert the .sql file to utf-8 the blob’s will also get converted (destroyed) and they will not be correctly imported later. The good way: mysqldump --opt --password=xxxx --allow-keywords --flush-logs --hex-blob --max_allowed_packet=16M --quote-names mantisbt > mantisbt....

<span title='2007-01-10 13:35:50 +0000 UTC'>January 10, 2007</span>&nbsp;·&nbsp;len

SOM neural networks

The SOM (self organizing maps) are some very intuitive neural networks. There are a lot of more detailed description of these networks but here is a more intuitive description. You have a number of neurons usually arranged in a 2D or 3D grid, each neuron has an associated weight vector. The input, which is a vector of the same size as the weight vector is connected to each neuron. The natural association is that each vector is a point in an n-dimensional space....

<span title='2007-01-05 14:32:19 +0000 UTC'>January 5, 2007</span>&nbsp;·&nbsp;len