Blue Desk

Rodrigo’s blog.

Thursday, July 29, 2021

Gibson fretwire

›
Apparently with my Gibson Les Paul craze back again, I’ve been dabbling into the specs of the High Performance series. The specs list the f...
Sunday, July 11, 2021

Accepting both Vec or slice of String or &str in Rust

›
In whathever programming language, it’s rather common to have a function which accepts an array of strings. Specifically in Rust, there is t...
Friday, July 9, 2021

About these 10 years

›
Hello, dear reader. I started this blog exactly 10 years ago, in a Saturday morning, without having much idea about what I’d write here. I...
Thursday, July 1, 2021

Missing the ternary operator in Rust

›
Just out of curiosity, I wrote a Rust macro similar to Visual Basic’s IIf function : macro_rules! iif { ($cond:expr, $iftrue:expr, $iffa...
Wednesday, June 16, 2021

Fixing the horrible Firefox 89 interface

›
In searching for a fix to the Firefox 89 Proton layout catastrophe, I found a very neat site which tries to summarize all the fixes that ca...
Wednesday, June 2, 2021

Go’s defer in Rust

›
One of my all-time favorite features of Go is the defer mechanism . It’s so incredibly simple, and so incredibly ingenious and useful. The ...
Saturday, May 29, 2021

Sum types in Go

›
One thing I always missed in Go was sum types . I’ve seen some discussion before . Although Go doesn’t have this as an explicit, native fea...
Monday, May 17, 2021

Registering file associations in Windows

›
I always used FileTypesMan to register the Windows file associations. But after Windows 7 or so, some associations simply refused to work, ...
Thursday, May 13, 2021

The ghastly button focus

›
During my 20 years or so writing Win32 programs, I always relied on SetFocus to focus a control. However, I always noticed a weird behavior...
Wednesday, March 31, 2021

Fixing Cargo authentication on GitHub

›
Today, while performing tests before publishing the first version of WinSafe , I stumbled across a problem I had with Go a few weeks ago. It...
Thursday, March 25, 2021

Displaying current Git branch in Bash prompt

›
I decided to show the current Git branch at my bash prompt whenever I’m at a directory which contains a repository. I found a rather convolu...
Thursday, February 18, 2021

Using local dependencies with Go modules

›
Go 1.16, released this week, deprecated GOPATH . I used it extensively to develop my libs before publishing them, but now I’m forced to conv...
‹
›
Home
View web version
Powered by Blogger.