• Breaking News

    Tuesday, June 2, 2020

    "Automate the Boring Stuff with Python" online course is free to sign up for the next few days with code JUN2020FREE learn programming

    "Automate the Boring Stuff with Python" online course is free to sign up for the next few days with code JUN2020FREE learn programming


    "Automate the Boring Stuff with Python" online course is free to sign up for the next few days with code JUN2020FREE

    Posted: 01 Jun 2020 02:56 PM PDT

    https://inventwithpython.com/automateudemy (This link will automatically redirect you to the latest discount code.)

    You can also click this link or manually enter the code: JUN2020FREE (on Monday the code changes to JUN2020FREE2)

    https://www.udemy.com/course/automate/?couponCode=JUN2020FREE

    This promo code works until June 7th (I can't extend it past that). Sometimes it takes 30 minutes or so for the code to become active just after I create it, so if it doesn't work, go ahead and try again a while later.

    Udemy has changed their coupon policies, and I'm now only allowed to make 3 coupon codes each month with several restrictions. Hence why each code only lasts 3 days. I won't be able to make codes after this period, but I will be making free codes next month. Meanwhile, the first 15 of the course's 50 videos are free on YouTube.

    You can also purchase the course at a discount using my code MAY2020 or JUN2020 (or whatever month/year it is) or clicking https://inventwithpython.com/automateudemy to redirect to the latest discount code. I have to manually renew this each month (until I get that automation script done). And the cheapest I can offer the course is about $14 to $16. (Meanwhile, this lets Udemy undercut my discount by offering it for $12, which means I don't get the credit for referral signups. Blerg.)

    Frequently Asked Questions:

    • This course is for beginners and assumes no previous programming experience, but the second half is useful for experienced programmers who want to learn about various third-party Python modules.
    • If you don't have time to take the course now, that's fine. Signing up gives you lifetime access so you can work on it at your own pace.
    • This Udemy course covers roughly the same content as the 1st edition book (the book has a little bit more, but all the basics are covered in the online course), which you can read for free online at https://inventwithpython.com
    • The 2nd edition of Automate the Boring Stuff with Python is now available online: https://automatetheboringstuff.com/2e/
    • I do plan on updating the Udemy course for the second edition, but it'll take a while because I have other book projects I'm working on. Expect that update to happen in mid- or late-2020. If you sign up for this Udemy course, you'll get the updated content automatically once I finish it. It won't be a separate course.
    • It's totally fine to start on the first edition and then read the second edition later. I'll be writing a blog post to guide first edition readers to the parts of the second edition they should read.
    • I wrote a blog post to cover what's new in the second edition
    • You're not too old to learn to code. You don't need to be "good at math" to be good at coding.
    • Signing up is the first step. Actually finishing the course is the next. :) There are several ways to get/stay motivated. I suggest getting a "gym buddy" to learn with.
    submitted by /u/AlSweigart
    [link] [comments]

    First open source contribution!

    Posted: 01 Jun 2020 03:46 AM PDT

    I recently got my first open source contribution accepted! It was just a bug fix. But it felt like a great accomplishment for me.

    It was for an extremely popular python library, I had to write test cases and even wrote a release note.

    I feels great to have code that you have written in a huge project. I would recommend doing this to anyone, as a way to gain valuable experience and a feel of what it's actually like to do software engineering.

    Disclaimer: a bit of experience in the relevant programming language and an ability to navigate large code based is required. So as a beginner it may be somewhat difficult. But I still think it's doable with determination, even with relative beginners.

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

    My daughter has just started learning coding in Java and really seems to enjoy coding and wanting to possibly have a career in this field. Any recommendations as what courses or path to take to further her interest ?

    Posted: 01 Jun 2020 04:46 PM PDT

    She's 14 years old and lives in Vancouver if that helps. There are so much information online that I'm a bit overwhelmed as to where to start looking. Thank you !!

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

    Free Udemy (49 Hours Videos) : Learn to Code with Python (Valid for 2 Days ) - (FYI- Not mine & Not associated with this)

    Posted: 01 Jun 2020 05:11 PM PDT

    I think this would help many who can not afford to pay and want to learn Python. Note : (FYI- Not mine & Not associated with this)

    Learn to Code with Python

    Become a Python developer in 2020. Learn Python programming step by step. Projects + tests + coding challenges included!

    323 lectures, 48:50:49

    Free Original Price $19.99 Discount 100% off 2 days left at this price!

    4.7 (1,267 ratings) 30,876 students enrolled

    https://www.udemy.com/course/learn-to-code-with-python/?couponCode=48C956B7705BC548FCC5

    What you'll learn

    • Master programming in Python, a popular language that powers codebases in tech companies like Instagram, Pinterest, Dropbox and more
    • Dive into the mechanics of Python's data structures including strings, lists, dictionaries, tuples, and sets
    • Apply your knowledge to solve common interview questions, algorithms and coding challenges
    • Explore a dynamic curriculum with videos, quizzes, written assignments, in-browser coding challenges and more
    • Progress from core language fundamentals to advanced features like classes, decorators and unit testing
    • Build complete projects including card games (Texas Hold-Em Poker) and more!
    submitted by /u/ViralMedia007
    [link] [comments]

    Learn what an API is in two minutes.

    Posted: 01 Jun 2020 06:45 PM PDT

    I wanted to make a post on what APIs are in a short bite sized chunk, assuming you have literally 0 programming knowledge. Please let me know if you find it helpful! Also let me know if you'd like me to make more posts in this format. Thanks!

    http://daily-coding.info/apis-the-great-stereo-of-the-web.html

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

    Anyone looking for a mentor?

    Posted: 01 Jun 2020 06:09 PM PDT

    Hey everyone :)

    I'm wondering if anyone is looking for a mentor, specifically in JavaScript/TypeScript, but also willing to help out with HTML, CSS, Python, SQL or anything else you'd like to work on.

    My only two requirements are that you ask loads of questions and that you are motivated to succeed! I want to help you become the best software engineer you can be, and at the same time, that'll help me learn how I can teach in a better way :)

    Feel free to DM me if you're interested.

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

    Finally learned git/GitHub!

    Posted: 01 Jun 2020 07:35 AM PDT

    No big deal but last week—thanks to Traversy Media and Colt Steele's YouTube vids I finally learned how to use git and GitHub! A-thank you. A-thank you.

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

    Is it possible to learn algorithms and data structures at a young age ?

    Posted: 01 Jun 2020 02:17 PM PDT

    So, basically i'm a self taught programmer I really enjoy writing code and solving problems. It looks like every programmer or CS student knows algorithms and data structures, and they all took calculus I and II, however i'm only 17 and I'm on my second year of high school (not in US tho) so I don't know that much about advanced mathematics subjects or discrete math or anything like that but i'm sure that with some hard work I can understand algorithms.

    My problem is that my math knowledge is basic and it looks like you need to have a solid math background to understand stuff, can I just go head on and read simple algorithms and ds books then
    move on to advanced topics, or I really can't understand it now ?

    My goal is being able to solve leetcode and hackerank coding challenges just for fun and to improve my coding skill.

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

    im stupid, Not sure how to complete my JAVA assignment

    Posted: 01 Jun 2020 07:13 PM PDT

    I have an assignment where it says

    The parameters must be checked to ensure they are not null or empty nor a negative value.

    I am having trouble understanding what checking to ensure they are not null or empty nor negative means.

    My constructor:

    public A0_Realtor(String listingNumberParam,)

    {

    setListingNumber(listingNumberParam);

    }

    Setter that compiles but doesn't work? if a create a default constructor and check the value, I find that the value is null and doesn't print out invalid value

    public void setListingNumber(String newListingNumber){

    if( newListingNumber != null && newListingNumber.isEmpty()){

    System.out.println("Invalid value");

    } else {

    listingNumber = newListingNumber;

    }

    public void printDetails (){

    System.out.println(askingPrice);

    My output :

    MLS Number: null

    ?????????????????????????????????????????????????????????????????????????????????????????

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

    I need advice to start doing project that will land me a intership

    Posted: 01 Jun 2020 04:00 PM PDT

    I saw that a lot of people are giving great advice to programmers that are struggling to understand what step they should do to improve as programmers. So I'm at my 4th year of software engineering and learned some key courses that made a good foundation to learn how to make real applications. For those who want to give advice I finished all ground courses including : algorithms, discrete math, theory of computation, computer architecture, database management and more maybe less important courses I may be wrong because there are people who know more then me. While programming languages are : java, c++ and web development. What is your advice, what should be next ? Thank you in advice any little advice would be great.

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

    This video has kinda of answered some of my questions as well as posed some new questions about OOP and I need the help of the more experienced to tell me what is right and wrong here...

    Posted: 02 Jun 2020 12:05 AM PDT

    Below is a link to the video in question, it is a video titled: "Object-Oriented Programming is Bad" and is by a guy named Brian Will. I would suggest one to go through the video (however it is a long one, 44 minutes long so I don't blame you if just skimp through it) first, Also take a look at the comments, some of them are quite let us say interesting in terms of opinions... Also, I am sorry if this video has been discussed before and seems like a repost... To my knowledge of searching this subreddit, I couldn't find another post addressing this...

    Object-Oriented Programming is Bad - Brian Will

    Now some context as to how I perceived object oriented programming (OOP) both before and after watching this video...

    Before:

    OOP honestly felt like a joke to me... The main issue had with it (and I still kind of have with it) is that everything you can do with OOP that is using classes, objects, etc... can be all done using some good old variables and functions... People will argue that my code might look like a wall of text but it always turns out to be logically more simpler in my head...

    Despite this feeling towards OOP, I learnt it (and I think there is no excuse for that, because knowledge on anything is still at the end of the day useful some sense) , however I almost never used it, which causes me to have to go brush up on it every time I feel like I have to do something relating to OOP but that isn't huge deal for me...

    After:

    I finally feel like I understand why I never liked OOP... It just feels like a very unnatural way to right code... It is as if I am trying to over-complicate code that would other wise be a simple function...

    The beauty in functions and this is why I enjoy functional programming over anything is because there is this consistency to the idea of functions in all domains. In Maths, a function maps a certain value to another value which can be thought of it taking in an input and giving back an output which is exactly what a function in computer programming languages do! You give it data in the form of parameters, it does something with it and returns a value!

    My point is... this ideology can be extended to everything, so just writing functions for wherever and whatever you need them for is plenty good enough, in my opinion. This was my opinion both before watching the video and after watching the video...

    So what has changed...? Nothing much, just that the questions he posed caused me to give more thought about them and ultimately I was left with more questions than answers... It still puzzles me as to why the industry still prefers OOP? He gives some plausible reasons but whatever the reason... something kept bothering me... It was the sentence where he mentioned that why has the industry not observed any pitfalls with OOP and discarded over the last 20 years! Only explanations are that, either there is nothing wrong with OOP (which I think is completely false... OOP is undeniably far from perfect!) or its advantages still outweigh its disadvantages, which I think is more likely.

    The problem I have with that is and to this day I or anybody have not been able to convince myself of this... I have not seen a single example to make feel like there is some inherent purpose or benefit in OOP that strongly makes it superior to using something like functional programming....

    It is here where I need the help of the people who are wiser and more experienced... Firstly, does what Brian Will say have any substance... is he speaking the truth? I feel he does but then again I am the guy who only knows python (extensively however, know it for 2 years now and I know my python well).

    Secondly, does OOP really have a situation, a purpose where it is strongly more advantageous than say procedural or functional programming... people say performance is a key factor in favor of OOP but I don't really buy that as usually well implemented algorithms and techniques can minimize that gap to the point where you are deciding between implementation time and performance gain... at which point this argument/question becomes obsolete so if you are going to convince me, try and give me an example where performance is not the sole benefit...

    The main reason I am actually writing this is to get the views/opinions of people who have more experience with this problem and how they tackled... If you read the comments section of the video, you will see that the community is kinda split in half, some swear by OOP, some swear against it... And so I wouldn't really be mad if some just puts an answer as it depends... However, I still hope that I get a more definitive answer...

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

    Setting up a database backed project question

    Posted: 01 Jun 2020 08:16 PM PDT

    So I am wondering if there are any best practices to start a database backed project (for example an API). For example, should I have some seed and migration files? If so, what should these files contain? I am trying to search around the web, but it seems like most of the articles are about best practices for already well established projects. I am curious how you would approach such a project from the beginning.

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

    How to spend 3 month summer break

    Posted: 01 Jun 2020 11:48 PM PDT

    I just finished heigh school, I am going to collage to study software engineering and I don't know what to do over the 3 month summer break before collage. I have so many options, I could go through mit's ocw single variable calculus course but I am concerned wether I would learn any math in it and I will learn math when I go to collage either way, I could read Lutz Learning Python since I have already read python crash course and I want to become better in python, I could read Hacking: the art of penetration or I could read data science from scratch and Hands-On Machine learning book, c++ primer or learning c programming language and also solutions to exercises from it. I plan on getting my masters and becoming a macheene learning engineer. What should I study. I know hacking doesn't have much to do with machine learning but I wanted to learn it for so long, and I don't know if I'll have the time for it ever again, but it might be a waste of time since it's not what I ultimatly want to do. I am hesitant about going through machine learning books since I don't know collage level math, I am really good at heigh school stuff, though I know nothing about probability or statistics. What should I do? I have about 4h every day to learn programming because I am getting some german and english certificates over the summer, what would you recommend?

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

    Why do so many people drop out when learning programming? What pitfall should learners avoid?

    Posted: 01 Jun 2020 08:44 AM PDT

    I've noticed the trend among my friends and people online that while many people start learning to code, they drop out after some time. Some of them simply realize that coding is not for the and it is OK but obviously this is not the case 100% of the time.

    What pitfalls do you think people often fall into? How can one prepare themselves and improve their chances to actually follow through with the plan and become a successful programmer? It'd be fun to hear your stories on the subject!

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

    How to handle package management when developing with Windows 10?

    Posted: 01 Jun 2020 06:47 PM PDT

    How do you guys handle all the different installs of things like git, python, 3rd party libraries, etc on windows?

    Like how do you ensure each is up to date, or that you have all of your dependencies for a specific project without just installing each from the web into its own folder and individually checking each?

    I know on Ubuntu apt-get wraps most of that stuff in a bow, but does Windows have a similar way to make sure everything is tied together and up to date?

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

    What technologies would be used to live stream a camera feed through a website?

    Posted: 01 Jun 2020 06:40 PM PDT

    Using JavaScript, would it be possible to live stream camera and audio feed through a media player online?

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

    How to read from console in c?

    Posted: 01 Jun 2020 10:20 PM PDT

    I'm working on a school project and i need to create a character array named months and i need to take months from the users using do while loop like january, february etc.

    #include <stdio.h>

    char months[100];

    char sirali_aylar[12];

    char* p_months[12];

    char *month;

    int soru_1() {

    month= "ocak"; // i want this to be taken from console

    int loop = 0;

    strncpy(aylar, ay, 5);

    printf("%c" , months[0]);

    printf("%c" , months[1]);

    printf("%c" , months[2]);

    printf("%c" , months[3]);

    printf("%c" , months[4]);
    }

    thank you for reading and helping

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

    I want to learn but what specs do i need

    Posted: 01 Jun 2020 06:31 PM PDT

    Hi I've never done programming at all but i want to learn so my question is what type of specs on a computer do i need to program

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

    Need help with git: I merged my current local branch with another branch and unstaged some files before committing them to remote.

    Posted: 01 Jun 2020 10:12 PM PDT

    I merged my local branch with another branch and removed some files from staged area before pushing it to remote ( i created a new commit here after the merge, where i removed some files from staged area which belonged to changes from the other branch). After pushing to remote i can see the commit messages of those unstaged files are still present in remote machine.

    I want to know how to remove these commit messages from remote? Since there are no files related to those commit messages in remote.

    Can someone help with this . Have to push my changes and this is causing a blocker for others. I want to know if this is really going to impact anything in production and is this normal to have in git (commits are present for which files are not present ?

    I hope the problem is clear, let me know if anything is unclear.

    Thank you.

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

    Why Math Is Beneficial To Learn For Programming

    Posted: 01 Jun 2020 10:00 PM PDT

    Hey guys!

    I thought I would share with the community some of my opinions on why math can be really beneficial in programming, even if you don't use it directly in your personal projects or work.

    Thought some of you guys in the community would really appreciate the insights :)

    Does Programming Require Math?

    Let me know what you think and always feel free to reach out if you have questions!

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

    Mammoth interactive learn to code discount

    Posted: 01 Jun 2020 09:31 PM PDT

    I want to build resume worthy projects but don't know where to start.I stumbled across this site from this blog. This really piqued my interest because they are taking $450 off of the original price. This seems too good to be true and my suspicion is that it probably is. Does anyone have any experience with this site?

    submitted by /u/2kfan
    [link] [comments]

    How can I remotely control a GPIO pin on raspberry pi?

    Posted: 01 Jun 2020 12:46 PM PDT

    I'm not sure that this is the correct place to ask this..

    I want to be able to control a simple relay from the GPIO pins on my rpi, from my iPhone when I am not at home. I'm thinking I need to use my rpi as a server that hosts a website with a button. The button would send a command with JavaScript to my rpi to activate the relay.

    I'm very new to all of this, so I would love to know if there is a better way to do this. Or if you can give any advise. Thanks!

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

    Is Ubuntu in VirtualBox fast enough for running a developer environment in?

    Posted: 01 Jun 2020 05:38 PM PDT

    I'd like to get back into programming and prefer to do so in Ubuntu, but am doing so on a system that I hand built myself. As such, every time I set up the ability to dual boot, I run into obscure problems that lead to dead ends on forum posts with no answers.

    I'm wondering if VirtualBox, assuming it has 8 GB of fast ram, 4 cores, and maxed out video settings (128 MB? Seems weak) is a fast enough environment to start developing a backend API service on (including compiling, testing, etc)

    Is VirtualBox usable for this purpose, or would it be best to spend my time sorting out what the hell is wrong with my computer that's making dualbooting impossible

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

    Fantasy Football Project - Help!

    Posted: 01 Jun 2020 09:19 PM PDT

    Hey all,

    I'm new to the community. I read through the FAQ, but I'm still a little lost on where to get my project started.

    I'm fairly well versed in HTML and CSS, and want to take the dive into learning programming. I have a special project to kick it off: a fantasy football site for my league. I want to build a custom site where we can see our league history, matchups, player info, embed some twitter feeds, etc.

    We migrated to Sleeper, and I see their API referenced often. I've been digging through it here: https://docs.sleeper.app. Problem is, I don't know how to pull those queries or even the language it's referencing.

    I have Skillshare, I'm a fast learner, and really just need to know where to start. Am I looking to learn Python? JavaScript? Any help would be greatly appreciated!

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

    No comments:

    Post a Comment