• Breaking News

    Friday, February 23, 2018

    I have been drawing comics that explain basic programming concepts. learn programming

    I have been drawing comics that explain basic programming concepts. learn programming


    I have been drawing comics that explain basic programming concepts.

    Posted: 23 Feb 2018 04:15 PM PST

    Hello all,

    I have been creating a series of comics that explain how programming works for any newcomer to read. So far, I have gotten though only the more simpler concepts and terms, but I hope to get more in depth into more complex areas as I go.

    My web page you can find this work is here:

    https://prairieworldcomicsblog.wordpress.com/

    All examples are done in Python. Note that I'm only an amateur programmer myself, so if there are issues you may have about it, don't hesitate to tell me about them.

    I hope you all enjoy them!

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

    More experienced programmers - how do you deliver your work to clients?

    Posted: 23 Feb 2018 09:07 PM PST

    My bid was just accepted for a simple scraping script and I just realized I don't know how to give the client the code...

    Github? Seems unprofessional.

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

    Should I learn C before trying to learn C++? (Already have some Python knowledge)

    Posted: 23 Feb 2018 09:13 PM PST

    The title tells all. I'm comfortable enough in Python to complete working scripts even though I'm still learning something new every day, and I understand, for example, what "hashable" and "subscribable" mean. So would it be a good idea to learn C before tackling learning C++?

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

    Teaching new programmers

    Posted: 23 Feb 2018 11:07 PM PST

    I have been inspired by a recent post that is similar to this one. I want to spend an hour or two a day teaching new programmers about topics and skills they want to learn. If we have enough people we can do group projects together. Ideally we will use either javascript or python. Leave a comment below with what you want to learn and any ideas you might have.

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

    Beginner in Python here. Could you suggest ways to make this program for finding prime numbers more compact?

    Posted: 23 Feb 2018 10:39 PM PST

    This is what I have, and the program manages to show all primes correctly. But when I print the list containing nonprimes, the numbers are repeated. Why is this happening?

    print ("What's the range?") numbers = int(input()) list_num = list(range(1, numbers + 1)) not_primes = [] primes = [] for number in list_num: dividents = list(range(1, number)) for divident in dividents: remainder = number % divident if remainder == 0 and divident != 1: not_primes.append(number) for hit in list_num: if hit not in not_primes: primes.append(hit) print (primes) 
    submitted by /u/interactivehuman
    [link] [comments]

    What are good *beginner* C++ benchmarking tools?

    Posted: 23 Feb 2018 08:19 PM PST

    I am learning C++, and want to see how using different algorithms and data structures affect performance.

    What I picture is implementing the same function in two different ways, generate millions of data points, run the two implementations over the generated data points, and plot the time and space taken (time/space on y-axis, size of input, which I parameterize, on the x-axis).

    What are good tools to do that smoothly?

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

    Is it bad practice to define variables in a function when not necessary?

    Posted: 23 Feb 2018 08:13 PM PST

    Hi, I'm currently learning to program doing simple projects in Python.

    This is part of a simple program I'm writing that is basically like quizlet. It prompts me with the definition of a term, and I have to match the definition with the correct term. Once I'm done with all the terms, I want to summarize my results with the percentage that I got right and the percentage I got wrong.

    TotalNumber is integer of how many questions I answered NumberRight is integer of how many I got right and NumberWrong integer of how many I got wrong.

    def percentageRightWrong(NumberRight, NumberWrong, TotalNumber): PercentageRight = NumberRight / TotalNumber PercentageWrong = NumberWrong / TotalNumber

    return PercentageRight, PercentageWrong 

    alternatively I could have done: return NumberRight / TotalNumber, NumberWrong / TotalNumber

    This would have meant less code, but for functions that are a lot longer I like to define a lot of variables as I go because I tend to get lost and forget what is what. Is this a bad habit to get into? I am considering a future career in software development, so I want to develop good habits so I don't have to redo everything if I do end up getting a job.

    On that same note, somebody told me that Python is the only language that lets you return multiple variables from a single. Is this also a bad habit?

    Thanks!

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

    Are there any tools to compare 2 different source codes?

    Posted: 23 Feb 2018 10:23 PM PST

    My friend and I are in same programming class. We're both struggling so we helped each other on our homework. Our code is different from each other's but our professor said he's putting it through a checker/plagiariser today to make sure we didn't copy or cheat after we've been working on it for past couple weeks. It's due tomorrow and now im paranoid and trying to figure out if it's that similar or not but my friend thinks that since there's like 60 other kids in class that odds are most is gonna be the same. Are there any tools to compare 2 source code files that checks variables and all that or do you guys have any other suggestions?

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

    I have an idea, where to start?

    Posted: 23 Feb 2018 09:54 PM PST

    I have an idea for an app that I'm looking to build and design, but I don't know which direction to go in. Essentially the app will allow users to send requests to each other regarding items that they would like to trade, and allow them to chat with one another regarding this. Any tips as to how to get started?

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

    Best resources to learn Python and C#?

    Posted: 23 Feb 2018 11:36 PM PST

    Hi all

    I'm looking to learn Python and C#. Would you guys mind sharing some of the best resources out there that are good at explaining things and provide plenty of examples for these languages? It can be videos, books whatever.

    I know I'm going to struggle once I get around to functions/classes and more complicated topics after that. I really want to understand them well.

    I know that once I get proficient I'm going to visit r/dailyprogrammer to keep myself constantly working on programming problems.

    Thanks in advance!

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

    What book would go along well with University of Michigan course for Python on coursera?

    Posted: 23 Feb 2018 07:47 PM PST

    I'm a EE major who's trying to learn python and I recently started the University of Michigan course on Python, I already knew a bit of C/C++, so the first few courses have been a breeze, just getting to know the syntax in Python. But as I move toward more advanced topics and OOP, I thought it'd be better if I used a book along with the course. Can the good people here recommend me some books that would go along well with that course?

    I have two books with me right now, 'Intoduction to Computation and Programming using Python' by John V. Guttag, and 'Automate the boring stuff with Python'. Is either of them good enough and which one would be better?

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

    any current / very recent immersive Flatiron students able to share their experience/thoughts on the program?

    Posted: 23 Feb 2018 07:24 PM PST

    Hi!

    Any current/recent immersive(in-person) Flatiron students? wanted to know your experience and thoughts, feel free to DM too if you prefer. I plan to go over - looked over so many schools so perhaps resurvey once again - people's reviews on Course Report and elsewhere - just wanted to reach out. Thanks, regardless!

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

    [Javascript] Is it "cheating" to use Moment.js methods to add dates to your projects instead of hand coding from scratch time formats?

    Posted: 23 Feb 2018 07:14 PM PST

    Moment js is super simple. install, and start using methods they provide to get your dates. But it seems rather counter intuitive from a learning perspective because you're not actually coding. You're just using methods other people wrote, so seems there's no learning involved. Thoughts?

     Format Dates moment().format('MMMM Do YYYY, h:mm:ss a'); // February 23rd 2018, 7:13:28 pm moment().format('dddd'); // Friday moment().format("MMM Do YY"); // Feb 23rd 18 moment().format('YYYY [escaped] YYYY'); // 2018 escaped 2018 moment().format(); // 2018-02-23T19:13:28-08:00 Relative Time moment("20111031", "YYYYMMDD").fromNow(); // 6 years ago moment("20120620", "YYYYMMDD").fromNow(); // 6 years ago moment().startOf('day').fromNow(); // 19 hours ago moment().endOf('day').fromNow(); // in 5 hours moment().startOf('hour').fromNow(); // 13 minutes ago 
    submitted by /u/Name_Needed_Here
    [link] [comments]

    Looking for advice involving boot camps

    Posted: 23 Feb 2018 05:53 PM PST

    I started learning JS last summer and found I really enjoyed it. The hard part was keeping myself motivated to maintain a consistent schedule with lessons on my own during summer vacation, I think some kind of class room environment would be better for me in general though.

    It was a bit late to apply to a college's fall semester by then and I've had to keep up with crappy job after crappy job since and have had a rough year in terms of morale. I wanted to get into some spring classes but at the end of December I learned that the company I worked for is going out of business and freaked out about finding a new job over getting stuff together for college.

    I didn't get any job offers so this is my last weekend of work before I'm unemployed and I thought, "What better time then now to look into an early summer coding boot camp instead of another shit job to waste my time with?"

    While I've read on this sub that the college route is generally better than the boot camp route, I'm not sure how much better it would be in my case. I'm going on 25 and have no college experience (I'm a retired professional ballet dancer, most of my life was spent training for that before I was driven to hate the career due to the archaic politics involved once I got into a company). I'm a great learner but due to dumb-teenager syndrome I figured I'd be dancing forever and didn't take general studies as seriously as I now wish I had, so my SAT scores aren't anything to be proud of. I expect that I would have to go through a couple years of community college and work up a GPA before I could get into a school with a decent CS program. The earliest I could get a bachelors degree or the equivalent experience to one I would be nearing 30 and I'm anxious to get my life running again (it's been almost two years since I retired dance and I've been stuck in a crappy limbo since).

    I'm in the Dallas/Fort Worth, TX area and the only boot camp programs I've found within an hour-long commute are run by CodingDojo, General Assembly, and Dev Mountain. I've read that CD and GA are two to stay away from. While my primary goal is to learn and I don't expect to be hired on at six-figures out the door, I do want a quality education that leads into a job that I can expand my knowledge upon. After reading some of the feedback from graduates of those two companies it sounds like they don't offer that. I couldn't find much on Dev Mountain so I can only assume it's a similar story.

    I've read that the most (if not the only) recommended boot camps on this sub are Hack Reactor and App Academy. It's possible I could stay with friends out in San Francisco and attend either of those programs this summer.

    What do you guys think of it? Good idea? Bad idea? Would I be better off devoting four years to college?

    Things that interests me most in the industry right now are game and app development. I don't expect a boot camp to teach me everything there is, I'm hoping for it to be more of a jump-start into the career with room to grow in any direction. Money isn't really an issue, I'm fortunate to have family that is willing to support me through my journey towards an education. That being said, I don't want to waste any resources on a company that doesn't put as much into me as I plan to put into their course.

    I'd love to hear the experiences of graduates of these or other programs if you're willing to share them. As well as any advice be it for life, career, coding, or general struggles. Thanks in advance!

    TL;DR I'm about to be unemployed and am considering the opportunity to jump into a coding boot camp so I can get on with my life and quit feeling like I'm wasting it working brainless, low-skill jobs just to scrape by.

    • Should I consider waiting and putting the time into a college degree I won't get until I'm 30 instead?

    • Is it worth finding housing to go to a better boot camp out of town or to commute two hours each day to go to a more local camp like CodingDojo, General Assembly, or Dev Mountain?

    submitted by /u/0Etcetera0
    [link] [comments]

    Sporadic motivation while learning

    Posted: 23 Feb 2018 02:00 PM PST

    I have been learning off and on for about a year. I started tinkering with Java, then python, then finally settled on web developing with Javascript and the related libraries. I am struggling with staying motivated. I will work tirelessly for a week, studying the entire day, then the next week, feel that I am unable to focus on the same material. I'll go 4 or 5 days without touching code, then feel the burst again and get back to it, but I have to go back over some topics because I'm not working continuously. I am making progress but I don't feel like I'm progressing fast enough. Does anyone else struggle with this?

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

    Should I worry about Machine Learning?

    Posted: 23 Feb 2018 08:01 PM PST

    Hi guys I am a second year student in college and I was wondering how important is machine learning? I am currently striving to become a software engineer and don't expect to be doing anything involving ML. Although this may be true, I'm trying to find some time to learn ML through the Coursera course taught by Andrew Ng. Do you think it's worth my time learning about ML and if so, what are some other learning materials you guys suggest. Thanks a lot for your help.

    P.S: I'm really interested in the deep learning aspect of ML and want to learn more about it as well.

    submitted by /u/8-bit123
    [link] [comments]

    If you want to learn a new programming language, I want to connect you with an accountability partner to finally get it done.

    Posted: 23 Feb 2018 04:45 AM PST

    I have given up half-way through so many different online programs. Udemy, Udacity, Treehouse... you name it. Sometimes we need a kick in the rear end to help stay on track with our goals. Finding an accountability partner who checked in weekly helped me become a self-taught programmer. I want to help others find an accountability partner now. If you want to learn a new language, please fill this form https://docs.google.com/forms/d/e/1FAIpQLSdKgIh5x7DnR2qEnch7DHgsdrcTBODoLYMuZ9XPpbJKVrT9rA/viewform?usp=sf_link. If you want to help others, please DM me. Thanks!

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

    How to get interested in coding ?

    Posted: 23 Feb 2018 07:31 PM PST

    (I read the FAQ before, and my query is not there)

    Hello everybody !

    I'm a high school senior graduating in 2019, and just started in competitive programming. (I mean I knew basic coding since 2016, but now I just started in competitive programming). But the problem is that I don't find it interesting enough - coding just looks like learning a language - to motivate myself to work on it. Do you have some tips on how to get interested in coding ?

    For not making it too broad - here's some info about myself (so that you can examples related to that in coding domain): I have familiarity with high school Olympiad math - and I am a huge fan of olympiad combinatorics and number theory, also I like physics very much.

    Thanks in advance for your help :)

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

    Anyone know ARMv8 really well?

    Posted: 23 Feb 2018 06:07 PM PST

    Need some help

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

    [C++] How to accept spaces while using bool to validate input for alpha only?

    Posted: 23 Feb 2018 05:29 PM PST

    As the title suggests, I'm looking to accept whitespace for the input on townName. Currently, it's working to only accept alpha, but I'd like to accept whitespace as well. Hours of googling is getting me nowhere, I'd really appreciate your help!

    // Input, validate, and set string name of town cout << "Enter name of town: "; //getline(cin, townName); string getLetters(); { string townName; bool valid; do { getline(cin,townName); // get a line of input valid = true; // assume it's valid for(auto& i : townName) // check each character in the input string { if(!isalpha(i)) // is it an alphabetical character? { valid = false; // if not, mark it as invalid // print an error to the user cout << "Invalid input. Please input only alphabetical characters. \nEnter town name: " << std::endl; break; // break out of the for() loop, as we have already established the input is invalid } } }while(!valid); // keep going until we get input that's valid } 
    submitted by /u/mustbesomebody
    [link] [comments]

    How to get started after learning programming basics?

    Posted: 23 Feb 2018 05:07 PM PST

    Just some quick background - I didn't go to school for computer science, but I have studied off and on for the last few years including C, C++, C#, Java, Python, HTML, CSS, JavaScript, and some MIPS assembly.

    My issue is that once I learn the basics of a language I become unsure of what to do next. I keep hearing "build something", but I think I need more specific direction then than.

    For example, if I wanted to eventually be employed writing C or C++ what kind of projects should I take on to become proficient or even advanced? I would like to stick to project tutorials at first, rather than coding my own ideas, so I know I am doing things correctly and efficiently rather than hacking together solutions from Stack Overflow.

    Any suggestions or links to tutorials are appreciated, and I am also interested in hearing what you built when you first started coding.

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

    Best way to edit CDN files (e.g. CSS files)?

    Posted: 23 Feb 2018 05:02 PM PST

    I'm using Amazon S3 to deliver my base.css to my website. However in order to edit it I have to delete and re-upload...

    This is obviously no efficient so I'm wondering what the convention is for other web developers. Is there another way I can easily edit my .css files on-the-go?

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

    Start programing from Algorithm?

    Posted: 23 Feb 2018 04:40 PM PST

    Hello, I'm considering myself as a complete coding noob, I have some very basic understanding of Python and HTML5, but I want to learn coding in a more structured way, and my friend recommends me to start off from some free Algorithm class.

    The class is fun, but I'm just wondering what can I gain from learning Algorithm before getting into coding. I'm just a few classes in, but so far it's just mathematics. (Not that I don't understand how significant maths can be in coding)

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

    No comments:

    Post a Comment