• Breaking News

    Thursday, November 8, 2018

    p1xt's "Get Job ready with 13 projects, 2 courses, and 10 books" guide (Web Development) learn programming

    p1xt's "Get Job ready with 13 projects, 2 courses, and 10 books" guide (Web Development) learn programming


    p1xt's "Get Job ready with 13 projects, 2 courses, and 10 books" guide (Web Development)

    Posted: 08 Nov 2018 07:12 AM PST

    Hey guys - if you're interested in web development I found this handy guide to help you along the way (especially if you're doing Free Code Camp). Here is p1xt's link for Get Job ready with 13 projects, 2 courses, and 10 books.

    There are several other p1xt web development guides found here to help you focus your self study efforts. Have fun!

    Edit: UPDATED LINK Get Job ready - JavaScript Edition - Version 2.0

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

    High Schoolers! If you're REALLY interested in CS (have a passion for it), save yourself now and get good grades.

    Posted: 08 Nov 2018 06:54 PM PST

    I just learned about the Harvard course CS50. This is their intro to computer science course. Intro. Freshman can take this.

    This is taken directly from the syllabus:

    "Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, Python, SQL, and JavaScript plus CSS and HTML."

    You know what they taught in my freshman courses? How to add (+, -, *, /) functionality to a pre-built calculator in Java and what "System.out.println()" does. If you're really interested in CS, do yourself a favor now and get into the best school you possibly can because you just might end up skipping 90% of your classes because you already learned the material on your own.

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

    Salted Hashes: A beginners guide to encryption (not potatoes)

    Posted: 08 Nov 2018 04:10 PM PST

    A really cool (yet old) article that always resurfaces every 6 months is Operation Luigi. In it, the author manages to "hack" into their friend's account partially due to poor hashing techniques that Tumblr used to use.

    Here's a beginner's guide on how to avoid that! We've taken advantage of hashing to hack around a Wordpress database before, so this can be pretty important.

    https://auth0.com/blog/adding-salt-to-hashing-a-better-way-to-store-passwords/

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

    What’s the best introduction to making a API?

    Posted: 08 Nov 2018 08:15 PM PST

    Hi I would like to find a resource that explains the proper way to make an API, more like theory than a tutorial, things like security, authentication and good practices.

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

    Aptitude tests and programming ability

    Posted: 08 Nov 2018 10:50 PM PST

    Can aptitude tests be a predictor if a person can successfully become a programmer?

    Example of such test: https://www.kent.ac.uk/ces/tests/computer-test.html

    I would like to know your opinions.

    Thanks!

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

    CS50 web development course is excellent for beginners in webdev

    Posted: 08 Nov 2018 05:35 PM PST

    This course is new, so maybe most of you haven't seen it. I recommend doing this course to learn about web development. The tech is Python with Flask, HTML, CSS, SQL (postgres, SQLAlchemy), JS, and more. I went to a shitty bootcamp and couldn't make shit after finishing. If you're thinking of bootcamps, save your money and do CS50 series. What's good:

    • lectures: they're long, but no time is wasted, it's very instructive. He explains things in ways a beginner can understand. When I first read about scoped_session, I had to go down the rabbithole of links, but still was like "what the fuck is this shit." The teacher explained that shit in 10 seconds. The audio is great and you can see the instructor's code.
    • notes: the notes are really good for review.
    • projects: they're challenging, even though I've had a little experience with these technologies. they don't guide you step-by-step and don't give you starter code. you gotta do a lot of googling and reading, and the whole process of where to start and end is up to you. I'm only on project 1, but I'm learning a lot about good programming practices, such as committing small changes and testing.
    submitted by /u/OG_L0c
    [link] [comments]

    C++ Error help

    Posted: 08 Nov 2018 11:00 PM PST

    can anyone explain why would

    [Warning] 'void _sleep(long unsigned int)' is deprecated (declared at C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include/stdlib.h:586) [-Wdeprecated-declarations]

    occur when i try to use the _sleep() function i did include stdlib and windows.h but i still dont get why this occur

    Can anyone solve it? :/

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

    In what way matrices could help me in programming ?

    Posted: 08 Nov 2018 10:57 PM PST

    Hello.

    Well, title says all. I already saw matrices like 2 years ago in a programming course but I never used them. People tend to say that matrices are somewhat important in programming. For now I didn't have any used of them, but maybe it's because I'm missing something. I can't see or understand the link between these two topics (Programming and matrices) Could someone explain to me please ?

    Thanks

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

    C++ while loop for tic tac toe

    Posted: 08 Nov 2018 09:37 PM PST

    I did a continuous while loop for my input for rows and columns but was seeing if anyone else had a different suggestion.

    void playerturn(char game[][3], char piece[], int turn) { int row, col; cout << "Player " << piece[turn]; cout << "'s turn.\n"; cout << "Enter a row and column to place an "; cout << piece[turn] <<"."; cout << endl; while(true) { cout << "Row: "; cin >> row; cout << "Column: "; cin >> col; if(row < 1|| row > 3|| col <1 || col > 3 || game[row-1][col-1] != '*') { cout<<"That location is not available. Select another location."<<endl; } else { game[row-1][col-1] = piece[turn]; return; } } } 

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

    Would you suggest learning about data structures and algorithms, or a programming language first?

    Posted: 08 Nov 2018 06:38 PM PST

    data structures and algorithms seem to be about the basics that people suggest should be well known, that and certain amount of discrete mathematics. But more often people suggest to just learn a programming language for your goals.

    I guess I would like to understand why some people suggest to learn data structures and algorithms. There was a person who built a really good web program, and that is what he suggested to learn for new people. So I was thinking to follow his advise if I want a program on that level.

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

    If you don’t think you can program, or in the verge of giving up learning how to code, watch this video.

    Posted: 08 Nov 2018 11:39 PM PST

    I was at that point earlier today. I could not focus and couldn't wrap my head around certain concepts, but I watched this and it gave me an extra push to keep on going. Hope this helps you![inspire me!](https://youtu.be/uEdyTlI3BAA)

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

    Why do you need to add an "f" for parameters of methods that only take float values anyway?

    Posted: 08 Nov 2018 11:08 PM PST

    An example is ObjectAnimator.ofFloat(). Writing ObjectAnimator.ofFloat(0,100) works fine, but in many places it is written like this ObjectAnimator.ofFloat(0f, 100f). Why? The method already takes only float values.

    Edit: platform is android in java

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

    I am currently studying @Phoenix online

    Posted: 08 Nov 2018 11:02 PM PST

    Taking a class for a software developer certificate

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

    What is a 'Blockchain Engineer'?

    Posted: 08 Nov 2018 03:57 AM PST

    In school yesterday my IT MGMT class had a speaker who covered Blockchain and Distributed Ledgers. I really enjoyed his talk and thought it was very informative. Though during the Q & A I asked the question. 'What is a Blockchain Engineer? When a recruiter asks for a Blockchain engineer what are they asking for?' His response was that the question is loaded and depends on the company. He didn't really answer my question.

    Could anyone here answer my question? I was curious about common knowledge that is expected from a 'Blockchain Engineer' (Ex. are you expected to know cryptography? are their specific mathematics knowledge?)

    submitted by /u/data-punk
    [link] [comments]

    Advice for Successful Pair Programming

    Posted: 08 Nov 2018 07:09 PM PST

    Hi All,

    I work for an employer that is pretty strict about developers working in pairs. At first I was quite excited about the idea, as I'm still a junior, and thought it would be a good chance to learn from more senior devs, however, I've found the pair programming to be more or less the more senior person doing all the work without asking for input or challenging the junior. Basically, they want to do things their way with no explanation, or chance for the other person to attempt the problem.

    This seems counter to the philosophy of pair programming, and is actually quite unproductive if you ask me (it'd be better for them to work alone, if they aren't going to take advantage of the collaboration). I've raised the issues with my CTO and VP of Engineering in my reviews, but they seem oblivious to it being an issue, and are more likely to place the blame on me for allowing it ("Every pair is different, and it's up to the pair to decide how the roles are set out").

    I've tried many things:

    • I've played the part of the newbie, and asked a ton of questions, trying to play to their ego as the experts
    • I've tried to challenge them to explain to me their pseudocode and let me translate it
    • I've been direct and told them I want a chance to use the keyboard because I'm not engaged

    Ultimately it ends up with the two of us fighting over the keyboard/mouse, and me giving in to sitting there watching them code for 4 hours at a time.

    It freaking sucks because I want to develop software, not watch other people do it. If the work is over my head, it makes sense for them to be typing, but sometimes it is even simple front-end work that I end up watching them do. It is super inefficient, and I'm not feeling super satisfied / productive at the end of the day.

    I am looking for advice from folks on how to make the pair programming work. Do I need to resign myself to letting seniority dictate who gets to write code? I feel like I am not learning anything because I'm not given the chance to try an approach and learn from it.

    Has anyone else encountered this in their work?

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

    Is programming really stressing how to make things work instead of just making them work?

    Posted: 08 Nov 2018 05:45 PM PST

    I mean, I've always felt so bad when working something programming related, because most of the time I search how to do it, instead of doing it.

    When will I be available to do stuff without researching a lot? Or is it always like that?

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

    The Top Machine Learning Libraries for Python, with Example Code

    Posted: 08 Nov 2018 05:34 PM PST

    Good article with easy examples to try your first machine learning project

    Link to Article

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

    did i create a class correctly?

    Posted: 08 Nov 2018 08:42 PM PST

    i'm a little fuzzy on classes so I want to make sure I do them correctly.

    I've compiled this and I come out with no errors but I wanted to know if this was the correct way of doing this.

    GLOBAL.H

    #pragma once #include<iostream> #include <string> #include <ctime> #include <iomanip> class Global { public: Global(); void titleScreen(); void clearScreen(); void pressAnyKeyToContinue(); void randomRoll(); }; 

    GLOBAL.CPP

    #include "Global.h" Global::Global() { int randNum1 = 0; //the only things that need to be initialized. int randNum2 = 0; } void Global::titleScreen() { std::cout << "**********" << std::endl; std::cout << std::endl << "SPACE CATS" << std::endl; std::cout << std::endl << "***********" << std::endl; } void Global::clearScreen() { system("CLS"); std::cin.clear(); //std::cin.ignore(1000, '\n'); } void Global::pressAnyKeyToContinue() { std::cout << std::endl << "--Press enter to continue--" << std::endl; std::cin.get(); std::cin.clear(); } void Global::randomRoll() { int seed = time(0), randNum1, randNum2; seed = time(0); srand(seed); randNum1 = rand() % (12 + 1) + 1; randNum2 = rand() % (100 + 1) + 1; std::cout << "Random number between 1 and 12: " << randNum1 << std::endl; std::cout << "Random number between 1 and 100: " << randNum2 << std::endl; } 

    I'm still confused on what should be private and public.

    and why I need an accessor/mutator and how to use it in this code.

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

    [Python] File "<pyshell#0>", line 1, in <module>

    Posted: 08 Nov 2018 08:38 PM PST

    Hello, my problem seems to be that no matter the value I assign a string it will always come out with "File "<pyshell#0>", line 1, in <module>". Here is the basic code I used for the test:

    test = "The" response = input

    print ("Enter the word, The.")

    if response == test: print ("Welcome")

    Sorry if this is a really basic/obvious question.

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

    Advice on how to go about a project

    Posted: 08 Nov 2018 04:51 PM PST

    I'm currently creating a Java application that will store diary like text data with some photo data. Due to the nature of the app I will be using a DB to do so. I will also be adding a 'friends' section. This will basically all be done in Java Netbeans.

    My queries are; Which database language\tool would be best for Java with little experience? The user would login to retrieve their data so how can I make this database retrievable online? (only used a local database).

    As for the friends how would I go about doing that? Would I need a web server for this to work and which would be best free one for a beginner? Is there any online resources on any of this that would help?

    Sorry for the broad and potentially dumb questions, programming is far from my strong point and don't know where to start with this project

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

    Auto-stretching div to bottom of device screen and using media queries on css grid...?

    Posted: 08 Nov 2018 08:34 PM PST

    Hi guys,

    I'm trying to make a simple website that has no scrolling at all. Basically, the top half of the page will have the logo and name and the bottom half will have a 2x2 grid, each box acting as a button. That's how I would like for it to look on mobile. On the desktop, I want all 4 boxes to be horizontal. How do I go about this? I've been reading up on media queries but am having trouble using it with grids.

    I would also like for the bottom half of the page (or bottom div) to always stretch itself and all its content all the way to the bottom of the device screen so there isn't any empty space regardless of how much or how little content there is in the div element.

    Additionally, if it's possible to make it so that the text under the logo can autoadjust to the width of the logo, please advise!

    Here's what I have: https://codepen.io/anon/pen/eQZxBK

    Here's what I want (Courtesy of MS Paint): https://i.imgur.com/rvAVIqg.png

    I'm all ears on feedback about my code, best practices, etc because I am still learning! Any help would be much appreciated!

    Thank you!

    submitted by /u/01123581321AhFuckIt
    [link] [comments]

    Help with a Java loop!

    Posted: 08 Nov 2018 07:58 PM PST

     public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); // declare the variables int integer = 0; int end = -99; int minInteger = 1; int smallestInteger; int largestInteger; // the sentinel loop while(integer < minInteger) { System.out.println("Enter a positive nonzero interger value: "); integer = keyboard.nextInt(); } smallestInteger = integer; largestInteger = integer; while(integer != end) { if(integer < smallestInteger) { smallestInteger = integer; }else if(integer > largestInteger) { largestInteger = integer; } System.out.println("Enter next integer or type -99 to end: "); integer = keyboard.nextInt(); } System.out.println("Among all your numbers," + smallestInteger + " is the smallest number and " + largestInteger + " is the largest number."); } } 

    So what I'm trying to do is deny any input of non positive integers and end the loop on -99. I've tried putting another loop in there and messing with if statements and I can't figure it out.

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

    This is why coupling is your worst enemy

    Posted: 08 Nov 2018 07:50 PM PST

    What is a "keys that produce a character value and for keys that do not produce a character value"?

    Posted: 08 Nov 2018 06:51 PM PST

    Hi, I'm currently going through some new terms in JavaScript [ES6]. I'm reading through some document here: https://developer.mozilla.org/en-US/docs/Web/Events/keydown on 'keydown' at MDN. However, there are some terms I don't understand. In the first few lines...

    The keydown event is fired when a key is pressed down. Unlike the keypress event, the keydown event is fired for keys that produce a character value and for keys that do not produce a character value.

    Are 'keys that produce a character value' referred to as char? And what are 'keys that do not produce a character value'? Can anyone explain what the doc is referring to?

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

    No comments:

    Post a Comment