• 0 Posts
  • 53 Comments
Joined 7 months ago
cake
Cake day: August 6th, 2024

help-circle



  • _____@lemm.eetoLinux@lemmy.mlHelp me change my windows gaming pc to Linux
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    18 days ago

    You should just test run it from a bootable usb.

    Install steam. Mount your NTFS drive which contains your windows games. If you have sims on steam use steam. If not take a look at lutris before doing any of the above.

    Your experiment ends when you’ve tested all games you want to play.

    Now: You cannot use NTFS (windows) drive for games, although you did it in the experiment long extended usage is discouraged.

    So you will need to find a way to transfer your games to a different formatted drive. (ext4, btrfs for example)

    If you don’t need that advice you will eventually run into frustrating issues.


  • "grug try watch patiently as cut points emerge from code and slowly refactor, with code base taking shape over time along with experience. no hard/ fast rule for this: grug know cut point when grug see cut point, just take time to build skill in seeing, patience

    sometimes grug go too early and get abstractions wrong, so grug bias towards waiting

    big brain developers often not like this at all and invent many abstractions start of project

    grug tempted to reach for club and yell “big brain no maintain code! big brain move on next architecture committee leave code for grug deal with!”

    https://grugbrain.dev/




  • SQL injection is like this: you have something you can interact with on the browser like a form containing different values.

    You hit a button and that value is sent and merged into a SQL query.

    Say the value is an user ID and you’re deleting an account, perhaps your own.

    If the coder is incompetent the API will run this query: “DELETE FROM USERES WHERE ID = <id in form>”

    Which means that if you open the developer console, change the value field for that html ID you can break that SQL line and write more SQL, or you can delete other users based on their ID.

    Essentially editing a frontend input allows that input to be ran directly by the SQL engine. It’s like having full access.

    So through that ID field you can inject more SQL code. There’s multiple ways to do this, sometimes the URL itself on a website uses these query parameters like "&search=something” and the “something” is injected into the SQL string.

    SQL injection is baby’s first exploit, this method is like granting everyone DB access.




  • _____@lemm.eetoLinux@lemmy.mlArch Linux – Best Tips for Beginners?
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 month ago

    The whole arch advantage (imo) is that you have a full understanding of what’s in your machine and how it works.

    As a beginner you won’t understand and that’s okay, but you should try different things (or don’t and just focus on what works for you) as long as the end result is you doing: pacman -Qe and going “hmm that makes sense”, and imo the undesired result is going “hmm what do these all do, why do I have 2000+ packages”








  • _____@lemm.eetoLinux@lemmy.mlTips for getting better at Linux.
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 months ago

    I can tell you how I learned linux. be prepared to cringe.

    1. I installed Linux before going to school, I figured that if I used Linux as my main OS I would be less tempted to dick around and play games

    2. I eventually found a coop part time job as a dev. I used my own Linux machine, and being the star eyed young person I was I used arch.

    this is the cringe part:

    1. I did dev work on arch Linux without fully understanding how it works and ran into multiple issues (none of which was because of arch). for instance my USB wifi driver was the dogshit broadcom ones so the “drivers” for it were kind of messed and I had to hack several things into get it to work.

    I learned systemd, Linux kernel modules, dkpg, obviously more familiarity with bash and shell stuff

    1. I ran into issues with grub because FUCK grub. so I had to learn about boot loaders, fixing your install with chroot on a live usb, I also wrote step by step guides to untuck my particular problem just in case I run into it again

    so moral of the story is… dive in?