notes/.config/newsboat/reddit_rss/cs50.rss
2023-01-28 05:22:19 -08:00

1 line
No EOL
56 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="cs50" label="r/cs50"/><updated>2023-01-28T12:51:20+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/cs50.rss</id><link rel="self" href="https://www.reddit.com/r/cs50.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/cs50" type="text/html" /><subtitle>Demanding, but definitely doable. Social, but educational. A focused topic, but broadly applicable skills. CS50 is the quintessential Harvard (and Yale!) course.</subtitle><title>This is r/cs50</title><entry><author><name>/u/delipity</name><uri>https://www.reddit.com/user/delipity</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/wiki/index/&quot;&gt;https://www.reddit.com/r/cs50/wiki/index/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;We&amp;#39;re seeing a lot of unspoiled code lately. Please remember the guidelines. Thanks!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/delipity&quot;&gt; /u/delipity &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/wujw8h/reminder_to_please_read_this_wiki_page_before/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/wujw8h/reminder_to_please_read_this_wiki_page_before/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_wujw8h</id><link href="https://www.reddit.com/r/cs50/comments/wujw8h/reminder_to_please_read_this_wiki_page_before/" /><updated>2022-08-22T04:30:32+00:00</updated><published>2022-08-22T04:30:32+00:00</published><title>Reminder to please read this Wiki page before posting!</title></entry><entry><author><name>/u/davidjmalan</name><uri>https://www.reddit.com/user/davidjmalan</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10kna61/harvard_prof_gets_thank_yous_from_prisoners/&quot;&gt; &lt;img src=&quot;https://external-preview.redd.it/L8ln7GVzzvfRJXnLfSelFut9soSLD9424jbBpIlbogQ.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=cfbaff69422fa83b6aae7ef6c6a41492e1e88087&quot; alt=&quot;Harvard Prof Gets Thank You's From Prisoners Taking Free Class&quot; title=&quot;Harvard Prof Gets Thank You's From Prisoners Taking Free Class&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/davidjmalan&quot;&gt; /u/davidjmalan &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.businessinsider.com/harvard-computer-science-professor-prisoners-use-phones-cs50-free-class-2023-1&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10kna61/harvard_prof_gets_thank_yous_from_prisoners/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10kna61</id><media:thumbnail url="https://external-preview.redd.it/L8ln7GVzzvfRJXnLfSelFut9soSLD9424jbBpIlbogQ.jpg?width=640&amp;crop=smart&amp;auto=webp&amp;s=cfbaff69422fa83b6aae7ef6c6a41492e1e88087" /><link href="https://www.reddit.com/r/cs50/comments/10kna61/harvard_prof_gets_thank_yous_from_prisoners/" /><updated>2023-01-25T02:10:51+00:00</updated><published>2023-01-25T02:10:51+00:00</published><title>Harvard Prof Gets Thank You's From Prisoners Taking Free Class</title></entry><entry><author><name>/u/Autism_Evans</name><uri>https://www.reddit.com/user/Autism_Evans</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n3a94/today_i_completed_cs50p/&quot;&gt; &lt;img src=&quot;https://a.thumbs.redditmedia.com/EFNs1gYLx1e6q8CMCapszfojNq_6vf2BalCOMt7BLU4.jpg&quot; alt=&quot;Today I completed CS50P!&quot; title=&quot;Today I completed CS50P!&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/umlyu9kyzoea1.jpg?width=2112&amp;amp;format=pjpg&amp;amp;auto=webp&amp;amp;s=4bed1907e4d1a60a1120933a799883982b70193e&quot;&gt;Truly a wonderful course, thoroughly enjoyed my time with it. Next stop, CS50x!&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Autism_Evans&quot;&gt; /u/Autism_Evans &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n3a94/today_i_completed_cs50p/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n3a94/today_i_completed_cs50p/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10n3a94</id><media:thumbnail url="https://a.thumbs.redditmedia.com/EFNs1gYLx1e6q8CMCapszfojNq_6vf2BalCOMt7BLU4.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10n3a94/today_i_completed_cs50p/" /><updated>2023-01-28T02:09:54+00:00</updated><published>2023-01-28T02:09:54+00:00</published><title>Today I completed CS50P!</title></entry><entry><author><name>/u/Lappi_Luthra</name><uri>https://www.reddit.com/user/Lappi_Luthra</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Firstly, I would like to &lt;strong&gt;thank whole CS50 Community for delivering this awesome course&lt;/strong&gt;. CS50 is the best quality course you could find on Internet, it has a very high production quality, great teaching staff (David J. Malan Sir has a unique style of teaching which makes his lectures interesting) and great quality of study material. I also appreciate that Harvard had made this course free for all.&lt;/p&gt; &lt;p&gt;I also liked how this course helps students to get a taste of Computer Science Concepts in such a small time. It pushes students to learn new concepts on their own while solving Problem Sets. I also made hand-written notes while taking this course. I also liked the CS50&amp;#39;s VS Code IDE it helped to get a taste of how to code of IDE and color highlighting of code to understand code better.&lt;/p&gt; &lt;p&gt;I started this course in third week of September and completed it in last week of January. It took me more time because my college had started in October and I was not able to manage time in starting of my first semester of B.Tech, but I don&amp;#39;t left this journey and finally completed.&lt;/p&gt; &lt;p&gt;It&amp;#39;s Problem Sets were overwhelming in starting but we could learn many new things from them. I was not able to do all Problem Sets. I also not going to make the final project because my college end-term are near.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Now lets talk about this course in detail, it teaches many things in the span of 10 weeks, lets talk about them in detail,&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 0 : Scratch&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;It&amp;#39;s the introduction lecture of the course in which we are taught about bits, basic computer science things, meaning of some technical terms and Scratch in a very interactive way. We also make a game in Scratch in Problem Set. It was a fun and a bit small lecture. I already know Scratch so I easy completed this lecture.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 1 : C&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we learn a statically typed low-level language called C. It is used to develop many system level apps. In this lecture we learn what are for loop, while loop, printf function, basic data types available in C, CS50&amp;#39;s make input functions, basic operators, if-else condition, making functions, do-while loop, printing basic patterns using for loop, integer overflow for float, and many other things. It took me 10 hours to watch and understand the lecture with making notes. It&amp;#39;s PSet took some time but was able to complete it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 2 : Arrays&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we learn how to take command line arguments, how to use CS50 debugger, what is an array and how to use it (Arrays are the most important data type in C), manipulating strings and what are global variables. It&amp;#39;s pset programs were hard but I learned a lot from them and completed them.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 3 : Algorithms&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we learn about some important algorithms in programming like binary search (in this David Sir uses phonebook example), linear search, bubble sort, merge sort, selection sort, recursion (my favourite) and about time &amp;amp; space complexity. It&amp;#39;s pset problems were long and hard but I completed them.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 4 : Memory&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we learn about how to represent colors in RGB format using hexadecimal. We also learn about pointer (which is one of the most important concept of C). David Sir explains pointers in a very fun and awesome way. We also learn about custom data types called structures (struct) and Dynamic Memory Allocation. It&amp;#39;s pset problems are overwhelming and here many people people quit CS50, I was not able to do recovery.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 5 : Data Structures&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we learn Insertion in Array and why data structures are important for making real life applications. This lecture include data structures like Linked List, Binary Tree, Stacks, Queues, Hash Table and Tries. It was a very good lecture for introduction to data structures and how they function. David Sir teaches it very interactive way. I was not able to complete this week&amp;#39;s pset.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 6 : Python&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;In this lecture we learn about one of the most popular and a high level dynamically-typed language called Python. We learn about its syntax and basic concepts of it. I already known Python so pset problems were fairly easy for me except DNA, in which I took help of internet solution. But I learned a lot from it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 7 : SQL&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Its about how to store data in databases. We also learn how to write SQL queries and relate tables in SQL database. We also learn how to use SQL and Python together using CS50 library. It&amp;#39;s pset took time as I had to get comfortable with SQL queries but I was able to complete it.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 8 : HTML, CSS, JavaScript&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this lecture we get introduction to web development(mostly frontend) and we learn how to make a static website using HTML, CSS (using BootStrap Framework) and JS. I already known HTML so I was able to do lab much easier. I didn&amp;#39;t completed the pset. I also learned how to link CSS and JS with HTML.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 9 : Flask&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;In this we learn backend development with a framework of Python called Flask. It was interesting to learn Flask from David Sir. I had completed lab but I didn&amp;#39;t completed pset.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Week 10 : Emoji&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;It&amp;#39;s the conclusion lecture on CS50, in this David Sir talks about the CS50 whole journey and takes a small quiz. After that David Sir friend come and talk about how Emojis are made and talks about thier importance. I got a bit emotional in this lecture as CS50 course is coming to an end and I may not be able to again study from David Sir.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Some Personal Talk :&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I learned many things from this Course and it surely made me more passionate about Computer Science and give me a strong foundation for my Software Engineering Career.&lt;/p&gt; &lt;p&gt;It helped me a lot my B.Tech first semester, as I had a Computer Programming course in which we had to learn C and in CS50 1st to 5th week we learn C, so it helped me to learn concepts much better and made this college course easy for me.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;I also like to Thank people on reddit to introduce this wonderful course to me. I also Thank my teacher and mentor for giving me an initial boost/motivation to do this course.&lt;/strong&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Lappi_Luthra&quot;&gt; /u/Lappi_Luthra &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mryrt/i_completed_harvards_cs50_without_certificate_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mryrt/i_completed_harvards_cs50_without_certificate_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mryrt</id><link href="https://www.reddit.com/r/cs50/comments/10mryrt/i_completed_harvards_cs50_without_certificate_and/" /><updated>2023-01-27T18:23:56+00:00</updated><published>2023-01-27T18:23:56+00:00</published><title>I completed Harvard's CS50 (Without Certificate) and You should try it once in your life</title></entry><entry><author><name>/u/GloomyGenius</name><uri>https://www.reddit.com/user/GloomyGenius</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ne5dr/check50_keeps_telling_me_somethings_wrong_but_the/&quot;&gt; &lt;img src=&quot;https://a.thumbs.redditmedia.com/dfFu0B5pXWEw2s0srvq4hFLYpSEBz_-Zo9Ba5WUW2_4.jpg&quot; alt=&quot;Check50 keeps telling me something's wrong, but the values are the same&quot; title=&quot;Check50 keeps telling me something's wrong, but the values are the same&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/orv3o5kh4sea1.png?width=513&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=41a5c29700a8e34d0292f54f893febbb79554e9f&quot;&gt;https://preview.redd.it/orv3o5kh4sea1.png?width=513&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=41a5c29700a8e34d0292f54f893febbb79554e9f&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/GloomyGenius&quot;&gt; /u/GloomyGenius &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ne5dr/check50_keeps_telling_me_somethings_wrong_but_the/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ne5dr/check50_keeps_telling_me_somethings_wrong_but_the/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10ne5dr</id><media:thumbnail url="https://a.thumbs.redditmedia.com/dfFu0B5pXWEw2s0srvq4hFLYpSEBz_-Zo9Ba5WUW2_4.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10ne5dr/check50_keeps_telling_me_somethings_wrong_but_the/" /><updated>2023-01-28T12:39:54+00:00</updated><published>2023-01-28T12:39:54+00:00</published><title>Check50 keeps telling me something's wrong, but the values are the same</title></entry><entry><author><name>/u/Big-Cartographer-748</name><uri>https://www.reddit.com/user/Big-Cartographer-748</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ndd2n/cant_get_past_check50_seasons_of_love_problem_set/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/fcx7wJ7UNHuyCz5X-h1Mbpajzwm9Q9yC1aysPDMfLsM.jpg&quot; alt=&quot;Can't get past check50 (Seasons of Love, problem set 8) CS50P&quot; title=&quot;Can't get past check50 (Seasons of Love, problem set 8) CS50P&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;All outputs are correct , i checked 2022-01-28 and 2021-01-28 (as today&amp;#39;s dates) the output is correct , but I can&amp;#39;t pass check50 .&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;pre&gt;&lt;code&gt;from datetime import date import inflect import sys def main(): print(convertation(input(&amp;quot;Date of Birth: &amp;quot;))) def convertation (my_bday): p = inflect.engine() year, month, day = checking(my_bday) birth_date = date(int(year), int(month), int(day)) todays_date = date.today() date_difference = todays_date - birth_date complete = date_difference.days * 24 * 60 words = p.number_to_words(complete,andword=&amp;quot;&amp;quot;) return f&amp;quot;{words.capitalize()} minutes&amp;quot; def checking(my_bday): try: if date.fromisoformat(my_bday): year, month, day = my_bday.split(&amp;quot;-&amp;quot;) except: sys.exit(&amp;quot;Invalid Form&amp;quot;) return year,month,day main() &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/sdr8gpdjxrea1.png?width=3024&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=71bdfb3a924bf50ce80e55f2fd22acdd15857d81&quot;&gt;https://preview.redd.it/sdr8gpdjxrea1.png?width=3024&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=71bdfb3a924bf50ce80e55f2fd22acdd15857d81&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Big-Cartographer-748&quot;&gt; /u/Big-Cartographer-748 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ndd2n/cant_get_past_check50_seasons_of_love_problem_set/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ndd2n/cant_get_past_check50_seasons_of_love_problem_set/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10ndd2n</id><media:thumbnail url="https://b.thumbs.redditmedia.com/fcx7wJ7UNHuyCz5X-h1Mbpajzwm9Q9yC1aysPDMfLsM.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10ndd2n/cant_get_past_check50_seasons_of_love_problem_set/" /><updated>2023-01-28T11:53:08+00:00</updated><published>2023-01-28T11:53:08+00:00</published><title>Can't get past check50 (Seasons of Love, problem set 8) CS50P</title></entry><entry><author><name>/u/AlternateReality24</name><uri>https://www.reddit.com/user/AlternateReality24</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n9tfn/my_codespace_is_not_loading/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/6fvUejkIwnkqXzGlpwzwnohU279pDf4yUoyhCFE-iYk.jpg&quot; alt=&quot;My Codespace is not loading!&quot; title=&quot;My Codespace is not loading!&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I was trying to do some practice problems for CS50X and codespace prompted me to update it. Upon pressing update, instead of the usual loading for codespace, it just stopped after Image Found. I tried refreshing, relogging and even restarting my computer but it still doesn&amp;#39;t load. What should I do?&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/tkf9fih7rqea1.png?width=1909&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=bf34c3143f8a816cfe6940f26eccf0f64c52b352&quot;&gt;https://preview.redd.it/tkf9fih7rqea1.png?width=1909&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=bf34c3143f8a816cfe6940f26eccf0f64c52b352&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AlternateReality24&quot;&gt; /u/AlternateReality24 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n9tfn/my_codespace_is_not_loading/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n9tfn/my_codespace_is_not_loading/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10n9tfn</id><media:thumbnail url="https://b.thumbs.redditmedia.com/6fvUejkIwnkqXzGlpwzwnohU279pDf4yUoyhCFE-iYk.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10n9tfn/my_codespace_is_not_loading/" /><updated>2023-01-28T08:04:59+00:00</updated><published>2023-01-28T08:04:59+00:00</published><title>My Codespace is not loading!</title></entry><entry><author><name>/u/IamCJtoo</name><uri>https://www.reddit.com/user/IamCJtoo</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Finally completed week 0 and 1. I feel good. Never met a teacher better than David. Hopefully the journey continues smoothly.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/IamCJtoo&quot;&gt; /u/IamCJtoo &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10nbfzb/onto_week_2_arrays/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10nbfzb/onto_week_2_arrays/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10nbfzb</id><link href="https://www.reddit.com/r/cs50/comments/10nbfzb/onto_week_2_arrays/" /><updated>2023-01-28T09:51:14+00:00</updated><published>2023-01-28T09:51:14+00:00</published><title>Onto Week 2 Arrays</title></entry><entry><author><name>/u/amani0986654</name><uri>https://www.reddit.com/user/amani0986654</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;hi guys &lt;/p&gt; &lt;p&gt;I m in week 3 but Iam starting to feel the weeks getting alittle difficult ,for everyone finshed the course or reached the last weeks could u tell me what are u recommnded to finish as quick as possible with good experiance ,do u recommnded when I reach python to jump on freecodecomp to study it then back to the course and solve the problem set and do the same with the next weeks..&lt;/p&gt; &lt;p&gt;and can I finish it within 2 month ? Im partial time worker .&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/amani0986654&quot;&gt; /u/amani0986654 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10na5az/about_finishing_the_course/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10na5az/about_finishing_the_course/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10na5az</id><link href="https://www.reddit.com/r/cs50/comments/10na5az/about_finishing_the_course/" /><updated>2023-01-28T08:26:34+00:00</updated><published>2023-01-28T08:26:34+00:00</published><title>about finishing the course</title></entry><entry><author><name>/u/Amirali_Zirak</name><uri>https://www.reddit.com/user/Amirali_Zirak</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10na2tz/a_problem_in_checking_bankpy/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/zQnCijMdpodOyMNgvkj0nZXZp0FLvMkkdc2XCi3oSuI.jpg&quot; alt=&quot;A problem in checking bank.py&quot; title=&quot;A problem in checking bank.py&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I have done the bank assignment and I have tested it. It runs correctly but when I check with check50 all of the lines get red. I would be happy if anybody could help me.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/hefwubx15rea1.png?width=218&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=bff8ebdd7bc75f5f75399eb4e965cfd2a0f234fa&quot;&gt;https://preview.redd.it/hefwubx15rea1.png?width=218&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=bff8ebdd7bc75f5f75399eb4e965cfd2a0f234fa&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/4drgovy15rea1.png?width=347&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=ed695157f3c81fb19e079ba5f9509f3adcb6dbd9&quot;&gt;https://preview.redd.it/4drgovy15rea1.png?width=347&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=ed695157f3c81fb19e079ba5f9509f3adcb6dbd9&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/krwdk5z15rea1.png?width=623&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=3d4c66e04b9a2098b2f0362466ac64a000f667a2&quot;&gt;https://preview.redd.it/krwdk5z15rea1.png?width=623&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=3d4c66e04b9a2098b2f0362466ac64a000f667a2&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Amirali_Zirak&quot;&gt; /u/Amirali_Zirak &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10na2tz/a_problem_in_checking_bankpy/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10na2tz/a_problem_in_checking_bankpy/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10na2tz</id><media:thumbnail url="https://b.thumbs.redditmedia.com/zQnCijMdpodOyMNgvkj0nZXZp0FLvMkkdc2XCi3oSuI.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10na2tz/a_problem_in_checking_bankpy/" /><updated>2023-01-28T08:21:49+00:00</updated><published>2023-01-28T08:21:49+00:00</published><title>A problem in checking bank.py</title></entry><entry><author><name>/u/BurningSheep1</name><uri>https://www.reddit.com/user/BurningSheep1</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;This is confusing because it also accepts that :) print_winner prints winner of election when some pairs are tied. &lt;/p&gt; &lt;p&gt;How can the program give a correct answer for winner if addpairs() doesn&amp;#39;t count the pairs properly? I did not count tied pairs as per the instruction given by the problem set. &lt;/p&gt; &lt;pre&gt;&lt;code&gt;void add_pairs(void) { int pair_counter = 0; for (int i = 0; i &amp;lt; candidate_count - 1; i++) { for (int j = i + 1; j &amp;lt; candidate_count; j++) { if (preferences[i][j] &amp;gt; voter_count/2) { pairs[pair_counter].winner = i; pairs[pair_counter].loser = j; pair_counter ++; } else if (preferences[j][i] &amp;gt; voter_count/2) { pairs[pair_counter].winner = j; pairs[pair_counter].loser = i; pair_counter ++; } } } pair_count = pair_counter; return; } // Sort pairs in decreasing order by strength of victory void sort_pairs(void) { // use selection sort for (int i = 0; i &amp;lt; pair_count; i++) { int highest_strength = voter_count/2; for (int j = i; j &amp;lt; pair_count; j++) { if (preferences[pairs[j].winner][pairs[j].loser] &amp;gt;= highest_strength) { highest_strength = preferences[pairs[j].winner][pairs[j].loser]; pairs[i].winner = pairs[j].winner; pairs[i].loser = pairs[j].loser; } } } return; } &lt;/code&gt;&lt;/pre&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/BurningSheep1&quot;&gt; /u/BurningSheep1 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n7yr3/tideman_chat50_claims_add_pairs_generates_correct/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n7yr3/tideman_chat50_claims_add_pairs_generates_correct/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10n7yr3</id><link href="https://www.reddit.com/r/cs50/comments/10n7yr3/tideman_chat50_claims_add_pairs_generates_correct/" /><updated>2023-01-28T06:12:30+00:00</updated><published>2023-01-28T06:12:30+00:00</published><title>Tideman: chat50 claims :( add_pairs generates correct pair count when ties exist because add_pairs function did not produce 2 pairs</title></entry><entry><author><name>/u/sixtysixty</name><uri>https://www.reddit.com/user/sixtysixty</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;This is a friendly PSA for the Finance pset. Remember to set your API key everytime you start working on the problem again. I was banging my head against the wall for hours trying to figure out why I kept getting a nonetype object is not subscriptable error. What was happening is the API key had expired (or something of the like I am obviously not an expert on these things!) which was leading to nothing being passed through to the lookup function, leading to the error. Once I reset the API key everything was fine.&lt;/p&gt; &lt;p&gt;Thankfully index.html seems to be working now. Happy coding everyone!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/sixtysixty&quot;&gt; /u/sixtysixty &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ml4wb/finance_api_key_psa/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10ml4wb/finance_api_key_psa/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10ml4wb</id><link href="https://www.reddit.com/r/cs50/comments/10ml4wb/finance_api_key_psa/" /><updated>2023-01-27T13:43:42+00:00</updated><published>2023-01-27T13:43:42+00:00</published><title>Finance API Key PSA</title></entry><entry><author><name>/u/GoofyGoodSpirit</name><uri>https://www.reddit.com/user/GoofyGoodSpirit</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mw8f5/please_help_my_tideman_code_runs_and_provides/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/xwo7xqxYeAWDUoTYzG1gCxPL7L_7E6nAiO4G2mTPFDk.jpg&quot; alt=&quot;Please Help. My Tideman code runs and provides correct answers but does not pass all of the CS50 checks.&quot; title=&quot;Please Help. My Tideman code runs and provides correct answers but does not pass all of the CS50 checks.&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;My Tideman code runs and provides correct answers but does not pass all of the CS50 checks. I tried looking at other people&amp;#39;s codes, tried rubber ducking it. I&amp;#39;m not noticing any issues except for when ties between pair strength occurs, but the instructions say to ignore it. Any help would be greatly appreciated.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/8dvxq3z3hnea1.png?width=982&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=a5594e6637add0158cedf174d8a3482db3dacdaf&quot;&gt;https://preview.redd.it/8dvxq3z3hnea1.png?width=982&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=a5594e6637add0158cedf174d8a3482db3dacdaf&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I decided to not use recursion as a challenge. My loops provide the right answer and seem right. Not sure what the issue is with the checks.&lt;/p&gt; &lt;p&gt;My Code for lock_pairs:&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/6xia0pujinea1.png?width=919&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=e0c16ef491bd1fdccab9585ba2821fa8a5cd8b10&quot;&gt;https://preview.redd.it/6xia0pujinea1.png?width=919&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=e0c16ef491bd1fdccab9585ba2821fa8a5cd8b10&lt;/a&gt;&lt;/p&gt; &lt;p&gt;code for print_winner:&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/cn2jrzfoinea1.png?width=883&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=859a97e8a14bb1a56c8495696e68bbfeff8e7053&quot;&gt;https://preview.redd.it/cn2jrzfoinea1.png?width=883&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=859a97e8a14bb1a56c8495696e68bbfeff8e7053&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/GoofyGoodSpirit&quot;&gt; /u/GoofyGoodSpirit &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mw8f5/please_help_my_tideman_code_runs_and_provides/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mw8f5/please_help_my_tideman_code_runs_and_provides/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10mw8f5</id><media:thumbnail url="https://b.thumbs.redditmedia.com/xwo7xqxYeAWDUoTYzG1gCxPL7L_7E6nAiO4G2mTPFDk.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10mw8f5/please_help_my_tideman_code_runs_and_provides/" /><updated>2023-01-27T21:13:15+00:00</updated><published>2023-01-27T21:13:15+00:00</published><title>Please Help. My Tideman code runs and provides correct answers but does not pass all of the CS50 checks.</title></entry><entry><author><name>/u/No-Draft-4939</name><uri>https://www.reddit.com/user/No-Draft-4939</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;While running the check50 on my code, i get everything right except &amp;quot;handles decimal number of llamas&amp;quot;&lt;/p&gt; &lt;p&gt;It expects &amp;quot;Years: 2&amp;quot; but i get &amp;quot;Years: 1&amp;quot;&lt;/p&gt; &lt;p&gt;The error must be in this part of the code:&lt;/p&gt; &lt;p&gt;if (startSize == endSize)&lt;br/&gt; {&lt;br/&gt; printf(&amp;quot;Years: %i \n&amp;quot;, years);&lt;br/&gt; }&lt;br/&gt; else&lt;br/&gt; {&lt;br/&gt; // TODO: Calculate number of years until we reach threshold&lt;br/&gt; calcYears = startSize + (startSize / 3) - (startSize / 4);&lt;br/&gt; do&lt;br/&gt; {&lt;br/&gt; years += 1;&lt;br/&gt; calcYears = calcYears + (calcYears / 3) - (calcYears / 4);&lt;br/&gt; }&lt;br/&gt; while (calcYears &amp;lt; endSize);&lt;br/&gt; // TODO: Print number of years&lt;br/&gt; printf(&amp;quot;Years: %i \n&amp;quot;, years);&lt;br/&gt; }&lt;br/&gt; }&lt;/p&gt; &lt;p&gt;I see that the first time it checks , calcYears is smaller than endSize, thus it needs to loop again, adding another year so it becomes 2. I don&amp;#39;t know but i&amp;#39;m breaking my head on this already for 2 hours and can&amp;#39;t find the solution. &lt;/p&gt; &lt;p&gt;Does somebody see what i&amp;#39;m doing wrong here?&lt;/p&gt; &lt;p&gt;All initial datatypes are floats except for years.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/No-Draft-4939&quot;&gt; /u/No-Draft-4939 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n3y5u/lab1_population_growth_handles_decimal_number_of/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n3y5u/lab1_population_growth_handles_decimal_number_of/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10n3y5u</id><link href="https://www.reddit.com/r/cs50/comments/10n3y5u/lab1_population_growth_handles_decimal_number_of/" /><updated>2023-01-28T02:41:01+00:00</updated><published>2023-01-28T02:41:01+00:00</published><title>Lab1: Population growth (handles decimal number of llamas error)</title></entry><entry><author><name>/u/Sir-Valdomero</name><uri>https://www.reddit.com/user/Sir-Valdomero</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n2lit/week_1_practice_half/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/-t1Je3_UQMTBwkrx1rC68x_XFuPZoK5P6szafcbsdQY.jpg&quot; alt=&quot;(Week 1 Practice - Half)&quot; title=&quot;(Week 1 Practice - Half)&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Any reason on why check50 keeps flagging my code even tho it gives exactly the same result? &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/ytvadym9uoea1.png?width=595&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=2c59fc23e7bd9bcde84c7bbc887144ccda1281c7&quot;&gt;Here&amp;#39;s my code.&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/igrxgh3buoea1.png?width=583&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=8a6af5ba5230ba4bdd5d7b3a70bfb1cd2885469a&quot;&gt;Here are the results when I do a check50&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Any imput would be greatly appreciated, I know you can skip those problems but I&amp;#39;d rather try to do them to improve as much as possible.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Sir-Valdomero&quot;&gt; /u/Sir-Valdomero &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n2lit/week_1_practice_half/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10n2lit/week_1_practice_half/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10n2lit</id><media:thumbnail url="https://b.thumbs.redditmedia.com/-t1Je3_UQMTBwkrx1rC68x_XFuPZoK5P6szafcbsdQY.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10n2lit/week_1_practice_half/" /><updated>2023-01-28T01:38:27+00:00</updated><published>2023-01-28T01:38:27+00:00</published><title>(Week 1 Practice - Half)</title></entry><entry><author><name>/u/ComprehensiveCrow828</name><uri>https://www.reddit.com/user/ComprehensiveCrow828</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I just want to say this because MAN David is so charismatic I love it... I already know I&amp;#39;m going to love this class lol&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ComprehensiveCrow828&quot;&gt; /u/ComprehensiveCrow828 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10maaxx/just_started_cs50/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10maaxx/just_started_cs50/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10maaxx</id><link href="https://www.reddit.com/r/cs50/comments/10maaxx/just_started_cs50/" /><updated>2023-01-27T02:58:47+00:00</updated><published>2023-01-27T02:58:47+00:00</published><title>just started CS50...</title></entry><entry><author><name>/u/EveningSwimming3113</name><uri>https://www.reddit.com/user/EveningSwimming3113</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Sorry for posting this in here, but i think i am totally lost on loops assignment; i don&amp;#39;t have previous experience in coding, and i just can&amp;#39;t figure out how to solve the problem, it might be really simple, but i can&amp;#39;t find the solution.&lt;/p&gt; &lt;p&gt;We must convert camelCase into snake_case; i was starting like:&lt;/p&gt; &lt;p&gt;name = input(&amp;quot;camelCase: &amp;quot;)&lt;/p&gt; &lt;p&gt;if name == name.casefold():&lt;/p&gt; &lt;p&gt;print(name)&lt;/p&gt; &lt;p&gt;But i mean, it&amp;#39;s a lesson about loops and not conditional, although i can output the &amp;quot;name&amp;quot; option - wich is equal in the cases above -, i am not able to understand how to apply loops so i can find the answer to &amp;quot;firstName&amp;quot; and &amp;quot;preferredFirstName&amp;quot;. &lt;/p&gt; &lt;p&gt;I also don&amp;#39;t know if can ask for help in here, but i am really stucked in this.&lt;/p&gt; &lt;p&gt;Tyvm.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/EveningSwimming3113&quot;&gt; /u/EveningSwimming3113 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mvib2/help_with_camelcase_assignment_ps2/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mvib2/help_with_camelcase_assignment_ps2/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mvib2</id><link href="https://www.reddit.com/r/cs50/comments/10mvib2/help_with_camelcase_assignment_ps2/" /><updated>2023-01-27T20:43:33+00:00</updated><published>2023-01-27T20:43:33+00:00</published><title>Help with &quot;camelCase&quot; assignment - PS2</title></entry><entry><author><name>/u/gizyket</name><uri>https://www.reddit.com/user/gizyket</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;void lock_pairs(void)&lt;br/&gt; {&lt;br/&gt; for (int i = 0; i &amp;lt; pair_count; i++)&lt;br/&gt; {&lt;br/&gt; int n = pairs[i].winner;&lt;br/&gt; int m = pairs[i].loser;&lt;br/&gt; if (!cycle(n, m))&lt;br/&gt; {&lt;br/&gt; locked[n][m] = true;&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; return;&lt;br/&gt; }&lt;br/&gt; bool cycle(int a, int b)&lt;br/&gt; {&lt;br/&gt; if (locked[b][a] == true)&lt;br/&gt; {&lt;br/&gt; return true;&lt;br/&gt; }&lt;br/&gt; else if (locked[b][a] == false)&lt;br/&gt; {&lt;br/&gt; for (int x = 0; x &amp;lt; candidate_count; x++)&lt;br/&gt; {&lt;br/&gt; if (locked[b][x] == true)&lt;br/&gt; {&lt;br/&gt; if (cycle(x, a))&lt;br/&gt; {&lt;br/&gt; return true;&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; return false;&lt;br/&gt; }&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/gizyket&quot;&gt; /u/gizyket &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mtp7r/i_have_been_struggling_with_tideman_lock_pairs/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mtp7r/i_have_been_struggling_with_tideman_lock_pairs/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mtp7r</id><link href="https://www.reddit.com/r/cs50/comments/10mtp7r/i_have_been_struggling_with_tideman_lock_pairs/" /><updated>2023-01-27T19:31:07+00:00</updated><published>2023-01-27T19:31:07+00:00</published><title>I have been struggling with Tideman lock_pairs function for too long now! can you guys give me advice on where to go from here?</title></entry><entry><author><name>/u/Mikeyizzo</name><uri>https://www.reddit.com/user/Mikeyizzo</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I want to learn, Im currently unemployed, but need to find a job soon. Im debating looking for a part time job so I have more time to learn computer programming, but ideally, I would need a full time job to help live more comfortably. How long do you think the lessons would take me?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Mikeyizzo&quot;&gt; /u/Mikeyizzo &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mfox5/how_many_hours_a_day_can_i_expect_to_put_into/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mfox5/how_many_hours_a_day_can_i_expect_to_put_into/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mfox5</id><link href="https://www.reddit.com/r/cs50/comments/10mfox5/how_many_hours_a_day_can_i_expect_to_put_into/" /><updated>2023-01-27T08:06:53+00:00</updated><published>2023-01-27T08:06:53+00:00</published><title>How many hours a day can I expect to put into this course with no prior computer programming knowledge?</title></entry><entry><author><name>/u/0legBolek</name><uri>https://www.reddit.com/user/0legBolek</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I spant a lot of time , however i dont get how to fix it . It is recover from week 4&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/3frw8ztmimea1.png?width=688&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=788d86b7a5510d718ddaadc6fcc8a1248473ce08&quot;&gt;https://preview.redd.it/3frw8ztmimea1.png?width=688&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=788d86b7a5510d718ddaadc6fcc8a1248473ce08&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/0legBolek&quot;&gt; /u/0legBolek &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mr2gh/what_i_am_doing_wrong/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mr2gh/what_i_am_doing_wrong/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mr2gh</id><link href="https://www.reddit.com/r/cs50/comments/10mr2gh/what_i_am_doing_wrong/" /><updated>2023-01-27T17:48:55+00:00</updated><published>2023-01-27T17:48:55+00:00</published><title>What I am doing wrong?</title></entry><entry><author><name>/u/ComprehensiveCrow828</name><uri>https://www.reddit.com/user/ComprehensiveCrow828</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I ask this because I&amp;#39;m curious how far the course has gotten you, what have you been able to do? That you weren&amp;#39;t able to do of course on day 0...&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ComprehensiveCrow828&quot;&gt; /u/ComprehensiveCrow828 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mjj51/to_those_who_have_no_code_knowledge_what_has_cs50/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mjj51/to_those_who_have_no_code_knowledge_what_has_cs50/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mjj51</id><link href="https://www.reddit.com/r/cs50/comments/10mjj51/to_those_who_have_no_code_knowledge_what_has_cs50/" /><updated>2023-01-27T12:23:14+00:00</updated><published>2023-01-27T12:23:14+00:00</published><title>To those who have no code knowledge what has CS50 done for you?</title></entry><entry><author><name>/u/CrimsonIrises</name><uri>https://www.reddit.com/user/CrimsonIrises</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi guys. I&amp;#39;ve asked this question before and my search still stands. I am searching for a cs50x-like course, so a full online course with assignments and a certificate, but for System/Network engineers. Things I&amp;#39;m looking to learn: Networking, Datacommunication, cloud, server management,... &lt;/p&gt; &lt;p&gt;Does this exist at harvard? Did anyone come across a good one apart from harvard courses?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/CrimsonIrises&quot;&gt; /u/CrimsonIrises &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mjcvn/cs50xlike_course_but_for_systemnetwork_engineers/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mjcvn/cs50xlike_course_but_for_systemnetwork_engineers/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mjcvn</id><link href="https://www.reddit.com/r/cs50/comments/10mjcvn/cs50xlike_course_but_for_systemnetwork_engineers/" /><updated>2023-01-27T12:13:19+00:00</updated><published>2023-01-27T12:13:19+00:00</published><title>CS50x-like course but for System/Network engineers? More Infrastructure focused?</title></entry><entry><author><name>/u/CRANIAX360</name><uri>https://www.reddit.com/user/CRANIAX360</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10me9mu/updating_and_rebuilding_the_codespace/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/yfovnvxG8UT7IHvXZvSp1qAzCLimtB3dS81Dlc-no2k.jpg&quot; alt=&quot;Updating and rebuilding the codespace.&quot; title=&quot;Updating and rebuilding the codespace.&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I started programming today in my codespace after a month and the codespace showed the option of updating and rebuilding as usual. However, this time after rebuilding, it is now stuck, showing that an image has been found. &lt;/p&gt; &lt;p&gt;How do I work around this and get back to programming? Any help will be deeply appreciated.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/b1iezkt05jea1.png?width=1920&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=b491deab20eaef127b3a8be37239b64f21f5fe09&quot;&gt;https://preview.redd.it/b1iezkt05jea1.png?width=1920&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=b491deab20eaef127b3a8be37239b64f21f5fe09&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/CRANIAX360&quot;&gt; /u/CRANIAX360 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10me9mu/updating_and_rebuilding_the_codespace/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10me9mu/updating_and_rebuilding_the_codespace/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10me9mu</id><media:thumbnail url="https://b.thumbs.redditmedia.com/yfovnvxG8UT7IHvXZvSp1qAzCLimtB3dS81Dlc-no2k.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10me9mu/updating_and_rebuilding_the_codespace/" /><updated>2023-01-27T06:34:08+00:00</updated><published>2023-01-27T06:34:08+00:00</published><title>Updating and rebuilding the codespace.</title></entry><entry><author><name>/u/CombinationFast9046</name><uri>https://www.reddit.com/user/CombinationFast9046</uri></author><category term="cs50" label="r/cs50"/><content type="html">&amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/CombinationFast9046&quot;&gt; /u/CombinationFast9046 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10miymi/is_there_gpa_is_this_course/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10miymi/is_there_gpa_is_this_course/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10miymi</id><link href="https://www.reddit.com/r/cs50/comments/10miymi/is_there_gpa_is_this_course/" /><updated>2023-01-27T11:49:39+00:00</updated><published>2023-01-27T11:49:39+00:00</published><title>is there GPA is this course?</title></entry><entry><author><name>/u/JuneFernan</name><uri>https://www.reddit.com/user/JuneFernan</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;My code:&lt;/p&gt; &lt;pre&gt;&lt;code&gt; FILE *output = fopen(argv[2], &amp;quot;w&amp;quot;); if (output == NULL) { printf(&amp;quot;Could not open file.\n&amp;quot;); return 1; } &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;If I run with a command line that reads:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;./reverse input.wav HelloReddit.wav &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Then I see an output file in my explorer with that name. Clearly it&amp;#39;s creating the file but not passing the check. Anyone know what&amp;#39;s up with this?&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;I was passing the check earlier, but still testing the code to use fseek and fwrite etc. to reverse the audio data, and for some reason changing that has effected an earlier check (??) and I&amp;#39;ve spent all night trying to figure out why. At this point I&amp;#39;m feeling convinced the check50 is just bugged. &lt;/p&gt; &lt;p&gt;Feel like giving up on coding entirely... :(&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/JuneFernan&quot;&gt; /u/JuneFernan &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mhvcr/pset4_reverse_creates_an_output_file_in_vs_but/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mhvcr/pset4_reverse_creates_an_output_file_in_vs_but/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10mhvcr</id><link href="https://www.reddit.com/r/cs50/comments/10mhvcr/pset4_reverse_creates_an_output_file_in_vs_but/" /><updated>2023-01-27T10:40:11+00:00</updated><published>2023-01-27T10:40:11+00:00</published><title>PSET4 Reverse creates an output file in VS, but doesn't pass the check.</title></entry><entry><author><name>/u/Tenguswordsman</name><uri>https://www.reddit.com/user/Tenguswordsman</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;So, in a couple of days the third quarter will start at my Uni, and one of the core courses is stated to be a CS50 online course. As a person who has pretty much no understanding/experience of programming due to the immense difficulty of me even attempting to grasp it (I had to get my dad to help me with doing simple shit in Pascal in school, now that&amp;#39;s not even an option), how troublesome is it gonna be for me?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Tenguswordsman&quot;&gt; /u/Tenguswordsman &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10lvjpm/how_difficult_is_this_course_for_someone_with_no/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10lvjpm/how_difficult_is_this_course_for_someone_with_no/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10lvjpm</id><link href="https://www.reddit.com/r/cs50/comments/10lvjpm/how_difficult_is_this_course_for_someone_with_no/" /><updated>2023-01-26T16:16:25+00:00</updated><published>2023-01-26T16:16:25+00:00</published><title>How difficult is this course for someone with no prior knowledge of programming?</title></entry><entry><author><name>/u/amani0986654</name><uri>https://www.reddit.com/user/amani0986654</uri></author><category term="cs50" label="r/cs50"/><content type="html">&lt;table&gt; &lt;tr&gt;&lt;td&gt; &lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mfy6y/code_space/&quot;&gt; &lt;img src=&quot;https://b.thumbs.redditmedia.com/DLqowZ2VmbcLoW2p5sJLu08FgoFoqn-Uh_5vFwOgfVs.jpg&quot; alt=&quot;code space&quot; title=&quot;code space&quot; /&gt; &lt;/a&gt; &lt;/td&gt;&lt;td&gt; &lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/zk9j2j5bqjea1.png?width=1920&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=12c32df947f64606de8d45d003cfe948052cf047&quot;&gt;https://preview.redd.it/zk9j2j5bqjea1.png?width=1920&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=12c32df947f64606de8d45d003cfe948052cf047&lt;/a&gt;&lt;/p&gt; &lt;p&gt;is there anyone has a problem with the code space? it just appears like this!!&lt;/p&gt; &lt;p&gt;plz any help or is it from the internet connection&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/amani0986654&quot;&gt; /u/amani0986654 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mfy6y/code_space/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/cs50/comments/10mfy6y/code_space/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</content><id>t3_10mfy6y</id><media:thumbnail url="https://b.thumbs.redditmedia.com/DLqowZ2VmbcLoW2p5sJLu08FgoFoqn-Uh_5vFwOgfVs.jpg" /><link href="https://www.reddit.com/r/cs50/comments/10mfy6y/code_space/" /><updated>2023-01-27T08:25:05+00:00</updated><published>2023-01-27T08:25:05+00:00</published><title>code space</title></entry></feed>