• 11 Posts
  • 1.48K Comments
Joined 4 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Yeah, I had to figure out what it really is from Wikipedia and my two reactions were:

    • Ubisoft has a ‘universe’? Huh, I guess, they do have a few franchises there.
    • That actually sounds reasonably interesting. At least it’s not just yet another uninspired shooter.

    And like, yeah, lacklustre marketing puts it quite well. I had heard of XDefiant before, but all I got from that was that it’s a shooter, which made me fall asleep immediately.
    Had they sold it as “You ever wanted to pit the Splinter Cell guy against the Far Cry bandits?”, I would have at least remembered it.

    But to be fair, a lot of games are currently coming out. It is difficult to be seen for pretty much all titles…




  • Hey man, this isn’t Reddit, we’re allowed to have different opinions without needing to enter into gladitorial combat.

    I’m certainly open to it being a binary joke, that’s how I read it at first, too. I really had to think how else it could be meant.

    I can believe that the Cyanide & Happiness authors would have heard of binary before, I just doubt they would expect the same from their audience. Like, the comic frequently makes penis jokes, it’s decidedly not sophisticated.

    As for autocorrect knowing he has a micropenis, well, it is a fictional world, that could be the punchline here.
    At the very least, if someone doesn’t know binary, that’s how they would probably read it and get a chuckle out of it, so I guess like someone else replied to me, maybe it’s both jokes.






  • I mean, that is more obvious and more readable.

    But what I really don’t like about it, is that it’s less clear to what it applies. For example:

    not list.isEmpty() and x > 3
    

    Is that not (a and b) or (not a) and b?
    Obviously, you can define precedence rules, like there also is for !, but that’s again just additional things to learn.
    I’m definitely not generally opposed to special characters. I do also hate significant whitespace, because I find that less readable than braces.


  • For me, it’s pretty much the opposite. With the exclamation mark, I’ll see the inversion, then I’ll read the actual condition and try to make sense of it, and then I’ll remember that this thing was supposed to be inverted. Or I won’t remember, that’s unfortunately also a possibility.

    Might just be what we’re used to, though. I have been working in a codebase with mostly .not() for the past year.


  • Ephera@lemmy.mltoProgrammer Humor@programming.devNot
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 days ago

    Oh, I know where it came from. That’s also why we have all kinds of maths operators in the syntax of virtually any programming language. Because back when we didn’t yet know where this programming thing was going, we just threw in the conventions of maths and theoretical logic.

    What I’m saying is that we have our own conventions now, i.e. objects and methods, so I think, it’s worth reconsidering whether we still want to have these old conventions that are special cases in the syntax.





  • You might generally prefer not setting zsh as the system-wide default shell, but rather just to be launched by default in Konsole or whatever terminal emulator you’re using.
    The actual default shell will still show up in TTYs, or when you use the newgrp command, or I believe when you ssh into the machine, and probably other such edge cases, but usually, you can then just run zsh to get into zsh.
    Not setting it as the system-wide default shell just avoids any potential for problems, particularly also if some script doesn’t have a proper shebang.

    Having said that, on Debian-based distros, I usually still set the system-wide default shell to Bash (even though I use Fish), because the default dash shell is pretty much unusable.
    Not unusable enough to prevent typing “zsh”+Enter (if you don’t typo), so this is definitely optional, but yeah, it comes up often enough that dash annoys me, and I haven’t yet had compatibility problems from setting it to Bash instead.


  • I feel like there’s just too many different programming workflows, to try to pre-install them.

    Here on openSUSE, there’s ‘patterns’ you can install, which are basically just groups of packages, and they’ve got some pre-defined patterns for programming:

    I feel like that kind of goes in a more useful direction, although it’s still partially questionable what those contain. For example, the Java development pattern comes with Ant as the build system, when Maven and Gradle are more popular, I believe.

    I also have to say that I often prefer installing programming tooling in distro-independent ways, and ideally automated in the project repo, to avoid works-on-my-machine situations.
    Of course, something like Git, Docker, VMs etc. tend to be stable across versions, and I might not care for having the newest versions, but even with those, I think it’s good to install them on demand, rather than having them pre-installed. If the distro simply makes it a breeze to install them, that’s ideal IMHO.


  • There’s this open-source, Diablo-like game/engine, called FLARE, which I find interesting in that regard, because the basic gameplay is there. My monkey brain is having fun with it, i.e. getting an endorphine rush, because big numbers go brr.

    But they obviously don’t have the budget of Blizzard, to try to hide that that’s what it’s doing.
    I think, around 4 times throughout the campaign, you get the same spider model, but this time it’s five levels stronger than last time. 🙃


  • I don’t think, there’s a special trick to making them. You can look at existing kaomoji lists and pick out individual symbols to create the shape that you want.

    Or you can combine kamojis. For example, maybe you want a cat handing over a flower, but you want it to look sad, like an apology.

    Then you find a sad cat kaomoji:

    /ᐠ • ˕ •マ
    

    And combine it with the kaomoji you posted:

    ⠀/\__/\
     (• ˕ •)    
    / >🌷< \
    

    Well, could be better, but just as an example. Combining different faces and arm shapes and such is relatively easy.

    As for managing them, I usually see tags assigned to them. On the webpage that you posted, it’s the little text boxes below the kaomoji.
    But in its simplest form, you could have a text document and just write a few words above each kaomoji, like e.g. “sad cat flower”. Then if you search the text document with Ctrl+F for “cat”, this will be one of the results.