Skip Navigation

Posts
5
Comments
271
Joined
3 yr. ago

Interests: programming, video games, anime, music composition

I used to be on kbin as e0qdk@kbin.social before it broke down.

  • I have a folding card table that currently serves as my desk. I don't know how old it is -- 1960s, maybe, based on the style of the brand/sales label on the back? It's almost certainly older than I am, at least... Got it from my uncle back when I was in college and its still working well enough that I haven't bothered to replace it.

  • I don't know what anyone else intends to do, but if I can fix the issues I'm currently looking at -- and no one else has stepped up in the interim -- I'll at least take a look at the 1.0 stuff. (I use mlmym and would like it to keep working...)

  • the thumbnails now are even more clearly 4-pixel potatoes

    pictrs's thumbnail parameter uses dumb raw pixel sampling -- which leaves something to be desired... It has other sampling options implemented (with resize, according to the docs), but they don't seem to accessible on my instance. You can remove thumbnail=96 if you want to get the image without that thumbnail sampling, at least.

    make everything zoom 150%

    I do this with my browser's UI (ctrl-plus keyboard shortcut in FF-based browsers works for me).

    e.g. right side bar

    [...document.querySelectorAll(".side")].forEach(sidebar => sidebar.remove())

    You could also just adblock the element with class side.

  • someone forks and maintains it.

    MrKaplan already forked it and is keeping it on life support for lemmy.world. I've been trying to make enough sense of it to fix several issues that have been bugging me for a while, and will contribute my fixes there if I can figure them out.

    I've only got a few hours each weekend where I have good concentration + enough free time to work on it, and don't know the relevant languages (Go, Rust, TypeScript), so my progress is pretty slow... but I'm still poking at it.

  • Voting

    You could support this by making vote buttons submit a form if JS isn't enabled. (That's what mlmym does.)

    Can't manually switch between dark and light mode

    Hmm... There are some pretty nifty things you can do with a hidden checkbox, label, and some clever CSS (e.g. html:has(#element:checked) + CSS variables -- though FYI :has is baseline 2023.)

    Making it persistent would require some more effort -- e.g. form + cookies + server side style sheet selection, most likely. mlmym lets users change their theme w/o JS by submiting a form on the setting page. I'd have to think a bit if there's a good way to make it persistent across multiple requests for logged out users with a CDN caching things in between though...

    only automatically based on browser settings

    Doesn't actually work for me in a FF138-based browser w/ JS blocked via NoScript -- I always get light mode despite having a dark mode preference set. (Where do you have your prefers-color-scheme media query?)

    Also, FYI I had to manually override font restriction -- otherwise all your buttons end up as tofu characters. (I think NoScript is being kind of unreasonably strict there by blocking first party fonts.) That's a papercut kind of issue, but figured I'd point it out in case it might save you some debugging time if you get confused NoScript users in the future.

  • I picked an RNG name since my old common username (from reddit, etc) was not available when I started on kbin.social (RIP) and I couldn't think of anything else I wanted to be called. I deliberately kept it short though. Not sure what to make of other RNG names -- esp. long unintelligible ones -- but I've seen at least one account that I think is legit which has a long, bizarre RNG-looking username and a non-English display name, so 🤷️

  • I've tried so many... so... many network filesystems. They all suck in some way.

    Definitely agree with you on that! Distributed systems are just fundamentally challenging. Network filesystems try to hide some of that complexity, but it inevitably leaks through in one way or another...

    I deal with Ceph at work. Thankfully I'm not the one in charge of its configuration, but I've seen enough of the headaches the admin had to go through to get it working right... Once we got it though, it's been working pretty damned well -- but you basically need a full-time sysadmin (or will become one yourself...) when you're dealing with the kind of scale we've got. (My home needs are not quite as insane though; mere dozens of TB instead of a dozen or so PB...)

    SeaweedFS is another I've got in the back of my mind if I ever outgrown my NAS, but I haven't worked with it personally.

  • I've got a similar length of experience and plenty of my own horror stories about NFS... but yeah, it's the most effective way to get what I need done at the moment. (When I outgrow my current setup though I'll wrestle the tentacle monster and replace it with Ceph... probably.)

  • Well, there's roughly 8 billion people on Earth, and the Wikipedia article for "human" says:

    The average mass of an adult human is 59 kg (130 lb) for females and 77 kg (170 lb) for males.

    Male vs female is roughly 50/50 IIRC. Ignoring distribution of adults vs kids for simplicity, then roughly 4 billion times 59kg + 4 billion times 77kg = 544 billion kg or 1.2 trillion pounds, if I did my math right.

  • Pretty sure you can do much better than that now (plus or minus tariff insanity) -- quick check on Amazon, NewEgg, etc. suggests ballpark of $5K for 1TB RAM (Registered DDR4) + probably compatible motherboard + CPU.

  • You can get motherboards with enough slots if you're willing to pay enterprise prices for them. I have a system with 1TB of RAM at work that I use as a fast data cache. I just mount tmpfs on it, write hundreds of gigs of data into it (overwriting it all every few hours), and it works great. Cost was somewhere in the $10~15K (US) range a few years ago, IIRC. Steep for an individual, sure, but not crazy for an organization.

  • What they mean is you can just do something like mount -t tmpfs -o size=1G tmpfs /mnt/ramdisk to get a file system using regular RAM already.

  • What was the most ridiculous or funny boundary push you saw?

    Trolling someone by attaching a camera to the ceiling right above their keyboard. I've been paranoid since I saw that stunt pulled... They got their point across about physical security though.

  • I'm willing to get creative, but I'm out of ideas

    Thinking outside the box, computers don't have to go in cases...

    If you still want a case and can't find an existing one that fits your needs you could try to make your own. Know anyone with a 3D printer or shop skills?

  • I've worked for a university before and it was very common for staff to remote into their systems from home -- usually with SSH for CS types or Remote Desktop/Team Viewer/etc. for less computer-focused folks. (The former usually didn't have much issue -- the folks using the latter mechanisms got compromised a number of times... -.-) There was also a campus provided VPN that was required to access certain systems with instructions to students and staff on how to use it, but other systems just got public IP addresses.

    If what you're doing is related to your work and campus IT doesn't object, you're probably fine to do it. I've run various kinds of websites and web apps for colleagues to collaborate on research projects. Being able to do things like that is kind of the point of the internet.

    Having seen a number of students, uh, push the limits and find the boundaries of acceptability the hard way though... I'd strongly advise you not to install cryptominers, run TOR exit nodes, or torrent TV shows/movies/etc. That kind of thing tends to get your systems in hot water with IT or other parts of the bureaucracy...

  • In principle, sure. I'm not aware of an existing out-of-the-box solution that'd do what you want, but it also wouldn't surprise me terribly if someone's cobbled something together to do this before.

    If I wanted to make something like this personally (and couldn't find an existing solution), I'd start by doing some research into PBX software like Asterisk, what derivatives and extensions people have made for that, etc. -- being mindful that I'd likely be digging into a deep rabbit hole...

  • I've tried setting up projects that used hard links like that and there are some pros and cons to this. On the plus side, you can delete from one location and the file is still available in the other without having to manage a separate repository structure. On the down side, most software cannot copy the structure correctly to a different file system (even one that supports hard links), which can make backups and migrations annoying to deal with -- generally you end up with multiple actual copies, ballooning disk space usage and sometimes causing weird issues if the two files linking to the same data (rather than just having copies of the same data) actually matters...

    I'd recommend sticking with the "primary repository of real files" and "multiple views filled with symlinks" structure over hardlinks unless you're really sure you know what you're getting yourself into.

  • You can do this using links. e.g. ln -s TARGET LINK_NAME to make symbolic links on the command line, or (usually) by holding some key while dragging a file/folder between windows in your preferred GUI file manager.

    I have something related set up with a small Python script to automatically create new files and update the links for tracking my weekly work notes (pseudo-timecard, basically).