Giter Club home page Giter Club logo

d2w_mini_projects's Introduction

Mini Projects

Mini Project templates for Data Driven World. Click "Use This Template" button on the top right and create a private repository. You are not allowed to create a public repository and post your solution online.

Mini Project 1

This mini project is to create a simple html pages to generate random number and sort them.

Handout

Mini Project 2

This mini project is to create a simple web application for math quiz where users can create simple math challenges and take up challenge from others.

Handout

(Optional ) Mini Project 3

This mini project is to create a simple AI Tic Tac Toe game where a user can play Tic Tac Toe against a computer. There is no grading on this part and you just need to explore on your own.

Handout

Groupings

Students should work as a pair and practice pair programming in doing the mini project.

Mini Projects

Mini Project templates for Data Driven World. Click "Use This Template" button on the top right and create a private repository. You are not allowed to create a public repository and post your solution online.

Mini Project 1

This mini project is to create a simple html pages to generate random number and sort them.

Handout

Mini Project 2

This mini project is to create a simple web application for math quiz where users can create simple math challenges and take up challenge from others.

Handout

(Optional ) Mini Project 3

This mini project is to create a simple AI Tic Tac Toe game where a user can play Tic Tac Toe against a computer. There is no grading on this part and you just need to explore on your own.

Handout

Groupings

Students should work as a pair and practice pair programming in doing the mini project.

d2w_mini_projects's People

Contributors

aleextw avatar amorpheum avatar dependabot[bot] avatar isaactay avatar kurniawano avatar natalieagus avatar zackteo avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

d2w_mini_projects's Issues

mp_calc/evaluate expression jupyter notebook improvements

I realised my tests didn't pass but I was unfamiliar with jupyter notebook ><
In[*] <--- means the code is still running - I thought since i clicked through, that means the code passed already

That being said I think it can be very misleading

expr2 = EvaluateExpression("(1+2 *4-  3)* (7/5 * 6)")
assert expr2.evaluate() == 36 #3rd test

Based on the instructions is possible to iterate through self.expr directly which will likely cause issues. It will look like when you finally pass the first 2 cases, then 3rd case which causes the [*] may appear like you also passed

expression = self.insert_space()
tokens = expression.split()

I propose that we could mention the need to do this (below) somewhere in the instructions! And perhaps just a note to students unfamiliar to jupyter like me that [*] doesn't mean pass ><

Remove cd Download

before cloning, remove the cd Download command as it does not apply in vocareum. Remove the other references to Downloads folder.

Error in middleware.py

I’ve encountered this bug after copying in the new code for init, forms, middleware, models and routes .py files.

Specifically when I logout, the URL becomes “https://vocproxy-1-48.us-west-2.vocareum.com/proxy/5000/proxy/5000/login?next=%2Fproxy%2F5000%2Findex”, containing 2 “/proxy/5000”s rather than 1. As a result, when I log in again it gives the error message:

Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

When I remove the second “/proxy/5000”, it works and I am logged in.

How can I fix this issue? Thanks.

Regards
Anton Karve

suggested enhancements

mp_sort

Assignment For Exercise 2.

Search the internet to find out how to create a Text Input field and enter the code in the line indicated. Replace that line with the correct tag and code for Text Input. Name the text input numbers. You may want to also specify some default values to appear in the text input.

Repo to clone from

Hi prof,

Noticed that for all the mini projects, the first instruction is always to clone the repo using

$ git clone https://github.com/kurniawano/d2w_mini_projects.git

However, it seems that the repo on your account is not as updated as the one at https://github.com/Data-Driven-World/d2w_mini_projects.git.

Should the repo to clone be the one in Data-Driven-World instead?

some commands for mp_sort need to be clarified for students

as follows:


mini-project 1, windows users and mac users (edited), attention:
if pipenv install doesn't work, try python -m pipenv install,
similarly for pipenv shell, try python -m pipenv shell

at one point you are told to type this command, note that this is only if/when you are trying out the process in Vocareum, not on Windows/Mac
export PATH='/voc/work/.local/bin':$PATH

Troubleshooting section?

Should we include a section that includes stuff like

  1. ModuleNotFoundError: No module named 'flask_bootstrap'? Or just can't run flask/use transcrypt?
  • Are you in your virtualenv ? source virtenv/bin/activate
  1. The app doesn't change even though I make changes to the code?!?
  • If you made changes to files in app/static
    Did you run python -m transcrypt -b target.py <-- target being file you are transpiling
  • What you want is hot-reloading
    You can run export FLASK_ENV=development before flask run
    or flask run --reload --debugger

Typo in mp_calc readme

At Exercise 1:

The first line {% extends "base.html" %} inherits the base.html for some of the common elements such as the navigation bar, importing certain scripts, and CSS files. The javascript which we will transalte translate from the file serverlibrary.py is imported in the last few lines of base.html.

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.