open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • Programming is being crystal clear

    calendar Aug 14, 2023 · 1 min read
     en knowledgebase  · programming
     ·
    Share on: twitter facebook linkedin copy
    Programming is being crystal clear
    August throughts
    Programming is like writing.

    Code must be easy to read, and understand. For this reason I do not like very much technologies like:

    1. Aspect oriented programming
    2. SQL Triggers
    3. Web filters
    4. Last minute event listeners (like the one check before an entity save and 'patch' some data on the fly or launch additional events).
    These technology are nice,  but works 'outside' the logic of a piece of code you are writing/reading, and are mostly side effects.

    Side effects are the evil of programing in my humble opinion because can create unexpected bugs.


    Read More
  • Simple estimation rules for young programmers: 2,3,5

    calendar Jun 9, 2021 · 3 min read
     en  · programming
     ·
    Share on: twitter facebook linkedin copy

    I am not a project manager-born killer, but I learned a lot in my tiny life (and with 20+ experience, I am more or less in the middle of my career).

    My rules when I must do an estimation are

    1. Tune your estimation on the context. To make simple the explanation, I will divide the estimation in categories; for instance take the fine grained and big cost estimation ones. All fine-grained estimation tasks should be between 2 and 10 days (it is an example). Big cost models are done with 10x or 20x days multiplexer Avoid mixing small estimation with bigger one (i.e. do not mix a task of 5 days with a task of 20 days, reason below).
    2. Never never never estimate a task less than two days. As one of my boss said, if you ends before your estimation, no one will complain; but be late of a day...also you have no chances to increase it after declaring it. Every time you open your IDE or answer to a call, two days are gone. In a small company I worked for, it was forbidden to have less than two days on a SAP time capture, because admin's customer invoice management overhead was higher than supposed gain.
    3. For fine grained estimation follow the 2,3,5 rules, if possibile
    If you follow me, you will end up with a set of tasks with a low standard deviation from the average value. Why this is important? Because estimation is an art.

    Suppose you have done a wrong estimation on a task, haven’t you?


    Read More
  • Learning Emacs Lisp: the fast track!

    calendar May 6, 2013 · 2 min read
     en  · emacs ideas lisp programming
     ·
    Share on: twitter facebook linkedin copy

    Ops I did it again. Although I repeatedly said I didn’t love emacs Lisp, I finally managed to learn it. So I want to share with you my tips, to help entering in the Emacs Lisp world in a fast, fun and easy way.

    First of all Lisp is a very elegant language, as you may expect. Lisp is so elegant you will have to take your time to learn it, because it is a bit cryptic. To make things even worst, emacs function names are less than intuitive. The solution anyway is here: cookbooks!


    Read More
  • Da Python a Ruby o vicerversa

    calendar Jan 12, 2012 · 3 min read
     it knowledgebase python  · ideas programming python ruby
     ·
    Share on: twitter facebook linkedin copy
    Da Python a Ruby o vicerversa

    Preludio

    L’ultima volta che ho provato Ruby è stato nell’aprile del 2005. Avevo sviluppato un paio di progetti di test in RubyOnRails, che allora era già produttivo. Ruby era affascinante, ma la libreria base mi sembrava ancora in stato embrionale e lo abbandonai. RubyOnRails non mi è mai sembrato avesse un vantaggio competitivo rispetto a framwork come CakePHP o Python Django.


    Read More
  • SQLite alter table

    calendar Jul 25, 2010 · 1 min read
     it sql  · cute embedded programming small smart sql sqlite
     ·
    Share on: twitter facebook linkedin copy

    SQLite is a small, powerful embedded database. A friend of mine started using it about six years ago. Some years ago it comes also on top of  Python 2.5. It is used inside

    • FileMaker Bento: its ultra customized model is based on a big sqllite db
    • DropBox client, to store its internal state
    • iPhone: stores your SMS and also other stuff. It is widely used by apps.
    • Apple Safari uses it for HTML5 storage support
    • Google Gears uses it
    • ...and in a lot of embedded product.

    I was annoyed because until version 3.1.3 SQLite did not provide an alter table syntax but… it is quite easy to emulate it with something like this, even if it required a bit of work:


    Read More
  • iPhone programming

    calendar Apr 28, 2008 · 3 min read
     blog-objectsrootcom en  · ant apple bad book books build code developement development easy features good guide ideas interface iphone ipod java linux macosx make nerd news programming small smalltalk table touch trip ui vi war
     ·
    Share on: twitter facebook linkedin copy
    iPhone programming

    iPhone is the brand-new Apple product which has changed the way Apple thinks. Because of iPhone, Apple strip the word "Computers" from its brand name. And because of iPods and iPhone products, Lepoard developmenet slip a bit, blurring the focus on pure technology.
    To be true, I do not beat on  the iPhone success, but the product success is at least  bright this year. And the iPod touch has also added value to the iPods product catalog. But I am an IT-man, damn you boy! So I want to buy it to play with it, to program with it!


    Read More
  • Javascript and Smalltalk

    calendar Feb 15, 2008 · 3 min read
     blog-objectsrootcom en software  · ajax ant build car code development easy features fix future git good hard html http interface java javascript jquery performance ping programming project sage script simple small smalltalk squeak system tip ui usa vi war web
     ·
    Share on: twitter facebook linkedin copy
    Javascript and Smalltalk

    There is a future for SmallTalk? I was a very strong fan of the SmallTalk language, but in the last five years I have seen more and more contraction of its usage in the IT field.

    The OLPC project, which uses also Squeak Smalltalk and its done by the core team fo Squeak, is not going very well.


    Read More
  • pezzent programming

    calendar Dec 22, 2007 · 2 min read
     blog-objectsrootcom it software  · ant cute fatti fini formazione import programming rim ui usa vi war
     ·
    Share on: twitter facebook linkedin copy
    pezzent programming

    Si fa un gran parlare di Extreme Programming? Ma se non volete fallire, su quali basi la vostra azienda deve veramente reggersi? In questo articolo vediamo un excursus sul Pezzent Programming, usato nella produzione industriale di Dolci

    Estratti dal manuale del Pezzent Cooking Management:


    Read More
  • extremeX2

    calendar Nov 8, 2007 · 2 min read
     blog-objectsrootcom humor it  · ant arc car programming project rim test tip ui usa vi web windows
     ·
    Share on: twitter facebook linkedin copy
    extremeX2

    Prima la buona notizia:Extreme Programming (XP) funziona!

    Attenzione: articolo rivolto a persone con il senso dello humor!!

    Esistono solo alcune banali dettagli e qualche nefasto fattore da tenere sotto controllo, ma per il resto funziona.

    Io, che ormai sono acclamato come esperto di crepes e consulente da quasi dieci anni, sono qui per mettervi al corrente del Verbo di XP. 


    Read More
  • Software Trends1

    calendar Oct 12, 2006 · 2 min read
     blog-objectsrootcom en lang software  · ant apple book commercial developement ejb ibm ideas italy linux news perl php ping programming programming-languages project python ruby site small smalltalk smart squeak system trends ui vi war web
     ·
    Share on: twitter facebook linkedin copy
    Software Trends1

    The trends of this october are about some upcoming products. A clear analisys of QuarkXPress failure is sketched in roughlydrafted site. I do not think the same consideration can be applied to Vista.

    As Joel said, M$ can throw away much money before only starting to see its market reduced.


    Read More
  • The Project Manager

    calendar Jun 28, 2006 · 1 min read
     blog-objectsrootcom en  · ant evil fini java linux programming project steve trouble ui vi
     ·
    Share on: twitter facebook linkedin copy
    The Project Manager

    Steve is not a normal solution provider.
    Steve is the final destination for Project Management troubles.

    Let's see how Steve can solve problems

    The Ten Steve Rules

    1. If you have a customer you can get my attention
    2. If your project is run out of time and you need to finish the product yesterday, you will face a disaster. Call me
    3. Cannabis programming is too light
    4. You cannot offer a Lunch to Steve, unless you have four ticket resturants and at least one more for you
    5. Are you saying you need more time to finishing the use case? These are details. If you cannot get it in the required time, I will fire you (Loading a gun): in the real sense.
    6. Peace and calm are an useless evil.
    7. True Metal Hackerz get the work done in less time then you
    8. Linux has a a cold bird as Logo. This is enought to kick it off the project.
    9. I prefer Illy over Java, sorry
    10. There isn't a tenth rule

Recent Posts

  • Arduino Q da far crescere
  • Postgres Take it All
  • La ruota del Destino
  • Darth Android
  • Vps Provider
  • Chat
  • RSS Readers

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top