• Breaking News

    Thursday, February 1, 2018

    How many of you self-studied programming and are now working in the industry as a programmer? I have a few questions! learn programming

    How many of you self-studied programming and are now working in the industry as a programmer? I have a few questions! learn programming


    How many of you self-studied programming and are now working in the industry as a programmer? I have a few questions!

    Posted: 31 Jan 2018 02:01 PM PST

    I'm 31 days into self-studying Python and am loving every minute of it!

    A few questions:

    1. What were you doing before you began self-studying programming?
    2. What made you want to study programming on your own?
    3. How did you start (which resources and language)?
    4. How long did it take for you to feel confident enough in your skills and knowledge to know you could be employed as a programmer?
    5. What else did you do besides self-study that helped you in your journey to becoming a programmer?
    6. What's next for you?

    Thank you for taking the time to answer!

    submitted by /u/coffee-9
    [link] [comments]

    Resources for learning how to think like a programmer?

    Posted: 31 Jan 2018 06:03 PM PST

    I have been all over the place with Python and JS. Every time, learning is so easy but DOING is very hard.

    I am watching the Harvard intro to CS50 and doing an exercise in Scratch. Even with Scratch I am at a loss for why my formula won't work.

    It's more than syntax... it's... that knowing of how to solve a problem.

    Should I look in depth to Scratch? are there any sorts of puzzles I could practice to get better?

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

    Going to a hackathon alone?

    Posted: 31 Jan 2018 07:42 PM PST

    Long story short I got kicked out of my group cause they thought 5 people was fine when in reality the max was 4 per group and I got picked to leave. So is is still a good idea to go? There are workshops that'll be happening which I will attend but besides that idk what I'll be doing unless I either find a team last minute there or make something with my minimal knowledge of java/python/CSS/ and HTML

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

    Wanting to learn programming? Here you go!

    Posted: 31 Jan 2018 10:10 PM PST

    Hello r/learnprogramming!

    I'm currently a CS major in my second year of classes, and am absolutely loving what I do. I just wanted to stop by and give a piece of advice to those of you wanting to learn coding. (I do apologize in advance if this has been said before, or if this is not allowed. I read the rules and saw nothing specific on this.) I am currently in my second semester of C++, but I have been having a strong urge to learn more and do more. A couple months ago I wanted to begin learning Swift for Apple App production, but had no idea where to start. So I began googling for ways to learn, and found a pretty amazing website called SoloLearn. It can teach you many different languages. Python, Java, Swift just to name a few. Along with it being a website, there is also an app for your phone! It works very well, and teaches a decent bit. It isn't something that will teach you every nook and cranny of the language, but it will definitely get you started. I hope this is helpful!

    tl;dr - Found an app called SoloLearn to teach you programming languages.

    Also, I apologize for any formatting issues. I am on mobile, so it kind of sucks.

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

    Interested in learning R and Data Science? Join this giveaway

    Posted: 31 Jan 2018 10:24 PM PST

    Enter the data science giveaway at nandeshwar.info/ds4fundraising, where you may win:

    • One-year DataCamp membership. DataCamp offers great video courses on R, Python, machine learning and data science.
    • Awesome books. Hadley Wickham and Brett Lantz's great books on R and machine learning/data science, and others
    • Machine learning flashcards. Chris Albon's machine learning flashcards summarizes the key concepts
    • 26-week NYT digital subscription. Read great journalism
    • and more...
    submitted by /u/Tb1Rcomc
    [link] [comments]

    I want to make a desktop app that lets you print an image as a poster. Where do I start?

    Posted: 31 Jan 2018 07:40 PM PST

    As the title says. I want to make a desktop app that lets you print an image as a poster. There many apps like this out already but I think it'd be a great way learn programming as it'd be a tool I'd actually use.

    Basically I want to make an app that takes an image and lets you print it as multiple A4 sized papers to make a poster.

    I took AP CompSci in high school and know Java pretty well, but that's about it. I'd prefer a Windows app but MacOS is fine too. I'm guessing the first step is to get Visual Studio, but where do I go from there? Thanks!

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

    Any input on the Google IT Support Professional Certificate course?

    Posted: 31 Jan 2018 08:12 PM PST

    https://www.coursera.org/specializations/google-it-support

    I tried searching for info here. But it throws all kinds of results about Google it :)

    It seems a pretty complete course, but I'm not really sure.

    My main question would be if it'd actually prime me for an entry IT job.

    Thanks a lot!

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

    Help needed with loop in bash

    Posted: 31 Jan 2018 07:59 PM PST

    Hey! I have very little experience with bash and have been trying to work on a little project using it. Basically, if I have some text like the following:

    "Action is running. \r\n Action is no longer running"

    I'd like to be able to iterate through this text, character by character, in bash so that I can remove the "\r"s and "\n"s and replace them with line breaks. I know how i would go about doing this in python with a while loop, but most examples of while loops in bash look very different and I've gotten a bit confused.

    If you have any advice for me or know of where I can go to teach myself this, please let me know!

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

    [C] Question regarding calculating average of all bytes in a given file.

    Posted: 31 Jan 2018 05:06 PM PST

    I have this another question that I came across recently. I don't even understand what they are asking for here. The question is:

    Implement:

    unsigned char average(const char * filename);

    Which calculates an average of all bytes in a given file. Return -1 for an error.

    I don't know exactly what average are we supposed to be calculating here. I can calculate the total number of bytes in the text file, but for calculating the average, we would need a value which would be divided by 'total number of bytes in the file'.

    I am guessing there is a basic concept that I am missing here. Does anyone know what that might be?

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

    Question for a project...

    Posted: 31 Jan 2018 10:04 PM PST

    So I've had this idea bouncing around in my brainspace for a while now and I'm only now working up the motivation to actually start working on it. I won't go into incredible specifics, but the general premise is to create a utility for D&D that fills the roles of Roll20, HeroLab, and a few other platforms all in a single package. I would need to be able to create, manipulate, store, and recall multi-layered images, output data to PDFs that maybe don't look terrible, provide dice rolling mechanics, etc. I'm looking to do this while keeping the UX/UI very modern and aesthetically pleasing. My question is this; Which language would be best for this kind of application? I have a good amount of experience with Java, but I'm not entirely sure that Java is the most time effective solution for building a UX that's on par with what I'm looking for. Any suggestions?

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

    [homework] C++ calling class function and getting a logic error

    Posted: 31 Jan 2018 10:01 PM PST

    Okay I'm fresh into C++ programming class and the basic homework is to use two files to figure out the salary of a salesmen. So I'm getting a logic error and my issue is the examples in the book are not very good and further into the book they stop using .h files and do it all in the .cpp file. So my problem is I'm having a hard time passing the info to the .h file, making the appropriate calculate for salary, and passing it back. And now when I compile it I'm getting the following error:

    std::logic_error what(): basic_string::_S_construct null not valid.

    So this has to do with my constructor which is supposed to be explicit, however my examples all deal with passing names of people not integers, so I have no clue what the hell I'm doing wrong?? Explicit = 1 value correct?!

    #include <iostream> #include <iomanip> #include "Sales.h" using namespace std; int main(){ Sales mySales{0}; int sales; double salary; // create Sales object cout << "Enter sales in dollars (-1 to end): "; cin >> sales; while (sales != -1){ // check for negative one input mySales.setGrossSales(sales); salary = mySales.findSales(); cout << setprecision(2) << fixed; cout << "Salary is: " << salary << endl; //restart input cout << "Enter sales in dollars (-1 to end): "; cin >> sales; } } // end main Sales.h class Sales { public: explicit Sales(std::string Sales){ int getGrossSales(); } void setGrossSales (int sales){ if (sales > 0) grossSales = sales; } double findSales(){ return 200 + 0.09 * grossSales; } private: int grossSales; }; //ends class 
    submitted by /u/demagogueffxiv
    [link] [comments]

    Looking for a series of videos or podcasts or something that teach the basics of self learning stuff.

    Posted: 31 Jan 2018 07:21 PM PST

    I'm looking for something basic (however basic this can be) like an ai learning the difference between 3's and bees (obviously my interest in this comes from the cgp grey video)

    https://www.youtube.com/watch?v=R9OHn5ZF4Uo

    Whatever form this learning resource is, I don't care i just want a good guide to teach me.

    submitted by /u/I-am-a-llama-lord
    [link] [comments]

    [Beginner SQL] Not sure where my error is

    Posted: 31 Jan 2018 07:11 PM PST

    It says I'm missing a comma or closing bracket on a line (line 6) that has a comma...

    create databse reviewdb; use reviewdb; create table review ( Course varchar(100) Communicated_frequently int(1), Instructor_availability int(1), Useful_discussions int(1), Grades_helped int(1), Feedback_provided int(1), Offline_availability int(1), Problem_solve_activities int(1), Understandable_grade_policies int(1), Course_strength blob, Any_Improvements blob ); select * from review; drop table review; load data infile 'C:/Users/Hunter/Desktop/reviews.csv' into table review fields terminated by ','; select * from review where Communicated_frequently = '3'; select * from review where Feedback_provided >= '3'; select * from review where course = 'cop3847' and Useful_discussions < '2'; select course from review where Problem_solve_activities is null; select course from review where Course_strength like '%good'; 
    submitted by /u/DoctorStrife
    [link] [comments]

    [Java] How to download and what to download?

    Posted: 31 Jan 2018 07:04 PM PST

    I'm not sure what to download. I see different versions such as 86x or 64x, JDK 9 or 8, Eclipse or Netbeans. I downloaded different files, and used cmd prompt to find them, but got errors. I want to create Android apps and games, and I use windows 10, if that helps to simplify things.

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

    Dumb question Can't constructors replace setters

    Posted: 31 Jan 2018 04:58 PM PST

    I mean don't the basically do the same thing if no how are they different?...

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

    Learning Python through Codecademy, am I wasting my time?

    Posted: 31 Jan 2018 04:25 AM PST

    I feel like I may be running through these lessons and not really gaining useful skills or knowledge. My ultimate goal is to be sufficient enough to take on side projects and eventually make a career out of coding.

    I chose Python due to it being the easiest and recommended entry level language. I'm just curious if it's normal to feel like walking through fog while doing these online courses?

    The course says I am 29% through the course and that seems quick considering I've only been doing this for about a month now. Anyone else try Codecademy and their Python program?

    Edit - Thanks everyone for the advice and support! There are a lot of similar stories and some really good resources you have all provided, going to grind it out for a while and keep tinkering with stuff!

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

    I need advice on Twitters API

    Posted: 31 Jan 2018 03:13 PM PST

    Im trying to learn how to uses Twitters API to send and receive direct messages but am having a tuff time understanding it all. Could anyone explain how to use the Twitter API or suggest good places to read up and learn how to use it and more pacifically the Direct Messaging aspect ?

    (P.S To be complete transparent this is for a computing project I'm doing at school. I have the back end of this "bot" set up to allow users to store homework and get homework reminders from the "bot". But until I can figure out how to get the users input and send an appropriate output I can't progress any further. )

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

    Implementation of Hash Tables with Open Addressing?

    Posted: 31 Jan 2018 11:54 PM PST

    Hey Guys,

    I'm learning the basics of Hash Tables and am curious about how Hash Tables that are implemented with Open Addressing where you hash multiple times in the case of collisions are implemented. In the situation where you keep getting collisions somehow, does the hash table implement a bunch of different hash functions in case they keep happening? If the load factor is low but some malicious entity (assuming no universal hashing is implemented) inserts a series of values that continually collide how does the hash table deal with this? Thanks guys.

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

    Machine Learning / Intro to AI Books

    Posted: 31 Jan 2018 06:13 AM PST

    So I'm an amateur programmer that has about 1-2 years experience with Java (school classes) and a few months with C++. I would say I know the basics. So taking that into consideration, I'm looking to start learning the basics of machine learning. I heard that Python is one of the best languages to start learning this subject. I'm looking for any book recommendations on where to get started, or possibly an online course (although I would prefer to learn from a book). Thank you!

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

    [Learning]Consuming a Public API with ASP.net MVC5

    Posted: 31 Jan 2018 11:34 PM PST

    I want to try and consume a public api with asp.net mvc5.
    Can you guys help me find a tutorial or articles that can help me with this? The tutorials that I have been seeing are the ones where you create your own Web Service/API.

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

    PSA: You can receive a free 3 month subscription to Pluralsight by joining Visual Studio Dev Essentials

    Posted: 31 Jan 2018 07:10 PM PST

    https://www.visualstudio.com/dev-essentials/

    Sign up for free, claim your 3 month key, happy learning.

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

    What web frameworks to use for an OOA/OOD approach with domain modeling?

    Posted: 31 Jan 2018 01:04 PM PST

    I'm a programmer who learned to develop using Java, and my ultimate favorite book was Craig Larman's Applying UML and Patterns. I'm trying to learn some modern technologies (frameworks?) that support the metaphors of an OOA/D approach proposed in that book. It's not that I'm against ASP.net, Java Servlets, PHP, etc. as a back-end, but Node.js and MongoDB look so much better on a CV these days.

    Two problems strike me with applying the Larman approach today:

    1) many JavaScript solutions aren't really OO (which means all the separation of responsibilities in classes relating to an OOA model of the problem domain is less explicit). Yes, TypeScript exists, but I have yet to find a framework where its use is intuitive (I'm still a JavaScript newbie, so maybe I've just not found it?). Also, front-end frameworks are all JavaScript, and I am not sure it's easy to "reuse" the same classes from the back-end domain, especially with complex domains.

    2) The high-level design (that maps so well to the requirements) is a system sequence diagram (SSD). The presentation layer (represented by the actor) makes synchronous calls (called system operations) to the application layer, which map to something like an RPC. With modern technologies, it's all web, routes, REST, etc. For example, the scenario used often in the book is like this:

     ┌─┐ ║"│ └┬┘ ┌┼┐ │ ┌───────┐ ┌┴┐ │:System│ :Cashier └───┬───┘ │ makeNewSale │ │ ───────────────────────────> │ │ ╔═══════╤═════╪════════════════════════════╪═════════════╗ ║ LOOP │ more items │ ║ ╟───────┘ │ │ ║ ║ │ enterItem(itemID, quantity)│ ║ ║ │ ───────────────────────────> ║ ║ │ │ ║ ║ │ description, total │ ║ ║ │ <─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ║ ╚═════════════╪════════════════════════════╪═════════════╝ │ │ │ endSale() │ │ ───────────────────────────> │ │ │ total with taxes │ │ <─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ │ │ makePayment(amount) │ │ ───────────────────────────> │ │ │ change due, receipt │ │ <─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 

    First, in an RPC, state of the server is important, so you have to call things in order to prepare, e.g., the makeNewSale and endSale calls are important to transition the state of the System, to start and end the loop. If I were to do this with a web client (unless I had to support clients crashing and recovering the state), I probably wouldn't hit the web server until the final makePayment() transaction. But maybe this example (a cashier system) doesn't make any sense, since Grocery Stores don't use web services to do this kind of business (or do they?!). Is this methodology not suited at all for web applications?

    Second, for calls that go to the server, they need to have routes (in most frameworks I've found). REST comes into the approach which I think makes sense if you're going to have a gazillion users calling your web service and you can't store all that state, but I've yet to find a good rule of thumb of when you need a REST service or just an API call via the web. I think I get how routes are configured to call a Larman-like controller, but deciding if my end-point is an HTTP GET/PUT/etc. is confusing to me (it's just a call in RCP).

    As for layering, Node.js seems to have potential for layers (entire presentation) close to what Larman's methodology suggests. The example does not have enough code, but it spoke to me with respect to Larman's philosophy, especially since it uses some of Fowler's patterns, e.g., Service Layer, which seems to jibe with Larman's layered approach.

    The best thing I like about Larman's book is that it gave me a methodology to solve problems (from requirements to coding and testing the back-end):

    • A problem modeling dimension (problem analysis, domain modeling) to the approach. With complex systems, this is important.
    • A solution that works by decomposing -- system-sequence diagrams are decomposed into system operations (an API, high-level design), then to controllers and domain logic. This is a great methodology for managing complex problems.
    • There is OO design with patterns as needed (not too crazy).
    • The "no magic zone" philosophy that says I can justify my design decisions based on principles (GRASP) that are common to most experienced developers (it's based on responsibilities, coupling, cohesion, etc. which are real principles, not just hand waving).
    • Layering is demonstrated with real examples (in Swing, which is old!), but you can see how not to put application/domain logic inside presentation layer code, and how something like a Siri/Cortana/etc. interface would fit well into such an architecture today (without much modifying the underlying API).

    I did find an analysis done by Martin Fowler of a Purchase Order system for Gap, which looks interesting and almost like an OOA/D methodology did apply. However, it appears to have used Rhino, a software that converts Java classes into JavaScript (to save trouble on repeating objects on the front-end that are from the domain model defined in the back-end). Cool idea, but too complex for me to want to play with to learn.

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

    Resources for application / systems design?

    Posted: 31 Jan 2018 11:56 AM PST

    I'm finishing up an online web development course. I'm semi-erratically coding a personal project now but the more features I add the more the more I think of and I'm already at the point where I need to step back and define the scope of what I'm trying to do.

    At work the functional team provides really in depth design documents for the huge system we develop/sell/support but I've never been involved in that design work. Are there any good resources for learning how to design a semi-complex system?

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

    Hello community and peers! Please help me and yourselves, and everyone here by sharing your absolute most useful or favorite tutorial videos, made by others or yourself. I am personally learning Python so new techniques or explorations of any level would useful! All types of code and coders welcome!

    Posted: 31 Jan 2018 09:30 PM PST

    If you're here and reading this, then perhaps you'd like to join my community. Please feel free to contact for brainstorming or collaborations. It always helps to network and learn together. Please feel free to link a sub of different codes if you like, or share in a cluster! If it's all of our favorites, they should all be useful!

    ALWAYS RESPECT EACH OTHER. We are all friends here, we are the future, we are programmers!

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

    No comments:

    Post a Comment