• Breaking News

    Wednesday, May 30, 2018

    FreeCodeCamp just got an update adding over 1,000 new coding challenges! learn programming

    FreeCodeCamp just got an update adding over 1,000 new coding challenges! learn programming


    FreeCodeCamp just got an update adding over 1,000 new coding challenges!

    Posted: 30 May 2018 11:45 AM PDT

    You can read the changelog here

    https://forum.freecodecamp.org/t/10-major-freecodecamp-improvements-that-are-live-now/192130

    TLDR: New lessons, new design, and new security were added

    As someone who just started taking coding in their free time a lot more seriously these new lessons are seriously awesome, especially since they finally added lessons for things like react!

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

    Writing Tests for Python Projects

    Posted: 30 May 2018 04:10 AM PDT

    If you need help understanding how unit testing works, this could be useful to you.

    https://able.bio/SamDev14/how-to-write-tests-for-python--22m3q1n

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

    Hey r/learnprogramming, I used to be a Sr. Instructional Designer at Apple, and I’m helping put on a free, livestreamed intro to iOS class

    Posted: 30 May 2018 02:59 PM PDT

    Hey r/learnprogramming,

    My name's Caleb, and I'm an educator and app developer. I started out teaching Jr. High tech and career classes, learned to code, taught iOS development for a few years, and wound up as a Sr. Instructional Designer at Apple, helping build the "Everyone Can Code" program that's helped tens of thousands of students in High Schools and Colleges learn to build apps.

    Now I work at Lambda School, and we're putting on a free (yes, completely 100% free), livestreamed iOS mini code bootcamp. We'll cover the fundamentals of programming with Swift, get you building your first simple apps, show you how to build user interfaces using Storyboards, and get your own iOS apps running on your own devices.

    The class runs Monday through Thursday, June 11th - June 21st. Live lectures begin at 5:00 p.m. Pacific (8:00 Eastern), and if you can't attend live we'll make the archives available immediately after the recording.

    It covers:

    • The basics of Xcode, how it works, and how to use it to create apps.
    • Introduction to Swift: the programming language used to create macOS, iOS, watchOS and tvOS apps.
    • UIKit Basics: designing user interfaces without any code.

    No, you won't be able to get a job after it, and we're not giving out certificates because no one actually cares if you took a free class. But you will learn fundamental skills that'll set you up to continue learning independently, or in one of our full-time classes, if you want.

    You can register for the class, we're calling it iOS Development 101, here.

    And because I recognize this is reddit, yes, the instructors of this course are paid employees of Lambda School (our lead instructor, /u/mduser63, has worked on popular DJ software and has been building iOS apps since day one), and yes, Lambda School hopes that you will learn about it and enroll in the full free-until-hired 7-month iOS program as a result, but I promise this is a real class, not a giant sales pitch; we'd just rather create something that's valuable instead of dumping a bunch of money into Facebook ads.

    (It also happens that focusing on teaching people who actually want to learn to program results in awesome students who do really well at Lambda School and get jobs quickly. So running these courses helps people find out if this is for them, and if they're the right fit for a longer, full-time program like ours.)

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

    How easy/difficult is it to get a remote coding job at the start of one's career?

    Posted: 30 May 2018 06:57 PM PDT

    I'm looking at various options for learning how to code online and eventually I'd like to find work that I can do remotely. In the past I'd heard that it's not especially difficult to make this happen, but someone I was asking about this yesterday said that it's rare, at least until later in a career. I was hoping to hear what other people had to say, and thought this might be a good place for that. Does anyone have thoughts/advice? Anything about learning online (free vs bootcamp vs online university) would be welcome too.

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

    For those of you who are new to learning programming, would you be interested in a series that teaches by walking through programs to solve real-world problems?

    Posted: 30 May 2018 07:31 AM PDT

    Would you be interested in a video series, ebook, textbook, etc., that teaches you programming by walking through examples of actual useful programs, instead of just basic "Hello, World!" type programs?

    So for example, I googled searched for "Compute science 1 exercises" and found this: https://chortle.ccsu.edu/Java5/Notes/chap08/progExercises08.html . The exercises there are basically "compile and run this and see what happens." That's not a useful program. What I mean by a "useful" program is something like "write a program that moves every file in your MyDocuments folder that is more than 30 days old to a folder called MyDocumentArchives". It's not a super exciting program, but it is at least useful.

    As the series progresses the examples would be less and less trivial and would solve more difficult, real-world problems.

    This is something I am thinking about putting together for a friend at work who wants me to teach him how to code, so I was wondering if anyone else would find it useful.

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

    Too stupid for programming?

    Posted: 30 May 2018 07:22 PM PDT

    I really want to learn programming. All kinds of reasons as to why. Because it's cool, what you can do with it. Programmers are in demand so it would be a safety net for work. Ultimately i'd like to make games so down the line i would like to learn c++ for Unreal Engine.

    Before you say, "then start with c++".

    After literally 3 years of "trying", to learn all kinds of languages. Several times, in various lengths. Anything from giving up after a week to trying for 5 hours a day for two months ( c++ ).

    The thing is, i've realized after all this time. It's not the syntax, it's not that i don't understand what loops and arrays are for. I lack the "big picture" thinking. I find myself unable to think like a programmer. I don't understand the CORE CONCEPT of how programming works.

    I need to understand. I think i have to rewire my brain to get it.

    What language would be best for me to start with to learn the concept. I need to be spoonfed like a five year old to get this.

    I've been leaning towards python, one of the few languages i have not tried. Would that be a good introduction to programming? For my stupid, egghead brain. Maybe some literature to make me understand?

    Any advice, tip or comment on this would be greatly appreciated.

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

    As a junior dev coming into an established company, is knowing the ins and outs of Jenkins a priority?

    Posted: 30 May 2018 10:59 PM PDT

    I ask because I've been watching tutorials for the past couple hours, and they all seem to be focused on set up and administration.

    From my understanding, the lay-developer has little to do with knowing Jenkins in and out, since it's already been set up, and now simply pulls from the repo to generate reports.

    Is that about all I have to know? Given, I won't be doing any administration or configuring of these tools.

    As there are several other tools I need to brush up on, I'm wondering if I can push Jenkins down on the priority list (AWS, Git, Jira, Jenkins).

    I won't be doing much, or any, devops or admin work.

    Feedback much appreciated!

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

    [python3/pygame] Roast/criticise my code, graphical Tic Tac Toe app

    Posted: 30 May 2018 02:42 PM PDT

    Hello fellow coders,

    I made a little project to learn python and get better at programming.

    I know a little bit about naming conventions, good style, formatting , but I'm still very unexperienced and wanted to get my first big project out there and get some opinions about it. Especially how to structure my program, what classes to use and how to make the Game Loop less spaghetti. The latter felt extremely hard to do.

    I tried to keep hardcoding and magic numbers to a minimum, but I felt unsure at some points if it is even possible to keep everything modular. Also I tried to incorporate some OOP with the two classes I made, but it felt kinda meh.

    If anyone wants to share his opinion about my code and maybe can give me some tips, I would be very thankful.

    I posted my code here:

    https://ideone.com/ODA3uR

    edit: a typo

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

    Thinking about switching to Python as career focus over my past Java and C# development. Anyone been in a similar journey? What has been your experience?

    Posted: 30 May 2018 08:14 PM PDT

    I've been developing off and on in Java and C# for a number of years. I cannot say one is a primary focus over the other, as my career has swung like a pendulum between Java and C#. Although a slight edge to Java.

    I'm sure not mastering one (at least) had impacted my confidence and abilities. But lately I've played with the idea of switching to Python as my primary focus.

    Many reasons including an interest in the language itself, versatile, easy to pick up ecosystem, libraries and countless frameworks. And a complete shift from the "C" based syntax I've worked in for years.

    A whole new world to master however, which is a bit daunting.

    Has anyone here walked down a similar path? Would you care to share your pros and cons?

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

    Are there no type checker functions in c++ library?

    Posted: 30 May 2018 11:50 PM PDT

    I spent a lot of time trying to figure out how to check cin input to make sure the input was an int, ended up using cin.fail() for characters and floor() on a double to convert input into an int and assign it to an int. Went through lots of forums and there were lots of nonsense responses and unnecessarily large code and string iteration checks and all.

    What I wanna know is, does C++ have functions like isInt() or isDouble() to just test the damn value?

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

    C# guidance

    Posted: 30 May 2018 01:54 PM PDT

    Hey, I've been learning C# for some time now. I know the basic stuff (classes, objects, morphism, databases etc), but I realised that all my programs have quite awful designs. Do you know some books or tutoriala I could study to improve my design techniques? Are there any useful resources that I could use for designing programs? Also, where can I find some real world implementations of C#, other than the clasic accounting and login examples. Thank you!

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

    [Python] [Selenium] Grab element in scroll box

    Posted: 30 May 2018 07:11 PM PDT

    How can I grab an element in a scroll box based on the text? I'd like to click the shoe " NAVY/NAVY/GREY (444)". I've tried

    color_code = '444' driver.find_element_by_partial_link_text(color_code) 

    Here's the source for the website I'm trying to navigate through

    Highlighted is the element I'd like to grab and click()

    Any help/insight would be appreciated.

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

    Learn HTML5 and use SNAC to host and develop your projects. Great resources with free templates and screencasts.

    Posted: 30 May 2018 07:06 PM PDT

    If you are learning to code then your website should also be lean, fast and secure. Static HTML design will do everything a CMS can do... If you have questions, I'll be happy to help.

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

    I want to write a shell script that automates setting up a flask app on an ubuntu server and have some quick questions

    Posted: 30 May 2018 06:42 PM PDT

    First off, I know this is not a realistic useful real world thing, but I need to learn shell scripting and am interested in flask apps so thats why I want to do this.

    I want to make a shell script that takes some fielname arguments and automates this setup up:

    https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-16-04

    I have two questions.

    1. Is this possible to do with shell scripting?

    2. If it is, how do I test the script as I am developing it. I wouldn't have to test it on a real server as I go would I?

    Thanks!

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

    Coding bootcamp or traditional college route?

    Posted: 30 May 2018 04:09 PM PDT

    Hi everyone, I am in the transfer process of attending a college and studying software engineering. I am torn between taking this route or immersing myself in a coding bootcamp to hopefully get a job as a full stack web developer. I am highly interested in the engineering aspect and potentially working on more than web applications for a career, but the cost and time difference into getting into the field is keeping me on edge. I estimate a student loan of about 60k for college versus 10-20k for a bootcamp.

    Would I be missing out on more fundamental ideas and concepts that would otherwise make me a more valuable and skilled asset to a company and team if I were to go to a coding bootcamp?

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

    I made a Yahoo Finance/Bloomberg knockoff named "Shroomberg"

    Posted: 30 May 2018 04:44 AM PDT

    https://shroomberg.herokuapp.com/

    I made an equity quote and chart app with IEX's free API. I've been programming for a couple months now and this is one of my first projects. I still need to add unit tests and iron out some visual and async mechanics bugs. This is built with React and React's new context feature. Happy to get some feedback/suggestions for features.

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

    How can you have multiple projects on portfolio when newer projects is always gonna make old projects look bad?

    Posted: 30 May 2018 09:48 PM PDT

    Make project 1: It uses "advanced" concepts such as React. All good.

    Make project 2: It also uses Redux for state management and folder / file / component structure is better.

    Make project 3: Write your own Rest API and connect it with React / Redux.

    Make project 4: Another Rest API with React / Redux, but now also unit test majority of what you wrote. Folder / file / component structure further improves.

    ...

    Everytime I make a new project the old one seems shit to compare.

    In a portfolio which ones would you list (I want to get junior web dev job)?

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

    Programming an Operating System in Rust. Yay or Nay?

    Posted: 30 May 2018 09:39 PM PDT

    I'm mostly self-taught, and I want to learn systems programming, or at least give it a try. I already purchased "Programming Rust" by Blandy and Orendorff to learn Rust, but the book doesn't teach systems programming.

    I hit up my cousin, who is currently an undergraduate CS student, for the book they use in their systems programming class and it's "Design and Implementation of the MTX Operating System" by K.C. Wang (https://smile.amazon.com/gp/product/3319175742/ref=ox_sc_act_title_1?smid=ATVPDKIKX0DER&psc=1)

    As someone who is new to systems programming, is tackling this book a good approach? Or is there a better way to start diving into systems programming?

    I'm familiar with algorithms and basic data structures and want to take the next step in my self-education. I don't have access to counselors or anything so you guys are the next best thing :)

    submitted by /u/Damian-Gray
    [link] [comments]

    Not able to sign-in to FreeCodeCamp

    Posted: 30 May 2018 09:33 PM PDT

    I just read about the FCC redesign, designed to check-in after a long time. I am not able to sign-in using any method. I get a code on email, upon entering it says some issue, please try later.

    Anyone else having the same problem?

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

    Considering App development - basic questions

    Posted: 30 May 2018 09:30 PM PDT

    Hi, all. First post here. I'll try to keep this super short/leave out everything unrelated to my questions. First off, I have basically no experience in any kind of app/software developing or other form of programming (unless creating a .bat is considered programming)

    First off, how many languages can an app be written in? Are android apps written in a different language than iPhone apps?

    If so, how many different languages would be necessary to make an app available on both and how hard is it to learn and work with multiple languages?

    If multiple languages are needed, which one would be the most lucrative to learn i.e. can be useful beyond just the field of app development?

    Finally, if anyone who has had any level of success in any kind of app development would be kind enough to point me in the right direction/offer any additional advice Id be forever grateful.

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

    The best way to learn

    Posted: 30 May 2018 09:27 PM PDT

    So I have been teaching myself to code on and off for 5 years. Every time I encountered an issue in a book or video lesson that I did not understand I would try to research it from other sources. There would be times I found a great article or post explaining what I needed and other times not so much. When I hit this wall I was not sure where to turn. This has lead me from book to book with no luck in actually learning or retaining anything. I learn by building something and having the concept explained to me in detail.

    My questions are

    what resources do you use when you get stuck and how do you use them?

    Is it common in most books not to explain some functions and parts of code thoroughly. If not what are good books or videos you use?

    How do you get over the anxiety of getting past your self and just doing it or reaching out?

    What resources do you use to brush up on your skills or to continue learning?

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

    [python]A dumb question about notepad++

    Posted: 30 May 2018 09:15 PM PDT

    So I wrote a simple program in python using notepad++ now how do I run it? I downloaded python IDLE 3.6 from there site but when I hit run in notepad the program (think its called the shell) will appears for a quarter of a second and disappear. I will gladly provide more information if that would help. Thanks

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

    Taking Programming Outside the Classroom

    Posted: 30 May 2018 08:45 PM PDT

    So, I've taken MATLAB, some upper level c++ classes, I've taken a class on x86 assembly, and even received my certificate of achievement in computer science - Computer Architecture via the community college. I only did this because I wanted to show on my resumes as an engineer that I actually did have some coding background. However, I really love to code, and so we come to my problem:

    I'm having issues on finding material that discusses current engineering languages and. I guess I'm looking for a window into the professional level of coding( I.e. languages, IDEs, etc). I was hoping someone can point me in the right direction so I can start playing around with those languages.

    Thank you!

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

    How does this mouse-sensitive card element of a webpage work?

    Posted: 30 May 2018 08:43 PM PDT

    The card element is on the left side of this website: https://blog.openai.com/retro-contest/

    Edit: Why am I being downvoted? Is this not the place to ask to learn about an programmed element if it's embedded in a webpage? If it is and you don't know how it works, could you not downvote so I can still find someone who will help?

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

    Read from a file and store data into dynamic char array in a Class in C++

    Posted: 30 May 2018 08:21 PM PDT

    I'm just learning about dynamic memory and I could use some help on my program. I have a program that reads data from a text file separated by ;

    title1;artist1;minutes1;seconds1;album1 title2;artist2;minutes2;seconds2;album2 title3;artist3;minutes3;seconds3;album3 

    I'm suppose to make it so that when the program reads say title1 and it is 8 characters long, the program will allocate 9 spaces (8 + the '\0'). I'm not quite sure how to do this part for the load() and add() functions. I'm not sure where/how to go from reading the data to determining the size and storing the data in char * title, artist, etc... Any help/example would be awesome. Thanks

    p.s. im required to use chars. if i could use vectors i definitely would.

    Song.h

    #include <iostream> #include <fstream> #include <cstring> #include <cctype> //#include <ctype.h> //#include <locale> using namespace std; class Song { public: char* title; char* artist; char* minutes; char* seconds; char* album; char* artistTemp; char* albumTemp; }; 

    ClassList.h

    #include <cstring> #include <cctype> #include "Song.h" //#include <ctype.h> //#include <locale> using namespace std; const int PLAYLIST_CAPACITY = 50; class ClassList { public: //constructors ClassList(); ClassList(int initCapacity, int counter); //deconstructor ~ClassList(); //Accessors void displayInfo(int counter); void searchByArtist(const int& counter); void searchByAlbum(const int& counter); void exitPlaylist(int counter); //Mutators void loadSongList(int & counter); void addNewInfo(int &counter); void removeInfo(int &counter); private: Song * list; int capacity; void expandList(int counter); }; 

    ClassList.cpp

    ClassList::ClassList() //initialize { capacity = PLAYLIST_CAPACITY; list = new Song[capacity]; } ClassList::ClassList(int initCapacity, int counter) { capacity = initCapacity; list = new Song[capacity]; loadSongList(counter); } ClassList::~ClassList() { if (list != NULL) { delete[] list; } } void ClassList::loadSongList(int & counter) { ifstream inFile; inFile.open("text.txt"); while (inFile.peek() != EOF) { inFile.getline(list[counter].title, 50, ';'); inFile.getline(list[counter].artist, 50, ';'); inFile.getline(list[counter].minutes, 50, ';'); inFile.getline(list[counter].seconds, 50, ';'); inFile.getline(list[counter].album, 50, '\n'); counter++; } inFile.close(); } void ClassList::addNewInfo(int & counter) { if (counter == capacity) { expandList(counter); } cin.ignore(); cout << "Song Title: "; cin.getline(list[counter].title, 50); cout << "Artist: "; cin.getline(list[counter].artist, 50); cout << "Number of minutes(Do not round): "; cin.getline(list[counter].minutes, 50); cout << "Number of seconds: "; cin.getline(list[counter].seconds, 50); cout << "Album: "; cin.getline(list[counter].album, 50); counter++; } 
    submitted by /u/Smugjester
    [link] [comments]

    No comments:

    Post a Comment