• Breaking News

    Sunday, March 1, 2020

    What have you been working on recently? [February 29, 2020] learn programming

    learn programming

    What have you been working on recently? [February 29, 2020] learn programming


    What have you been working on recently? [February 29, 2020]

    Posted: 29 Feb 2020 08:04 AM PST

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    The Udemy "Automate the Boring Stuff with Python" online course is free for the next 9 days.

    Posted: 29 Feb 2020 01:56 PM PST

    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: FEB2020FREE2 (on Monday the code changes to MAR2020FREE and Friday it cahnges to MAR2020FREE2, but the above link should always work.)

    This promo code works until March 9th (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 in the future.

    You can also purchase the course at a discount using my code MAR2020 (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:

    • 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]

    Learn programming by building a game. The Seven Day Roguelike (7DRL) Game Jam on Itch.io has officially started. I'm giving out free commercial licenses to DragonRuby Game Toolkit to help y'all out. Zip file download enclosed and includes PC, Mac, and Linux binaries.

    Posted: 29 Feb 2020 11:04 AM PST

    Per the subreddit rules, the download of the free commercial license does not require any kind of registration or data collection. You can find it at: http://7drl.dragonruby.org.

    Hey everyone! 7DRL Game Jam 2020 is underway. Game Jams are a great way to build something with a bunch of people supporting you. I'm providing permanent, unrestricted licenses to DragonRuby Game Toolkit to anyone who wants to give this game jam a shot.

    You are free to use this license to build commercial games, and yes it's permanent/doesn't expire. The page above will be removed in 7 days. So I'd download it even if you don't have the time to join the game jam.

    The zip file contains a sample app/starting point for building a roguelike (and includes 40+ other sample games to reference). Hopefully that will get your well on your way to building something.

    If you decide to join the game jam, you'll need to register on Itch.io (which I encourage you to do).

    I'll be available to help anyone that needs it and am in the game jam Discord channel, just DM @amirrajan.

    I was one of the lucky indies who built a game that went viral (allowing me to do game development fulltime). I'm hoping that the gaming gods will keep me in their favor with these attempts to help others learn how to program.

    This is the official Reddit post for GTK located on the r/roguelikedev subreddit (you should totally join that subreddit).

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

    I can't recommend Coursera and Lynda enough I've you're trying to learn and improve

    Posted: 29 Feb 2020 03:21 PM PST

    I've struggled learning software development and a variety of different subjects in IT for years. Recently, I started using Coursera which I highly recommend, primarily taking the Google courses such as Bits and Bites of Networking, GCP Basics and their Crash Course on Python which have all been really good. They're pretty fluffy, perhaps too fluffy for some, but the content is excellent and well constructed.

    The Crash Course on Python I particularly liked because Google teaches by jumping right into functions and then gets into primitive data types to start building the functions out. Most courses seem to do the opposite so you're trying to get through a bunch of information you aren't familiar with before you start actually making anything. It's like getting a set of tools you've never seen before, then you're told what they do and how to use them without any context, and then you're required to build a bookshelf. The approach that Google uses is more like "This is a measuring tape and a saw, we'll use it to cut our first shelf. Here is how you use it, now your turn. Great! Now we can use what you just learned for the sides of the bookshelf and here's how..." Also, they have code problems that you have to essentially debug which I think is great to get into logic, design and problem solving.

    I currently work in the IT field and have a pretty good command of HTML and CSS, and I troubleshoot JS all day but I don't/can't really build anything. I can read code, use devtools to figure out what's happening with api calls, etc, but to actually make anything of use I have a long way to go. Just figured I'd throw this out there to people that might be struggling with Youtube content and don't find books particularly helpful. And I am paying for access to Coursera in order to have proof of my progress personal development and and tangible documentation of my self guided study.

    If someone is looking to get some certifications, starting with the above and add Lynda to your study plans. Lynda's course content is very corporate feeling (think golf shirt/slacks or khaki's), much more so than Coursera and drier I found but great never the less. Should someone eventually want to get something like compTIA certifications or Cisco, they have very good prep courses and are the same content as some Udemy courses (Mike Myers Network+, Sec+), it's completely free from your library.

    Tip 1: Set the videos up to 1.25x or 1.5x. The presenters speak really slowly and take long pauses, speeding it up makes it essentially normal speed. Also use the documentation made by the language developers like Python.org, https://golang.org/, https://rubyonrails.org/, or MDN. You will have to learn to utilize official documentation, might as well use it straight away.

    Tip 2: Make a plan using this https://roadmap.sh/. You've heard it before and I'm stating it again; just pick a language that you find enjoyable to work with. Don't focus on money, or what kind of job you can get with it, just find something you find enjoyable enough to start building stuff that you're interested in or find useful. The underlining principals ARE EXACTLY THE SAME for each language, there's just nuances between them and strengths and weaknesses (eg. don't learn swift if you want to make Android apps).

    Tip 3: Quit trying to make things to impress other people, recruiters, or a game that will make you rich. Getting rich is a byproduct of doing something you enjoy and getting becoming one of the best at it, not a some get rich scheme. Make stuff that is for you and you find useful;

    1. Looking for a new house, planning a vacation; write a script that scrapes for deals that fit your criteria and sends you an email or text message with the results.
    2. If you're into security/privacy and an Android user; get your tinfoil hat, learn about LineagOS/GrapeneOS and make simple apps that you can use daily. Or make your own VPN with a free AWS or GCP account to use while at the coffee shop or school or set up a NextCloud server.
    3. For frontend; make some websites that do some wild shit. Bonus if it's something you're into regardless of how nerdy or boring you think it is. You can also just use it to post all the things you make to document your progress (again, can be hosted on a free AWS/GCP account or alternatively Github).
    4. Filing out job applications and detest filing out the forms with info that's on your resume? Make a script that automates that for you and scrapes for jobs that suit your needs instead of getting your inbox filled with spam daily.
    5. Like personal finance/investing? Go to r/algotrading and make a program that trades for you or uses historical financial information to make simulations eg. if you invested in company x, y and z in 1980 with $1000, how much would you have made today. Bonus if you could find a method of trading that would have beat the S&P500 from 2007-2017 for shits and giggles.
    6. My next little project inspired by r/dataisbeautiful, along with the other hundred I things I want to do, is to make a program that has all the current and new cases of COVID-19 and compare that to other viruses like SARS, Zika, Influenza then compare that to reported global homicide rates, accidental deaths, etc for perspective and scale. I don't care if it's been done already, it will be something interesting for me and I can define the criteria I was to explore. Like how many people are killed by vending machines compared to Coronavirus or how many died from severe allergies.

    Tip 4: Don't just grind away, practicing for hours and days on end without a purpose or enjoyment, but work at it everyday. This isn't a chore someone tasked you, unless your boss tasked you with learning it and even then you don't really have to in the grand scheme of things, but I digress... This should be something you find enjoyment in, curious by and genuinely want to learn. It's hard and extremely mentally draining so if it's a negative in your life you really shouldn't pursue it. Make that bookshelf if that interests you more, or quilting, trimming trees, painting houses, whatever it is there's no shame in any of it. I've seen so many people make an amazing living off of stuff you'd never expect like making custom mouth guards, making premium horse tack, selling seeds from hot peppers. Code doesn't have to be your only chance to make it.

    Hope it helps a few of you if your feeling lost finding resources that fit your learning style.

    Sincerely,

    - A chap that has been struggling to code for over 3 years and is well past his 20's.

    Edit: And of course I post it to realize I messed up the title. Typo's will get you every time....

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

    Petroleum & Natural Gas Engineer looking to learn Front End and Back End Languages

    Posted: 29 Feb 2020 07:38 PM PST

    First Gen college student from extremely poverty struck area in Southern WV. Now realizing that CS and CE majors knew what was up but I was naive since I was fresh out of my joke for a HS. Now that the oil and gas industry has screwed myself and many others out of steady work with solid pay it's time to change things up. I have little experience, but I have worked with basics of a few languages. (C++, Matlab, & lil bit of Java) From my General Engr HW assignments.

    I currently have my dated college laptop and one from where I work now but it's heavily restricted. Curious on what options I have here. Should I get a new laptop or PC setup so I can learn these languages efficiently or should I take my 9 year old college HP laptop with Windows 7 Professional and run with it. Been reading up and learning what I can on side with everything else going on in my life. Just think I need to switch to fields with more foreseeable longevity.

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

    Udemy course

    Posted: 29 Feb 2020 09:13 PM PST

    Hi, everyone.

    I'm currently learning JavaScript, HTML, CSS to become a software developer.

    I have finished Brad Traversy's Modern Javascript From The Beginning course on Udemy and I'm now learning from another course, 'The complete Web Developer in 2020: Zero to Mastery', instructed by Andrei on Udemy.

    Could you guys recommend some good courses about JavaScript, React, Node.js, front-end to back-end stuff to me? and I hope they are separate courses because All-in-one course is often lack of explanation in details.

    Appreciate it. 😀😀

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

    Modulus of Floats?

    Posted: 29 Feb 2020 08:19 PM PST

    I divide float by float and get a float, but I don't care about multiples of PI. So, I was thinking ((float / float) % PI), but the C modulus operator only works on integers. I can think of other ways to do this, but none are nearly as efficient as if % actually worked on floats. Is there some other shorcut to doing this?

    I'm asking here because I view this as a general technique, not language specific.

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

    Tutorial for deploying local web application to live system

    Posted: 01 Mar 2020 12:03 AM PST

    Hello everyone, since iam pretty new to web development. I am looking for some tutorial to explain me how to get my local running web application to be running live and online available. I was always working locally ( as a hobby ) with symfony framework and never got in touch with hosting and how to get my code on an live Environment. Any Suggestion on good tutorials, articles , etc.. about explaining the best approach to get my application live would be awesome. Thanks!

    submitted by /u/jdoe-dev
    [link] [comments]

    New in programming, with a project in mind!

    Posted: 29 Feb 2020 11:43 PM PST

    Which would be the best programming languages, and tools such as frameworks or libraries to make an app and website where I can create my family tree. I know there are pages that do this, but I want to learn how to do it. Books, YouTube channels, courses works for.me. thanks in advance for your attention.

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

    There seems to be two approaches to learning Web Development. Which of them is better?

    Posted: 29 Feb 2020 11:30 PM PST

    I noticed that there are two approaches to learning Full-Stack Web Development in 2020:

    1) Front-End First: This approach first has you learn HTML, CSS, and JavaScript (then a framework like React), then move on to Node.js on the backend. These developers are more UI-gurus focused on UI/UX, Design, React, React Native. This is definitely the focus of more Bootcamp grads and is more Front-End-focused. Node / Express is a means to an end to learn a backend framework in the same language (JS) as the front-end.

    2) Back-End First: This approach first has you learn Java or Python (or C#). You would first master back-end frameworks like Spring Boot or Flask/Django and use templating engines to render the HTML pages rather than be an expert on front-end frameworks. These people are more back-end focused, more likely to be CS grads with Java/Python experience from school, and don't seem to be interested in learning React / React Native or working on the UI/UX side as much as Front-End.

    Is one approach better to learning Web Development in 2020 as an ABSOLUTE beginner if you don't have preferences for either approach?

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

    Need a push in the right direction. C# API programming help

    Posted: 29 Feb 2020 11:15 PM PST

    I am having a hard time picking up C# programming in general. I am used to the structure of C++ but C# doesn't seem to make sense to me and I can't seem to figure out APIs.

    I want to build an API, for example, that simply authenticates to Devops and return the badges for my builds but I have no idea where to start, where to look, or what to do. I can't get past the template visual studio gives you.

    I want to learn....badly.... and I picked up SQL, powershell, and other languages very quickly and easily, I have a very logical way of thinking about everything but this is making me pull my hair out!

    What can I do to start?

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

    How do I create a computer program?

    Posted: 29 Feb 2020 11:09 PM PST

    When I mean "computer program", I don't mean a simple "Hello World!" output on a terminal that is written on a text editor but an actual software application.

    P.S. I'm not going to create one I'm just really curious how programmers build one, like what software do they use?

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

    Where to find documentation for Python errors?

    Posted: 29 Feb 2020 10:41 PM PST

    I know this is a dumb question, but I've been having trouble finding the lists of errors for various python modules. When watching tutorials for given libraries (e.g. "socket"), I usually pick up a handful of errors relevant to that library (e.g. socket.gaierror), but I'm wondering where I could find comprehensive error lists for any given library. Thanks for the help.

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

    Group learning when Self-teaching C# idea?

    Posted: 29 Feb 2020 06:08 PM PST

    Whether this is the place to say this or not, but I am a beginner for C#, I know very basics and still require a guides/googles/books to be able to do the basics

    I was wondering, if streaming my process of learning C# using resources like w3schools or other online applications would help?

    Silly I know, but I've streamed a pc build before and even if there were only 2-3 people in the chat, their input was always helpful and by talking out-loud it was almost helpful in its own way, it helped me realize not to do certain things or doing certain things differently. I mean talking to yourself is a little weird but saying things outloud gives you that "oooh wait a minute..." moments.

    Would streaming programming like this be beneficial or would it slow progress? Granted you never know who might be in the channel that may have discouraging words.

    I know some posts have had users stream or youtube their teachings.

    I'm not teaching (since I'm a beginner) but more just doing and hoping to get some people chime their knowledge while doing live sessions, or if they want to join along. You know? Either would be fantastic.

    I would be open to start something like this, a group setting of learning/working together and I'd be more than happy to stream it as I feel like it would be very helpful for not only myself but possibly others.

    I'd love to hear what peoples experiences are.

    Here is my Twitch for anyone who would be interested.

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

    Process of learning HTML to CSS to Javascript?

    Posted: 29 Feb 2020 11:13 AM PST

    Hey I just started learning HTML, I'm currently in a free trial for Team Tree House, they have great resources, I'm just wondering how does one go about to learning everything without confusing myself. I have been only watching HTML courses, I still have some more courses to go, some of the courses inter lap with CSS or javascript. Am I suppose to just bash myself into HTML head on for now, or do I watch these videos aswell? I've learnt so much of HTML already, but I don't feel confident in it, of course I'm only 10 hours into learn HTML. When should I start to move into CSS? HTML is pretty boring, I know that, and I'm pushing through, there is no stopping me, but I am wondering, what kind of steps you guys took to learn these 3, and the other questions I've asked through this post. Thank you!

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

    C# - Assistance with DB assignment - Probably a really silly mistake :(

    Posted: 29 Feb 2020 08:58 PM PST

    Hello! I recently started learning programming with C#, and am now learning about DBs. I am completely stuck with my assignment, hoping someone can tell me what I'm doing wrong...

    I wrote a shopping list console app. It has several classes but I will only paste the ones I suspect (for all, see My GitHub)

    A few comments:

    1. This is my first post ever on reddit - sorry if I broke some rules - I read all the ones for LEARNPROGRAMMING before posting :)
    2. I am extremely embarrassed to share this with anyone. I am sure it is toddler level code :(
    3. I have tried the rubber ducky approach. I am just not getting any kind of error. Nothing happens :/. It used to work when I used List instead of data base so I am sure it is just something I missed in the context class, but I don't know what!

    Problem:

    When a user runs the program, they get a prompt asking if they want to create or edit a new list. If they choose to create a new list, they get navigated back to the "welcome" page where they can add or remove products.

    It all runs smoothly without errors (I haven't learned exception handling yet):

    1. While DB was created (locally), the rows are null for each table
    2. My method to print all products/lists doesn't run (probably as a result of #1)
    3. The method to print the lists is in the Program class:

    private static void PrintAllShoppingLists() { Console.WriteLine("Your email address?"); var emailadd = Console.ReadLine(); var lists = Factory.GetShoppingListsByEmailAddress(emailadd); foreach (var sl in lists) { Console.WriteLine(sl.ShopListName + " | List ID: " + sl.ShopListID); } } 
    1. Factory.GetShoppingListsByEmailAddress: ("db" is a ShoppingListContext property)

      public static IEnumerable<ShoppingList> GetShoppingListsByEmailAddress(string email) { return db.ShoppingListsTable.Where(sl => sl.ShopListEmailAddressOfOwner == email); }

    I am pretty sure I forgot something important in the ShoppingListContext class, however, being new to this, I really dont know what...

    • ShoppingList

    using System; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System.Text; namespace UltimateShoppingList { class ShoppingList { #region Properties public string ShopListName { get; set; } public int ShopListID { get; set; } private static ShoppingListContext db = new ShoppingListContext(); public Groups ShopListUsers { get; set; } public DateTime ShopListCreatedDate { get; set; } public string ShopListEmailAddressOfOwner { get; set; } 
    

    No comments:

    Post a Comment