• 0 Posts
  • 110 Comments
Joined 5 months ago
cake
Cake day: December 6th, 2024

help-circle

  • Gzip encoding has been part of the HTTP protocol for a long time and every server-side HTTP library out there supports it, and phishing/scrapper bots will be done with server-side libraries, not using browser engines.

    Further, judging by the guy’s example in his article he’s not using gzip with maximum compression when generating the zip bomb files: he needs to add -9 to the gzip command line to get the best compression (but it will be slower). (I tested this and it made no difference at all).


  • In Lutris there’s a “Command prefix” configuration option both per-game and one in the global config with the default for all games, which is where the firejail command line goes (basically for sandboxing with firejail you’re supposed to run “firejail firejail-options original-command original-options” and putting firejail and its options in “command prefix” does that).

    Note that there are other sandboxing options that run in the same way as firejail but I found firejail to have more straightforward options.

    Also note that this won’t sandbox the actual setup of a game, only the running of the game.


  • I run all my games in Linux and everything but Steam goes via Lutris which I configured to, by default, launch them inside a Firejail sandbox with no network access (plus a bunch of other security related limitations) something which I can override for specific games if needed.

    It’s interesting that Steam games are actually the least secure to run in Linux and with a configuration as I have it’s literally safer to run pirated shit downloaded from the Internet than Steam games.



  • At one point I was hired as a developer by an IT Products company which was starting a new area using (at the time) more recent technologies and programming languages, but until the thing really started going they had no significant work for me to do so I did QA for a few months (mostly automating QA).

    Let’s just say that having a hacker mindset and a bit of a dastardly satisfaction in “cracking” the software is a big help in QA.

    I suspect that I might have enjoyed the “managing to find a way to break somebody else’s code” part of it a bit too much.


  • Look, computers are like idiot savants - incredibly fast and capable of doing all sorts of things with mindless determination, but without a shred of common sense - so when you’re programming you have to literally explain everything including what for you is obvious and there is a whole class of bugs (around corner cases and boundary conditions) related to the programmers not explaining absolutelly everything and forgetting some really rare or unusual situations.

    For documentation purposes one should assume that at least some users are like computers, without the savant part.






  • I had quite a lot of the same frustration because, although I was never a sysadmin (more like a senior dev who has done a lot of software systems development and design for software systems where the back and middle tier are running on Linux servers, which involved amongst other things managing development servers), I was used to the Linux structure of a decade and more ago (i.e. runtime levels and the old style commands for things like network info) and the whole SystemD stuff and this whole raft of new fashionable command line info and admin tools that replaced the old (and perfectly fine) ones was quite frustrating to get to grips with.

    That said, I’ve persevered and have by now been using Linux on my gaming rig for 8 months with very few problems and a pretty high success rate at running games (most of which require no tweaking) not just Steam games but also GOG games using Lutris as launcher.

    That said, I only figured out the “magical” Steam config settings to get most games to run on Linux when I was desperately googling how to do it.

    Oh, and by the way, Pop!OS is a branch of Ubuntu, so at least when it comes to command line tools and locations of files in the filesystem, most help for Ubuntu out there also works with Pop!OS.


  • I moved to Linux on my gaming rid (this last time around, as I’ve had it as dual boot on and off since the 90s, but this time I moved to it for good after confirming that gaming works way better in it than ever before) when I had a GTX1050 Ti, and I had no problems 1

    Updated it to an RTX3050 and still no problems 2

    Then again I went with Pop!OS because it’s a gaming oriented distro with a version that already comes with NVIDIA drivers so they sort out whatever needs sorting out on that front, plus I’m sticking with X and staying the hell away from Wayland on NVIDIA hardware since there are a lot more problems for NVIDIA hardware with Wayland than X.

    Currently on driver 565.77

    I reckon a lot of people with NVIDIA driver problems in Linux are trying to run it with Wayland rather than X or going for the Open Source drivers rather than the binary ones.

    1 Actually I do have a single problem: when graphics mode starts, often all I get is a black screen and I have to switch my monitor OFF and back ON again to solve it. I guess it’s something to do with the HDMI side of things.

    2 I have exactly the same problem with the new graphics board.


  • How to give it a go:

    • Get a 256GB SSD and install it on your computer alongside the existing drives.
    • Install a gaming-oriented Linux distro such as Pop!OS, Bazzite, SteamOS or similar, on that drive (don’t let it touch any other drive - those things generally have an install mode were you just tell it “install in this drive” which will ignore all other drives)
    • Unless your machine is 10 years old or older, during boot you can press a key (generally F8) and the BIOS will pop-up a boot menu that lets you choose which OS you want start booting (do it again at a later date if you want to change it back). If your machine is old you might actually have to go into the BIOS and change the boot EFI (or if even older, boot drive) it boots from in the boot section of the BIOS.
    • Use launchers such as Steam and a Lutris since they come with per-game install scripts that make sure Proton/Wine is properly configured, so that for most game you don’t have to do any tweaking at all for them to run - it’s just install and launch. In my experience you still have to tweak about 1 game in every 10.
    • If it all works fine and you’re satisfied with it, get a bigger SSD and install it alongside the rest. Make one big partition in it and mount you home directory there (at this point you will have to go down to the CLI to copy over your home directory). You’ll need this drive because of all the space you’ll be using for games, especially modern ones and launchers like Steam and Lutris will install the games in your home directory so having that in it’s own partition is the easiest way to add storage space for games.

    As long as you give a dedicated drive to Linux and (if on an old machine before EFI) do not let it install a boot sector anywhere else but that drive, the risk exposure is limited to having spent 20 or 30 bucks on a 256GB SSD and then it turns out Linux is still not good enough for you.

    When NOT to do it:

    • If you don’t know what a BIOS is or that you can press a key at the start of boot to get into it.
    • If you don’t know how to install a new drive on your machine (or even what kind of drive format it takes) and don’t have somebody who can do it for you.
    • If you don’t actually have the free slot for the new drive (for example, notebooks generally only have 2 slots, sometimes only 1).

  • I thought the same, especially since I had tried Linux on my main several times since the 90s (my first dual boot was with Slackware).

    Then maybe 8 months ago I did the transition, and installed Pop!OS since I’m a gamer plus I have a NVidia graphics card and didn’t want to go through the whole hassle related to that (Pop!OS has a version which already comes with those drivers).

    Mind you, I did got a separate SSD for Linux and meanwhile added a new one, which is where my games directory is mounted and upgraded the root one to something a bit bigger,

    So, this time around, what did I find out in about 8 months of use:

    • Once, I did had to boot into CLI mode and have apt do some failed upgrades, which included doing some kind of rebuild thing (you get instructions of what command to run when apt fails). This was due to a upgrade of the apt itself, I believe. All the other times it just boots to graphics mode (I’m using X rather than Wayland) or if it fails to start it (happened only a handful of time) you just reboot it.
    • In general even though I’ve done things like add and change hardware components, I have done little tweaking via CLI and some of it I did it because I’m just more comfortable with it or wanted so obscure options (for example, I wanted to mount the drive shared with Windows with a specific user and group, so I had to edit fstab). Except for the more obscure stuff there are UI tools for all management tasks and one doesn’t have to actually do much management and things almost always just work (for example, I changed graphics card - whilst staying with NVidia - and it just booted and worked, no tweaks necessary)
    • As for games, I use Steam for Steam Games and Lutris for all other game versions including GOG. Both have install scripts specific for each game, that configure Wine appropriately, so you seldom have to do anything but install, launch and play. That said in average I have had to tweak maybe 1 in 10 games. Further, about 1 in 20 I couldn’t get them to work. If you do install pirated games, then there is no install script and you do have to do yourself the whole process of figuring out which DLLs are missing and configure them in Wine using Winetricks (curiously, I ended up having to install a pirated game because the Steam version did not at all work, and the pirated version works fine). Note, however, that since I don’t do multiplayer games anymore, I haven’t had problems with kernel-level anti-cheat not working with Linux.
    • Interestingly, for gaming you have safety possibilities in Linux which you don’t in Windows: all my games launched via Lutris are wrapped in a firejail sandbox with a number of enhanced security restrictions and networking limited to only localhost, so there is no “phone home” for the games running via that launcher (Steam, on the other hand, is a different situation).

    I still have the old Windows install in that machine, but I haven’t booted into it for many months now.

    Compared to the old days (even as recently as a decade ago), nowadays there is way less need for tweaking in Linux in general and for gaming, even Windows games generally just install and run as long as you use some kind launcher which has game-specific install scripts (such as Steam and Lutries), but if you go out of the mainstream (obscure old games, pirated stuff) then you have to learn all about tweaking Wine to run the games.

    If you have a desktop and the space to install the hardware, just get a 256GB SSD (which are pretty cheap) and install a gaming-oriented Linux distro (such as Pop!OS or Bazzite) there, separate from Windows and you can dual boot them using your BIOS as boot manager: since the advent of EFI, booting doesn’t go through a boot sector shared by multiple OSs anymore, so if you install each in their own drive then they don’t even see each other (you can still explicitly mount the Windows partitions in Linux from the Files app to access them, but otherwise they have no impact whatsever on booting and running Linux) and only the BIOS is aware of the multiple bootable OSs and you can get it to pop up a menu on boot (generally by pressing F8) to change which one you want to boot.

    For the 20 or 30 bucks of a 256GB SSD it’s worth the try and if you’re comfortable with it you can later do as I did and add another bigger one just for the directory with you games (or your home directory, though granted to migrate your home like this you do have to use the CLI ;))



  • Go check in Aliexpress: there are tons of non-smart phones, especially the stuff marked as “senior phone”, and they’re pretty cheap too (like $15 for a mobile phone that just does calls and SMS).

    If you want the stuff that’s not glitzy and heavy on marketing you need to get it from where the factories are, not were the brands are - basic mobile phone tech is a thoroughly solved problem and highly integrated nowadays and well within range for even smallish electronics manufacturers to design themselves.

    Also check HMD, the Finnish mobile maker who bought Nokia’s mobile business, who also have several non-smart models (including old Nokia models).

    Edit: No idea if any are flip-phones though. Here’s an example flip phone



  • Honestly, both here and on Reddit I see more of that blind faith for Google and Microsoft. It’s so weird that the open-source community has a slice of people insisting their giant company is somehow virtuous because it’s slightly less fashionable.

    Even weirder when they write paragraph’s psychoanalyzing imaginary people.

    Oh, the irony!

    It’s funny how your attempt at psychoanalyzing me from my post ended up relying on the idea that because I’m not pro-Apple then I must be for some other large company.

    What you just did is called Projection - you’re interpreting others as if they were you and had your drives and motivations.

    Allow me to introduce you to the idea that some people simply don’t think that having an emotional relation towards a brand, any brand, is healthy, and that not everybody is some brand-fan fighting against the fans of other brands like they’re sports teams.


  • The obvious Apple fanboy is the kind of person who sings praises to every single new version of every Apple product even when it barelly differs from the last one, never criticizes their products and goes to a queue outside an Apple store the evening of the day before a new release of an Apple product to be one of the first to buy it next morning when the store opens.

    I’ve personally came across a couple of people just like that over the years.

    (Granted, they were more common a decade or so ago)

    Every single person here doggedly defending Apple’s choice whose argument boils down to “it’s fine it’s as I like it” (whilst ignoring that everybody else has their own likes and dislikes) to justify Apple only having a closed-down environment without an open environment as another option, is probably a fanboy.

    “I love it the way it is” isn’t logical, it’s emotional, and there really isn’t a natural human tendency (in most people) to want to have their choices taken away, so something else is at play when somebody defends nobody having any options with Apple other than Apple, with the argument that “I like it like that”, since logically, having the option of an open system won’t take away the option of the closed system for those who like it.

    That said, an alternative explanation for such behaviour is that they’re just self-centred people who are extremely used to a specific environment and couldn’t imagine why anybody would want it to be different, a posture which is often associated with fanboyism of the brand which makes that environment, but not always.

    Also another explanation is paid sockpuppet.