• Breaking News

    Tuesday, February 27, 2018

    I have around 6 months of free time (only working 10 hours/week). I want to be able to learn programming so that I can get any type of experience and at least get a minimum wage job in the programming field. What should I be doing in this 6 month timeframe? learn programming

    I have around 6 months of free time (only working 10 hours/week). I want to be able to learn programming so that I can get any type of experience and at least get a minimum wage job in the programming field. What should I be doing in this 6 month timeframe? learn programming


    I have around 6 months of free time (only working 10 hours/week). I want to be able to learn programming so that I can get any type of experience and at least get a minimum wage job in the programming field. What should I be doing in this 6 month timeframe?

    Posted: 26 Feb 2018 07:02 PM PST

    I am starting a computer science degree in the fall and I am wanting to work in a programming job while I'm in school. However at the moment I have no experience and I am trying to figure out the best way to use this 6 months as best as I can so I can get a jr developer job or any kind of paid job in the field so I can have as much experience as I can while I'm in school for the the future. My ultimate goal is to go into A.I. and I want to start by getting job experience while also at least getting minimum wage (preferable higher) so I don't have to work at a job that will give me no experience. I want to utilize these 6 months as best as possible. Where should I start? Also what would you have done until that time to prepare you for your first job? Thank you for your help!

    Edit: I am only working at a job right now for 10 hours per week. I have the rest of the time to learn programming or anything computer science related.

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

    "Code Your Own Games" Humble Book Bundle

    Posted: 26 Feb 2018 01:20 PM PST

    Is it bad that I style my brackets this way instead of using the normal style?

    Posted: 26 Feb 2018 04:49 AM PST

    I'm a third year university study in the UK studying Comp Sci. I am now quite proficient at programming and I'm comfortable coding in a number of different languages.

    However, I've recently started wondering about if my choice of bracket styling is a problem, or if it will be a problem in the future.

    Personally, I use the following style when programming

    someFunction() { ... } 

    Which I find to be much easier to read and a lot neater when it comes to formatting code, as opposed to the style that seemingly everyone else uses:

    someFunction() { ... } 

    I'm just wondering if there's actually any problems with using the first style as opposed to the second, and if I should be using the second, what reasons are there for adopting this style instead?

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

    What tools would be best for me to learn Java?

    Posted: 26 Feb 2018 04:14 PM PST

    I've skimmed over the FaQ, but I'm wondering what tools you guys prefer to use to learn Java.

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

    Struggle with Javascript.

    Posted: 26 Feb 2018 03:44 PM PST

    Hello guys, I started back in November and did a course on Javascript for 1 month till December (course was really bad, couldn't get anything of it). Then I started doing some free online courses like "www.codeacademy.com" (fully finished it), "www.freecodecamp.com" (also finished it) and a little bit of "www.codecombad.com" (lost interest). I've been through some tutorials on youtube(like 200+) hours. After the all that I decided to get a fresh start and began to read "You dont know Javascript" and dumped it because I got really confused in the end of the first chapter (I've spend some hours on it but could not do it). Now I am reading "Eloquent Javascript" and I got stuck in the begining again (exactly at "Data Structures: Objects and Arrays").

    It always feels easy in the begining and suddenly it gets really hard and no matter how much I try to understand I just can't figure it out. It's not like I don't understand the basic syntax after all those hours I can tell whats the difference between global and local scopes, know the syntaxis of object, functions, loops, methods , It's just when I start writing code I can't make things work(It was way easier with HTML and CSS).

    I have a friend that is working in a company with front-end (HTML, CSS,Javascript etc.) and decided to give it a try too, he offered me some help but he is too busy. The first task was a basic calculator. I'm on it for 2 months and still can't figure it out. I'm feeling desperate and really disappointed from my self because I got the time and patience and my progress so far feels like zero.

    Any tips and ideas are welcome, thank you!

    Ps. Sorry for my bad English.

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

    I completed an Intro to Java Final Exam which I first failed 12 years ago

    Posted: 26 Feb 2018 09:13 PM PST

    I failed this final exam and it has loomed over me ever since. I was extremely bad at programming back then, even though I was passionate about it. On the due date, I submitted a source code file with zero lines of source code. It was merely a block comment saying how sorry I was that I couldn't complete this assignment and explaining that I tried and failed. None of the source code I wrote made sense, so I deleted it.

    12 years later with an engineering education and a job in the field for several years, things obviously change since then. Recently, I found the Final Exam prompt and decided to finally complete it and I wanted to share it with people.

    See the project on my github and learn more about the backstory there too.

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

    Interview Question - "Whats the difference between Linux and Windows?"

    Posted: 26 Feb 2018 06:16 PM PST

    I had this question today in an interview for a new graduate dev position at a telecommunication company. I've used both and written code on both but I'm not sure what the technical aspects of each the question is getting at. I answered with something about how the underlying file systems are different (technical but not sure that this is what they were looking for) and some BS about open vs closed source and how Linux is primarily used with no GUI or whatever, just tried to mumble my way through that one. It was for primarily a C++ position if that points the question in a different direction

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

    Why does coding take so long?

    Posted: 26 Feb 2018 11:33 PM PST

    I checked the FAQ and didn't see this particular question addressed. But anyway, I remember Facebook in its early days, and the website seemed to be pretty simple overall, but yet by all accounts it took Zuckerberg months of basically being locked away all day coding to create it.

    Why does coding take so long? And how can the current languages and processes for coding be anywhere near optimal if they take so long to bring a vision to fruition?

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

    How long did it take to you learn good programming?

    Posted: 26 Feb 2018 07:33 PM PST

    I'm past the syntax phase but the concept of programming is still difficult to me. I look at some code and I can't make out what's really happening. Also, when I code, I don't really have a direction I'm going until I look at example codes. How long did it take before you were able to overcome this and code well?

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

    Is there any relation to React.js “state” vs the computer science concept of “finite state machines”?

    Posted: 26 Feb 2018 10:43 PM PST

    Hey guys!

    Trying to learn more about the computer science foundations of programming, I really have no idea if this is gonna be a dumb question:

    http://raganwald.com/2018/02/23/forde.html

    I saw this article on HackerNews today and I'm also deep in the books teaching myself Facebook's React.js

    I really feel like I'm drawing a false connection with this, but is it fair to say that React.js's implementation of "state" with front end UI components is just a very very stretched out abstraction of the "state" that is discussed in the article above?

    The article talks even about something called "Stateless Objects". **(on a second glance at the article it sounds like he might just be talking about regular object data structures that aren't complex enough for state?)

    Anyway, if it sounds like I don't even have a clue, feel free to let me know! I'm studying to (try to) be a front end developer right now but the computer science concepts beyond the programming language is what I've found really interests me. Is it possible to learn about crazy concepts like the one in the article using JavaScript? I wanted to start teaching myself C++ but I feel like I'm so close to getting a job with JavaScript that it wouldn't make sense to change paths right now. Any thoughts?

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

    How do I go about taking a shot at building a web app, with a semi-decent knowledge of Python, R Programming and SQL ?

    Posted: 26 Feb 2018 09:49 PM PST

    I know those languages aren't the exact things that one needs to know for building web apps. But how can I leverage my knowledge in those to quickly get into building web apps ?

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

    Issues with an undefined index error in PHP

    Posted: 26 Feb 2018 03:55 PM PST

    I created a quiz question about CSS using checkboxes.

    This is the code for HTML inside a form:

    <h2>6. What three ways can you apply CSS? (3XP)</h2> <input type="checkbox" name="cssStylesOne">In-line<br> <input type="checkbox" name="cssStylesTwo">Internal<br> <input type="checkbox" name="cssStylesThree">Outer<br> <input type="checkbox" name="cssStylesFour">Inner<br> <input type="checkbox" name="cssStylesFive">External<br>

    This is the PHP code:

    $qSixOne = $_POST["cssStylesOne"];

    $qSixTwo = $_POST["cssStylesTwo"];

    $qSixThree = $_POST["cssStylesFive"];

    if ($qSixOne == "in-line" && $qSixTwo == "internal" && $qSixThree == "external") {

    echo "Question 6: Correct! +3XP <br>";

    $points += 3;

    } else {

    echo "Question 6: Incorrect! Answer: In-line, Internal and External 0XP <br>";

    }

    When the user selects the right checkboxes everything is fine. But let's say the user does not select the correct checkboxes, for example, let's say they pick outer and inner, I get errors like this:

    Notice: Undefined index: cssStylesOne

    Notice: Undefined index: cssStylesTwo

    Notice: Undefined index: cssStylesFive

    The else statement still runs but why am I getting the undefined index errors and how do I get rid of them?

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

    small project ideas - beginner

    Posted: 27 Feb 2018 12:07 AM PST

    I've gone through some of the online courses, but i lose interest so quickly as it becomes so dry because it doesn't fill a 'need'. I don't make progress on anything. just endless 'find x by using y code' type of things.. Maybe i haven't found the right courses.

    I'd like to delve into python. Anyone have a small project idea that i can google away on my own? Or even a better place than codeschool/codeacademy etc to do some tutorials on making something? I'm not much of a 'book learner' I just need to do it a few times, then progress in difficulty.

    Thanks a lot folks, i appreciate it!

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

    Issues with zsh inside of the "bash on ubuntu on windows" terminal

    Posted: 26 Feb 2018 11:43 PM PST

    I had oh-my-zsh and zsh installed inside of WSL(aka bash on ubuntu on windows). I was using the integrated terminal inside vscode. Here's what happened + the steps I took:

    1. i did "rvm install 2.3" to install ruby. this gave the error: "need to allow login shell when installing RVM"

    2. <insert steps that i forgot to write down>

    3. i decided to reinstall zsh/oh-my-zsh, so i started by doing sudo chsh -s /bin/bash ubuntu to change the default shell

    4. i did uninstall_oh_my_zsh and sudo apt-get --purge remove zsh

    5. then i did rm -f ~/.zshrc* to remove zsh config files since purge doesn't remove

    6. then i did tail /etc/passwd to verify that bash was now being used

    7. i verified that bash was being used as the shell and that the $SHELL env variable was set to bash via echo $0 and echo $SHELL

    8. typing bash gave "command not found" error

    9. turns out that zsh was being called in the ~/.bashrc file, so i removed that line

    10. to reinstall zsh, i did sudo apt-get update and then sudo apt-get install zsh

    11. attempting to run the zsh configuration process via zsh fails. here's a screenshot: https://i.imgur.com/2oMANOO.png

    12. tried running zsh configuration process via zsh /usr/share/zsh/functions/Newuser/zsh-newuser-install -f, but nothing happened. by the way, this command came from: http://www.tricksofthetrades.net/2015/02/05/zsh-basic-configuration/

    13. typing zsh /usr/share/zsh/functions/Newuser/zsh-newuser-install -f into bash directly instead of vscode integrated terminal fixed this. zsh now "works" again

    14. currently stuck here. pretty sure my bash on ubuntu on windows terminal shouldn't look like this: https://i.imgur.com/zEU1KEl.png

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

    Where could I find an open sourced, huge program to learn how to structure code?

    Posted: 26 Feb 2018 03:53 AM PST

    Anyone who has moved onto designing bigger projects must have noticed how much harder it becomes to keep the code clean, organized and well-structured. I've been lurking for a while searching for "software architecture", "software design", and other concepts, but I can't find theory anywhere. On the other hand, I lack formal education, so I don't know If I'm doing my search wrong or If it is indeed something hard to find - in any case, I think that studying an high quality large project would also be a great help.

    Could you give me some directions on this?

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

    Get your tokens, GitHub user!

    Posted: 26 Feb 2018 11:29 PM PST

    Hi everyone,

    You probably know that the Genesis project gives away their tokens to veteran GitHub users. Yes, they don't sell tokens but rather give them away for free to those with +1 year old Github accounts: https://gist.github.com/c-darwin/a9a96a4eaae16c0d410f34e434594132

    I've installed their Quick Start pack and quite liked it. They have a very nice integrated development environment and the quickstart allows you to install up to 5 virtual local nodes for Linux (https://github.com/GenesisKernel/quick-start) and Win (https://github.com/GenesisKernel/quick-start-win/releases) to play with and see how the platform actually works. I've been reading through their documentation and creating interface pages (their interface language is very similar to HTML) and smart contracts (which they have many included in the quick start pack, and they are easy to build).

    The project looks quite promising to me, and I'm wondering if there is anyone here who's already learning or programming in their languages - Symbolio and Protypo?

    Also, I'm trying to collect as many of their tokens as I can, so if you register fot their token giveaway - please mention me as a ref in the giveaway. Thank you!

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

    [python] using the __add__ method on an integer literal

    Posted: 26 Feb 2018 07:38 PM PST

    why does something like this work

    a = 1 print(a.__add__(5)) # results in 6 

    while this results in a syntax error

    1.__add__(5) 

    given that string methods work normally on string literals

    for example:

    "abcd".upper() # results in "ABCD" 
    submitted by /u/fin_wiz
    [link] [comments]

    Bitbucket API query string not catching parameters

    Posted: 26 Feb 2018 05:21 PM PST

    Hey all! I am playing around with the Bitbucket API in my Nodejs App and I've hit the wall with their API. At the moment I am sourcing a list of all pull requests that are merged within a certain repo and it works perfectly The issue is the default pagelen (Page length) is 10 and I don't want to make a subsequent request. Their API provides a option to specify the pagelen value. For example

    .....someRepo/pullrequests?pagelen=5

    The issue I'm facing is when a try and use their query options as specified in: https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering#query-sort they are completely ignored when I use pagelen. An example of my use case is:

    I want to fetch a list of all pull request that have a state of MERGED and I want the size of the page length to be 2.

    URL: someRepo/pullrequests?pagelen=2&q=state%3D%22MERGED%22

    In the above anything after the pagelen is ignored....

    Some help or guidance would be much appreciated! Happy Coding!

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

    Advanced State Management with Angular, Redux, and API's.

    Posted: 26 Feb 2018 01:45 PM PST

    I wrote up this document for use internally at my company and, at the suggestion of my boss, releasing it to the community for scrutiny and teaching. Let me know what you think! https://github.com/crwgregory/angular-tutorial/wiki/Angular-State-Manegment-with-ngrx-store

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

    Homework/c++/discouraged

    Posted: 26 Feb 2018 10:18 PM PST

    Hi guys, I am writing this because I feel very discouraged and stressed and just sad :( my dilemma is, I can read code fairly well but I can't write it for the life of me. I have difficult thinking of HOW write a program to complete what the exercise is telling me to do. Even simple projects. I'm not sure how to improve... I feel like I'm not cut out for programming :/ to make matters worse, I have a very difficult homework due tomorrow night (my class moves very very quickly) and I'm not sure what to do. I guess I just need advice on how to be a better programmer. I have watched videos, read a good amount, and can read code but CANNOT write it. Learning c++ as my first language is mandatory because of this class so I cannot try a different language. We are already on I/O files and i feel so behind and I'm trying to catch up but actually understand everything

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

    Coming from a low-level background, is JS a good first language to learn for web-dev?

    Posted: 26 Feb 2018 10:17 PM PST

    I've been thinking of learning how to program in a web-based language like javascript for a bit now, but at least from what little reddit-browsing I've done (thanks r/ProgrammerHumor) it's often portrayed as messy and inelegant. Is it really that much of a pain to use javascript? And is it at least moderately reliable? And, looking towards the future, are there any other languages or specific frameworks I should look into?

    For context, I've been using a lot of Rust this past year, and while I've really enjoyed its rigor and predictability (and pattern matching is nice), it doesn't seem to be very useful though in the job market.

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

    Steps to take towards getting a good job?

    Posted: 26 Feb 2018 04:06 PM PST

    I'm a 17 year old high school student taking 2 computer classes both in Java. I am wanting to major in Computer Engineering in college. Often times I see people talking about building a portfolio of what they have done. Are there any resources I could use to give me an advantage in getting a good job in the future? I see GitHub being thrown around frequently in this subreddit, as a fairly new programmer could I use GitHub? How could someone with my experience benefit from using GitHub? Thanks in advance :)

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

    Examples of Discrete Math in Programming/Computer Science

    Posted: 26 Feb 2018 09:51 PM PST

    I've been doing a pretty decent job of following my discrete math course by spending a lot of time doing example problems. It's not as terrible as some may say, but I'm not sure if its applications. My question is, can anyone provide an example of something you've done because of discrete math, and not just because you already understand programming? Is it more about training your brain to think logically or are there actual instances where something like DeMorgan's Law has been useful?

    I learn better when I can see the purpose of the subject, and so far it just feels like a lot of memorization.

    Bonus Question: From random conversations I've been given the impression discrete math is more important in Computer Science than it is for Software Engineering - is this just bullshit?

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

    Will The IOS App “Py” Efficently teach me Python

    Posted: 26 Feb 2018 03:46 PM PST

    I am hoping to learn programming and I heard Python is the way to start I am not sure if this app that I found on the App Store wll suffeciently teach me the basics of python?

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

    CSS Divs side by side question

    Posted: 26 Feb 2018 09:39 PM PST

    https://codepen.io/anon/pen/WMYpWy

    https://imgur.com/a/qykaS

    So what I want is a responsive like image gallery on the left (covering about 2/3rds of the width) and the other ~1/3rd to be something like an aside (with more pictures). I feel like I have the image gallery down..I think. When I resize the window, the images drop down so that's nice and responsive. But I couldn't get the same effect for my aside.

    Here I have a bunch of problems. The immediate problem I have is that there is some random margin-top like feature pushing my aside down. It's not on the same top line as my image gallery. Setting margin-top: 0; didn't do anything, inspecting the container div didn't show me why it's pushed down a bit either..

    My second concern is that..how can I get the aside to drop down below my image gallery when the browser is resized? Right now, no matter how much I make the width of my browser smaller, it just shrinks. It doesn't drop down underneath my image gallery flex box. I made this effect happen with my image gallery because I set it's container to flex-wrap to wrap, so the item divs drop down when I resize. How could I do this with my aside? I want it to drop down :(

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

    No comments:

    Post a Comment