• 9 Posts
  • 36 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

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




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









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










  • I just pulled my Bangle.js 2 back out to play with making a better reminder system for myself. It works better than any of the other open source watches I’ve had with my GrapheneOS phone. The hardware isn’t open source as far as I know, but their mobile app (fork of gadget bridge) is, as are all the apps that run on the watch, and (I think?) the watch OS.


  • Check your state or country’s laws, you might not even need the contract amended. In the state that I live in any contract clause that tries to prevent you from doing any work entirely on your own time with entirely your own materials is explicitly unenforceable.

    Plus if it’s just a small open source library (assuming your employer is sane) it’d be a waste of money for them to even ask a lawyer to write a letter to you, because why would anyone care.

    If you really care about getting it right, you can find a local employment attorney and have them explain your local laws and edit and/or negotiate your contract for you. I did that once, but I felt like it was probably a waste of the $900 I paid. (I mean, it definitely was a waste in that case because that job was a nightmare and it only lasted 2 months, lol.)