Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)E
Posts
50
Comments
3178
Joined
6 yr. ago

  • For Germany, there's also https://www.gesetze-im-internet.de/index.html which lists the laws in their current version, similar to dejure, but well, the webpage is actually hosted by our government. It's as official as you're gonna get on the internet.

  • Same here in Germany, but only for the German word "Ingenieur". You can call yourself "engineer", no problem. 🥴

  • A few years ago, a colleague had the title "software craftsman", because he thought it was utter bullcrap to call our profession "software engineer".And yeah, now that I'm part of a project for a few years, I'm definitely feeling "software mechanic". I might install half a spoiler every so often, but aside from that, it's mostly just repairs...

  • Add computer science and you have a programmer.

    I mean, while this definitely does happen in reality, in particular if you count data scientists towards programmers, I feel like I need to point out that neither knowing computer science, nor maths, makes you a good programmer.

    In fact, if you tell me someone is a computer science professor, I will assume that they are a bad programmer, because programming takes practice, which is not something they'll have time for.

  • Yeah, although it doesn't mean that, say, the top 10 pop songs aren't blander today than they were 50 years ago.

    I've heard it argued that Spotify pushes songs to be blander, for example, because:

    • they don't typically get played back as part of an album anymore, so they're more samey in that they all have to work as a single,
    • you don't want to be the song that stands out, where the user presses Skip, because Spotify will rank those lower, and
    • lots of folks now consume music as background noise, so the intricacies of a guitar solo, which would've hit like a truck for active listeners, are often just drowned out by traffic noise or may just be too much to take in while you're learning for school or whatever.

    Having said all that, there is the flipside that the top 10 pop songs are less relevant than ever. You've got practically an infinite supply of songs to choose from, so you kind of just have to find the good stuff.That is work, I admit, so I can understand a certain level of frustration, but yeah, it is also something to be excited about, that there is such a huge selection to choose from.

  • I always just do ss -ltnp | grep <port-number>, which filters well enough for my purposes and is a bit easier to remember...

  • I'm on NixOS for my personal laptop, too. I just tried it and well, #!/bin/bash apparently does not work, but #!/bin/sh does.

    The file /bin/sh does also exist as a symlink for me:

     
        
    > ls -l /bin/sh
    lrwxrwxrwx 1 root root 73 14. Dez 19:50 /bin/sh -> /nix/store/35yc81pz0q5yba14lxhn5r3jx5yg6c3l-bash-interactive-5.3p3/bin/sh*
    
      

    Does that point into the bash package for you, too?


    Edit: And for #!/bin/bash, the output was:

     
        
    > ./test
    exec: Failed to execute process './test': The file specified the interpreter '/bin/bash', which is not an executable command.
    
      
  • Neat. Makes it look like there's four seals there.

  • I think, my brain broke from reading "fun science fact" followed up by "the North Pole elves"...

  • To give a quick highlight, because this case is often politicized and misrepresented:

    The plaintiff, Stella Liebeck (1912–2004), a 79-year-old woman, purchased hot coffee from a McDonald's restaurant, accidentally spilled it in her lap, and suffered third-degree burns in her pelvic region. She was hospitalized for eight days while undergoing skin grafting, followed by two years of medical treatment. [...]

    Liebeck's attorneys argued that, at 180–190 °F (82–88 °C), McDonald's coffee was defective, and more likely to cause serious injury than coffee served at any other establishment.

    So, the lawsuit never demanded McDonald's to put a warning that you're not supposed to spill hot coffee on yourself. It argued that it's an unnecessary safety hazard, because the coffee was served at hazardous temperatures.No matter how many warnings you put down, it can happen that someone spills coffee on themselves and they shouldn't need to be hospitalized from that.

  • Fun fact: "Zweihänder" is just German for "two-hand-er". 😅

  • I enjoy how "turd" rhymes with "bird"...

  • Kann mir gut vorstellen, dass ihn sein hirnbefreites Wettern gegen die Grünen einholt. Gibt viele CDU/CSU-Wähler*innen, die politisch einfach nur den Status Quo erhalten wollen und denen als Kinder eingetrichtert wurde, dass sie verdammt nochmal wählen gehen sollen, um die Nazis draußen zu halten.

    Wenn dann aber Söder ernsthaft weiterhin auf der Unvereinbarkeit mit den Grünen beharrt, obwohl die Kooperation nötig wird, um die Nazis draußen zu halten, dann ist das genau dem Ziel widerläufig. Die werden das bestimmt nicht alle sofort kapieren, weil sie sich politisch nur bedingt informieren, aber es eröffnet eben das Spielfeld, so dass jemand Söder öffentlich bei diesem Punkt angreifen kann und dann bei den Langzeitwählern auch Gehör findet.

  • Runtimes/“VMs” like the JVM also allow nice things like stack traces. I don’t know about the author but I much prefer looking at a stack trace over “segmentation fault (core dumped)”. Having a runtime opens new possibilities for concurrency and parallelism too.

    Rust has stacktraces without needing a runtime. Don't ask me what exactly is going on behind the scenes, but there is a way to request a stacktrace for a given point in the program. And unless you're doing embedded stuff, a stacktrace is automatically generated for errors.

    And as for concurrency/parallelism, it's correct what you wrote, but I just wanted to point out that it doesn't have to be a language runtime. Using Rust as an example again, you typically spawn the Tokio async runtime on program start, if you're gonna do async/await stuff.

  • I find it annoying, because the hype means that if you're not building a solution that involves AI in some way, you practically can't get funding. Many vital projects are being cancelled due to a lack of funding and tons of bullshit projects get spun up, where they just slap AI onto a problem for which the current generation of AI is entirely ill-suited.

    Basically, if you don't care for building useful stuff, if you're an opportunistic scammer, then the hype is fucking excellent. If you do care, then prepare for pain.

  • In dem Fall hatte ich Mais-Tortillas, wo ich so einen Auberginen-Knoblauch-Aufstrich draufgemacht habe. Dann vegane Cevapcici in der Pfanne erhitzt und die Gurkenscheiben gegen Ende dazu geworfen, damit sie nur so lauwarm werden. Und dann eben Cevapcici + Gurken in die Tortillas gefüllt.

    Also Ziel war so ein bisschen, in die Tzatziki-Ecke zu kommen, wo ja auch Gurken und Knoblauch drin ist. Anscheinend isst man Tzatziki auch tatsächlich mit Cevapcici, also war der Gedanke wohl gar nicht so schlecht. 😅

  • That is definitely not right. That sounds like you don't have a shebang or it isn't defined correctly. The shebang has to be the very first thing in the script, with no whitespace before it. It gets read out by the kernel, which very dumbly checks the first few bytes.

    And well, such a shebang should also work for Python or the like. If you copy the first script in this link into a file script.py, then run chmod +x script.py and finally run ./script.py, does that print Hello, World! ?

  • I have fish set as the default command to run when my terminal emulator starts, but my system-wide default shell is bash and I always throw a #!/bin/sh or #!/bin/bash shebang at the top of my scripts either way.

    With that setup, I hardly notice fish's syntax differences. Are you using it like that, too?

  • Science Memes @mander.xyz

    How I imagine mathematicians...

  • Firefox @lemmy.ml

    Copy RSS Button (Extension)

  • Programmer Humor @lemmy.ml

    Me, when doing error handling

  • Linux @lemmy.ml

    Underappreciated top

    friendo.monster /posts/underappreciated-top.html
  • Memes @lemmy.ml

    When the webpage doesn't want you opening new tabs

  • Open Source @lemmy.ml

    What's up with FUTO?

    drewdevault.com /2025/10/22/2025-10-22-Whats-up-with-FUTO.html
  • Programmer Humor @lemmy.ml

    Escaping a string when passing through multiple tools

  • Dad Jokes @lemmy.world

    When your Dad gives birth to you

  • General Programming Discussion @lemmy.ml

    Fighting human trafficking with self-contained applications

    lwn.net /Articles/1036916/
  • General Programming Discussion @lemmy.ml

    Thunderbird Accessibility Study

    tilvids.com /w/3ymZQj1ikB9hdtpMmaP836
  • Programmer Humor @lemmy.ml

    Wish granted

  • ich_iel @feddit.org

    ich🦭🔄🐒iel

  • ich_iel @feddit.org

    ich🕜🫑🫙iel

  • Firefox @lemmy.ml

    Blasphemy! 😤

  • ich_iel @feddit.org

    ich💪iel

  • KDE & Plasma users @lemmy.ml

    Hmm, maybe something's bad with my theme...

  • Programmer Humor @lemmy.ml

    I don't know why this exists...

  • iiiiiiitttttttttttt @programming.dev

    🙃🙃🙃🙃🙃

  • ich_iel @feddit.org

    ich🍃iel

  • ich_iel @feddit.org

    ich🐦iel