Show newer
shork boosted

more rust questions, lifetime stuff 

so i have a trait with an associated `type Char: Iterator` right now

i know that that iterator will return &C in all implementations, but how do i write that?

i tried `type Char: Iterator<Item = &C>`, but rust tells me that that reference might outlive its data

the same happens if i just leave it as it is now, i get the same error in the implementation where i define that type

I think I use firefox reader view more for text files than anything else, and to ignore people's awful taste in typesetting second

fixedwidth light-on-black looks l33t but it's hard to read

shork boosted

asking for help with rust 

so currently i have a trait and i want all implementations to have a

`from(iter: I) -> Self where I: IntoIterator<Item = C>` method

obviously i can add that method to my trait and it works just fine, but if i want to add it by making implementations implement the corresponding From trait?

i know about supertraits but i cant figure out the syntax

shork boosted

Alerta! TW Rassismus 

Am Dienstag werden deutschlandweit Faschos schwarze Kreuze aufstellen "um den deutschen opfern nicht-deutscher Täter zu gedenken" - haltet die Augen auf, schaut euch überall um und entfernt den Scheiß!
schwarzekreuze.wordpress.com/

:antifa:

ah heck, it follows the system dark/light mode setting, wish that was overridable by website

Show thread

oh heck, since when does Sidekiq have a dark mode

TIL that VS Code shows one-character-wide tab chars as "→" (U+FFEB Halfwidth Rightwards Arrow) rather than a 'normal' fullwidth arrow, and most fonts don't have that. Installed Quivira as recommended on github.com/microsoft/vscode/is and now I have tiny arrows instead of replacement characters!

I'm not a headphone person, I'll always chose speakers if I have the choice

Show thread

Apple Music is trying to get me to listen to music in 3D audio and I don't get it

just remembered that Velocity, the GDQ mascot, is canon agender and uses it/them pronouns :)

shork boosted

Masto feature request: delay showing the toot until the preview card has been fetched

this whole series is great, I love DF's retro videos

Show thread
shork boosted

I lost my blahaj at Frankfurt Mainstation today. As it's my comforting plushie it's very important to me. I probably lost it on the way from the south entrance to platform 10. Any help is appreciated. :boost_ok:

I love music made by queer people, gotta be one of my favorite genres

I understand that just moving to metric isn't really an option but USians should really just use 24h time

Penny Snapcube's original music is also really good

Show thread
Show older
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!