Blue Desk

Rodrigo’s blog.

Wednesday, April 24, 2024

Goodbye Go

›
On this morning, I just completely wiped away the Go compiler from my computer after finishing the Rust rewritten of my very useful ID3v2 e...
Tuesday, February 27, 2024

Linux recursive file searching

›
Searching recursively all files with the given extension: find . -name "*.orig" Searching all files containing the given text ...
Monday, January 15, 2024

Zustand, devtools and immer wrapper, pt. 2

›
On further researching of my previous idea of creating a Zustand + Immer wrapper, I found a very interesting technique straight from Zust...
Tuesday, January 9, 2024

Increase taskbar button width in Linux Mint 21

›
For my working VM, after ditching the sluggish Ubuntu 22 for the crazy good Mint Cinnamon 21 , one of the customizations I wanted to make wa...
Saturday, January 6, 2024

Installing dependencies of deb packages

›
A deb package can be installed on Linux by running: sudo dpkg -i Package.deb However, the installation may fail because dependencies are...
Wednesday, November 29, 2023

Setting/resetting Vue reactive objects

›
Vue 3 has many idiosyncrasies, among them the overlapping ref and reactive constructs. One of the main differences is that reactive conte...
Monday, November 13, 2023

TypeScript function to set value by key

›
While researching React stores automation, I wondered whether it would be possible to have a TypeScript function to set the value of an obje...
Saturday, November 11, 2023

Jotai utilities for read-only and write-only atoms

›
Three months ago I wrote an utility function to deal with write-only atoms in Jotai . To go with it, today I wrote a function to deal with ...
Friday, November 10, 2023

Zustand computed values, pt. 2

›
I’ve been trying to find a way for computed values in Zustand for a while. The general recommended way is using a custom hook , according t...
Saturday, September 23, 2023

Cross-compiling Rust for x32

›
While analyzing a bug in WinSafe, I had to test its compilation on the i686 platform. Without knowing, I already had it installed together ...
Saturday, August 19, 2023

Calling write-only atoms in Jotai

›
Every atom in Jotai , when called through its useAtom primitive, returns a tuple of value + setter, just like React’s own useState . In a J...
Saturday, July 29, 2023

Delegating Display/Debug trait implementations

›
Suppose you want implement Display and Debug traits for your struct, but the output is the same. Instead of copy & paste the implement...
‹
›
Home
View web version
Powered by Blogger.