28 and looking to move from inside sales to programming learn programming |
- 28 and looking to move from inside sales to programming
- Help with an interview question I could not answer.
- I created a game in javascript where the player has to catch pancakes that fall. For some reason, the speed of each pancake increases at the beginning of each level and then returns to normal, and I have no idea why! thank you!
- Introduction to WebScraping with Python, Beautiful Soup and Requests
- Do you guys know of any audio only resources to help a person learn the concepts of programming (just to help me in my car as I drive around)
- How to finish a project?
- At home mom failing at becoming a software developer
- How do programming languages interact with each other?
- Programming games?
- Help with Python code on Udacity CS101 Course
- Help with pointers in C
- How do you take notes while working on a project/task
- Building a portfolio
- How do i incorporate python scripts into HTML?
- I'm a 15 year old and want to learn Java
- I'm looking for some good HTML&CSS tutorials (no videos please)
- Using Github as a backend database server?
- Beginner's PHP Tutorial
- What I learned from making a Chrome extension and the code review post I made
- [Java] Why can I assign a boolean in this IF statement?
- Programming for drones
- [Code Review] Cows & Bulls - Implemented using Python
- Python simple question
28 and looking to move from inside sales to programming Posted: 21 Mar 2019 06:40 AM PDT Hi /r/learnprogramming friends I have taken an interest in the last few months in the idea of changing my career path and learning coding. I have started using FCC and am moving along at a slow and steady pace. I know success in this doesn't come overnight and requires some tenacity. Getting to it once per week right now is kind of a hurdle. I am trying daily to motivate myself to find an extra hour in every day to get some lessons in. I just need to keep with it and I know soon enough I'll have the course completed. I am coming from a sales background. I used to have a pretty broken up work schedule. Recently, I took an inside sales job with an internet/technology vendor. After 6 months of a M-F commute, I am sold on the idea of working from home. I am also sold on a new career path. Programming looks like a good choice for independence and work-from-home opportunities. I'm wondering what the programming job market looks like currently for remote work opportunities. I live in rural Ohio and I'd like to work without a commute. My question is if anyone has had luck finding remote programming work with success. I would also appreciate any tips or pointers on changing careers moving into programming. Once I have some projects under my belt, I plan on starting a Github portfolio and sharing it with prospective employers. Like I said, I know it won't be an overnight thing, but this is my goal and I understand that work needs to be done to get there. Thanks in advance for your responses! [link] [comments] |
Help with an interview question I could not answer. Posted: 21 Mar 2019 11:47 AM PDT I went to my first frontend developer interview and of course I was nervous but they asked me a question that I could not answer. It went like this... "Using HTML and CSS without JavaScript how would you take a list of say 500 people and sort them alphabetically and only show one at a time. Then make a buttons so everytime the button is clicked it goes to the next person." When I was just staring with a blank face after a minute he gave me a hint saying something about using the z-index. I know about the z-index and how it can layer over one another but I didn't get how it worked with this question. How would you answer this?! Thanks in advance! [link] [comments] |
Posted: 21 Mar 2019 06:40 PM PDT Edit: so the pancake is no longer speeding up at the beginning of the next level. However, the logic behind my ms speed variable was incorrect and it seems that the loop doesnt speed up from 10 to anything less than ten milliseconds. Any advice? Running the same loop fall() multiple times makes it laggy. Working code that is runnable (USE THE LEFT AND RIGHT ARROW BUTTONS TO MOVE PAN!!!): https://studio.code.org/projects/applab/EHndphv5YUIpqWS2aQR-N_txs9b2nH3zG5OXqo9Yq4g Hello, I am in an introductory computer science class and we have to make a program. Mine is a game where you catch pancakes as they are falling. In the function fall(), I have a timed loop where a pancake image falls. I normally assigned it a variable, ms, that changes the number of milliseconds, so as you progress, the pancakes fall faster. However, I noticed that at the beginning of every new level, the first pancake to fall is much faster. I replaced the ms in the timed loop with a constant 2, and it still happens at the beginning of each new level, as seen in the video. Why is this happening and what can I do? Thank you for any help. I attached my code below, and the bolded portion is what should be necessary. hideElement("scorepositive"); hideElement("scorenegative"); var colors=[]; function changecolor() { colors=rgb(randomNumber(0,255 ),randomNumber(0,255 ),randomNumber(0,255 ),0.32); } changecolor(); setProperty("screen1", "background-color",colors ); setPosition("pan", 80, 300, 200,200); setImageURL("pan", "frying_pan_PNG8360.png"); var pancakeimages=["kisspng-banana-pancakes-scrambled-eggs-breakfast-ihop-pancake-5abe8257eb8262.1142069015224346479647.png", "pancake_PNG1071.png","pancakge4.png","pancake5.png"]; var x; var y; var xpan = 45; var ypan=320; var p=0; var score=0; var level =1; //ms is the time in milliseconds the fall function waits before looping. var ms; findms(); function findms() { ms =((Math.pow(.95,level))*(1/.95)); } setText("score", "Score: "+score); onEvent("start", "click", function( ) { start(); //hideElement("start"); }); //i is used to change the pancake image every time one falls var i =0; function start() { ms=(ms*.9); showElement("pancake"); setImageURL("pancake", pancakeimages[i] ); i+=1; if (i>pancakeimages.length-1) { i=0; } x=randomNumber(0,320-75 ); y=-100; setPosition("pancake", x, y, 100,100); fall(); } //code responsible for the image "falling" function fall() { timedLoop(2, function() { setPosition("pancake", x, y, 100, 100); y=y+1; if (y>550) { stopTimedLoop(); scoreupdate(-5); start(); } if ((Math.abs(y+getProperty("pancake", "height")-ypan-150)<15)&&((Math.abs(x-xpan))<25)) { stopTimedLoop(); hideElement("pancake"); scoreupdate(5); p++; if (p==(5+level-1)) { newlevel(); } start(); } }); } //updates scores and stats on screen var timer=1000; function scoreupdate(scorechange) { score=score+scorechange; setText("score", "Score: "+score); setText("scorepositive", "Score + "+scorechange + " "+score); setText("scorenegative", "Score "+scorechange +" "+score); if (scorechange>0) { timer=1000; setTimeout(function() { flash("scorepositive"); timer=timer*0.75; setTimeout(function() { flash("scorepositive"); timer=timer*0.75; setTimeout(function() { flash("scorepositive"); }, timer); }, timer); }, 0); } else if (scorechange<0) { setTimeout(function() { flash("scorenegative"); timer=timer*0.75; setTimeout(function() { flash("scorenegative"); timer=timer*0.75; setTimeout(function() { flash("scorenegative"); }, timer); }, timer); }, 0); } } function flash(id) { setTimeout(function() { showElement(id); setTimeout(function() { hideElement(id); }, timer*0.5); }, 0); } function newlevel() { p=0; level++; setText("level", "Level: "+level); changecolor(); findms(); start(); } //begin written by partner1 - moves the pan on the bottom of the screen onEvent("screen1", "keydown", function(event) { xpan=getXPosition("pan"); ypan=getYPosition("pan"); if (event.key=="Right") { xpan=xpan+5; if (xpan>250) { xpan=249; } } if (event.key=="Left"){ xpan=xpan-5; if (xpan<-80) { xpan=-79; } } if (event.key=="Down"){ ypan=ypan+5; if (ypan>340){ ypan=339; } } if(event.key=="Up"){ ypan=ypan-5; if (ypan<280){ ypan=279; } } setPosition("pan",xpan,ypan); }); //ends written by partner 1 [link] [comments] |
Introduction to WebScraping with Python, Beautiful Soup and Requests Posted: 21 Mar 2019 04:37 PM PDT Hey guys I made a video on how to do some simple webscraping with python and I thought it might be relevant here. The tutorial uses BeautifulSoup and requests for a very simple but I think practical example. Hopefully if you watch through the video, afterwards you may have an idea or two on how to use this for your purposes. Feel free to comment if you have any questions! [link] [comments] |
Posted: 21 Mar 2019 09:29 AM PDT First off I'm well aware it's nearly impossible to learn how to program without visual help or programming itself but I'm doing those things already. This would be in addition to help me learn and internalize everything faster. I have a job where I drive around a lot. I'm in my car probably 30 hours a week and I would really like to have something to listen to that can kind of help me out as well. Like I said I will be doing these things IRL also so if I can listen to audio talking about the things and it will help remind me of when I was doing that and kind of reinforce that memory. Also I'm okay with it being on Youtube in video form as long as I don't have to look at the screen lol like I can listen to a TED video or something in my car even though it's a video I don't have to watch it. [link] [comments] |
Posted: 21 Mar 2019 10:39 PM PDT I'm finishing my junior year of college and I have a few small side projects. Nothing major that I feel like could really set me apart. Whenever I have an idea for a bigger project, I always seem to get a nice start on the project, and then mid way through I seem think "oh this is a better idea!" and I switch my focus to a different project. Any tips on how to stick with a project and actually finish them?? [link] [comments] |
At home mom failing at becoming a software developer Posted: 21 Mar 2019 08:15 PM PDT Hi I wanted to come here for help. I am looking to get a remote software engineer job because I am a stay at home mom. I began learning but my motivation just completely waned. I learned HTML, CSS, and js to a upper-beginner(?) to lower intermediate level. Now I'm trying to tackle reactJS so that I can start building a project in react. That being said...I have 0 motivation. I mean, my husband brings the basic necessities so you can say there's a lack of urgency. Plus... I don't really NEED a job but it would help me so much if I did. For one thing I'd move up from an at poverty family situation to some place better. How do I feel? I feel extremely guilty the whole time I'm not working on realizing my dream to become a software engineer I feel bad that my laziness got the best of me Idk what to do.... Maybe this is just a rant ...sigh just help with whatever words you can give I'm going the self taught route btw [link] [comments] |
How do programming languages interact with each other? Posted: 21 Mar 2019 06:23 AM PDT Hi friends! (Sorry, mobile user) Second year undergraduate CS student here. Something I've always wondered is how programming languages work together to make one program. For example, when people use different languages for a front end and back end, or how Spotify (I think) used multiple languages like C++ and Python to be created. I haven't taken an extensive software engineering class yet, and I've always been curious. Thanks! [link] [comments] |
Posted: 21 Mar 2019 09:47 PM PDT Just saw (adventure land - the code MMORPG) on steam. I'm curious if you actually learn or practice real coding with games like this? Is it any good? Is there better? [link] [comments] |
Help with Python code on Udacity CS101 Course Posted: 21 Mar 2019 07:04 PM PDT Hi everyone, I'm working through the Unit 2 problem set and keep getting the error "program does not terminate" when I try to submit. Unfortunately the pop up that appears doesn't tell me what inputs are causing my program to loop forever. Here's the problem and my code:
The test cases that Udacity provided me all work, which are shown below: #print find_last('aaaa', 'a') #>>> 3 [link] [comments] |
Posted: 21 Mar 2019 11:12 PM PDT Can anyone explain why in the following code on the second iteration of the loop b and a are the same address? I assume that assigning b to the (old) a would mean *b would be 0, but apparently both a and b point to the same object. Thanks. output, with n = 3: [link] [comments] |
How do you take notes while working on a project/task Posted: 21 Mar 2019 10:53 PM PDT Title says it much. Personally I create an .md file in vscode for each task I work on, write my thoughts, what I need to do, code snippets. There's no syntax highlighting because it shows you the "raw" version or the file. I prefer it anyway because I don't to separate code and notes. Paper for quick schemes and similar. You? [link] [comments] |
Posted: 21 Mar 2019 04:41 PM PDT Hello all! I am sort of new to programming and really haven't coded anything unique since MySpace was around... I know pretty much everything about html/css from using MySpace and Neopets. Honestly, this is how I got my love for it. I'm using free code camp to get into the swing of things and learn how to code using java. Where should I store my portfolio? I know github is commonly used but will this show samples of my code? Also, are there jobs you can get while learning? [link] [comments] |
How do i incorporate python scripts into HTML? Posted: 21 Mar 2019 08:14 PM PDT I'm using the Spotify web api as an introduction to using an api and reading documentation, and right now I'm restricted to entering inputs via the console, which is fine, but since I'm learning HTML this year in college, I thought it'd be easier to make a local webpage that can take the inputs and display results. I think I have a good handle on how inputs and sending the information somewhere else to be processed works, but I have no clue what the python should look like to actually accept the information, or how to return something to the webpage to be displayed. [link] [comments] |
I'm a 15 year old and want to learn Java Posted: 21 Mar 2019 09:59 AM PDT As the title says, I'm 15 and want to learn a new programming language, I already know python and want to know where to go to learn Java [link] [comments] |
I'm looking for some good HTML&CSS tutorials (no videos please) Posted: 21 Mar 2019 07:58 PM PDT I know, I know... HTML and CSS is not programming. But this is pretty programming related and so I thought it's okay to ask in this subreddit. Since I'm a little bit bored in my internship I want to learn HTML and CSS. I've already learned a little bit JavaScript and would like to get a little bit deeper in the formatting stuff and let things better looking. [link] [comments] |
Using Github as a backend database server? Posted: 21 Mar 2019 10:40 PM PDT So, I have an event conference coming up in few months. I just made a github io site that is free. I want to host an event registration form online where people can fill out the necessary information fields, like name, age, etc. once they filled out the form and submit it. How can I retrieve that information so I can make name tags? Can i do that on github io site and use github as a database for that? Help me out? I appreciated it. Thanks! Edit: i am a complete noob so this is my first forray into understanding database and backend stuff. It's scary. [link] [comments] |
Posted: 21 Mar 2019 10:12 PM PDT Hello Everyone, I created a tutorial for beginners who are starting learning PHP. This tutorial has plenty of examples and most of them are well described. Also, I use appropriate images to easily give the idea to learners and to make it easy understand. Here's the link of the tutorial. https://developer.hyvor.com/tutorials/php/introduction Check it out and let me know your ideas. Thank you. [link] [comments] |
What I learned from making a Chrome extension and the code review post I made Posted: 21 Mar 2019 11:19 AM PDT Hello again :). I'm Jared, the guy from this code review post a while back, about the Google Chrome extension Capture. Well, I finally got the dang thing published! It's available here if you're really curious, though the point of this post isn't a self promotion (I hope it doesn't come off that way). Rather, I wanted to talk about some overarching lessons I learned through this whole process, and specifically what I learned from all the great feedback on the code review post. My hope is that may be helpful to others? At the least, you should read u/VolitiveGibbon's second reply on that thread. I doubt many people saw it since it was made well after the post left the front page. However, I'd say it was equally as helpful and insightful, if not more, than first one they made! I highly recommend giving it a look; it may save you many, many programming hours in the future. Seriously, it's half the reason I'm making this post -- just give it a look. It's about the benefits of wrappers. Just to back up for one second for anyone totally lost as to what I'm talking about: Capture is a Chrome extension I made. It lets you save tabs away, along with a note, such that you can easily open the website associated with your note. It also has a tag system. You make Chrome extensions with plain old HTML, CSS, and Javascript. I made a post a while back asking for a code review and got a lot of great feedback. I wanted to go over what I learned. So without further ado, here's some of the lessons I've learned throughout this process:
And to wrap up, here's some of the smaller ones that I don't think need bolding: Functions should do one thing and one thing only, and they should do it well. Ideally, don't mutate your arguments either -- just return new objects. Also, try to use const wherever you can in Javascript; it makes your code easier to think about, in general. Lastly, never underestimate how long a project will take. I am of course still learning too, so I am open to any suggestions if you have them :) (for the code or the extension or the UI, whatever). I'd say Capture is only in Alpha right now, so it still has plenty to go. Either way, I hope the post was helpful in some way. I've at least learned a lot by all this. Have a good one! TL;DR: Made a Chrome extension called Capture. Made a code review post for it and got a lot of good feedback. Main things I learned are a) you should really use the modern techniques for async JS code, b) refactor mercilessly, and c) encapsulation via classes in OOP is incredibly useful, because it improves your future attainability, and lets you create simplified interfaces that make your code much easier to reason about. [link] [comments] |
[Java] Why can I assign a boolean in this IF statement? Posted: 21 Mar 2019 09:39 PM PDT This compiles
This does not compile
Why? [link] [comments] |
Posted: 21 Mar 2019 09:37 PM PDT New to programming so which language is most suited for the programming of drones? Additionally where do i start the programming and ensure it results in a feasible working drone? [link] [comments] |
[Code Review] Cows & Bulls - Implemented using Python Posted: 21 Mar 2019 09:33 PM PDT First code post! I have been thinking of making this "game" for a while now - and decided to get down to it - took me under 10 hours to get here. Proving to me I don't actually suck too badly at programming. How ever I feel very uncertain about the quality of the code & how I'm going about it. I did check-out the style guide, and think that my code is quite consistent - but would love to get some review. Review areas:
Here's my repository : https://github.com/robothormones/cowsnbulls Here's the read-me for the game: https://github.com/robothormones/cowsnbulls/blob/master/README.md To play: Run : https://github.com/robothormones/cowsnbulls/blob/master/begin_game.py Thanks & Looking forward to your inputs. [link] [comments] |
Posted: 21 Mar 2019 05:25 PM PDT I am making a simple calculator in Python but I am having some trouble understanding these basic functions, could you help me clarify my understanding? def add (x, y): return x + y This function is defining the 'add' variable to produce a 'variable + variable' function when we call it. So from a students perspective, the x and y are just place holders for the two choices that a user would input? print (num1, "+", num2, "=", add(num1, num2)) This one is the tricky one, for me. What I do not understand, is:
Thanks guys would appreciate some help with this. [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment