• 0 Posts
  • 40 Comments
Joined 2 years ago
cake
Cake day: August 7th, 2023

help-circle

  • Pihole is great, little hardware projects are fun (touchscreen calendar in the kitchen). They also make great emulators for old systems if you want to install a gaming oriented OS like retropie or lakka and get a gamepad or two.

    I personally wouldn’t use it for a server, but it’s a good learning environment to figure out how to run services.

    The beauty of the pi is it is an SD card swap away from doing a different job. You can buy a few fast cheap 16-32gb SD cards and play around with different options and operating systems.

    Or you can do what I do: get it all set up, shut it down, and forget it exists until you have some wild idea.











  • My last interview was for a job I was on the fence about. I decided to go though the process anyways. I did a coding assignment that I aced. Then I had an interview with their recruiter.

    Then I met with two developers. They grilled me for an hour. It was a fine conversation, we got along.

    Then I had an interview with the boss of the dept. That went well.

    Then they wanted me to prepare and give a technical presentation to some directors. At this point I told them no thanks.







  • Clear concise code that reads like documentation is the ideal. Good function and variable names, formatting, and encapsulation play into this. Tests should document and describe the system.

    If it still isn’t clear what the code is doing, and I’m all out of ideas (or time) for refactoring, a well placed, accurate comment is fine. It needs to be kept up to date like any other artifact in the project.

    It’s harder to keep comments accurate than code, since code can be executed and tested. I use them sparingly; when I’ve otherwise failed to write clean code, or the code is just so complex that it needs to be described.

    Comments are just another tool in the toolbox. If they add clarity to the situation, by all means, use them.

    If you can think of an expressive variable name that lets you skip a comment eg “employeeCount”, instead of “e” // number of employees, do that.