• Breaking News

    Monday, August 26, 2019

    Starting a Coding Club at my HighSchool learn programming

    Starting a Coding Club at my HighSchool learn programming


    Starting a Coding Club at my HighSchool

    Posted: 26 Aug 2019 04:06 PM PDT

    Hello, r/learnprogramming! I am a senior at my high school and I've been talking to the administrators about starting up a coding club at my high school. They have given me the go-ahead as long as I can find an instructor to be in the room, because of the rules of a club. We have found a teacher that is willing to stay after with us so that's good so far! I was also informed that if we let the middle schoolers come over after school and be apart of the club we can earn a grant for our school to help our school as a whole. What I would like to know is what are some things I can use/do to teach my fellow club members and to keep them wanting to come back. Any feedback would be great because I do want this club to be successful at our school because anything dealing with tech at my school is almost non-existent so giving people who are interested in learning about coding; an outlet to come and practice and make new friends would make me very happy! Thank you for your time if you do respond and thank you for reading! :)

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

    What separates a good programmer from an average one, and that from a poor one?

    Posted: 26 Aug 2019 09:28 PM PDT

    I'm starting to realize anyone really can learn to code, but obviously there is good and bad programming. So what makes a programmer good at what they do opposed to someone who isn't? Is it just attention to detail to sum it up, or is there more to it?

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

    Are my "useless" project ideas worth trying?

    Posted: 26 Aug 2019 10:48 AM PDT

    So over the past few months I have been thinking of what kind of side project to do to help build my resume. However every time I come up with an idea, I find some reason that stops me from attempting it. And it almost never has to do with skill or difficulty.

    I always hear from others to "try and fix an issue you have in everyday life using your CS skills", but I just can not ever think of one. I do not know why. Because of this, I end up thinking of projects that do not really solve anything. And this is kind of what prevents me from starting them. The main function of the programs I think of really don't seem useful for anyone.

    So... my question will probably seem really dumb but... Do side projects need to be useful or solve problems?

    For example, one of the main ones I am thinking of doing is a python web-scraping python tool that gathers movie ratings from IMDB/Rotten Tomatoes and stores them in a SQL database if they are within a certain rating range. The python tool then suggests you a movie to watch.

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

    Are there any programming communities for socialising?

    Posted: 26 Aug 2019 06:10 PM PDT

    I'm self-teaching programming and I'm looking for an online community where I can get to know fellow programmers, wherever they are in their programming journey. I know of forums like reddit, quora, Stack Overflow, github, etc but it's geared towards solving problems or answering questions and not meeting similar people to journey together. I'm not sure if it exists but any help will be greatly appreciated

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

    Looking to Get Into Coding

    Posted: 26 Aug 2019 07:17 PM PDT

    I'm 19 and have always had this aspiration sitting in the back of my mind to learn coding languages. I always figured I just wasn't smart or patient enough to code, but I think I'm finally at that "screw it" point where I just want to give it a shot. I used to know some JavaScript when I was about 14, but I pretty much forget everything. The thing is, I don't even know what coding language(s) to learn or how to go about learning them. I'm looking to maybe one day do trouble shooting freelance work or even electrical engineering stuff. I guess game development is of interest as well. I'm looking to learn something that's a good introduction to coding for a beginner. I've heard Python's pretty easy, but I don't know what it's used for and I can't find a good course. I also don't know how to go about learning it. Should I use SkillShare? Udemy? Lynda? Masterclass? Codecademy? I probably sound really annoyingly amateur, so sorry for that. Any help would be appreciated! Thanks!

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

    Everytime other time I push a Git branch to the remote repo it get mixed up with other's work. How do I stop this from happening?

    Posted: 26 Aug 2019 05:41 PM PDT

    About 1 out of 3 times the following happens:

    • I create a new branch git checkout -b <my-branch>
    • I do some work
    • I push it up:
      • git add .
      • git commit -m "some message"
      • git push origin <branchname>
    • I then go to Github find my branch and create a Pull Request, only to find the Pull Request has a bunch of other's branches in it.

    Why does this happen and how can I stop it from occurring? How can I create a pull request with just my work?

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

    How do I get into back end development (java)

    Posted: 26 Aug 2019 07:48 PM PDT

    Hi I've been programming for about two years primarily with java but more recently I started wanting to get into web development. So I learned html\css and got a good footing in java script. But what I really want to be doing is back end development(with java). But when I looked online for resources or for learning paths I kind of came to a dead end. So I wondering if anyone had a resource or advice/ learning paths for back end web development with java.

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

    React JS hands on experience for beginners

    Posted: 26 Aug 2019 11:31 PM PDT

    Hi everyone. This is my first post here so please bear with me. Currently I'm working as a web developer with experience in MVC, angular js ,js, jquery some css along with mssql for database and do use mongodb sometimes.I've done some work on nodejs as well. I have always wanted to learn React but I'm more of a person who learns much better in doing rather learning/reading material. Yes I've seen tutorials as well but then now need a project to start from somewhere and tutorials are not helping much. Like a good basic project. Also I need a job change hence this is add up to my resume as well. Can anyone guide me for the same ?
    Thank you so much.

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

    Completing 'Hard' Problem Solving Exercises In Python?

    Posted: 26 Aug 2019 11:14 PM PDT

    Hi, I want to improve my programming skills, but I'm still unsure which direction I'd like to pursue. Right now I do the hard problem solving exercises in HackerRank using Python, but it feels a bit weird, to optimize programs in a 'slow' language to such a high degree. I'm OK with Python (I have some math background so I thought it makes sense to embrace it because of NumPy and SciPy) and I love writing efficient code (and to learn about data structures, algorithms, throttling sources, etc.) but I'm not sure how much sense it makes to combine these two.

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

    Will learning MATLAB help me learn other languages?

    Posted: 26 Aug 2019 07:11 PM PDT

    So one of the courses I'm taking this semester is basically just MATLAB. As someone with essentially no programming experience, will learning MATLAB help me at least learn some basics that can help me learn other languages faster?

    Thanks!

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

    Out of the box thinking program ideas for C language

    Posted: 26 Aug 2019 10:56 PM PDT

    Hey guys, I'm new to programming and I started learning C language this year.

    I have learned the input and output functions and if then stuff.

    So to practice my logic I wanted to ask the people of this sub to give me reccomendations for some programs to make that require weird logic or out of the box thinking using the simplest tools of C.

    I have already made a program that swaps the values of two variables and one which takes marks in 5 subjects as input and prints a whole marksheet.

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

    [Javascript+HTTP] I apply for a job. I'm sent a challenge where I must send GET requests and do stuff with data I get back. Problem is I get origin/CORS policy-related 'errors' whenever I make requests.

    Posted: 26 Aug 2019 10:44 PM PDT

    Doing the work 'manually', opening tabs in my browser with the links I was given, over and over again works but the data set is enormous.

    Obviously, I want to script. Obviously they want me to script. They say so themselves in the challenge page. This is a programming job.

    But scripting doesn't work.

    I made a quick HTML page with Notepad++ and a script to try to use XMLhttprequest/fetch to get the data set but CORS strikes a fatal blow.

    What do I do???

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

    [JAVASCRIPT] .map() — 'func' is not a function

    Posted: 26 Aug 2019 10:32 PM PDT

    Hello everyone, I've been slogging through higher level functions and just started using .map. I'm trying to complete an exercise, which is to remove the first letter of each element of an array and form a new array with those letters using map. This is my code:

    const animals = ['Hen', 'elephant', 'llama', 'leopard', 'ostrich', 'Whale', 'octopus', 'rabbit', 'lion', 'dog'];

    const secretMessage = animals.map(function(func){

    return func(0);

    });

    However, when I run this code I get an error that says 'func is not a function.' Why is this? I looked at some other examples and my syntax seems to be almost identical.

    ps: I was able to craft a solution using a for loop and pushing. I find it to be a little more elegant.

    const secretMessage = []

    for (i = 0; i < animals.length ; i++){

    secretMessage.push(animals[i].slice(0,1))

    }

    console.log(secretMessage.join(''))

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

    New to programming, advice on mindset?

    Posted: 26 Aug 2019 10:10 PM PDT

    Hi everyone! I am starting my first programming course in college and it's starting with C#. My professor keeps stressing how this course requires a problem-solving mindset and it can take 400 hours before you're good.

    I have experience with VBA (completely self taught, all googling and recording macros and figuring out what it does) and I've worked closely with someone doing SQL during internships, so I'm not going in completely blind.

    I understand that programming does require a problem solving mindset.. and I'm extremely excited for this class, but I'm nervous I won't be able to adapt this new mindset quick enough to save my grade (and GPA!)

    It's the first full week of the term, so I'm interested in hearing any advice, dos & donts or common mistakes on how to go about this class/degree!! tyia!

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

    Could one possibly...

    Posted: 26 Aug 2019 09:42 PM PDT

    MY PROBLEM: I've started streaming video via Zoom pro., butI'd like my content to remain "Live Only" ... as in "No one may download this video" . Apparently anyone with IDM can download the video and thats something that can't be helped (so said the support team).

    MY QUESTION: The video files are MP4s. Is it possible to set these downloaded files to 'self destruct' ? Anyone can write a simple script to delete a file... but could I somehow embed this script into the video file? (Stupid question, I know)

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

    How do you assess the reliability of education material as a non-expert?

    Posted: 26 Aug 2019 09:34 PM PDT

    There is plenty of good beginner content on the web. Hello world, calculator app tutorials etc.

    But as you proceed towards intermediate/advanced topics like design patterns the quality starts to decrease. It makes sense - these topics are less in demand than "hello world" or "SQL crash course" tutorials. And it's easier to get the theory of design patterns wrong than get a hello world wrong.

    Another problem is classic Dunning-Kruger. You are not competent enough to know whatever if the tutorial's author knows what the hell's hes talking about (which is why you searched for the tutorial!). While not being an expert myself, after watching 2 videos about Observer design pattern from Derek Banas and Telusko (relatively good programming channels) I found each video overlooked some critical component of the design pattern (or basic best practices of good code). I still feel something is missing.

    I'm in a purgatory of being incompetent enough to need a tutorial but competent enough to know when someone has taught it wrong.

    So my problem is this: how do you assess the reliability of education material on the web? Likes or good reviews could sometimes be misleading because they weren't being given by experts in the field.

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

    Creating Scrolling Terminal Messages

    Posted: 26 Aug 2019 03:32 PM PDT

    Here is the idea I want to implement. This is just for artistic looks. I want a window or a screen that will constantly show certain computer parameters. For example a cmd command to check an Ip address, file directories etc. I just want to get the look you have in Fallout or Cyber Punk games or some dumb movies involving hackers that always have a screen with random commands. Some of these print outs should be fake and just sound cool. How would I go about this? What language? And how do you run windows commands using another program..

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

    I was today years old when I found out I'm a dinosaur.

    Posted: 26 Aug 2019 09:19 PM PDT

    Hello! I'm 36 years old and I am a dino. I used to love working on writing HTML code for my Myspace circa 2000. So I decided to take Harvard's CS50 extension class to explore a career change. I was a straight A student, I got this right?

    WRONG. I'm struggling. I am working on a basic project with C, with a do...while loop. It's blowing my mind, y'all. I get the concept- examine a condition and if true, do this output. If false, do this output, repeat forever.

    I cannot understand the physical phrases or symbols necessary to write that code.

    Does anyone have a good website they recommend that is like a dictionary for C? My classmates have tried to help but it's like trying to teach me Russian by just speaking Russian. I need a key or something. Ideas??

    Thanks!

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

    [javascript] Fetch pending because of adblock

    Posted: 26 Aug 2019 09:09 PM PDT

    I'm trying to post information using the fetch function but the link I'm using looks too much like an ad. Its a generated link for a google web app so I can't change it. How can I bypass adblock? is there a way to rewrite the provided link so that it doesn't get blocked?

    EDIT: Fixed this, I had to add "mode: 'no-cors'" to the fetch function, the url went against the CORS policy so adding 'no-cors' to it allowed me to bypass it.

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

    In java for loops I get confused when we have to use an angle brackets or parenthesis, and looking for someone to explain the difference as easy as possible.

    Posted: 26 Aug 2019 09:05 PM PDT

    import java.util.Scanner; import java.util.Random; // we will generate a list of random integers, then find the average of that list, //then we will find the maximum of that list all using functions public class April5Functions { public static int[] generateNumbers(int howMany,int maxNum, int rnd) { int [] result = new int[howMany]; //we can use a variable in //brackets to dimension an array. for (int i = 0; i < howMany; i++) { //this is where we will be generating the //numbers and putting them in the various slots. //i is helping us move from slot to slot result[i] = rnd.nextInt(maxNum); } } //we are returning an array public static void main(String[] args) { Scanner sc = new Scanner(System.in); Random rnd = new Random(); System.out.print("How many numbers do you want, and what is the maximum? "); int numNums, theMax; numNums = sc.nextInt(); theMax = sc.nextInt(); int [] nums = generateNumbers(numNums, theMax, rnd); //we are generating the list of numbers //the function returns this int [] nums, so we use an int brackets double avg = findAverage(nums); int maxGenerated = findMax(nums); System.out.printf("avg = %.2f, max = %d\n", avg, 

    How come I can't use result(i) = rnd.nextint(maxNum);

    I completely forgot, can someone please clarify what that for loop is doing and the difference between the paranthesis and brackets on the result variable in the function.

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

    Recommendations for Coding Boot Camps in San Diego?

    Posted: 26 Aug 2019 08:56 PM PDT

    I graduated a couple of years ago with a degree in linguistics and am looking to change careers and enter the software industry. Since I don't feel like investing another 4 years in a degree, I want to do a coding boot camp to get started with my career change. I have a good chunk of change saved up to invest in a coding boot camp and need some help deciding which boot camp to attend.

    I have some programming knowledge already: I took a C/C++ class at the local community college and also did the java course on Code Academy.

    Do any of you all have recommendations on coding boot camps in San Diego? Are there any in San Diego that have a reputation for getting most of their graduates jobs in the industry?

    Any guidance is much appreciated! Thanks for your help!

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

    JSON: is there a way to strip keys that have empty values, using PHP?

    Posted: 26 Aug 2019 08:49 PM PDT

    I'm downloading JSON files from a database and merging them altogether in order to put into Elasticsearch. These JSON files have a lot of keys that have empty values that I would like to strip entirely from the file.

    Is there a way to do this using PHP?

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

    Self learn or back to school?

    Posted: 26 Aug 2019 08:13 PM PDT

    I was doing a reputable 2 year diploma, from NAIt.

    It was called the Digital Media & IT, with a focus in Computer Software Development. Almost everyone I knew that graduated either has done decently paid internships (17$) an hour, dropped out because of a job offer, or currently working in the industry. Basically, I know this program can land me a job.

    Due to my living situation, and mental health issues, I was forced to drop out of school.

    My 2nd year I failed some of my courses, and my 2nd semester I dropped all my classes so that I wouldn't fail, and in case I wanted return it wouldn't affect my GPA.

    I can't return to school for financial reasons. I will be able too in 2-3 years. Considering the length of time, I'm thinking to switch jobs

    My plan is, as soon as I find a another full time job (for financial reasons), is to design my own learning plan, and start chipping away at specific projects, and unfinished ones.

    I was wondering if I should go back to the school, or self learn as it's the more flexible and cheapest option.

    I'm also 20,000 in debt and don't want more, and don't feel like working full time during school. However school offers mentorship, and networking.

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

    Transitioning to Long Term Projects

    Posted: 26 Aug 2019 07:49 PM PDT

    I've been learning Python for about a year now and have built a bunch of smaller, single-file projects (calculators, raspberry pi projects). I'm struggling to move on to projects that I can work on long term, and learn large scale project techniques. How do I move on to this?

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

    No comments:

    Post a Comment