Skip to content

My Personal Blog

MicroCloud

MicroCloud is an interesting project that, through lightweight virtualization and few host computers, allows you to quickly generate a cluster of several computing nodes, requiring few resources and allowing you to use common available hardware at home, such as Raspberry Pi and laptops.

https://canonical.com/microcloud

Its sufficiently small to function on a developer laptop. It can be utilized for safely experimenting with new technologies, simulating or testing complicated infrastructure processes, simulating how your workloads would operate in production, and creating lightweight, restricted disposable testing environments.

It is a simple method to start an LXD cluster with high availability. It makes use of snap packages, has the ability to automatically configure LXD and Ceph on a group of servers, and uses mDNS to find other servers on the network automatically. This allows you to run a single command on one machine to build an entire cluster.

INPE General Regulations

INPE's General Regulations 2024 (approved on 09/04/2023) in searchable PDF format:

The original PDF file containing INPE's General Regulations 2024 has an annoying problem that is not searchable and is not possible to select text. What I used to fix it was:

$ pdfsandwich -lang por <in.pdf> -o <out.pdf>
$ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.7 -q -o <out.pdf> <in.pdf>
$ ocrmypdf -l=por -s -O=3 --jbig2-lossy --output-type=pdf <in.pdf> <out.pdf>
$ qpdf --linearize <in.pdf> <out.pdf>

Zotero

I use Zotero in my daily life to do my research. Zotero is a free and open source reference manager for bibliographic data and research materials. It features integration with web browsers, word processors, Google Docs, generation of in-text citations, footnotes and bibliographies, and has a built-in PDF reader with annotation capabilities. It was originally created at the Center for History and New Media at George Mason University.