• 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle



  • Most clients are web browsers and support for torrents in http is the same as for every other file.

    So that would only give us a use for torrents as a form of content distribution plattform to get the actual files closer to the client.

    In cases where we have actual non browser clients: i like to curate what i am distributing and don’t want to distribute anything i happen stumble upon or would you be willing to store and more importantly share everything you find on 4chan or that might show up in your mastodon feed?










  • I guess some lessons need to be learned through pain.

    • Commiting regulary.
    • Following the branch rules.
    • writing tests.
    • writing tests, that test the desired not the current behaviour
    • refactoring your code.
    • not refactoring code, you don’t understand nor have tests for.
    • actually reading code before merging a pr.
    • not pulling in 23 unmantained libraries to solve a simple problem.
    • keeping your dependencies up to date.
    • that dirty hack will make your life harder.

    Yes, all those hurt. They sometimes still do, most of us are not machines that turn caffeine into code and we are never as clever as we think we are.




  • https://jsommers.github.io/cbook/cbook.pdf

    Might be a good way for someone who is familiar with a higher level language.

    Than there is of course “The C Programming Language” by Ritchie and Kernighan and “advanced programming in the unix enviroment” by stevens and rago.

    So, i’d guess just get your feet wet with small stuff. Find out how to take arguments from the command line, or read a file, maybe programm a simple guess the number game. After you are more familiar with the syntax and so on you could look into using your c code in a higher level language. For python you’d have to look into ctypes for that.