yetAnotherUser

joined 2 years ago
[–] yetAnotherUser@lemmy.ca 46 points 3 months ago (5 children)

Here ya go!

Simple drawing of a face. Each eye is represented by a dot. In place of a mouth, there is a sideways question mark. The face has no nose.

...And I still don't know what it's meant to look like.

[–] yetAnotherUser@lemmy.ca 3 points 3 months ago (1 children)

For all the screenreader users on Lemmy, it's a Braille drawing of...

spoiler...the back of a naked walking person, whose big butt is quite visible.

[–] yetAnotherUser@lemmy.ca 3 points 3 months ago (1 children)

Wait, what?

[–] yetAnotherUser@lemmy.ca 3 points 3 months ago

I almost didn't notice the title.

[–] yetAnotherUser@lemmy.ca 3 points 3 months ago

Spiders are so cool... :)

[–] yetAnotherUser@lemmy.ca 8 points 3 months ago

Not a song suggestion, but please take precaution with the shards, to avoid you and other people getting cut ;)

(To be honest, I'd just use "Back in Black")

[–] yetAnotherUser@lemmy.ca 3 points 3 months ago

and if the first word in a word is a vowel

Damn, that sounds a bit complex /j (Thanks for the insight on how Gaelic definitive articles work btw)

[–] yetAnotherUser@lemmy.ca 1 points 4 months ago (1 children)

Tsoding has created a few rules for writing Rust to make Rust "fun" to program in, and gave them the name of Crust.

Here is the rule set (it may change over time):

  1. Every function is unsafe.
  2. No references, only pointers.
  3. No cargo, build with rustc directly.
  4. No std, but libc is allowed.
  5. Only Edition 2021.
  6. All user structs and enums #[derive(Clone, Copy)].
  7. Everything is pub by default.

If you ever want to try this out for some ungodly reason, there's a GitHub repository with an example Main that shows how to use libc and other libraries (in the example, it's raylib), and with a Makefile showing how to compile your projects (remember we aren't using cargo).

[–] yetAnotherUser@lemmy.ca 12 points 4 months ago (1 children)

OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.

[–] yetAnotherUser@lemmy.ca 6 points 4 months ago (5 children)

Wait, now I need to know why.

* some time later *

I went to check why the hell this happened. It looks like the pair ("(,)") is defined as an instance of Foldable, for some reason, which is the class used by functions like foldl() and foldr(). Meanwhile, triples and other tuples of higher order (such as triples, quadruples, ...) are not instances of Foldable.

The weirdest part is that, if you try to use a pair as a Foldable, you only get the second value, for some reason... Here is an example.

ghci> foldl (\acc x -> x:acc) [] (1,2)

[2]

This makes it so that the returned length is 1.

[–] yetAnotherUser@lemmy.ca 17 points 4 months ago (1 children)

Fellas, is it possible to learn the Deutsche language just from ich iel?

view more: ‹ prev next ›