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

help-circle
  • I am still relatively inexperienced and only embedded. (Electronics by trade) I am working on an embedded project with Zephyr now.

    If I run into a problem I kind of do this method (e.g. trying to figure out when to use mutexes vs semaphores vs library header file booleans for checking ):

    • first look in the zephyr docs at mutexes and see if that clears it up

    • second search ecosia/ddg for things like “Zephyr when to use global boolean vs mutex in thread syncing”

    • if none of those work, I will ask AI, and then it often gives enough context that I can see if it is logical or not (in this case, it was better to use a semi-global boolean to check if a specific thread had seen the next message in the queue, and protect the boolean with a mutex to know if that thread was currently busy processing the data), but then it also gave options like using a gate check instead of a mutex, which is dumb because it doesn’t exist in zephyr.

    For new topics if I can’t find a video or application note that doesn’t assume too much knowledge or use jargon I am not yet familiar with, I will use AI to become familiar with the basic concept in the terms so that I can then go on to other, better resources.

    In engineering and programming, jargon is constant and makes topic introduction quite difficult if they don’t explain it in the beginning.


  • I started using activities instead of virtual desktops with 2 desktops each.

    Separate wallpapers, separate start menu favorites, separate panel pins, etc… Plus you can hide activities not in use to keep it tidy. I used to use virtual desktops more, but I think of it now as a 2D grid. Vertically activities very organized and for each you can switch horizontally where organization doesn’t matter as much.

    Activities are great except there is a bug where the little wallpaper previews won’t show with the default, batch resized and renamed wallpapers.






  • I am still rocking my Xperia 5ii. The fingerprint sensor stopled working after 2 years completely (a known problem that persists to newer models and it is thought to be a hardware problem, but it doesn’t happen on any other phone with a power button fingerprint reader and booting in safemode and back or a phone reset to factory can fix it for a short time, so I think it is planned obsolence in firmware), the software support only lasted 2 years (1 android upgrade IIRC, I am on 12), and the battery usage is 2.5-3% per hour with the screen off on 4G and 2%/hr on WiFi.

    Other than that it is a great phone! Pro camera app is also awesome.





  • Netanyahu has literally given interviews about how he and Israel have financially supported Hama’s as controlled opposition.

    Israel is also the size of New jersey (for Americans) or Slovenia. It is tiny. It is a 6 hour drive or an hour by helicopter. The Israel extreme militarized state, with tons of vehicles and helicopters, didn’t react at all to an attack where sponsered money bought weapons 10 hours later, when there were 2000 people against 169500 active members and 465000 in reserve.

    Then when specifically asked if there was an order to the IDF to stand down and not repel the attackers, Israeli leaders have refused to deny it.

    Israel with 80000% larger military not reacting at all for 10 hours is ridiculous.

    By the way, Israel has had over 1900 Palestinian hostages for a decade not charged or tried at all for supposed crimes including up to 1000 children that they rape with dogs and IDF soldiers, abuse, and torture daily.






  • I would be interested to see a figure of people with home servers that have had that happen to them. DoS & pwned yes, especially 15+ years ago before there were good resources, TLS, reverse proxies, or authentication front ends.

    I would be very interested to see any stat whatsoever of selfhosters that have gottened murdered specifically because of their server.

    It is extremely important to note that in those days, people just opened their, often out-of-date, servers completely to the internet via a DMZ or port forwarding, let ssh be open to the internet, didn’t harden ssh at all, and most people didn’t use a VPN for downloading.

    That is literally like saying that people who light wall torches in their wooden home burned their house down, so let’s not use lightbulbs or electricity.


  • Well I am learning that hardware-wise, my open source smart watch AFE might require an interrupt pin (apparently the RTC fallback that Maxim says is why a big crystal is required just doesn’t do anything and no docs on how to set up that or polling mode) to work with the algorithm chip. That brings the cost from 20€ for 5 PCBs to 350€.

    So I might need to write a new zephyr driver for the AFE chip directly and then spend months more work making an open source PPG algorithm and adjustable LED gain algorithm to keep the project going.