Codehouse: my digital life

  • You trust in AI blindly ? Think again…

    You trust in AI blindly ? Think again…

    I\’ve decided to write my own DHCP server, for a variety of reasons: every time the DHCP of my router have to be resetted, I have to fill again, bit by bit, the manual static entries of every network component. In other words, having a server of my own making, I can more easily move……


  • Creating a minimal python development environment under Windows

    Creating a minimal python development environment under Windows

    This article explains how to get a minimal running Python environment under Windows. After exploring several alternatives, like using micromamba script which is based in anaconda, I went on researching to obtain a stripped version of Python to use as a stub for running non compiled code under Windows. Python.org has the embedded Python distribution……


  • Synchronize a remote Dropbox directory with a local one in Python

    Synchronize a remote Dropbox directory with a local one in Python

    This is the reciprocal of the latter post, in this case the remote changes are cloned locally.


  • Enable Paste in Android TV Box

    Enable Paste in Android TV Box

    If you’re the lucky owner of an Android TV Box, like me, provided by your ISP and discovered the only way to input long URLs is using the nifty GBoard virtual keyboard which have voice input in its features, and received also a wonderful remote controller just with the arrow keys, volume control, and keys……

  • Select the best GUI toolkit – part 5: Java Swing

    Select the best GUI toolkit – part 5: Java Swing

    NOTE: this the fifth part of a series. The previous article was about .NET Windows Forms. You can find the article here. Java Swing is one of the oldest GUI toolkits made by SUN, the creator of the language (the first was AWT) and had vast acknowledgment at the time. Another frameworks followed, like SWT……

  • Selecting the best GUI toolkit – part 4: Windows Forms

    Selecting the best GUI toolkit – part 4: Windows Forms

    NOTE: this the fourth part of a series. The previous article was about AutoHotkey. You can find the article here. Windows Forms is a GUI programming framework developed by Microsoft for building Windows desktop applications. It provides a set of pre-built controls that developers can use to create user interfaces for their applications. It was……

  • Selecting the best GUI programming toolkit – part 3: AutoHotkey

    Selecting the best GUI programming toolkit – part 3: AutoHotkey

    This is the third article of a series titled Selecting the best GUI programming toolkit . The latter article was about Tkinter embedded in PySimpleGUI. AutoHotkey is Scripting language to define shortcut keys for the most diverse applications under Windows, but its creators developers expanded the applications far beyond that – for the creation of……

  • Como configurar um teclado PC português para uso num mac

    Como configurar um teclado PC português para uso num mac

    Este post vai ser escrito em português, visto que a audiência vai ser precisamente os utilizadores portugueses. Num post da semana passada, escrito em inglês, dei conta das minhas dificuldades para configurar um teclado para PC para uso com um mac mini, correndo o Mac Os Ventura, e propus o uso do software HammerSpoon para……

  • SQLite integration in WordPress IS BACK… !

    SQLite integration in WordPress IS BACK… !

    Sqlite for Wordpress support is active again (there will be finally a ORM layer!?)

  • Selecting the best GUI programming toolkit – part 2 (Tkinter in PySimpleGUI)

    Selecting the best GUI programming toolkit – part 2 (Tkinter in PySimpleGUI)

    As the first toolkit to try, I selected Tkinter, since I’m versed in Python and this already comes packaged with the Python standard distribution. But, truthly speaking, I didn’t used the Tkinter API literally, but through a higher level interface provided by the PySimpleGUI library.

  • Selecting the best GUI programming toolkit – First part (planning)

    Selecting the best GUI programming toolkit – First part (planning)

    This post is a first one in a series in which I pretend to try six widget toolkits the select which is the most suited for your purposes. The way I intend to try each one is by developing a simple app launcher.

  • How to input brackets in a mac using a Portuguese PC Keyboard

    How to input brackets in a mac using a Portuguese PC Keyboard

    When you buy a mac mini without and you don’t want to spend money with a mac magic Keyboard, reusing a PC keyboard instead, and you need to use characters outputted by the right alt key (like the brackets in portuguese), you are in a trouble!

  • Redirect to your mirror at archive.org

    Redirect to your mirror at archive.org

    In case if your site goes down, and you don’t have a mirror host for your content, the wayback machine from archive.org provides you with such a thing you can make use of. Just provide your http server or web framework to detect an error (in PHP you can use the functions set_error_handler and set_exception_handler)……