If something I say sounds insane it's usually a shitpost, but if you wanna be sure u can ask (It will give me feedback to add notation so that I can be sure it's not misunderstood)
I can be weird and lewd here, I usually try to CW stuff correctly, mostly succeed but viewer discretion is advised, I am not strictly mDNI but I def would require not interacting with lewd posts, and I will block if I realize that this is happening. Also lewd stuff I post are usually jokes, I am in a monogamous relationship so do NOT try to unironically hit on me. Ironically is fine if I know you and its all for jokes.
Few statements that I believe so if u dont believe you might not like me and I might not like you: - Trans rights (I mean ALL trans rights. Transfem, masc, enby, anything else too, you are all valid) - Gay rights - Queer rights - MAPs aren't queers. Pedophilia is not a sexuality. - Privacy matters
@LunaDragofelis@follpvosten Typescript would be fine (besides the part of it being javascript) but I dislike the Any type cus imo like, what's the point of using strongly typped javascript if u then use Any to lesser it's type system that's just... javascript Other than that idk, never used typescript more than looking at it for couple of seconds so i can't judge
programming, rust@LunaDragofelis@follpvosten my pet peeve here is mostly that it was just bad error handling, and exceptions wouldn't really save that cus that is a mistake that could happen from laziness in either type of error handling stuff lol but in exceptions it could happen out of mistake while in Rust here it was done explicitly. and that it's DAMN cloudflare like, y'all are big as shit unwrap is a rookie mistake that should just not happen in such critical system, especially that it's like their second time they've done shit like this
programming, rust@LunaDragofelis@follpvosten but in production systems you absolutely handle it I doubt it would be a good idea to have just catch Exception that catches every random exception, since different types of errors should (probably) be handled differently instead of "just log and discard" (tho ig it depends from system) the problem with exceptions is that, while yeah sure u don't have to handle them at each step, now I have no idea what's goin in that function. It would require more effort to actually learn if a function can fail, and would potentially let someone accidentally just leave it be, which would then cause more issues. Explicit error handling should be the default in production systems, especially in such critical architecture as cloudflare.
programming, rust@LunaDragofelis@follpvosten wait did I assume that the convo was about cloudflare again or was it about cloudflare this time cus I was about to go talk about how unwrap is fine for experimenting but cloudflare scale devs shouldn't do bad stuff like that but I might again be having wrong context in my head lol
programming, rust@LunaDragofelis@follpvosten but using unwrap is basically like letting exception to just crash the program without handling it how would standard exception handling help in a case where they explicitly decided to not handle the error
programming, rust@LunaDragofelis@follpvosten map and filter in rust deal with results. if you map over result, it either returns Err if the value it's called on is Err or operates on data inside Ok.
programming, rust@follpvosten like if u dereference a pointer in C without checking if its null then u get screamed at by 20 evangelists yet unwrap is basically almost like that and they just leave if there for funsies it should be part of their standard cargo clippy config like god dammit
programming, rust@follpvosten unwrap in production running by one of the largest companies in the world is insane like holy shit how do u even do that even i know that's bad
"haha cloudflare down stupid cloudflare im so glad i self host stuff without it" me when my server gets turned off because its at my family house and I can't turn it back on:
Fedi meta related@gabboman send email to administrators with like a federation request with "delay" box which would be circled out and a comically big "DENIED" stamp