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/)D
Posts
8
Comments
318
Joined
3 yr. ago

  • Oh that’s smart! And then nushell just handles the data for you…I might try that!

  • Blasphemy…don’t bring Microsoft’s shitty proprietary editor and shitty proprietary OS near my holy text editor.

  • Rearranging the keys? My password’s pretty much muscle memory, typed fast enough in not really worried about people watching me enter it. Call me lazy, but having to pick and hit every key? No thanks.

  • Lemmy’s mobile UI is nice. Voyager is just a PWA, and it’s both really smooth and stupidly nice. In my eyes, the spiritual successor of Apollo. I’m not leaving it.

  • What’s with the big and blue username?

  • Looks very cool! I’m very comfortable on Voyager, but I checked it out and my initial impressions:

    • Comments take up a LOT of space
    • IMO, comment replies should be shown by default (but obviously should also be in a setting)
    • The Lemmy devs would prefer if you didn’t show account points.
    • IDK if I’d show the name/community of the user above the title
    • Showing the title instead of community at the top when viewing comments would be cool
    • Maybe rename “Explore” to “Search” (or at least make it more obvious how to find search)
    • Maybe add a Markdown toolbar?
    • Reloading posts every time you exit a post makes it feel a bit slow

    No app’s perfect from the start, just my two cents. (Maybe I’m getting a little nit-picky? IDK, just my advice.)

  • From the README:

    Feel free to take a look around. We are not yet taking patches as we still have a little bit of tidying up to do. When we do, there will be a contributor license agreement.

    So yeah, looks like there will be a CLA.

  • I personally use them pretty often. They’re not natural to me, I spend a little bit thinking about them, but they’re still decently useful.

  • I’ll point to how many functional languages handle it. You create a type Maybe a, where a can be whatever type you wish. The maybe type can either be Just x or Nothing, where x is a value of type a (usually the result). You can’t access the x value through Maybe: if you want to get the value inside the Maybe, you’ll have to handle both a case where we have a value(Just x) and don’t(Nothing). Alternatively, you could just pass this value through, “assuming” you have a value throughout, and return the result in another Maybe, where you’ll either return the result through a Just or a Nothing. These are just some ways we can use Maybe types to completely replace nulls. The biggest benefit is that it forces you to handle the case where Maybe is Nothing: with null, it’s easy to forget. Even in languages like Zig, the Maybe type is present, just hiding under a different guise.

    If this explanation didn’t really make sense, that’s fine, perhaps the Rust Book can explain it better. If you’re willing to get your hands dirty with a little bit of Rust, I find this guide to also be quite nice.

    TLDR: The Maybe monad is a much better alternative to nulls.

  • I thought it was TS/JS too, but the way those braces are below the if statements makes it feel more like C#.

  • To be fair, Tesla Autopilot probably already did that.

  • This is fucking cool. I can imagine the many times this could’ve helped me quite a bit, and honestly even if I didn’t find the function I needed I could still probably hack out a decent implementation in whatever language and actually contribute towards this. In 5-10 years, this could be really useful.

  • Yeah, it’s an Android, the Material You theme makes it easily recognizable.

  • Love it. Plot’s already more interesting than any recent movie I’ve watched.

  • This comment was made by the trombone gang.

  • Oh, cool, I did pretty much the same thing, just finding the words manually instead (didn’t want to use any external libraries, so I just wrote a function to search for me. Haskell doesn’t have much for OOT B functionality).

  • This. 1/0 does not exist in our number system. Alternate number systems allow 1/0 to exist at the expense of many useful properties of mathematics that (OC?) OP doesn’t seem to understand. Not everything in math has to make sense: we simply gave ourselves some set rules, and then built up a system off the consequences of those rules. If 1/0 cannot exist within those rules, then that’s it. If you’re going to argue against centuries of mathematical advancements then so be it, I can’t stop you, but it’s pretty obviously a losing battle.

  • It’s the other way around, too.

    Not as true though.

  • Just read it: makes sense now. Thanks!