likes: food, programming, traveling, physics

  • 3 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle







  • Learned how drivers worked and fixed a driver for an USB to I2C chip. It’s still buggy but at least it sorta works now.

    Some more details: I was using a CH347 (USB to UART/SPI/I2C) and there was an open source driver that used a previous chip version. The original dev had hardcoded the bulk IO endpoints indices. The only change I had to do was just iterate over the endpoints and search for the correct ones. But at first, I didn’t understand anything about how the USB subsystem worked and how drivers were loaded. All I could tell was the USB device was correctly detected but the I2C driver wasn’t being loaded, despite proper udev rules, correct vendor/product IDs, etc.




  • ⚠️ Warning:

    There may be an offensive/gross picture posted in this thread. It was deleted from the thread a while ago but I’m still receiving reports for it. Your instance might not be correctly syncing deletions with the LW instance if you’re still seeing the comment. Sorry in advance if you see it.



  • Kevin@lemmy.worldMtolinuxmemes@lemmy.worldLinus does not fuck around
    link
    fedilink
    arrow-up
    33
    arrow-down
    4
    ·
    edit-2
    7 months ago

    I don’t think it’s necessarily a celebration of abuse. I agree that he’s obviously way out of line sending this email.

    I think Linus is (was) a complete asshole who lacks interpersonal skills, and this email exemplifies his character. To me, this post shows the mentality of some developers (and leadership) in FOSS and why some folks find it difficult to contribute to open-source software. This post opens up the discussion on that.

    FWIW, I’ve received zero reports on this post itself. But I’ve received reports on abusive comments in this post, which I’ve promptly removed. This community is more/less self-moderating and if the post receives a significant positive vote ratio, I don’t think it should be removed by me. It brings an important discussion to the table regarding acceptable behavior in software development.




  • Kevin@lemmy.worldtoProgrammer Humor@lemmy.mlwe are safe
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    I don’t think it’s very useful at generating good code or answering anything about most libraries, but I’ve found it to be helpful answering specific JS/TS questions.

    The MDN version is also pretty great too. I’ve never done a Firefox extension before and MDN Plus was surprisingly helpful at explaining the limitations on mobile. Only downside is it’s limited to 5 free prompts/day.