.NET 5 + Blink an LED

Microsoft announced the release of .NET 5 today… and included an example with the quintessential “blink an LED” that is the Hello World of the embedded IoT space. Can’t wait to try it on one of my development boards.

https://devblogs.microsoft.com/dotnet/announcing-net-5-0/

https://github.com/dotnet/iot/blob/master/samples/led-blink/Program.cs

STM32CubeIDE FreeRTOS Include Paths

This was odd. I’m noting here so 1) I don’t forget and 2) in case anyone else runs into this. My STM32CubeIDE 1.4.0 based project was building fine, I used the STM32CubeMX editor to unlink PC13 from the user button since it was limiting my RTC configuration.

On saving and re-generating, a bunch of my FreeRTOS includes stopped being found by the compiler. Scrutinzing the diff of my .cproject file showed all of the paths had been removed from the configuration.

I added them all back in and the project resumed building normally.

It is possible this is because I’ve switched to Windows based development for this project, or it is possibly related to the STM32CubeIDE 1.4.2 update, but I am not certain.

Edit: And, this is odd, on a subsequent “save” and “re-generate” the relative include paths that had been deleted were restored.

Faster WordPress via .NET with PeachPie

I heard about the PeachPie project recently on the Channel 9 podcast (one of my favorite podcasts) – it allows you to compile PHP and WordPress (and plugins) into .NET. As expected, there is a performance boost and also as expected, you don’t have to worry about arbitrary PHP running on your site – AND you end up being able to select and build the exact versions of WordPress and the plugins you’d like kinda like package.json does for modern Javascript apps.

I haven’t tried it yet, but the idea of a performance and security boost and, oh yeah, the ability to write plugins in .NET is enticing for projects like this blog. I’ll add this to my list 🙂

Photo by J David Eisenberg from FreeImages

The Engineer/Manager Pendulum

I am so happy I tapped on Episode 27 of the POPCAST this morning. And so glad Dan interviewed Charity and especially the focus of the podcast: her post about the “Engineer/Manager Pendulum

I quote:

The best frontline eng managers in the world are the ones that are never more than 2-3 years removed from hands-on work, full time down in the trenches. The best individual contributors are the ones who have done time in management.

and

And the best technical leaders in the world are often the ones who do both. Back and forth.  Like a pendulum.

and

That’s one of the only ways you can achieve the temporary glory of a hybrid manager+tech lead. This is an unstable combination, because your engineering skills and context-sharpness are decaying the longer you do it.

I have been on my latest hybrid manager + tech lead gig for a few months shy of two years now – it’s not the first time for me by any stretch. It was incredibly validating to hear this swinging back and forth that I do as NORMAL.

The article concludes correctly:

It isn’t a promotion, so you don’t have any status to give up. Do it as long as it makes you happy, and the people around you happy. Then stop. Go back to building things. Wait til you get that itch again. Then do it all over again. <3

Photo credit

Projects… In Progress

I’ve added a link to my most recent project… which is still in progress – it is an IoT weather station I started developing as part of my MSEE at UW. So happy to be working with embedded devices again.

Check out the Projects link in the menu above to learn more. I’ll be adding more media and details to the repository Wikis soon.