Giter Club home page Giter Club logo

course's People

Contributors

alextsaptsinos avatar asantucci avatar jhwetstone avatar ladouceu avatar remmelt12 avatar sl4ven avatar tom-morvan avatar youhom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

course's Issues

VM Setup

From https://piazza.com/class/jqn6ifdfwqv7kw?cid=15

Here are some tips for setting up your VM that should make your life easier.

From the "Oracle VM VirtualBox Manager" menu, select the cme212-ubuntu-vm in the RHS panel, and then open the "Settings" menu.

Under "General" >> "Advanced" >> "Shared clipboard" select Bidirectional. This will allow you to copy/paste content between the VM and your local computer.
Under "System" >> "Motherboard" >> "Base Memory" you might want to consider increasing the memory. This could improve some of the latency issues.
Under "Display" >> "Screen" >> "Video Memory", again consider increasing the memory to improve latency.
If you want to share a folder between your local computer and the VM:
"Shared Folder" >> + Folder icon
Folder path: Local path to folder, e.g. /Users/jesswetstone/
Folder name: Name of local folder, e.g. cme212-jhwetstone
Select Auto-mount
Mount point: Name of folder on VM, e.g. cme212-jhwetstone
Select Make Permanent
Save settings and log on to the VM. In a terminal window, type:
sudo usermod -aG vboxsf $USER
Log off and log back on. Under "Files" on the VM, you should have access to the shared folder /media/sf_[Mount point]
If you would like to use the Sublime text editor on the VM: http://tipsonubuntu.com/2017/05/30/install-sublime-text-3-ubuntu-16-04-official-way/

Note: If you are able to run code locally, you should probably be OK to develop locally for most of the classwork this quarter. We recommend having a working VM configured for testing purposes and if for some reason later on in the course your code won't compile locally.

EX Due Fridays?

Gives students time to digest feedback a bit more before starting on HW? (Some common pedagogical themes occur in both).
Still release them at the same time.
EX due Friday, HW due second Friday. Repeat.

Add further justifications for Google Test

See here: https://piazza.com/class/k561l4fat0w161?cid=277
Collecting and reporting assertion failures. You can check a condition with a==b, but what do you do with the result? You'll need at least some code to print details of the failure (otherwise, the test is not that useful) and some state variable to mark the test as failed (so that you can return a nonzero code from the test program). Well, guess what - you don't have to reinvent the wheel for every project. googletest's EXPECT_EQ (and other similar macros) will check the condition, record a failure in the global state of the test (which is used to determine whether the test passed or failed) and report all recorded failures at the end of the test, together with source line numbers and values for all arguments (so not just true or false, but also values of a and b, so that by reading the test output you can immediately see what went wrong). There are also more advanced macros like EXPECT_DOUBLE_EQ that check floating point values with a tolerance, or EXPECT_DEATH, which allow you to test that a particular statement crashes with an error - something that's not easy to code yourself! Moreover, these macros can be called anywhere (e.g. in nested functions), which is great if you testing code is more complex and does not fit into a single function.

Managing the collection of test cases. You can define a large number of tests, and googletest will, by default, run them all and print a nicely formatted summary of what passed and what failed. Then you can selectively rerun only a subset of tests (by filtering on the test name), for example only the ones that failed. Some IDEs integrate nicely with googletest.

Bonus for Instructor Approved Responses on Piazza

Some small bonus for instructor approved answers at the EOQ.

  • If you have more than some threshold of questions answered, then you get some bonus.
  • Don't say "top 5 people get the bonus".
  • Sliding scale: 1% bonus from answering 10 questions endorsed by instructor, but 3 questions answered is some portion of that 1%.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.