• Breaking News

    Friday, February 26, 2021

    What have you been working on recently? [February 27, 2021] learn programming

    What have you been working on recently? [February 27, 2021] learn programming


    What have you been working on recently? [February 27, 2021]

    Posted: 26 Feb 2021 09:00 PM 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]

    One year ago I lost my job and started coding. Today, my first open source project gets released!

    Posted: 26 Feb 2021 07:04 AM PST

    Hey /r/learnprogramming, been lurking here for little under a year but never posted. Wanted to share a major milestone in my journey of learning programming.

    After my old job (film) got destroyed by COVID on March 16th, I began learning to code at home. I made dumb little C# games and stuff for the internet, but thought there was no way I'd ever make something "professional" looking. Turns out, making dozens of projects for fun helps you learn really fast and today me and 3 other guys released a Next.js GraphQL schema generating tool.

    Anyways, I won't recommend my workflow to others, but here's my yearlong process:

    • Work LONG: I'd code 10-15 hours a day at the beginning of COVID. My sleep schedule was ruined and I would go to bed by 7am, but I learned SO FAST for half a year doing this.
    • Watch the long boring videos: If you don't have time to listen to a 2 hour lecture on an important concept versus 5 minutes version, then you've either got no patience or an actual job/life/hobbies, for which I applaud you. Please tell me what it's like, I haven't seen the sun in so long.
    • Jump into fun projects: I know I'm a project based learner and never intended to "learn" complex subjects, but having a goal forces you to tackle new concepts. If you don't know what you SHOULD be learning, projects tell you very quickly.
    • Copy/paste first, asked questions later: this one might be the worst advice, but yoinking someone's code from stackoverflow isn't always a bad way to learn. Just because you didn't write it doesn't mean you can't dissect it and learn how it works.
    • Post your projects online: my dumb little C# game? Blew up out of nowhere, and amassed almost a couple thousand followers in 3-4 months. I made lots of friends out of this and got invited to Discord's with other programmers where we share projects/code with each other.

    As you can see it hasn't exactly been an easy year but without a doubt the most FUN and fulfilling one that's ended with 3 languages learned, several fun and dumb projects, many new friends and finally something "professional" to be proud of.

    My goals for the next year:

    • Finish my game (duh) and make a Kickstarter.
    • Find a job as a Front End Developer.
    • Learn a lower level language, maybe make a game C++ with SDL?

    I hope that this can be helpful to people who maybe aren't having enough fun learning to code. If you have any questions for me, please ask! I'd love to talk to someone about this, considering I haven't left my room for a year. Thanks everyone!

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

    Programming exercises for beginners – cscx.org

    Posted: 26 Feb 2021 10:52 AM PST

    I have created a website aimed at teaching programming through quick examples in the form of exercises. It is called "Computer Science by Example (CScx)": https://cscx.org/

    The exercises start very simple (e.g. print "Hello, World!" and read two numbers and print their sum) then increase in difficulty and complexity gradually (e.g. sum of digits and the change-making problem). The website has an "online judge" functionality where students can submit their solutions which are tested and graded automatically, i.e. without human intervention. It currently supports solutions in Python, C, Haskell, C++, C#, Java, JavaScript, Lua or Ruby.

    The exercises are useful not only to first time programmers, but also to experienced programmers trying to learn programming in a different language.

    Check it out at https://cscx.org/. The exercises are freely available for anyone to try.

    I sometimes participate in the comments of the learnprogramming subreddit and I think this may be a useful resource for learnprogramming members.

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

    From fired to going to a coding Bootcamp to web developer in 3 months

    Posted: 26 Feb 2021 02:16 PM PST

    I made a post about getting fired for attending a coding bootcamp a couple months ago here: https://www.reddit.com/r/learnprogramming/comments/j7qfca/fired_for_going_to_coding_bootcamp/

    CEO found my website, freaked out, fired me. I didn't sue. CEO didn't sue me. I doubled down on studying and applying to jobs and got a full-time web developer role about 6 weeks after my Bootcamp ended.

    Doing ruby on rails and javascript work. I started my new job in January. During the pandemic. After attending a part-time Bootcamp after having an unrelated career and no coding experience. I didn't grind leetcode. I work at a little tiny company with a less than 10 person dev team.

    Enjoying the job so far. Don't have an asshole boss anymore. Would rate this experience 10/10. 10/10 with rice.

    TLDR: Follow your dreams. Learn to code. Get fired for learning to code. Worry about getting sued and think about suing. Get that web developer.

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

    Just what kind of things do people actually make by programming?

    Posted: 26 Feb 2021 08:09 PM PST

    I am always curious. People talk about making projects all the time but what do they make? Apps? Games? Websites? What kind of things do you guys make?

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

    What kind of programming is used to crack files?

    Posted: 26 Feb 2021 10:26 PM PST

    Like those people who crack encryption (not exactly sure if that's what they are doing, just a layman guess) for files like movies/shows/game and put up on torrent sites for mass distribution. I always wondered, back when I used piratebay, how they made movies and games free (even though illegally I think).

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

    Was python the wrong language to start with?

    Posted: 26 Feb 2021 07:29 PM PST

    I've been doing a python course on Udemy for a couple weeks now. While I follow along with the lessons, it's easy enough to understand how things work....until it gets to the tests and challenges.

    But here's where I get frustrated. When I get to the tests, I get super angry at myself that I have to go back through the course notes to figure things out since I can't remember certain things. But it's even worse when I have to see what the answer is (they give solutions to the problems, which I try and fail to avoid using).

    I hate that I can't do these things off the top of my head and that I still don't understand what some things do. Hell, I sometimes can't grasp how some solutions to problems work sometimes. I'm starting to think that python was the wrong language to start with.

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

    What is the best way to learn to code? And how do you personally do it?

    Posted: 26 Feb 2021 03:21 PM PST

    Just want to gather some information and do some research about what the best way to learn to code is. I have my own: I watch a video, take notes and rebuild the code. Also I add comments to the code and expand on the tutorial.

    What is your learning process? Comment below

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

    How do you learn the theory parts of programming?

    Posted: 26 Feb 2021 11:53 PM PST

    By theory parts,i mean loops,if-else etc.Do you make notes?

    ?.if not how do you remember the theory parts.If you do make notes,doesn't it take up a lot of your time.

    I don't know whether I should take notes or not.If i take notes,it wastes a lot of my time but then if i do not take notes,then I end up forgetting everything i have learned

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

    Django or MERN

    Posted: 26 Feb 2021 11:28 PM PST

    Hey I'm like super interested in web dev and app dev and stuff, so I decided to give it a try. I learned python,but idk javascript. So should I proceed with python+django or study java and get on with mern. Also please explain why. Thanks a lot. :)

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

    Big Data Certification Courses at UW?

    Posted: 26 Feb 2021 11:26 PM PST

    Has anyone taken the Big Data Certification courses at UW?
    https://www.pce.uw.edu/certificates/big-data-technologies

    I'm currently a software engineer but know very little about big data. The price, however, of the course is really high. It is about $4500 total for all 3 courses. I'll be leaving my job soon so it is something I'll have to pay for myself.

    For anyone who has taken the course.... Did you find it useful? Did you learn a lot or just a moderate amount. Was it worth $4500? Did the assignments/projects teach you a lot of relevant things?

    Is there, by any chance, an alternative free course that covers the same material?

    Thanks!

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

    Resource for new software development tools?

    Posted: 26 Feb 2021 11:23 PM PST

    Hi,

    Does anyone know of a good source for keeping up to date with new interesting development tools and resources? (beyond stumbling into finding them while working on a project)

    submitted by /u/Ollie-Armitage
    [link] [comments]

    Creating a simple equation calculator using sympy. Fairly new to python, can you assist me?

    Posted: 26 Feb 2021 11:19 PM PST

    So I am creating a calculator for rearranging equations for any algebra questions. For example like Y=MX+C and rearrange to make C as the subject and enter the variable to solve in number.

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

    So I’m making a website for a card game and I’ve made a deck and shuffled it with js. I’ve even handed out the cards to specific players. But how do I get each card to have its own img attribute.

    Posted: 26 Feb 2021 11:06 PM PST

    My code is:

    //create a brand new deck function createDeck(){ const suits = ['H', 'C', 'D', 'S']; const ranks = ['2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K', 'A']; let deck = []; for(let suitCounter = 0; suitCounter < 4; suitCounter++){ for(let rankCounter = 0; rankCounter < 13; rankCounter++){ deck.push(ranks[rankCounter] + suits[suitCounter]); } } return deck; } //shuffle a set of cards function shuffleDeck(deck){ for(let reps = 0; reps < 7; reps++){ for (let i = 0; i < deck.length; i++){ let tempCard = deck[i]; let randomIndex = Math.floor(Math.random() * deck.length); deck[i] = deck[randomIndex]; deck[randomIndex] = tempCard; }} return deck; } 
    submitted by /u/NathanTuc
    [link] [comments]

    Python Print Issue

    Posted: 26 Feb 2021 11:02 PM PST

    import random
    name = ""
    question = "Am i going to pass highschool? "
    answer = ""
    random_number = random.randint(1,9)
    if random_number == 1:
    anwser = "Yes - Definitley"
    elif random_number == 2:
    anwser = "It is decidedly so."
    elif random_number == 3:
    anwser = "Without a doubt."
    elif random_number == 4:
    anwser = "Reply hazy, try again. "
    elif random_number == 5:
    anwser = "Ask again later."
    elif random_number == 6:
    anwser = "Better not tell you now."
    elif random_number == 7:
    anwser = "My sources say no. "
    elif random_number == 8:
    anwser = "Outlook not so good."
    elif random_number == 9:
    anwser = "Very doubtful. "
    else:
    anwser = "Error"
    if question == "":
    print("The Majic Ball Cannot Give You an Answer Without A Question")
    else:
    if len(name) == 0:
    print("Question: " + question)
    print(answer)
    else:
    print(name + " asks " + question)
    print(anwser)
    I tried running this code neither print(answer) statement works. it prints the first print statement but doesnt print the second one?

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

    Anyone else having issues with Atom on new MacBooks?

    Posted: 26 Feb 2021 10:50 PM PST

    I've been having a recurring issue with Atom on Mac where it will stop responding and I need to force quit every now and then. Maybe every couple hours or so

    Not the biggest deal, except when I force quit it leaves a bunch of threads open for some reason and slow down my computer after a while. I then need to restart the whole thing

    There's a GitHub thread on the issue and I tried their "fixes" but no dice. I'm thinking about switching text editors but really don't wanna change up my workflow because I like the git GUI

    Is anyone else having this problem? If so has anyone been able to fix it?

    Specs: 2020 13" MacBook lo Pro with the M1 chip, 16 GB RAM, running Mac OSX Big Sur 11.1

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

    How can I gain more experience and buffer my CV?

    Posted: 26 Feb 2021 06:48 PM PST

    Recently I've been forced to leave my undergraduate chemical engineering degree in my third year. It's been a pretty bad episode in my life, but my fire is back and there's one thing that did come of it it was that I discovered a love of MATLAB. I've since branched out into learning Python as well and have started on a few beginners projects - mostly data scraping and analysis. It's simply not possible for me to go back to university at this point, and internships seem to be available only to students, so beyond building a portfolio and branching out further, what could I do to gain more experience? Are apprenticeships a viable option? I'm not expecting anything to happen overnight, but I would like to get my foot on the ladder so to speak. Cheers!

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

    Help with Xpath for Octoparse

    Posted: 26 Feb 2021 10:27 PM PST

    I am trying to grab address and Phone numbers for companies using Bing maps with Octoparse but I can't grab Phone numbers with default Xpath for all the search results. I've customized Xpath for Address using sibling method and it works great

    //*[@id='saplacesvg']/following-sibling::div 

    but I can't do the same for Phone numbers, here is a test url that I am trying to work with https://www.bing.com/maps?q=fortvale.com+UK+phone+number

    I can see svg id="sacallsvg" looks unique and this can be used with sibling method but somehow I can't make it work.

    Any help will be appreciated

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

    I need (•_•)

    Posted: 26 Feb 2021 10:27 PM PST

    i need someone with whom i can learn python together

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

    [C] Memory Leak Question (Trie)

    Posted: 26 Feb 2021 10:02 PM PST

    Full disclosure this is a homework assignment and I've spent much more time in other programming languages than C. I've been working on this the past week, but have been stuck at a wall.

    When I run my program through valgrind I am receiving a direct memory leak in my setRoot function which is causing me to lose the rest of my trie. I have essentially duplicated the code in setRoot to be the same as my other function that creates all the other nodes in the trie. Any tips or advice you may have on what could be causing this issue or any hints on why I have a direct memory loss in setRoot but not newNode? Valgrind showed 280 direct bytes lost leading to 59,920 indirectly lost on my test file.

    Thanks for taking the time to look, there is a link to my code below.

    https://ideone.com/J2khfy

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

    I made a CRUD app that lets Reddit users recommend reading material to users of other subs.

    Posted: 26 Feb 2021 09:55 PM PST

    Hello! I've been coding for a little over a year and a half (not full time). I've done some finance and accounting based scripting for work but this is my first attempt at a website.

    The website is not live yet, essentially because I want to add a feature that limits how many times any user (based on IP) can vote on a specific book (everyone should get one vote). But beyond that I have all the functionality I want. Here is the code.

    I fundamentally have two questions:

    1. Is there a better way this code can bet written? A buddy has looked over my code and I realized I did some foolish things, like build a one-to-many relational database instead of many-to-many database, and to compensate for that that I'm unpacking my database into nested dictionaries to get the data displayed in the format/system that I want. Flask should be able to simplify a lot of that for me if I just use a joiner table and Jinja2.
    2. What's the bets library/method for reading cookies that can accompany flask? I haven't got the slightest clue about web security/networking so I don't even know where to start looking into something like recognizing a user who's already visited the site before but has no account.
    submitted by /u/Mapverse1
    [link] [comments]

    Need help with Asymptotic notation

    Posted: 26 Feb 2021 09:53 PM PST

    For this equation,

    F(n)=1/3n^2 + 6n

    Is F(n) BigO? or O(n^3/2)

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

    What actually is a interface in the realm of programming languages?

    Posted: 26 Feb 2021 06:01 PM PST

    I'm having a hard time with the conceptual side of programming for as long as I can remember, but I'm stuck thinking about what characterizes a interface in a programming language for a long time. If anyone could elucidate my question or ponit some resources that I can look for. Thanks

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

    Rant about Xcode that just sent me down a rabbit hole

    Posted: 26 Feb 2021 09:35 PM PST

    Code worked fine in Xcode which I wrote the code in from start to finish right up until deadline. Double checked code in VS and it has (2) discrepancies throwing bugs!!!!!!!!!!

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

    I started making videos about programming. This is my first video. I can use some feedback on what you guys think.

    Posted: 26 Feb 2021 09:33 PM PST

    I am a newbie to this subreddit, but old when it comes to programming. I am not really sure if this video is for the people of this subreddit, but as this sub inspired me to start making videos on programming, though it is fitting to share the first video here.

    https://youtu.be/YgEESbdYrlE

    Let me know what you guys think.

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

    No comments:

    Post a Comment