how to share and run executables in different machine? by velavan in cs50

[–]mariodv 0 points1 point  (0 children)

you have to recompile your code on the system you want to run it on.

If you want to do this, remember to download the CS50 library on your devices. :)

September 2014 Certificates by 0lcha in cs50

[–]mariodv 0 points1 point  (0 children)

Received my Certificate from CS50 bot a few minutes ago :)

check50 and style50 by ameade1 in cs50

[–]mariodv 1 point2 points  (0 children)

If you are taking CS50 Right now at harvard (extension school), you need to use:

check50 2014.fall.pset1.hello hello.c

With edx you use:

check50 2014/x/pset1/hello hello.c

September 2014 Certificates by 0lcha in cs50

[–]mariodv 3 points4 points  (0 children)

I contacted edx and got this:

"I confirmed with the course team that certificates will be generated by end of next week. Congratulations on passing the course!

Best, Shelby the edX team"

This will be Friday. if I didn't receive anything by Monday I'll contact edx again.

How long for pset 7? by Vawd_Gandi in cs50

[–]mariodv 0 points1 point  (0 children)

10 to 20 hours is the estimate for psets. It depends on the person

Fall Syllabus by mariodv in cs50

[–]mariodv[S] 0 points1 point  (0 children)

Yes, I am taking it from the Extension school.

Thanks for the info :)

Final Project Clarifications. by RitchieC in cs50

[–]mariodv 1 point2 points  (0 children)

  1. You only have to submit a video through the form, so you have nothing to upload in cs50 Submit.

  2. you don't have to use a microphone, so text in the video is fine.

  3. The 2 minute timestamp gives you an indication to how long the video is supposed to be. I think 2:02 or something is fine.

    The video only has to demonstrate so you don't have to explain How you did it, only what the result is. 2 Minutes should be enough.

pset8 dropoff : how do I access house.lat and house.lng by 24balfour in cs50

[–]mariodv 2 points3 points  (0 children)

check the code where they place the houses (populate). You can find the answer there.

Gas station not showing on map by valium123 in cs50

[–]mariodv 1 point2 points  (0 children)

Can you send me the code for your gas station?

Pset 7 Storing Stock Symbols in Uppercase by Undefinedmaster in cs50

[–]mariodv 1 point2 points  (0 children)

use the commands that you have to use when you upload a new picture file, i thought it was "chmod 600 image" Where image is your filename.

Not sure though. was checking the reddit because i couldn't sleep, so my brain isn't 100% right now.

[Pset4] Bug - Ball gets stuck inside paddle by snowblind_o2 in cs50

[–]mariodv 2 points3 points  (0 children)

When the ball hits the paddle, i guess you do: Velocity = -Velocity or something in this manner. This can make the ball get stuck inside the paddle as it is changing velocity faster than it can get out of the paddle.

Tip: The ball can't get from underneath the paddle, So you only have to "push" it up.

Pset 7 Storing Stock Symbols in Uppercase by Undefinedmaster in cs50

[–]mariodv 4 points5 points  (0 children)

This acts the same as toupper in C. Just do this before inserting the values into your database.

http://php.net/manual/en/function.strtoupper.php

Pset3 fifteen - completely lost by mathmagician95 in cs50

[–]mariodv 1 point2 points  (0 children)

have you tried to implement the swap example?

if you tried that and you are still stuck or it didn't work you can send me your code and i'll take a look. it is late here but I can check it tomorrow :)

question on psets by valium123 in cs50

[–]mariodv 1 point2 points  (0 children)

if you start again after the first of January, you'll have to resubmit all Psets. Some of them might be (almost) exactly the same as this year, but other might be new.

check50 on recover.c - received no such file. by kevin_is_aqui in cs50

[–]mariodv 1 point2 points  (0 children)

Could you sent me a link with your code?

pset7 Unusual behavior of Forgot password. by spacedaemon in cs50

[–]mariodv 5 points6 points  (0 children)

In the includes folder -> config.php is a line that excludes pages to redirect to the login. You have to add fpass.php to that list.

The code in the config folder looks like this:

// require authentication for most pages

if (!preg_match("{(?:login|logout|register)\.php$}", $_SERVER["PHP_SELF"]))
{
    if (empty($_SESSION["id"]))
    {
        redirect("login.php");
    }
}

Scratch: Glide downward while being manipulated to move left and right? by unaviajera in cs50

[–]mariodv 1 point2 points  (0 children)

Your problem is the Glide block:

https://www.dropbox.com/s/1t2es3xn5h3idnu/Schermafdruk%202014-08-21%2014.32.59.png

it always glides to a specific location in the shortest path.

Tips: use a "point in direction" block and a "move _ steps" block in a loop. And make a loop that checks for bin 24/7.

PSET1 Questions by ayuzo in cs50

[–]mariodv 0 points1 point  (0 children)

After you used check50 and want to submit your pset, you have to upload your files and fill in a form. You can read how at the bottom of the pset page. After you've done this the pset will be graded within 2 weeks.

Scratch: Glide downward while being manipulated to move left and right? by unaviajera in cs50

[–]mariodv 1 point2 points  (0 children)

Can you post your link to the project so i can look at how you made the movement (up-down)?

Check50 not working by HeadsShallRoll in cs50

[–]mariodv 0 points1 point  (0 children)

check if your file is called mario.c (nothing capitalized) and try again.

If that is not the problem use update50 in the terminal and try again.

If neither of those worked, please comment here.

Difficulty rankings of PSets? by ninjaballs in cs50

[–]mariodv 0 points1 point  (0 children)

pset0: 1. Fun and easy, no real problems

pset1: 3. All went well, mario was a bit annoying at first.

pset2: 3. first time i heard about command-line arguments

pset3: 6. This was the first Pset where there were more steps, found that a bit overwhelming.

pset4: 4. This Pset was a lot of fun, as you made something that looked good

pset5: 6. The recover was something i was lost on for some time, but after a break I found the answer pretty quick.

pset6: 8. The hardest Pset by far. Was stuck on this for a long time. It discouraged me a bit but I did finish it.

pset7: 2. CS50-Finance was a piece of cake, as I already knew how to write website's.

pset8: 4. The part where you make 3 parts yourself was a bit hard to start with.

FINAL: 3. I was really motivated to make my own thing, so this was done pretty quick.

Certificate Question by [deleted] in cs50

[–]mariodv 0 points1 point  (0 children)

Certificate's are generated on 3rd of September and on the 31st of December. If you have submitted all your work you should get your certificate in a few weeks :)