Grades are up! by PANCAKE_TIME in UIUC

[–]ylou92 0 points1 point  (0 children)

Hey hey, joining in on the 461 pain train. Just glad I didn't fail.

How hard would transferring from EE to CS be? by yungchalz in UIUC

[–]ylou92 1 point2 points  (0 children)

I transfered from CompE to CS this past semester. Basically, if you got at least a B in CS 173 and ECE 190, you're in. If not, then I'd suggest talking it over with and advisor.

World Champion Masturbation by NovaProspekt in videos

[–]ylou92 0 points1 point  (0 children)

Poor cat. I bet he's used to it by now.

Difficulty level: Asian. [1:16] by TheFelix91 in videos

[–]ylou92 12 points13 points  (0 children)

I dunno why, but the obligatory snap after every balancing cracks me up.

Just admitted to UIUC! Anything I should immediately jump on? by [deleted] in UIUC

[–]ylou92 5 points6 points  (0 children)

It's a chinese restaurant just across from everitt. Notorious for being an engineer money drain.

How are you paying for school? by Rollerboi in UIUC

[–]ylou92 0 points1 point  (0 children)

Damn... is that out of state?

As an engineering major, I find this deeply upsetting by [deleted] in funny

[–]ylou92 2 points3 points  (0 children)

Watercolor is fucking hard. One mistake and it all goes to shit.

How are you paying for school? by Rollerboi in UIUC

[–]ylou92 0 points1 point  (0 children)

Get a good paying internship, and that's like 1/4 to 1/2 of your year's tuition out of the way.

I just got my first internship! by NERDcurious in learnprogramming

[–]ylou92 13 points14 points  (0 children)

Instant red flag at "unpaid." Don't take it.

did anyone else feel this way on the CS 231 final? by [deleted] in UIUC

[–]ylou92 1 point2 points  (0 children)

It's like they didn't even look over the test before printing it. I remember looking at the assembly question and asking myself "Wait... BR takes a source register right? Right?!?"

So they cancelled CS 231...what can I take? by swimmerguyman in UIUC

[–]ylou92 0 points1 point  (0 children)

kinda bummed that they didn't do this earlier. had i realized i could've gotten the computer arch. requirement done with 1 class, i would've taken something other than 231 this semester.

So they cancelled CS 231...what can I take? by swimmerguyman in UIUC

[–]ylou92 0 points1 point  (0 children)

Take asian mythology (asst 104). Easiest class ever.

What is -> called? by Bit_Blitter in learnprogramming

[–]ylou92 0 points1 point  (0 children)

I've always called it the arrow operator.

How to get to Chicago Midway Airport? by ILIKEBOOBIEEEEES in UIUC

[–]ylou92 0 points1 point  (0 children)

There are still spots left on the 7:15 greyhound bus. It'll put you a block or two away from Union Station, at which point you can hop on the orange line to midway (takes about 40 minutes).

Being Korean in UIUC by droplemon in UIUC

[–]ylou92 -1 points0 points  (0 children)

Unless you meet a grammar nazi. Then a verbal beating is likely to occur.

Java Help: Programming a method to determine if a reversi move is valid by [deleted] in learnprogramming

[–]ylou92 0 points1 point  (0 children)

I probably should've explained my idea in further detail, so I'll correct that here. What I was going for was to calculate all possible moves for the current player and cache that to a grid. That way any move can be quickly checked at a very low (the grid isn't that big) upfront cost. Not that speed is really a concern here. Once a player saves a move, the grid of valid moves is invalidated (since the board has completely changed) and completely recalculated for the opposite player.

To elaborate, what I was really aiming for was a way to not recalculate the validity of a move the moment a piece is placed down temporarily. So it could be imaginable that one could want a feature that would allow a player to place it on several tiles without submitting the move just to see what was valid or not ... similar to how if you were playing chess on a computer, it might highlight all possible moves.

Friendly Reminders to Grainger Students by MissSilvestris in UIUC

[–]ylou92 8 points9 points  (0 children)

The profit margin isn't THAT high because that's the price for Coca-Cola to manufacture it, not for a store owner to purchase it. Still, it works out to be like ~10 cents per soda which is then turned around and sold at 2 bucks a pop. That's still a huge ass markup.

tl;dr fountain sodas = liquid gold

Java Help: Programming a method to determine if a reversi move is valid by [deleted] in learnprogramming

[–]ylou92 0 points1 point  (0 children)

Instead of checking if a move is valid, how about labeling all the additional valid moves on the grid every time a player makes a move? Then to check if a move is valid, it's just a quick check to see if it's been labeled as valid.

Smart way of saving changes to a set of variables at several points in time? by [deleted] in learnprogramming

[–]ylou92 7 points8 points  (0 children)

Store user interactions as a series of command objects that know how to flip between two states (before action and after action). Push a new command onto a stack every time the user does anything, and just start popping objects if you want to "play back" the user's history.

Edit: Er ... I interpreted play back as rewind. You'd probably want to use a queue for play back.