best_username_ever

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

best_username_ever ,

a violation by the uploader

Most countries disagree with you. The standard is to sue both people, the one who sends and the one who receives.

best_username_ever ,

100k sites ignored dependency risks

JS: typing systems are boring, warnings are boring, security is boring.

best_username_ever ,

You're confused. It's unrelated to package managers, it's about basic security principles like this: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity but JS devs don't care.

best_username_ever ,

Where is the technology? Is it because they used a computer?

best_username_ever ,

A strange source has found a few shitty generated memes. That's not journalism at all.

best_username_ever ,

I have and the message is still retarded. Jews for Hitler would be equivalent if he was forced to eat meat. This makes no sense. Maybe queers against war or something would be more convincing. The current message is laughable and prevents any serious discussion.

best_username_ever ,

The new Firefox: shopping and advertisements.

best_username_ever ,

What’s a cager? I can’t give up my car because I can’t bike to work, buses go way too fast on the highway which is dangerous and illegal, and I don’t earn enough to buy an EV or to relocate near my job.

You must understand that poor people can’t live in the EV utopia right now. Car makers will have to sell small and cheap EVs.

best_username_ever , (edited )

My car cost 10k€, the equivalent EV is 20k€. Why don’t I buy more EVs? That’s a mystery, let’s call McKinsey to understand why.

Also let’s double the price of more affordable foreign cars to increase the amount of mystery. Sometimes I wonder if governments do this to make fun of us because it’s so stupid.

best_username_ever ,

Movies are shown to the public. It doesn’t mean I can copy them for free.

best_username_ever ,

That’s what I don’t understand. They want me to save the world with an EV, and at the same time make it so expensive I can’t afford it.

best_username_ever ,

So the alternative for millions of people will be universal income if they can’t work anymore. It’s still a good alternative but it won’t sell cars and I’m not sure the economy will be happy about it.

best_username_ever ,

I would ask how it is theft when I’m prevented from buying media from other countries. I can’t buy Romanian movies or Swedish books. It’s illegal for me to give them money. Where is the theft here?

best_username_ever ,

Why what? They don’t want my money, and I can clone it without harming anyone. Is it theft?

best_username_ever ,

I just can’t. They are European countries and when I try to create an account to buy something, I am informed that I can’t create an account from another country (which should be illegal nowadays but they don’t seem to care).

There are laws to allow someone buying Romanian stuff from France, but they don’t care. I know it’s a niche thing, but if they refuse customers, they can’t complain about piracy.

best_username_ever ,

The Berlin Wall fell 35 years ago. Eastern Europe had 35 years to move their lazy asses on social issues. There is no excuse anymore.

best_username_ever ,

IIRC, it's controlled by the carrier and not encrypted. If that's the case, it's bad. We've been moving away from carriers and internet providers, and got some privacy back by various means. Why would be roll that back?

best_username_ever ,

Sakuna on the Nintendo Switch. It was on sale and I wanted to try it for a long time.

Can I get some feedback / review on my code?

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

best_username_ever ,

My random shitty opinion, don't take it personally, I didn't slept well, also I'm late for work:

README: you use both py and python3, choose one because I'm confused! Also you say "Navigate to ./src/" No, I'm a lazy user and I want instructions that I can copy-paste, it's always better when you clone a random project (especially at work) and be able to copy-paste, like:

  1. Install Python 3 (and NOT "make sure..." it's confusing, how would I make sure? Your code could be used by non-programmers you know? also put a link to python.org too)
  2. Run:
py -m pip install -r requirements.txt
cd src/
py main.py
  1. Do this
  2. Do that
  3. (...)

Be affirmative! Also "This will install pip" could be wrong on most systems, remove that sentence if not true.

Still in the README, why should I run the thing from src? Is your application broken if I I do "py src/main.py"? What happens?

It seems like the GUI and the code that watermarks are mixed and that's annoying. If it was clearly separated, you could make a command-line versions of your application in 5 minutes without changing the GUI, for example with argparse.

Why is there so much code to set the layout in main.py? Put that stuff in Layout, I don't want to see that in my main. Also do "def main(): ..." and "if __name__ == '__main__'" or something, it's cleaner, and it prevents errors if I "import main"

Do you really really need all those members variables? I understand that Tk is weird, but ImageManager has 12 members, main has 3 instead of 1 (the main "Window"), and Layout has a billion members. For example total_columns and total_rows are not used in Layout.py, that's confusing. ImageManager.SAVE_DIR and IMAGE_RESIZE_FACTOR are constants, move them out. DEFAULT_FOLDER is only used once, merge it with TEST_BG, that kind of thing.

ImageManager.path_is_valid is useless and potentially harmful because you're duplicating standard code, remove it and use path.exists, no need to replicate the standard library, and other coders know what's inside the path module, they don't know what's in your code and why it's different from the standard modules because they'll think "if it's there, it must do something special!" (but it's not special at all here)

Ideally you shouldn't put testing code in your main code. TEST_BG and TEST_FG will have to be removed. I understand why it's there, it's faster for your test, but it always show that the architecture has flaws. For example here, it shows that you forgot to make it possible to load those things on the command line, like main.py --test-bg space.png --test-fg python-watermark.png or better main.py --bg space.png --fg python-watermark.png, see? You have the beginning of a command-line application!

On GitHub you have 6 branches, that's madness. Merge them all one at a time, or delete them. Too many experiments are not good.

You commit messages are good and expressive, that's nice! Also I see that you used the standard .gitignore for Python on GitHub, that very nice and way better than doing one from scratch who will miss a lot of stuff.

I'll come back later if I can.

Edit: there is hardcoded paths "/home/mike/code" and no default pictures, I can't test it right now, that's something to fix too.

best_username_ever ,

I liked the answer that I once saw here: "Real men do whatever the fuck they want." No one cares about this kind of judgmental assholery.

best_username_ever ,

For those who don’t know, "trash vaporwave" is a sub-sub genre made of ASMR sounds of garbage trucks with mallsoft music in the background.

best_username_ever ,

In France only the right and far right advocates for more control and defense. Which country has a center left like that?

best_username_ever ,

You’re right. I’m stupid.

best_username_ever ,

nowhere

The French left has been a lot in power since the 80s.

Slur filter censoring the string "the app" (without a space in between) ( lemmy.world )

So, not sure if I am completely off base here, but I had this odd thing happen today where I couldn't post an URL because whenever I did, part of it would be replaced with the text removed. You can see what I am talking about in the screenshot, and I am linking my comment below. Another commenter replied saying it was likely...

best_username_ever ,

I thought they removed the stupid slur list a long time ago. That’s stupid. Also theapp.

best_username_ever ,

I buy FLAC files on Bandcamp. I have the highest quality at a cheap price, and it hopefully won’t rot if stored properly on my NAS.

best_username_ever ,

I agree but this thing could be cleaned on DDG’s side.

best_username_ever ,

I guess a timezone difference too since I never see any ads.

What song should I play for my bathroom neighbors?

The work bathroom is currently a warzone, on their phone speakers people like to play music, play games at full blast, and one guy likes to chill to ambient rainforest. What song can I play to passive aggressively make it known that I don't want to listen to their tik tok feeds while I work out my demons?

best_username_ever ,

FLAC is supposed to be way smaller: https://hbfs.wordpress.com/2012/02/07/looking-at-flac-compression-ratios/

I use Opus at 192 kbps. It's overkill but it should be almost perfect and has the size of an MP4.

best_username_ever ,

You obviously haven’t used the web3 nocode blockchain NFT AI enough to have an informed opinion.

best_username_ever ,

But how can you show them that you bought an overpriced shirt made by a child in Bangladesh?

best_username_ever ,

Or you could install Linux Mint or Ubuntu. Why haven't you done this yet?

best_username_ever ,

Because fixing every flaw of Windows with the registry editor is so much easier. Also why all the people I help due to their broken Windows don’t seem happy about it?

best_username_ever ,

What’s my license plate number?

Nope. Never. That’s why I don’t use Google anymore.

best_username_ever ,

For $400 I could buy one or two refurbished iPhones and not use them.

best_username_ever ,

It’s actually simple to detect: if the code sucks or is written by a bad programmer, and the docstrings are perfect, it’s AI. I’ve seen this more than once and it never fails.

best_username_ever ,

You're only ever going to catch the noobs.

That’s the fucking point. Juniors must learn, not copy paste random stuff. I don’t care what seniors do.

best_username_ever ,

Around me, most beginners who use that don't have the skills to understand or even test what they get. They don't want to learn I guess, ChatGPT is easier.

I recently suspected a new guy was using ChatGPT because everything seemed perfect (grammar, code formatting, classes made with design patterns, etc.) but the code was very wrong. So I did some pair programming with him and asked if we could debug his simple application. He didn't know where the debug button was.

best_username_ever ,

Not for junior programmers around me. They use ChatGPT and then cannot tell me what "they" wrote or why it’s wrong. They will learn nothing and I suspect it’s the same for every thing that requires some thinking and fixing your own mistakes.

As a senior I don’t care, but I pity them.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines