Linux gamer, retired aviator, profanity enthusiast

  • 6 Posts
  • 2.26K Comments
Joined 2 years ago
cake
Cake day: June 20th, 2023

help-circle

  • TL;DR: The Arduino language is C++ with an automatically included library, but it’s descended from a Java project with an automatically included library.

    Processing is a graphics and art based graphics library/IDE that uses the Java programming language. It basically includes some classes and methods by default on top of Java that makes programming graphics and even simple games a bit more straightforward.

    Processing’s IDE was forked by the Wiring project for the purposes of microcontroller hardware programming. Because the Java Virtual Machine is a bit much to ask a 16MHz 8-bit AVR to run, they switched the language to C++ which compiles straight to machine code that runs on the bare metal. Again, it’s just C++ with a library included, under the hood it uses gcc to compile and avrdude to program the chip. I believe the IDE itself is still written in Java.

    Arduino took Wiring and painted it teal. They’ve extended it quite a bit since then but in the early days Arduino was really a hardware project. They’ve since added support for non-AVR boards to the Arduino IDE, including ARM-Cortex and ESP32 based boards.

    Raspberry Pi offers C and C++ SDKs and a MicroPython interpreter for the Pico series. Someone contributed support for RP2040 based boards to the Arduino IDE; I don’t believe that was done officially by either RPi or Arduino.






  • I saw a documentary about that which was a total hoot. From some stiff necked old coot talking about “At Hamilton Standard we made propellers and transmission gearboxes for military and commercial applications. They made brassieres.” To this sharp old girl talking about “I was making baby pants and they asked me if I wanted to try something different. They put me in charge of quality control, and I issued each girl color coded pins. I was examining one suit, and I found a red pin, so I looked up who was issued the red pins and I went over to her and said “Here’s your pin” and I stuck her in the behind with it.”

    I like to think those two are married.



  • My mind just played out a little skit.

    in a library

    Librarian is standing at the front desk, doing front desk things. A man enters, driipping wet, comic injuries such as a black eye, fake bandages etc, kelp draped around him. He walks in, looks at librarian meaningfully, stalks off into the library without a word. Stalks back up to the front desk, and presents this book and a library card.



  • Well, I’ll put it to you this way: If I hire a graphic artist to design a logo for my company, and they turn in a .png they drew in Photoshop, GIMP or Krita, they’re fired. Because I’m going to have my logo on my website, printed on business cards, on key fobs, on the side of work trucks, and painted on the side of buildings. I need a four color variant, a black and white variant and an outline variant, and they all need to work when printed at any scale. Raster art can’t do that. “Hey, can you plasma cut my company logo out of stainless?” “Send over the file.” “…what the fuck is this?”

    Hell just having it in .svg format rather than .ai format is gonna be a problem, because Adobe Illustrator is a proprietary industry standard. But I mean, the rest of society is dying, why shouldn’t graphic arts also have the disease?






  • As far as I know those days have never arrived.

    In the 1980’s you’d buy a computer and the diskette drive would eat disks, the tape drive would fail to load because the volume was turned up too loud, or the software was just badly written by an amateur and it would kill multiple people with high doses of radiation..

    In the 1990’s the gaming computer as we know it today took shape, but you just go ahead and put one together. Install a graphics accelerator card or a sound card in Windows 3.1 or DOS. Go ahead. Windows 98, featuring USB Plug And Play! It just works!

    It’s the year 2000! nothing bad will happen! Windows XP is so much better with so many new features, granted about half of your old Win9x software isn’t going to work because this is basically NT Home Edition. It’s the 21st century, computers are always online and have basically no built-in security. What could go wrong?

    It’s 2010, and it seems these smart phones are here to stay. No problem, we’ll just rebuild the entire internet for tiny, vertical displays and release an entire generation of Windows as a touch-first UI. Nothing’s gonna go wrong.

    It’s 2020, so put your mask on! Between a containership jackknifing across the Suez canal, traffic jams at ports because covid, impending political bullshit, and the rising trend of using AI to “write” software and said AI’s insatiable thirst for hardware meaning entire brands of computer parts are shutting down, maybe you should just go to the store, buy a stick of sidewalk chalk for $17 and just play a goddamn game of hopscotch instead.




  • Okay, so you know the trope in spy movies where the launch codes or the diamonds or whatever are at the end of a hallway full of lasers, and the protagonist has to do some cool flip moves (if male) or some slinky contortions (if female) to get around the lasers?

    I made that as an arcade game with an Arduino. Some red laser pointer diodes, some photosensors, a few lights, bells and whistles, a fog machine, a few big ol buttons, and you’ve got spy laser hallway. It had a separate “break as many lasers as you can” mode as well, played like a combination of DDR and whack-a-mole.

    The second coolest thing I ever programmed was probably the GPS MP3 player. A farmer wanted to add an automatic soundtrack to his Halloween hayride, like when the drove through the spooky graveyard it played ghost noises, it would play music for longer stretches on the road. I used a Raspberry Pi with a GPS HAT and wrote up a script in Python that would compare the actual position with a set of coordinates stored in a text file, and if one matched, it would play an associated mp3 file. The effect was kind of lost because the audio was coming from the vehicle itself, but it’s a hay ride, it’s supposed to be kind of lame. The bedsheet ghosts said woo as you drove past, I’m in the special effects industry, dad.


  • Windows 11’s TPM requirements.

    I recently built a brand new computer for my uncle. He was running a 3rd gen Core i7 machine running Windows 7. I get a call that it won’t boot. I do manage to get it booted, the SMART data shows the hard drive is on its last eyebrows, and anyway he’s running an OS that’s three generations out of date.

    I’m a big Linux user, I’ve got my aunt running Linux Mint. My uncle is such a dunce at computers I don’t think I can do that, because he lacks the vocabulary to tell me what he wants his computer to do. “I might use it for business.” In his line of work that could mean anything from going to quickbooks.com to needing some piece of Windows-only shitware. So “Get a .exe from somewhere” had to remain intact.

    For everything he actually does with that computer, that old 3rd gen i7 was fine. Replace the hard disk with a SATA SSD, maybe replace the weird 2-4-2-4 some but not all of it is dual channel 12GB of RAM with two 8 GB sticks of DDR3 and let it roll…except no currently supported version of WIndows runs on this computer.

    For a large number of people, computers became objectively fast enough in 2015. That’s about when SSDs became standard equipment, fixing any hardware reason for “damn this thing is slow” even out of midrange consumer hardware. Gamers, home labbers and AI startups need more power, the rest of the world doesn’t. And that was a problem for Microsoft.