• 2 Posts
  • 71 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle












  • I have cut my lips twice on these fuckers. Also just this week while pouring milk, the cap somehow slipped right under the stream and spilled the milk everywhere.

    Who loses their bottlecap?

    Also this makes it harder for kids to drink from bottles, since they can’t put their whole mouth around.

    I hate these shit stains with a passion.

    I am 99% sure, thia was all just a PR stunt by some bottle company. If they really wanted to do something for the environment, they would go for glass bottles again, since they can be recycled forever.




  • First off, cause you are programming under windows, a lot of things will be harder for you. As seen on your problems with Python.
    Most Linux installs have it right from the get-go and everything else is as simple. So giving directions for developers on other platforms might be much easier than what you had to go through. (Maybe use WSL?)

    Let’s get to your real question: How does one organize dependencies in a way easy for new contributors?
    Since you will use Python, I will use that as example.

    Most languages have a way to automagically import dependencies. Python has the requirements.txt file. Installing dependencies is then really easy. It is also a widely known way to do that, has lots of explanation online etc. so seasoned pythoneers will know what to do and younglings will get to know a good standard right away.

    Bonus tip: If you don’t have a GUI library yet, maybe also search for game engines. They provide all the necessary tools as well, oftentimes have good GUI add-ins and are (mostly) for all mayor platforms.


  • Now what most people don’t know is that websites can insert arbitrary text when you copy stuff of them. A malicious site will abuse that.

    It works like that:

    You follow a tutorial online or search for a code snippet. You copy some code/said snippet and paste it into a terminal or the browser command line. This copied text is altered by the site to be a one line command to install malware or grab passwords or cookies. All of that is followed by a line break and maybe your real command to lower suspicion.

    Some of the terminal or browser shells interpret a line break in the copied text as enter which then executes the command.

    To prevent that, get a shell, that doesn’t just execute what you paste (fish shell) or a terminal program, that warns you about line breaks (Moba xterm).
    And please check text from unknown sites before pasting it into a program that may execute it right away. (Just paste it into a text editor or look at your clipboard manager like Win+V in windows)


  • Well chrome should, yes. But they don’t.
    Then some JavaScript framework developers think “well this non-standard feature is neat, let’s use that everywhere” and then companies who use their framework (or a framwork dependent on it) can’t support all browsers.

    It’s a multilayered problem (as always) with lots of individually decisions that make sense, but don’t work out in the end (as always).