Inspired by this Lobsters thread, and some of the great comments within it, I would like to ask if anybody is doing some hobby programming this weekend?

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 days ago

    I’m messing with making a kernel softmac driver that can handle Nintendo specific 802.11 frames so that MelonDS can connect to a real DS or to another device using the native Nintendo wirelesss protocol.

    Lot’s of interesting reading and packet capture fun with Wireshark has given me an idea of where to start, but the tricky part is that the DS needs less than 20us of round trip latency for it to work, which is insanely low. Otherwise the connection is considered interrupted and gets dropped.

    afaik, the only part that “verifies” the latency are ACK frames which the DS expects a return for every frame transmitted, so it should in theory be possible to just make a small driver that generates ACK frames at kernel priority, and forwards the rest of the frame to MelonDS for actual game handling.

    I’m hoping it turns out that easy but the MelonDS forums have a long ass thread about how much of a PITA the DS wireless multiplayer timing synchronization requirements are.

    • Maddier1993@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      20 days ago

      Ooh, It does sound interesting. My wild conspiracy is that Nintendo has made hardware offloaded functions that run with sub-microsecond latencies so this 20 us looks more like blocking non-DS hardware from communicating with the DS.

    • xianjam@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      20 days ago

      Wow, this would be quite cool. When DS emulators were new, I wanted this to be a thing so bad.

      Unrelated (and not what I’m doing this weekend), but I’ve always been interested in reversed-engineering the DS / DSi firmware drivers that connects to WiFi to attempt to backport the 802.11b driver to WEP-only DS games.

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    I wrote a memory scanner that can regex over a processes memory. Goal was to make it easy to find CTF flags in memory. Dunno how useful it is in reality, but it was a fun tangent.

  • one_old_coder@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Kotlin Multiplatform because I’m unemployed, and Kotlin is a nice language and it’s been decades since I haven’t done a mobile application (the last ones were in Java for Android and Objective-C for the iPhone).

    • alienscience@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      21 days ago

      I haven’t used Kotlin for years but I did do a $WORK project in it once. I prefer co-routines in Kotlin to using async in Rust (which makes sense because it is a higher level language with a garbage collector). I also like how easy it is to write Domain Specific Languages (DSLs) in Kotlin.

      Good luck with the job search. Its hard out there at the moment.

  • tias@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    I’m working on a classifier to keep the chaos of my inbox under control. It uses the gemini LLM API (gemini-flash-lite) to add labels to each email depending on things like:

    • does it require an action from me?
    • does it require a reply from me?
    • is there a deadline?
    • is it an invoice?
    • is the information just an event about changes to information that exists in another system (i.e. a notification that can be deleted)

    Currently upgrading from the 2.x to the 3.x model and tuning some of the prompts.

  • alienscience@programming.devOP
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    I got interested in constraint programming, and I had NO idea how it worked. It seemed like magic.

    I have started on following the slides and code of MiniCP, and have started implementing the first steps in Rust. I find it very challenging but it is a great learning experience. I got such a thrill from solving the N-Queens problem in milliseconds from a program that I had written myself.

    I am continuing to develop the implementation for a few hours this weekend. Because writing a constraint system is hard, I am also learning some new parts of Rust that I have not touched before.

  • A_norny_mousse@piefed.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Polishing my current SailfishOS installation. Some systemd services to tweak things, some user scripts in .desktop files (i.e., menu icons). I’m not an app developer but I love how I can do all my Linux tweaking on my phone, too.

    The OS has gotten a lot better recently, and I’m on the most suitable non-dedicated device now. It should last me some years.

  • andioop@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    20 days ago

    I’m lucky enough to sometimes take public transit that publicly posts its data on arrival times and the like. Have been working on a script to tell me when there’s a track change (which changes where I need to wait for the train) because I’m a lazy person who wants to just have a notification fly across my phone screen instead of actually checking on the website. Currently working on testing some functionality before dumping it on my Raspberry Pi. I usually work on this while on the transit, but hopefully I’ll do some of it this weekend.

    Also would like to get working on the bog-standard baby coder personal project habit tracker, to make sure I remember how to do front end, back end, etc. I’ve learned I am more likely to use a system I built for myself. We will see if I get to it!

  • Valmond@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    Working on my latest videogame, very early stages but it’s coming along nicely.

    I also sot up a git server at home and a ssh access key on my el-cheapo laptop and I feel very good every time I push a branch from it to home.

    I do have performance issues with Rider though (JetBrains C# IDE), I have disabled basically everything except syntax coloring and still it’s just lagging insanely all the time. 20 seconds i7 quad core peak because I (shudder) select text, or erase some letters in a comment. Aaaaaa! If anyone knows a C# ide that works well with Godot on linux I’m all ears. Syntax coloring, debugging & autocomplete if possible, FOSS would be fantastic (microsoft code thingy sucks ass btw IMO).

    Godot is fantastic BTW!

  • ArsonButCute@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    I’m relearning arduino!

    I’ve got a couple 382p’s laying around and wanna build an RTOS for them, eventually drive a CYD to interface with them.

    End goal: Affordable offline-first PDA.

  •  @programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    upgrading unloved django blog to 5.2, rebuilding vps, moving everything to uv and working out how that’s going to play with piku.

    if get that done, fix up some of the css on my blog and start a blog post to use as back country and camping check list (bc i forgot some stuff i really should have taken on last tour).

    half arsed look for new job.

    help bro cut down a tree.

    clean the car.

  • yuman@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    got fed up with the local marketplace options so Imma scrap together a market. haven’t touched django in like a decade, not up-to-date on tooling, don’t wanna pay for 3rd party services… what can possibly go wrong?

  • orhtej2@eviltoast.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Will probably try to migrate my Matrix homeserver from Dendrite to Continuwuity. No official migration path exists, what could possibly go wrong 😜