• Breaking News

    Monday, March 26, 2018

    Modern Frontend Developer in 2018 learn programming

    Modern Frontend Developer in 2018 learn programming


    Modern Frontend Developer in 2018

    Posted: 26 Mar 2018 04:06 AM PDT

    Hey Guys,

    You might have seen this "developer-roadmap" shared in this subreddit at the beginning of this year. There was still a lot of room for improvement, so I started updating it this weekend. I am still working on improving the Backend and DevOps ones but the frontend one is ready. To give you an idea about the updates, I have written a detailed article on medium. Here is the summary of what has been updated

    • Updated some suggestions here and there
    • Added details on how to follow – more beginner friendly
    • Added tips to practice and get better
    • Removed the "obsolete" parts

    Have a look at the article on medium if it may help anyone :)

    Thanks.


    Request for DevOps Collaboration:

    For the DevOps roadmap, you might have noticied it is a bit off and I am planning to update it along with the backend one. But I am not sure when, as I have already started the backend one and it takes so much time and effort to make one.

    However, I would love to have some collaboration for the DevOps part specifically. If anyone is up for it, feel free to follow the same format that I have for frontend and make a PR with the textual form which I will translate to the graphic :)

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

    Had a small victory today

    Posted: 26 Mar 2018 10:21 PM PDT

    Had a feel good moment today. A small win.

    Edit: tldr @ bottom

    I've been learning programming with C# since September or so. Progress is slow, but I devote what time I can to learning. Usually a couple hours a week.

    Today I was using an excel calculating "app" for calculating credit amounts over date ranges. (Work Stuff) I did not make this app, just use it.

    Recently, My team has changed how we calculate these credits and has started needing to include taxes, but the calculator didn't allow for this. So I figured. Eh, why not?

    I'd never worked with Visual Basic before, but figured it couldn't be too hard, as it had "basic" in the name.

    I viewed the code and understood none of it. I just saw a bunch of DimSum (just being dumb..). I momentarily became hesitant that I jumped into something bigger than I had time or patience for. Then the confidence kicked in and I decided to give it a whirl.

    Well, long story shorter, I did it. I looked over it and found the If statements, then just worked from there. The original creator didn't have any comments, and most of the names made sense at first, but eventually I grasped his naming logic and zeroed in.

    I made the additions I wanted, then tested it out and quickly found my errors. Most of them were from me pasting something and not changing the variables, or typing the wrong variables for an expression.

    In the end though I was happy with the finished product and happy with myself for figuring everything out.

    Tl:dr I added a feature to a little app that was written in a language (albeit vba) I've never used before. Made me feel good about myself. That is all.

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

    Coding ebooks for beginners -- Humble Books Bundle: Makerspace

    Posted: 26 Mar 2018 12:56 PM PDT

    With good first books on Java, Python, JavaScript, Arduino, Scratch and some other fun educational stuff. Disclosure: I edited many of these for No Starch

    https://www.humblebundle.com/books/makerspace-books

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

    Increasing your programming efficiency by limiting mouse usage?

    Posted: 26 Mar 2018 11:25 PM PDT

    Bit of a weird question. Is it more efficient to get rid of using your mouse as much as possible?

    Are there any good guides for getting more familiar with a keyboard in terms using it for programming? Hotkeys that you couldn't ever go without; when and how you should use them. Possibly ones you wish you knew about earlier.

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

    Is there a list or guide to the order of topics you should study while learning the basics?

    Posted: 26 Mar 2018 07:36 PM PDT

    Hi all. Posted here the other day and got some great feedback. I was just wondering if there's a guide or list somewhere to what topics a beginner should learn and in what order so that I can be a little bit more prepared as I begin to learn each language in depth? I'm looking for something like a concept roadmap...start with variables, move to loops, then flow of control, functions, classes, etc., etc. I'm not looking for anything language specific (general knowledge topics would be best), but I'm working with C++ if that helps at all. Most of the resources I've come across seem to jump around, lingering long enough to teach the syntax before moving on to the next thing. Thanks!

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

    JavaScript scoping for newbies

    Posted: 26 Mar 2018 08:44 PM PDT

    I've been working to help train some of the less experienced developers in my organization. Typically, these are done as conversations in front of a whiteboard; but I've recently started providing the "lessons" in written form as well. I'm thinking that aspiring JavaScript developers would benefit from these posts as well.

    This post defines the different kinds of scope in JavaScript, and the impact of global, local, functional, and block scope in browsers and Node.js. As I continue through the different discussions, I'll be updating this site with links to the new pages.

    https://www.stevethedev.com/blog/programming/javascript-scope-primer

    Please feel free to leave any feedback you may have, or let me know if you thought this was helpful.

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

    Best approach or tips for OOP Design?

    Posted: 26 Mar 2018 07:44 PM PDT

    I have a technical interview coming up and it will be in Java. I am a CS major, but a lot of my classes have been more algorithm/data structure design, theory, maths etc. (I wish my school had a more "software engineering" degree, but I digress.) I have a current internship where I work more in PHP, it has been a bit since I have used Java, but I have been re-familiarizing myself with it, so I feel ok there, but at my current internship I really don't ever need to completely design a new feature from the ground up, more or less adding parts to existing features etc.

    I understand OOP, inheritance, polymorphism, encapsulation etc, but I feel I am lacking in the actual "designing with good OOP practices" area. Does anyone have any tips or words of advice? What questions do I ask myself about whatever it is I am asked to design? For instance, I see that some common OOP design example questions are "Design a parking lot" or "design a monopoly game". I can do those things, I'm not sure my answer would be 100% the best approach, but I am sure as a new grad the interviewer is more or less looking at HOW I approach these problems, so my actual implementation doesn't worry me as much as how LONG it may take me to get there.

    I basically don't want to come off as incompetent since I may take a while to arrive at my final design. What are some things you ask yourself or suggested methodologies I can use to get going without stumbling in regards to OOP design?

    I realize that is oddly worded, but I hope my question makes sense! :)

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

    Where do I find Financial Market data/database?

    Posted: 26 Mar 2018 02:49 PM PDT

    Hey Reddit. I am just starting my final year honours project for a BSc in Information Systems. I am looking for a large set of data on financial markets going back at least 2 decades with, at a minimum, the transaction volumes and share prices at a very granular level - every 10 minutes, or preferably every 5 minutes.

    The data can be via API or however it comes, I don't really mind as I am seeing this as part of the exploratory nature of the project and my learning. I just need some pointers as I have no experience in finding data like this through the web.

    Would really appreciate some direction on where to get reliable data. Right now I am only finding annual or monthly historical data which will be a bit of a problem as I am looking to recognise short-term trends in transaction volumes effects on prices.

    Appreciate the help, this is my first time doing this so major learning in sourcing data (any explanation on steps generally followed and other advice would be greatly appreciated).

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

    My First Software "Engineer" Job

    Posted: 26 Mar 2018 04:04 PM PDT

    not sure if this is a good place to post but here goes!

    backstory: basically, I had been unemployed and looking for a job for almost six months with literally zero success despite being qualified in both education and experience, hundreds of applications sent, dozens of cover letter revisions, several professional resumes, and hundreds of wasted hours. Nothing. well, unless you count the automated responses telling me to essentially fuck off. Mind you the industry that I was applying to had nothing to do with programming computers and has been in steady decline for years.

    I decided to shift gears and test the waters with a little creative exaggeration and focus on an industry that cannot fill positions fast enough: Software Engineering. So I changed the majors on my meticulous resumes to computer science, switch job titles on my work history, and throw together a portfolio using adobe cloud featuring some of the most unbelievable, ridiculous work samples one could ever imagine, and let the games begin. Within less than an hour I was receiving notifications from hiring managers, recruiters, and other industry professionals praising my credentials. Really? Is this how easy it is for programmers.

    I decide to take it one step further and respond to a few inquires. Almost immediately, companies are ready to schedule an interview. Since I know absolutely nothing to VERY little about programming I figured that interviewing with an IT professional would blow my cover in less than a 5 minute phone conversation, so I direct my attention to the recruiters and roll the dice. As I assumed, the recruiters knew even less about computers than I did esp. this one very charming young woman (we'll call her Britney) who was more than eager to seduce me into taking any one of her available tech positions. I played along and acted sincerely interested in the job even though it was about 35-40% lower than the average entry level salary for similar positions. Anyway, she directs me to a website where I basically create a profile by replicating all of the information on my NEW resume, background checks, disclaimers, etc. I hit send, she emails me back and let's me know she'll be in touch soon.

    A couple of days pass, and I am still getting emails and notifications from recruiters and companies but just ignore them at this point due to lack of interest in perusing the game any further. Then, I get an email from Britney. She says she has an interview lined up for me with a company that is within reasonable distance from my home. We speak on the phone about the details and hesitantly, but confidently accept.

    The day of the interview, I arrive about 30 minutes early to scope out the competition and just get the general vibe of what I've got myself into. To my surprise, I am the only one there waiting to be interviewed. This was confirmed by the milf receptionist when asking if I was too early. She replied, "No, you're the only applicatant were interviewing today. As I waiting, I realize that the business was ran more like a call center and I could almost smell the disorganization in the air as I peered past the waiting room room. There was a lot of movement, some yelling, and paper flying everywhere.

    Eventually, a rather round man in a suit greets me in the lobby and invites me back to the room. "So yer pretty good with computers, huh?" I said, "Yes! I've written code since I was in middle school," which isn't completely false bc I did customize my myspace page with html and css back in the day. The next words out of his mouth shocked me to the core. "Well, you're not going to believe this but our only IT guy quit today after we let him know he would be interviewing a new member of the team to work with him." The big round man showed me around the office, sat me down and ask me a few vague computer questions. I responded with technical jargon that I thought sounded like it made sense, told him I could network the printers, install necessary updates, and troubleshoot problems. Then look me straight in the eye and asked me if I'd be interested in starting tomorrow on a temp basis to see how it goes. I couldn't believe it. He handed me some forms to fill out and bring back tomorrow and sent me on my way.

    Before I even got home, Britney called to congratulate me, told me to check my email, and wished me good luck on my new job. I report to work tomorrow with very little idea of what to expect. Apparently, the servers are loading pages very slowly and there is a backlog of like 100 support tickets.

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

    outputFile, not going to next line despite having \n [ c++]

    Posted: 26 Mar 2018 06:33 PM PDT

    Hey guys...im not sure why i copyed the code exactly like my chapter but when i output file it wont go to the next line like

    test one,

    test two,

    test three

    it just goes

    test one test two test three

    even when i have \n at the end or endl;

    ofstream outputFile; outputFile.open("demofile.txt"); cout<<"Testing writing things to a file ;)\n"<<endl; outputFile << "Test one \n"; outputFile << "Test two \n"; outputFile << "test three \n"; outputFile << "Test four \n"; outputFile.close(); cout<<"Done\n"; 

    [[[ The full current copy and paste ]]

    /* * File: main.cpp * Author: * Created on March 15th, 2018, 1:20 PM * Purpose: Hello World on the Mac */

    //System Libraries

    include <iostream>

    include <fstream>

    include <iomanip>

    include <string>

    using namespace std;

    //User Libraries

    //Global Constants - Math/Physics Constants, Conversions, // 2-D Array Dimensions

    //Function Prototypes

    //Execution Begins Here int main(int argc, char** argv) { //Declare Variables

    ofstream outputFile; outputFile.open("demofile3.txt"); cout<<"Testing writing things to a file ;)"<<endl; outputFile << "Test one" <<endl; outputFile << "Test two " <<endl; outputFile << "test three"<<endl; outputFile << "Test four"<<endl; outputFile.close(); cout<<"Done"<<endl; //Initialize Variables 

    // //Process/Map inputs to outputs

    //Output data 

    \
    //Exit stage right! return 0; }

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

    20e For simple drive video upload form

    Posted: 26 Mar 2018 11:38 PM PDT

    Not sure if this is the right place to post this, but i need a way to users on my website to upload their files from a form to my google drive without any verification. i have the form ready but dont know how to setup the google api for PHP on my website for the lack of documentation.
    So if anyone has experience with the drive api and wants to earn a quick 20 dollaridoos, PM me for details.

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

    Can you clarify superclasses and nested classes a bit for me?

    Posted: 26 Mar 2018 11:10 PM PDT

    I am confused. Learning java, I assume that in this code

    class Animal { class Dog {} } 

    Animal is the superclass to Dog, and Dog inherits from Animal.

    But in my book this is being shown as an example for inheritance:

    class Dog extends Animal {} 

    So does Dog inherit from Animal in the first example or second one? Because I thought inner classes automatically inherit their parent classes (which are superclasses to them).

    And if the first example is not inheritance... Than what is the relationship between Animal and Dog in the first example?

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

    How can I move a file to parent directories in bash shell?

    Posted: 26 Mar 2018 11:03 PM PDT

    say I have a file index.html sitting in this directory "views":

    /workspace/EJS/views 

    How can I move this index.html file up to EJS or workspace directories?

    I have tried this :

    mv index.html /EJS/ mv index.html /workspace/EJS. 

    It returns:

    mv: cannot move: Permission denied 

    why is this? How can I move a file up the tree, instead of down?

    thanks for help.

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

    Given a string S and a set of words D, find the longest word in D that is a subsequence of S

    Posted: 26 Mar 2018 10:57 PM PDT

    Hi. I tried solving this in python 2.7 using regex. I found it to be quite simple. Wondering if I am missing something. Is there an edge case or corner case here? I am a n00b. Please bear with me.

    S = "abppplee" D = {"able", "ale", "apple", "bale", "kangaroo"} def subseq(S,D): # every word in D is made into a regex pattern interspersed with .* and looked up in S import re in_dict = {word:len(word) for word in D if bool(re.search(pattern=".*".join(word),string=S))} return max(in_dict, key=in_dict.get) subseq(S,D) 

    returns 'apple'

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

    Majoring in something completely unrelated to tech, but want to work as a programmer or something else related to tech after I graduate.

    Posted: 26 Mar 2018 07:01 PM PDT

    I know I sound like such a newbie, but please bare with me. I'm going to be graduating college in 1.5 years and I can't see myself working in the field that I'm majoring in. I went back and forth many times thinking about lots of different career paths and I've decided on tech. I know I sound so dumb compared to everyone here who's so knowledgable in this field but I really want to know where to begin, changing my major isn't an option. Bootcamp? Certifications? My uncle majored in English and went to law school and did a bootcamp and now he works in software because he hated being a lawyer lol. He told me to get on it sooner than later. I never really get to talk to him though so I was hoping to get opinions from other people also, and what better place then the internet. Please help me find where to begin!

    Edit: mispellings

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

    That feeling ....

    Posted: 26 Mar 2018 10:43 PM PDT

    Me and my friends spent about 10 hours trying to debug our assignment (MIPS assembly language, if anyone was wondering) and turns out the issue wasn't even close to as complicated as we thought, having only missed one expression. The feeling when the program ran correctly is probably the greatest thing a programmer can ever experience.

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

    Using Zeller's formula to print calendar month

    Posted: 26 Mar 2018 09:59 PM PDT

    The goal is to print any calendar year given the month and year by a user. Zeller's formula determines h, day of the week. I have all the calculations done and have a prototype on how to format the calendar but I can't figure how to use the data provided from Zeller's formula to create the right calendar for any given year.

    Here's my code:

     import java.util.Scanner; import java.util.Date; public class calendar { public static void main (String [] args) { int m;// month int n;// year int dayCounter = 0; int h; //day of the week, Saturday = 0 int q; // day of the month int K; //year of the century int J; //zero based century int math1; //calculation 1 from Zeller's formula int math2; //calculation 2 from Zeller's formula int math3;//calculation 2 from Zeller's formula Date currentTime = new Date(); String str = String.format("%tc" , currentTime); String newTime = str.substring(8,10); int newTimeAgain = Integer.parseInt(newTime); //used to find q Scanner sc = new Scanner(System.in); System.out.println("Please enter a month"); m = sc.nextInt(); System.out.println("Please enter a year"); n = sc.nextInt(); /* *Calculates m incase m is 1 or 2 * */ if( m == 1|| m == 2 ) { m += 12; year--; } K = n % 100; J = n /100; q = newTimeAgain; math1 = (13*(m + 1))/5; math2 = K/4; math3 = J/4; /* *Formula caluclated * */ h = ((q + math1 + K + math2 + math3 + (5*J)) % 7); System.out.println(h); /* *Demo calendar format * */ System.out.println(m + " " + n); System.out.println(" S M Tu W Th F S"); for( int i = 1; i <=31; i++ ) { dayCounter++; if (dayCounter % 7 == 0) { System.out.printf("%-4d\n", i ); } else { System.out.printf("%-4d", i); } } } } 

    How can I use the calculated data to print the right calendar?

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

    Help with beginners pseudocode

    Posted: 26 Mar 2018 09:52 PM PDT

    I need to write an algorithm in pseudocode form, that calculates the average of a series of numbers. I am just a beginner at programming and am really stuck. Please help.

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

    I feel like giving up on learning Java..

    Posted: 26 Mar 2018 09:50 PM PDT

    And learn python.

    But then I realized giving up learning something because I found it boring shouldn't be an excuse.

    I've always been fascinated by talks of python and it's wide adoption in many areas.

    I've never heard of Java in such light. What I have heard is that if you learn Java, you learn OOPs which can be applied to any OOP language, hence easier to learn different languages. But Java also seems so VAST which is scary.

    I've been doing the helsinki MOOC course for a while. Feel like losing interest since I can't do something applicable today, but with python, I have projects like a reddit bot, or scripts to use at work already planned in mind.

    I work in testing, so I know that Java would be beneficial, but trying to force myself to learn for my professional career just isn't engaging. Shit.

    Did you like the programming language you started learned?

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

    Programming with an unpopular language?

    Posted: 26 Mar 2018 03:49 PM PDT

    First, I hope this question isn't taken as a diss against languages that aren't heavily used, I'm just curious. When started with Python and then Javascript, I made the choices I did because I knew there would be tons of libraries, a strong knowledgebase on Stack Overflow, and a job market (that doesn't have hard rules but maybe does give bonus points).

    Sometimes I see posters mentioning the benefits of Scala, Haskell, or other obscure languages and I wonder why they chose that language over a popular one. Doesn't it make everything harder to accomplish, since the languages essentially do all the same thing and its the strength or weakness of the community/ecosystem that really matters? Hopefully some folks who took up a less popular language can chime in on this.

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

    Are there good books on how to think like a programmer?

    Posted: 26 Mar 2018 09:46 PM PDT

    I've noticed that while I can solve many of the problems I come across following video tutorials and reading books, and online in general. I often find that I still lack that something that helps me see the answer in a more elegant way. I don't want a book on a language like JavaScript, or Python, or what have you, but the concept of programming itself. I hope my question makes sense.

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

    Help with Facebook Graph API

    Posted: 26 Mar 2018 09:02 PM PDT

    I can not for the life of me get the Facebook Graph API to work. I can't scrape data or post a video (final goal). I believe the problem is with my access token I'm not sure if they're updating and not letting new ones out or I'm doing something out. I've tried everything from all videos on youtube and I do exactly what everyone else has done and it won't work. Is anyone else having troubles currently? I am using python and the requests are going through but I get various permissions denies or empty data responses depending on what I'm trying to do.

    Thanks and any help is much appreciated.

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

    [C++] An issue using unordered_map in Visual Studio

    Posted: 26 Mar 2018 08:59 PM PDT

    I'm attempting to use unordered_map, literally taking the code from here verbatim, because I wanted to find the exact level of complexity at which the problem was occurring, only to find out that not matter how I add data to the map, regardless of the types I specialize the template for, there's always an error printed out as

    Error C2665 'std::pair<const _Kty,_Ty>::pair': none of the 2 overloads could convert all the argument types c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xmemory0 919

    However, I can compile the code just fine using g++ so can I safely assume that this is some sort of implementation error? If that's the case, what other implementations of an hash map are available to me?

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

    How to make this .bat file run in a specific folder?

    Posted: 26 Mar 2018 01:19 PM PDT

    I found a batch file that will open a random file within a folder. It works perfectly when I double click it in the specified folder, the problem is I want to activate the .bat file through a macro program (MacroWorks.) However when I do that, it opens a random file within MacroWorks program folders rather than the folder the .bat script is actually in. The script:

    @echo off setlocal :: Create numbered list of files in a temporary file set "tempFile=%temp%\%~nx0_fileList_%time::=.%.txt" dir /b /s /a-d %1 | findstr /n "^" >"%tempFile%" :: Count the files for /f %%N in ('type "%tempFile%" ^| find /c /v ""') do set cnt=%%N call :openRandomFile :: Delete the temp file del "%tempFile%" exit /b :openRandomFile set /a "randomNum=(%random% %% cnt) + 1" for /f "tokens=1* delims=:" %%A in ( 'findstr "^%randomNum%:" "%tempFile%"' ) do start "" "%%B" exit /b 

    I have used pre-made batch files before, but this is the first time I've actually tried editing one myself, I have no programming experience. I tried research how to set the directory but am not having any luck. The folder I want the .bat to execute is "F:\Stream\snips"

    I tried variations of changing setlocal to SET "workdir=F:\Stream\snips" and START cmd /k "cd F:\Stream\snips" but those still had the same behavior as the original script.

    Anyone know how to fix the script? More info if it helps, I named it stream.bat and I have MacroWorks located in "F:\Programs\MacroWorks."

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

    Visual C#, instantiating an array with 10 Square Objects

    Posted: 26 Mar 2018 08:48 PM PDT

    Hi everyone!

    I have this assignment that I am currently stuck on. Here is the question:

    "Create a program named DemoSquares that instantiates an array of 10 Square objects with sides that have values of 1 through 10 and that displays the values for each Square. The Square class contains fields for area and the length of a side, and a constructor that requires a parameter for the length of one side of a Square. The constructor assigns its parameter to the length of the Square's side field and calls a private method that computes the area field. Also include read-only properties to get a Square's side and area."

    This is the code I have so far:

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoSquares { class Program { static void Main() { Squares[] squareArray = new Squares[9]; int x; string Type; for (int x = 0; x < squareArray.Length; ++x) squareArray[x] = new Squares(); squareArray[0].Squares.Type = "pizza"; squareArray[1].Squares.Type = "cake"; squareArray[2].Squares.Type = "table"; squareArray[3].Squares.Type = "lawn"; squareArray[4].Squares.Type = "television"; squareArray[5].Squares.Type = "computer"; squareArray[6].Squares.Type = "refridgerator"; squareArray[7].Squares.Type = "steak"; squareArray[8].Squares.Type = "haircut"; squareArray[9].Squares.Type = "pillow"; } class Squares { double length; double area; int sides; } } 

    Did I start out okay so far? What else do I need to finish the assignment?

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

    No comments:

    Post a Comment