Blue Desk

Rodrigo’s blog.

Thursday, July 21, 2022

Sizes of Windows integral types

›
While developing WinSafe , it’s very common to convert the Windows integral data types to their Rust equivalent. Care must be taken, howeve...
1 comment:
Tuesday, July 19, 2022

Default props in React function components

›
Having default props in a React component is a rather common situation. The most popular way to accomplish this is to pass the default value...
Thursday, July 7, 2022

Extending built-in TypeScript objects in Vite

›
Checking whether an array is empty is a rather common operation. The usual way to do this in TypeScript is by checking the length property,...
Wednesday, June 22, 2022

Checking if user passed a slot in Vue

›
In Vue 3 with the Composition API, there is no this.$slot entry to programmatically poke on the slots. You must summon the slots by calling...
Tuesday, June 21, 2022

Global useState hooks with Jotai

›
I’ve been stressing out several React global state libraries in the past months. Last week it was Jotai ’s time. I liked the concept of “a...
Wednesday, June 1, 2022

React high-order useEffect wrappers

›
As I was increasingly upset with the lack of variable highlighting in Volar , I started doing some React experiments. In particular, I fou...
Monday, May 23, 2022

Cross-compiling Rust in Windows

›
After making a lot of confusion with Rust cross-compiling, I finally managed to compile WinSafe x32 programs in my Windows x64. The root of...
Monday, May 9, 2022

Taking a screenshot in Windows with Go

›
I’ve tried to code a Windows screenshot utility before, following the example of the official Windows documentation I found it tricky thoug...
Friday, April 22, 2022

Generating React object keys with WeakMap

›
When iterating through an array in React , a key attribute is expected on the rendered elements, so a reordering is properly rendered. How...
Thursday, April 7, 2022

VSCode extension Personal Access Token

›
I received an user request for my Format Comment VSCode extension, which pleases me greatly. Implementing the feature itself took me just...
Tuesday, April 5, 2022

Using active/inactive system colors in Firefox

›
After the horrible Proton UI in Firefox v89, there was no difference between active/inactive window colors. The theme would simply remain st...
1 comment:
Friday, February 18, 2022

Helix amp: sag, hum, ripple, bias and bias-x

›
I found a rather interesting video demonstrating the advanced amp parameters of the Line 6 Helix: sag, hum, ripple, bias and bias-x. As a s...
‹
›
Home
View web version
Powered by Blogger.