Evilham

Evilham.com

FreeBSD: Installieren

Introducció

He hagut de fer servir les meves paraules d’estiu per qüestions personals i professionals; així que la continuació d’aquell fil d’idees ha trigat una mica en arribar.

Per coses de la vida, aquests dies ha arribat un mini-server a les meves mans. Així que agafarem un petit desviament en coses “tècniques” abans de tornar al per què, que és segurament la única cosa que importa al final.

Aquí agafarem aquest mini-server i hi instal·larem FreeBSD com a sistema operatiu.

Per què és interessant? Doncs aquesta màquina tindrà certs serveis digitals que sempre està bé tenir sota el nostre control.

I el procés, des de zero, no és una cosa que es documenti habitualment en aquesta llengua ;-).

Weiterlesen!

Sommerwörter

Introducció

Dilluns, tarda d’estiu pandèmic. Temperatura, massa alta; humitat relativa, 9001%; vent, gairebé inexistent; estat de la mar… tranquil·la.

Així és com llegeixo que una escriptora, encoratja persones des de fa un parell d’anys a escriure 1000 paraules cada dia en sessions de dues setmanes, un parell de vegades l’any. I que això, que es diu #1000wordsofsummer, comença avui.

Penso:

Hauria d’escriure més, em cal més pràctica.

M’hi apunto! Si més no, es pot intentar. El pitjor que pot passar és que ho deixis en #500wordsofsummer, que tampoc està gens malament; o que ho facis dos dies i ho deixis, que tampoc passa res. ¡Dale!

Com a motivació, fes-ho en català, que últimament no hi escrius gairebé mai.

Així doncs, sobre què escric? El que més bé se’m dóna (per a alguns valors de b) és escriure qüestions tècniques, i no és una cosa que es trobi habitualment en català.

Vet aquí que, en un acte subversiu lingüístic: escriurem qüestions tècniques en català.

Però… Qüestions tècniques sense rerefons tampoc és una cosa que em motivi del tot.

Solució: popurri d’actualitat amb motivacions socials, per tal d’aconseguir un fil conductor per quatre coses tècniques amb cohesió i coherència internes justetes però, amb una mica de sort, existents. Som-hi!

Weiterlesen!

Phabricator: batch audit

Introduction

At work I use phabricator to collaborate with my employees, usually I know what they are working on and have a rough idea that things are going fine, so we currently don’t rely on pre-commit code reviews, which are a wonderful tool, but instead rely on semi-regular audits. (Check this for an overview on phabricator reviews and audits)

This means, that every once in a while, I have to go through my audit queue and check that indeed things are going mostly alright. I raise concerns about particular changes seldom, because of a fluid communication, so I mostly just read and accept changes to keep having a reasonably up-to-date overview.

The issue is: phabricator‘s UI is very slow for this workflow.

The good news is that it has a very good API that allows automation of many things.

This is about how I implemented phabaudit.sh, a batch audit workflow for phabricator that works-for-me(tm).

Weiterlesen!

FreeBSD updating a port: Twisted python

Introduction

FreeBSD is a wonderful Operating System, one of its many interesting ideas is a division between the base system and other pieces of software, which are called ports.

Since FreeBSD is an operating system, this also means that there are exactly two source trees or repositories: the main tree (base system) and the ports tree.

The base system is developed together and therefore is kept consistent, whenever an API or a behaviour changes, all pieces of the base system must be updated as well.

This makes changes somewhat seamless and easy to deal with.

On the other hand, ports provide a description of how to compile third-party software under FreeBSD and how to install it manually or how to build an installable binary package.

However, FreeBSD development, including maintaining the ports tree, is a voluntary-based effort; which means sometimes it lacks human power.

Being a good open source user sometimes goes through being aware that people’s time is limited, and helping out when things fall through the cracks.

Here I document a bit how the general process of updating a port you detect as being outdated is.

Weiterlesen!

Switching Android phones -- Getting rid of Google (mostly)

Introduction

After being fed up with mostly non-serviceable phones and my previous one suffering a bit of an accident; it was the perfect time to align consumer values with portable device because the Fairphone 3 started selling in late 2019.

This is about setting up an Android phone with a stock OS, but getting rid of as much of Google as possible, while still having the option to use the “necessary” regular things.

As a friend put it:

“I don’t believe in free. Not anymore.”

Weiterlesen!