Elektrine lite

← Feed

Larry (Mr.Optimization)

fast_code_r_us@floss.social

<p>I work with bits, bytes and pixels. I&#39;m also pretty good at optimizing code. Lately I&#39;ve been doing a lot of proof of concepts for clients. I share my personal projects on GitHub here: <a href="https://github.com/bitbank2" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/bitbank2</span><span class="invisible"></span></a></p><p>I started programming as a teen in the late 70&#39;s with 8-bit micros.</p><p>Knowledge is to be shared, not hoarded.</p>

Posts

  • Post #3979838

    This article resonates with my recent experiences: https://www.worseonpurpose.com/p/your-cookware-got-worse-on-purpose I put a Pyrex measuring cup in the microwave oven to reheat some food and it exploded. Now I understand why...

  • Post #3487492

    RE: https://mamot.fr/@pluralistic/116834425733304409 Oh the irony!

  • Post #3428386

    More Youtube/Google legal settlements inbound. With all of these class action lawsuit riches, I&#39;ll soon have enough money to buy a cup of coffee 🤪

  • Post #3081777

    ⚡ Caution ahead ⚡ AliExpress started their summer sale this week. Lots of deals/coupons available. This week I was going to say that my AliExpress order queue was empty, but nope; I can&amp;#39;t say that any more 🤪

  • Post #3081776

    Is anyone else curious to see which companies start selling electronic devices with replaceable batteries BEFORE forced to do so by the EU rule in February &amp;#39;27? Some of my family&amp;#39;s devices need replacements now and I would rather not wait another 8 months to buy new ones.

  • Post #3022633

    FYI - the latest version of Xcode (26.5) breaks storyboard functionality. You can no longer add referencing outlets or actions to objects on your storyboard. I reverted to Xcode 26.2 and it works again. 😡

  • Post #3022632

    Tired: Compiling code on Raspberry Pi SBCs (any) Wired: Compiling the same code more than 10x faster on a VM running on your Arm64 Mac (UTM running a Debian image)

  • Post #3022631

    In today&amp;#39;s mail - the Waveshare 7.8&amp;quot; 1872x1404 parallel Eink display with RPI IT8951 HAT. My intention is to add support for this board to FastEPD to allow easier use of parallel displays on Linux. It amazes me that Waveshare has been selling these super fragile pieces of glass as a &amp;quot;retail product&amp;quot; to customers for years.

  • Post #3022630

    I&amp;#39;m currently reading @pluralistic &amp;#39;s book &amp;quot;Chokepoint Capitalism&amp;quot;. A fascinating look at the fine details of how our media has been gobbled up by a few companies. I don&amp;#39;t patronize Kindle e-books, Audible audio books nor Spotify, but I am still negatively impacted by what they&amp;#39;ve done. Music discovery and acquisition for me has been very slow and deliberate in the age of streaming. I still buy music an album at a time through the least evil vend...

  • Post #3022629

    That didn&amp;#39;t take long (FastEPD driving the Waveshare IT8951 Raspberry Pi HAT). This product comes with minimal documentation and software. Hopefully FastEPD will unlock more uses for these parallel displays running on Linux. A bit more testing and code needed, then I&amp;#39;ll release this version on Github.

  • Post #3022628

    New - I just shared an Arduino example for my FastEPD (parallel eink library). This is a low power clock which updates the time/date every minute with differential updates (no flicker). It can run for many months on a small battery (depending on the hardware you&amp;#39;re using). It sets/corrects the time every day and a half with NTP and uses the ESP32&amp;#39;s internal clock in between corrections. https://github.com/bitbank2/FastEPD/tree/main/examples/Arduino/simple_clock

  • Post #3022627

    Time for a poll. For those of you who bought one (or more) of those Waveshare eink products (loose display, cable, adapter). What happened to it?

  • Post #2261930

    A &amp;#39;duh&amp;#39; moment today. I remembered that the digitalWrite() method is really slow in Arduino, so I replaced it with gpio_set_level() for ESP32 targets. Now my reflective LCD demo runs at 209 FPS full screen updates 🤪

  • Post #1728494

    Thanks to @lilygo for financial support and equipment. My latest project - a new e-book reader program which can run on ALL ESP32 device types (color LCD, mono LCD, ePaper, parallel eink): https://youtube.com/shorts/WNFXJyIOq_k

  • Post #1387719

    First demo of my H.263 video player running on the ESP32. No SIMD acceleration yet (soon). Since H.263 has fixed video sizes, it allows cropping of larger videos (352x288-&amp;gt;320x240) and skips calculating the cropped macro blocks for better performance.

  • Post #1281084

    In today&amp;#39;s mail - some new HMIs from @Elecrow - Looking forward to testing them. I will probably port some SIMD code to the ESP32-P4 to make my libraries go even faster 🤪

  • Post #1165000

    Also in this week&#39;s mail... The latest Pinecil soldering iron. I&#39;m quite pleased with it. My only disappointment is that it doesn&#39;t work with my 40W Mac USB-C PD power supply. It starts up, and then crashes due to voltage sag. However, my 90W Mac power brick works fine.

  • Post #1161038

    New in this week&amp;#39;s mail - the Xteink X3. A teeny, tiny e-book reader. The hardware is smaller, yet more advanced that the X4. I added 1-bit B/W and 2-bit grayscale support for it to my bb_epaper library.

  • Post #553379

    ** New ** I added sensor support to the TRMNL firmware. On the back-end it becomes JSON variables (private to your account) that you can use in your plugins (HTML scripts). This allows you to put your live sensor data alongside any other plugin to create the &#39;control panel&#39; that you like.