I’m a technical kinda guy, doing technical kinda stuff.

  • 2 Posts
  • 433 Comments
Joined 2 years ago
cake
Cake day: September 27th, 2023

help-circle
  • There is a FreeRTOS option for Arduino which is pretty much the next step when you want to do multitasking.

    Basically, you create tasks in your setup routine by pointing to various self contained functions - each function becomes a task - and your “loop” becomes the task that runs when everything else is idle.

    Your functions have their own loops so they never exit, and then when you kick-start the tasks the task scheduler in FreeRTOS does all the heavy lifting of timeslicing the various functions so that they all appear to be running at once.

    If you share resources, like an I2C bus, you can add locking around it so that tasks that need the resource wait until other tasks are finished with it so you don’t get tasks treading on each other’s toes.

    FreeRTOS is in the Arduino libraries so you can just add it to a blank project and then have a play running two tasks at once.



  • There was a point, about 10-12 years ago now, where The Algorithm™ took over social media entirely.

    If you were around before that, you would have noticed the shift. Your friend’s comments and posts started to get intermixed with “other stuff” , and eventually you could scroll endlessly and not see anything from your direct friends, or friends of friends. Forever.

    What decided what you could see? Why, The Algorithm™ , of course. So, at that point right there, that’s when a direct and consistently biased feed of someone else’s opinion about what you wanted to see got pumped into people’s brains. And you can bet it’s going to be designed to be handing out the most engaging things that it can find for you, to keep you scrolling away on their platform. But it doesn’t matter a fuck if what its handing out i’s mentally harmful to you personally, as long as you’re engaged.

    And just like schoolkids in the USA reciting the Pledge of Allegiance every morning, reinforcement of whatever The Algorithm™ wants (simply: more engagement) becomes pretty trivial when it’s crammed into your head consistently from a young age. Lacking any other reference points, children are the ones with the least amount of defenses against all of that shite.

    These kinds of laws worldwide are trying to stop that kind of thing from happening, because they can’t stop the source directly. Social media companies hold too much sway over the population and the economy now, it would be political suicide to try and go toe to toe with them.

    In my opinion, The Algorithm™ as it stands now is a cancer that needs to be cut out of social media by any means possible. Whether there’s anything left remaining after that is debatable.


  • but are normal plebs going to be arrested for having Signal on their phone or with a Meshtastic/Meshiliscious device?

    Are you deliberately trying to be obtuse?

    The “criminal encrypted communications device” - whatever the hell that actually is 1 - is the very small cherry on top of the firearms and whatever other investigative legwork needed to identify, locate, and then arrest these people.

    So no, unless you’re also often nipping off in a taxi with a few guns to do a job for another crime group, I think you’ll be relatively safe fooling around with meshtastic.

    1Maybe it’s one of those CrimPhones™ that had their security protections quietly broken in the last few years.




  • the pursuit of fancy graphics just doesn’t make sense anymore

    Their assertion is that fancy graphics doesn’t necessarily equal good gameplay, and the major industry players are focused on ever-increasing frame rates instead of game quality.

    Nobody cares if your game is fully immersive and rendered down to the atomic scale if it is boring or the game mechanics are shite. Sure you can wander around and look at stuff and gasp at the physics, but unless the game is titled “Look around and enjoy it” , that’s not the point.


  • Ditto on the QuietComfort headphones. I’ve had a pair of QC35’s for 10 years now with heavy use on weekly flights.

    Runs off a AAA battery which is good for like 18 hours or so. Works as regular headphones when the battery goes flat. 3.5mm cable with media controls and a mic in it.

    Still in its original hard case, have replaced the ear pads a couple of times, decent pads are cheap enough on eBay and etc.

    I also bought a Bluetooth insert for it for ~AUD75, it plugs in where the cable goes and has it’s own rechargeable battery with only about 6 hours life which is a bit of a nuisance.

    Edit: regarding audio quality, I can say that if you’re using headphones in any sort of urban environment, noise cancelling absolutely trumps audio quality. But the QC35’s aren’t too bad in the quality stakes, especially if you’re using them on the move.

    Small edit: The major thing that stops portable electronics from lasting 5+ years is the little rechargeable battery inside that dies. Removable batteries like the AAA battery in the QC 35 solves that, and as a bonus it’s “instant charge” when it goes flat, as long as you keep a tiny packet of AAAs in your bag. 4 x AAAs lasts me about 3 months.



  • 32 bit computers can handle 64 bit timestamps, it’s just a matter of defining time_t to be 32 or 64 bits at compile time. The compiler will deal with all the mess of splitting the 64 bit value up to calculate on the smaller registers in 32 bit architectures, just like any other variable defined as int_64.

    Linux kernels have had support for 64 bit time on 32 bit systems since version 5.something, so generally speaking there’ll still be retro 32 bit hardware running past 2038 just fine.



  • Ok there’s a whole lot of wtf going on here.

    AI codebots in the cloud doing your code for you, cool, I guess.

    So you need to watch them? And presumably intervene if necessary? Ok.

    So then:

    They decided that they’d stream a video of the AI codebots doing their thing.

    At 40Mbps per stream.

    For “enterprise use”.

    Where presumably they want lots of users.

    And then they didn’t know about locked down enterprise internet and had to engineer a fallback to jpeg for when things aren’t great for them. Newsflash - with streaming video peaking at 40Mbs per user, things will never be great for your product in the real world.

    How, in any way, does this scale to anything approaching success? Their back end now has to have the compute power to encode and serve up gigabits of streaming video for anything more than ~50 concurrent users, let alone the compute usage of the actual “useful” bit , the AI codebots.

    For say, 5 users out of a site of 200, IT departments will now see hundreds of megabits of streaming traffic - and if they’re proactive, they will choke those endpoints to a crawl so that their pathetic uplink has a chance to serve the other 195 users.

    All of this for a system that is fundamentally working on maybe 5kB of visible unicode text at any particular moment.