

🤷, embedded device manufacturers were really bad at software back then. I honestly don’t remember the details anymore.


🤷, embedded device manufacturers were really bad at software back then. I honestly don’t remember the details anymore.


Yeah, to be fair, there was an issue getting string.h to work (so i could just use strstr) with the vendor’s shitty toolchain, that took me talking to an engineer at the vendor, and the dev who wrote that was out of our Taiwan office. But also, my first fix was just doing a sort of sliding-window check, manually checing for s[0] == '\n' && s[1] == 'C' && s[2] == 'o' &&..., which was gross, but much more correct.


I worked at an IoT platform startup. All of our embedded device demos stopped working August 1st. I was told the same thing happened last year, but it was fine, things would start working in September. I decided to go fix it anyway. Eventually I figured out the culprit was a custom HTTP library. Instead of doing anything sensible, the way it found the Content-Length header was to loop over the bytes of the response until it found the first ‘g’ add 5 to that pointer and then assume that whatever was there was the number of bytes it should read. Unfortunately, HTTP responses have a Date header which includes the month and August has a ‘g’ in it.
There were a bunch of these demo devices already flashed and shipped out. The ‘fix’ to get them to work, even in August, was to downgrade requests to HTTP 0.9 which didn’t require a Date header in the response.
Yeah, the last 5 jobs (of 6 jobs) I’ve had I’ve applied with a markdown file or just a link to the rendered webpage in an email, IIRC.
In my head at least, it helps me filter for companies/managers that appreciate a hacker mentality. I also suspect it might help the applicant tracking systems parse my shit more correctly since it’s just plaintext. (Though the opposite could also be true since I assume the vast majority of submissions would be PDF.)
I wrote my CV in markdown for my website. I just submit the markdown file as the resume. For the few jobs I’ve applied to that have required a PDF, I just copied the text from my webpage (to get rich text formatting) into LibreOffice and exported as a PDF.
Though, I might not not be the best example to follow, I’ve been unemployed for almost 6 months.
I’m in the process writing my own version of webscript.io, an old service that died back in 2017. It was a dead simple service that would run a Lua script for each HTTP request that came in to a URL. It sounds pretty trivial, but it was remarkably useful for hacking together little scripts for things like watching webpages for changes, little custom APIs for DIY IoT devices, translating from one API to another, and other simple stuff like that.
I’ve got enough of it built that I’ve been able to make a few actually useful things with it already. A few different job posting website scrapers were the first thing I made. I also made a little script that queries a live traffic api and sends my wife an estimated drive time for her commute home. The plan with that one is to watch the drive time as it’s getting closer to the end of the day and if it starts spiking earlier/worse than normal, it can email her letting her know she should leave early if she can.


Post your actual configs and logs or people will only be able to guess. (Censor any secrets.)
My guess: It’s probably your nginx config.
Why are you using 0.19.4? That version is over a year old.
I’m curious, have you used Rust much? Most of those changes just feel like “rust should be more familiar to me” changes.
Also:
As Rust 2.0 is not going to happen, Rust users will never get these language design fixes
Isn’t necessarily true for most of your suggestions. Since most of them are just changes to syntax semantics and not language semantics they could be made in an edition.
It doesn’t sync to homeassistant, but I use a Xiaomi scale with openScale off of F-Droid. There’s a few different scales supported: https://github.com/oliexdev/openScale/wiki/Supported-scales-in-openScale


deleted by creator
As someone who is currently hiring: Anything
Beyond that it depends on what you know and what kind of work you want to do.


Hey, this might be something I’m interested in, but I’m not sure because there aren’t many details in your readme.
Some questions I’d suggest you answer in the readme:
[Edit: after looking through the code quickly, some of my questions probably don’t male sense because this seems to be an alerting style monitoring tool, not a observability style monitoring tool. Answering my own questions for others that are curious:]
What does it monitor?
[Disk space and CPU use]
What is the interface? Web? It does compare itself to grafana, so maybe. TUI? Maybe that’s what makes it more light weight?
[It doesn’t have one, it sends telegram messages when alarm thresholds(?) are hit.]
Does it only work on Debian? If not, are there deps that are required that are installed as dependencies of the deb?
[Looks like it should work anywhere, the ‘watchers’ use the nix crate and read procfs, so I assume that means it should work anywhere without depending on anything besides the Linux kernel.]
Is there history or is it real time only?
[Realtime only, well I guess there’s the telegram history.]
What does it look like? (Honestly, a screenshot could possibly answer most of these questions and a whole lot more.)
[It doesn’t look like anything. There’s no screenshot because there’s nothing to screenshot.]


Apex Legends is verified: https://www.protondb.com/app/1172470
The finals doesn’t work because of anti-cheat: https://www.protondb.com/app/2073850
Edit: World of Warships is playable: https://www.protondb.com/app/552990


The day Firefox shutters its doors is the day the internet truly dies.
*the web
The internet has so far been doing a much better job surviving as a proper decentralized system than the web.


The light is visible, the flashing isn’t.
Woah, this would be huge if this works.
Though, I’m almost more excited about the idea of native task locals variables. I came real close to trying to add that to tokio myself.


The top white rectangle is a multi-color LED (presumably RGB). Can’t make out what’s in the bottom, but I wouldn’t be surprised if it was some form of light sensor for (literally) flashing new information onto the tag.


As far as I’m aware something like that isn’t really possible.
- it would prevent one person from making multiple fake accounts
How do you define ‘a person’ and how do you ensure that they only have one account? Short of government control of accounts, I don’t think you can really guarantee this and even then there’s still fraud that gets past the current government systems.
Then, how do you verify that the review is coming from the person that the account is for?
IMO, we’d all be better off going back to smaller scale social interactions, think ‘social media towns’ you trust a smaller number of people and over time develop trust in some. Then you can scale this out to more people than you can directly know with some sort of web-of-trust model. You know you trust Alice, and you know Alice trusts Bob, so therefore you can trust Bob, but not necessarily quite as much as you trust Alice. Then you have this web of trust relationships that decay a bit with each hop away from you.
It’s a rather thorny problem to solve especially since for that to work optimally you’d want to know how much Alice trusts bob, but that amounts to everyone documenting how much they trust each of their friends, which seems socially… well… difficult.
Though the rest is actually easy™:
- reviews wouldn’t be suppressed or promoted by paid algorithms
- the algorithm WOULD help connect people to items they are interested in. But maybe the workings of it would be open source, so it can be audited for bad acting.
You do what the fediverse does, you have all the information available to everyone, then you run your own ‘algorithm’ that you wrote/audited/trust. The hard part is getting others to give away access to all ‘their’ data.


Update the controller firmware.
I’ve got the “Xbox Wireless Controller”, the one that has a little bit of a grippy texture on the handles & the ‘d-pad on a circle’ d-pad. And I was seeing the same thing before updating the FW ~a year (maybe even two?) ago.
Unfortunately, doing that requires a Windows PC or an Xbox.
Lemmy makes the
/c/format into a link to the community in my instance, FWIW.