• Breaking News

    Thursday, November 8, 2018

    Career Guidance for Web Design/Development learn programming

    Career Guidance for Web Design/Development learn programming


    Career Guidance for Web Design/Development

    Posted: 07 Nov 2018 06:13 PM PST

    Hello r/learnprogramming. I'm starting to lean towards design and development as a potential career path for myself, after not knowing what on earth I wanted to do for years now. The part where I need guidance, is that I don't know what to do about it. To join a bootcamp, to self teach, to take college courses. I'm not sure what is most effective/efficient for my situation and limited finances, what entry level employers in the industry would value most in 2018, etc., but I'd like to know where to start based off of where I'm at in life. Can any kind souls lend some info?

    My reason for considering Web Design or Development:

    I have some design experience, but very very limited coding experience. I used to enjoy making logos and designs (print, and digital) for friends, friends of friends and family on the side, sometimes for money, but mostly dropped this after life got busy. The reason I don't want to be a graphic designer though, is that I'm not definitely not a pure artsy type, but more of a techy type with a eye for design, and attention to detail. I'm good with technology, pick it up quickly (so I believe I could learn coding hopefully at a good pace), but love graphic design.

    About me:

    I'm 24, and I entered the workforce right after graduating high school, due to college seeming confusing, and starting a family young. The benefit to that is that I'm debt free, and have a bit in savings. I work full time doing inventory work (40 hours a week, regular hours), and have to provide for my little family, so I'm not able to drop everything and go study full time, but would be able to learn on the side through something online.

    Thanks in advance for any advice!

    TL;DR: 24 year old who works full-time needs advice on how to start a career in web design/development in the most frugal of ways

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

    I miserably failed at solving an easy challenge and now I have doubts about becoming a programmer

    Posted: 07 Nov 2018 01:30 AM PST

    I was solving this challenge, using this code, when I failed miserably because for some reason, the program kept crashing when digit.size() reached 2. Seeing as I have failed in solving an Easy challenge, I now doubt my zest in becoming a programmer, and I doubt I'll ever make a good one. I know these emotions are fleeting but I feel like crap atm. What should I do to deal with these feelings of failure? Thanks for your help.

    Edit: Thanks guys! I'm okay now. I didn't solve the issue, but I learned a lot from it. I can't answer to all your posts because I'm afraid it will be spamming because there's a lot of response, but I'll read them all and appreciate them all!

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

    What is the Latin of programming languages?

    Posted: 07 Nov 2018 07:18 PM PST

    As some of you may know Latin can help learn other languages in the long run such as French and Italian. But is there a programming language equivalent to this, like is there a language that makes other programming languages easier to learn?

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

    Hopefully a Helpful Tip on Learning on the Web

    Posted: 07 Nov 2018 01:23 PM PST

    Recently I've been trying to learn a programming language, Go. I'm following along using an Udemy course by Todd McLeod, which I think is a wonderful course. One thing that was an 'aha!' moment was that I noticed him using a web annotation and highlighter tool while going through the language specification and reference docs. So I quickly added those tools to Chrome and started hi-lighting and annotating the documents for my reference.

    I am not sure if anyone else is doing this, but I wanted to share this with you all. Maybe it will be helpful to all the other budding coders out there.

    Peace and love!

    EDIT: I'm also annotating any web reference, such as Stack Overflow and even Reddit, and putting the links in the annotations as well. Moreover, I'm also annotating my gists (code snippets on github) from my practice exercises.

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

    Skill swap between VFX Artist and Programmer

    Posted: 07 Nov 2018 11:38 AM PST

    Hey Everyone,

    My name is Jake. I'm a senior creature modeler for film currently living in New York. I've worked on Star Wars, Gravity, Harry Potter, Avatar, and a bunch of other movies. I'm currently looking to get into programming and spend my time learning from online resources. I was wondering if anyone local to New York would be interested in skill swapping. We meet up, and you focus on creating computer graphics with my assistance, and I focus on creating simple web applications. I can teach maya, zbrush, mari. General asset creation for film.

    I am looking to learn javascript, react, postgresql, and other libraries that might be handy. Any other suggestions on how to study efficiently is much appreciated. Thanks!

    PS. pm me for my showreel. I don't include it here since my contact details is on it, and I'd like to stay a little private. Thanks!

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

    I want to use a Xbox 360 Kinect as a security camera. What do I need to learn?

    Posted: 07 Nov 2018 10:38 PM PST

    My goal is make the Kinect take a 10 second video whenever it senses a change in the motion sensors, and save it to my computer.

    My wife has been feeding the skinny outdoor cat a lot, and I suspect that other wildlife have been eating the food. I want to obtain evidence of my assumption. I know I can just buy one of those hunting camera, but doing this would be more fun.

    My programing experience is limited, I took a class in high school that went over html, css and python(maybe). That was over 15 years ago. So please tell me what I need to learn. Thanks!

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

    How do I start?

    Posted: 08 Nov 2018 12:48 AM PST

    So basically, in my school I picked programming. My teacher is really weird - he thinks, that we already know programming, even though only like two kids in the whole class know programming.

    Today he gave us some assignments, like "if one person has one number, and other has a different number, what would be the third number", something like that and I didn't know how to write the commands. I asked him and instead of explaining the commands, he spent 10 minutes explaining the exercise, even though I understood it clearly. And when I would say to him, that I understand, he would cut me off.

    So what I'm asking is for some help. Does anyone know, where I can learn programming? Because I see, that I won't learn it in this class.

    (We are using C++, code blocks.)

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

    Understanding bitwise operations in C (K&R exercise 2-6)

    Posted: 07 Nov 2018 08:34 PM PST

    I'm going over K&R and doing examples along the way. I've hit a snag on exercise 2-6.

    The exercise asks: Write a function setbits(x, p, n, y) that returns x with the n bits that begin at position p set to the rightmost n bits of y, leaving the other bits unchanged.

    My function:

    #include <stdio.h> unsigned setbits(unsigned x, int p, int n, unsigned y){ y = (y & ~(~0 << n)) << (p+1-n); x = (x & ~(~0 << n)); return (x | y); } int main(){ unsigned x = 100; unsigned y = 5; int p = 4; int n = 3; x = setbits(x, p, n, y); printf("%u\n", x); return 0; } 

    With the test case above, I get 20. When I use the answer on this page that the asker says is from the answer book, I get 116.

    However, when I math it out on paper, the answer I think I get is 20. But this seems wrong. Below is my logic as to why:

    So, either I don't understand what this question is asking, or I don't know how to math out binary operations.

    My interpretation of the question is that if I have the inputs below, for example,

    x = 0110 0100 (100 in decimal) y = 0000 0101 (5 in decimal) p = 4 n = 3 

    I should get: 0101 0100 (84 in decimal) after running through the function based on what the question is asking. Is this correct?

    My expectation, and according to every resource I find, is that I need to remove the unwanted bits using ~(~0 << n) and left shift y by (p+1-n) = (4+1-3) = 2

    That would get me:

    y = 0001 0100 

    But I should be aiming to get:

    y = 0101 0000 

    x should equal 0000 0100

    Using bitwise OR,

    0000 0100 0001 0100 ----------- 0001 0100 = 20 

    This seems very wrong. Clearly there is something in the logic I am missing. It's irritating that I can't get it.

    Can someone let me know what the proper operations are here please? Or at least where my confusing is happening? Let me know if you require more information.

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

    I tracked and wrote about all of my searches while learning a new framework

    Posted: 07 Nov 2018 07:33 AM PST

    I thought it would be interesting to write about my searches and what I learned from them while developing with NestJS. I was seriously surprised when I compiled the list and it ended up being more than 500! From my experience, this amount wasn't out of the ordinary, which really goes to show how reliant we are on others' information and how that's a great thing! This is my first "blog" and I'm open to any comments and criticism.

    https://medium.com/camerakit/building-a-nestjs-api-a-peek-through-my-search-history-80043c6322f0

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

    What is a factory method?

    Posted: 08 Nov 2018 12:01 AM PST

    I see it from time to time. I googled it but got something about a design pattern.

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

    Tips on becomming a better web designer as a back-end developer?

    Posted: 07 Nov 2018 10:27 PM PST

    Hello guys.

    I've been learning back-end development in Ruby on Rails and PHP for a few months already and whilst I'm seeing my huge progress as I have completed few projects already, my websites still look... well kinda shitty and I think my future employer might not even consider me because of my low design skills.

    I mainly use vanilla JS and CSS using a lot of Bootstrap, with some jQuery, but still, if I want to become a proper fullstack dev, I need to become a better designer? Maybe you have any tips that helped you, it would awesome if you would share your experience, thank you

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

    Is C++ good for scripting?

    Posted: 07 Nov 2018 08:11 PM PST

    I want to make a script for a private server in WoW and was just wondering what the best scripting language would be.

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

    Best (or most common) Javascript interview questions?

    Posted: 07 Nov 2018 10:16 PM PST

    I want to be completely prepared, and I don't fully trust the online articles. Do you guys know which questions are most likely to show up (from experience or otherwise)? Thanks in advance!

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

    I'm not sure if this is the right place to ask, but how to I convince my bosses that GitHub is the way to go for software project management?

    Posted: 07 Nov 2018 10:11 PM PST

    For some background information, we use One Drive for most if not all our company's files. It's a smaller company, so I'm the second software developer here. The first has been here for about a year and up until about a month or two ago had no idea what GitHub was familiar with the kinds of tools it offers (His job/experience is more focused on electrical engineering than software, mine's more focused on the software).

    Currently each new version gets its own folder and a new name. Differences between code versions are impossible to figure out unless you dig into the guts of the code. All of this is stored in one massive folder. This simply isn't scalable.

    Some of my bosses and various people around the company have done some basic programming, but that's the extent of what they've done. They've never been the ones working with massive code structures so I don't think they realize just how necessary a tool like GitHub is (side note: it doesn't have to be GitHub, it's just the one I'm familiar with) if we want ANYTHING we write to be scalable. Another major concern of theirs is security. Is there anything I can tell/show them to help convince them of it's security? Because my word alone doesn't seem to be cutting it.

    I need something that is scalable, makes the code easy to manage, makes managing multiple programmers working on a single project easier, and, of course, is secure. If GitHub is not the right tool for this, please let know -- maybe something that is already a part of One Drive?

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

    Working on Algorithms (My first post!)

    Posted: 07 Nov 2018 07:36 PM PST

    Hello everyone!

    I'm working Khan Academy's algorithms course and struggling with the challenge for BFS. Each challenge uses Javascript, which I'm not too keen on. I keep receiving this error for the below code: Unable to get property 'predecessor' of undefined or null reference. Not quite sure if this due to the way I'm trying to access the predecessor "property" or what. Any insight would be greatly appreciated.

    TL;DR

    Having issues with the following line of code:

    if(bfsInfo[v].predecessor === null)

    /* A Queue object for queue-like functionality over JavaScript arrays. */ var Queue = function() { this.items = []; }; Queue.prototype.enqueue = function(obj) { this.items.push(obj); }; Queue.prototype.dequeue = function() { return this.items.shift(); }; Queue.prototype.isEmpty = function() { return this.items.length === 0; }; /* * Performs a breadth-first search on a graph * @param {array} graph - Graph, represented as adjacency lists. * @param {number} source - The index of the source vertex. * @returns {array} Array of objects describing each vertex, like * [{distance: _, predecessor: _ }] */ var doBFS = function(graph, source) { var bfsInfo = []; //Sets all nodes' distance and predecessor to null for (var i = 0; i < graph.length; i++) { bfsInfo[i] = { distance: null, predecessor: null }; } bfsInfo[source].distance = 0; //Vertex 3 has no distance from a predecessor var queue = new Queue(); queue.enqueue(source); // Traverse the graph // As long as the queue is not empty: // Repeatedly dequeue a vertex u from the queue. // // For each neighbor v of u that has not been visited: // Set distance to 1 greater than u's distance // Set predecessor to u // Enqueue v // // Hint: // use graph to get the neighbors, // use bfsInfo for distances and predecessors while (!queue.isEmpty()) { var u = queue.dequeue(); // u = 3 for (var i = 0; i < graph.length; i++) { var v = graph[u][i]; //neighbor = graph[3][0] = 2 = v if(bfsInfo[v].predecessor === null){ //ISSUE bfsInfo[v].distance = bfsInfo[u].distance + 1; bfsInfo[v].predecessor = u; queue.enqueue(v); } } } return bfsInfo; }; var adjList = [ [1], //Vertex 0 [0, 4, 5], //Vertex 1 [3, 4, 5], //Vertex 2 [2, 6], //Vertex 3, source [1, 2], //Vertex 4 [1, 2, 6], //Vertex 5 [3, 5], //Vertex 6 [] //Vertex 7 ]; var bfsInfo = doBFS(adjList, 3); for (var i = 0; i < adjList.length; i++) { println("vertex " + i + ": distance = " + bfsInfo[i].distance + ", predecessor = " + bfsInfo[i].predecessor); } /* Program.assertEqual(bfsInfo[0], {distance: 4, predecessor: 1}); Program.assertEqual(bfsInfo[1], {distance: 3, predecessor: 4}); Program.assertEqual(bfsInfo[2], {distance: 1, predecessor: 3}); Program.assertEqual(bfsInfo[3], {distance: 0, predecessor: null}); Program.assertEqual(bfsInfo[4], {distance: 2, predecessor: 2}); Program.assertEqual(bfsInfo[5], {distance: 2, predecessor: 2}); Program.assertEqual(bfsInfo[6], {distance: 1, predecessor: 3}); Program.assertEqual(bfsInfo[7], {distance: null, predecessor: null}); */ 

    Thank you!

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

    [homework] Working on a school c++ project, using fstream for the first time. Wondering if I can read in a whole object ala json, with some arbitrary constraints.

    Posted: 07 Nov 2018 07:24 PM PST

    So, because this is a 100 level course I'm not allowed to use strings or really any libraries that make my life easier. Seemed insane to me, but whatever, I'll do it how they want. Coming from a js background, lots of things I'd just assume were trivial are in fact very complicated.

    For this project we've gotta read from an external data file. Right now I'm using a for loop to fill in ~7 values of a temp object struct, later copying it to a private array of them.

    The for loop doesn't differentiate between data type and assumes the data will come in a predictable order. It works fine.

    But that sucks, I wanna just read in an object. It would be so much cleaner and nicer. Could I just format my file ext file to be an object and set a pointer equal to it?

    tl;dr: can't use strings, can I just read in a whole goddamn object with fstream?

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

    Why and how to keep a changelog.

    Posted: 08 Nov 2018 12:43 AM PST

    I found it nice, maybe someone else find it nice too.

    https://keepachangelog.com

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

    C++ tic tac toe

    Posted: 08 Nov 2018 12:41 AM PST

    hello everyone. I made a tic tac toe program and had trouble with it but was able to figure it out. I just am stuck on making it check if the game is a tie. My coding I have to check on a winner is this.

    bool results(char game[][3], char player) { int i,j; for(i=0; i<3; i++) { if((game[i][0]==game[i][1]) && (game[i][0]==game[i][2]) && (game[i][0] == player)) { printboard(game); cout << "Player " << player << " has won!" << endl; return true; } if((game[0][i]==game[1][i]) && (game[0][i]==game[2][i]) && (game[0][i] == player)) { printboard(game); cout << "Player " << player << " has won!" << endl; return true; } } if((game[0][0]==game[1][1]) && (game[0][0]==game[2][2]) && (game[0][0]== player)) { printboard(game); cout << "Player " << player << " has won!" << endl; return true; } if((game[0][2]==game[1][1]) && (game[0][2]==game[2][0]) && (game[0][2] == player)) { printboard(game); cout << "Player " << player << " has won!" << endl; return true; } return false; } 

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

    In over my head before I even start...

    Posted: 07 Nov 2018 08:41 PM PST

    I am a full time student graduating in May (hopefully). I have been applying for jobs recently and one of the jobs I applied for was a Web Developer position. I recently heard back from them and the board wants me to create a web app with a provided API over the weekend. The problem is I have never created a web app before, my knowledge is mostly of HTML, CSS, and light JS. I have never done much more than create a few web pages and right a few light programs, never a web app. That being said, I feel like I am set up for failure already. I am going to take the next few days to do as much research as I can and try to run through some tutorials and such before they send me over the exercise. I am wondering if it is even possible for me to learn enough in the next few days to be able to complete a simple web app over the weekend and if anyone has any suggestions on how I may be able to do so? Thanks for any and all advice - new poster here please don't hate me!

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

    C++ code can't run HELP ~~

    Posted: 08 Nov 2018 12:19 AM PST

    #include <iostream>

    #include <stdlib.h>

    #include <cstdio>

    #include <ctime>

    #include <string>

    #include <vector>

    using namespace std;

    int size = 52;

    char *Deck[] = {"Two of Clubs", "Three of Clubs", "Four of Clubs", "Five of Clubs","Six of Clubs", "Seven of Clubs", "Eight of Clubs", "Nine of Clubs","Ten of Clubs",

    "Jack of Clubs", "Queen of Clubs", "King of Clubs", "Ace of Clubs","Two of Diamonds", "Three of Diamonds", "Four of Diamonds", "Five of Diamonds","Six of Diamonds",

    "Seven of Diamonds", "Eight of Diamonds", "Nine of Diamonds","Ten of Diamonds","Jack of Diamonds", "Queen of Diamonds", "King of Diamonds", "Ace of Diamonds","Two of Hearts",

    "Three of Hearts", "Four of Hearts", "Five of Hearts","Six of Hearts","Seven of Hearts", "Eight of Hearts", "Nine of Hearts","Ten of Hearts","Jack of Hearts", "Queen of Hearts",

    "King of Hearts", "Ace of Hearts","Two of Spades", "Three of Spades", "Four of Spades", "Five of Spades","Six of Spades","Seven of Spades", "Eight of Spades", "Nine of Spades",

    "Ten of Spades","Jack of Spades", "Queen of Spades", "King of Spades", "Ace of Spades"};

    void shuffle(char *arr, int size)

    { for (int i=0; i < size; ++i) {

    int pos = i + rand() % (size-i);

    swap(arr[i], arr[pos]);

    }

    }

    int main(){

    shuffle(Deck,size);

    cout<<Deck[1]<<endl;

    return 0;

    }

    [Error] cannot convert 'char**' to 'char*' for argument '1' to 'void shuffle(char*, int)'

    Can anyone help me fix it? i dont get why the error occur or how to fix it.

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

    I want to write my first actual program, what do you think of this idea?

    Posted: 07 Nov 2018 06:13 PM PST

    Have you ever been to Khan Academy? Then you'll know that guys like Sal there use a weird piece of software that is like a big blackboard with colorful chalks. I want to recreate that program using C++: A big board with a pen, and a lot of colors. It enjoys other features such as what you write is completely transparent, and keyboard shortcuts for changing the color.

    Will Qt take care of everything? Or do I need another library as well?

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

    Is this Upskill Essential Web Developer Course still a good resource even after a year? To what extent will this course help me in my scenario?

    Posted: 07 Nov 2018 11:52 PM PST

    A little bit of a background: I wasn't a CS major in college, I graduated this summer. But I took some CS courses a few years ago, learned Python and C++ mainly and did some rudimentary class projects. But I don't really have a good grasp on complex or even basic programming problems, and I want to build some projects to have on my resume that I will send out.

    So I went on the top posts all time on this sub and found this post with the Upskill Essential Web Developer Course.

    However, this resource is a year old, possibly older. I'm wondering if it still holds and or if there are better ways I should be starting right now.

    Honestly, I'm confused where to start. I don't really know what type of software related career I want to go into, there are so many variations of careers in tech. From what I gather, this course is mainly for web development and I started it, it seems easy enough. But I don't know to what extent it will prepare me, and what additional resources I should be looking at

    Any advice is appreciated, thank you

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

    Want to tag along a programming project

    Posted: 07 Nov 2018 11:31 PM PST

    Hi everyone, first of all, not sure of there's a dedicated subreddit for this kind of requests, so apologies if this isn't the place.

    So coming to the point, I'm looking for people with whom I can tag along and build something together. I have 3-4 years of experience primarily in web development with technologies like- Front end - React, Knockout, vanilla JS and CSS Back end - NodeJS, .NET and .NET Core, SQL server, Redis, Docker and Kubernetes

    I'm looking for ideas and group of folks to collaborate with. Even if you are new and haven't worked on the things mentioned above, I'd be happy to mentor during the process of building things together. I took a look at GitHub projects but they are always in the advanced stage of development where some of the decisions like stack, architecture, use cases etc. are taken and finalized already. It would be great if we can start something fresh and in the journey, learn from each other and grow.

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

    Looking for an offline course/school in Europe.

    Posted: 07 Nov 2018 03:50 PM PST

    Want to learn website,software and apps development. I want to be taught in English and the location to be in either Germany,Austria,Switzerland or England. Looking for full time teaching over a 3-12 months period. Cost not an issue. Help a brother out.

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

    [C] Help with function declaration / understading memory handling?

    Posted: 07 Nov 2018 11:15 PM PST

    I have an API call defined as such:

    XFetchName(Display *, Window, char **);

    For the char ** parameter, I can pass in the following:

    char *p;

    XFetchName(d, w, &p);

    When the function returns I can printf("%s\n', p); -- but there must be memory allocated on the heap for this inside the XFetchName function? so do I have to free it?

    When I run it with electric fence, without free'ing the third paramter after the Xfetchname returns it shows no memory leak etc?

    *edit*

    So I have to free the third paramter with XFree() but when I don't...why does't efence tell me there is a memory leak?

    thanks

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

    No comments:

    Post a Comment