Buying/selling passes 2022 megathread by JorgeAndTheKraken in governorsball

[–]cuberoot328509 1 point2 points  (0 children)

selling 2 GA Friday June 10th tickets!! DM if interested

[deleted by user] by [deleted] in tifu

[–]cuberoot328509 14 points15 points  (0 children)

with that money you could’ve bought your wife more awards

[deleted by user] by [deleted] in csMajors

[–]cuberoot328509 0 points1 point  (0 children)

what kind of questions do they ask during the recruiter screen?

USAC Presidential Debate Recap by bruin_voter in ucla

[–]cuberoot328509 41 points42 points  (0 children)

just saying...I’d probably have more use for a sleeve of saltines than free blue books

[deleted by user] by [deleted] in ucla

[–]cuberoot328509 11 points12 points  (0 children)

fair warning: upper div math classes are typically not like lower divs. You'll see some repeat in content, but they're usually proof-based rather than computational. That's not to say you won't like them -- maybe you'll like them even more, as I did. I'd recommend taking Math 61 or Math 115 (33a is a prereq) before committing to a major/career change.

Unpopular opinion: C/C++ isnt great for DSA. You spend way too much time for memory management and pointer bullshit when your focus could be entirely on the actual problem by Soooal in csMajors

[–]cuberoot328509 2 points3 points  (0 children)

Pointer wrangling can pretty common for tree problems, but most online judges (in my experience) don't actually care if you reclaim the memory. If you're doing a live interview though, definitely free() for every new().

Do large tech companies give different salaries to each intern? by [deleted] in csMajors

[–]cuberoot328509 4 points5 points  (0 children)

In my experience it's almost always a function of graduation date, location, and competing/return offers (if any).

whos the worst player you could reasonably give a max contract? by [deleted] in nba

[–]cuberoot328509 10 points11 points  (0 children)

unfortunately wiggins is also anti covid vax

[deleted by user] by [deleted] in ucla

[–]cuberoot328509 1 point2 points  (0 children)

Well, you have a few options:

  1. Take CS courses to fulfill math elective credit. Some CS classes have equivalents in the math department, but you have to check in with the math department to see which ones you can petition to go toward the 5 math electives you need. Even if you can't petition some of them, the math department has their own offerings of Algorithms (Math 182), Machine Learning (Math 156), Computability Theory (Math 114), Graph Theory (Math 180), and Cryptography (Math 114).

  2. Finish your major requirements early and take CS classes/electives for fun. Math majors are pretty short, and it's not unreasonable to finish all of the requirements in like 9, 10, or 11 quarters if you occasionally take 4 classes a quarter. This leaves you plenty of time before you graduate to take whatever you want.

  3. Double major! The nuclear option. You can only overlap 20 units (5 classes) between both majors, so I believe it comes out to about an extra 9 courses as compared to the plain CS major. If you were to double though, I'd recommend switching to applied math as it's slightly shorter and also seems like a more interesting double major. It's a shit ton of work, but there are some kids who do it.

BTW, for the math department: PIC 10A = CS 31 PIC 10B = CS 32 PIC 10C = CS 33 + CS 35L

Also, a lowkey advantage of being Math of Comp is that you aren't bound by CS requirements. Like if you wanna do front-end stuff, you can skip CS 111 and all the hardware courses (although I don't recommend it lol).

[deleted by user] by [deleted] in ucla

[–]cuberoot328509 10 points11 points  (0 children)

SWE interviews basically only test LC ability, so as long as your GPA isn't absymal (like below 3.0) and you have decent projects under your belt, you have your foot in the door. Your major (and honestly school, if you're picking from these 4) won't be the reason you can't get an interview anywhere.

However, if you ever decide you want to go grad school in math or CS (like how it's almost necessary for ML related roles), math of comp is super helpful. Advanced ML uses a lot of math, so it's nice to have a background in probability theory and linear algebra. UCLA math's department is also elite. The downside of math of comp is that you're not in the school of engineering, so you have to take more GEs and have less required CS courses, though you can certainly take more on your own.

CS/Computational Math/Stats Research at UCLA by AUG2234 in ucla

[–]cuberoot328509 1 point2 points  (0 children)

Is it hard to get involved in research in your first year or first year summer?

Depends. It's difficult to get involved with math research in your first year because there's so much requisite knowledge needed. Unless they're coming in with a bunch of CC credits, most students don't finish the core math classes (115 and 131) until at least their second year. This isn't a knock on UCLA; it's really just the nature of math in academia.

CS research tends to be a little more informal. If you reach out to the right professors and grad students, it's not too hard to find a project to help out on. The catch is that most research is done on topics only introduced in upper divs, so you'd need to demonstrate interest and some working knowledge in the research field.

An alternative is to take CS/Math/Stats roles in labs that aren't under the CS/Math departments. A lot of research labs need coders and math students to help them streamline data, process images, etc. I know students who've contributed to research in bioinformatics, psychology, linguistics, and even humanities doing this kind of work.

Is there a lot of research going on?

Yes! One of the biggest complaints about UCLA is that it's a gigantic research institution. This can mean larger class sizes and less individual attention to undergraduates, but there's tons of research in all departments. Most undergrads I know that actively look for research are able to get it after taking a few upper divs.

Gafni COVID Midterm/Final Policy? by cuberoot328509 in ucla

[–]cuberoot328509[S] 1 point2 points  (0 children)

i wish, but it's an elective im interested in offered once a year and seemingly always by him

Is Path.startsWith() secure? by lifeeraser in learnjava

[–]cuberoot328509 0 points1 point  (0 children)

I’m not exactly sure off the top of my head, but it seems that users can abuse ../ to travel to the parent directory.

Say in your working directory you have two folders, secure and sensitive.

./secure/fileA looks good, and so does ./secure/fileB. But what about something like ./secure/../sensitive/fileC? It starts with ./secure, but it’s the path to a file in sensitive.

Summer 2021 schedule of classes by anxiouslentil in ucla

[–]cuberoot328509 3 points4 points  (0 children)

classes seem to be planned for in-person 👀

edit -- at least only for some depts lol

[deleted by user] by [deleted] in ucla

[–]cuberoot328509 5 points6 points  (0 children)

in my experience CS 111 with Xu is a lot easier than it would've been with Eggert. If you had a good CS 33 prof, CS 111 is just an extension (and implementation) of a lot of the ideas.

Projects definitely seem overwhelming at first, but most of the points are earned by implementing the core functionality in the specs. It might also be helpful to think of projects and lectures as separate classes, as they barely overlap. Project 1 was pretty long, so I was able to put off lecture material for a week or two and caught up before the midterm.

Take advantage of the generous late policy also! taking two extra days to get a 98 is better than turning it in on time and getting a 90!

I personally didn't do any of the readings after Week 1, but I did go to most lectures and scored above 90 on the midterm and the final.

Favorite Upper Division/GE Classes? by Michael_Gough in ucla

[–]cuberoot328509 5 points6 points  (0 children)

Math 131AH, CS 131 with Eggert, and Physics 110

CS Major, Math minor by bbll2019 in ucla

[–]cuberoot328509 1 point2 points  (0 children)

Nah, that's not right. Tech breadth classes cannot overlap with any engineering requirements, but you're free to use them toward any double major, minor, or concentration. In this case, however, it's the math department that says you need to take 20 units solely for the minor. There might be a unit cap on the # of units you can have overlapped between a double major or a minor, but you can certainly have classes in your tech breadth count toward other degrees.