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/)A
Posts
1
Comments
263
Joined
3 yr. ago

  • they sell them every time a new card comes out and then in two years by the time the next gen is out they've grown back

  • I've got my "selling a kidney to buy a new GPU" and "AC inputs on the rear panel because it uses so much power" memes already locked and loaded, ready to post!

  • Elon is shaped like a Cybertruck

  • this hurt me

  • you would be shocked at how many women unironically believe that men are perpetually horny and that that is the source of most if not all of society's ills

  • you too?

  • in what way

  • Wait, since when does Steam only allow one concurrent login?

  • Reagan was pretty far right, that I'll not dispute. What about Kamala Harris though?

  • That’s hardly brushing the surface, yet people go “fuck yeah, this guy should run the country”.

    Only the stupid people say that. The smart people say that the woman running against him is just as bad as him despite being measurably better in literally every conceivable metric.

  • "Kamala Harris is as far right as Ronald Reagan" was not a take I was expecting to see today.

    Although given that this is Lemmy I wish I could say I was surprised.

  • please tell me your argument is not "other language also does this thing, therefore it's dumb for rust to not do it"

  • The 8-Bit Guy has a nice video covering the functionality of a number of such devices. They're fascinating bits of kit -- they're like calculators you can type BASIC programs into. One of them can even be hooked up to a pen plotter to make graphs on paper -- it can even graph in 3D!

  • how can mirrors be real if our eyes aren't real

  • twitter is now worth 25% of what musk paid for it

    is the actual number more or less than that

  • Considering that metaphysics must be affected in that way in order for any species that practices copulatory sex to not die out...

    (You could make an argument for IVF, but...no.)

  • Having to use #[tokio:main] to make the main function async (which should just be inbuilt functionality, btw tokio adds insane bloat to your program) yet you literally can’t write code without it. Also what’s the point of making the main function async other than 3rd party libraries requiring it?

    You're kidding, right? You do actually understand that languages that aren't JavaScript don't have built in async runtimes and they need to be provided by a library, right? You're not actually writing a post about how much the programming language you have two days experience in made different design decisions and is therefore good at different things than the programming language you have five years experience in and therefore it sucks, right?

    There are plenty of slimmer async runtimes for Rust. Pollster comes to mind, although it doesn't provide any I/O functionality. (That's where the "bloat" that's in Tokio comes from -- it's providing functionality the Javascript runtime has built in. You see, Rust, unlike Typescript and Java that have compilers that emit source code for an interpreter, is actually a compiled language, and Rust programs compile to self-contained executables that don't need any external dependencies to run. If you included the size of the node binary in your Javascript app, Rust would win the filesize war no contest.)

    As for "performance doesn't matter" -- I'd like to tell you a personal story about a Rust program I'm working on. There's an imageboard I'm a fan of, and it runs some booru-like software, meaning when you upload an image you give it a few dozen tags, and then people can search for images by their tags. The tag search functionality on the website I thought was missing a few features, so I downloaded a copy of the entire post database on that site (including URLs and tag lists of every post) and wrote my own search algorithm in Rust. I wrote a function that accepts a search query and a list of tags and returns a boolean, and searching the posts was as simple as vec_of_posts.iter().filter(|post| matches(search_query, post)).collect(). I then downloaded the rayon crate, and, with a sngle line change to vec_of_posts.par_iter().filter(|post matches(search_query, post).collect(), I was running the search in parallel on all CPU cores. Running a full search of all four million posts takes about 50 milliseconds on my laptop, or 3 seconds running the search locally on an Android phone. Try that in an interpreted language.

    (So help me God, if you respond to that last point by saying "cloud computing", I am going to shoot you in the head.)

  • Why not?

  • Exactly who are you to tell me I'm "wasting my adulthood"? The same could be said about literally any pleasurable human pursuit.