I take my shitposts very seriously.

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

help-circle
  • You’ll encounter math eventually. It could be as simple as implementing linear interpolation for a custom type, or understanding why a type is not suited for a particular application (e.g. never use floating points to represent money). If you delve into low-level networking, you’ll need a good understanding of binary/decimal/hexadecimal conversions and operations. If you go into game development or graphics, you won’t survive without a deep understanding of vectors, matrices, and quaternions. Any kind of data science is just math translated to a machine-readable language.

    In my opinion, knowledge of the basic concepts is more important than being good at actually performing mathematics with pen and paper. For example, if you need to apply a transformation to a vector, nobody expects you to whip up a program that does the thing. Instead, you should immediately know:

    • what a transformation is (translation, rotation, scaling, projection, etc),
    • that each transformation has a corresponding transformation matrix,
    • that you’ll have to deal with inhomogeneous and homogeneous coordinates, and
    • that you’ll have to combine the transformation matrices and the original vector.

    That abstract knowledge will give you a starting point. Then you can look up the particulars – the corresponding transformation matrices, the method to convert between inhomogeneous and homogeneous coordinates, and the process of matrix multiplication. I know because I failed calculus.






  • The reality is that, although there are quite a few standalone Wayland compositors, you don’t hear about most of them, because almost all of them suck in one way or another if you go beyond opening terminals.

    Oh, fuck off! I can barely use Blender because dragging a spinner control does something with the cursor that makes Hyprland shit its pants. It’s been fixed and broken several times. May or may not be related: Vaxry has expressed his disdain for Blender in issue notes. (edit) found it: https://github.com/hyprwm/Hyprland/issues/3270

    (edit2) I should also mention that Hyprland is the only compositor where this happens. KDE Plasma, Qtile-wayland, Sway, Wayfire are all fine.






  • Ah yes, “the devs”. What percentage of the profit do you think goes to the gameplay developers, the backend developers, the designers, the character artists, the environment artists, the QA team, the writers, the voice talent, the localization teams, and the other roles too numerous to list but too important to ignore, that actually create the game? In contrast, how much do the executives, managers, and parasites shareholders pocket?

    Even if you assume a fair division between all people, just look at how long the credits list is. The average developer employee won’t go hungry because a couple hundred players stop buying gamble coins.





  • I tried dual-booting Win10 and Arch for a few months. It was problematic.

    I had to set the clock every time I switched because one expected the hardware clock to use UTC time and the other expected local time.

    NTFS on Linux is not good. The driver works, but there are fundamental differences between NTFS and Unix-like filesystems that makes cooperation difficult (e.g. NTFS uses ACLs instead of the user/group ownership and user/group/others permissions of Unix). Windows also places additional restrictions on the filesystem (e.g. NTFS supports file names that contain :, Windows doesn’t) that can completely bork the volume if violated.

    But the worst offender, and what made me nuke Windows entirely, is Windows Update. It completely fucked up the boot partition, deleted the bootloader, then died and left Windows unusable.

    These are all issues that can be solved, if you know how to solve them. My advice is to go cold turkey and delete Windows from your life.




  • (edit) I assume you’re mounting the NTFS volume using fstab, which is how you should mount internal drives. If you’re trying to use the file manager to mount it dynamically, you really should look into how to use the fstab file.

    I’d like to see your mount options.

    As others have said, it’s best to explicitly mount it with the rw option.

    Second, because NTFS doesn’t understand the Unix-like file ownership of users and groups, you have to specify the UID and GID of the mounted filesystem using the uid= and gid= mount options. If you don’t specify these, all files within the NTFS volume will appear as being owned by root. Use the uid=1000,gid=1000 options to mount the volume as owned by your user.

    Third, use the windows_names option as well. Otherwise the filesystem will allow you to create files with illegal names, and that will completely fuck up the volume when mounted on Windows. For example, the : character is permitted by NTFS, but not by Windows.

    Although, in general, just avoid using NTFS on Linux if you can. The driver is good, but there are too many basic conceptual differences between NTFS and most Linux filesystems.