• 25 Posts
  • 4.74K Comments
Joined 9 months ago
cake
Cake day: October 19th, 2024

help-circle







  • The old school method of learning a programming language, database, framework or whatever was to read books and take classes, do a series of exercises that teach you how to use the features, and the errors you get if you don’t do it right. Then you write code that way for like 10-15 years.

    The Information Age method is to find some sample code, copypaste into an editor and hit Compile, then paste compile errors into google and fix them until there are no more. Then hit Run and copypaste/fix runtime errors until there are no more runtime errors. Old-schoolers used to call this hacking, but now it’s called not having time to deeply learn the hot new thing because before you do you’ll have to start over with the next hot new thing.



  • I’m really into IoT automation - wiring up Arduino & ESP devices and programming them - but tbh it’s hard to think of much to automate IRL. So I haven’t automated anything yet. I want a few ourdoor lights to sense motion more elaborately than just having a motion sensor built in - to light up when approached from opposite directions. Also to add switches indoors where I didn’t think to put them when I wired the house. So like, have several ESP32 wall switches tell a room light to turn on or off without running new AC lines through the walls. That would be super useful. Another one is subtle night lighting on stairways for safety, so my eventual cause of death isn’t falling downstairs after tripping on a cat.