Details
-
AboutAAAAAAAAAAAAAAAAAAA
-
SkillsRust and other things
-
Locationhere
-
Website
Joined devRant on 12/8/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@MM83 Wrong
(queue trump clip) -
I know this doesn't help much but when you're wrapping a bunch of stuff in mutexes, it's often not a great idea
For very multithreaded code I think a more actor-ish approach works best where you send "messages" to each other instead of locking global datastructures
For less multithreaded code it's often best to have your data be owned by a "context" object or something inside a slotmap and only reference the objects with indices. This way, instead of Arc<Mutex<T>>, the ownership is so much simpler since it's now all just dependent on the context object. Then you can pass that context object as a reference down the call stack
Doesn't always work of course, but just some of my thoughts. Code architecture in Rust is hard! -
The reddit is very active unlike c++
-
@cafecortado carrier grade nat? If so, did you try calling them? A friend of mine had the same issue and they just disabled it for him so now he has a proper ipv4
-
Aw that's sweet
-
uefi was SO CLOSE to being a good idea
But then microsoft and intel were involved
And then it wasn't a good idea anymore -
And let's not even get started on COM interfaces
-
Sounds like a good time to me
-
@donkulator Please don't engage with this retard, this is a bot account probably just recycling old rants
-
Kill yourself
-
@Chewbanacas Funny how that snippet is also perfectly valid rust code lol
-
Ahh the plan is working.... slowly converting to the dark side... yes my padawan...
-
@GOAT Kill yourself
-
@atheist I don't :(
I downvoted to many bot accounts -
@retoor Ah well, ya tried :D
-
@netikras The problem is spam posts with botted updoots. If you spam them with "THIS IS A SCAMMER" or something, the spam becomes ineffective and they will stop
-
@netikras Only comments under spam posts. I think that's fine
-
@retoor
-
@retoor yeah but like... He should be able to to do that. That's literally what free speech is. And if people don't like it there's an easy solution: Leave
-
@kiki I wish more people would realize that not having an opinion isn't a bad thing!
If you haven't researched something enough to form a well founded opinion you could defend in a debate, it's actually so much better to not have an opinion instead of delivering bad takes -
@kiki "This is why I'm glad it's not up to me to make policies that affect millions"
Oh man, that's relatable. Honestly the reason I tend to stay away from politics. There's just too much to consider and it's so complex that it's sometimes just better to not have an opinion lol -
@kiki It really depends on what you mean by trans rights
Do I think trans people should be treated respectfully and fairly? Absolutely!
But that's not really "trans rights" but just human rights. Everybody should be treated well regardless of who they are -
@kiki I agree that there is certainly very hateful and mean spirited speech, but I'm super not a fan of hate speech laws for one simple reason: Who defines what hate speech is?
In a sense we (as a society) already had this discussion: Because anyone might be offended by anything, it's foolish and dangerous to ban vast areas of speech over it. We should allow as much speech as possible and the truth will ultimately prevail
The more cynical (and imo true) take on hate speech laws is that it's just far lefty marxist types trying to gain power over society because they are really not good people driven by even worse motives
Either way, I think they are a bad idea -
@kiki The trans issue is a whole debate in and of itself
Trans people do exist and I have no problems with people living their lives
What I do have a problem with is a.) transitioning kids, because they cannot consent, and b.) the tendency to just make some shit up and then say "trans rights are human rights" and now magically we have to obey them
E.g. trying to censors peoples speech if it doesn't agree. In many first world countries you could reasonably get a fine or be thrown in jail for tweeting "there are only two genders", because that's "hate speech" -
@kiki (ping for updated comment)
-
@kiki Sounds pretty reasonable
What subgroup of the left would you categorize yourself in?
From what I can gather, ostream is very much in the "woke identity politics" subgroup and that's the one I have an issue with -
@kiki Lefties are for more government control even though they claim it's systemically racist and corrupt. They hate cops but want people thrown in jail over tweets.
Yeah, it kinda doesn't make any sense at all. That's my biggest issue with the leftie world view -
@antigermanist You got mad at me for saying theft should be punished. You do literally 0 logical thinking at any time of day
-
@antigermanist You literally cannot defend one of your positions rationally. I destroyed you in every debate we've had
And the reason is what I just laid out: Because you haven't actually *thought* about your world view, you just repeat what other people are saying -
@antigermanist It continues to amaze me how the most indoctrinated people can believe they are free thinkers lol
Just to spell it out: You are in a literal cult. None of what you say or believe is what you came up with. It's all just repackaged from the thought leaders in your little cult. YOU are the android. YOU are the NPC that just follows the far left status quo