• Breaking News

    Friday, August 2, 2019

    The Non-Sexy Way to Get Your First Programming Job learn programming

    The Non-Sexy Way to Get Your First Programming Job learn programming


    The Non-Sexy Way to Get Your First Programming Job

    Posted: 01 Aug 2019 11:50 AM PDT

    As a self-taught developer or recent college graduate, the game is rigged against you when you're trying to get a job.

    The hardest part is getting your foot in the door. You have no way to prove your skills on a resume and most companies won't take the time to look at your portfolio or Github account, so it really doesn't matter how good of a programmer you are because HR will just toss your resume when they see no job experience or a non-CS degree

    The standard approach is application hell, apply to hundreds of companies and hope for a call back from 10, interviews from 3-5 and 1-2 job offers.

    I think the better approach in most cases is to get your foot in the door with a "non-sexy" job first and then either transition to a full engineering role at your company or network and use your connections to get referrals so you can skip straight to the interview stage and show off your skills.

    Think about it like running around a brick wall instead of trying to run straight through the brick wall

    Some jobs to look for:

    • Technical Writing - This is such a big deal that Google just launched Season of Docs to go with the long running Summer of Code, companies need people with programming and writing skills to create documentation and bridge the gap for marketing software products
    • Automated QA
    • Sales Engineer
    • DevOps
    • Cloud Engineer

    Or even a completely non-technical job if necessary, what matters is getting your foot in the door of the tech industry.

    For a more in depth explanation and look at this you can check out the video I made:

    https://youtu.be/4c1wkezps3U

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

    I want to get started with Neural Networks

    Posted: 01 Aug 2019 03:37 AM PDT

    I started learning C++ like 1 year ago and i also have some experience in Java. As said in the title im interested in AI and Neural Networks and i wanted to ask whether there is an easy way to get started with it (like books or smth)

    Thank you in advance and sorry if my english is bad im not a native speaker.

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

    I'm having trouble gauging my knowledge level at programming, and what to learn next.

    Posted: 01 Aug 2019 11:16 PM PDT

    I've been programming for 3 years, I have a diploma in computer science. I work mostly in games doing C# and Unity and I'm having a hard time figuring out where I stack up, what I should learn next, and how knowledgeable I am in general.

    I mostly work freelance so I don't usually work with other developers. Are there any general knowledge online tests for programming in general or C# that anyone can recommend?

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

    The shocking truth behind Unpaid internships! (U.S. advice only)

    Posted: 01 Aug 2019 11:21 PM PDT

    I can't speak for other countries so this advice is for the U.S. only.

    Unpaid internships can be a good thing. I know, crazy? right?! Here's how :

    First - only consider legal unpaid internships Based on U.S. law a legal unpaid internship must meet the following 6 guidelines :

    • The internship is "similar to training which would be given in an educational environment," despite occurring on the employer's premises.
    • The intern does not replace or displace existing employees and works under the supervision of existing staff members.
    • The internship is given for the benefit of the intern. "Benefit" is broadly defined, but can include teaching and learning new skills relevant to the intern's profession, imparting relevant knowledge, completing self-directed projects in a real world setting, and earning college credit toward the intern's graduation or degree requirements.
    • The employer "derives no immediate advantage from the activities of the intern; and on occasion its operations may actually be impeded."
    • The intern is not automatically entitled to a paid position at the conclusion of the internship.
    • The intern and employer mutually agree that the intern is not to be paid for the duration of the internship.

    If it doesn't meet those 6 criteria then the company is more likely to have ulterior or exploitative motives. It's not worth the risk.

    Second - Part time only

    If you're not getting paid then you need to take time to apply and prep for a paying job! If you're actively looking for a job you should be submitting 2 (exactly 2, no more, no less) applications/resumes a day. That should take you roughly 1-1.5 hours each, if you're doing it right.

    Third - At will states or short contracts only

    If you're in an at will state you can leave at anytime with no penalties. If you're not in an at will state make sure the internship is short (1-3 months tops) to leave your options open.

    Fourth - Don't take it over a payed internship

    Of course everyone wants to get paid, and I want you to get paid. Don't go hunting for an unpaid internship. But if you're unemployed and not getting paid you might as well not get paid to get some real world exposure, networking, and training. Or you can not get paid and not get those things too. /shrug, up to you.

    Fifth - Focus on the gains, don't focus on fair

    Don't fall into the trap of limiting yourself by focusing on "fair". Fair is a perception, an illusion. No one's life is fair. Almost definitely tons of people have it better and tons of people have it worse. Simultaneously. If you gain from it, and it's reasonable, and it helps you move closer to your goals without inhibiting you, then you should probably do it.

    Sixth - Don't focus on fair, but still avoid being exploited

    A quick google search can help you out to learn the possible pitfalls.

    Seventh - Leave a great impression

    • Prepare lists, asks questions in batches not scattered.
    • Work hard at trying to produce something. To show you can.
    • Be enthusiastically humble! You still have so much to learn and you're excited to learn it. Don't defend your bugs, just ask how to improve.

    Summary When done right, there are opportunities to make your self more appealing to employers by getting real world exposure, some production level skills training, and some solid networking. But it might cost you time. Hopefully most of you don't need them. But I'd hate to see you all try to hammer your way into the industry when a few of you could be socket wrenches and get in smoother. Do consider all your options and determine which ones are a fit for you.

    If you disagree then disagree with a comment, not a downvote. I have given you logic and you either find the bug and fix it or you don't. Downvotes have no place on programming forums because downvotes are anti-learning. No one learns when they see a downvote, they only learn from reading solid rebuttals.

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

    Is it possible to break past the "I hate code" barrier

    Posted: 01 Aug 2019 05:14 PM PDT

    Hi guys,

    I'm more so a helpdesk/Sysadmin but studied information systems and understand the very basics of web and java code, although throughout University I tried dodging code as much as possible over the years and I haven't been able to overcome it.

    I am finding myself moving either away from sysadmin or just wanting to try to code again to maybe learn a bit of DevOps or just to help my scripting skill level.

    Just to dodge coding in my degree I changed the core program to information systems instead so I didn't have to do advanced Java and c++

    I am happy to try this in my own time this time however just wanted to hear if anyone who absolutely hated coding in university and left it and turned it around or just hated code in general but found their way.

    I need to PowerShell and script things now and I'm finding that I am a dinosaur, I had to learn some AWS concepts and was struggling and thought to myself now I should take the plunge.

    Thoughts guys?

    Thanks

    EDIT: Thought I'd add my experience and what I've done so you can gauge where I am at.

    I have done assignments in HTML, CSS, PHP, touched on JSON and know the fundamentals of java ie. vars, loops, while, do and barely understand the theory of arrays.

    Looked at node.js, websockets PHP and a mix of other things I worked on documentation of a whole project but my team members did all of the code since I couldn't make any progress or help.

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

    Senior Frontend Developer in SF looking to mentor a group of 10 who want to become web developers professionally

    Posted: 01 Aug 2019 03:39 PM PDT

    Hi everyone. This isn't the first time I've opened the doors to taking on an apprentice here on Reddit, but I have some good news! Now that all my students have gotten jobs, I'm going to open up to a larger group of people this time. Watching one-by-one as my students got their first job was one of the most thrilling things to see happen in both their lives and mine, and after really figuring out what it takes to get someone job-ready from nothing, I know exactly how to get you there as well.

    In my opinion, everything you need to get a job is out there on the internet. That doesn't make it easy to become a web developer, though. It's just the start.

    Programming is famously difficult to learn. I partly blame how our education system forces us into this "oh no, I'm wrong!" mentality, and that there's some magic "right answer" out there that only "smart" people know and that's why only "smart" people "get it" and you don't.

    That mentality helps no one. Truth is, though, it's difficult to learn even with the right mentality. It's death-by-a-thousand-choices out there when it comes to learning anything. It's also a lot of uncertainty. How do you know if you're doing anything right, or even useful?

    Well I've seen a pizza boy with no college degree grow into a competent developer with a job by sheer force of will and a light touch of guidance, and I can show you how to do the exact same thing.

    To do this, I'm going to host a small group video chat and Q&A session this Sunday at 1:30pm PST. Everyone from any background and a desire to get a job in programming is welcome to attend.

    You'll walk away from it knowing exactly what you need to do next to get closer to a job as a web developer. For some of you, that might mean joining my apprenticeship group (and I'll tell you what the group is like during the call). For others, it won't, but I'll tell you exactly what you should do next.

    If you want to join, just DM me with your current history with learning programming and any questions you'd want answered during the group video call. I'll record it, so don't worry if you can't make it.

    I don't have anything fancy for this, it's just a small, tight-knit group of us who want to make it as web developers. If that's what you're looking for, I'm excited to take around 10 of you there myself (but still give plenty of guidance for anyone else!).

    Ask anything you want in the comments. Thanks!

    EDIT: had a lot of messages, may take a little while to respond. I promise to get to all of them tomorrow if I miss yours today (Aug. 1st). Thanks. Also, I've only ever had remote students, so it's alright if you're not near me.

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

    Organizing time to learn code

    Posted: 01 Aug 2019 11:47 PM PDT

    So let's say I only have a couple of hours a day to learn to code (2). What would you guys do in this time frame to learn HTML, CSS, and javascript in a very efficient manner? And another question. I've been trying to learn a bit of HTML, but when I learn it and move on to other things it just goes poof out of my head. Any reasons or suggestions to fix? Thanks.

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

    How do I learn the amount of math that's necessary to study an algorithms book?

    Posted: 01 Aug 2019 10:05 AM PDT

    Every algorithms book that I found requires some sort of prerequisite knowledge about math, the problem is, my foundation of math is extremely poor (I don't even know what a logarithm is). Although that doesn't mean that I know nothing about math (proving, algebraic manipulation, etc...)

    Can someone please guide me to resources that helps with the concepts that are required in algorithm books?

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

    What would be the a good cloud solution for a personal project involving a web app, some data storage and a scheduled task?

    Posted: 01 Aug 2019 10:24 PM PDT

    I've seen some questions regarding AWS/Azure here before so I assume this type of subject is allowed even if it is not strictly programming... Apologies if I've made the wrong assumption. Is there another sub or a stackoverflow esque site for me to make this question?

    Anyway, for a more detailed description, I want a scheduled job to pull some data through some APIs and some web scrapping, store it (I was thinking of using PostgreSQL or maybe trying out mongoDB for this) then use that data in my web app (either by server rendering the pages or exposing that data in my own API).

    I considered getting an EC2 instance on AWS and set up everything in it (cron job + install postgres and node for the web app), but I never really did anything myself on AWS and all the different options left me confused.

    A reserved EC2 instance would be the simplest thing I guess, but having 100% uptime on my web app is not important, so I imagined an on-demand instance would be cheaper, but I'm wondering what happens to my data when the instance is stopped? Would the database data and the installation of postgres and node still be there if I stop the instance and run it again only a few days later? Would I have to pay extra for the storage (the AWS pricing page says EBS only on the storage column)?

    Is using a different AWS solution such as lambda for the job, beanstalk for the web app and RDS for the data worth it for just a small personal project?

    By the way, I'm asking about AWS because it's the most well known and used, but I wouldn't mind using Azure or some other provider, I'm only looking for the smallest price.

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

    I have a conundrum about what to learn, I've started Python (complete noob) but need to learn SQL for a future gig.

    Posted: 01 Aug 2019 10:11 PM PDT

    There is an employer in my area with great pay, incredible benefits good environment and it seems like something I would do now I'd I could but I have to learn SQL which I've been told is hard to learn.

    This employer whose been in the programming scene since the 90s basically refuses to hire anyone with a college degree since they don't want to have to teach them their way and "unteach" all the bad habits from a classroom environment. I started teaching myself Python I'm still very early on but I saw it was one of the easiest for a noob to learn.

    Should I keep on the track of python then learn SQL or transition over to C++ C# or a different language to prepare for SQL? I know the process will take a long time since I have a full time job already and at the moment this is more of a study in my free time kinda thing (luckily I have quite a bit because of third shift) I'm just wondering what the best path for my current plan would be?

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

    Node.js Express Typescript - Cannot understand one line of code

    Posted: 01 Aug 2019 09:58 PM PDT

    I hope this is an appropriate post... I am still a noob. While I have been dabbling for quite some time, I am only now starting to really enjoy the programming process and building things.

    I'm building an api using Node/Express/Typescript. I found an example of - what I think - is an elegant way of handling routing. But, I can't wrap my head around one specific part of the code.

    We define the routes as an array of objects, like this:

    export default [ { path: "/users", method: "get", handler: (req: Request, res: Response) => { res.status(200).send("Hello from GET /user routes."); } } ]; 

    Then we pass the routes and the express router instance into a function that is looping through, destructuring, and then somehow applying the routes to the router instance:

    const applyRoutes = (routes: Route[], router: Router) => { for (const route of routes) { const { method, path, handler } = route; (router as any)[method](path, handler); } }; 

    I don't understand this:

    (router as any)[method](path, handler); 

    It must be resolving to something similar to this, right?

    router.get('/', function(){}) 

    If so, how?

    Any help is appreciated as I'm not sure what to search for to get the answer for this specific syntax. Thanks!

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

    Which Do I Learn First - Data Science, Machine Learning, or AI Development?

    Posted: 02 Aug 2019 12:14 AM PDT

    I know that each of the above have their relations and differences, but which one should I learn first? I'm completely new to all of these. Also, would it be smarter to learn web dev or mobile dev before any of these? All of these interest me and I'm willing to try and learn them.

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

    Any C# .Net developers in Denver wanna make a quick buck and teach me what you know?

    Posted: 01 Aug 2019 04:36 PM PDT

    Really I'm trying to self teach and I keep running into little snags, and I'm not sure how to keep learning if I'm stuck in a spot. Lemme know!

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

    How to decide what framework/discipline to specialize in

    Posted: 01 Aug 2019 08:16 PM PDT

    Stuck with a handful of options, students often ask which framework or discipline (e.g. video games, full stack web development, etc) should they specialize in? Here's one way to sort through the question.

    1. Can you learn it?
      Are there materials or a school that can get you there from your current level? If on quick glance you don't see a path, then abort.
    2. Is the technology booming or dying?
      If you had to choose between two technologies, choose the ascending one. Use Stackoverflow trends to compare the activity on the technologies.
    3. What are your salary requirements?
      Check Glassdoor for the average salary in your location. If you aren't happy with the salary of a specialty, ditch it!
    4. How many jobs are there?
      Check Indeed (or any other job board) for how many jobs are listed in your area. The more jobs, the easier it'll be to get a job.

    Good luck!

    submitted by /u/7forest
    [link] [comments]

    How does algorithm related to coding?

    Posted: 01 Aug 2019 11:57 PM PDT

    Ok. I know this is a pretty stupid question but I hear stuff like this a lot. "When you learn algorithms, learning a coding language from scratch is easy." Just what are algorithms and how does learning it help with learning coding. I'm a beginner at all of this.

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

    API between 2 websites

    Posted: 01 Aug 2019 11:57 PM PDT

    I am working at this small local company doing HTML/CSS for their proposal page.

    But I have a chance to do some API work at that place, and I really want to make it work, so I was studying about it. Of course, even after a few youtube tutorial videos, I only have a little idea what is API, so I think I need some guidance on what to look into.

    So basically, they're using this website where they save their customer information (name, address, etc.). Then, they want to input this information to another website they use to create a proposal to customers.

    I'd really appreciate any ideas, like a big picture of how it would work, or what should I look into.

    Thanks in advance!

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

    Efficient Way of Matching Schedules

    Posted: 01 Aug 2019 08:07 PM PDT

    So I'm in the process of teaching myself Python, primarily through AutomateTheBoringStuff and lots of Googling, and I have a question about a program I'd like to write.

    TL;DR Version

    Goal of the program: Given a teacher's schedule of availability (over a week), and numerous student schedules, generate a weekly schedule that assigns each student a one hour time slot that fits with both the teacher's schedule and the student's schedule.

    The details: I'm a music teacher, and part of my job of is teaching weekly private lessons. There are around 15-20 students in my studio each semester, and each of those students gets a single, one-hour lesson with me every week.

    The traditional way of generating this weekly schedule is tedious and time-consuming, not to mention error-prone. I'd like to have each of my students enter their availability in individual Excel sheets - preferably in a grid style schedule, with Mon-Fri as columns and time slots by the half hour as rows. The students would simply put an 'X' in each cell that corresponds to an open time for that student. Then, I want my Python program to take all of the student schedules, and assign each student a time slot that fits within the teacher schedule.

    What I have now: I currently have a basic version of this program, which accomplishes the ultimate goal, but does so in a pretty non-eloquent way. My current program asks for a list of available times from the teacher (and creates a master schedule), and a list of available times for each student. The input has to be done manually. Then, the program goes student by student (in order of least availability to greatest), finds the common elements between each student's list and the master list, randomly chooses one, and makes that the student's assigned lesson time. That time is then removed from the master list, and the process repeats for the next student.

    This program is nice in that it essentially works, but I still have to enter all of the schedules manually, which is a pain.

    My Questions: How can I turn a grid schedule from Excel into a list of available times for each student? If a student places an 'X' in every cell that they're available, can I turn that into a list of X's and 0's, and then use the index of each X to correspond to a time in the week?

    My programming friends have suggested that I make use of matrices or arrays in NumPy. Is this going to be a more effective approach than using lists and sets?

    How can I make this program so that each student can not only list their availability, but also a preference for which lesson slots they'd like to have?

    Please let me know if this question is too broad, and I'll remove it. Thanks!

    # This program assigns lesson times for any number # of students taking lessons with a single instructor. # masterSchedule = this variable contains a list of available time slots for a teacher # studentSchedule = this variable contains a list of nested lists of available time slots for each student # (the first value in studentSchedule serves as the name of the student) import random import pprint pp = pprint.PrettyPrinter(indent=4, width=1) studentList = [] # the list of lists of available time slots for a student studentDic = dict() # this is the dictionary which contains the lesson assignments masterSchedule = 0 numStudents = input('How many students need assignments? ') print() for i in range(int(numStudents)): studentName = input('Enter student\'s name, followed by their schedule. Separate with spaces. (E.g."Jimbo 1 2 3 4") ').split() studentList.append(studentName) studentList = sorted(studentList, key = len) def genMasterSched(): # this function generates the masterSchedule print('What is the master schedule? List times available, separated by spaces.') global masterSchedule masterSchedule = input() masterSchedule = masterSchedule.split() print('Is this correct? (Type "yes" or "no")' + str(masterSchedule)) answer = input() if answer.lower() == 'yes': masterSchedule = set(masterSchedule) return else: genMasterSched genMasterSched() tempmasterSchedule = set() def genSchedule():# This function finds common elements between masterSchedule and a given list from studentList for i in studentList: slItem = set(i) global masterSchedule availability = list(slItem.intersection(masterSchedule)) assignment = random.choice(availability) masterSchedule.remove(assignment) tempmasterSchedule.add(assignment) studentDic[i[0]] = assignment print('A possible solution for the teacher\'s schedule is as follows: ') pp.pprint(studentDic) print() confirmation = input('Press enter to randomly generate new schedule.') if confirmation == '' : masterSchedule = masterSchedule | tempmasterSchedule genSchedule() else: print('Goodbye') genSchedule() 
    submitted by /u/charlesV92
    [link] [comments]

    Web graphics and shaders

    Posted: 01 Aug 2019 11:26 PM PDT

    Hi there, hope all is well!

    I've got a solid under standing of JS and more basic understanding of 3D. I'd like to develop my skills in web graphics (webgl e.c.t.) but don't really know where to start. I'm guessing web gl will be a good start, if so are there any good resources for learning it? I'm also aware of web gpu coming out soon and would like to be able to pick that up rather quickly once it's out so what's the best way to prepare? Learn webgl, opengl, metal or vulkan?

    Really appreciate any help! Thanks, Ed.

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

    Why is the Fibonacci sequence implemented using a recursive function?

    Posted: 01 Aug 2019 11:18 PM PDT

    The chapter "recursion" in Algorithms and Data Structures in Java has a lot of examples that I think would be much simpler and efficient to do in a loop. The Fibonacci is also one of them. Is there any real benefits to recursion?

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

    Why can't this stop looping even at the right variable?

    Posted: 01 Aug 2019 07:27 PM PDT

    I have this code:

    public void setLine(String glass) {

    `String hi = "Hello";` `if(glass == hi) {` `this.wowser = glass;}` `else {` `do{System.out.println("Try another word (remember, keep capitalization in mind)");` `glass=Strings.nextLine();} while (glass != hi);` `}` `}` `public String getLine() {` `return wowser;}` 

    Lets say I am declaring what "glass" is in a separate main class and in this class, "Wowser" is a private instance variable. I want to have the the user keep printing out words until they get to "Hello". I've been trying to do that with this, but when I carry this out it keeps printing "Try another word (remember...)" regardless. What am I doing wrong?

    p.s. I am aware of rule 10, and I would like to clarify things before I post.

    1) This is for homework, but this is not the entire thing I need to do. As it says, " try solving it on your own first and ask for help on *specific* parts you're stuck with. " I've been scratching my head on this for at least 2 hours and still no progress. Also, there are many, many more things to do in this assignment, this is just one area of confusion.

    2) I am not looking for a complete answer. I don't want someone to give me the entire revised code that will work. I just want a "hint" for say. Just Tell me what you think is appropriate that's in bounds with rule 10.

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

    How do i get good and learn to tackle bigger projects?

    Posted: 01 Aug 2019 11:05 PM PDT

    I'm a 3rd year software engineer student at a top university. I can code competently, have done since i was a wee lad. I have got top marks for all my assignments throught uni, and my lecturers genuinely seem hopeful for me and impressed at times.

    But then I come home, try to work on a passion project, and I feel so stupid and unqualified. It's a strange thing to explain, so maybe an example will make it easier.

    I recently decided that i would create an emulator in order to better my knowledge of low level programming and to give me a decent project to work on. After some googling I settled on beginning with a chip 8 emulator since it's basic enough and would instill the core concepts. But then I start up visual studio, begin to type, and realize I don't have the slightest clue where to even begin. It happens with everything. Give me a super specialised assignment like at university, where I have to code some data structure or solve some maths problem through code, and It comes so easily. But trying to build an actual project, with lots of different parts, always just feels so overwhelming to me. I end up googling more and more to the point where i feel I am just following tutorials instead of doing it myself. It's happened with other projects in the past. Usually i will manage to bumble my way through, but the end result is just a collection of code i've wrangled up through various google searches and cobbled together; I never feel like i've actually "figured it out" if that makes any sense at all.

    It's not even as if I don't understand code. When i go on github, and look at other peoples emulators for example, It makes sense to me, and I get what each line is accomplishing. But the whole concept of just sitting down, knowing where to start and how to progress, is like black magic to me. I just end up lost, then frustrated, them upset and doubtful over my own abilities.

    Is this something I can learn? It's worrying me because once i graduate and have to work in the real world on real products, I'm gonna be clueless 24/7

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

    Algorithm question

    Posted: 01 Aug 2019 06:51 PM PDT

    Given a 2D int matrix with 0's and 1's, with each row sorted so the 0's are on the left and 1's are on the right, find the left-most 1 in the matrix.

    The fastest solution I could think of was doing a binary search on each row to find the left-most 1 in each making it O(rows * log(row.length)). Is there a faster algortihm?

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

    using c#(in unity) have this code for walking got from youtube vid(think tested before with it working then) but now my character just topples/flys away; does anyone know the possible problem

    Posted: 01 Aug 2019 10:21 PM PDT

    using System.Collections;

    using System.Collections.Generic;

    using UnityEngine;

    public class walk : MonoBehaviour

    {

    private string MoveInputAxis = "Vertical";

    private string TurnInputAxis = "Horizontal";

    // rotation that occurs in angles per second holding down input

    public float rotationRate = 360;

    // units moved per second holding down move input

    public float moveRate = 10;

    private Rigidbody rb;

    private void Start()

    {

    rb = GetComponent<Rigidbody>();

    }

    // Update is called once per frame

    private void Update()

    {

    float moveAxis = Input.GetAxis(MoveInputAxis);

    float turnAxis = Input.GetAxis(TurnInputAxis);

    ApplyInput(moveAxis, turnAxis);

    }

    private void ApplyInput(float moveInput,

    float turnInput)

    {

    Move(moveInput);

    Turn(turnInput);

    }

    private void Move(float input)

    {

    // Make sure to set drag high so the sliding effect is very minimal (5 drag is acceptable for now)

    // mention this trash function automatically converts to local space

    rb.AddForce(transform.forward * input * moveRate, ForceMode.Force);

    }

    private void Turn(float input)

    {

    transform.Rotate(0, input * rotationRate * Time.deltaTime, 0);

    }

    }

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

    Working with a large code base

    Posted: 01 Aug 2019 11:34 AM PDT

    I'm now working as a developer for a large corporation. I work mostly in C++. The programming part of my job I feel pretty comfortable in. I've been able to implement different ideas and contribute to the team. One of the largest challenges for me now is working with the infrastructure of a large code base. Things like multiple projects in a Visual Studio project linking to each other, configuring CMake files, knowing when to ask for a code review, writing tests for my code, etc. Has anyone else had difficulty with this before? Is there any resources out there that I can learn from?

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

    No comments:

    Post a Comment