• Breaking News

    Tuesday, November 6, 2018

    Thanks To Your Support I Got My First Job As A Web Developer learn programming

    Thanks To Your Support I Got My First Job As A Web Developer learn programming


    Thanks To Your Support I Got My First Job As A Web Developer

    Posted: 05 Nov 2018 03:13 PM PST

    I have been studying web development for the past 8 months while working a full time job and yesterday got a contract as a Junior Web Developer. This couldn't have happened without the support of everyone on here and allowing me to push through to reach my end goal.

    I know I still have a long way to go with my web developer journey but i'm lucky that I will now have the support of a really good team to train and mentor me through this and one day I will be able to help others.

    Never give up on learning. Remember that each day you learn, build, or remember something is one step closer to fulfilling your end goal.

    Thank you again to everyone here. You have truly helped in more ways then you will ever know.

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

    Programming Paradigms for Dummies: What Every Programmer Should Know

    Posted: 05 Nov 2018 08:52 AM PST

    Found this on HN this morning and thought it was useful!

    Programming Paradigms for Dummies

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

    I have 4 years of experience yet I am still incredibly incompetent. How do I get out of being a "forever junior"?

    Posted: 05 Nov 2018 01:41 PM PST

    I've completed a BS in CS with a 3.3ish gpa. I am also half way done with an online masters program (Georgia tech).

    I have 4 years of experience at 2 different companies, first one was a banking company, second is an actual tech company.

    I'm starting to realize that I make dumb mistakes, I can't memorize as fast as others can, and I can't think of creative solutions that separate the rockstars from the average joes.

    I get lost in meetings and zone out, all the business terminology flies over my head, and I rarely talk in meetings out of fear of saying something stupid.

    There are people who have less experience than me and/or no higher education that are way better than I will ever be. I have friends who are already seniors at my company yet here I am, still incredibly incompetent.

    I really don't understand where I went wrong. What did I do wrong in my life to become incredibly mediocre? I did everything right by the book.

    I enjoy programming but I'm also getting burnt out from constantly having to work outside of work to get my stuff done and also do grad school (which is fine because I enjoy it).

    The only thing that's bothering me is that I am not progressing at all in my career. I know for a fact that if I keep this up, I will be shunned from the community and I won't retire.

    I don't have any other career options, this is all I know, I'm not really sure what to do.

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

    What’s the best place to start trying to code java

    Posted: 05 Nov 2018 06:02 PM PST

    I'm trying to start to get into some game programming and design and I heard java is a good place to start, but what should I start using to code.

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

    Some home made C++ tutorials for absolute beginners

    Posted: 05 Nov 2018 04:25 PM PST

    Hey all,

    I've been putting together tutorials for a junior electrical engineering class that I GA. This is meant to be their first exposure to an actual programming language, and the focus of the class itself deals more heavily with Matlab and scientific computing. As such the tutorials are designed to be light, brief, and effective.

    I figured that some folks on this sub might be interested in running through the tutorials themselves, so here is everything that I've got so far: https://stevebottos.github.io/2018/11/05/C++-Tutorials/ . I'll be keeping it updated with new content weekly barring any special circumstances. Have a look if you'd like!

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

    Help with a java error?

    Posted: 05 Nov 2018 11:05 PM PST

    Hello All,

    I am having a problem with a java project that I am doing for a boot camp.

    My problem with my code is when I go to print my list of contacts instead of printing a name and a number it gives me the address were it is located in memory.

    1. holland.Contact@2503dbd3
    2. holland.Contact@4b67cf4d

    The same problem happens when I try to search for a contact, instead of its name and number I get something similar to the two Items above. Does any know a solution to my problem?

    Thanks for reading my post,

    Jordan

    package holland;import java.util.Scanner;public class Main {

    public static Scanner scanner = new Scanner(System.in);public static MobilePhone mobilePhone = new MobilePhone();public static void main(String[] args) {boolean quit = false;int choice = 0;printInstructions();while(!quit){choice = scanner.nextInt();scanner.nextLine();switch (choice){case 1:viewContacts();break;case 2:findContact();break;case 3:addContact();break;case 4:deleteContact();break;case 5:modifyContact();break;case 6:printInstructions();break;case 7:quit = true;break;}}

    }

    public static void printInstructions(){System.out.println("Welcome to the contact organizer");System.out.println("1.View Contacts");System.out.println("2. Search Contacts");System.out.println("3. Add Contact");System.out.println("4. Delete Contact");System.out.println("5. Modify Contact");System.out.println("6. Print Instructions");System.out.println("7. Exit Program");}

    public static void addContact(){System.out.println("Please enter name: ");String name = scanner.nextLine();if(mobilePhone.findContact(name)< 0) {System.out.println("Please enter Number: ");String number = scanner.nextLine();Contact contact = new Contact(name, number);mobilePhone.addContact(contact);System.out.println("Contact successfully added");}else{System.out.println("ERROR: Contact Name already in use.");}

    }

    public static void deleteContact(){System.out.println("Please enter the name of the contact you would like to delete: ");String name = scanner.nextLine();if(mobilePhone.findContact(name)>=0){mobilePhone.deleteContact(name);System.out.println("Contact deleted");}else{System.out.println("ERROR: No contact under that name.");}}

    public static void modifyContact(){System.out.println("Please enter the name of the contact you would like to modify: ");String name = scanner.nextLine();if(mobilePhone.findContact(name)>= 0){System.out.println("Please enter the new name for the contact: ");String newName = scanner.nextLine();System.out.println("Please enter the new number for the contact: ");String newNumber = scanner.nextLine();Contact contact = new Contact(newName, newNumber);mobilePhone.modifyList(name, contact);System.out.println("Contact successfully modified");}else{System.out.println("ERROR: No contact under that name.");}}

    public static void findContact(){System.out.println("Please enter the name of the person searched: ");String name = scanner.nextLine();if(mobilePhone.findContact(name)>=0){int position = mobilePhone.findContact(name);System.out.println("Contact found: ");System.out.println(mobilePhone.findcontact(position));}else{System.out.println("ERROR: No contact under that name.");}}

    public static void viewContacts(){mobilePhone.printContacts();}}

    package holland;import java.util.ArrayList;public class MobilePhone {private ArrayList<Contact> myContacts = new ArrayList<Contact>();public int findContact(String name){for(int i = 0; i <=myContacts.size()-1 ; i++){Contact contact = myContacts.get(i);if(contact.getName().equals(name)){return i;}

    }return -1;}

    public int findContact(Contact contact){return myContacts.indexOf(contact);}

    public Contact findcontact(int indexNumber){return this.myContacts.get(indexNumber);}

    public boolean addContact(Contact contact){if (findContact(contact) >= 0){System.out.println("Contact already in phone");return false;}myContacts.add(contact);System.out.println("Contact succesfully added");return true;}

    public boolean deleteContact(String name){if(findContact(name)>=0){int position = findContact(name);myContacts.remove(position);System.out.println("Contact successfully deleted");return true;}System.out.println("No contacts under that name");return false;}

    public boolean modifyList(String name,Contact replacement){if(findContact(name)>= 0){int position = findContact(name);myContacts.set(position,replacement);System.out.println("Contact modified");return true;}System.out.println("Contact not found");return false;}

    public void printContacts(){for(int i=0; i<= myContacts.size()-1;i++){Contact contact = this.myContacts.get(i);System.out.println((i+1) + ". " + myContacts.get(i));}}

    }

    package holland;public class Contact {

    private String number;private String name;public Contact(String name, String number) {this.number = number;this.name = name;}

    public String getNumber() {return number;}

    public String getName() {return name;}

    }

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

    [Serious] Can people with Down Syndrome learn some kind of programming?

    Posted: 05 Nov 2018 06:12 AM PST

    I am a complete ignorant with regards to the limitations a person with Down Syndrome has.

    I might even believe many wrong stereotypes and would like to be educated about the subject.

    I've been programming since 2011 (mostly video games) and was recently reached by my previous school. They would like to implement a new program for kids with Down Syndrome and teach them about technology. They already had success with teaching office tools like word, excel, and powerpoint, and would like to move forward.

    Does Down Syndrome affect the skills needed for programming?

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

    Can Coding make Work Easier?

    Posted: 05 Nov 2018 10:18 PM PST

    I work for a company that books flight crew-members on their dead heads. One of the companies that I have to book flights on uses an online console where I have to add upwards of 15 sentences of strange amalgamations of words and booking codes, for example...
    jargon(5 spaces) jargon (3 spaces) jargon (space) 99999 {literally five 9s for some reason}(5 spaces) <first name/last name> (space) jargon <flight number><enter>

    jargon(4 spaces) <departure city> (space) <arrival city>(space) <first name/last name>(space) jargon <enter>

    ...and on and on and on.

    The jargon never changes and neither do the spaces. But if one letter or space is out of position it fouls up the whole thing and I have to start over. I have to do like 10 lines of this crap. Is there a way where I can build a prompt on a windows sticky note, fill in the important bits that change like the name, flight number, or city pair. Copy and paste this into the console and have it book it automatically? It works with every browser that each of my coworkers prefer, if that info matters.

    I can't give out the specifics or anything but if someone could give me perhaps a language/ scripting tool that works with chrome (preferably without any outside programs) that i could piece together something that would work I would really appreciate it.

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

    I am surprised how much I enjoy Matlab. What should I do after this class is over?

    Posted: 05 Nov 2018 07:58 PM PST

    I always thought I would hate programming as an aspiring mechanical engineer I always dreaded this part of my education. To my surprise I'm finding that writing these little programs is really satisfying. Honestly its some of the most satisfying homework I've ever done. Does this mean I would like learning other more complicated/real programming languages or is matlab just programming for babies/engineering students.

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

    Creating Physical Simulations

    Posted: 05 Nov 2018 10:08 PM PST

    HI everyone! I'm pretty interested in making some kind of simulation of a mechanism. Something like this. How would I go about making something like that? Right now I'm thinking it might be a job for Processing but I'm really not sure. Thanks, I appreciate it.

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

    Advice For Entering Into a Project With a Large Amount of Code Already Written

    Posted: 05 Nov 2018 11:33 AM PST

    So after almost 3 years of switching over my career into Data Science, I was finally able to get hired as a Data Analyst for a start up. I'm entering into a project that someone else coded and the boss wants more features added on top of everything.

    That said, it's becoming pretty bloated to the point where I just want to re-write everything. There's so much repeated code, everything seems like it was just slapped on top of each other with no standardized way of implementing anything, and it's becoming frustrating to fully understand all of the code. Sometime's it's hard for me and the boss to be on the same page because I feel like I'm just constantly catching up.

    What's the best way to tackle large amounts of code that you didn't write?

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

    I need help in C++ please

    Posted: 06 Nov 2018 12:58 AM PST

    Hello, I am trying to make a program in c++ that transfers EST time to my time zone (EST is 6 hours behing my time zone)

    but when I run the program no matter what I put in as the time in EST the result I get back is always 1, no matter what, could you please help me?

    The librarys are for stuff I'll add later,

    . #include <iostream>

    . #include <cstring>

    . #include <thread>

    . #include <Windows.h>

    . #include <string>

    . #include <chrono>

    . #include <sstream>

    . #include <cmath>

    . #include <math.h>

    . using namespace std;

    int time1( int est) { int time = est + 6; return time; } 

     int est; 

     int main(){ 

     cout << "time in EST?" << endl; cin >> est; 

     cout << "that is " << time1 << " in swedens time zone" << endl; 

     return 0; 

     } 
    submitted by /u/Willy_Wunker
    [link] [comments]

    Need help with a discrete math problem FAST (Finding MST)

    Posted: 06 Nov 2018 12:45 AM PST

    So I've got this assignment where I've done everything except this subtask that I for some reason don't get the right answer to using Prim's or Kruskal's algorithm trying to find the minimum spanning tree of a graph. I've even tried using different programs both online and in C to calculate it, but it always says that I've got the wrong answer on our website for the course (it automatically checks if the answer is correct or not). Starting to think that there's something that isn't right about the numbers I've gotten or something like that.

    So the task goes like this:

    The graph K is given by the adjacency matrix:

    0 1 1 0 1 0 0 0 0 0 0
    1 0 1 1 1 1 1 1 1 1 1
    1 1 0 0 1 0 0 0 0 0 0
    0 1 0 0 0 0 0 1 1 0 0
    1 1 1 0 0 0 0 0 0 0 0
    0 1 0 0 0 0 1 0 0 0 1
    0 1 0 0 0 1 0 0 0 0 1
    0 1 0 1 0 0 0 0 0 1 0
    0 1 0 1 0 0 0 0 0 1 0
    0 1 0 0 0 0 0 1 1 0 0
    0 1 0 0 0 1 1 0 0 0 0

    The edges has the following weights:

    BG 1
    DI 1
    BE 2
    BJ 2
    BC 3
    AC 4
    CE 4
    DH 4
    BD 5
    AE 6
    BF 6
    FK 6
    FG 7
    AB 8
    HJ 8
    IJ 8
    BH 9
    BI 9
    BK 9
    GK 9

    Find the minimum spanning tree for the weighted graph.

    This assignment needs to be handed in tomorrow, and if something about the numbers in the assignment is wrong I need to contact my professor ASAP. I just want a new pair of eyes to look into it to confirm if I'm right or not!

    The minimal spanning tree I got starting from a random vertex is: AC CE BE BG BJ BD DI DH BF BK with a total weight of 38 (which was too much of a weight according to the course website).

    THANK YOU for any answers to this post! Just comment if you want more information about this task or anything like that.

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

    Basic confusion with pointers in C

    Posted: 05 Nov 2018 09:22 AM PST

    I'm new with C. I'm trying out very basic programs to try and get an understanding of the fundamental concepts. When I compile and run the following program, 2 is printed to the terminal as expected. When I remove the lines which declare and initialize a, and recompile, 2 is no longer printed to the terminal. I'm struggling to understand why that should happen. Thanks for any help.

    #include <stdio.h> int main() { int a; a = 1; int *b; *b = 2; printf("%d", *b); return 0; } 
    submitted by /u/sludgefactory0
    [link] [comments]

    Restarting life via coding bootcamp (between FullStack or Le Wagon)

    Posted: 05 Nov 2018 11:54 AM PST

    Hi guys - I've been working a dead end finance job for awhile now. I've always been interested in tech and startups. So bought and read a bunch of books HTML, CSS, JS, Ruby; used online resources; and ultimately decided I need to attend a bootcamp. After much research, I've narrowed it down to FullStack Academy NYC and Le Wagon (the Tokyo campus)

    What attracted me to Le Wagon: their motto of learn to program like an entrepreneur, they seem very authentic, the glowing reviews on course report and switch up.

    What attracted me to FullStack: tremendous reputation, much closer to where I live, most of their graduates appear to end up with great jobs.

    People have pushed me one way or the other based on the fact that Le Wagon is Ruby on Rails focused, whereas FullStack is a deep dive in JavaScript.

    I can't help but feel that Le Wagon is a risky, once in a lifetime experience whereas FullStack is the safer option. (Based off checking the LinkedIn's of people who wrote reviews for both schools, seems Le Wagon alumni try to start their own company, freelance, and some go on to developer roles; whereas FullStack many are employed at notable companies)

    My ultimate goal is to have the ability to build a startup via tech when I want, but also be able to apply for entry level roles at solid tech companies in the US. (Heck I'd even take an internship somewhere)

    Is there anyone that can point me in the right direction? Alumni, people in the industry, etc. my heart says Le Wagon but my brain says FullStack :(

    Much obliged!

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

    Why do people invent new programming languages instead of forking existing ones?

    Posted: 06 Nov 2018 12:23 AM PST

    I'm familiar with languages from the same family (JS, Java, PHP, Python). What I'm about to say doesn't apply from programming languages from a different paradigm, just to the ones I'm familiar with. Obviously there can't be "one syntax" for everything in CS.

    Looking at various new programming languages (like Go, Rust, etc.) it occurred to me that many of the differences in syntax are cosmetic and arbitrary (function vs fn vs func).

    So on one hand, we have divergence in syntax when a new language comes on the scene.

    On the other hand, as existing programming languages evolve, there's a convergence of syntax between them. The way to program with async/await is almost identical in Python and JavaScript. Lambdas are very similar in JS and Java (but weirdly different in Python). PHP, TypeScript, and Python type hinting/specification is very similar. People are asking for JS-like lambdas in PHP, and Generics. So things that started as different tend to evolve in similar directions.

    My question boils down to this: is there any advantage to having different "dialects" of essentially "the same way of thinking"? Wouldn't it have been more effective to have similar languages fork from one another so that people don't have to stumble on cosmetic differences when picking them up, plus possibly making cross-pollination of innovations easier?

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

    [Python] Returning a list of lists from one original list, stumped on how to append spartial list before iterating over the entire list with a for loop.

    Posted: 06 Nov 2018 12:21 AM PST

    Working on a problem here that calls for the following:

    Create a function: def my_lists(L,num):

    input: list L of non-negative integers and an integer num

    output: a list of lists: for every element x in L, create a list containing 1, 2, ...., x and each number subtracted by num.

    Example: - L=[1,2,4] and num=5, return [[-4], [-4, -3], [-4, -3, -2, -1]].

    I am supposed to keep my solution contained to one line of code and so far have come up with the following:

    def my_lists(L, num): return [([(z - num) for z in L]) for x in range(L.__len__())] 

    Which is quite close to the output, but I do no return the intermediate "sublists"([-4], [-4,-3]... Just the complete list for each list elemenet in my list of lists.

    [[-4, -3, -1], [-4, -3, -1], [-4, -3, -1]] 

    I am quite new to Python but I do understand the mathematical comprehension I am performing, I just am really stumped on how to return/append a partial list such as [-4], [-4,-3] in my for loop.

    As well, I am really confused on how to return the -2 value in the last elemental list [-4, -3, -2, -1] as that would be 3 - 5, and 3 is not in my original list, although maybe with a proper solution to my first problem that would become clearer.

    I am honestly stumped, I am thinking maybe I can set a range based on indexes possibly something like:

    return [([(z - num) for z in range(List_index_of_z) for x in range(L.__len__())] 

    Would be interested if anyone has any insight on this, thank you!

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

    CNN Edge Detection in Python

    Posted: 06 Nov 2018 12:05 AM PST

    I am trying to make a program which will take images of scars(from surgery) and accurately outline the scar.

    Originally I attempted to use Canny edge detection, which worked well with images of objects such as a pier, boats etc. but seemed to fall flat with images of scars. I decided to try using a convolutional neural network instead. While I've seen examples of the outputs of programs using CNNs for edge detection, I can only find code examples for image classification.

    I'm pretty new to the entire idea of CNNs so any help would be lovely. I'm also new to posting online questions about programming, so if there is anything I fudged with this post please feel free to let me know.

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

    What is the best way to learn Unix on Windows?

    Posted: 05 Nov 2018 11:23 PM PST

    I am aware of Cygwin and got it installed on my Windows laptop. Is this enough? What else can I do? Also, please point me to some good resources for learning Unix/Linux on Windows.

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

    I have ideas for my college last assignment, and I need some advice and tips

    Posted: 05 Nov 2018 10:38 PM PST

    So, I'm about to submit my college last assignment next January. 2-3 months to go, but I'm still reiterating some ideas and I also need to choose "guide" college teacher as my last assignment advisor.

    My major is software engineering. My idea is making administrative desktop programs for an industrial hydraulics machine company(Basically company that deals with making, fixing, and modifying industrial machines project) with Unified Process methodology. I plan to use VB language and Visual Studio 2013 IDE. As for the database, I still contemplating between either SQL server or MySQL from XAMPP software. I usually use XAMPP MySQL for databases, I do use Oracle one time, but never really a fan, and some of my friends says that using SQL server is better than MySQL for my idea. I never used it so I want to know if there's any truth to their statement.

    What got me to this idea is after seeing some of Alumni that major on Software Engineering past works. Prominent methodologies that used in my college as last assignment are Scrum, Unified Process, and Extreme Programming.

    So, I want to ask if there are any advice and/or tips based on what I've told you guys so far. I planned to finish it in 1 semester, seeing that many of my friends that still not finished because they're lazy on finishing and submitting the last assignment book.

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

    Backtracking using recursion in C - maze problem

    Posted: 05 Nov 2018 10:24 PM PST

    Can someone kindly explain to me how does recursion work when doing backtracking?

    Right now I'm facing this maze problem that require backtracking and the main problem is that once my character got stuck in a dead-end, I have no idea how to call my recursive function to make my character backtrack to his previous position.

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

    Best practice for writing code documentation

    Posted: 05 Nov 2018 01:30 PM PST

    I've recently finished a large project at work and my boss has told me to write some developer documentation for it. I've tried breaking down all of the different scripts and explaining what each function, class and script does. However it feels for the most part I'm stating the obvious or I'm repeating my self a lot with very little variation. Is there some guidelines or structure that people use when writing documentation? Thank you in advance for any advice.

    submitted by /u/Summer-Is-Coming
    [link] [comments]

    Need a good free or cheap online full stack web dev program - FCC or App Academy Online?

    Posted: 05 Nov 2018 10:37 AM PST

    About me: 29, female, can't afford a $10k+ program – would like to get into backend JS work ideally remotely. I have little to no coding experience, but am proficient with CLI in Linux/MAC, and general scripting. I am 29 YO currently making about $30k a year, and looking to get a job that pays something and get out of my parents' home (I have $50k in student loans).

    I wanted to get into backend development over front-end because I dislike doing anything user interface/graphics related as I am a more technical person.

    I was leaning towards AA Online b/c it's the same curriculum as their in person one but it lacks the alumni network, and connections, **but** the problem I've seen is that the back-end curriculum is in ruby, and from what I can tell ruby/RoR are dinosaur technology.

    I really want to learn an immersive curriculum that teaches JS on the backend since it is in high demand & will continue to in the future. So are there any good, solid online programs that are either free, or under $10,000 that help you get starting salaries of $100k? I am able to spend about as many hours a week upwards of 90-100 hours a week, and my goal is to be employable within 3-9 months.

    AA online for some reason says the curriculum will take 2k hours to complete, but their in person one would take about 1k hours. Not sure why that's the case if it's the same curriculum.

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

    What path should I take to create my idea?

    Posted: 05 Nov 2018 09:52 PM PST

    I have an idea I want to make on a website. I want the user to be able to select options on the left and the corresponding people who match all of those options to be displayed on the right. I made a little picture to show just what I am looking for.

    https://imgur.com/a/43DZRZp

    What languages should I be focusing on? Back when I was in University (more than a decade ago) I did well in Java and C++ (but don't remember them) and I recently took a database class for MBA students and I know HTML and CSS. I am guessing I will need to learn Javascript. Do I need a database to do something like this or can that be all done through Javascript?

    Thank You for your insights.

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

    No comments:

    Post a Comment