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
  • Property Based Testing Tool

    calendar Nov 30, 2015 · 1 min read
     en  · erlang
     ·
    Share on: twitter facebook linkedin copy

    Tonight I stubled upon PropEr, a Property based testing tool for Erlang. It seems a very smart idea: instead of writing a single unit test, you write a set of properties your code must satisfy.

    From the site:

    A property-based testing tool, when supplied with this information, should randomly produce progressively more complex valid inputs, then apply those inputs to the program while monitoring its execution, to ensure that it behaves according to its specification, as outlined in the supplied properties.

    QuickCheck is the father of PropEr: give a try to thw wikipedia page to see if your language is supported and start a new way of doing…Test Driven Developement!


    Read More
  • dos2unix for poor basic unix

    calendar Oct 28, 2015 · 1 min read
     en knowledgebase  · unix
     ·
    Share on: twitter facebook linkedin copy
    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]


    Read More
  • Org Mode Parser 0.1.1 is OUT

    calendar Oct 9, 2015 · 1 min read
     en featured knowledgebase org-mode-parser  · nodejs org-mode project
     ·
    Share on: twitter facebook linkedin copy
    Org Mode Parser 0.1.1 is OUT

    Hi all,

    I have released version 0.1.1 of org-mode-parser for nodejs

    Org mode parser is a parser for reading Emacs org-mode files in nodejs.

    This version  has been ported to VisualStudio Community Edition 2015, so you can develop easily under windows too (but only if you really want :)


    Read More
  • Expo2015 Last minute Guide

    calendar Sep 19, 2015 · 1 min read
     en knowledgebase  · trip
     ·
    Share on: twitter facebook linkedin copy
    Expo2015 Last minute Guide

    Expo 2015 will close at the end of October. Because I enjoied it a lot, I’d like to give you some advice on Expo, Milan and Italy.expo2015-1

    First of all, buy ticket on line and grab a map once in. The Mobile application suck a bit, so I preferred a paper map (I am too much analogic?).


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

    calendar Sep 1, 2015 · 1 min read
     en knowledgebase  · bad oracle relax sql
     ·
    Share on: twitter facebook linkedin copy
    ORA-01461: can bind a LONG value only for insert into a LONG column

    Disapprove with me! Disapprove with me!

    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 a


    Read More
  • Get rid of SVN under Windows

    calendar Aug 4, 2015 · 1 min read
     en knowledgebase  · git subversion
     ·
    Share on: twitter facebook linkedin copy
    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…


    Read More
  • Rasperry Pi 2 Server Setup

    calendar Jul 28, 2015 · 1 min read
     en
     ·
    Share on: twitter facebook linkedin copy

    This small guide will help you to increase the security of your raspberry and transform it in a 24x7 running server.

     

    Security in place

    Here a small check list with external references:

    1. Change pi password.
    2. Disable SSH Password Authentication and Root Login. Root login should be already disabled on recent distributions.
    3. Consider installing remote logging. Siemless is a cloud based service which will load all you logs via a vpn, and provide a raspberry-pi guide too.
    4. Configure a firewall

    For ease of use, I suggest putting in place webmin:


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

    calendar Jul 21, 2015 · 3 min read
     arduino  en featured knowledgebase unix-featured  · raspberrypi
     ·
    Share on: twitter facebook linkedin copy
    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 pi can be a lot more than that.nippon-gio


    Read More
  • Erlang: a lesson to learn…again!

    calendar Jun 25, 2015 · 5 min read
     programming_languages  en erlang evergreen featured knowledgebase lang  · erlang good great-ideas
     ·
    Share on: twitter facebook linkedin copy

    Erlang is a great language.

    [2019-UPDATE] Erlang 22 is OUT, so I wanna to come to the party!

    On April 2015, Erlang father’s Joe Armstrong give us a very interesting lesson I want to tell about.

    There was a long thread titled “Erlang and Akka, The Sequel” on the erlang mailing list, reasoning about the need of some standard pattern on Promises and Future. A lot of JavaScript libraries deal about that (also jQuery has its implementation). I want to report the Joe Amstrong reply because it give us a very clear understanding on the reason Erlang is different and you should at least try it once.


    Read More
  • Arduino Stereo sid

    calendar Apr 6, 2015 · 1 min read
     arduino  en featured knowledgebase retro-computing software software-projects
     ·
    Share on: twitter facebook linkedin copy
    Arduino Stereo sid

    Arudino StereoSID emulates the SID sound chip of the famous Commodore 64. It is based on the Atmega8 MOS6581 SID Emulator from Christoph Haberer. Library conversion and memory optimization by Mario Patino. Stereo Effect by Giovanni Giorgi

    https://github.com/daitangio/sid-arduino-lib

  • Debian perfect work environment

    calendar Sep 28, 2014 · 3 min read
     en featured software unix-featured  · ibm linux oracle unix virtualization
     ·
    Share on: twitter facebook linkedin copy
    Debian perfect work environment

    Working in a big company, my work laptop came with MS-Windows7 Enterprise installed. But as you imagine, Unix is my preferred desktop environment. So let’s how to configure a perfect Debian Linux for a old wolf consultant like me. You will be able to install commercial software mubmo jumbo like Oracle Express and IBM Websphere in a snap, and have a 64 rock solid system, easy to bring in a USB stick if you like.


    Read More
  • Rebar poor proxy git fixer

    calendar Aug 14, 2014 · 1 min read
     en erlang knowledgebase  · easy erlang fix git
     ·
    Share on: twitter facebook linkedin copy
    Rebar poor proxy git fixer

    Sometimes you are behind a http proxy, and the git:// protocol is not accessible.

    For instance on erlang rebar, all developers  prefer the git:// protocol when listing dependency. But how to fix it if you are behind a http proxy?

    Ask help to git… [bash] git config –global url.https://github.com/.insteadOf git://github.com/ [/bash]


    Read More
  • Er Zauker v0.0.5: Let it go

    calendar Aug 1, 2014 · 1 min read
     en erlang  · code-zauker er-zauker erlang
     ·
    Share on: twitter facebook linkedin copy

    Let it go, let it go! Can't hold it back any more. Let it go, let it go! Turn away and slam the door. ... Let it go, let it go. I am one with the wind and sky. Let it go, let it go. You'll never see me cry.


    Read More
  • Git Recovery commands

    calendar Jul 24, 2014 · 1 min read
     en  · git
     ·
    Share on: twitter facebook linkedin copy

    [bash] git fsck –full –unreachable [/bash]

    See also Maintenance-and-Data-Recovery on the Git book

  • Axis2 Debugging options

    calendar Jul 23, 2014 · 1 min read
     en  · apache java
     ·
    Share on: twitter facebook linkedin copy

    Web service interoperability is a nightmare. But it is easy to understand what is going on: just enable debugging! On Axis2, you can do it with the folowing java options…

    [bash] -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showdatetime=true -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug -Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=debug [/bash]

    • ««
    • «
    • 13
    • 14
    • 15
    • 16
    • 17
    • »
    • »»

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