• Breaking News

    Wednesday, August 1, 2018

    Just learned a language and looking for a side project or something to contribute to? Check out this website I made to help you in your search! learn programming

    Just learned a language and looking for a side project or something to contribute to? Check out this website I made to help you in your search! learn programming


    Just learned a language and looking for a side project or something to contribute to? Check out this website I made to help you in your search!

    Posted: 31 Jul 2018 04:02 PM PDT

    Hey /r/learnprogramming, when I finished my first Python course I wasn't sure where and how I could apply my programming skills, and I kept seeing posts here and other programming subs like /r/learnpython about how beginners could contribute to projects or start side projects of their own, so I ended up making Issue Haven over the past few months to ease the process.

    The site compiles available beginner-friendly issues from popular projects on Github and arranges them in a simple catalog by language and type of task to help interested contributors quickly find projects and code to delve into.

    Hopefully this helps some of you with learning to program and strengthening your skills after learning the basics and ins-n-outs of your programming language- if anyone has questions, I'll gladly answer here or via PM!

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

    Do’s and don’t’s when beginning a univ degree in CS

    Posted: 31 Jul 2018 02:55 AM PDT

    This fall I will begin a bachelor program which is quite similar to CS.

    I'd just love to get some tips of what to focus the most on and how I can optimize my learning through my (at least) three years.

    I have pretty much none prior experience with programming (only a little HTML and CSS) and I'm pretty anxious that I will not understand all core concepts like arrays and dictionaries and be able to use those in a decent way.

    I've started to play around with the python lessons on codeacademy (the first courses is in python) is this a good place to start?

    I'd love to hear any experience from others who's studied CS or anything that could help me out!

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

    Free Ebooks repo [resources]

    Posted: 31 Jul 2018 02:25 PM PDT

    Hey guys recently started learning programming , these free ebooks helped a lot sometimes:

    https://github.com/EbookFoundation/free-programming-books/blob/master/free-programming-books.md

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

    Are there any Boot Camp success stories?

    Posted: 31 Jul 2018 10:48 PM PDT

    I'm very curious to know and read about your boot camp success story.

    Has anyone attended a Bootcamp and gotten a well paying programming job they like?

    How much programming coding did you know before attending and how was your boot camp experience.

    Let's share the more info the better.

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

    I'm a self-taught, employed developer with serious insecurities about a lack of degree

    Posted: 31 Jul 2018 02:00 PM PDT

    Hey guys. Frequent reader, and occasional poster of this sub under an alt here. Writing comes easy to me, but I've struggled for the past half hour to write this post, so here's a summary of how I feel instead:

    In my early 20's, I was bitten with the entrepreneurship bug and forewent university after dropping out thrice from a business degree, but never built any successful businesses. Started learning how to code 3 years ago (family has a strong background in tech and I was a script kiddie in high school) and I've been employed at a nice, medium-sized successful startup for the last 6 months. I've never felt more empowered, but at the same time, I feel very unmotivated. Don't get me wrong, I like my what I do, but I have this very deep fear that not having a degree, and being new to the field, seriously works against me.

    I know that tech is one of those fields where a lack of degree isn't as serious as, say, working in finance. I look at job requirements and I think "hey, I'm a good match!", but I can't help feeling like a fraud, and I also think that, for the rest of my life, I'll always be offered a lower salary than a candidate with a degree, not to mention that I won't get any management positions at a traditional company.

    When I look at visa requirements for a lot of the countries I'd be interested in moving to for a job, a degree is portrayed as a huge bonus, and I resent my former self for not finishing my degree. I know I'm not late, but it feels like it, and I keep reasoning that spending a fortune over the next 4 years is less important than getting professional experience in that same period.

    I feel like I'm rambling so I apologize. I guess I'm just looking for advice, comfort, or a serious wake-up call from someone, anyone, that has gone through similar feelings. I know I have a lot more to learn and tech is an ever-growing field with a surplus of jobs, but the lack of degree has been a recurring theme in my life and this year it's been extra painful to think about.

    Edit: I'm dying to get asked questions so I can figure this out. Please, ask me anything about anything. I feel like I may be hiding my own feelings from myself at this point.

    Edit2: If it means anything in this context, I do have plenty of side projects on Github, I've taught programming, I've hosted workshops and I've spoken at a tech conference about my experiences. I am actively trying to improve myself and my resume given the things I lack. I even wrote a top post on this very sub. Am I crazy for being this insecure?

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

    [C++] Default Constructor

    Posted: 31 Jul 2018 08:57 PM PDT

    Let's say I have a simple class with 2 member variables

    class Person { Public: Person(); Person(int x, int y); Private: int m_x; int m_y; } 

    So here we have a small 2 member variable class with a non-parameterized/default constructor. So in the source file I'd probably initialize those two member variables like this, using an initializer list.

    #include "Person.h" Person::Person() : m_x(0), m_y(0) { } Person::Person(int x, int y) : m_x(x), m_y(y) { } 

    Now for the question. If in the header file I mark that default constructor as " = default" then will it automatically initialize those two member variables (m_x, and m_y) to 0?

    class Person { Public: Person() = default; Person(int x, int y); Private: int m_x; int m_y; } 

    I'm trying to figure out the benefit of the constructor explicitly declared default with "= default" vs. a 'normal' default constructor (non parametized), and using an initializer list to init member data to 0.

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

    Starting Computer Science Side Projects

    Posted: 31 Jul 2018 12:54 PM PDT

    Hey, I just finished taking an intro Java course at my University, and I want to begin side projects, but I have no idea where to start! I merely have simple programming skills, and I don't know what I could create with the skills I currently have. Does anyone have any side project tips for a beginner such as myself? Thanks!

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

    memcopy question ....

    Posted: 31 Jul 2018 08:30 PM PDT

    #include <stdio.h>

    #include <string.h>

    int main () {

    const char b[50] = "12345678901234567890123456789012345678901324567890";

    char a[50];

    strcpy(a,"Heloooo!!");

    printf("Before memcpy a = %s\n", a);

    memcpy(a, b, 50);

    printf("After memcpy a = %s\n", a);

    return(0);

    }

    output: Before memcpy a = Heloooo!!

    After memcpy a = 12345678901234567890123456789012345678901324567890ot

    why does a have a random character on the end of the string?

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

    Teaching Python

    Posted: 01 Aug 2018 12:05 AM PDT

    Hello everyone,

    Just some quick context before I ask my question. I know python even though most days for my job it's all SQL. Now my partner has applied for a paralegal position in a law firm that specialises in technology. She does not need computer programming skills it is an optional thing to have but she is very interested in learning. I want to teach her but I think my approach would be very overwhelming, can any of you suggest a good place to start with her, such as subject matter, history etc. I have all the resources I would need and can give her little practice tests and stuff to keep her interested so I won't need a bunch of links to code academy etc. So basically, if you were a teacher where would you start with a 100% novice?

    Thank you in advance, I appreciate any help!

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

    What is your subjective opinion on programming?

    Posted: 31 Jul 2018 05:44 PM PDT

    For example mine is exceptions are poor since they're no constrains. You can choose to ignore+drop them, handle them in strange places, throw an irrelevant exception, or handle more than you meant since the throwing code is throwing different things as the same exception.

    Another one of mine is passwords are absolutely a terrible idea. The only exception are sites that have no other way to validate you (no email, phone #, oauth, etc. In fact this reddit account has none of these!).

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

    [Database Design] need more clarification on the difference between multivalue dependency, partial dependency, and transitive dependency.

    Posted: 31 Jul 2018 10:56 PM PDT

    Is the multi valued dependency just any column with duplicates per primary key value? are partial dependency just any non key value that depends on a key value? and transitive dependency being when non key values are dependent on each other? can someone clarify the concept for me?

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

    how do i memorize basic functions

    Posted: 31 Jul 2018 06:55 PM PDT

    I've started teaching myself python via codeacademy. It makes sense when explained to me but for some reason I find myself having to look up how to do trivial stuff like how to update a variable

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

    My basic HTML isn't working.

    Posted: 31 Jul 2018 10:39 PM PDT

    The text below is day 1 HTML and I save it in LibreOffice Writer, because I'm using Linux. When I try to open the file though it just shows my code as apposed to actually website formatting. Any help is greatly appreciated.

    <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> </body> </html> 
    submitted by /u/Hercislife23
    [link] [comments]

    Extremely confused with Github, Github Pages and Jekyll

    Posted: 31 Jul 2018 10:37 PM PDT

    Currently working (or just starting) my front-end developer portfolio and I am also new to github, I figured it's time to learn github and how to use it/how it works. I've learned about it in the past (a few months back I touched on it) and was very confused, and I still am very confused. I also learned that github pages is a good place to host a (static?) website, which is why I wanna host my portfolio and other projects on there, so I also want to learn Jekyll

    I am not sure where to start with learning Github/Pages - I looked a few guides/tutorials online still found stuff very, very confusing in terms of how to edit repositories, create repositories, fork repositories, and pretty much everything in between.

    Can someone point me in the right direction for learning both of these? Where should I start? Any recommendations, advice, tutorials?

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

    Question regarding recursive linked-list insertion

    Posted: 31 Jul 2018 10:34 PM PDT

    https://youtu.be/3svB0kM6f10?t=211

    Why is the recursive call to AddToEnd() necessary? Wouldn't next always be null? Since it's set to null every time we add a new node to the end. I'm sure it has something to do with moving along the list to the final node...but I don't understand in what case we'd have to do that.

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

    What are good C++ books for a beginner?

    Posted: 31 Jul 2018 03:57 AM PDT

    I have no past experience in programming. I did spend some hours on codeacademy doing their Python course, but I didn't finish it due to some circumstances. Anyhow, same circumstances make it so that I have to learn C++ (which I wanted to start with anyway, but tried doing Python before following some people's recommendations, I however don't really have a choice anymore). I was recommended the C++ book written by its creator, which I am currently starting. I'm a highschool senior, but sadly my school doesn't offer any courses related to coding.

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

    Maybe a different type of question - Partitioning my hard drive to install windows?

    Posted: 31 Jul 2018 06:17 PM PDT

    Hi, I'm starting programming in school this semester. I have a Mac now and I want to partition the hard drive to install Windows because I'm assuming programming on Windows is better? Forgive me, I really am starting this all from scratch. I want to know how much of my 120G drive I should put for Mac OS and then for Windows (which should I get, 7? Go with the newest, 10?) Right now 17G is system, 1.2 Apps, 4 other with ~100 available.

    Thanks!

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

    Best compiler design/understanding books?

    Posted: 31 Jul 2018 09:53 PM PDT

    What are some great [and easyish to comprehend] books about compiler design, or simply understanding the logistics/underlying structure/foundations of a compiler? I've seen a few on amazon but I'd rather get a few second hand opinions. Thanks!

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

    Mobile Development

    Posted: 31 Jul 2018 09:53 PM PDT

    I'm an experienced Software Engineer but haven't dipped into the mobile dev world since college for a small project. Looking to get back into it but is there a resource that allows for faster development and for cross platform? What are recommended ways to program for mobile apps besides directly programming iOS and Android?

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

    Mind map of Python functions, APIs, libraries, concepts + other languages

    Posted: 31 Jul 2018 09:48 PM PDT

    First time posting on Reddit!

    Like a lot of you guys, I discovered my passion for coding later in life - about 8 months before graduating with a B.S. in freakin business degree. Subreddits like r/learnprogramming, r/learnpython, r/datascience, r/Python have provided me with so much insights, inspiration, and - a little cheesy, but forgive me - a sense of hope, knowing that I wasn't the only one in the struggle. I just graduated, and am trying to get a job as a data science intern or a data analyst. I'm really anxious about job hunting, but I also feel pretty confident at the same time, and I think a lot of that confidence comes from things that I read on or learned/discovered through these subreddits.

    I'm sure there are many of you that are in a similar place, either getting started or trying to break into coding, or looking to transition to a different domain within coding. I needed to learn everything from fundamentals of Python to data science and a little bit of ML, so I made a little mind map, and got in a habit of adding any functions, concepts, or anything that I came across frequently. I've always wanted to give back to the community in some way, and thought this mind map might be useful to some of you. It's not a big deal, I mainly just wanted to created this post to say thank you for proactively posting and engaging in these subreddits. Needless to say, there are many others who are just browsing and benefiting from these subreddits, but haven't posted before. So on behalf of those people, thank you, and I hope some of you find this mind map useful!

    Ranked in order of richness of content (the lowest will only have basics) with a brief description:
    1 - Python: Basics to intermediate (list comprehension, generators, lambda), pandas, numpy, matplotlib, SQLAlchemy, plotly, seaborn, sklearn, xgboost, nltk, etc
    2 - Data Science: No functions, mostly concepts about ML / Statistics.
    3 - Shell: Because Shell is just awesome. Covers awk, sed, that kind of stuff. Not too much on networking except for things like nstrace/traceroute.
    4 - MySQL: Not great in terms of coverage of topics, but I think the mental model is useful. I mapped it to resemble the syntactic structure of SQL.
    5 - WebDev & JavaScript: Not THAT useful imho. Just the very basics. Probably more useful as a supplement to a more comprehensive class/book/tutorial/etc

    Online mind map (Python)
    https://my.mindnode.com/NBRXPphSgXVspXeVzJXUPrGqv7K5mzAJCKyPFaq4

    Github (Mindnode format & PDF format)

    https://github.com/from81/Mind-maps-made-with-Mindnode

    I used an app called Mindnode: https://mindnode.com/

    Unfortunately, the PDF version is not nearly as useful as the Mindnode file because most of the utility comes from the notes in each nodes. Apologies to those who do not have Mindnode, you would have to use the PDF version, or the online version. However, I highly recommend the app! I use it for learning a lot of things.

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

    First day. Need help.

    Posted: 31 Jul 2018 12:52 PM PDT

    First day programming. I have a book to that is teaching C++. I have ran into an issue on the first code. "Hello World!" In my Command Prompt I type c++ hello.cpp but receive and error. 'end1' was not declared in this scope. I'm lost because my code looks the same as the picture provided by the book.

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

    What is the default path to desktop?

    Posted: 31 Jul 2018 09:21 PM PDT

    Im making a program that will create a folder in the desktop. I would like to know which path do I have to type so that the program will work on other computers... Thanks for the help!

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

    Size of Virtual function vs normal function in a struct

    Posted: 31 Jul 2018 05:24 PM PDT

    Why any function member doesn't take any bytes but a virtual function does?

     class P{ virtual void fun() {} int x; }; class A{ void fun() {} int x; }; int main(){ cout <<sizeof(P)<<" : "<<sizeof(A)<<endl; //16 : 4 } 
    submitted by /u/jaffaKnx
    [link] [comments]

    python script is displaying code in browser instead of executing

    Posted: 31 Jul 2018 01:16 PM PDT

    I am trying to get a html page to take a text input and have a python script get it and print it out. I had this working correctly while I was on a trial period for a webhost, and after I upgraded to a full account, I transferred the files over and it stopped working. I might have missed a step in the setup, but I can't figure out where. Here is what I did:

    I set up a python virtualenv and then I activated it by going into SSH and typing in source /home/username/virtualenv/test/3.5/bin/activate and confirmed that it was activated.

    Then I tried to run my index.html file that is in my public_html folder:

    <!DOCTYPE HTML> <html> <head> <title>Test</title> </head> <body> <form action="/cgi-bin/hello.py" method="get"> Enter Message: <input type="text" name="message"> <input type="submit" value="submit"> </form> </body> </html> 

    Everything displayed correctly. When I enter anything into the input box and click submit, it should execute my hello.py script that is in my cgi-bin folder:

    #!/home/username/virtualenv/test/3.5/bin/python import cgi data = cgi.FieldStorage() print ("Content-Type: text/html\n") print (data["message"].value) 

    All that displays is the actual python code, instead of the input from the html.

    I tried it also with #!/usr/bin/python in the python script and it still displays just the python code.

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

    No comments:

    Post a Comment