• Breaking News

    Monday, June 25, 2018

    Post a book that personally helped you master a programming language beyond online tutorials learn programming

    Post a book that personally helped you master a programming language beyond online tutorials learn programming


    Post a book that personally helped you master a programming language beyond online tutorials

    Posted: 24 Jun 2018 01:10 AM PDT

    I do C# and Javscript professionally and I absolutely love both languages.

    C# 7.0 in a Nutshell: The Definitive Reference

    https://www.amazon.com/C-7-0-Nutshell-Definitive-Reference/dp/1491987650

    This is the most non-beginner C# book out there. It is a dry reference, but very easy to read and keeps you interested with the sheer content. Even beginning as a junior dev I had such a leg up over mid-level guys by simply having read this thing cover to cover. Especially async, parallel and advanced language features (interface covariance etc). I have re-read this book, and I plan to do it again - it's that good for me.

    JavaScript Patterns: Build Better Applications with Coding and Design Patterns

    https://www.amazon.com/JavaScript-Patterns-Better-Applications-Coding/dp/0596806752/

    This is NOT a book about design patterns (singleton, factory) even as it does talk about them a bit. This is also NOT a book for beginners in any sense either. And it's old af and has only ECMAScript 5. So why bother?

    It shows how to build excellent javascript without the new ECMAScript features, without typescript (and I love typescript), without jquery, and without any frameworks. This is the best guide that I've found for having a deep understanding of have to do plain javascript correctly. It gives me such a leg up at work when most people know only babel plugins and have no idea what they are looking at without source-maps.

    There are more, but I wanted to share these. :)

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

    Looking for book recommendations on web deployment and the internet

    Posted: 24 Jun 2018 06:46 PM PDT

    I'm very interested in learning more about deploying websites and how servers work. Some ideas I'd be interested in is:

    • how the internet works (http, tcp/ip, dns, etc...)
    • web server infrastructure
    • hosting providers(IaaS, PaaS
    • FTP
    • DNS pointing
    • Cpanel
    • cloud server providers

    These are some of the topics I've begun to learn about and would like to dive into on my journey to full stack programmer.

    I should mention that I'm looking for more of a high level abstract understanding of these topics for the moment but would appreciate any and all recommendations.

    Thanks

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

    I learn best by reading, not video-tutorials. Are there less resources available to me because of this?

    Posted: 24 Jun 2018 07:58 PM PDT

    I've spent years watching tutorials on codecademy, youtube, upskills, etc. I've gotten decent progress, but for whatever reason, hearing someone speak just doesn't match up with the way I learn, and so I always end up zoning it, and making things difficult for myself.

    However, I got my first text-based textbook, and I'm blowing through it and finding myself enjoying it so much more. However, it seems like all new coding resources are video tutorials or the like. Is this true?

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

    Best path to take with no degree?

    Posted: 24 Jun 2018 12:16 PM PDT

    I'm in an interesting situation right now in my life where I've decided to change paths and focus on landing a coding job.

    Fortunately, life wise I've done well enough where I am not really in any position of financial stress or too rushed to try and land a job. I was a professional poker player for 7 years where I did/still do very well. Unfortunately, that industry seems to be slowly dying and I am looking to do something else for a myriad of reasons.

    I'm probably about 150 or so hours into freecodecamp, built a couple things and completed a little bit of their curriculum and I have an interest in trying to land a programming job.

    Personally, I am 27 years old, about to be 28, with no degree or real work experience for a long time, certainly nothing related to tech. I own a home in Las Vegas where I currently reside but am absolutely not tied down here. I attended college when I was younger, but dropped out to pursue poker. My original plan was to use the money I made playing to open a business when poker eventually got stale, but in all honestly I've yet to really come up with something. I've always had a passion for technology.

    Of course I am still very green, probably require much more training/practice to be able to functionally contribute to a company but I have faith in my ability to learn and produce.

    My questions are -

    1. In all honestly I am leaning towards continuing FCC in my own time and signing up for a reputable bootcamp, but I have a few concerns regarding this. I am worried that I am too inexperienced to maximize the amount I would learn from this bootcamp. When I read descriptions, there are languages I've not heard of, concepts I've not heard of etc. I have built a computer from scratch, but literally my only programming experience is a few courses I took in college nearly 10 years ago and the stuff I've done on FCC thus far. Is this a major hurdle for me? I am worried that the courses are not really for true beginners like myself and the fast pace will leave me a little bit behind not having a clue what is going on.
    2. I also have no real interest in a specific field or language, but I'd much prefer to try and land a job at a big company as opposed to a startup. I realize this probably lends itself more towards the degree path. I would certainly not be opposed to bootcamp --> job --> college while working. I've heard of going the "build a portfolio" route, but without a degree or any real credentials it seems like such a longshot that a decent company visits my personal website and throws me a job offer.
    3. I have a friend in the industry (out of state though) that I've spoken to, his recommendation was to use FCC for a couple hundred hours to decide if I like programming, then check out a few bootcamps and choose one. I am nearly at that point, but as I'm sure you can imagine - I am a little bit nervous putting myself out there in a new environment.
    submitted by /u/Robbyrobbb
    [link] [comments]

    Is it normal to forget what you've learned from your semesters?

    Posted: 24 Jun 2018 10:41 PM PDT

    I've always done my homework, tests, and projects in school and have seemed to learned the knowledge during that time. The problem I feel is that I have never worked on any side projects or did coding outside of the school curriculum. This past week I've been pushing myself to code every day and work on my personal c++ casino project. I've noticed that I am completely on my own (when it comes to what I want to do w/ the project) and I feel like I have not retained anything. I keep having to re google topics, syntax, and other things needed for my project. I know most of it is a refresher but it scares me that I am too late to pick back on my old topics, relearn them and apply them, and also learn new topics before I graduate next December. Example, I've learned how sorting algorithms work on paper and what is unique about them, but I've never actually written code for them. What are your thoughts? Does this happen to you too?

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

    [C++11] Need help understanding move semantics

    Posted: 24 Jun 2018 04:38 PM PDT

    Hi all,

    I wrote this quick program: https://github.com/varuaror/SoftwareEngPractice/blob/master/move_semantics/move.cpp and I don't understand how my objects C and D are created. I expected either the move constructor or the assignment operator overload to take effect but I don't see the messages in the stdout: https://github.com/varuaror/SoftwareEngPractice/blob/master/move_semantics/move.log

    Two questions:

    1. How are C and D getting created?
    2. How can I make my program use the move constructor or the = assignment ?
    submitted by /u/varora
    [link] [comments]

    Wheres the best place to start when creating 2D game assets?

    Posted: 24 Jun 2018 04:17 PM PDT

    I'm still learning but i'v written code to get my player to move and jump. However, he's just a green square Sprite on grey platform sprites.

    Unfortunately, I am not an artist but I need to create assets. I'm going for an 8-but style game to keep things simple for me at first.

    Problem is, I have no clue where to start. I'm using Unity if it matters.

    Slightly off-top here but, what steps do most developers take when creating a fame from scratch?

    Granted, they have an engine already. Do they create assets first snd code movement, lighting UI later? Or perhaps, they start with UI then animations etc?

    Is there an order you have to do things or is it kind of all over the place?

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

    What file type should use to store data for my python project?...

    Posted: 24 Jun 2018 05:08 PM PDT

    Hey everyone, i have a python project to do and i have to store some data somewhere for the user so when they closed and oppened the app again, those data can be used again.

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

    I think i'm too stupid for programming

    Posted: 24 Jun 2018 12:10 PM PDT

    Every single day that i try to program something, i just feel like my brain is not working, and like i can't solve even the simplest things. For example, this code:

    while($row = $result->fetch_array()) {

    print_r($row);

    }

    I knew what it does, but it took me like 5 hours to realize WHY. Why is it in a while loop, and so on. This is just one example but things like this happen every day...

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

    Do any of you guys get overwhelmed when you do a programming challenge then see 20 other better solutions?

    Posted: 24 Jun 2018 09:56 PM PDT

    I've been doing leetcode and for the most part I can do mediums and some hards...thing is...my solution is always slow as fuck, and gross looking. I look at other people's code (maybe like 3 different ones) and they're all so fucking good and I feel stupid. It makes me feel incompetent

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

    What would be involved in making a program that goes to certain pages on website and doing certain actions like, selecting a option and entering it.

    Posted: 24 Jun 2018 01:46 PM PDT

    I dont expect a complete answer maybe someone could just nudge me in the direction of what would be involved...

    to expand more basically something that can go to multiple different pages on a website, select a option (one of multiples bulletin selection options) than click another option on the page to submit it?

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

    Currently a third year college student and could use some advice!

    Posted: 24 Jun 2018 10:52 PM PDT

    Hi, I am currently attending UC San Diego and am majoring in Cognitive Science with a Specialization in Human-Computer Interaction. Initially, I thought I was going to go into front-end development however, UC San Diego and its courses such as User Interface/Interaction Design wasn't structured enough for me to learn enough code in order to apply it to the real world. Currently, I know HTML, CSS, and dabble in Javascript. I've been thinking lately that I would like to go more into database structures and hopefully become a software engineer. Essentially, I want to know in which direction would I be more successful in either doing full-stack development/front-end web development or becoming a software engineer. Also, as a software engineer, what languages would I need to know in order to excel in the future?

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

    C - why don't I get 2 times the same values?

    Posted: 24 Jun 2018 11:16 PM PDT

    Hello

    I'd like to know why the code below doesn't print two times the same values. This is the output:

    $ ./testApp

    size of double: 8

    *l_values: 1.000000

    *l_values: 2.000000

    *l_values: 3.000000

    *l_values: 4.000000

    *l_values: 5.000000

    l_value[0]: 1.000000

    l_value[1]: 0.000000

    l_value[2]: 0.000000

    l_value[3]: 0.000000

    l_value[4]: 0.000000

    My understanding is that l_values is a pointer to an array of 5 doubles. Here this array is a place in memory where you have 5 subsequent doubles. Which means that if I increase the pointer by the size of a double it should I think point to exactly the next double. In other words I think that `my_double[1]` should be the same as `*(my_double_ptr + sizeof(double))`. Yet that doesn't seem to be the case. Could somebody explain me what I am doing incorrectly?

    #include <stdio.h>

    #include <stdlib.h>

    int main()

    {

    int l_size = sizeof(double);

    printf("size of double: %d\n", l_size);

    double *l_values = malloc(5* sizeof(double));

    *((l_values)) = 1;

    *((l_values)+(1*l_size))=2;

    *((l_values)+(2*l_size))=3;

    *((l_values)+(3*l_size))=4;

    *((l_values)+(4*l_size))=5;

    printf("*l_values: %f\n",*((l_values)));

    printf("*l_values: %f\n",*((l_values)+(1*l_size)));

    printf("*l_values: %f\n",*((l_values)+(2*l_size)));

    printf("*l_values: %f\n",*((l_values)+(3*l_size)));

    printf("*l_values: %f\n",*((l_values)+(4*l_size)));

    printf("l_value[0]: %f\n", l_values[0]);

    printf("l_value[1]: %f\n", l_values[1]);

    printf("l_value[2]: %f\n", l_values[2]);

    printf("l_value[3]: %f\n", l_values[3]);

    printf("l_value[4]: %f\n", l_values[4]);

    return 0;

    }

    Thanks

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

    Can anyone explain like I'm five what the "init" does in Javascript?

    Posted: 24 Jun 2018 08:35 PM PDT

    I'm learning javascript for the first time and haven't really had a proper explanation that I can understand. Thanks!

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

    Vim

    Posted: 24 Jun 2018 06:51 PM PDT

    Learning Python, thought I would try vim at the same time just because. Is Vim worth the initial struggle/frustration?

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

    How to type in command prompt using a java program?

    Posted: 24 Jun 2018 06:09 PM PDT

    How would I go about making a program to automatically enter in command prompt commands?

    Basically I'm using it to control a game on my phone but I want my program to basically loop and constantly enter something like "adb shell input tap 1430 1900" into the command prompt.

    Any suggestions or ideas are welcome thanks!

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

    Free all summer and would like to start learning to program.

    Posted: 24 Jun 2018 11:59 PM PDT

    Hello, I've been very interested in computer programming for a while now and and thats what i wanna go to college for. rn im in 11th grade. Im taking my 1st programming class when school starts again. I've wanted to learn to program/code but i just dont know where to start. Like what language should i 1st learn and where can i learn it for free online like yt vids or a website or something? Personally i learn best with a teacher by asking questions and stuff or through videos. I dont have anything to do all summer so it would be amazing if i could start learning. Any help is much appreciated :)

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

    New Programmer Interested in Cybersecurity

    Posted: 24 Jun 2018 01:24 PM PDT

    Hello all,

    I am new(ish) to programming and I am hard geared toward cybersecurity. Due to this, I would like to test exploits but would prefer to not do this on my own system. This includes development of things such as viruses. I am wondering if these would be best to test in a virtual environment or how can I best test these items without absolutely destroying my own system? Thanks for any info!

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

    I just started learning python, and I want to use python to write a program to compress the size of a MP4 video I recorded. Where should I start from? Thanks!

    Posted: 24 Jun 2018 11:47 PM PDT

    I just started learing for about a month, and only know some basics and did some tutorial assignment. I think maybe this is a good exercise. Could you please give me some advice where to begin? Thanks!

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

    [C] Two numbers being permutations

    Posted: 24 Jun 2018 11:35 PM PDT

    I can't get the logic right here. The question is, I'm given two ints and I check if they are permutations of each other - apparently that means like 123 is same as 213 or 4493 same as 4943 (same digits = correct, doesn't matter the positioning)

    I'm asked to implement this in two ways, with one being processing it as a string or whatever. I haven't attempted this one but I think it's ok, I can process each digit by adding it to an array, doing it again for the second number, sorting it, then comparing if the two arrays are the same. I haven't learned any sorting algorithms though so I don't know if this is the right way (the hint I got was to use sprintf and division by 10).

    The other way I need help with. It's basically this solution: https://stackoverflow.com/questions/3219112/checking-whether-two-numbers-are-permutation-of-each-other

    but I don't get it. Make an array of 10 zeroes (probably corresponding to the digits 0-9)..then I get totally lost on the processing. When the solution says then process each digit in the first number, incrementing the relevant element...waht does it mean? Does it basically find the last digit of the number, say 2, then it increments the 2nd index of the array, then it somehow cuts the number so its one digit fewer, then does the same thing? Did I get that logic right? And because it's division by 10, by doing so (and using integer division), it's able to cut the last digit and using the % operator, get that digit as well? Could someone dumb it down for me? Thank you.

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

    Is Treehouse too easy // will it teach me enough?

    Posted: 24 Jun 2018 04:39 PM PDT

    I've been reading here tons, playing around on different learning sites, and worked through some of the Odin Project. I came across Team Treehouse around this sub somewhere and just started the Front End Web Dev track. (I'm more interested in learning front end right now, but do plan to learn back end later on).

    Anyway, I'm only a few lessons in, but it's seemed a little easy to me so far. Now it could be because I've done the basics of HTML/CSS in a few different free exercises...however, I just want to make sure that going through this track is really going to prepare me for front end work. I'm still in my first week of free trial, but want to make sure I don't start paying for it if it won't be worth it.

    Any thoughts?

    ETA: I'm a stay at home mom ready to head back to work and have always wanted to get into this field. I like how Treehouse lays out the path for me, and that it's all in one place.

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

    What's a project that a computer science major and a mechanical major could do together?

    Posted: 24 Jun 2018 10:16 PM PDT

    My friend and I want to do a project together. I'm computer science major and he's mechanical engineering major. Is it possible for both of us to create some type of simple project together with both of our skills. We're willing to learn new topics as required.

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

    Can you tell me like im 5 what string size_type is doing here? Could not find solid source of clear information! >_< payning in upvote karma!

    Posted: 24 Jun 2018 04:11 PM PDT

    Hey, so basically i found this solution to a problem which IMO is very beautiful compared to what i was trying to pull. Only one part of it i never seen before and could not find any clear/solid sources describing it on the websz.

    this is the solution.

    int main() {

    string::size_type n;

    cin >> n;

    auto width = n;

    while(n--)

    cout << setw(width) << string(width - n, '#') <\`<``endl;`

    return 0; }

    Now my question is what the hell is

    "string(width - n, '#')"

    doing?What it did/does seems extremely useful and i wanna really know it so i could likelyuse it in the future...thank you for your time.

    (i know what its doing in i can see the result but like not realy how it works/what its doing...you know...)

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

    Looking for learning resources on back-end

    Posted: 24 Jun 2018 10:05 PM PDT

    I'm building a form. I completed the front end and it's capable of sending data in application/x-www-form-urlencoded via email using HTML's action. I plan to be using the POST method for transferring data. But that requires a server with a setup to catch and parse that data.

    I don't have any experience with back-end, and holy molly, this place is huge. Since I don't know anything about back-end, I don't know what I need to be looking for either and that's led me to waste a lot of hours. I can't find the right tutorials.

    I need a guide who knows the lay of the land here to just point me in which direction I should go. My goal is to setup a quick test server, host the form I made using that server and catch information users submit.

    I'd really prefer python since it's my jam right now, but I can swing other languages.

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

    Resources for learning bottom up computer science while studying high level programming

    Posted: 24 Jun 2018 05:22 PM PDT

    I'm about to finish an associates degree in programming before moving on to a bachelor's in Information Systems Technology. My entire curriculum is applications based: a lot of web development, some database, but very little in terms of low level programming. We touched on binary in one chapter of one book long ago. However I can't deny the thirst for deeper knowledge. What in your opinion are good resources for learning bottom-up programming in a nutshell? Looking for something that's a bit more than a single PDF file but nothing too strenuous as not to bog down my current studies.

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

    No comments:

    Post a Comment