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
  • AngularJS alterantive: Micro JavaScript framework on the 2017

    calendar Jan 8, 2017 · 2 min read
     en knowledgebase software
     ·
    Share on: twitter facebook linkedin copy
    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 scratch: so roll you dice, cross your finger and find plenty of AngularJS alternatives


    Read More
  • OOP is the your new legacy

    calendar Dec 19, 2016 · 2 min read
     en lang software  · erlang functional-programming ideas java javascript lisp
     ·
    Share on: twitter facebook linkedin copy
    OOP is the your new legacy

    Today I took a light rail with my son, to bring him to school. That tram is 90 years old. It has been maintained for 90 years. Milan city sold some of them to San Francisco too.


    Read More
  • Org Mode parser 0.1.2 is out!

    calendar Dec 16, 2016 · 1 min read
     en org-mode-parser  · org-mode
     ·
    Share on: twitter facebook linkedin copy

    After  a lot of time, I am very happy and excited to announce a new release of org mode parser!

    I thank a lot the contributors. In short, we have a stronger parser and a new html rendering based on jade template engine.

    Also code blocks Support for source block enclosed in  #+begin_src / #+end_src are supported and marked with special CSS class and data attribute.


    Read More
  • Oracle Auto increment trigger HOWTO

    calendar Dec 13, 2016 · 1 min read
     en featured knowledgebase sql  · oracle tip
     ·
    Share on: twitter facebook linkedin copy
    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 way.


    Read More
  • I am smarter syndrome

    calendar Nov 29, 2016 · 2 min read
     en software  · java
     ·
    Share on: twitter facebook linkedin copy
    I am smarter syndrome

    Sometimes in University I found bold young guy saying something like:

    I will reimplement this in machine language because is faster

    I will reimplement this xyz C function by my own

    My program crash, I think there is a bug in HP UNIX socket implementation

    I will ge rid of this Java Garbage Collector because it is too slow. I will reimplement all the code in my C++ routine.

     

    Belive me: your code is doomed. A full list of guys have already done your same code, found a million bugs and corrected it in the tool you want to replace because they are shitty slow, to your eyes.

    I feel your pain because I made your same mistake. Keep reading.


    Read More
  • Oracle Database Sync

    calendar Nov 22, 2016 · 1 min read
     en featured knowledgebase sql  · oracle tip
     ·
    Share on: twitter facebook linkedin copy
    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.

    1. Reverse engineer the source database using Oracle Data Modeler
    2. Now select the right arrow  shown below: sync-with-db
    3. Select the destination datasource (more here) when asked.
    4. The compare pane will enable you to compare the databases. But the default options will also use schema name to detect different object, so you will not get what you want in every scenario. In 50% of my daily job, schema are different, so you must select the options below to fix it: Select "Options" and then "Compare options". Then  de-select "Use schema property" like suggested below: magic-option
    5. Push the "Sync new object". Then push the "DLL Preview" button and inspect the generated database.
    6. Bonus: by default the tool will not include tables to drop. Inspect the two pane ad check the table you want to drop in the left pane.
    7. Refrain launching the script without proper testing. You are migrating your valuable data.
  • Pandoc: your secret best friend in document translation

    calendar Nov 13, 2016 · 1 min read
     en knowledgebase  · lisp tools
     ·
    Share on: twitter facebook linkedin copy
    Pandoc: your secret best friend in document translation

    Pandoc is an universal document converter to convert Markdown, Org-Mode, Html, Word documents from one markup format into another  After using different tools, (including GNU info and SGML). I find out pandoc vert handy.


    Read More
  • BBC Micro bit: first look

    calendar Sep 8, 2016 · 3 min read
     arduino  en featured software  · embedded
     ·
    Share on: twitter facebook linkedin copy
    BBC Micro bit: first look
    The BBC Micro bit an ARM-based embedded system designed by the BBC for use in computer education in the UK. The device has been given away free [...] [to every 11 years old pupil] in the UK, and is also available for purchase by anyone.

    This is the wikipedia definition.


    Read More
  • RaspberryPI life extender: tmpfs

    calendar Jul 15, 2016 · 1 min read
     en knowledgebase  · raspberrypi
     ·
    Share on: twitter facebook linkedin copy
    RaspberryPI life extender: tmpfs

    To increase performance and SD life of your raspberry PI 2/3, you can follow my first article on this subject.

    You can easily increase even more the SD life if you can trade a bit of RAM.

    The key idea is to take advantage of tmpfs, which can be resized on the fly too.


    Read More
  • The End of the Apple Magic?

    calendar Jun 14, 2016 · 3 min read
     en featured software  · iphone windows
     ·
    Share on: twitter facebook linkedin copy
    The End of the Apple Magic?

    I have just read what Apple shown at the WWDC 2016.

    In the 1985 Windows 1.0 was born. In a snap, the IBM compatible system evolved, and the competitive advantage of the Macintosh dried up and disappeared.

    IBM PC was cheaper and way more open.

    Like in the 1985, now in the 2016 the iPhone revolution has come to an end. After the Retina Display introduction, no real new feature was introduced. The apple Watch was beaten by competition.

    Two years passed with no true innovation (i.e. Apple Watch is not a revolution).

    The last MusicApp removed the beautiful cover navigation, and try to sell you the apple music rent service all the time, instead of let me play the music I have already bought.

    If the WWDC2016 breaking news is a new file system, it is a very poor gift. I am writing this note on a Windows 10 PC. It is not a shining operating system it freeze a bit and has still a very ugly backup engine, but MacOSX is not the “most advanced operating system” anymore, like it used be in 2000.

    MacOSX is the oldest one nowadays.

    Historically Apple system are very closed. The reason is simple: when you go to your shareholders and ask for money, you can show you have a competitive advantage, a strong set of feature no one can take apart from you. But Apple lost this war in 1985, when the high pricey Macs cannot compete with open IBMs clones.

    To be fair, IBM could open to clone market because its business was on high-end server, and Microsoft alliance will help to sell more IBM PCs.


    Read More
  • Every url you post on facebook chat can be found…

    calendar Jun 10, 2016 · 1 min read
     en  · link
     ·
    Share on: twitter facebook linkedin copy

    Every url you post on facebook chat can be found...so be careful!

    This article on Medium deeply explain this behavior.

    I am not a fan of how Facebook security is implemented: some time ago I discovered every developer could access to production, at least until 2011


    Read More
  • The Lego impossibile Revenge /2 brick prices

    calendar Apr 9, 2016 · 1 min read
     en  · lego
     ·
    Share on: twitter facebook linkedin copy

    Traditionally Lego bricks cost a lot. This guide will try to give you some guidelines on “brick best price”. First of all basic creative box seems the cheapest one. For instance the LEGO 10702 - Classic Set Creativo has 583 pieces for less then 25 € on Amazon. The cost per brick is about 4.25 € every 100 bricks.


    Read More
  • The Lego Technic Impossible Revenge Part 1

    calendar Apr 2, 2016 · 1 min read
     en knowledgebase  · lego
     ·
    Share on: twitter facebook linkedin copy
    The Lego Technic Impossible Revenge Part 1

    super-pricey-setAfter my first child reached 5 years old, I decided it was time to start my Lego Technic Revenge, together with KyloRen Star Wars lego-puppy (eh eh).

    It is very difficult to find out a good set to play with gears and so on. The big Lego Technic toys like cars and so on are sold without nice pieces to link with “normal bricks” (see below the red one).


    Read More
  • Lego quicklinks

    calendar Mar 1, 2016 · 1 min read
     en  · lego
     ·
    Share on: twitter facebook linkedin copy
    1. A dump of the Lego set database. It is from 2014, but it could be a good starting point for your own database needs
    2. A stocking and stackable lego strategy
    3. A web site to know what else you can build with your pieces.
    4. A replacement part site with manual download too.
      1. By the way search 10188 for death stars replacement (red/blue swords!)
      2. 10179 for millenium falcon
  • Finding the good one: mithril

    calendar Feb 21, 2016 · 2 min read
     en featured knowledgebase  · good great-ideas javascript javascript-war
     ·
    Share on: twitter facebook linkedin copy
    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 to organize code. But when you're at tens of thousands of lines of code, you start to run out of entity types to CRUD, and your application growth starts to build on top of existing concepts. This is when you need the mental shift from being a library consumer to being a reusable component author,

    This clever guy is the creator of Mithril, a very small, well crafted javascript library a friend of mine pointed to (via github…):


    Read More
    • ««
    • «
    • 12
    • 13
    • 14
    • 15
    • 16
    • »
    • »»

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