• Breaking News

    Tuesday, March 31, 2020

    Free online college courses offered by the Ivy League schools learn programming

    learn programming

    Free online college courses offered by the Ivy League schools learn programming


    Free online college courses offered by the Ivy League schools

    Posted: 30 Mar 2020 02:06 PM PDT

    So because of the coronavirus, my school got shut down. Luckily, we received an email telling us about these college courses and I decided to try some. There are a bunch of computer science and programming courses and I thought I'd share. I am currently taking the Game design course and it is very interesting. Here's the link: https://www.freecodecamp.org/news/ivy-league-free-online-courses-a0d7ae675869/?fbclid=IwAR2oPbFuhB491fyLDPRvLe83CyzXeM3NmnJOJXEDhPnwhsmver34iGQMqWA

    submitted by /u/MasterCheezOtter
    [link] [comments]

    Free certificates to 85 courses offered by Coursera.

    Posted: 30 Mar 2020 11:17 PM PDT

    Coursera is offering free certificates to 85 courses, the complete list is in the article link below. Please follow the link and enjoy the resource. Valid until the end of May 2020.

    https://www.classcentral.com/report/coursera-free-certificate-covid-19/

    submitted by /u/univlifesucks
    [link] [comments]

    Programming has a way of making me feel stupid for literally hours and then once I finally figure it out, I feel like a genius...until i start the next problem

    Posted: 30 Mar 2020 09:19 PM PDT

    I'm working my way through Eloquent Javascript and I keep getting stuck on these exercises. I read the exercise and think I know how to do it, but of course it doesnt work. Look at Stack Overflow and read some documentation. I try a new way and it kind of works a little bit. Look on Stack Overflow some more, look at different documentation. Change a few more things and I'm getting closer. Realize I have something backwards or in the wrong place and...SUCCESS!

    Until I start the next problem and I'm back to square one....

    submitted by /u/jerseyse410
    [link] [comments]

    am I the only one to believe tutorial point is a useless piece of garbage ?

    Posted: 30 Mar 2020 12:19 AM PDT

    It's five year I'm studying programming, partly through school bachelor, but also on my own for pet projects. I have touched various technologie, from docker to automating terminal command with swift on MacOS or python web scraping, and all the classics you go through a degree, SQL, C++, C, Java...

    I have encountered very frequently tutorialpoint.com in google search results when searching materials on new technology I needed to get familiar to quickly or had specific questions, but not once find anything usefull on that site. It doesn't even cover the basics in anything to get you started as it often lack essential information in their article for things to work or to fit your need and it ends up to make you waste your time most of the time.

    I came to ask myself why this site so often come in search result in the first place as I learned to not click anymore on their links, except when I do.

    am I the only one who came to this conclusion ?

    submitted by /u/fritz_schnitzel
    [link] [comments]

    Feedback for a Beginner

    Posted: 30 Mar 2020 08:38 AM PDT

    Hi. I'm an attorney that suspects I may not have a job to return to at the end of all this.

    So I thought I'd teach myself some programming.

    I wrote this basic Baccarat program in Python and would just like to gauge how well I am doing.

    https://github.com/JustinWuhan/Baccarat

    I think it works across 100% of hands. Are there obvious flaws? What would be a good area for me to focus continued learning on?

    Regardless, I have learned a lot and really enjoyed working on this. I am absolutely blown away that I was able to teach myself so much using free Youtube videos. Thank you in advance.

    submitted by /u/JustinWuhan
    [link] [comments]

    Kahn Academy has 1) ‘Intro to JavaScript’, then 2) ‘Intro to HTML/CSS’ and 3) ‘Intro to SQL’ before 4) ‘Advanced JS’. Is there a rationale for inserting HTML and SQL before continuing with JS or is it a by-product of when they added the courses?

    Posted: 30 Mar 2020 09:26 AM PDT

    My son is about to finish Kahn Academy's introductory JavaScript course and we're not sure if he should do the HTML and SQL course before starting Advanced JS (that's the order they're presented). Knowing a tiny bit of programming (PHP, SQL), I can come up with a rationale to fit Kahn Academy's order—say, HTML so his JS creations can fit/interact with a web page and SQL to allow complex saves and data-driven applications—but that's pretty much post hoc reasoning to fit the circumstances. From a learning languages perspective, is there likely thought behind the order presented on KA or is the order likely an artefact of how the courses were added?

    submitted by /u/Rhythmdvl
    [link] [comments]

    Free online intro programming course based on Stanford's CS106A

    Posted: 30 Mar 2020 03:42 PM PDT

    CS106A: Code in Place

    To contribute something good to the world in the time of COVID-19, we are coming together as a group of experienced computer science instructors to offer a free, online coding course, based on Stanford's introductory programming class CS106A. The course is open to anyone over 18 (subject to availability) and requires no prior programming experience. Deadline to apply is April 8th and you will need to solve a small, fun learning exercise. Please check out our announcement to learn more!

    We are looking for both students, as well as volunteer teachers who would be interested in teaching small 15 person sections.

    If you have any questions, you can email [codeinplace@cs.stanford.edu](mailto:codeinplace@cs.stanford.edu).

    submitted by /u/sentient_car
    [link] [comments]

    Programming Courses on Udemy

    Posted: 30 Mar 2020 04:51 PM PDT

    Hey Everyone,

    Who else here learns programming topics on Udemy? I learned a couple including Python, React Native, and Flutter. What do you guys think of it? I think It's great but I always wished it had a space where I can chat with fellow students and collaborate on projects and stuff. Like in normal school. So I started working on a platform for Udemy students to study, chat, and collaborate with anyone in their courses. No matter where you are in the world. For free. What do you guys think: https://dashspace.app/ ? I'm trying to gauge feedback.

    Thanks guys!

    submitted by /u/paasionf
    [link] [comments]

    Best way to learn a coding language? and Which?

    Posted: 30 Mar 2020 06:58 PM PDT

    My job does not require programming however I'm interested in a variety of things.

    I'm interested in Python 3 as I would like to become more familiar with cybersecurity and pen testing and I am also interested in web development for personal websites.

    I have used the codecademy free edition but can only do so much without the pro version. I was going to sign up for it until I realized its either $40 a month or $240 for a whole year. Maybe thats a reasonable price to learn to code but I'm not sure I'm willing to spend that much ito this at the moment. Any suggestions for learning tools or where to begin is appreciated.

    submitted by /u/kube_tube
    [link] [comments]

    Learning programming is a journey of doing

    Posted: 30 Mar 2020 04:24 PM PDT

    Learning programming is a journey of doing.

    It's a journey, and it's about doing. Journey is about the time dimension, and doing is about the quality of how you spend the time.

    It's not a matter of watching a video course or reading a book. There's not one tutorial or one book that can just make you a programmer, you have to keep solving different kinds of problems for a long period of time (it's a journey!), and one day, you realize you are no longer a beginner (you wouldn't really care about that label by then).

    It's more of a change of habit where one takes the time to write code every day. At the end, you are likely still not know everything there is to know, but you will have seen enough to know most things. So the key here is to do enough exercises that cover enough ground.

    I'll be compiling a collection of coding practice exercises for beginners. It's a journey of at least a month (probably longer), and it's all about doing but in small steps every single day. Let me know if you are interested, I'll send you more info about how to join (I'll be using a combination of different platforms like GitHub, YouTube, Reddit).

    submitted by /u/codingvideo
    [link] [comments]

    Starting to code

    Posted: 30 Mar 2020 07:59 PM PDT

    Hello!

    So, now that I'm spending more time at home (lay off) I encouraged myself to learn coding again.

    Now, I'm not a total noob regarding programming, I had some in university as part of my electrical engineering masters degree not long ago. I know some C, C++ and SQL. I always liked it but never how it was taught, so I never bothered too much.

    I'd like to know how to start getting into it and learning for real. I've heard about freecodecamp and the likes of it but I'm not sure that it's my thing. It seems everything is oriented to Web development but what about the rest of software development? Is there anything similar to fcc but not much Web related? If it helps, I prefer backend way more rather than frontend. At least, it's what I currently feel.

    submitted by /u/scanferr
    [link] [comments]

    Noob question about char** in C

    Posted: 30 Mar 2020 07:37 PM PDT

    I'm doing a coding problem from hackerrank right now that requires me to write a function that can sort strings based on different comparison algorithms. The signature of one of the functions I need to implement is

    void string_sort(char** arr, const int len, int (*cmp_func)(const char* a, const char* b)) 

    As you can see, the function takes in a char** pointer. My understanding is that this points to an array of strings. My question is whether or not that is guaranteed. If you were to declare a variable char* arr[2] = {"hello", "world"}, the C specification guarantees that the pointers to hello\0 and world\0 will come one after the other (correct me if I'm wrong). However, if you declare a variable char** arr, all you are guaranteed is that arr[0] is of type char*. How do you know that you can safely do arr[1]? Since arr is simply a pointer and not an array, isn't it unsafe index arr beyond 0?

    Is it up to the programmer to understand this and either pass in a char* array to the function or to simply not index arr beyond 0? Or am I misunderstanding something? Thanks!

    submitted by /u/_PM_ME_YOUR_ELBOWS
    [link] [comments]

    removing permutations from a nested list, Python.

    Posted: 31 Mar 2020 01:19 AM PDT

    Hi.

    so I have this 2d list:

    [[1, 3], [2, 3], [2, 5], [3, 1], [3, 2], [5, 2]] 

    what is the simplest way to remove permutations from this list, so that the out come would be this:

    [[1, 3], [2, 3], [2, 5]] 

    I am new to python so I am not completely familiar with how to properly iterate and remove such permutations, any advice are welcomed.

    submitted by /u/Ammar2301
    [link] [comments]

    How to get better at C++?

    Posted: 31 Mar 2020 01:19 AM PDT

    My current degree course has had c++ in the past semester but i failed it. I have a hard time understanding concepts such as functions, objects, classes and etc. How could i possibly get better at this?

    submitted by /u/abandonedcrybaby
    [link] [comments]

    [Python3]How to plot n lines using animate?

    Posted: 31 Mar 2020 01:16 AM PDT

    Hi I'm trying to plot a random walk of n particles and I thought of using matplotlib.animate. If I have a known amount of lines I know how to do it, with line.set_data([], []), but how should I do it if I had a random or huge amount of particles?

    Maybe there's another method. I thought of plt.scatter, but isn't that too slow?

    submitted by /u/FreierVogel
    [link] [comments]

    Is it possible to complete CS50 course on an Android phone? I can't afford to buy a laptop but I'm motivated to start this course.

    Posted: 30 Mar 2020 09:29 PM PDT

    PS - I'm a beginner.

    submitted by /u/WhatHowWhy2016
    [link] [comments]

    What does 'Math.abs(l1.row-l2.row) == 1' do?

    Posted: 31 Mar 2020 01:11 AM PDT

    Context:

    if (Math.abs(l1.row-l2.row) == 1 && l1.col == l2.col) {

    return true;

    }

    else if (Math.abs(l1.col - l2.col) == 1 && l1.row == l2.row) {

    return true;

    }

    else {return false;}

    }

    submitted by /u/codingnerd123
    [link] [comments]

    C++ - (!current) or (!current->next) when traversing

    Posted: 30 Mar 2020 09:21 PM PDT

    Hello, I have a hard time figuring out when I would use (!current) or (!current->next) when traversing through a linked list. My idea is to use (!current) to get to the very last node and (!current->next) to get to the very last next pointer? I am very confused, any clarifications using a pointer diagram or anything at all would be very much appreciated!

    submitted by /u/tsgatdawn
    [link] [comments]

    Any sites that do a complexity/performance analysis of your code?

    Posted: 30 Mar 2020 09:17 PM PDT

    I've been coding for over a decade but I recently did a test on Codility for an interview and my final score wasn't so great because the performance of two of my solutions wasn't great. Codility has a bunch of practice problems you can do but when you submit your code, it doesn't tell you what the performance was like. Similarly, on Codewars.com, I could see how long it took my solution to run but not the other submissions. It would be great if there was a site that you could sort solutions by time or memory usage - is there anything like that out there? Thanks!

    submitted by /u/whitethunder9
    [link] [comments]

    Teaching myself CS: which (of the 3) algorithms courses should I take?

    Posted: 30 Mar 2020 09:16 PM PDT

    I'm teaching myself CS. I've gotten to algorithms & data structures part. I need to pick a course to do, and would really appreciate any advice from the community.

    I've been recommended these 3 by different sources:

    1. MIT's Introduction to Algorithms
    2. Skiena's Introduction to Algorithms
    3. Stanford's Algorithm specialization

    My criteria:

    1. Must be able to do exercises in Python
    2. As much hands-on coding as possible, as little math (and proofs especially) as possible
    3. Ideally 150-200h of study time, not more than 250

    Which one would you go for and why?

    Related question - do I also need to be looking at a pure Data Structures course (aka this) next to the above? Or is that duplicate effort?

    submitted by /u/xepo3abp
    [link] [comments]

    Getting timeout error when connecting to an AWS RDS

    Posted: 31 Mar 2020 12:54 AM PDT

    It's driving me up the wall - I've been googling how to resolve this for hours to no avail.

    Basically, my code so far is just:

    import pymysql conn = pymysql.connect( host = 'host_name_here', port=int(3306), user='user_name_here', passwd = 'password_here', db = 'db_name_here', connect_timeout=30)

    However, the error(s) I get is:

    ```

    TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

    During handling of the above exception, another exception occurred:

    ```

    OperationalError: (2003, "Can't connect to MySQL server on 'host_name_here' ([WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond)")

    What I've done so far.

    My assumption was that the firewall was doing something funky. The steps I've done so far have been:

    1) Uninstalling Norton Antivirus in case it was doing something funky

    2) Logging firewall messages and verifying that port 3306 doesn't show up in there

    3) Disabling firewall completely.

    However the issue still persists.

    I think the problem has to be with my port 3306 somehow.

    When I type the following in the command prompt: telnet serverName 3306 I just get: Connecting To serverName...Could not open connection to the host, on port 3306: Connect failed

    I've tried uninstalling any trace of MySQL on my machine, and I've made sure through task manager nothing with "mysql" in the name is running. But it still doesn't fix the problem.

    This is completely beyond me, and if there are any clues from my errors above as to what the source of my issue is, they're lost on me.

    submitted by /u/Lostwhispers05
    [link] [comments]

    C++ template parameters

    Posted: 30 Mar 2020 06:51 PM PDT

    I am looking at a library that utilizes a lot of C++ templates. I have come across a template shown below:

     template<class F = T, class Enum = unsafe_module_enumerator> LAZY_IMPORTER_FORCEINLINE static F get() noexcept { // for backwards compatability. // Before 2.0 it was only possible to resolve forwarded exports when // this macro was enabled #ifdef LAZY_IMPORTER_RESOLVE_FORWARDED_EXPORTS return forwarded<F, Enum>(); #else Enum e; do { const exports_directory exports(e.value->DllBase); if (exports) { auto export_index = exports.size(); while (export_index--) if (hash(exports.name(export_index)) == Hash) return (F)(exports.address(export_index)); } } while (e.next()); return {}; 
    

    No comments:

    Post a Comment