Skip Navigation
Avoiding if-else Hell: The Functional Style
  • EDIT: read the article turns out it's super useful... It gives insight into decision table which is a pattern I did not know about until recently...

    Is this really a recurring design pattern for y'all?

    I mean, you can just use a switch. anyways I'll read the article and see ;)

  • Deleted
    Looking for a system/application language that is better than C/C++
  • I see your point though. It feels like people giving advice on Rust used it 3minutes. It really depends on how trait are structured and often times they are horribly difficult.

    It’s because of the borrow checker complaining. It’s especially hard with Async stuff.

    Rust is good, it’s not perfect for everyone. I wouldn’t recommend for gamedev. You might like C# with native modules in Godot, you can extend it pretty much how you want.

    Less C++ stuff, more fun!

    But yeah that’s a problem, if you want a system programming language it’s hard to get away from C/C++ lol.

  • Krunker Aimbot with Yolov8 and Roboflow datasets!
  • Cheats are so interesting to make lol. I won’t lie, DLL hooking is passionating. I never used them in real matches though, I don’t see the point in that.

    But programming-wise, cheats work in a interesting environment => kernel drivers

    So there’s a lot of thing to experiment with to confuse Vanguard for instance

  • I need a new phone but I want to do this right

    (Please when answering, assume I’m not a beginner at privacy/programming :) I know where the good stuff at)

    First off, shameful confession: I’m writing this on a dying yellow iPhone XR I bought second-hand three years ago (189€). I absolutely love the look of it: the screen, build quality, are all amazing. The only problem was the locked ecosystem (sideloading Spotify/Torrent client was sooo hard).

    I saw the android phone of my mother dying really fast. She currently has a Xiaomi phone that’s ridiculously big for my hands, there’s advertisements in the stocks apps (?!!), the UX is janky and everything. It looks like a bloat, privacy nightmare.

    So… because it’s impossible to find a jailbreakable phone nowadays I need to buy an android and ideally I would want:

    • Good screen (vivid colors)
    • Good build quality (not shitty plastic)
    • Don’t care about the camera (I don’t want those ridiculously big cameras they make nowadays)
    • Would want to install either GrapheneOS/LineageOS

    The things that scare me off:

    • I really need my bank app and I need it updated so I have to use Google Play Services but I don’t want it to plague my phone with privacy bullshit (I want to be degoogled)

    The things that excite me:

    • Customization possibilities
    • Learning experience
    • Even more privacy than a de-googled IOS phone :)
    • F-Droid!! (Maybe I’ll find a beautiful IRC client)
    • More choices for Mastodon & Lemmy clients
    • Freedom of free software.
    • client for open-source git providers :)

    But to get all of that, I don’t want Google, I need shitty apps (non-free software) I have to install:

    • Instagram (for non-technical friends)
    • GitHub (job & open-source)
    • No-Ad Modded Spotify from Balatan
    • Discord (gamer friends)
    • Telegram (cryptobros friends)
    • Steam (because I still love gaming)

    Any advices? Phone ideas? I’m so lost in this ocean of choice (freedom ✨)

    My current phone:

    !

    !

    75
    Is Asmongold an alt-right "entrypoint" influencer?

    When I watch certain of his Youtube clips, etc... some things bug me off. What do you think of it?

    31
    Is there a book/saga that you finished and cannot forget to the point where it gets harder to read other books?

    For me, the first time this happened was with The Royal Assassin Saga from Robin Hobb, and then Metro 2033.

    This year, it’s The Witcher saga… (I can’t move on) I love all those introspective books with thoughtful heroes trying to make sense of the world they are forced to evolve into.

    Do you have any other book like that?

    33
    How do you find projects to work on when learning a new language?

    I have been learning C++/Elixir recently and I’ve made a distributed port scanner & and a streaming platform with Elixir (what an amazing language to work with) and some fun in C++ (also super cool to use).

    I feel like I gained basic mastery of the languages, but I’ve been meaning to deepen my knowledge of them. However, I don’t know where to start now…

    Can you give me ideas, open-source project that I could help, etc… ? Thanks!

    14
    Help me address some problems with C++ (beginner questions)
    github.com GitHub - WerWolv/ImHex: 🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.

    🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM. - WerWolv/ImHex

    GitHub - WerWolv/ImHex: 🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.

    I've been trying to learn a system language because it would enable me to access a whole new world of possibility for games, tools, and potential projects. My main problem when learning the language are:

    • can I write modern C++ code using the newer standards and still compile with libraries from older standards?
    • how do I even organize a C++ project? Look at the linked project, the CMakeList.txt is so hard to understand, the syntax looks so hard to write.
    • how do I install dependencies? You're going to laugh at me, but I always used languages with package managers and I looked again at the linked project, and they write a whole CMakeList.txt to import ImGui (GUI library I wanna try) but if you compare the structure of the files, it's different from the ones on the repository of ImGui.

    As you see there are a lot of problems and it pains me to not be able to solve them because Rust is so unfun to use and work with! Do you think I should try C++, carry one with it?

    Thanks, hector.

    22
    Pirates of the world we need your help to fight back for the sake of Yuzu and emulation freedom!

    cross-posted from: https://lemmy.ml/post/12810167

    > I've made a full archive of Yuzu > > Hi I've made a full archive of Yuzu. That would include all their Github issues, the git repo on its last version, the latest available release binaries from the Github page, and all of their progress reports from the Yuzu website. The progress reports are good for understanding the general work and weaving a narrative in your mind about the trajectory of the Yuzu project, and the Github issues can outline resolved issues and outstanding ones. > > I do not include any illicit materials in my archive. If you seek keys, roms, firmware, etc, you won't find it here. > > magnet:?xt=urn:btih:404295db91d035ae11395ad1755ab7e5dc8b6f19&xt=urn:btmh:1220f2bd7dbfd7ec2e25c9e848cf0b17d771332e57e3ba109368e111c0a45967966e&dn=yuzu-full-archive&tr=udp%3a%2f%2fopentracker.i2p.rocks%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.auctor.tv%3a6969%2fannounce&tr=udp%3a%2f%2fopen.tracker.cl%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.torrent.eu.org%3a451%2fannounce&tr=https%3a%2f%2fopentracker.i2p.rocks%3a443%2fannounce > > > While I'm happy to share this torrent for basically as long as possible, I do not have port forwarding available. So if anyone wishes to have these materials and possibly has a seedbox, please assist! Also this is like the first time I've ever created a torrent, but I'm pretty sure I did it right. > > P.S. I am completely unrelated to Yuzu team members. I'm just a saddened user like everyone else.

    26
    Do you feel like top-down point-and-click movement is not precise?

    I was watching the IGN overview on “No Rest For The Wicked” and they say that they abandoned the point-and-click system in favor of WASD because it was not precise enough.

    I don’t mind it, either way is fine. However I love the League of Legends type of movement, it’s a factor that makes me still play the game.

    (DotA has even better and precise movement mechanics but they are less fun I think)

    It’s hard to master yeah, with the unlocked camera and all but I feel like you can be very precise and do exactly what you want: it is very satisfying.

    What do you think? Do you know other games that use this point-and-click movement?

    29
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HE
    hector @sh.itjust.works
    Posts 10
    Comments 152