Blue Desk

Rodrigo’s blog.

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...
Tuesday, January 5, 2021

Downcasting boxed errors in Rust

›
Today I was trying to write polymorphic error handling in Rust, something achievable with dynamic_cast in C++, and incredibly easy in Go . ...
1 comment:
Friday, December 11, 2020

Cleaning up a Git repository

›
Sometimes, after you mess up too much with your Git repository, it ends up with a couple useless objects, which are no longer referenced any...
Tuesday, November 24, 2020

Inserting auto IDs in Oracle

›
When dealing with tables with an auto-incremented ID field, Oracle requires an special syntax if you’re about to insert data manually. You m...
Friday, October 16, 2020

Validating lambda signatures in C++17

›
WinLamb , as the name itself implies, is heavily based on lambda functions. While searching a way to enforce the lambda signatures in the up...
Thursday, August 6, 2020

SFINAE and enable_if

›
Today, while researching for the upcoming C++17 version of WinLamb , I was rethinking the idea of restricting the allowed types on a templat...
Thursday, June 25, 2020

CSS folded poster effect

›
Yesterday I just stumbled across this incredible CSS work, which makes a picture look like a folder poster on Reddit . The CSS was somewhat ...
Monday, June 15, 2020

Embedding rc files into Go Win32 executables

›
When building Go executables in Windows, the Go toolchain recognizes *.syso files and automatically embeds then into the *.exe – this allo...
Friday, May 29, 2020

Rust macro to clone many objects at once

›
When working at my forthcoming Rust Win32 library, I was frustrated with the unergonomic task of cloning all the objects before referencing ...
Monday, April 6, 2020

Better antialiasing on Windows Visual Studio Code

›
In Windows, Google Chrome browser suffers from font bad rendering, with fonts being too thin and washed on screen. I don’t really know the t...
‹
›
Home
View web version
Powered by Blogger.