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
5
Comments
1329
Joined
6 yr. ago

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

    Permanently Deleted

    Jump
  • 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"...

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

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

  • 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?

  • Yeah, modern computers often feel like a scam. Obviously, some things are faster and obviously, we can calculate more complex problems.But so often, programs are only optimized until they reach a level of "acceptable" pain. And especially with monopolistic, commercial software that level is close to infinity, because well, it's acceptable so long as customers don't switch to competitors.

    Either way, the slowness that was acceptable twenty years ago is generally still acceptable today, so you get much of the same slowness despite being on a beefier PC.

  • Do you mean 36 = 18 there? Otherwise, I'm very confused. 😅

  • Yeah, when I found the meme template, it did say that, too, but I wasn't sure if that information is actually helpful to someone reading alt text. Personally, I only know the guy from the memes. 😅

  • I mean, yeah, I studied computer science. Presumably, I've been taught the majority of these at some point. I just absolutely fucking hate mathematical notation.

    Due to your comment, I'm guessing, top-left is multiplication then, even though I was also taught in school to use × for multiplication.Top-center might be logical AND? Top-right might be function composition? Center-left and center-right might be ranges, unless those dots indicate multiplication, then no fucking clue. Bottom left is set intersection. And one of these circles or crosses is probably the Cartesian product.

    So, I mean, I do know some of this shit. In truth, I was just deriding mathematical notation with that meme, because well, "Set" is the only actual word in all that mathematical notation... 😵‍💫

  • Yeah, had to think of this right away:

  • Namely: lawful, true, chaotic, good, neutral and evil.

  • I also enjoy that it's on a laptop, which they could've carried to M'am's office.

  • Perhaps, yes. 😅

    It was a diplomatic way of saying that I doubt the author's assessment that Ruby's tooling is worse than Python's. Partially, because Python's tooling has traditionally been terrible (even if it's been improving in the past two years, from what I hear). But yeah, partially because I do not see Ruby programs being as buggy as they insinuate here...

  • I think it was that back when it was relevant (but replace data scientists with web devs)

    Sure, but if programs from that era are still around, chances are the maintainer is quite experienced by now and has fixed all the funky behaviour. 🙃

    I never got interested in the ecosystem myself, but I’ve run into it every now and then. I feel like it’s in the same place as PHP today: still used a lot for legacy reasons, but you’ll get weird looks if you start a new project with it and you’re under the age of 40

    Ten years ago, a university buddy of mine discovered Ruby and you might've thought a miracle happened from how excited he was for it. But yeah, that was also the last time I met someone in real life who was excited about Ruby. 😅

  • Man, I haven't done structural inheritance in years and by now, this reads like the ramblings of a mad person.

    Like, I recently had a use-case, where I actually wanted to define multiple types with the same fields and for various reasons ended up using a macro for that.And that still felt simpler than whatever is going on in this article, because there were no cross-relationships between the types at runtime. The macro templated the type definitions as if I had copy-pasted them, except there's no actual code duplication, which is ultimately all I wanted.