• Breaking News

    Wednesday, October 31, 2018

    Halloween Is Tomorrow! Code A Halloween Themed Game! - Tutorial learn programming

    Halloween Is Tomorrow! Code A Halloween Themed Game! - Tutorial learn programming


    Halloween Is Tomorrow! Code A Halloween Themed Game! - Tutorial

    Posted: 30 Oct 2018 03:53 PM PDT

    Hey! Me and another developer teamed up to create a Halloween themed tutorial. The product is a Halloween themed card game. The tutorial uses only Vanilla JavaScript, HTML, and CSS.

    Here is a link to the tutorial

    This is a beginner-intermediate level tutorial and is aimed towards people who know basic HTML/CSS and JavaScript. Even if you're an absolute beginner you'll still be able to follow along.

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

    Free Programming Video Tutorials!

    Posted: 30 Oct 2018 05:10 PM PDT

    Hello!

    A couple weeks back, I created a Youtube Channel for learning how to code!

    The first "series" I'm doing is on getting started on programming for absolute beginners -- which covers topics like variables, conditional statements, loops, etc. I plan to finalize it with project video where I show you how to apply what we've learned to make a game!

    I currently have 6 videos posted, and my current schedule is 2/week (plus extras depending on my how much time I have). Once I complete the "programming for beginners" series I plan to do a series on OO programming and a series on advanced concepts (e.g. abstract data structures/recursion). I might also do a series on interviewing at big tech companies and work through some classic interview questions.

    I also see a lot of less technical questions here on Reddit on things like "What's it like to be a programmer?" or "Am I smart enough to be a developer?", and I'm planning to do some life-chat videos on those topics too :)

    Just some background on myself -- I got my bachelors in CS in 2016 and I've been working at a big, well-known tech company since (I would disclose, but not sure if that would be like.. against some policy or something :P). I also tutored Computer Science in college and loved it. I really love helping people learn this stuff.

    So yeah! I encourage you to check it out! Tactful feedback is welcome [I've never made videos before so I'm learning as I go]! And if you see yourself getting any use out of it, consider subscribing! Also, if you have topic ideas, I'd happily take those too for future videos :)

    Anyway, thanks!

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

    When should I stop doing programming exercises and start a project to continue my progress.

    Posted: 30 Oct 2018 05:02 PM PDT

    I'm learning Python and this being my first couple of months in the process, I've been using www.codewars.com as I have found it really fun and a great experience so far. I've only been able to do 7 and 6 kyu level problems and working on breaking that barrier. But I really want to start using my skills. Should I go and start on a project? Where do I find a project to work on? My career is not really in line with programming directly so what would you suggest I do in terms of continuing my education?

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

    Law student who wants to learn programming to understand the application of AI and improve career prospects.

    Posted: 30 Oct 2018 06:58 AM PDT

    Hi Guys, I am a first year law student who is interested in the use of AI in leading law firms. I have already begun to learn python on Codecademy as suggested by another user . What other areas should I be exploring to help develop my understanding of AI and ultimately improve my career prospects. Any projects that I can get involved in or courses that I should be taking?

    Edit: I am a UK law student and there is currently schemes that some firms run which is aimed towards law students who have an interest in legaltech which I will be applying to next year.

    Edit: Please note I am not expecting to obtain a level of knowledge on par with a computer science degree. I am only looking to be able to obtain an understanding and appreciation so that I can help legal tech engineers and lawyers communicate.

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

    Data Science vs Full Stack Web Development as a career opportunity?

    Posted: 30 Oct 2018 05:07 AM PDT

    I have done some googling but most of what I found was either outdated or seems like an ad. What type of person would like Data Science vs Full Stack Web Development? What are the expected differences in salary/job availability? I am looking at coding bootcamps or potentially college to get into one of those fields.

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

    How to change program to be a command line program?

    Posted: 30 Oct 2018 10:27 PM PDT

    I have a Python program that prompts the user for multiple inputs, and I also have a bunch of txt files (various orders of inputs) that I want to use to test my program.

    The problem is that I need to create a bash script that runs these tests for my Python program. How can I do this?

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

    Java Collections and Data Help

    Posted: 30 Oct 2018 07:27 PM PDT

    Hi all, I'm in my first semester of CS at a community college. I've been feeling like the professor isn't really teaching so much as just vomiting code and jargon at us, but since I had some minor experience back in the day trying to teach myself the basics of lua to play with WoW Arron's, I already understood the most basic of the concepts. I've had to google some things, but I'm hitting a wall with this.

    We spent 1 class on collections where he just threw the documentation for ArrayList, HashMap and a few other things at us with no real explanations. Then the class before this last one we moved to using MongoDB. I understand the general concepts, but I don't know what to do with the info. I feel like I could really use a good, easy to follow tutorial on these two things, but I haven't found one that seems good.

    In an effort to stay on track, this past weekend I started doing the CS50 course, and I'm glad I am. There's been so much info in just the first 2 weeks we never were taught in the 11 weeks of this class. I feel like I'm going to be behind the average student next semester that didn't have this professor so I'm trying to do extra work to come out even. It also doesn't help that we basically don't have real assignments. I dunno, I'm just scared I'm not actually learning what I need to be learning.

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

    [C++] Unexpected for loop behavior.

    Posted: 30 Oct 2018 09:25 PM PDT

    #include <iostream> using namespace std; int main() { int a = 0; for(int i; i < 20; i++) { cout << a * a << endl; a++; } } 

    If I understand correctly, this loop has to output a * a 20 times and stop. It does it only 4 times though. If I remove a++; it outputs 20 zeroes just fine.

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

    Should I pick a specific career in software, and build projects for my resume to cater to those careers? Or is that the wrong way to go about it?

    Posted: 30 Oct 2018 09:17 PM PDT

    I'm a bit overwhelmed by looking at job posts about different types of software related jobs. The jobs look like full-stack software developers, front-end web development, back-end, testing, QA, Performance engineering, data science, data engineers.

    I didn't graduate with a CS degree, I got a Psych degree with a lot cs courses mixed in there. I don't really have a strong background in cs. I don't have any work experience in the industry, but I want to get serious about learning about it to land a job

    How did you all pick your specific route in the career you ended up in? And how did you know you were ready to apply to those jobs? How did you know how to market yourself for that specific job?

    I'm just trying to land a decent job in this field but the options seem so vast and the paths to getting there seem infinite. I don't know where to really begin to pick the right career for me or what types of projects to do to get there.

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

    (C) Trying to loop through an array of strings and replace all nonalphabetical characters with '\0'. Doesn't seem to be working correctly. Code below.

    Posted: 30 Oct 2018 05:30 PM PDT

    I have a large array of strings that I scanned in from a textfile using fgets(). I want to be able to search in the array using strcmp() so I need to make sure to get rid of trailing newline characters.

    Here's the code:

    #include <ctype.h> while (fgets(dictionary[numwords], sizeof(dictionary[numwords]), fp)) { int ch; for(ch = 0; ch < strlen(dictionary[numwords]); ch++){ if(isalpha(dictionary[numwords][ch])){ //if its a letter do nothing ; }else{ //if its not a letter, replace with \0 (null character) dictionary[numwords][ch] = '\0'; } ch++; } numwords++; } fclose(fp); 

    I'm getting some weird output when I print out the array.

    Code to print out array:

    int j; for (j = 0; j < numwords; j++) { printf("%s", dictionary[j]); } 

    Here's a sample of the ouput:

    Aaron Abbas Abbasid AbbottAbbottAbbyAbbyAbdul Abdul's Abe Abe's AbelAbelAbelard Abelson 

    It's repeating some words and it doesn't seem to be getting rid of the newline character.

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

    Should i Learn Java or Dot Net?

    Posted: 31 Oct 2018 12:29 AM PDT

    Hello my friends. I need one Help

    I want to learn Programming language but also i want to Job as soon as possible. I completed my graduation 3 Years ago. But later on i tried to Government Job and i failed. So now i want to choose programming field. I have some knowledge of HTML, CSS, JAVA (What is Java, Data Type, Variable, Array, Not full Java).

    So from where i should start to learn this thing and what should i start. If i want to learn Java then C or C++ knowledge is required or not? Or if i want to start Dot Net or PHP then what is the process.

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

    Find longest pallindrome in given string?(python)

    Posted: 30 Oct 2018 08:41 PM PDT

    For example string = 8612321789

    Then longest pallindrome is 12321

    Here's what is I thought of-

    I found the position of each element . For example element 8 occures at 0 and 8 position.

    Then I sliced the string from 0-8. Saved the substring in new variable, reversed the string, saved the reversed substring in another variable. Then I compared the original and reversed substring .... Similarly for each element and it's position.

    But I think this would become to complex and time consuming

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

    Running Python in Mac 10.13

    Posted: 31 Oct 2018 12:26 AM PDT

    Hello, so the problem is exactly stated at the title. So far I've learned about C++ in school, but this time I want to try and pick up Python. I'm using a Mac with 10.13 OS, and I program C++ in Atom IDE. I have just 2 questions:

    1. Is there a way to make python run in Atom? I really like this IDE and I hope it does.
    2. If it doesn't, which IDE is the best for me to download and use?

    Thank you!

    submitted by /u/DeSteph-DeCurry
    [link] [comments]

    This function just recycles the given array and does nothing. I've tried everything. Why?

    Posted: 31 Oct 2018 12:22 AM PDT

    This function pertaining to this challenge does nothing to the given array, not even removing the dot character, and returns the array untouched. It doesn't give a single error. Why? What could be wrong?

    Here are the headers if you want to compile and test it.

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

    Suggest me some good courses to learn Node js from scratch

    Posted: 30 Oct 2018 12:21 PM PDT

    i need to learn Node js for an offer i got recently, and need to learn it in depth and quickly, so i'm looking for some good courses to do so, paid or free doesn't matter, hit me with the best

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

    What's wrong with this simple Java function call?

    Posted: 30 Oct 2018 11:48 PM PDT

    public class Main { public static void main(String[] args) { int score = 100; showScore(score); public static void showScore(int score){ System.out.println(score); } } } 

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

    [Java] Help with designing my game

    Posted: 30 Oct 2018 11:24 PM PDT

    code

    I was a bit lost with my World.java. In this class, I can construct a new World with boundaries (x and y). I also have a "genesis" method where it sets up the initial world, and makes cells in the 2D list I have. Depending on the luck, it makes either a plant, plant eater, or empty thing in the Cell (in the list). Does this part make sense, how I did it?

    Another method I had was counting the number of neighbouring cells, although I have come to think it is kind of useless in my game. However, the aspect of being able to visit each valid neighbouring cells seems to be useful. I probably need this in the next thing I'm doing.

    So now, I was wondering how I could make my game loop. I probably need in one of the classes (is it World? is it in Game? ?) a while (true) {} and inside it, print the contents of the genesis world, then have a loop that visits each and every cell, and for each cell, does the whole whatever it is the conditions are (like in the text document, the plant eaters choose out of those (potentially 3 or 8) neighboring cells one to move in, the plants try to "seed" and "pollenate"). Can I get some advice on my strategy about this?

    Finally, knowing that I might have to keep track of each entities's status (so like if it is a plant eater, I need to make sure every move that it made and didn't eat a plant, I take note and after 5 times of it doing that, somehow kill it (remove it from the array?)). This might sound straightforward but I add this information in the implementation of the entities, right?

    I haven't set up the GUI part yet though, so nothing really "runs" but once I figure this I can try to implement some JavaFX buttons to represent the grid.

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

    Pissed about Software Development

    Posted: 30 Oct 2018 06:29 PM PDT

    I have been learning code for about 3 years now. I have had a software job where I was in way over my head, so I quit. I have applied to jobs I was definitely qualified for and of course did not get them. I still feel like I don't know enough and its the only career I want to pursue.

    I don't have a bachelor's degree in computer science. But, I have done two coding bootcamps(front-end and java), completed an apprenticeship program at the University of Michigan where I earned a certificate in java development, I have interned with General Electric as a Front-End Developer.

    Should I go back to school? I don't want a computer science degree because I feel they are so general. I really want to focus on my front-end skills and become a UI developer. I was thinking about starting another certificate program at a community college for web design. This program will focus on design as well as coding. I am tired of trying to prove myself in these random phone interviews that advertise for one position but are asking questions for another role or a senior developer.

    What would you do?

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

    Heroku VS Firebase for Slack App

    Posted: 30 Oct 2018 10:11 PM PDT

    Hey guys - React developer here working on a side project. I'm building a Slack app, and am trying to figure out what I'm going to use for the backend. Currently, I have a Node/Express API hooked up to MongoDB, but I'm beginning to question if I want to host the API on Heroku (mostly have concerns about that whole sleep after 30 mins w/o usage thing). My aim is to not pay for anything as of right now, since it is just a pet project. That being said, I am doing this largely for backend experience since I don't get that much from my job. I'm looking for a little advice and maybe some pros/cons to using either Firebase or Heroku. What would you use?

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

    I'm a CS student in CS1, is it normal to struggle once you reach a certain point

    Posted: 30 Oct 2018 06:12 PM PDT

    I want to clarify "struggle". I don't mean just getting stuck, but just genuinely not understanding programming concepts and new things involved with it as you go. I'm more than half way through my java book for Computer Science 1, and I'm just struggling with the logic of loops with Strings and such.

    I'm not asking for help regarding them, but I feel like trash for googling the perfect answer to an assignment where we have to make a program that does X and Y and Z. I never get the EXACT code to copy and paste, but the algorithms and body exist and I just implement it into my own code without fully understanding some of it.

    Is it alright to do this? On one hand, I WANT to do everything by my own hands and have it all come from my brain, but I have due dates and a good GPA to try to maintain. Regardless, what are some recommendations you guys could give me when it comes to not understanding the logic of certain bits of code?

    For example, I'd understand the following code, but lets say there was a module in java that was like

    public module thing (string str)

    {

    normal easy to understand stuff

    complicated body of code that somehow reverses the order of the String and I don't understand a lick of it

    return newString;

    }

    It obviously isn't that simple, but I how you guys can understand what I mean? Again, I'm a student, I want to have a good grade but at the same time if I didn't google search for help at all I'm certain my grade wouldn't be NEARLY as good.

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

    Trouble adding libraries in codeblocks, and/or finding info...

    Posted: 30 Oct 2018 09:50 PM PDT

    How the heck do you people ever learn to link libraries and stuff. Ive been messing around with C++ in CodeBlocks, and Im now at the point where I would like to take on some actual projects. I had an idea to try and write a little text editor type thing. I got wxwidgets and compiled it with minGW following some online tutorials, but then I cant figure out how to link it with code blocks.

    Why does everything have to be so damn complicated? I keep getting stuck constantly with little problems. I still havent figured out how to write to files and read from them. I still have trouble with strings. I live in the deep south and basically don't know anyone who writes code.

    Anyways, I think Im gonna move to visual studio, as it seems much easier to use, where I can do many things without having to do all this arcahic crap to use a library. Its like they make it complicated on purpose. I dont understand why libraries cant just be treated as like plugins or something.

    Anyways, Im kinda dumb and I struggle with alot of this stuff, but I like coding because I like breaking things down and solving problems, Im just getting overwhelmed. I really need like a friend I can send code to or something who would take time to show me what Im doing wrong.

    If anyone would like to see some of my code I uploaded it. Please dont laugh too much haha. If you want to see just how bad code can be, and still function, you might want to have a look.

    http://s000.tinyupload.com/index.php?file_id=36622596835753023749

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

    University Instructor Goes Over Concepts Way Too Fast

    Posted: 30 Oct 2018 01:08 AM PDT

    I'm taking an accelerated introductory programming course in my university, which teaches using Java. I get that this course is accelerated, but I can hardly believe how fast the lecturer went over today's material. He introduced:
    interfaces,
    lists,
    sets,
    exceptions,
    for-each loops,
    Iterator, and wrapper classes,
    all in one 50-minute lecture! There's no way a programming student can grasp all of these concepts this quickly. I hope the TA will be able to help us learn this better in our smaller section class tomorrow.

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

    Requesting help on my beginner knowledge

    Posted: 30 Oct 2018 03:48 PM PDT

    I started learning computer science just this year and have been excelling at picking up the rules and terms as well as, testing my new found knowledge in a program called Scratch. Although Scratch is not my favorite choice, I feel for a basic understanding it is helpful but in order to understand the true difficulty and actually test the things you've learned in programming so far, a program such as Python would be better. Therefore, I have been doing some Youtube research on how to get started in Python and began creating some of the programs I did in Scratch, on Python. So my question is, how do people take the ideas they want to create and make them? It just doesn't click with me yet. I understand I am a beginner while also being in high school and taking 1 class on CS a day; not college taking a class that specifically tests the limits of what I need to know to be in the field. The reason I am wanting to proceed my learning so much quicker is that I am participating in an extra-curricular activity this year that has to do with cyber-security and selling my product to a retail business. The only problem is that I have an idea but can't quite make it; my teacher is also relatively new to CS as well so it's hard asking him for help when he is as confused as I am. So, this is why I'm asking the community, how expertise in CS take the ideas and act on them. Coding a password generator in Scratch takes only 10 minutes but I have no idea how long it takes to make a secure database catalogue for a retail store and put a two-factor login system onto the website in order to access it.

    To those who respond, thank you and much appreciated.

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

    I'm trying to build a simple review/rating app. NOT A YELP API BASED ONE!!

    Posted: 30 Oct 2018 09:45 PM PDT

    The Yelp API ones are all I can seem to find online.

    I'd like for a user to create ratings and be able to view all reviews that they have made and others have made.

    Example:

    325674 ⭐⭐⭐⭐
    784921 ⭐⭐⭐⭐⭐
    026410 ⭐⭐⭐

    Etc

    Then be able to search for any 6 digit number and find what the average rating is for it.

    Any points in the right direction to begin to learn a simple configuration as this would be great!

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

    No comments:

    Post a Comment