Skip Navigation

Posts
6
Comments
25
Joined
3 yr. ago

  • refusing to follow semantic versioning standards that are designed to essentially account for that is pants-on-head stupid.

    Seems like it would be a bit hard to follow a versioning scheme that it predates by almost 20 years. Lua 5.2 even predates semver 1.0.0.

    Before semver there was basically no standardization in versioning schemes and the meaning that semver applied to version numbers basically didn't exist (at least in my experience) before it came around. Everyone just kinda had their own meaning for what version numbers meant.

  • I'm a fairly experienced Rust Dev (I've been paid to write it since 2014). I've never use Tauri, but damn it looks complicated.

    If your goal is learning rust, I'd suggest learning on something simpler. Avoid complicated "ecosystems", anything super macro heavy, or async in general. Go write code like you're a college freshman. Duplicate code, call .clone() and .unwrap() with wild abandon. There's no reason to throw all the hardest parts of the language at yourself all at once.

    If your goal is ending up with a GUI application, I don't really have advice for you, I've never figured that out myself.

  • Deleted

    Permanently Deleted

    Jump
  • Nethack server

    Ooh, interesting. I've never tried playing that.

  • Deleted

    Permanently Deleted

    Jump
  • Yeah, game servers is about the only thing I've come up with for a way to take any real advantage of the perk.

  • Deleted

    Permanently Deleted

    Jump
  • Unlimited servers. I work for a VPS provider and on my first day my boss setup my account with $10k of credit and showed me how to add more in the admin panel "whenever [I] need it". As long as I'm only using things with plenty of excess capacity and don't cause problems, I can spin up whatever I want.

    Sadly, I've already got a rack of hardware at home, so all I've done so far is spin up a server with 96GB of ram and put a 2-page static website on it, lol.

  • Ditto all of this.

    There are no good decently priced domain registrars at the moment. Even porkbun is just a cloudflare reseller now. The only downside of going with cloudflare is that don't let you use your own nameservers (at least that was true the last time I checked a few years ago), but if you don't already know that you want that, you probably don't need it.

  • Dried with laundered microfiber cloth.

    You don't use fabric softener or dryer sheets, do you? If you do, your cloth has a layer of wax on it that acts as a release agent on your bed.

  • Lemmy makes the /c/ format into a link to the community in my instance, FWIW.

  • The coins themselves don’t have any monetary value. [...] And then, the creators, etc. that you pay, would then be able to cash out those coins for real currency.

    The ability to 'cash out' means they do have monetary value.

  • If you use paper towels to clean your bed: Do your paper towels feel 'papery'? If not they might be waxed.

    If you use reusable towels to clean your bed: Do you use fabric softener? Don't.

  • 🤷, 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.

  • Technology @lemmy.world

    Mozilla’s new CEO is doubling down on an AI future for Firefox

    www.theverge.com /tech/845216/mozilla-ceo-anthony-enzor-demeo
  • Rust @programming.dev

    The end of the kernel Rust experiment

    lwn.net /Articles/1049831/
  • A crucial point was ensuring that all layers were deposited at or near room temperature, thus [...] [allowing] the use of plastic or polymer substrates, opening the door to the flexible electronics of the future.

    So, to answer the headline, no. This isn't about the top end, its more about the bottom end I guess?

    Plastic layers don't sound great for heat dissipation or max temp, but still very interesting for miniaturization of low end stuff.

  • 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.

    1. Post your actual configs and logs or people will only be able to guess. (Censor any secrets.)
    2. My guess: It's probably your nginx config.
    3. Why are you using 0.19.4? That version is over a year old.
  • Selfhosted @lemmy.world

    Have you tried self-hosting your own email recently?

  • Programming @programming.dev

    Where's the Shovelware? Why AI Coding Claims Don't Add Up

    substack.com /inbox/post/172538377
  • 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.

  • Rust @programming.dev

    things rust shipped without (2015)

    graydon2.dreamwidth.org /218040.html
  • Edit: Oh, I just saw your budget. This is ~$800, so maybe not.

    There's the Starlite 5: https://us.starlabs.systems/products/starlite?variant=55242571612540

    I've got one. It's got an x86 processor and runs standard fedora just fine, including pen input.

    Though, I don't use it for much because I haven't found any note-taking software that I actually like using. I used something back in college that just created SVG pages in an HTML notebook which I absolutely loved, but I can't find it now. It wasn't open source so I'm guessing it might have just died.