AllHailTheSheep

joined 1 year ago
[–] [email protected] 2 points 18 hours ago (1 children)

I'm in the same boat. I was a kde neon person for a very long time, but I eventually got tired of some weird issues I was having that I couldn't find a fix for. tried fedora on a bit of a whim and everything just worked. Nvidia drivers were a breeze to set up, gnome is very nice out of the box and doesn't take the configuring I'm used to on kde, and even just having gnome boxes pre installed is super useful and I get to skip the virtualboxes setup. very impressed with it overall. never going back

[–] [email protected] 3 points 18 hours ago

to be fair, it's a pretty shit headline

[–] [email protected] 22 points 19 hours ago (3 children)

yes, if you change the problem, you change the way we respond. that's why there's so many trolley problems spin offs in the first place

[–] [email protected] 1 points 3 days ago

this guy very much hasn't. his comment history is damning to say the least

[–] [email protected] 13 points 3 days ago

an entire section on race conditions I see

[–] [email protected] 1 points 4 days ago

gotta make sure to distinguish that they don't wanna ride Donald l Trump, the dentist

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

damn. that's one hell of a family relic. sorry for your losses and I hope there's a long time before you have to see it again.

[–] [email protected] 2 points 4 days ago

well then they couldn't sue people and that seems to be a large portion of what Nintendo does

[–] [email protected] 3 points 1 week ago

liberals tend to be democrats and support democrat views. leftists want something better and tend to vote democratic as there's not really a better option. liberals tend to be center, even center right, while leftists are actually on the left

[–] [email protected] 2 points 1 week ago

true! connotation is a weird thing.

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

don't get discouraged. sorting algorithms occur frequently in interviews, and yes you use them a decent amount (especially in languages without built in sorts like c) but they are one of the harder things to visualize in terms of how they work. I'd say avoid anything recursive for now until you can get selection and insertion down pat. check out geeksforgeeks articles on them, but also don't be afraid to Google willy nilly, you'll find the resource that makes it click eventually.

in terms of efficiency, it does become a little more difficult to grasp without some math background. big o is known as asymptomatic notation, and describes how a function grows. for example, if you graph f1(x)=15log(x) and f2(x)=x, you'll notice that if x is bigger than 19, then f2(x) always has a higher output value than f1(x). in computer science terms, we'd say f1 is O(log(n)), meaning it has logarithmic growth, and f2 is O(n), or linear growth. the formal definition of big o is that f(x) is O(g(x)), if and only if (sometimes abbreviated as iff) there exists constants N and C such that |f(x)| <= C|g(x)| for all x>N. in our example, we can say that C = 1, and N>19, so that fulfills definition as |15log(x)| <= 1|x| whenever x>19. therefore, f1(x) is O(f2(x)). apologies for just throwing numbers at you, (or if you've heard all this before) but having even just the most basic grasp of the math is gonna help a lot. again, in terms of best resources, geeksforgeeks is always great and googling can help you find thousands of more resources. trust that you are not the first person to have trouble with these and most people before you have asked online about it as well.

I also highly reccomend grabbing a copy of discrete mathematics and it's applications by Kenneth Rosen to dig farther into the math. there's a few other types of asymptomatic notation such os big omega and big theta, even little o, that I didn't mention here but are useful for comparing functions in slightly different ways. it's a big book but it starts at the bottom and is generally pretty well written and well laid out.

feel free to dm me if you have questions, I'm always down to talk math and comp sci.

edit: in our example, we could also pick c =19 and n = 1, or probably a few other combinations as well. as long as it fills the definition it's correct.

[–] [email protected] 29 points 1 week ago (7 children)

female as an adjective for clarification (like "oh you're looking for that female doctor over there") is ok, female as a noun is just weird

2
rule (sh.itjust.works)
 
3
dothog rule (sh.itjust.works)
 
1
rule (sh.itjust.works)
 
1
rule (sh.itjust.works)
 
view more: next ›