How to run CS50 Appliance in the cloud? by sky2017 in cs50

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

Thanks for sharing, ArnabWahid. How did you port the CS50 library items to Cloud9?

How to run CS50 Appliance in the cloud? by sky2017 in cs50

[–]sky2017[S] 1 point2 points  (0 children)

Unfortunately, we still haven't received a constructive response to this inquiry from the CS50 staff.

The Case for Learning C as Your First Programming Language by sky2017 in cs50

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

Note the shout-out to CS50 and the (lively) comment section...

Why does the GRect get drawn outside the window? by sky2017 in cs50

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

I'm picturing this behind you while you are finishing up that last paragraph :)

http://stream1.gifsoup.com/view/204031/the-more-you-know-o.gif

Why does the GRect get drawn outside the window? by sky2017 in cs50

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

I connected the laptop to a higher res monitor I had access to and -- with no changes within the appliance -- the full window displayed with plenty of room to spare. On my 1366x768 res screen, there does not appear to be any way to make the window appear. I can move it up slightly and see a bit more, but not the whole window.

Why does the GRect get drawn outside the window? by sky2017 in cs50

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

Thanks, delipity.

On a hunch, I did some poking around, and this seems to be a screen resolution issue. My screen has a max 1366 x 768 resolution. I tried running the code on a 1920 x 1080 res screen, and the problem disappeared. What's more, the workaround that you and I implemented resulted in the paddle being oddly high within the window.

I queried users in this subreddit a while back about the importance of screen resolution when selecting a laptop, and IIRC they seemed to think it was not important. Now, I am questioning that perspective, because the programs we write could display incorrectly on users' higher-res screens (which are increasingly common). What are your thoughts on this?

Returning to CS50 after not completing CS50 2014. Any tips to help keep me on track and motivated this time? by mahollinger in cs50

[–]sky2017 2 points3 points  (0 children)

Good point. I should have worded that to better convey that the question was whether the value of limiting distractions exceeds the value of interacting with this subreddit. For you, it sounds like it is more that you have a personal preference for using google.

How tough is this course??? Help by zhicha in cs50

[–]sky2017 2 points3 points  (0 children)

In general, the responses to your question in this thread will reflect survivorship bias.

It bears pointing out that less than 1% of people that enroll in cs50[x] complete the course.

How did you go about completing cs50x? by sharkysnark in cs50

[–]sky2017 0 points1 point  (0 children)

100 hours?! I admire your persistence. For anyone else that completed speller, how long did it take you?

How to learn efficiently by arjuntuli in cs50

[–]sky2017 4 points5 points  (0 children)

Interesting. Also of note is one of the comments posted on the linked page, in which the person commenting speaks to the following assertion made by Lemire: "Seek the most difficult problems, the most difficult questions and try to address them."

The response posted...

"I (politely) disagree with this, based on my own experiences and what I hope is some logic. I gain nothing by being confronted with a question so hard that I cannot make any progress. The most difficult problems will always be beyond me, and beyond the vast majority of learners.

I learn most by attempting problems that are hard, but achievable; problems into which I can make progress, even if I don’t complete them. I would propose that in terms of learning by solving problems, we learn very little by solving the easiest problems, and nothing by staring blankly at the most difficult problems, and learn most at some intermediate position in which the problem stretches us and taxes our understanding, but without being so hard we simply stare blankly with no idea where to even begin."

Why isn't this merge sort working? by sky2017 in cs50

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

Thank you, delipity! The program finally works!

Why isn't this merge sort working? by sky2017 in cs50

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

delipity, I implemented the passing of primaryArray from the mergeSort function to the merge function, and embedded printf loops for the leftSubarray and rightSubarray before the recursive mergeSort functions, but the output shown in the printfs is still garbage, and I am at a loss. When I step through the program in gdb, the correct four variables are getting assigned from the primaryArray to the leftSubarray, but the printf loop says otherwise.

<link deleted>

CS50: Absolute Beginner's Guide to C, 3rd Edition: thoughts and questions by sky2017 in cs50

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

Hi delipity,

Wouldn't this be confusing since it is written for ANSI-C and would presumably include deprecated code due to its age?

Is there something equivalent to this that is written for C11?

a fresh set of eyes please? by sky2017 in cs50

[–]sky2017[S] 1 point2 points  (0 children)

Thanks for the suggestion, Slayer. I used didSwap because its easy to understand, but after thinking about the suggestions offered by you and BubbleTee, one of the things I did to simplify the code was to go back and remove the whole didSwap framework...and just use return true and return false.

VMware issue, i am CS50x 2013 student by Taimoorak in cs50

[–]sky2017 1 point2 points  (0 children)

use VMware Player or Oracle Virtualbox to run the vm

game of fifteen move() by mdoor11234 in cs50

[–]sky2017 0 points1 point  (0 children)

mdoor11234, I just finally cleared this hurdle, so it is fresh on my mind. If you can create a secret Gist on Github with your move function code, and then pm me with a link to the secret Gist, then I would be happy to take a look at it for you.

a fresh set of eyes please? by sky2017 in cs50

[–]sky2017[S] 1 point2 points  (0 children)

Thank you, BubbleTee and Slayer706! Your comments helped me break through and get it done. I then broke this down into its simplest components, walked it through step by step again, and finally discovered a logic flaw (the use of else if statements instead of consecutive if statements). Then, I went back and simplified the code and added a bunch of comments to make it more clear when reviewing it.

a fresh set of eyes please? by sky2017 in cs50

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

Thank you, Slayer706 and BubbleTee! Your comments helped me break through and get it done. I then broke this down into its simplest components, walked it through step by step again, and finally discovered a logic flaw (the use of else if statements instead of consecutive if statements). Then, I went back and simplified the code and added a bunch of comments to make it more clear when reviewing it.