3
votes
Final Project: Can I add the code of my final project to my GitHub account?
That's not a problem at all. It's your project written by you. One of the main points of final projects is that you'll be able to use them to demonstrate your skills, which means you'll likely be ...
3
votes
Final project question proposal
I was wondering for the final project, are we held to the same
expectations as those taking the CS50 class?
yes. the thing is though that we don't submit the code. we only submit a 2-minute video ...
Community wiki
3
votes
Accepted
I get 50% at Final Project. How to fix it
If you look at your submission results (http://submit.cs50.io) you can click the check50 link to see why you got 1/2. And then you can fix that. Either you didn't include the link to your video ...
2
votes
Is it feasible to make a simple Facebook app in 3 weeks?
Ordinarily, I'd flag this as an opinion based question, but underneath is a lesson on project scope, one that is very timely as we approach the class deadline at the end of the year. I've never ...
2
votes
Accepted
Undefined reference to function
That is a linker error, not a compiler error. Your compiler won't complain, because it doesn't know of dictionary.c's existence. Including dictionary.c in your headers doesn't make any sense at all, ...
2
votes
Accepted
Can a website access a mysql database of another website?
The more specific question would be whether the code on one web server can access a database on another server. Assuming that the proper permissions can be set up, then yes, you should be able to ...
2
votes
Accepted
Hosting a site made for CS50 - final project
Broadly speaking, there are only two things you need to purchase in order to do this:
Register a domain name from any reputable registrar (should be around $10 per year)
Rent some kind of hosting. Be ...
2
votes
Accepted
Applied final project
The CS50 IDE is based on Ubuntu Linux, and if you are planning to build a web application similar to Mashup or CS50 Finance, the relevant technologies are often abbreviated as LAMP (Linux, Apache, ...
2
votes
Accepted
final project submission CS50 2017
Sounds like your /project folder is empty? Be sure that you have at least one file in there. (running submit50 is what triggers the grading). If your project files aren't in the IDE, perhaps you ...
2
votes
Accepted
invalid write to string
as you probably know, the type string (defined in the CS50 library) is the same as the built-in standard type char * (aka char pointer). recall that pointers must have memory allocated for them (...
2
votes
Accepted
How do I cluster markers on a googlemap?
Thanks to @DinoCoderSaurus for your help - basically the problem was that I was trying to instantiate a MarkerClusterer for each individual marker that was added to the array. The solution was to ...
2
votes
Final project without video / screencast
It's necessary to qualify a verified certificate. Given that your code does not need to be submitted, the video is the proof that you actually completed your project and is your opportunity to ...
2
votes
Accepted
Access just the text from a db.execute return
Much like you would have seen in the CS50 Finance, db.execute returns a list of dict objects. So just as you accessed the cash value for your index page using rows[0]['cash'] you need to access your ...
2
votes
Accepted
Typeahead does not work
Eventually, I used the html and javascript files from cs50 mashup, and changed their content bit by bit (while mostly keeping the html head untouched). It worked, so I think the initial problem was ...
2
votes
Accepted
Would remaking a past project be a valid Final Project submission?
If you're the original author, no problem. You're rewriting it to other languages? Even less problem!
Academic honesty policy is about you doing the work, not when you did it. Go for it.
...
2
votes
Accepted
What to do after the codespace has been deleted automatically?
Your code should still be in the code50 repo.If you go to GitHub.com/code50/ you can create a new codespace and it will pull in the files.
The codespace is simply the container, not like the old IDE ...
1
vote
Accepted
Final project SQL Error: execute() takes 2 positional arguments but 3 were given
Turns out I had to us the semicolon. The below works.
row_1 = db.execute("SELECT bum FROM conversion WHERE unit = :id", id =
request.form.get("unit_1"))
row_2 = db.execute("SELECT bum FROM ...
1
vote
Problem with flask
Search your flask script for --with-threads
According to flask quickstart when running flask run your app will execute the FLASK_APP script so it appears you'll need to check that—whatever your app's ...
1
vote
db.execute() executing only single time
There is nothing in the posted code that would prevent the db.execute from executing more than one time. One possible explanation is the primary key or a unique index on the tables is preventing ...
1
vote
Accepted
Final Project Search Suggestions
The main issue I can see if you are making an Ajax request via JQuery's getJSON() method. This method makes a GET Request.
Handling this in the POST section of your index function will cause the ...
1
vote
hello fellow cs50 classmates and staff
Starting now and trying to meet the deadline will be very difficult.
I am currently on week 7 (pset5) and it's going to be tight for me.
The deadline to submit all your problem sets(psets) and final ...
1
vote
Accepted
Final Project help with centering html table
You are using Bootstrap to stylize ur table and as I see u r using <table class="table table-striped"> to create stripped table but r u really getting a stripped table? Change ur code to ...
1
vote
Accepted
How to make a "div" clickable using Jquery
[UPDATE 18/07/2017]
Instead use:
$("main").on("click", ".delete", function() {
(this).closest(".card").remove();
});
The issue is associated with the creation of dynamic elements. The jQuery ...
1
vote
nanosleep function Implicit deceleration
I just had to include the header and function prototype to clear the warnings.
#include <time.h>
int nanosleep(const struct timespec *req, struct timespec *rem);
This came directly from the ...
1
vote
Accepted
Stuck on final project
Assume grid size 3 and hyp_board
0 | 0 | -1
0 | 0 | 0
1 | 0 | 1
The first "check each row" loop will return 1 as the winner. Won't it?
"On paper" from i = 2:
first_node = hyp_board[2]...
1
vote
Accepted
I am getting an unexpected sizeof() error
You're getting 12 because of something called alignment, which adds internal padding to structures.
You can read more about it here:
http://c-faq.com/struct/align.html
https://en.wikipedia.org/wiki/...
1
vote
Accepted
I am getting a weird implicit declaration in C
usleep() is obsolete, but I think the solution is to add this macro atop your code to make it work without warnings:
#define _XOPEN_SOURCE 500
Like this:
#define _XOPEN_SOURCE 500
#include <...
1
vote
Accepted
Error in my final project
It's exactly what it says, a straight up missing closing curly brace. Try counting them for yourself. Starting with the beginning of the bitnumber() function at line 96, start counting +1 for each { ...
1
vote
Accepted
Video for final project?
The requirements for submission of the final project are very flexible. I interpret the instructions to mean that any short video that can be uploaded to YouTube "(or, if blocked in your country, a ...
1
vote
Jpegs in phpmyadmin?
Haven't tried this myself but I figure it's worth a shot:
https://dev.mysql.com/doc/refman/5.5/en/blob.html
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
final-project × 141python × 18
html × 18
javascript × 13
flask × 11
final × 9
sql × 7
sqlite × 7
google-maps-api × 7
cs50finalproject × 7
cs50x × 5
php × 5
pset7 × 4
c × 4
pset8 × 4
error × 4
mysql × 4
finance × 3
css × 3
jquery × 3
bootstrap × 3
mashup × 2
cs50-web-programming-with-python × 2
cs50submit × 2
structs × 2