-
Hardest final exam question in history
-
Demo Day feedback
-
Demo Day rosters finalized!
Here are the pages we will be using during the two Demo Day™ sections today: Sec 01 (noon today, room 025) Sec 02 (3:30pm today, room 036) Important: the order of these names will be randomly shuffled immediately prior to festivities beginning (at 12:01pm, and 3:31pm, respectively). If you are not present in the room…
-
Demo Day: IMPORTANT PLEASE READ
Happy Demo Day Eve, everybody! (or “Demo Eve?”…) To participate in Demo Day, you must do the following things by midnight tonight: Send me an email with subject line “CPSC/DATA 350 Demo Day turnin“. In the email, give me your actual final working URL to the final database product that you will demo. Note: sending…
-
Stephen’s solutions to Star Wars Cypher queries
-
Quizzes #7 and #8 (bonus!) posted
Quiz #7 has been posted, and is due midnight April 24th. I’ve also posted a bonus (i.e., not on the syllabus) quiz #8, which, if you’d like to take it, is due midnight April 26th. They are both open-cheat-sheets and open-notes, but closed Python, closed Mongo, closed Cypher, and closed AI. A warning on quiz…
-
Totally optional
A couple ambitious folks have asked me whether it’s still possible to sneak in something Neo4j-related for their database project. The answer is “with enough enthusiasm and self-starter-ism, yes!” And I’ll reward such efforts with generous XP. The best way to start this is (1) wait until Monday’s class, during which I’ll be giving my…
-
Quiz #6 posted!
-
Mongo practice (and XP activity)
-
Galaxy explorer code posted
-
Assignment #8 posted!
-
How I’m feeling
-
Surgery success
-
Praise God!
Aetna came through at the eleventh hour today, and said they would cover my surgery. So I’ll be under the knife tomorrow morning bright and early, and will be canceling all my campus appointments (including class and office hours) for this week. If all goes well, I’ll be back in the saddle on Monday. Stay…
-
Old stuff in your Redis instance
If you see a bunch of old stuff in your Redis instance that you don’t recognize, it’s probably from whichever student had that instance number last semester, and they didn’t empty their trash before they left that course. Basically: nuke it. You can either systematically DEL the stuff you see when you do KEYS *,…
-
Quiz #5 posted!
-
Today’s code (Redis-backed hobby manager) posted
-
Assignment #7 posted!
Assignment #7 has been posted, and is due next Tuesday at midnight. We haven’t covered Redis’s “sorted sets” data structure yet, but we will on Wednesday. In the meantime, you already know the deets on the other data structure options, and I’m confident you can already choose how to architect most of your data. Please…
-
Office hours tweak for Tues 3/31
-
Bonus points
I attempted to dutifully award all the +5XP bonus points to those who turned in assignment #4 and/or assignment #5 by the original March 12 due dates. Microsoft email actually doesn’t make that very easy, though, so it’s possible I missed some people. If I missed you, just send me an email reminder and I’m…
-
I really hope you guys can forgive me
-
Updated code examples posted
-
Virginia Tech masters: info session
-
Important: git version on cpsc
-
Code examples posted
-
House Davies: the next generation
-
Please check this immediately
Before any more time expires, if you have not successfully connected to your MariaDB database on the cpsc server (I’m talking about your database, named the same as your username, not the “galactic” database from previous homeworks) please make sure you can do so NOW. Some students evidently didn’t have their database password set correctly,…
-
Code examples from yesterday posted
-
Your MariaDB password
-
Today’s code posted
From today’s class, git bundles for the following websites: backfrombreak.git (10am section) umm.git (2pm section) To access these, download them to your machine (or put them on the cpsc server if you’d rather, using scp, PuTTy, or directly with wget) and then executing: $ git clone backfrombreak.git backfrombreak or $ git clone umm.git umm You…
-
Assignment #6 posted!
Assignment #6, the first of four stops on your Database World Tour®, has been posted, and is due next Thursday. Give yourself enough unrushed time to complete this assignment well — not only does it require creativity and panache, but it will serve as the basis for all the rest of your homework assignments moving…
-
Class on Zoom tomorrow (Monday)
-
Class tomorrow (Monday)
-
Quiz #4 posted!
-
Assignments 4 & 5 extension
-
Class canceled; office hours virtual today
Sorry guys! I just got back from Richmond. Plan B it is. Today’s class (both sections) is canceled, and I will be having Office Hours virtually (over Zoom) at the usual time (12-2pm). See the Canvas page for the Zoom link (which is the same Zoom link as always). See everybody in person on Wednesday!
-
Monday’s class
-
Accessing the galactic database
Just to be clear, for assignment #4 you do not have to have MariaDB client running on your laptop. And you certainly do not (and should not) have an instance of the MariaDB DBMS server running on your laptop! Instead, you should follow this two-step process to poke around and inspect the galactic database: Log…
-
Spot checking assignment #4
Here are some checks to confirm that you did assignment #4 correctly: You should have exactly 42 pilots in your database (this includes the five from assignment #2). Exactly nine of these pilots should be certified to fly the Millenium Falcon. Four pilots should be certified to fly a colonial Viper. Only two pilots should…
-
Intergalactic airport abbreviations
-
Quiz #3 posted!
-
Bulk import example code posted
-
Assignments 4 and 5 posted!
-
XP ca$h out
If you’d like to cash in your XP cards mid-semester, there will be one opportunity to do so: Wednesday’s class (2/25). To redeem these, your XP cash must be: Stapled together with a staple, using a stapler. Have your name clearly printed on the back of the bottom-most card in the stack. Have the sum…
-
Halloween query solutions posted
-
Tuesday’s (tomorrow’s) office hours
-
All systems go!
-
“the current date”
To get the current date in Python, the best tool is the datetime package. Here’s a demo: from datetime import date today = date.today() valentines_day = date(2026, 2, 14) if valentines_day < today: print("Valentine's Day already happened.") elif valentines_day > today: print(“Valentine’s Day is coming up!”) else: print(“Valentine’s Day is TODAY!!! (Hope you remembered!)”)
-
B&J console app posted
-
Not necessarily bullet-proof
-
Answers to in-class B&J practice queries
-
Assignment #3 posted!
-
B&J query solutions
-
Assignment #2 rubric
-
Quiz #2 posted!
-
B&J schema handout
-
Runways and reservations
I got a good question about runways and reservations today, specifically about why I’m saying that a flight can only have one runway reserved at a time. Here’s my justification. Admittedly I’m making up stuff about runways here, since I’m not in the airline industry. But my idea was as follows: only one aircraft can…
-
.mode table
If you’d like your SQLite terminal to show tables in the “prettier” format I demo’d in class yesterday, type this command before running your select * from tablename command: sqlite> .mode table If you like the way this displays, and want it to permanently be that way for you, create a file in your home…
-
Assignment #2 posted!
-
Stephen’s assignment #1 solution posted
-
Campus open tomorrow; assignment #1 due tomorrow
-
Office hours tweak next Tuesday
-
Weirdly imbalanced attendance issues
So, our first week of Zoom is now done. (Hopefully it’s our only week of Zoom, but who knows.) Here’s what I observed: Morning section (10am): Monday ‐ near perfect attendance today ‐ near perfect attendance Afternoon section (2pm): Monday ‐ about half the students showed up today ‐ about half the students (the same…
-
Campus closed all week (!!)
-
Quiz #1 posted!
Quiz #1 has been posted to Canvas, and must be taken before midnight on Friday, Jan. 30th. It is open book, open notes, closed AI, closed other humans, and timed at 30 minutes. Good luck! Reminder to those with accommodations: you must remind me before you take each and every quiz that you need your…
-
Assignment #1 hint
-
Virtual office hours Tuesday
-
B&J conceptual model
-
Virtual office hours Monday
-
*Possible* extension to assignment #1
-
Monday class reminder
-
Assignment #1 posted!
Assignment #1 has been posted, and is due next Wednesday (Jan 28). Note that this is earlier than assignment #0 is due! That’s because assignment #0 is the Python practice stuff, which isn’t as urgent, since we won’t be actually touching Python for a couple more weeks. Assignment #1, however, is due next week. Also,…
-
Lab aide / tutor hours posted
-
Get on the scoreboard!
To earn any points for anything this semester, you first have to be on the class scoreboard! Click on the “New Student” tab, and provide: Your real full name (do use any nickname you’re commonly known by — i.e., put “Lizzie Bennet” not “Elizabeth Bennet” if you go by Lizzie) A super secret screen name…
-
Welcome!