sorted by: new top controversial old
[-] Hammerheart@programming.dev 14 points 3 days ago

it believes that to “categorically condemn the use of AI writing tools” is both “ableist and classist”. (The implication that working-class people and people with disabilities can only write fiction with the help of generative AI, however, is apparently A-OK.)

nothing about their initial statement implies that the poor and disabled need to or can only use AI. This sort of bad faith discourse irritates me. It's a deliberate attempt to discredit those espousing an opposing opinion. It's manipulative and intellectually dishonest.

[-] Hammerheart@programming.dev 10 points 1 week ago

Really, you already use gimp, but not linux?

[-] Hammerheart@programming.dev 2 points 2 weeks ago

Duckduckgo has a no javascript mode.

[-] Hammerheart@programming.dev 6 points 3 weeks ago

Thats actually not a terrible idea.

[-] Hammerheart@programming.dev 4 points 3 weeks ago

If anything, their tech hours got reduced.

[-] Hammerheart@programming.dev 7 points 1 month ago* (last edited 1 month ago)

Damn, I wanted to mention sqlite.

[-] Hammerheart@programming.dev 1 points 1 month ago

I find it easier using my pinky to hit ctrl than taking my fingers off the home row to use the arrow keys.

[-] Hammerheart@programming.dev 2 points 1 month ago* (last edited 1 month ago)

ctrl-b: move cursor back one character

ctrl-f: move cursor foward one character

ctrl-d: delete character under cursor

[-] Hammerheart@programming.dev 7 points 2 months ago

what do you mean by the Fuck you pay me thing?

[-] Hammerheart@programming.dev 0 points 2 months ago

Oof, that paywall. Right in the balls.

[-] Hammerheart@programming.dev 1 points 2 months ago

The benefit is you don't have to use windows. Obviously, it's not a trade off that's going to satisfy everybody.

31

I started working through the 100 Days of Code course of Udemy last February, and I'm in the home stretch. I'm on the final lessons, which are really just prompts for projects. No hand holding, just a brief description of the goal. I recently finished a tkinter GUI program, the goal of which was to enable adding text watermarks.

I took a few liberties--mainly, I made it possible to layer a png on top of the background. It was a really fun project and quickly grew more complicated than I expected it to. I got some hands on experience with the Single Responsibility Principle, as I started off doing everything in my Layout class.

Eventually, I moved all the stuff that actually involved manipulating the Image objects to an ImageManager class. I feel like I could have gotten even more granular. That's one thing I would love to get some feedback on. How would a more experienced programmer have architected this program?

Anyway, I guess this preamble is long enough. I'm going to leave a link to the repository here. I would have so much appreciation for anyone who took the time to look at the code, or even clone the repo and see if my instructions for getting it to run on your machine work.

Watermark GUI Repo

12

cross-posted from: https://programming.dev/post/14680192

I have a VPS, but no root access so I can't use apt, or even read a lot of the system files. I would like to get jellyfin (or any media server, really) running on it. Jellyfin has a portable installation option, so I followed the instructions in the docs to install it from the .tar.gz.

But it says I have to install ffmpeg-jellyfin, and I can't find a portable installation of that. My VPS already has ffmpeg installed on it. Will jellyfin work if I just point it to that instead? Or, how can I go about installing ffmpeg-jellyfin without root access?

21
submitted 3 months ago by Hammerheart@programming.dev to c/linux@lemmy.ml

I have a VPS, but no root access so I can't use apt, or even read a lot of the system files. I would like to get jellyfin (or any media server, really) running on it. Jellyfin has a portable installation option, so I followed the instructions in the docs to install it from the .tar.gz.

But it says I have to install ffmpeg-jellyfin, and I can't find a portable installation of that. My VPS already has ffmpeg installed on it. Will jellyfin work if I just point it to that instead? Or, how can I go about installing ffmpeg-jellyfin without root access?

14
submitted 7 months ago by Hammerheart@programming.dev to c/linux@lemmy.ml

Sometimes my CMUS will randomly stop playing a track or it won't play the next track until I manually go in and hit c (for resume) or otherwise initiate playback. I would like to be able to see what happened before these instances so i could either fix my config or, if its a problem beyond the scope of my local environment, get info to write up a proper bug report with. Where can I find such logs? Would they be in the systemd journal or somewhere in /var ?

19
submitted 8 months ago by Hammerheart@programming.dev to c/linux@lemmy.ml

If anyone could help me out with this, I'd greatly appreciate it. Basically, I can't ctrl + v to paste anything I pipe into the clipboard selection in xclip, and i can't xclip -o anything I copied with ctrl-c or ctrl-shift-c.

Maybe I want to paste a path into a neovim file. echo $(pwd) | xclip -i -sel c Now the path is in my clipboard, right? It sure shows up if i xclip -o -sel c!

But when I go into neovim and paste from the unnamedplus register, instead it pastes the last thing I copied in my browser.

if I want to copy the output of something from my terminal and google it, ctrl+v in the browser completely ignores my xclip selection.

i am forced to use the mouse and ctrl+shift+c in order to paste it into a search engine, like a caveman.

I hope I've done a decent enough job explaining the problem. It was most apparent earlier, as I was making a cronjob and I had to be explicit about file paths because i couldn't assume the working directory would be the directory of the script I was calling. I really wish I could have just echo $(pwd) | xclip -sel c; open neovim; hit p; see the path appear in my file.

I have a little clipboard icon in my system tray with my copy history, except none of the things I put in the clipboard selection with xclip -sel c or xsel -b appear there. I think that program is klipper, but I'm not sure.

I know there's a number of work arounds but still this kind of frustrates me. I think it has something to do with wayland and xclipboard not talking to each other. I am running wayland, KDE Plasma 5.27.5, and Debian 12.

Is there a simple configuration setting I can tweak, or do I need to find something to replace klipper or xclip? I have tried toggling the keep selection and clipboard the same and always save text selection in history settings in the plasma clipboard, no change. I tried two terminal emulators to no avail.

I will happily provide any more information if it would be helpful.

111
submitted 8 months ago* (last edited 8 months ago) by Hammerheart@programming.dev to c/linux@lemmy.ml

Lately ive noticed that i was wanting to do certain things on Windows that just seemed much easier and more intuitive on Linux, based in the OS specific solutions i would see to problems i encountered. And i was more frequently using software where Windows support seemed like an after thought.

A couple days ago i finally sat down and tried to install Mint. The installer didnt recognize my windows partition so it didnt offer any assistance. And a stroke of fate saw my internet connection dieing at the exact same time. Yes, i cant believe it either.

So i decided to live dangerously and just try to wing the installation with no outside help. It seems like creating a second EFI partition was not the right call. The install failed, and I couldn't get back onto windows.

I wound up just using a live ubuntu image for a few days while i wrestled with repairing the boot loader. I didnt succeed. Eventually i just made a windows recovery disk from my Desktop with an intact copy of windows, and had to reinstall windows.

Then i did manage to successfully install Debian, and ive been having such a great time with it so far. I feel like i probably didnt even need to keep a windows partition, especially since i could have just used my desktop if i REALLY needed windows. I havent had this much fun just using the computer since i was a kid.

view more: next ›

Hammerheart

joined 1 year ago