I take my shitposts very seriously.

  • 4 Posts
  • 320 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.










  • There are use-cases where a computer should not be turned off by its user for the purpose of remote management. I’m dealing with one just as I’m writing this comment.

    There’s an exam in a classroom. In 20 minutes I’ll have to run an ansible script to remove this group’s work, clean up the project directory, and rollback two VMs to the prepared snapshot to get ready for the next group. I’ve put a big-ass banner on the wallpaper telling the students not to shut down the computer, and already half of them are off.


  • Mainly because our students are idiots and will complain if the computer doesn’t turn off. Or worse, take independent action and hold the power button, or actually yank the power cable. Maybe I should just lean into it and convince them that the monitor is the computer.

    Jokes aside, how could I implement such a policy? I’ve only found one that hides the power buttons from the start menu, but Windows still responds to ACPI.


  • As another IT guy at a university, having to manually turn on 30 computers in a classroom for updates or whatever is already a pain in the ass. Wake on LAN is not a reliable solution. Havin to manually flip over every box, then putting them down, and then fixing the cables that got yanked… I’d throw those fuckers in the trash.

    The Dell Optiplex 3080 Micro’s form factor is perfectly tiny without compromising user comfort.