• Breaking News

    Saturday, January 9, 2021

    What is the likely-hood of a beginner getting an internship? learn programming

    What is the likely-hood of a beginner getting an internship? learn programming


    What is the likely-hood of a beginner getting an internship?

    Posted: 09 Jan 2021 03:42 PM PST

    Hi! I'm currently a freshman majoring in CS. I have beginners knowledge in Python and learned HTML&CSS over the winter break. At this point, should I even be trying to apply for internships or focus on improving my knowledge instead?

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

    Reading from Moodle and writing assignments to a calendar project help (C++)

    Posted: 09 Jan 2021 01:03 PM PST

    My idea for a project is to take assignments and write them to a calendar. Problem is that I do not know how to begin. Do I utilize the API? Do I web scrape the info? I'm unsure where to begin

    Edit:

    So the API is well documented. I found the function I think I want to use

    https://docs.moodle.org/dev/Web_service_API_functions

    Essentially this one:

    mod_assign_get_assignments

    Description: Returns the courses and assignments for the users capability

    submitted by /u/Stock-List-5330
    [link] [comments]

    Best Free Resources for Learning to Code

    Posted: 09 Jan 2021 03:28 PM PST

    What are the best free resources to learn how to code (for any programming language)?

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

    Java Journey

    Posted: 09 Jan 2021 10:26 PM PST

    I took an intro to java course last semester, and want to broaden my knowledge of the language in attempt to eventually achieve mastery in my writing and understanding of java code. At some point during or after (during) my java journey I will start to look more into coding in other languages, security, and practical and theoretical computer science. I hope to one day be able to help others in their coding journeys, be it by simply looking over someone new's own java code, or by eventually designing my own software applications that aid in helping to solve the problems and questions of the world.

    With that being said, I found a good, long, and what I hope to be very comprehensive textbook that is available to me through my university's library. It has 30+ chapters on many, if not most of the ideas behind and implementations of java 7 and 8 and object oriented programming.

    The class I took was based entirely in eclipse, but in reading the beginning of this textbook I figured I should probably know my way around the terminal (on Mac OS X) a little (a lot) better.

    So, I just got finished learning how to change directories and compile and run java files that are already on my computer through the terminal. I learned something new today!

    I know this is a very basic skill to have down and that I have A LOT to learn before I can say I have a deep understanding of either java or object oriented programming at all, but I am extremely pleased with myself to have picked up this academic pursuit again in my free time. I will be continuing to study java throughout my upcoming semester alongside the five courses I am officially registered for. Who knows; maybe at the end of it I will be able to test out of a class that I am looking at taking next semester.

    TL;DR TIL how to compile and run java files through the terminal, as well as change directories. Any N00B love?

    submitted by /u/im-just-learning
    [link] [comments]

    Is the international version of SICP 2nd edition the same as the US one?

    Posted: 09 Jan 2021 10:24 PM PST

    Just want to make sure they didn't screw with the examples. Thanks

    submitted by /u/0gammaray0
    [link] [comments]

    How do I know what to private in my java codes? OOP

    Posted: 09 Jan 2021 06:36 PM PST

    In OOP, Encapsulation is basically hiding code. But what are the things that need to be encapsulated? Like I know properties of objects should be privated, but then I hear others say certain getters/setters should be also private and as well as certain methods.

    Is there a rule for what should be privated and what doesn't?

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

    Options for gaining practical experience in High School and for a college application?

    Posted: 09 Jan 2021 08:17 PM PST

    I'm a Sophomore in High School and have started learning some programming languages recently, but have had the interest as long as I can remember. I'm learning CNC code in school and familiarizing myself with Python in my own time. What options do I have to gain practical experience in the field and also have another extracurricular to put on a college application and/or resume?

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

    How do you make a "cleverbot/chatbot". (where to start)

    Posted: 09 Jan 2021 03:41 PM PST

    Hello there r/learnprogramming.

    I'm trying to make my own "Cleverbot". To put it short: I would like to make a machine, that can use "machine learning" to advance it's vocabulary and "understanding" of words.

    I'm well aware it's a long and tedious progress to work with machine learning but, where would you start if you wanted to make a bot like cleverbot?

    I aware you need to code the bot itself, and you will need some sort of storage for the words. But where would you guys suggest it's best to start? (sorry if my question is broad and undetailed).

    Also apologies in advance for my horrible english.

    I hope everyone is having a wonderful day! ^^

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

    Chatbot in cpp

    Posted: 09 Jan 2021 10:51 PM PST

    im interested in making a chatbot in c++ , i have seen some github repositories, but didn't get the idea , how can i initiate?

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

    What kind of project should I do next ? (portfolio)

    Posted: 09 Jan 2021 10:51 PM PST

    Hi ! i've been learning basic web dev in the last couple of months and now I've started with NodeJS (the odin project), I want to learn some back-end and also know if my projects are any good or at least if I am heading in to a good direction.

    My website: https://facundosaldivia.github.io/paginapersonal/ (its all in spanish, I am from Argentina)

    Thanks

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

    How can I check if a character in a string is the same as a character in an array?

    Posted: 09 Jan 2021 10:31 PM PST

    In C, I am trying to take a user word input and check that word character by character as an array in a loop. Once word character == array character, I'd like to use that array's index # to match an integer value in another array. Example would be:

    Word = "abc"

    Array[] = a,b,c,d......

    Array2[] = 1,2,3,4....

    I currently have an if loop inside a for loop that only returns 0 instead of the appropriate integer.( all values are declared as 0 to start in the for loop.)

    Thanks for reading!

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

    [React js and Firebase] looking for someone to voice chat to clear some quick doubts.

    Posted: 09 Jan 2021 10:21 PM PST

    I'm currently working on a chat app project, Im having some issues when trying to get data from the Firestore.

    The issues I'm having are probably caused by me just overlooking some basic stuff, I have tried watching tutorials and reading about it online, but so far I had no luck in fixing it.

    If you are interested my discord is Brinnande#0806, I was thinking of just asking a few questions while I share my screen, nothing too long, I truly appreciate any help given. Thanks to everyone in advance!

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

    [Java] Need help tracing through hash map operation

    Posted: 09 Jan 2021 10:17 PM PST

    So for the following problem (https://leetcode.com/problems/two-sum/) , I'm using the test case of

    [3,3], target: 6 

    Here's my code:

     class Solution { public int[] twoSum(int[] nums, int target) { Map<Integer, Integer> map = new HashMap<>(); int[] result = new int[2]; for(int i = 0; i < nums.length; i++){ map.put(nums[i], i); } //CONFUSED about tracing here for(int i = 0; i < nums.length; i++){ int complement = target - nums[i]; if(map.containsKey(complement)){ result[0] = map.get(complement); result[1] = i; } } return result; } } 

    My code output is:

    Output [1,1] Expected [0,1] 

    I have no idea how the output can possibly be [1,1] after tracing the code.

    In my first 'for' loop, my map should look like this: {3 : 1}.

    In my second 'for' loop:

    complement = target - nums[0] = 6 - 3 = 3.

    map.containsKey(3) = true.

    result[0] = map.get(complement) = 1.

    result[1] = i = 0.

    So it should [1,0]. Not [1,1]. How is 'i' even 1 in this case when we're still in our 0th loop iteration?

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

    I want to learn embedded programming.

    Posted: 09 Jan 2021 03:33 PM PST

    I normally know the basics of the C language, I also made little projects with it, but I want to make embedded programs. The problem is that I mostly only find Arduino tutorials, but nothing for simple C language solution. Can someone give some advice?

    submitted by /u/rit-chie
    [link] [comments]

    Has anyone had success with switching to other sectors of programming deliberately?

    Posted: 09 Jan 2021 09:26 PM PST

    I started off in full stack, spent almost a year in React and Node. The decision was purely to build up a portfolio. I've got a couple of interviews lined up, but building applications, websites and web development in general is not something I find interesting.

    How can I transition to other technologies that a company I might end up working for does not use? Should I consider degrees or attempt it on my own?

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

    Networking - Sockets

    Posted: 09 Jan 2021 09:20 PM PST

    What exactly are sockets? Are they the IP and the port of a process running on a machine so that stuff can be transferred to who requested it and what application requested it.

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

    I need help with generating flow fields in Python

    Posted: 09 Jan 2021 05:22 PM PST

    Hi, I'm a beginner programmer trying to procedurally generate 2D flow fields in Python.

    I first do this by generating two 3D noise maps to get velocities, one for speed and one for direction; the dimensions are the x-axis, the y-axis, and time.

    I spawn a particle at a random point, and move it based on the noise values at its positions in space and time. I move it again based on the values at its new position, and rinse and repeat. This should cause the particle to walk across the map.

    This sounds simple, but I'm having a major problem. My particle never moves right; it always heads towards negative infinity on the x-axis. I genuinely don't see anything in my code that would cause this, so I need an outsider's perspective to guide me. Any help is greatly appreciated. Thanks.

    Code: https://pastebin.com/bWQkDvKN

    submitted by /u/314cake
    [link] [comments]

    Map functions making SwiperJS act funny [React]

    Posted: 09 Jan 2021 09:06 PM PST

    I'm using 2 map functions to get the data from this state,

    const [data,setData]=useState( [ { video:[], author:[], title:[] }] ) 

    Here is the map functions,

     data.map(({video,author,title})=>{ return( <div className="swiper-slide" > {video.map(item => loading ? <Video source={item.reddit_video.fallback_url} />:<div id='loading'>LOADING.. </div> )} </div> ) })} 

    My problem is that the elements are getting displayed twice, and it's making SwiperJS act funny, it's not scrolling correctly, it scrolls past one element and then jumps back to the first. How do I fix this? How do I make it so that it only displays one element at a time and doesn't break SwiperJs?

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

    Been using Codecademy to self teach myself programming but I'm not sure if it's worth it?

    Posted: 09 Jan 2021 05:20 PM PST

    Hi!

    I am learning programming for a career change, and I am quite serious about it. I bought a month subscription to Codecademy to try it out before I buy a whole dang years worth. I've been doing the JavaScript course to start.

    I really like the teaching style and the interactivity of the course but I often come away from lessons feeling very stupid and sometimes frustrated. It almost feels like they advertise this to beginners but expect you to be thinking like an intermediate developer by the halfway point. They teach a concept and then ask you to try it out, but the way they want you to utilize it is very different from what they just covered. Is premium really honestly worth it? I don't think I could learn from a platform that only has videos alone or something like that so I'm a little lost.

    I had Codecademy recommended to me by a friend who is quite a successful full stack developer and I'm feeling like maybe I'm just not smart enough to learn programming? Any insight is much appreciated.

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

    I want to make a calendar data-viz web app. What's the best stack or technology to look into for this?

    Posted: 09 Jan 2021 09:03 PM PST

    Using the Google Calendar API and likely Postgres for DB based on the good things I'm hearing about it. I hear node + express / JS is the standard for web apps but Python is used more / better for data-related work. Any pointers would be greatly appreciated. I'm quite new to API calls and building web apps from the ground up but I'm eager to learn. I'm really comfortable with Python and Java, and just starting to learn JS / TypeScript and all the nifty FE frameworks that use it

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

    How to use this python module to upload an mp3 to soundcloud?

    Posted: 09 Jan 2021 08:58 PM PST

    What classes/courses to take?!

    Posted: 09 Jan 2021 08:57 PM PST

    Yes yes, i hate this question my self "can i become a self taught programmer in x y z time". If you apply your self, yes you can.

    But here goes anyway.

    Im in the situation that i have tried two time to take an IT education, and failed both, not due to me not being able to complete or learn the subject, but simply because i cant study in a school (I have a shitty depression that stick its head forth every time i have too much spare time, like when im studying - for the same reason i took two tries at high school sir yir, school is not for me).

    But i recently gotten a job(And never had the same problems when ive been working), that after half a year offers education on the site paid by them, we can chose what ever we want.

    So my question is, if your goal where to work in IT security or Backend dev - What classes/subjects would you focus on in your spare time, and what would you take courses for?! (Both in the perspective of them being more difficult to learn on your own, but also the pespective of the best ones to have papers for)

    If it has any relevance i know python and C#, a bit off unity, html and css.

    Thanks a lot in advance!

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

    Want to learn how to program, but can't maintain structure

    Posted: 09 Jan 2021 08:49 PM PST

    For a while, I've been wanting to learn how to program, mostly because I want a change in career, especially right now (I also kinda wanna make games. I can do everything required for a game except coding, and composing original songs). For years, I always thought I was just too stupid to learn programming and such, but when I took a web design class in college, I found web coding to be a lot of fun and not as scary as I thought. It felt like working on a puzzle, and I enjoy working on stuff like that. So I figured recently I could give programming a shot. Also, for the record, I do NOT expect to immediately land a job with Google or whatever. I'd be perfectly content working for a smaller business.

    Multiple times, I've tried using various free resources (mainly SoloLearn and FreeCodeCamp) to learn on my own, but I sometimes get at points in the lessons where I don't understand something and have no mentor/teacher around to help me out and guide me in the right direction. Then I get filled with self doubt, especially since I'm in my early 30's and I know I'm too old to learn new skills since most people have probably been programming with they were 12 or so.

    It also doesn't help that since I've been trying to self learn, I have no sense or structure as I would in a classroom. And I could use some sort of advice on how to maintain a structure, and if there is any way to ask for help if I get confused about something. Like I was trying to learn C# on SoloLearn, and I was able to understand , but it got to the point where I pretty much asked "Ok, I understand how this works, but what can I do with it?" and I pretty much had no one to ask or just any sort of guidance whatsoever. Also I did a lesson on FreeCodeCamp and couldn't figure it out and had to look up the answer, which felt like cheating a little.

    So yeah, I just feel lost on how I should go about learning programming on my own when I have no teacher to help me. I also have a tendency to lose my focus, like I'll be super dedicated one day, then not feel like it the next. I've read working on projects helps, but that's such a vague statement since I don't know what projects to work on. I want to start learning Java first, but I've ben reading that Java is "dying" so I don't know what to start with.

    I apologize for this being so damn wordy, or if I got repetitive.

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

    No comments:

    Post a Comment