Knowledgebase

The Knowlege base arranges tips and userful informations scattered on the web.
For more information, take a look to the introduction

La mia esperienza nell’open source

Nel 2011,  per studiare node js creai un progetto chiamato OrgModeParser. Org Mode è un package per l’editor Emacs, ed è pensato per tenere note strutturate, pianificare progetti con una schedulazione, mantenere una lista di cose da fare e generare poi documenti word o html da tali file in modo piuttosto efficace. Il package è …

La mia esperienza nell’open source Read More »

AngularJS alterantive: Micro JavaScript framework on the 2017

AngularJS is indeed a good framework, but if you lose some grip on it (i.e. you go in vacation for 2 weeks), it is very complex to re-grasp. Also I have seen junior JavaScript developer confused my $scope use. JavaScript on client side has damned destiny: it is too easy to develop a framework from …

AngularJS alterantive: Micro JavaScript framework on the 2017 Read More »

Oracle Auto increment trigger HOWTO

Oracle SQL Developer is full of nice feature, damned by a overwhelming options pane, like the one I will describe to you right now. Even if  Oracle databases (<12) does not support auto increment, you can easily ask to your sql data modeler to generate for you a sequence and a trigger in a automatic …

Oracle Auto increment trigger HOWTO Read More »

Oracle Database Sync

Oracle SQL Developer is full of nice feature, damned by a overwhelming options pane, like the one I will describe to you right now. I will show here a very fast way of comparing different database and auto-generate migration script. Reverse engineer the source database using Oracle Data Modeler Now select the right arrow  shown …

Oracle Database Sync Read More »

Finding the good one: mithril

I have just read this insightful statement on this blog article about congitive load in Javascript jQuery is undoubtedly useful when dealing with browser quirks, but once an application grows over a few thousand lines of code, unstructured jQuery code simply becomes too difficult to maintain, and you start needing the discipline of a framework …

Finding the good one: mithril Read More »

dos2unix for poor basic unix

Do you have cygwin base install right? So no dos2unix…you can convert a windows file to unix format with a small tr command like tr -d ‘\15\32′ < winfile.txt > unixfile.txt I prefer the awk way of life: [bash] awk ‘{ sub("\r$", ""); print }’ winfile.txt > unixfile.txt awk ‘sub("$", "\r")’ unixfile.txt > winfile.txt [/bash] …

dos2unix for poor basic unix Read More »

ORA-01461: can bind a LONG value only for insert into a LONG column

Okey, you know Oracle. A very good database, a very old database, a very solid rock. Not famous for its error messages. I have already stumbled upon a misleading error on the old rock. This error anyway is incredible. If you try to push a very long text in a varchar2, you can end up with …

ORA-01461: can bind a LONG value only for insert into a LONG column Read More »

Get rid of SVN under Windows

Another subversion repository Wellcome in 2002 subversion users! Some very old and stable customers has just discovered Subversion. Bad luck: a lot of cool  open source software are on git already! You can leave them with the old-as-your-grandpa subversion system, but you can develop with git in your local directory… Migrating from SVN to git under …

Get rid of SVN under Windows Read More »

RaspberryPi 2: The perfect box for your backpack

After my two children grow a little, I have some spare time to play with RaspberryPi. I have bought a Raspberry Pi 2 Model B, a very neat and compact machine with 1GB of RAM, and a quad-core ARM chip on it. I was looking for an easy-to-carry unix box, and I was wrong: raspberry …

RaspberryPi 2: The perfect box for your backpack Read More »