========================
== thoughts of a deer ==
========================
a blog is a blog is a blog is a blog

Dedicated VSCode config for PlatformIO

One thing I don’t like about PlatformIO: it’s quite bloaty. And that’s alright because this is a tradeoff for the conveniences you get, but I really only want the extension running when I work on some code that I want to build/flash/debug etc. Today I found a nice solution to this problem: you can start a completely separated Visual Studio Code instance, that you can dedicate to PlatformIO (or any other set of extensions/themes/settings/etc, really). Read more...

USB boot selector

I use a laptop that I dual boot with Ubuntu and Windows[1]. It takes a surprisingly long time from power button press to GRUB menu, so I often press it and do immediately other things (thanks ADHD). It is only a slight inconvenience but recently one morning I literally woke up and thought to myself: wouldn’t it be neat to have some kind of hardware switch to select which OS I want to boot? Read more...

Selective sketch building with PlatformIO

I switched to use PlatformIO again for tinkering with electronics and wanted to note down a quick little tip. Recently I tested some screen modules and I was looking for a way to keep different sketches around in the same project. The problem here is that by default the build process includes all .cpp files from the src directory, which is not what I want in this case. My goal was to find a way to specify a specific source file that should be used, and I found one: build_src_filter - https://docs. Read more...

How to unbrick a Pro Micro clone (fast)

Recently I’ve been getting back a bit dabbling around with electronics. Currently I specifically like to use the Sparkfun ProMicro, because of it’s on-board USB capabilities (more on that in a future blog post). (yeah, it’s a cheap clone I got from aliexpress) While setting up my Arduino IDE and playing around with it, I noticed that there are several ways that you can end up in a situation that makes it difficult to flash a new sketch to the board. Read more...

Running a blog with Hugo and GitHub Pages

attention: this information is outdated. The GitHub workflow broke and instead of trying to bother with it I just upload the hugo generated html myself now. note: the source repository of this blog can be found at https://github.com/denalena/blog/ When I started this blog, I wanted to make a post of how I set it up. The time has come! Although I have to say, I kind of forgot what my pain points were initially, but I remember that I tried using “pure” GitHub Pages and Jekyll, and with both of them I wasn’t happy. Read more...

Make some noise!

Whenever I’m inside and I hear rain, it’s really calming to me. Even storms manage to bring me peace. Sometimes, when I have difficulties to sleep, and it’s not coincidentally raining outside, I might turn on some noise source. There are infinite options to choose from of course: iOS has it built in, there is airplane ambient noise readily available on Spotify and YouTube, and one of my favorites is the “Rain on a Tent” preset on mynoise. Read more...

Inspect return values with XDebug

When working with a PHP codebase I really like to use XDebug as a way to find my way around and getting a grasp on what’s going on. One thing that annoyed me a bit was that in order to inspect return values of methods, I had to assign them to a dedicated variable. This doesn’t sound like a problem, but there can be a bunch of reasons why you don’t want to change the code for this. Read more...

About

hello world, my name is Dena ^__^ and so far I spent an uncomfortably amount of time with computers and the internet during my life and it seems like that is not likely to change anytime soon. In the past I had several blogs. Sometimes on blogspot, sometimes self-hosted Wordpress instances, and sometimes something entirely different. But they all have one thing in common: they are lost in the sands of time. Read more...
1 of 1