𝒍𝒆𝒎𝒂𝒏𝒏

Hey 👋 I’m Lemann: mark II

I like tech, bicycles, and nature.

Otherwise known as; @lemann@lemmy.one and @lemann@lemmy.world

Dancing Parrot wearing sunglasses

  • 3 Posts
  • 127 Comments
Joined 11 months ago
cake
Cake day: December 22nd, 2023

help-circle







  • A while back I made a Lolin32-based weather station that lasts for around 60 days on a single disposable vape battery.

    It wakes up every 15 mins, and while it’s connecting to WiFi it retrieves the AM2302 sensor readings. As soon as they’re transmitted it goes back to sleep.

    I wish there was a more power efficient alternative though, like whatever is being used in those BLE LYWSD03MMC sensors that last for around 3-6 months on a cr2032 whilst also having a display built in




  • The Grayjay app includes an entire development environment for plugins.

    No idea why the keyboard app is “large”. Could it be for support on obsolete Android devices where they’ve needed to re-implement missing APIs and features entirely themselves (like Firefox/Fennec and the Share menu)?

    They could also be using completely different local AI tooling, or a custom trained model that has a higher space footprint compared to other similar apps. As always the true answer lies in the available code…

    Edit: Grayjay’s = The Grayjay


  • ASMedia is the only controller IC manufacturer that can be trusted for these IME. They also have the best Linux support compared to the other options and support pass-through commands. These are commonly found in USB DAS enclosures, and a very small fraction of single disk SATA enclosures

    Innostor controllers max out at SATA 2 and lock up when you issue pass-through commands (e.g. to read SMART data). These also return an incorrect serial number. These are commonly found in ultra cheap desktop hard drive docks, and 40pin IDE/44pin IDE/SATA to USB converters

    JMicron controllers (not affiliated with the reputable Micron) should be avoided unless you know what you are doing… UASP is flaky, and there are hacky kernel boot time parameters required to get these working on Raspberry Pi boards. Unfortunately these are the most popular ones on the market due to very low cost



  • Chromium… I’m so getting downvoted with this one.

    Why? Anyone is free to use whatever browser floats their boat 🤷‍♂️

    Firefox itself is quite sluggish and slow to open on that piece of hardware

    Do you get the same issues on an older version of Firefox for that device? If yes, proceed with caution - your device’s internal EMMC might be nearing EOL considering how old Android 6 is

    But the problem is they all do not support modern arm64 apps that most Android phones use nowadays. Instead they need this other type called armeabi-v7a

    They probably just stopped building for Android 6 devices. The SDK and various third party libraries continue to add new features all the time, and unlike Firefox, the majority of devs do not have the time or resources to manually code-in the missing bits to retain compatibility with old versions of Android. As a side effect, these custom implementations may have bugs or issues that go unnoticed due to the shrinking install base.

    One of the more noticeable bits that changed is the Share API, which is why Firefox’s one looks so different vs every other app. There are other things like enhanced battery optimization and the storage API, which have changed a lot since Android 6.

    IMO your best option is an older version of FF, or install Lineage (etc) on that device and use another browser

    Edit: change “age of device” to “shrinking install base”



  • IIRC when looking into this originally, there are multiple tools necessary due to additional metadata on the MCs: mcpaste for PS1 saves, psupaste for PS2 saves, and the PS3 uses an entirely different format that needs to be converted prior to use (I don’t remember if you need to jailbreak to get the keys for this)

    Felt there was a bit too much manual stuff involved which could allow human error to come in and mess something up. I did do a copy + psupaste to the internal HDD on a new partition just in-case, but there was no way I was going to risk copying those back onto my only memory card to test if it actually was done right 😅

    The original MC was near full as well, so it’s pretty nice to also be able to spin up new ones when needed (to be fair I believe OPL has a similar feature built in, although some games may freeze using it)




  • This kind of stuff happens all the time IMO, we’re human and not perfect 🤷‍♂️

    I don’t know how much of a help ChatGPT would be in this situation without access to your schema, at least with Copilot you can write a comment in the code explaining what you’re trying to do and get some usable pointers in the generated suggestion (which takes your codebase into account).

    I usually try to get a second pair of eyes on my code if something that seems relatively simple isn’t working as expected… As you gain more experience these mistakes will become less common, and easier to spot