Wednesday, September 29, 2021

A letter for you

I have been tasked to deliver this letter from our dear friend.

Monday, September 20, 2021

Oops I did it again!

When you are working on even a small project for more than one day, you are risking loosing your work if you don't take preventative measures. Over the years I've encountered many horror stories from people losing their work.

Like working on their school thesis for months only to loose their only copy which was on a USB stick. Or to have their hard drives crashed after months of working on a computer game project or thinking their computer was infected by a virus.

They never learn and always take the wrong lesson (be careful about your belongings, don't visit suspicious web sites).

I should really know better. And yet I did it again. After having practically finished Text Editor port to libui (wich took me around a week) I accidentally deleted it.

I had the source only in git cache + a backup copy in a patch file and when I wanted to put the changes away in a patch to work on / commit prompt dialog first, I re-generated the patch and then removed changes from my working branch. And then I realized my patch file was empty! It sets me back only by a week, but it's very embarassing! I really should have tracked my work in changesets even if if was WIP and back up on Github, squashing into one commit later.

So it's good to remind ourselves of the risks and the rules how to mitigate them that we should all know, but don't always follow.

The top three risks are
  1. You accidentally delete/overwrite/damage your project
  2. Your computer/storage medium is physically lost
  3. Your computer is broken rendering your data inaccessible
And here's the golden rules when working on a project:
  1. Back up your work!!!
  2. One back up copy is not enough. Use multiple physically separated copies.
  3. Revision control is your first line of defense.

Tuesday, August 17, 2021

Coffee In Space

One of the best jokes I've ever heard (or rather read)
"In space, how do you keep your coffee cup on the table? Velcro. How do you keep your coffee in the cup? More velcro."
Why do I find it so funny? I don't know, perhaps because it's so silly and absurd. I classify this as "funny always" per the classification introduced in Robert Heinlein's "The Moon Is a Harsh Mistress". Anybody knows where this joke comes from? I don't remember and just can't seem to find out.

Wednesday, August 11, 2021

Time to be a'weldn'!

When it comes to becoming good at stick welding, I think it requires the five Ps: Patience, Preparation, Premeditation, Process and Practice. I am a total noob, this is my second real weld job (not counting some amount of pure practice welds).
It actually looks good just in a few spots, the rest of it looks .. well .. still miles better than the previous weld job somebody did on this which broke and I was fixing. And that's something. I feel like I'm making some progress here.

Thursday, June 24, 2021

Raspberry Pi Resolution Detection

Maurizio implemented a nice new feature in the Raspberry Pi video driver. It now detects the display resolution, making it more useful on screens with resolution greater than 640x480 (^_^). He posted a nice screenshot:
Sure looks great!

Wednesday, April 28, 2021

It's difficult to distill a lot of fun and cool stuff into a few characters that can be printed on a T-shirt. But when you succeed, the idea just wants to go out.
T-shirt, anyone? ^_^ (Designed using Spreadshirt)