• Breaking News

    Sunday, September 29, 2019

    What have you been working on recently? [September 28, 2019] learn programming

    What have you been working on recently? [September 28, 2019] learn programming


    What have you been working on recently? [September 28, 2019]

    Posted: 28 Sep 2019 09:04 AM PDT

    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]

    How would people like a series of cartoons of ELI5s for important software engineering concepts?

    Posted: 28 Sep 2019 08:03 PM PDT

    Things like API vs Library vs Framework, Architecture patterns (MVC, MVVM, VIPER), REST, NoSQL vs SQL databases, etc. I haven't yet found a great, singular resource on easy to understand explanations of all of this stuff so wondering if everyone else would want this.

    https://github.com/sudotoons/collab-content

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

    Start Your Python Journey Now - 240+ Free Python Tutorials

    Posted: 28 Sep 2019 01:58 AM PDT

    Check out these Python tutorials and step up for becoming the next data scientist. Choose where to begin, learn at your own pace:

    https://data-flair.training/blogs/python-tutorials-home/

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

    Overcoming the fear of starting... Please tell me your story?

    Posted: 28 Sep 2019 11:06 AM PDT

    I'm really sorry if this kind of post is not allowed, please delete it if so. Also I'm sorry if there are any language mistakes as I'm not a native English speaker.

    I'm a young girl who has been dreaming about learning programming for the longest time now, but due to health issues I wasn't able to do so. Now I'm finally at the point where I'm able to start learning, but honestly I'm more terrified than excited. I feel like there is so much to learn. I cannot help but put a lot of pressure on myself because part of my mind tells me I wasted too much time when I should have been learning programming = working towards my dream of becoming a developer. I mean the other part of my mind knows I couldn't in fact do it, but unfortunately I still get these thoughts, and they just add more anxiety to the fear of starting.

    Right now I've began learning web-development as my first project is creating a simple website for my family's small business. My plan is to create the website, getting some web development experience in process, and move to iOS development, because this is what I actually want to do the most. I have a couple ideas of simple apps that could be my starting projects in mind.

    I don't really have any specific questions at this point, but I wanted to ask people to tell me the stories of how they began learning programming, maybe what resources you've found most helpful as well.

    Thank you so much in advance!

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

    Need to start learning Java (Background in C++ and Python)

    Posted: 28 Sep 2019 05:14 PM PDT

    As title states I know python and c++ but I also needs to learn Java for college next year. Since there is an abundant amount of resources online I was wondering how others have gone about learning Java? Udemy? Coursea?

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

    Question: are while loops better than for loops?

    Posted: 28 Sep 2019 09:20 PM PDT

    Someone said to me that in Java, the while loop is much more efficient in execution compared to a for loop because the while loop consume less memory space and processing power, and it could require a less number of operations. Are these statements true? Could you guys explain to me why these statements are true or false.

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

    YSK about Codewars, a webpage containing simple programming challenges in 46 different languages

    Posted: 28 Sep 2019 11:22 AM PDT

    Here is the link to the sign in page, in which you need to select your languages and solve a simple challenge: https://www.codewars.com/users/sign_in

    Here is the wikipedia page regarding it, in case you want to check it out: https://en.m.wikipedia.org/wiki/Codewars

    submitted by /u/Burakku-Ren
    [link] [comments]

    SoloLearn certifications on LinkedIn?

    Posted: 28 Sep 2019 07:46 PM PDT

    Hey guys,

    So I am currently in IT and wanted to pick up some coding skills to expand my skillset. I have been using FreeCodeCamp, Udemy, and YouTube to learn.

    I recently discovered the SoloLearn app and it's been super helpful to do a few sections as a refresher whenever I want off my phone. They offer a certification upon completing their course.

    I am not looking to switch to be a full blown web developer or software engineer... so I am not going to put these on my resume or anything. But do these look good added to a LinkedIn profile?

    I am almost done with the FreeCodeCamp Responsive Web Development certificate... but would it be beneficial to put a few certs from SoloLearn on my profile to maybe make my profile a little more attractive to recruiters? Like the HTML & CSS ones to add a bit of proof I know it rather than just list it under my Skills?

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

    7 Tips To Learn Programming As A Self-Taught

    Posted: 28 Sep 2019 11:49 AM PDT

    [HTML / .NET core / Razor] Creating validation based on times

    Posted: 28 Sep 2019 10:23 PM PDT

    Hi everyone,

    The project I'm working on has me needing to create a form that will include both the start and end time of an event. I have set up the form where there are only drop down options for them to choose a valid time. I need to use validation so that the user cannot choose an end time prior to their start time. Any thoughts on how to do this? I can add a code snippet if someone would like it.

    submitted by /u/-whoKnowsMan-
    [link] [comments]

    Currently building client manager, need conceptual help (C#, .NET Framework)

    Posted: 28 Sep 2019 09:17 PM PDT

    Hello everyone,

    First off, big time lurker for this community. I've been scouring all the resources in the FAQ after I wanted to do something outside of my degree. I started out programming from my current job by building VBA scripts that activate a WinForms to 'get' client data. But right now, I'm learning C#, and have been developing this current project.

    Anyways, right now the project I'm working on a sort of tax client manager. Basically, I wanted to create a console app that:

    A) Lets you type in a client name, their personal information (SSN, DoB, income, blah blah, email)

    B) Stores that data into 'something', and then does things with that data. So the main thing I want the app to do is create a shareable folder in my Dropbox account, then (i) create an upload subfolder that the client can access to upload documents, (ii) create a view-only subfolder that the client can see finished documents, (iii) send a link of the shared folder through the client email.

    C) Do more thing with the data. So, I'd like to create a method that can somehow take that client's data, and (i) keep it in Excel for my own analysis and (ii) Use the data to generate a bunch of word documents (contracts, businessy stuff) with the Client's info from templates, then attach those templates to the shared folder

    D) Big maybe, but create an import method that lets me put all my past client data in Dropbox

    OK, so right now, I've been working on understanding many of the mechanics I need. I know now how to OAuth the Dropbox client, and move folders and files around in Dropbox. Also, I can pretty easily build the interface for me to enter in data through WinForms or WPF.

    The real issue right now is this: How do I effectively "get" all the client data in one place, and where do I put it? At first, I thought that I would just put all the data in an excel file, but that's too slow and I think cumbersome. I know I can't store it inside Visual Studio itself, since it would just reset everytime the .exe is open.

    How do IRL developers store client data in their console apps? Also, how do they "get" that data after storage to use in the app? Should I use a .json file or something like a SQL database (how do these even work???)

    Thank you in advance all.

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

    Honest thread. How long before you actually WROTE code.

    Posted: 29 Sep 2019 12:13 AM PDT

    Ok so I'm two years into a programming career after a 3 year degree. I'm no longer considered "junior", yet I can count on one hand how many lines of code I have written without looking it up.

    Is. This. Normal?

    Like if you asked me for example, to write a function that returns a String and receives an int and a boolean I could knock that up no problem, but anything other than function templates I have to look it up.

    How normal is this? How long before you could confidently write code for longer than five minutes before cracking google open?

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

    How to learn programing for future job opportunities

    Posted: 28 Sep 2019 11:59 PM PDT

    I am an engineer which is mostly focused towards networking and systems. I don't need programming for my role, but I can see it being absorbed into a DevOPS type role in the future (5-10 years??)

    What I want to do is future proof myself, but how do I do that in a role where I don't need a certain skill at the moment, but also need to prove my competency on it down the line?

    I have looked at the cert route, but they don't seem to hold as much weight in the programming world as say networking (or do they?).

    CCNA DevOPS is an option, but not until next year.

    I'm not a complete novice, I have experience with Java, C, C++, Visual Basic, Python, MATLAB, some XML, and bash scripting.

    But these are only college level experience really, and never have had to use much in the wild (used some XML, Python and Bash scripting).

    Any ideas other than building a portfolio of solo projects or something?

    edit: apologies about the fat fonger title

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

    Software engineering degree vs a computer science degree with software engineering concentration? Which one is more beneficial?

    Posted: 28 Sep 2019 11:48 PM PDT

    I know they're very similar, but I am trying to decide between the two, however I believe because of how similar they are I'd be happy in either one. So at this point point it comes down to just salary and outlook for the future. Which one do you think is more favorable? Which one do employers prefer more?

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

    [C] How will different compilers affect me/my programming work in the workplace?

    Posted: 28 Sep 2019 11:48 PM PDT

    So I am relearning C then C++ because I would like to work in low level software. I am reading through "Modern C" by Gustedt and in the very first chapter, he presents example code where it brings up different warning messages on different compilers. I am using CodeBlocks as my dedicated IDE and as I ran his code, I got 3 warning messages about "%zu" not being recognized. I went into the options and put a check next to the compiler option to conform the GNU GCC to C++11 standard and all the errors disappeared. Now, I know this standard is one of the latest ones (I assume 11 refers to the year 2011). This realization made me think about a few questions:

    1) Does it really matter what compiler standard I use in the work place? If I'm programming accordingly to C++11, then I might run into warnings and errors if I'm running old code/code that was built on older/different compilers. Is there any easy way to avoid this issue altogether or am I going to have to learn every standard that applies to whatever piece of code that I'm working on?

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

    Is it better to learn coding on my own (in my case, I need to know Python and Java) before I take classes in college?

    Posted: 28 Sep 2019 11:41 PM PDT

    I'm having a really hard time understanding everything. I've even had to drop the Python game development course already because I can't code a fully functional text-based adventure with choices and an inventory after only a few weeks.

    I'm considering dropping my Java course too because I feel overwhelmed but I'm more financially invested in the Java course (Amazon rental and seperate online program fee).

    I need to learn both of these languages (two Pyhton courses and I think only one java) for my degree in game technology, so should I master them on my own time (Code Academy, Sololearn, etc.) first and then come back and redo the courses (I will have to for Python anyway because I gave up so early) or should I try to stick it out and hope for the best?

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

    Made a Community for people interested in Competitive Programming

    Posted: 28 Sep 2019 11:12 PM PDT

    Hey guys! I made a community for people interested in competitive programming!

    subreddit: r/competitivprogramming

    discord: https://discord.gg/FubWtfe

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

    Gates And Circuits Help

    Posted: 28 Sep 2019 10:39 PM PDT

    Here is my post. I need help, is this correct?

    My answer is here here

    dESPEERATE NEED OF HELP SOMEONE SAVE ME 🥶🥶🥵🥵🥶🥶🥶🥶🥶🥶🥶🥶

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

    (Python) Problems with the input() function

    Posted: 28 Sep 2019 06:49 PM PDT

    So I made an input() function and I entered the input in the console, however, when I try to press 'enter' to end the input, instead it just indents a new line. (I'm using Sublime 3).

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

    What is the difference between a event listener that watches for a click, and an onclick that calls a function in javascript?

    Posted: 28 Sep 2019 04:12 PM PDT

    They seem like they would do the same thing, but some stuff that works in an event listener doesn't work in an onclick?

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

    C++ magic��

    Posted: 28 Sep 2019 10:09 PM PDT

    Hi guys, I am new at C++ and found something interesting. Can someone help me understand how we are getting this output in this piece of code.

    include <iostream>

    using namespace std;

    int main() { int a,b; cout << 1 + b << 3 + a << 6; return 0; }

    Output: 1116

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

    Need some help figuring out how to fix the NullPointerException error in my code

    Posted: 28 Sep 2019 09:43 PM PDT

    Hello everyone, I am having trouble with some of my code here. It gives me a NullPointerException error and it tells me it is happening in line 17 of my code (commented). If someone, can maybe point me in the right direction and tell me what is going on, that would be fantastic, it's probably just a really dumb mistake or little thing I'm forgetting lol but I've been stuck on this for quite some time now. Thank you :)

    //basically this whole class is made in order to group a bunch of type Students together in order to then later add them to a type Course class. Each Course will have its own unique list of type Students. public class StudentList { private int maxSize; //maximum size of Student[] array private int size; //current size of Student[] array private Student[] students; //array of type Student public StudentList(int maxSize) { students = new Student[maxSize]; this.maxSize = maxSize; size = 0; } public boolean contains(Student s) { boolean check = false; for (int i = 0; i < maxSize; i++) { if (students[i].equals(s)) //-----------------THIS IS LINE 17--------------------------- check = true; } return check; } public boolean addStudent(Student s) { boolean valid = false; for (int i = 0; i < maxSize; i++) { if (students[i] == null) { students[i] = s.clone(); //might need to remove clone if everything else works valid = true; size++; break; } } return valid; } public String toString() { String str = ""; for (Student s : students) { if (s != null) str += s + "\n"; } return str; } public int getSize() { return size; } } 

    Exception in thread "main" java.lang.NullPointerException

    at (PACKAGE NAME).StudentList.contains([StudentList.java:17](https://StudentList.java:17)) 
    submitted by /u/mamba-mentality24
    [link] [comments]

    Recommended File/Folder Layout

    Posted: 28 Sep 2019 08:49 PM PDT

    Is there a source I can use to find the generally recommended file/folder structure and naming conventions for a web app?

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

    I accidentally deleted my PATH variable in Windows, and would like to access all the programs I was previously using from the command line. What's the general way to find the directory that I need to add to my path variable?

    Posted: 28 Sep 2019 08:32 PM PDT

    Examples of programs I used to use from my command line:

    -Google cloud SDK.

    -Miniconda for virtual environments.

    I was able to get the conda command working again, but "conda activate" throws an error now, so my virtual environments are gone.

    Is the best way to just uninstall everything and reinstall, and let the package downloader thing take care of which directories need to be pointed to by PATH?

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

    Is there a RAD that can be used for Python with Delphi like interface for GUI?

    Posted: 28 Sep 2019 08:26 PM PDT

    Is there a RAD that can be used for Python with Delphi like interface for GUI? Thanks!

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

    Having Trouble with Logic, Looking for Help

    Posted: 28 Sep 2019 08:11 PM PDT

    Hello everyone, for the past two months or so I have been working on my own terminal multiplexor called vtm which is built off of dvtm's code base. I have been making massive changes to get this to work the way I want it to as well as at one point did have someone helping me who even contributed some awesome changes. I have been hacking on this project for awhile, but have hit a snag. There is something I really really really want to do, however I need some help with it.

    I am changing the way copy and pasting is done to work the way I want it to work. What I am adding is more of a keyboard-select mode than a pure copy and paste mode, however it is perfect for this. The outline for vtm's keyboard select mode is as follows:

    • PREFIX + Escape - enters keyboard select mode

    • j/k - scrolls down and up

    • gg goes to the top of the history buffer

    • G goes to the bottom of the history buffer

    • control + u and control + d - scrolls page up and page down

    • v - starts visual selection made

    • y - copies selected text and then exits

    • / - search for string

    • i - exits keyboard select mode

    • enter - select text such as URLs (I'd have an array for you to set commands to try, for example you'd have say: $BROWSER or XDG_OPEN to try to open the URL in a browser or whatever)

    • shift j/k - jump up and down to URLs and such (for the enter thing to be quiker)

    • you can copy any amount of text (even the entire history buffer if you need/want to)

    I have been outlining this for awhile and know exactly how I want this to work, but I am honestly lost on adding the functionality. I am still very new to C and was wondering if a more experinced C programmer could work with me on this. I am not wanting someone to just add it for me, rather I want someone to work with and code with. Someone who really can help guide me and go through this with me. I know the first step is to remove all the code related to copying and pasting that exists, but I am lost after that. I have hacked on this code base for awhile, but feel truly lost with this. Is anyone open to working with me on this and sort of mentoring me through this? I feel it could possibly be done in a day or so if not sooner, I am still very new and am confused; but I have made massive headway on this project so far. Thank you for your time.

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

    No comments:

    Post a Comment