• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • Your perspective might be why I enjoy microcontroller work. I love getting to know everything about the system, reading hardware documentation, and getting the low level parts to work in a highly deterministic way.

    I use ATTiny85 cores when a ESP32 costs almost the same, but the 85 only has 256 bytes of SRAM and five I/O pins so I can track it all and ensure it will do exactly what I want.







  • Yeah, those durn data size fields. At first you’re like “why would you do this? It’s specified in the spec, right?” Then you start consuming the data stream and go “oh, yeah need this”.

    I was doing some driver work for a real time location tracking board. The serial stream protocol was very well documented and designed. Plenty of byte length count fields, though.


  • This approach is so much nicer than the threading/queuing approaches we used to have. One async showed up, a ton of the work go pulled out of protocol handing and distributed subsystem sync efforts.

    Long lived the multi threaded C++ server buffer! Today, async beging to rule the roost.







  • One of the interesting aspects of humanity is how much people like given text editing methods. There’s a handful of approaches and after learning one or two, people really figure out what works for them.

    I am more than happy to say I like vim, but in the end you should use what you like best. Just done be surprised when I can write and edit a ton of text really fast while your nano session is comfortable, but slow.


  • azimir@lemmy.mltoProgrammer Humor@lemmy.ml#Vim #Meme
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    10 months ago

    If an IDE doesn’t have vi key bindings it isn’t going to be used by me. That’s what finally get me to change from terminal only dev to vscode. Until I found the vi editing extension the IDE wasn’t of interest.

    Yes, vi is just that good.

    I hear emacs bindings are also great, but I just know how to save and exit from emacs.



  • VPNs are not the security panacea that marketers would have you think they are. Using a VPN does provide some obfuscation as to your origin, but it does change your trust model. The VPN service provider may tunnel your traffic through your ISP to hide data from the ISP, but now it’s visible to the VPN service provider instead.

    There are plenty of use cases for a VPN, but just like any other technology or service, you need to know what it actually does so you know what it actually achieves or doesn’t achieve.



  • I’ve been doing a lot of using, testing, and evaluating LLMs and GPT-style models for generating code and text/prose. Some of it is just general use to see how it behaves, some has been explicit evaluation of creative writing, and a bunch of it is code generation to test out how we need to modify our CS curriculum in light of these new tools.

    It’s an impressive piece of technology, but it’s not very creative. It’s meh. The results are meh. Which is to be expected since it’s a statistical model that’s using a large body of prior work to produce a reasonable approximation of what it’s seen before. It trends towards the mean, not the best.