//your head asplode
an extremely helpful note that my third year college self left in my c++ coding assignment, thanks ever so
seen from Switzerland
seen from China
seen from China
seen from Russia
seen from United Kingdom

seen from United States
seen from Hong Kong SAR China
seen from Türkiye
seen from United States
seen from China

seen from United States
seen from China
seen from China
seen from United States
seen from United States
seen from Canada

seen from T1
seen from China

seen from Singapore
seen from United States
//your head asplode
an extremely helpful note that my third year college self left in my c++ coding assignment, thanks ever so
Finals week is thinking back on your day and realizing the only thing you've eaten that day was a granola bar at 4 am
We were running Monte Carlo simulations about the election in class and everyone's sims showed Hillary winning. Computer science why have you failed us Or maybe us humans are the ones who have failed
If I'm spending a lot of time on Tumblr you know it's cause I'm trying to avoid doing homework
never in my life did i think i would ever have to google “pointer to an array of pointers”
Do any of my followers know anything about Django?
The programming framework for python, not the movie.
I've never worked in it before and I have to have a working prototype of a web app with it in less than 12 hours(that's if I don't sleep tonight).
The app I'm making is to keep track of people's scores as the participate in a board gaming competition.
I have 2 classes in the "models" file called "Player" and "Game"
Players have scores and names
Games have names, winners, length, number of players, etc
What I'm stuck on is that I wanted "game.winners" to be a list of player objects so I could say winners[0].score += 10 if they won the game then winners[1].score += 5 for second place, etc and it would add that score increase to the actual player object.
Only problem is I can't seem to make a class variable in Django that supports a list of objects (or a list at all). game.winners definitely has to be multiple values but I don't want them only to exist as attachments to the game object. Players should be able to get points from multiple games.
Can anyone help me out a bit?
i did it
i did the comp sci
not perfectly but it's done and i got it done in time and my code compiled
/cries
I DID THE THING GUYS
John is always so busy, wah I miss him :(