Skip Navigation

Posts
4
Comments
414
Joined
2 yr. ago

Interests: programming, video games, anime, music composition

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

  • There's more-or-less already an active community for that: !communitypromo@lemmy.ca

    From their description:

    Promote your favourite communities here, or ask about a community you are looking for

    A post titled like "Is there a community for TOPIC?" with text in the body indicating you're interested in making one if not would likely do well there.

  • 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'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...

  • That's just when it left its impression on me, I guess. :-)

  • I hd ths thot in 20twenty3, but figur∈d thaat iit'd b 2 anoi-ing 4 m0st ppl n proly wldnt bee E-fect-ive enuf too rly stòp ze b0tz.

    Liek 1337speak frum teh AIM dayz, nợ? (Can I haz cheezburger nao? Miao.)

  • I have heard of people studying grain flow, so my thoughts first went down that direction but I was at a loss what that had to do with either quantum entanglement or metals. 😛️

  • I clearly need more sleep. I spent far too long wondering what "rice physicists" do before realizing what the title actually meant. 🤦️

  • 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).

  • I know a graphics designer personally (from work) who used an AI generated video clip as part of a proposed background video for the landing page of a marketing-style website that was getting a refresh on one of our projects. That one ultimately didn't end up getting used -- not because it looked bad, but because of other branding considerations. Frankly, I'm glad that he didn't have to put much effort into making something that ended up getting canned.

    There's a LOT of art out there that's functional. Few people stop and pay attention to it as art in itself -- and it rarely lasts more than a few years before getting swapped out for something else in rebranding -- but someone with design sense still needs to make it or a product will be less appealing.

  • You can run docker containers with multiple volumes. e.g. pass something like -v src1:dst1 -v src2:dst2 as arguments to docker run.

    So -- if I understood your question correctly -- yes, you can do that.

  • Giant middle finger from me -- and probably everyone else who uses NoScript -- for trying to enshittify what's left of the good parts of the web.

    Seriously, FUCK THAT.

  • Two quick ideas on possible approaches:

    1. Static page route. You can just write some Javascript to load the image from a file input in HTML, draw it resized to a canvas (based on an input slider or other input element), then save the canvas to an image. (There might even be simpler approaches if I wasn't stupidly tired right now...) This can be done in a single file (HTML with embedded JS -- and CSS if you want to style it a little) that you toss on any web server anywhere (e.g. Apache, nginx, whatever). Should work for JPEG, PNG, and probably WebP -- maybe other regular image types too. Benefit: data never needs to leave your device.
    2. Process on server route. Use Python with a simple web server library (I usually opt for tornado for stuff like this, but flask or cherrypy or similar would probably work). Set up a handler for e.g. an HTTP POST and either pass the image into a library like Pillow to resize it or shell out to ImageMagick as others have suggested. (If you want to do something clever with animated GIFs you could shell out to ffmpeg, but that'd be a fair bit trickier...) The image can be sent back as the response. Be careful about security if you take this route. Probably want some kind of login in front of it, and run it in a VM or some other secure environment -- especially if you're using AI to kludge it together...

    Best of luck and let me know if you need any help. Will probably have some time this weekend if you can't get it on your own. Happy hacking!

  • I would be happy with a FOSS desktop app I can install in linux too

    On the command line, you can do this with ImageMagick (e.g. use the command convert once it's installed).

    With a (desktop) GUI, there's a bunch of programs. GIMP is probably the most well known and has a ton of capabilities but is a bit complex. I use Kolourpaint as a quick-and-dirty "MS Paint"-like program for very simple tasks where I want a GUI.

    If you want a simple web UI I'm sure there is one already, but I don't know one specifically. It wouldn't be too complicated to hack something up if all you need is a quick-and-dirty file input and percentage rescale or something like that. If you don't get a better suggestion and don't know how to make something like that yourself, let me know and I can write an example.

  • People have already covered most of the tools I typically use, but one I haven't seen listed yet that is sometimes convenient is python3 -m http.server which runs a small web server that shares whatever is in the directory you launched it from. I've used that to download files onto my phone before when I didn't have the right USB cables/adapters handy as well as for getting data out of VMs when I didn't want to bother setting up something more complex.

  • Not sure on the exact flavor of "weird af" that Nokotan or Gintama get into since I haven't seen them, but here's some of the weirder shows I've watched:

    • Nichijou
    • Azumanga Daioh
    • Penguindrum
    • Utena
    • FLCL
    • Space Dandy

    Thinking along a different style of weirdness, there's also shows like Serial Experiments Lain -- but I'm not sure if that's what you're looking for.