sparkle

joined 7 months ago
[–] [email protected] 2 points 3 months ago

The land of the free? Whoever told you that is your enemy!

[–] [email protected] 10 points 3 months ago (2 children)

Tax/fine Google more and give the profits to competitors like Mozilla (as long as those competitors use the funds for Firefox)

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (1 children)

It would be a pain for developers, but firefox and chrome using a gig of ram to view webpages and play videos is horrendous even with isolated design.

That can't be helped. Hard to explain well without knowing how much CS you're familiar with, but basically in order to guarantee security/user safety you have to sandbox each tab (basically running an entirely separate container program for each tab which constantly checks for illegal memory access to prevent it from being exploited), all separately running their own interpreters for javascript/typescript, HTML, CSS, all of which are very resource intensive (mainly javascript/typescript). There's not really any getting around this, no matter how well you design your browser.

Now, theoretically, with the growing popularity/advances in WebAssembly, and increase in usage of frameworks/graphics APIs like WebGPU, you could completely get rid of that sandboxing and completely get rid of the extremely slow javascript and html/css, in favor of completely using safe, compiled Rust programs. There's active research using versions of WASM which only accept completely safe code (mainly safe Rust code) so using memory bugs generated from user error to access data in different tabs becomes impossible (aside from potential unaddressed bugs in Rust itself obviously) and you don't need to sandbox each tab – the program practically sandboxes itself. Then you could potentially have browsers with thousands of tabs perform perfectly fine, assuming each of the websites is programmed competently.

But that's not going to happen, because billions of users rely on HTML/CSS and JS, and it's not pretty to transition away from. Getting rid of it would be like getting rid of pointy shoes, or getting rid of US Customary Units in the US, it's just not happening no matter how much benefit it would bring to users. It's not so much of a browser company issue as it is everyone ever would complain and potentially trillions of dollars of damage would be done. Also frontend web devs can barely punch out a "hello world" program in JS so there's no way most of them are gonna be touching Rust or Haskell or something.

[–] [email protected] 5 points 3 months ago

It stands for read the descending order sort, dummy

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago)

Trap is a slur, especially used often by weebs. Describing gender non-conforming characters who look feminine as "traps", including many canonically non-binary and woman characters, is pretty fucked up when you think about it. To them, "traps" and genderqueer people in general are sex objects, not characters with respectable identities. Most of the weebs that throw that word around are also the ones to do trans erasure, like denying that a character is transgender or otherwise gender non-conforming, instead treating any character implied not to be AFAB as a man; and then often ironically going crazy defending it as "not gay" because that'd be bad – there's a reason "traps aren't gay" is a meme, and it's an unironically defended position by these people. They convince themselves it's not gay by reducing queer people & characters down to sex objects, things to masturbate to, rather than people. If you don't see them as an equal person, it's not gay or immoral, is how they process it. Obviously they won't say that explicitly if you ask them though, they'll just say it's not gay because being attracted to things that look like women is straight or something.

That's why it's used a shit ton in, you know, porn. Not just hentai, but actual real porn. Usually in place of "bitch", "whore", or some other word used to dehumanize women. They're used in the same derogatory manner. It's pretty disturbing when men use "bitch" or "whore" to refer to women and female characters, it's dehumanizing. And it'd be pretty disturbing to well-adjusted people if someone described anyone feminine genderqueer as "a trap", but this is a slur that weebs are fine using amongst themselves.

This problem is made worse by the fact that generic animes started to play into this, that is, they created "trap" tropes (with a lot of objectified/token otokonoko or josoko characters popping up because weebs like it).

You would think those people wouldn't equate anime characters with real people, but this mentality transfers between fiction and nonfiction unfortunately. Often times the way you feel about character identities in media is representative of the way you feel about the identities of real people – just look at the backlash of the gamergate people about the woke "ruining games and movies" by putting minorities and women in them.

Now, I'm not saying everyone who's ever used the word "trap" is a bigot or anything. People use words without realizing the way others see it, and the impact it has. I used it in my weeb phase. But undeniably, "trap" is a derogatory word and a slur used to objectify queer people, and it always has been – it originated in 4channers & internet weirdos getting mad over trans people being at gaming events, posting pictures and labelling them "traps" ("they're trying to trick you into thinking they're a woman to trap you into having sex with them, when they're really not a woman"). It's no different than other slurs for queer people (like "fag" or "sodomite"). It's harmful and shouldn't be used. Persistence on using it shows a lack of respect for (or just plain ignorance of) genderqueer people and their identities.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago) (2 children)

r/TrueUnpopularOpinion, r/TrueOffMyChest, r/GoodAnimemes (that sub was made after r/Animemes mods stated that "trap" was a slur, which made a bunch of manchildren angry who went to go make their own sub, so you can immediately guess how much of a misogynistic porn-oriented hellhole it is)

[–] [email protected] 1 points 3 months ago
[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (2 children)

not the original commenter but FLOORP, BABYYYY!!! let's go let's get this floorp action come on floorp is the best reign supreme for a thousand years floorp woooooo

[–] [email protected] 11 points 3 months ago* (last edited 3 months ago) (1 children)

Web bloat in a nutshell and why we need to switch to things like Web Assembly more than ever. It's not WASM, but I used Laminar which is a Scala.js library, and it's the absolute pinnacle of (frontend) web development. Scala in general is just really great for idiomatic web code, its flexibility is unbeatable.

Another amazing alternative would be anything Rust. In fact I've used that much more than Scala for web. I've mainly used Leptos for full-stack and and Actix for backend, but I've seen Dioxus and Axum in good use and they both seem really great too.

Apparently Lemmy uses Leptos for its UI so... that's a +1.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

I am a Scala and Rust fan. I can corroborate what you said

The part about no semicolons/curly braces I like in Scala is that I can write a function and it'll look virtually indistinguishable from a regular ol variable. Functions become much less of a ritual and integrate more nicely with the rest of the code. Other than that though, Rust definitely wins out because of the curly braces & semicolons. I use curly braces in most situations in Scala where I'd normally use them in Rust, and I would use semicolons everywhere in Scala if it weren't considered unidiomatic. Whitespace-significant syntax is just really annoying to deal with. Using Python or even maybe F# makes me want to die because I keep accidentally missing an indent somewhere or indenting too much somewhere else or using the wrong kind of whitespace and the entire program implodes. At least Scala and Kotlin keep it sane

Also it's just way harder to visually organize in whitespace based languages. You basically have to do a bunch of magic tricks to make the code look slightly different in a specific scenario than what the language wants you to. Rust allows you to actually visually organize your code easily while also having a strong style rules which you shouldn't stray too far from (or else the compiler will yell at you).

[–] [email protected] 4 points 3 months ago

Don't talk to me and my Directed Hypergraph Databases again

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

I somehow don't think we will, considering the original commenter is seemingly pretending that they didn't see the comment. I wanted to give the benefit of the doubt, but it's hard to believe that they're actually telling the truth about any part of what they said considering they apparently think Trump is the best candidate we have. American centrist and right wing policies are pretty anti-poor.

He uses "left" to refer to Democrats in his comments so I just assumed he meant it here too.

My only guess is that they mean "a for-profit church" when they say "a nonprofit that feeds the poor and temporarily under resourced". But I dunno, maybe they're telling the truth.

view more: ‹ prev next ›