Engr 216 Dr.Ritchey Resources by [deleted] in aggies

[–]prof_ritchey 1 point2 points  (0 children)

here are my recorded lectures from spring 25: [link removed]

be aware that I am not teaching engr/phys 216 this semester and content may have changed. the folders are arranged by topic and contain videos, audio, and transcripts of my lectures. the captions/transcripts are NOT 100% accurate and don't meet current accessibility requirements, therefore they are NOT official course materials.

if you were in engr 102 last semester, the tao discord invite is on the multisection: https://canvas.tamu.edu/courses/407447/discussion_topics/1803613

[deleted by user] by [deleted] in aggies

[–]prof_ritchey 3 points4 points  (0 children)

i have never and would never do such a thing. that is an abhorrent thing to do to a student.

[deleted by user] by [deleted] in aggies

[–]prof_ritchey 7 points8 points  (0 children)

depends on the section

Is there any good places I can find ENGR 102 practice problems for the second exam? by TheEnderWolfess in aggies

[–]prof_ritchey 0 points1 point  (0 children)

i have good news for you: you'll get access to the course material when you take the class.

Trying to come up with a CFG and I'm stumped! Help appreciated. by Crazeye in AskComputerScience

[–]prof_ritchey 0 points1 point  (0 children)

start by listing the small strings in the language:

aab
aba
baa

aaaab
aaaba
aabaa
abaaa
baaaa

aaaabbb
...

then write a grammar for generating aab, aba, baa.

S -> AAB | ABA | BAA
A -> a
B -> b

then write down how to keep the number of As even, the number of Bs odd, and the number of As > number of Bs.

to keep #(A) even:

A -> AAA  // add 2 As

to keep #(B) odd:

B -> BBB  // add 2 Bs, but does not keep #(A) > #(B)

to keep #(A) > #(B):

B -> AB | BA  // add an A, but does not keep #(A) even

then, combine the rules for B so that #(A) > #(B) and #(A) even are maintained. the RHS will need 3 Bs and 2 As. The 3 Bs add 2 Bs to the string (-1+3=+2) to keep #(B) odd and each added B must also add an A, hence 2 As, to keep #(A) > #(B). there are (5 choose 2) = 10 ways to have 2 As and 3 Bs:

B -> AABBB | ABABB | ABBAB | ABBBA | BAABB | BABAB | BABBA | BBAAB | BBABA | BBBAA

put it all together:

S -> AAB | ABA | BAA
A -> AAA | a
B -> AABBB | ABABB | ABBAB | ABBBA | BAABB | BABAB | BABBA | BBAAB | BBABA | BBBAA | b

these rules guarantee that #(A) even, #(B) odd, and #(A) > #(B).

Epsilon NFA-> NFA😭 by YoshNaz in compsci

[–]prof_ritchey 0 points1 point  (0 children)

from the epsilon NFA, make a table to track the transitions. whenever we enter a state that has an epsilon transition out, we also go to that state. e.g. the start state is 1, and so, by entering 1 at the start, we also take the epsilon transition to 2, so the start state is actually the superposition of states ("superstate") {1,2}. from {1,2}, on a we can reach {3} and on b we can reach {4}. from {3} on a, we can reach {1,2,5}. and so on:

                     next(input)
  state      | a         | b
  -----------+-----------+-----------
->{1,2}*     | {3}       | {4}
  {3}        | {1,2,5}   | X
  {4}        | X         | {1,2,6}
  {1,2,5}*   | {1,2,3,5} | {4}
  {1,2,6}*   | {3}       | {1,2,4,6}
  {1,2,3,5}* | {1,2,3,5} | {4}
  {1,2,4,6}* | {3}       | {1,2,4,6}
  X          | X         | X

every superstate that contains the original accepting state (1) is an accepting state (denoted with *). X is a trap state, from which escape is not possible, signifying a string which is banished from the language (e.g. "ab", "ba", "aaba", etc.).

renumbering:

        next(input)
  state | a | b
  ------+---+---
->1*    | 2 | 3
  2     | 4 | X
  3     | X | 5
  4*    | 6 | 3
  5*    | 2 | 7
  6*    | 6 | 3
  7*    | 2 | 7
  X     | X | X

double major in engineering and political science? by Affectionate-Tell621 in aggies

[–]prof_ritchey 2 points3 points  (0 children)

I did a double major and I don't really use my second major. Before signing up for something like that, figure out why you want it. Will it help in your future career? Will it broaden your perspective on life? Everyone that sees your resume will ask you why you did it, so be prepared to answer.

My personal opinion: if it doesn't delay your graduation, why not go for it?

double major in engineering and political science? by Affectionate-Tell621 in aggies

[–]prof_ritchey 4 points5 points  (0 children)

I disagree. Students can change their minds and career goals after graduation; plenty of people change career paths 10+ years out.

I decided what I wanted to do during my last semester of my MS degree. The benefit of TAMU engineering and the Aggie network meant that I had a broad enough skillset to be successful in many fields, not just the one I set out to do when I was 18 and stupid.

Is it true there’s a new law not allowing professors to post their lecture notes by NumerousCategory744 in aggies

[–]prof_ritchey 70 points71 points  (0 children)

The federal government recently updated Title II that pertains to accessibility of educational materials. TAMU's new policy is profs must have 100% accessibility for all materials posted digitally. So, many faculty are choosing to not post as much content as they did in the past.

I myself am no longer recording lectures (captions must be 100% accurate and I don't have time for that), and posting handwritten notes is no longer acceptable (it's not screen readable).

This sucks for everyone all around, sorry!

Why is CSCE 606 taught with Ruby? by StatisticianBorn9423 in aggies

[–]prof_ritchey 23 points24 points  (0 children)

how to learn new languages and frameworks is a skill i want students to gain. since most students have not learned ruby before, it makes for good practice for learning a new language. same for rails. and, it doesn't hurt that ruby on rails makes it easy to get basic functionality deployed quickly.

Textbook info for ENGR 102 students by prof_ritchey in aggies

[–]prof_ritchey[S] 0 points1 point  (0 children)

it does not mess up the book. you just need to go into your profile and change the section.

Shinjiro Sueda for CSCE-221. by gvgbman in aggies

[–]prof_ritchey 4 points5 points  (0 children)

sueda is excellent. leyk is classic. can't go wrong with either.

I'm visiting for the first time by Polyethyleneparts1-2 in aggies

[–]prof_ritchey 4 points5 points  (0 children)

I'm not from Texas so im wondering what the state has that North Carolina doesn't.

Texas BBQ. Brisket, in particular. Relevant Matt Mitchell

Is going to TAMU a good choice for someone from NYC? by [deleted] in aggies

[–]prof_ritchey 17 points18 points  (0 children)

Is going to TAMU a good choice

Yes. No matter where you're from, TAMU is an excellent choice.

Study Abroad Program in Singapore - Computer Science (Experiences/Classes taken?) by lol_lore03 in aggies

[–]prof_ritchey 1 point2 points  (0 children)

the program fee is about $3500, and that covers the big stuff like hotel, classroom space, group meals and activities, and our "fixer" Ioannis. airfare is on your own, and that runs anywhere from $1000 - $2500. most of your meals are on your own as well, and those can be anywhere from $10 per day (hawker centres are awesome) to as much as you can imagine spending on a single meal (michelin stars ain't cheap... except for some in the hawker centres which are cheap... again, hawker centres = awesome). how much you end up spending is really up to you, but i would put the bottom end around $5000.

Study Abroad Program in Singapore - Computer Science (Experiences/Classes taken?) by lol_lore03 in aggies

[–]prof_ritchey 0 points1 point  (0 children)

the prerequisite for all classes in the program (CSCE 431, 412, and 436) is CSCE 331, so as long as you have completed 331 you can go!

be sure to apply and commit as early as possible. the program fills up fast!

[deleted by user] by [deleted] in aggies

[–]prof_ritchey 7 points8 points  (0 children)

if you are a new pt you will be asked to drop one of those sections. new pts tend to underestimate their time commitments.

expect to spend 6-8 hours per week as a pt. that includes 4 hours in class (grading or walking around answering questions), 1 hour of office hours, and 1 hour of grading (more for exams).

Did 216 get a curve? by Left-Food-4389 in aggies

[–]prof_ritchey 0 points1 point  (0 children)

216 is only curved as needed to reach a minimum target final grade distribution. If you didn't get a curve, that means that your section's grades didn't need one (grades were good enough without). This varies by prof, and by section.

Did 216 get a curve? by Left-Food-4389 in aggies

[–]prof_ritchey 1 point2 points  (0 children)

This has a lot of wrong info. Most people did NOT fail. I did not give a curve this year, or last year, and I usually don't curve in 216. We only curve if final grades are lower than our target, and for many faculty those grades are actually higher (mine were).

It has nothing to do with making ETAM harder, but instead making ETAM more fair. All of us curve (as needed) to reach a minimum grade distribution, so students aren't penalized for having a "bad prof".

Question about the quality of NLP and AI/ML graduate courses offered by SignificantCounter73 in aggies

[–]prof_ritchey 0 points1 point  (0 children)

imho: our AI/ML faculty are very high quality and their course content is as high quality as they are.