it takes an immutable reference and makes it mutable. that is very much not something you are allowed to.
02.11.2025 02:42 β π 2 π 0 π¬ 0 π 0@nekotachi.bsky.social
she/her(/they/it) rust contributor enjoyer of tcgs native english speaker, conversational toki pona, very basic japanese anarchist #oponaemi
it takes an immutable reference and makes it mutable. that is very much not something you are allowed to.
02.11.2025 02:42 β π 2 π 0 π¬ 0 π 0Damn baby are you an object with no references pointing to it? Because the JVM just triggered a pass of the
01.11.2025 23:40 β π 9 π 2 π¬ 2 π 0Evergreen
01.11.2025 20:03 β π 18 π 2 π¬ 1 π 0Yes girl you are so deer!
01.11.2025 16:26 β π 3811 π 793 π¬ 24 π 5"nothing is as simple as C/C++"
ah yeah, the simplest programming language is actually two different programming languages, somehow.
#![] is an inner attribute (goes inside the thing), #[] is an outer attribute (goes outside the thing)
i'm guessing the docs were getting put on your imports, then ignored because those are private.
I'm far from an expert on this, but my best guess is that neural networks will give you quite good results when upscaling by a smaller factor, but for larger factors the artifacts/hallucinations would become apperent.
01.11.2025 21:09 β π 1 π 0 π¬ 0 π 0the best algorithm depends on the type of image
for example, nearest neighbor is what a lot of pixel artists use to manually scale up their art
"not using the value" isn't enough, you actually need to destroy the reference, as the compiler is allowed to read through any reference at any time.
01.11.2025 19:27 β π 0 π 0 π¬ 1 π 0this can't be real, why is there a generic parameter for gender??
and why is the doctest mostly hidden lines??
I asked a clarifying question and you refused to answer it.
i've done a lot programming in many different languages, from asm and FORTH to Haskell and TypeScript.
language has little to do with how reliable software is. testing and time matter much more.
what in the nine realms are they doing that requires an identifier that long???
i don't think i could give something a name that long if i tried!
I mean not directly, no? not to my knowledge?
I have zero problem with the fact feeds can ban/block/filter people, it's the fact this could be done without anyone even knowing that the feed is doing it.
i do my best x3
01.11.2025 07:24 β π 1 π 0 π¬ 0 π 0genuinely how does rust struggle with emulators? just make a big array/vec for all the memory then match on each opcode.
01.11.2025 07:24 β π 1 π 0 π¬ 1 π 0I don't see how that's related at all.
difficulty β reliability
knitting a wool sweater by hand is difficult, but it will keep you warm.
also, making a GBA emulator in any language seems hard? i'm not gonna implement an emulator twice just to see if your point is valid.
representative democracy would probably work better if you were voting for a position other than "person who makes all the decisions"
01.11.2025 07:16 β π 6 π 1 π¬ 0 π 0The average US taxpayer spends $36 a year on SNAP
You know what they spend on corporate subsidies? $670
Poor and disabled people who need food are not the problem
If youβre angry about βyour moneyβ feeding people but not angry itβs giving tax cuts to the wealthy?
Youβre doing their dirty work.
*for references
whoops
ok, but usually unsafe code has to use raw pointers to do weird stuff. it's not allowed to break the aliasing rules for pointers, for example.
lifetimes are the one exception, i believe
yeah i'm pretty sure you're actually allowed to give references lifetimes that are too big as long as they are destroyed before their real lifetime is up
01.11.2025 03:11 β π 9 π 0 π¬ 2 π 0has anyone managed to do prompt injection to a search engine from the search box?
it seems doable
this is a really good video.
ive heard a *lot* of people spearheading social media as a plague on the younger gen's mind, especially as they talk over them, block minors everywhere, and has never talked to my generation once at all,
but the worst part of the debate--
youtube.com/watch?v=WTbp...
this actually doesn't discard the lifetime! it enforces the input and output have the same lifetime.
no it just uh. conjures mutability out of nowhere. you're really not allowed to do that.
Seriously co-signed, even though I started and stopped Iβm so happy I did it for a while
01.11.2025 01:54 β π 17 π 2 π¬ 0 π 0hey bsky custom feeds can shadowban people with no oversight, that's not really the best architectural quirk
01.11.2025 02:05 β π 3 π 1 π¬ 1 π 0Rust: solves one specific Hard Problem that has been causing immeasurable damage every day for decades.
every C programmer, for some reason: ok but why didn't you also solve the halting problem, huh?
yeahhh that's trivially unsound
01.11.2025 01:38 β π 45 π 0 π¬ 1 π 0accessibility font scale should really be a curve and not just linear
just because i want the fine print amplified doesn't mean i need the title card to be twice the size of my screen