• 5 Posts
  • 325 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • I had the same thing on Bazzite just with the local network, not a VPN.

    I believe it has to do with the firewall. You have to open the port both incoming and outgoing for 53317.

    But you literally have to be on the same network, so for example if both devices are on the same local network (hence local in the name) and your phone is on a VPN but your computer is not on a VPN, then it won’t work.

    It should work if you VPN into your local network remotely so that both devices are on the same LAN, however, then that won’t work anyway because you have to have physical access to the device to accept the transfer (you could probably use a remote desktop to do that, but then it is getting complicated)




  • I use Code OSS with clangd and the nvim extension (because Microsoft disabled their c/c++ tools) because i want access to the nrfconnect extension pack as a beginner. I don’t have to go searching in the documentation and compiling, then recompiling 10 times to self-discover the required devicetree parameters and figure out what drivers are available vs mainline zephyr.

    Plus the debug interface works well.

    For everything else possible it is vim/neovim, but I haven’t been able to find good neovim setup for nrfconnect.


  • No, ssds have a ton of wear leveling where data is shifted around and not deleted. Deleting data wears out the SSD, so it is held as much as possible with the controller. SSDs are like 10% bigger than advertised just to prolong the life.

    Even if you write the whole thing with random data then zeros, it will still have blocks in unaccessible (to normal users) places that contain old data.

    Always best to use disk encryption or keep any sensitive data in filesystem encryption like plasma vaults or fscrypt.


  • Hmmm, I used littlefs for SD card writing at work with an STM32F0 chip. It was hell working with files when tons of essential functions like appending and seeking simply didn’t work in the STM HAL… Plus dealing with opening and closing files and appending files and having to seek in them to find what you want, parsing results, cleaning old files, etc… compared to simple circular buffer and a start and end address of relevant data that can be erased once every day or week depending on use. Even with a daily erase of the NOR chip, they are rated for 100k program/erase cycles which would be over 250 years before degradation starts. I am not dealing with a ton of data nor the flexibility of a full UI/ app storage where I would definitely just use littlefs.


  • Thanks for taking a look!

    Intuitively for me, steps + bpm should be next to each other because the compiler will use bpm as the padding for the 24 bit steps. I intentionally did it that way. At least when I checked the memory addresses when testing it that was the case (there was no padding added). Wouldn’t it be potentially more problematic to have a bit field with a weird bit number, 24, followed by a 16 bit member that can’t be “fit” into the 32 bits that the compiler wants to assign? or is that not how it works.

    I’m not quite sure what you mean by your last point. The flow would go: acquire data -> add to structure -> fill up a page worth of data (or a sector) -> write to memory. Then pulling it out would be: read from memory -> put in structure -> process -> send data via bluetooth. If I change the layout of anything, that would require a reflash of the MCU and previous data would already have been transferred over bluetooth (assuming end-user OTA flashing or just being in a vicinity of a phone and not out and about where memory saving is necessary) and would no longer be needed to be stored/pulled from memory. Or is there another case that I am totally missing?






  • That is true, but for embedded development it sucks because of specialty drivers, access to dbus, udev rules, etc… And distrobox with vscodium or code oss has some big big slowdowns that I can’t figure out.

    Saleae software simply won’t work consistently in distrobox, for example. Luckily they have an app image so I could just install it there and set a few settings and now it works well. Sigrok Pulseview is better but needs a few not-dependency packages to work around it.

    There is some weirdness to atomic distros and bazzite, but I am pretty happy with it!


  • I use bazzite on my desktop.

    The problem with the set it and forget it nature is that when updates stop working, it “forgets” to tell you.

    If you layer any packages, you will run into this, but even without package layering, there have been a number of bugs reported recently about this.

    I have auto updates and notifications on (and I switched them off and on again and verified the settings) and haven’t gotten a single update notification for months even though I can update manually successfully.




  • I love LoRa for IoT devices, sensor nodes, automation, environmental monitoring, etc… And I think it is absolutely the future for outdoor electronics. As far as communication I am really not so sure.

    What benefits does it have to ham radio though besides no license? There is no real time communication, no possibility of voice, mesh-based which results in delays or dropped messages, and it only works within walking/short biking distance (a couple kilometers) without line-of site tower infrastructure or in mountainous areas.

    I could see a potential use of it as a broadcast system during emergency by a central tower for messages that work over text, but further than that I have only seen personal projects or youtubers use them.

    Camping isn’t even a great usecase (in my opinion) because in an emergency there are 3 things needed for communication

    • Satellite or very long-range communications/broadcast to alert S&R
    • GPS location
    • real time communication to guide someone out of a dangerous situation or guide them to you using descriptive markers (especially not having to use fine hand motor skills like typing)

    Lora only has the possibility of one of them: telling people your location who are within walking distance. Not to mention it is blocked to a degree by vegetation. Most people go camping with all of their important people within like 100m, and the number one rule of backpacking is don’t go off on your own, especially not off-trail.



  • https://immich.app/ I would also put in A tier. Not without its failings and requires a self hosted component, but holy hell is it good.

    KISS launcher is also S. It does what it sets out to do and does it well. Not everyone’s style, but it is close to flawless for people who like it.

    Heliboard A tier. Much better (right now) than florisboard but no swipe typing

    AntennaPod easy S tier or even higher. Completely refined, great podcast experience, almost no bugs, great stats, looks very polished, one of the best podcast apps including all non-foss

    Eternity for Lemmy B tier. Great UI, but not all of the old functions from infinity are either disabled or translated to Lemmy which leads to some crashes and broken buttons.

    LiftLog (B tier) is an open source weight lifting app. Not yet on fdroid, but hopefully in the future. Very simple, very beautiful interface, everything that I personally need except it doesn’t yet have the feature to order your lifts chronologically during a workout which sucks when you have to modify the order or lifts done because you go to a public gym