• Breaking News

    Friday, July 5, 2019

    About how many of you are self taught and how many are formally educated in programming? What are the pros and cons? What do you do now? learn programming

    About how many of you are self taught and how many are formally educated in programming? What are the pros and cons? What do you do now? learn programming


    About how many of you are self taught and how many are formally educated in programming? What are the pros and cons? What do you do now?

    Posted: 04 Jul 2019 09:36 PM PDT

    Only curious because I'm trying to decide between getting my ba in cs or something different. I'm hoping to be a programmer

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

    Live Streamed Intro to R Course This Saturday

    Posted: 04 Jul 2019 11:28 AM PDT

    Hi folks, I regularly run free, live programming courses for the Reddit Comunity. I will be offering a live Intro to R and Data Science course this Saturday. During this class, you will master the basics of R such as data types, functions, and control structure. You will learn how to perform basic statistical analysis and data visualizations with R as well. I have designed the class to be interactive so you will watch the live-streamed class and code along with other students.

    Who is this for? Near/complete beginners. No prior knowledge of coding is required.

    Interested to know more? Take a look here: https://www.hackhour.co/#Intro_to_R_&_Data_Science

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

    Where should I learn/practice Java, if I already know the basics but I feel like I can't really do anything useful?

    Posted: 04 Jul 2019 02:47 AM PDT

    I'm a CS student, I had a couple Java courses already, and I mostly know the basics or even some more advanced stuff, but I already learned this "in a sandbox", so I might know what generic methods or inner classes are in theory, but I can't make a usable program at all.

    Since I want to work as a programmer when I finish I want to and I have to be better at this, and ideally I'd want an internship within a year, but I must improve, so any help is really appreciated.

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

    Is there a website where it gives a "program this" a day type thing?

    Posted: 04 Jul 2019 09:00 PM PDT

    I'm not good at personal programming projects, they tend to be long term... I was wondering if anyone knew any sites that give an easy and short programming project so I can at least spend a few hours on it and actually complete something and also learn new tech in different languages?

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

    Beginner dev here! I enjoy programming when I've mastered a topic, but the learning part is exhausting, especially when the tutorials aren't easy to follow. Is this the right career for me?

    Posted: 04 Jul 2019 05:37 AM PDT

    I picked up Minecraft plugins/mod development pretty quickly and I loved it. It's relatively simple and I knew a mentor I'd text if I needed help.

    It got boring after a year, and I moved onto Android development. I found it extremely difficult to learn, not because the concepts themselves are hard, but because there was just too much to take in. I get tired ten minutes into Android app development and end up browsing Reddit instead.

    Is programming the right career for me, or should I consider something else?

    Thank you!!

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

    What do I do if I've spent days on a single problem and can't find the answer online?

    Posted: 04 Jul 2019 10:19 PM PDT

    I'm just stuck. I feel like my learning is severely gimped because I can't ask anyone for help. I just struggle and struggle and google and google and can't find a solution to my problem. I have no idea what to do.

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

    When did you find it faster to learn something through documentation than tutorials.

    Posted: 04 Jul 2019 09:38 PM PDT

    I like tutorial but after a while they become tedious. If I'm learning a new language I have to go through the same hoops of variables, storing in variables, then if statements and then loops. I'm actually able to make heads and tails of documentation now. I can see it for what it is which is a more technical and to the point "tutorial".

    I kinda hate videos. I rather reading a lot.

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

    Online programming degree

    Posted: 05 Jul 2019 12:31 AM PDT

    Hi I was wondering if anyone had some good recommendations for getting a programming degree online

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

    Want suggestions for an Interactive quiz

    Posted: 05 Jul 2019 12:24 AM PDT

    Hi Everyone,

    My name is Varsha Solanki. I am working In an app development company.

    I want to write an interactive content that uses questions to assess user knowledge levels on Mobile app development frameworks. As I am not an excellent writer by profession, but I want to write.

    I know the basic Idea of Mobile app development framework. But I don't know What kind of questions I should add in this Quiz?

    Can anyone suggest me whom should I contact to get a better idea about writing a quiz for mobile app frameworks? or Can anyone suggest me some good questions that I should add in this quiz?

    Or can anyone suggest me some reference blogs That can help me out for a better idea?

    Thank you in advance.

    submitted by /u/varsha-spaceo
    [link] [comments]

    Jagged 2D array Help

    Posted: 05 Jul 2019 12:04 AM PDT

    Hi there I am having trouble on a programming task. The task is to write a program that prompts the user to enter a paragraph string, the string then needs to be turned into a 2d array sentences and their component words.

    Some guidance I did get for this task was to split the paragraph into a temp 1d array of its sentences, Allocate space for the 1st dimension of the 2D array that the program will use in all later operations, Use the array produced by the 1st step to generate each of the 2D array's rows (of individual words).

    I am having a bit of trouble with the task here is what i have done so far.

    import java.util.Scanner;

    public class WordCount{

    public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    String paragraph;

    System.out.println("Paragraph Program");

    System.out.println("Enter Paragraph");

    paragraph = sc.nextLine();

    String[] sentences = paragraph.split("\\. ?");

    for (String s : sentences) {

    System.out.println(s);

    }

    int scount = sentences.length;

    System.out.println("Number of sentences in paragraph is " + scount);

    String jaggedarray[][] = new String [sentences.length][2];

    }

    }

    I need to split the sentences from the paragraph into their components words. I don't really know how to do that, I used paragraph.split to split the paragraph into its individual sentences and store it in String[] sentences, but i need to somehow repeat this process and split individual paragraph sentences and their component words.

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

    In college for computer science, can I make decent money while attending school?

    Posted: 04 Jul 2019 11:26 AM PDT

    So I'm 26 and this summer is my second semester in college for a degree in cs. I'm just doing pre reqs/ge however in the fall I'm taking the c++ and machine learning and I'm currently learning python. My issue is I didn't put much effort in during high school and now I'm way behind in math, I'll be taking pre calc/trig this semester and then have 4 semesters of calculus to look forward to before I can transfer. I love math and am not complaining about learning it, and it's my own fault I only went to geometry in high school, but it's going to be 2 years before I even take more computer science sclasses after these as my pre reqs will be met. Is there anything I can do to make decent semi consistent money with the education I gain?

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

    Suggestions for learning Scrapy and xpath for an at-home coding task? Plus an education in coding interview etiquette [python]

    Posted: 04 Jul 2019 11:04 PM PDT

    Hey y'all

    I got my first at home coding task for a coding interview. I really wanna ace it. I have until Sunday night to get the files back to the company.

    I received the email with the download around 6 hours ago and I've been looking around Scrapy and xpath documentation since then, trying to learn enough to start building my own code. Xpath stuff is really confusing though.

    I have 3 sample files to look at so I'm scrolling thru the HTML of the pages those sample files. They scraped pages in each of them so I'm looking around learning how the xpath notation in the .py file is deciding which part of the HTML to reference... it's confusing.

    Now since it's a company thats given me this coding task I'm not sure how much help I'm allowed to get from places like /r/learnprogramming or StackOverflow (maybe they're even gonna google their own code from the assignment?) so I'm not in a rush to post anything code itself ... methinks maybe they wouldn't appreciate that. Unless I get like 3 people telling me it's fine, I plan on mainly referencing questions that have already been posted with similar content while I work on this. As for this post it's more like I'm looking for (1) general suggestions about how to learn scrapy and xpath stuff quickly and (2) etiquette for this kind of thing

    Thanks guys

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

    Want to create a YouTube channel and tutorials

    Posted: 04 Jul 2019 10:46 PM PDT

    Hello everyone, I've been learning (self-studying) different aspects of computer science for about 5 years now. Don't have much experience yet and can't say I am proficient at anything, never taken it that seriously. What I learned pretty good though, is the informational gap between general public and computer science content.

    So my idea is to make a channel where I'll simply upload a video tutorial of me (non-technical person) casually describing, demonstrating and explaining some programming trick (for instance) that I've learned that week so it is more understandable to general public.

    Some boundaries: I'd rather not do web development. I like Python, R, Julia, Bash, Golang, SQL, therefore Data Analysis, Machine Learning, Cybersecurity, minor Software Development for the above-mentioned fields only. I can even do some Open Source Intelligence and Raspberry Pi development.

    Any thoughts, tips or advise will be helpful.

    Thanks

    P.S. I think I read the Rules, FAQ, etc. so if I'm somehow breaking a rule, I'm unaware of that. Please, have mercy.

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

    Using React-FilePond with Python-Flask (Uploading images to a Flask server)

    Posted: 04 Jul 2019 10:42 PM PDT

    Hey guys! I'm really struggling with this. I have a locally hosted Flask server and a small React application. I'm trying to use FilePond as an easy solution for image uploading. FilePond takes care of sending each image to the server.

    So the problem I'm obviously having is with the backend code. I've set up my server like this, per Flask's docs

    UPLOAD_FOLDER='/images' ALLOWED_EXTENSIONS = set(['png', 'jpg', 'jpeg', 'gif']) app = Flask(__name__) app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER def allowed_file(filename): return '.' in filename and \ filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS @app.route('/', methods=['GET', 'POST']) def upload_file(): if request.method == "POST": # check if the post request has the file part if 'file' not in request.files: print('No file part') return make_response("No File Part", 400) file = request.files["file"] # if user does not select file, browser also submit an empty part # without filename if file.filename == '': print('No selected file') return make_response("No Selected File", 400) if file and allowed_file(file.filename): filename = secure_filename(file.filename) # filenames can be dangerous! file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename)) return make_response("Success", 201) 

    However, when put a

     print(request.files) 

    statement at the beginning of the upload_file() function, it seems that this is the request the server is receiving:

    ImmutableMultiDict([('images', <FileStorage: 'imageName.jpg' ('image/jpeg')>)]) 

    and I have no idea how to deal with that. I don't know if 'images' is where 'file' is supposed to be. I'm just not really sure where to go from here or what to do with the data being received. I don't know what <FileStorage: .... > is, I've never seen that <> syntax being used.

    Can anyone help?

    Here's a pastebin for better formatting of the code

    Thank you!

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

    Pretty sure I bombed a leetcode style question in a interview. Any help in how to approach this problem?

    Posted: 04 Jul 2019 06:03 PM PDT

    Interviewing for jobs and ran into this leetcode problem I couldn't solve totally. Hopefully someone here can point me in the right direction?

     

    Basic Facts

    1. We have pieces of garbage that are being loaded into garbage bags to take to a dumpster

    2. Each piece weighs between 1.01 lbs and 3 lbs

    3. The garbage bags can't hold more than 3lbs of garbage

    4. Each trip you can carry one bag

     

    Given a float array of weights, what is the fewest number trips to get all the garbage to dumpster, assuming the garbage is packed optimally.

    Example:

    Input: [1.5, 1.5, 1.5, 1.5]

    Output: 2 trips

    We can fit the garbage into 2 bags, so two total trips.

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

    Mobile coding app

    Posted: 04 Jul 2019 08:49 PM PDT

    I am trying to improve my python, don't have as much freetime at an actual computer. I have a python compiler on my phone, but what I'm looking for is an app that will give me challenges and test to see if they work. I have projects I'm working on currently, but never had an official schooling In python and want to make sure my basics are good. Any suggestions?

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

    server spatial paring using quad trees and voronoi diagrams minecraft

    Posted: 04 Jul 2019 08:49 PM PDT

    Ok im no tech genius but a guy pulled of split a minecraft server into 4 server quadrants and i don't know how he did it. called the project Koekepan cant find anything really on it. all I got is this video for sure and a post on stack over flow
    the youtube video is very vague and doesn't tell you much lmk if you can help thanks https://www.youtube.com/watch?v=yBcdm20Ounc&t=1s sorry if this is bad grammar im not the best writer

    submitted by /u/2julu
    [link] [comments]

    For a complementary class to Java, should I try C++ or C#?

    Posted: 04 Jul 2019 04:53 PM PDT

    Currently in college, I am learning Java as my main programming language. However, in fall quarter, there aren't any available classes for the next part of Java, so I want to fill in the gap with learning a different language.

    Should I try out C++ or C#?

    I do want to have game development as a side hobby of some sort, and I notice that the two languages seem to be a popular programming language for games.

    What do you think I should pick out?

    (It is worth noting that I am likely going to do only the introductory version of these classes, as I will continue to study in the later quarters)

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

    32 Y/O looking for a career change into Software Development UK

    Posted: 04 Jul 2019 03:48 AM PDT

    A bit about me I have been self employed running different businesses (selling products) but mainly I made money in advertising for people online, and thats when i dabbled a tiny bit with wordpress.

    So now I have some great passive income but looking to throw myself into programming/software development but I have no degree, and the only bit of experience is messing around with blogs time to time.

    What would be the correct path to becoming qualified? I have the time to dedicate to educating myself fully, I just hope I'm not too late. I'm a reasonably fast learner and have a very very vague knowledge of some stuff.

    I would love to get into Video Game Design, if I had to decide what field in particular.

    Thanks, I really appreciate any advice thanks

    p.s. whats the salaries like in the UK for full time or remote work in this field?

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

    Spaghetti code vs no code at all

    Posted: 04 Jul 2019 04:43 AM PDT

    I have been wanting to get into a programming job for around a week now, it would be my first job in the field and I'm looking for some guidance, first some info about me:

    I'm still a student, 20 years old, I'm from a shit country with shit education so I'm for the most part self taught. For personal reasons I had to take this year off the university but I plan on returning next semester. When I was 18 I got my first job into tech support, I was there for 8 months but they tried to force me into a different shift so I quit and focused on my studies. I've been without a job since, I'm wanting to get another job but not back into tech support since I want some programming experience, I know a lot of people recommend having projects to show but I'm not quite there yet and I don't have any ideas.

    I do have one project, a web app I built last year for university as part of the course, it was for a small school meant to keeping students' records and their parents', grades, teachers, stuff like that. I made this using HTML/CSS, Bootstrap, JavaScript, PHP and MySQL, it was all completely local since I had no idea what Git was at the time (still don't, really), but here's the thing: it's a mess.

    There's repeated code everywhere I could've made into functions, I tried to make things in the least amount of files possible since at the time I thought that was the way to go, so there are things clumped together that shouldn't be, there's some instances of me basically making two pages into one file for some reason (toggled with JavaScript and CSS), there's an input validation with literally 8 nested ifs, you get the idea.

    Don't get me wrong, it works and it looks pretty and all, but back there the code can be a nightmare, this was something I made from scratch, my first real experience with programming and I did it without any kind of help from the teachers, they were pretty much absent through the whole thing, I had to teach most stuff myself with the internet as my only help, I was just slammed into it and had to make do with what I could find.

    So that's my dilemma as you've probably guessed by now. I could try to fix it up but I'm just not sure how much that's worth it, like it'd probably be even faster to just make the whole thing from scratch again rather than trying to fix it, there's still a lot I don't know so it may still look bad, and the concept itself is likely something done to death, would anyone be impressed by it?

    As of now I see three options:

    • Clean it up a little (get rid of unnecesary comments saying 'fix this', which are a ton, actually fixing those things and other small things), slam that into GitHub and hope potential employers understands it was my first time and that I'm a bit better now (unlikely, I'd say).
    • Not add anything at all, leave my (new) GitHub out of my resume and wait to get a call just based on my studies, courses and previous job.
    • Redo the whole thing from scratch, this is probably the best but it would take a lot of time, I would hate doing this only for it to be irrelevant, would it truly increase my chances of getting a job?

    I'd really appreciate any kind of input, thank you for reading

    TL;DR: I made pretty basic web app which is a mess, should I add it to my resume as is, remake it from scratch or not add it at all?

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

    Where should I look for a Job in Germany?

    Posted: 04 Jul 2019 01:39 PM PDT

    Hi guys,

    I hope here are some people from Germany, which can help me.

    I want to look for a Job in Germany, but I don't know where should I look. I am trying to find some site like UpWork or something like that, where I can find people, which want to make some website, portfolio etc. I am also looking for a site, where I can be hired from some agencies or so.

    Thanks a lot for all replies

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

    Troubles about reprogramming

    Posted: 04 Jul 2019 07:36 PM PDT

    I'm a systems engineer but I went to the networking area, but is to hard to find a job for that area, I want to practice my programming skills but i don't know where to start, can someone suggest any webpage to learn, and which languages are good to get a good job nowadays and obviously well payed?

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

    I don't know where to start. Tips anyone?

    Posted: 04 Jul 2019 07:34 PM PDT

    Hi everyone. I am self teaching myself how to code. I've been watching videos in edX but I feel like I'm just running in circles. I'm not sure where to start anymore. For people who are self taught, any tips you can give me?

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

    I need help with constraint satisfaction.

    Posted: 04 Jul 2019 03:43 PM PDT

    Can someone who's good with constraint satisfaction help me? I've been reading up some webpages of this topic, and I'm confused behind some parts of it. I'm learning about this independently, so I have no teachers to help me, but hopefully, some of you can substitute that role for today. I've been looking up a lot of online resources that explain constraint satisfaction, but a lot of them are slide-presentations with brief descriptions slide (they were obviously designed to be for a lecture that would have a professor elaborating more details or clarifying thems), and some have pseudocode or stuff with logic symbols that only seems understandable after specialization.

    I was wondering if someone could explain what arc consistency is? It's a word that pops up several times as I've read more and more about constraint satisfaction, but Wikipedia is not helping me out: https://en.wikipedia.org/wiki/Local_consistency

    Also, I'm baffled on how some the terminology. I know what they mean abstractly, but I'm not sure how they work. For example, what's the difference between the implementation of "forward-checking" and "backtracking?" I know that backtracking is when you rewind back to the most previous node (fork in the road) in the search-tree-flowchart after encountering a mistake. (https://hackernoon.com/sudoku-and-backtracking-6613d33229af ). Now, the meaning of forward-checking is the opposite, where we speculate how a future candidate would fare if it were chosen, and ignoring the idea if we realize that it won't work (https://ktiml.mff.cuni.cz/~bartak/constraints/propagation.html). If this is the case, wouldn't forward-checking be the exact same thing that we did in backtracking, but from the previous node's point of view?

    Thank you.

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

    No comments:

    Post a Comment