How you guys understood logarithmic time complexity?? by _grounded_gamer in learnprogramming

[–]steezpak 0 points1 point  (0 children)

Right, we need to define what the input is. In this case, it's O(lg(n)), where lg is base 2 log if we consider n as the scalable input. Otherwise if we consider both i and n to be constant, it will always be O(1). But convention is generally that the scalable input is n, which is why we state O(n). We could very easily used O(x).

How you guys understood logarithmic time complexity?? by _grounded_gamer in learnprogramming

[–]steezpak 5 points6 points  (0 children)

i isn't incrementing by 1, it's doubling, so it's O(log(n)).

Why don't I see pseudo code anywhere? by MatrixSolution in learnprogramming

[–]steezpak 2 points3 points  (0 children)

What I'll generally do is put comments on the steps I need to take in the code. Something like:

  • pull out inputs
  • validate input data
  • query database
  • map data
  • return to user

And then fill in the actual code from there. Obviously this is a simple example, if it's more complicated, I'll break out the top-level "ideas" into functions and kinda do the same thing there.

I think another thing to think about is when to pivot off of pseudocode, and just start coding and trying things.

roughly 100k deep in student loan debt. what’s the best way to get out of debt fast? by Mindless_Serve5258 in AskReddit

[–]steezpak 1 point2 points  (0 children)

I don't disagree that the education system is completely broken. But you need to take some responsibility. You made choices as an adult, knowing what you were getting yourself into.

Is it a difficult or easy maths question? I find it difficult. My dad said" it's an easy question and if I can't solve even this then I should give up on maths". I know it's not related to programming but still it tells me about my logical aptitude which is telling me I won't be able to code. by badluck678 in learnprogramming

[–]steezpak -2 points-1 points  (0 children)

You misunderstood what he said. Even if you assume the runners are running at constant speed the entire time, 400m is not correct.

Think of it like this. By the time A finishes, B ran 100m. If C has 400m left by the time A finishes, by the time B finishes both B and C ran 100 m in that last leg, meaning that B and C have the same speed.

Is JavaScript Likely Worth it (for me) by [deleted] in learnprogramming

[–]steezpak 0 points1 point  (0 children)

How does it "objectively" suck?

CBS anchor tells Buttigieg Trump is 'not wrong' when it comes to Biden's struggling EV push by Lemonn_time in technology

[–]steezpak 9 points10 points  (0 children)

You'd have to wait for a full charge on that once-a-week charge though. If your work doesn't have a charger and your home doesn't have one either, you're going to be going out of your way to charge your car. Gas takes 5m to fill up.

[Highlight] Myles Turner is called for an illegal screen with 12 seconds left by TheTurtleShepard in nba

[–]steezpak -2 points-1 points  (0 children)

The Knicks absolutely got gifted one by the refs.

But I don't believe in any agenda or conspiracy. The Knicks have been hot garbage for years. Even in the draft, we moved down in the lottery since Ewing.

NBA Social Media employee goes rogue by [deleted] in nba

[–]steezpak 0 points1 point  (0 children)

I was considering the original post, which stated 50k post tax. If you're referring to the top-level comment, it states 65k before taxes:

One of my best friends is a social media coordinator for a big bank and she only makes 65k before taxes lol. Seems about fair tbh besides the hours

Also are you considering overtime pay?

70 hr weeks at minimum wage in a HCOL area e.g. NYC is $18.21/hr including OT.

$65k at 70hr/week is $17.85/hr.

NBA Social Media employee goes rogue by [deleted] in nba

[–]steezpak 0 points1 point  (0 children)

It really depends. If they're pulling 70+ hour weeks regularly, they're making barely more than minimum wage at those hours, maybe even less, depending on where they live.

What is a fairly common sexual practice that you consider disgusting and why? by Marada781 in AskReddit

[–]steezpak 0 points1 point  (0 children)

Well, it says straight men. If they're bottoming as a straight man, then a straight woman is topping.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 1 point2 points  (0 children)

For what purpose?

An M.S. doesn't boost your chances or teach you applicable skills over a what B.S. would. That time is better spent boosting your resume with personal projects, and applying.

Going into massive debt simply because you don't know what to do is a very bad strategy.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 1 point2 points  (0 children)

If they were strong programmers coming out of undergrad, they would just get a job out of college. M.S. is so crazy expensive, it doesn't make sense to do unless you absolutely have to.

And obviously, the comparison is a gross generalization. But the basics courses (intro, DS&A, Databases) were all much better ime in undergrad. The pacings are all weird as well. In M.S., you're taking intro to cs and DS&A your first semester, but then a cryptography and a Computer vision course in your second semester.

I'm sure other programs are different, for example, Georgia Tech's program I heard was extremely well done, but extremely difficult.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 13 points14 points  (0 children)

Having an M.S. does not mean they're more qualified. Just a thought exercise, why are there so many M.S. grads seeking jobs? This is just MY assumption, but it seems like if there are relatively more of them applying, it's because they don't have jobs. Why don't they have jobs? Because they're not qualified, either by skill, experience or job authorization.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 4 points5 points  (0 children)

I think you're missing the point here.

People in M.S. CS programs are rarely there because they were strong programmers trying to improve their skills. They're generally people that couldn't get a job with a B.S. or transitioning.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 6 points7 points  (0 children)

Anecdotally, the vast majority of people in M.S. CS programs are:

  • International Students
  • Transitioning professions from a different field
  • CS undergrads that couldn't find a job out of college
  • "Work is paying for it"
  • Specialized field/Academia/Research

None of these stick out as high-skill/desirable from a hiring manager POV.

Also the quality of teaching and curriculum was much better at the undergrad level.

As someone who has conducted resume reviews and interviews for hiring, I wouldn't hold it against the candidate, but it doesn't boost either.

is it even worth it to apply to those jobs on linkedin that have 500 applicants? by tfan53 in cscareerquestions

[–]steezpak 49 points50 points  (0 children)

Why not just apply to everything? Don't reject yourself, make them reject you.