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
  • Bash secret powers

    calendar May 14, 2014 · 3 min read
     en  · bash file python scripting unix
     ·
    Share on: twitter facebook linkedin copy

    Bash scripting has evolved a lot in the last ten years.

    I get used to relay on bash for all normal “data domination” tasks (like file system refactorings, database extraction and reporting and so on) and switching to python/ruby/perl when the complexity gets bigger. I didn’t imagine bash is even more powerful :) This article by Robert Muth so you new nice tricks: I  add here some other like mapfile and stress the most important one.

    Update 2016 Last but not least,if you do now know about bash history, this link will teach you a huge set of tricks Updated 2019 Bash Bible will further extend the topic.


    Read More
  • New Theme Juggling

    calendar May 8, 2014 · 1 min read
     en site  · gioorgi-com
     ·
    Share on: twitter facebook linkedin copy

    After some year, we decided a new theme shake up..


    Read More
  • Emacs Tips

    calendar Sep 1, 2013 · 1 min read
     en knowledgebase software  · emacs
     ·
    Share on: twitter facebook linkedin copy
    Emacs Tips

    Userful Commands:

    1. keep-lines
    2. sort-lines
    For more similar options, see this "working with lines"

    For playing with rectangles of text, see this tip


    Read More
  • 2013 Spotify Daitan Mix

    calendar Aug 15, 2013 · 1 min read
     en
     ·
    Share on: twitter facebook linkedin copy

    spotify  

    http://open.spotify.com/user/1169393101/playlist/6GjrQ0EjyucEZkXaIPRH5A And yes I love POP…:)


    Read More
  • Oracle Invalid number ORA-01722

    calendar Jul 15, 2013 · 1 min read
     en knowledgebase sql  · bad bug oracle sql
     ·
    Share on: twitter facebook linkedin copy
    Oracle Invalid number ORA-01722

    I stumbled upon a very brain-f**k error on Oracle 10g on these days.

    Context: the following query [sql]SELECT * FROM (
    SELECT TO_NUMBER(CUSTOMER_ID) AS SNDG FROM BAD_CODES_TABLE WHERE
    AND I_LIKE=UPPER(‘STATIC_CONDITION’) AND CUSTOMER_ID NOT LIKE ‘%P%’ ) S WHERE TO_NUMBER(S.SNDG) >2000[/sql] could trigger a Invalid number if CUSTOMER_ID column contains invalid numbers.

    Why?

    Well…if you ask to “explain plan”, you will get something like

    • a table full scan
      • Filter Predicates AND
        • I_LIKE=UPPER('STATIC_CONDITION')
        • TO_NUMBER(S.SNDG) >2000
        • CUSTOMER_ID NOT LIKE '%P%'

    Read More
    • ««
    • «
    • 43
    • 44
    • 45
    • 46
    • 47
    • »
    • »»

Recent Posts

  • FatLama: Open?
  • Misterio Is Back
  • Netflix retro weird spirit
  • Yakuza Blues
  • FreeBSD on MacBook Mid 2009 with BroadCom WIFI
  • 6,76%
  • Il tizio con il cappello che crede di comandare il mondo intero

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top