• Breaking News

    Thursday, June 28, 2018

    What should a github repo include? What is the proper etiquette for having a coding portfolio on github? learn programming

    What should a github repo include? What is the proper etiquette for having a coding portfolio on github? learn programming


    What should a github repo include? What is the proper etiquette for having a coding portfolio on github?

    Posted: 27 Jun 2018 04:17 AM PDT

    As a CS student who just recently got a grip of the basics of programming, I have a few projects that I previously did that I want to upload and maintain on github. I won't just paste it and leave it, I plan on upgrading them with commits regularly. I used c++ in one of them and java in the other.

    I want to know what you guys add to your github repos? I thought the source files and assets would be enough but is it maybe better to just dump in the whole project folder? Also, from what I've seen it's also a good habit to include license and readme texts. Is there anything else I should add?

    If I got something wrong and sound stupid in any way, please excuse my ignorance and correct me. Thank you in advance.

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

    Hands down the best place to learn Javascript for beginners.

    Posted: 27 Jun 2018 10:27 PM PDT

    [javascript.info](javascript.info) I have tried learning JS from a lot of places online but when I came across this site everything changed for me. All of the contents are well curated and topics are explained in simple terms along with figures sometimes to explain the concept.

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

    Cutting and paste pieces of code together consider a programmer?

    Posted: 27 Jun 2018 07:56 PM PDT

    What I do mostly is, I google pieces of code that I need from different sources and pasting it together and making minor changes. Is this consider programming? Will I learn this way?

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

    Quantum computer

    Posted: 27 Jun 2018 10:08 PM PDT

    I am quite interested in programming an recently I asked myself, how do you program a quantum computer, like its operating system. Do you adapt old languages like C or do you have to develop a completely new language. Thanks in advance

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

    Question about when to use MySQL vs mongo

    Posted: 27 Jun 2018 06:49 PM PDT

    I think one of the more nuanced aspect of web development is making decisions on what to use. Recently, I started to try and learn MySQL but I don't know when I should use it over mongo? Should I always use it over mongo since it's more of a "real" database?

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

    Mini Projects

    Posted: 27 Jun 2018 09:21 PM PDT

    Hello, I am looking for a place to find small tasks, projects, or programming challenges to strengthen my fundamentals in the languages I am learning over summer break. I am going to be heading into my junior year of high school and if there is a place where I can find a ton of easy to difficult problems I can grind out that would be great. Thanks!

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

    MIT OCW 6.009 not on the site?

    Posted: 27 Jun 2018 09:11 PM PDT

    I'm self learning 6.006 and I can see that 6.009 is a co-requisite, but I can't seem to find it on mit ocw. Anyone know what an equivalent would be?

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

    Where do I code?

    Posted: 27 Jun 2018 11:16 PM PDT

    Like, do I code in the browser? In a notepad? Is there a software I'm supposed to download? I'm sorry if this is a stupid question

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

    Learning programming for bioinformatics?

    Posted: 27 Jun 2018 03:34 PM PDT

    I working in molecular biology and genetics. I am looking to explain my knowledge with the hope of getting a better job in the future but I don't know where to start.

    Any thoughts? Suggestions? Help?

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

    Help Organizing?

    Posted: 27 Jun 2018 10:35 PM PDT

    Hello, Not sure if i can post this here but can someone help me with organizing my desktop. I've been taking a course and learning the basics of programming and web design. I've realized that my organizing skills are non-existent and its killing me. I just save everything to the desktop. Any pointers or examples? I need help it's gonna get bad when i run out of room. I would just stick everything into a folder but idk how that would turn out. Hope this isn't a stupid question. Thanks.

    https://imgur.com/a/WY3ABlc

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

    Best place to start to become a Web Developer

    Posted: 27 Jun 2018 10:15 PM PDT

    Looking for all free content and all programs with a sub $1k fee in order to become a Web Developer.

    From what I have been researching, Web Developer is the most basic looking job and one of the more simpler ones to become, which is where I want to start learning.

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

    First C Program Inquiry

    Posted: 27 Jun 2018 10:12 PM PDT

    Hey, I'm new to coding in C and have never produced a GUI before, and I'm trying to write a poker program for personal use. The ultimate goal of the program will be to learn by displaying situations and make a GUI. To store each of these simulations, I want to get input from user (2 hole cards), users action (bet/ check/ call), flop, turn and river cards. I was wondering how I could go about inputing this information to store and be easily accessible for a GUI.

    So far, I was thinking of doing a looped scanf for inputting the data, and saving each hand in an array… but I'm not sure how it would read into Matlab or even if that's the most optimal way for reading in each series of actions (hand).

    Any pointers would be appreciated.

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

    using error() in Bjarne Stroustrup principles and practices c++ (wtf??)

    Posted: 27 Jun 2018 09:09 PM PDT

    So im on about page 140 and loving it, but now i see him using error() to terminate the program if invalid input...it looks really awesome so i go home pop up net beans to try it out annddd....

    find out to use it i have to download? and implement? his header file (iv never used any that wasn't just #include <> so this is all different....

    So now im sitting here about to start messing with settings and stuff that im not really sure about based off information from some vague forum replies...and im wondering....is this a bad thing to use? i mean....its not a standard library or anything?...is there a alternative? Why is it in the book than >_< ugh im kinda confused what the heck

    ::edit:: i just saw this line....in the header for it

    "By Chapter 10, you don't need this file and after Chapter 21, you'll understand it "

    so i guess is should just not practice and play with the new concept hes throwing out there till way later....hmm

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

    Help with deciding what to do.

    Posted: 27 Jun 2018 03:55 PM PDT

    So currently i'm learning python,and i'm decently into it. However my main goals is game development and python is not the best language for it. So my question is at what point should i transfer from python to a language better suited for game dev.

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

    What language should I commit to?

    Posted: 28 Jun 2018 12:18 AM PDT

    I know my way around Java pretty well and I've dabbled in Python. But I'm wondering if there's one upcoming language that I should focus on. Hoping to do mostly software development, work wise, but also want to give game development a go as a hobby. Eventually want to also play around with TensorFlow, or a similar machine learning library. Opinions?

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

    [Java] You can pass ArrayList a parameter for the initial capacity, but you can also pass it HashMap values. I don't understand how or why this works?

    Posted: 28 Jun 2018 12:11 AM PDT

    Consider the following code:

    public class Test { public static void main(String[] args) { HashMap<String, Integer> test0 = new HashMap<>(); test0.put("1", 1); test0.put("2", 2); test0.put("3", 3); List<Integer> test1 = new ArrayList<Integer>(test0.values()); } } 

    Why can I pass test0.values() to the new ArrayList? I thought you could only pass an integer to the ArrayList to specify the initial capacity.

    test0.values() returns a collection I believe, so in this case it would be something like [1, 2, 3] but I obviously can't pass [1, 2, 3] to the ArrayList.

    test1.size() will return 3 in this case.

    How and why does this work? Thank you.

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

    In C, what Does "Bind" Do?

    Posted: 27 Jun 2018 05:52 PM PDT

    In the past, I've seen it used to assign a port to a socket, but not here. How does it work, exactly? Thanks for the help.

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

    timout error on binary search? python

    Posted: 27 Jun 2018 10:59 PM PDT

    hello, i writed this tiny code to find a hidden number from a list on descending order, but for whatever reason it gives me out a timeout error

    bolitasStr = input().split(",") search = int(input()) bolitasInt = [int(i) for i in bolitasStr] def contarVasosLevantados(list, num): cont = 0 L = 0 R = ((len(list)) - 1) M = (L + R)//2 i = 1 while i == 1: if M < num: L = M + 1 cont = cont + 1 elif M > num: R = M - 1 cont = cont + 1 elif M == num: i += 1 print(cont) contarVasosLevantados(bolitasInt, search) 

    here is my code

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

    How to get started with API's?

    Posted: 27 Jun 2018 10:50 PM PDT

    I wish to learn how to use API's for social media data gathering.

    At this current moment I wish to be able to take data from Youtube's API to a google spreadsheet.

    I need direction on how to go about learning this.

    I understand that Javascript knowledge helps and I am indeed learning this but I would like to ask for a more streamlined learning path from those with experience

    Thanks!

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

    [JAVA] Would Buttons (action listeners) be considered Controller or View in MVC?

    Posted: 27 Jun 2018 10:45 PM PDT

    I'm a bit stuck on this one. This isn't homework or anything, but I'm trying to make an actual good project for my GitHub, and I'm stuck on organizing my code. I can't figure out if the action listeners for buttons belong in view or controller.

     

    On the one hand, it's controlling and manipulating things in model, so I thought it would be in control. On the other hand, it also straight up just changes screens on my JPanel, so I feel like it should also be in view. Any help is appreciated, thank you!

     

    For context, some of my buttons just go back and forth between screens (buttons like proceed and cancel). I'm trying to make my program a Peer to Peer connection, so my Model has the Server, and there's a button to start it. I feel like this is why I'm getting tripped up, since I'm going to have to call a method in the Model.

     

    Or maybe I just remember MVC completely wrong from school and am totally wrong about everything. DX

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

    Programming ideas - advice

    Posted: 27 Jun 2018 10:43 PM PDT

    Hi,

    Going through basic programming tutorials and started thinking about possible ideas for a own first project. These would be small web apps/sites.

    Mainly I´d like your input on what language / stack to use for it.

    First one: Collecting recipes

    Second one: Service book for your car. Mainly to keep track what parts have been changed and collecting receipts.

    Cheers

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

    New to the coding world.

    Posted: 27 Jun 2018 10:41 PM PDT

    Hey everyone! I've been reading this sub for awhile now and decided to get full into it. I'm a full time electrician but I've always had a passion for computers and Tech in general. When I was in high school I dabbled in coding and even made a couple programs, basic game like a magic right ball but with buttons and a ton of pre determined answers ( honestly can't recall the language)

    Needless to say from what I can gather python was the best starting point so I'm on to PCC to start and enjoying it. Just wanted to say thanks to all the people who contribute some great stuff and look forward to being able to give back myself.

    One more thing, being an electrical guy I'm definitely into machine leaning, robotics but I haven't narrowed down exactly what path I will take. Productivity and data also interested me. Anyway enough rambling!

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

    I want to code but don't want to pay dem student loans

    Posted: 27 Jun 2018 10:31 PM PDT

    Alright I want to learn to program, but I am poor and I honestly would like to be able to program and make stuff for example, I would love to make a website game a io game, and yes I know everyone and there mom makes io games, they fact is this if I could program why not make a game that teaches programming in a simple and fast way so I am going to try and learn to code any advice or help I want to learn ruby on rails or java, html is pretty easy to get a hold up I found.

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

    Learning methods

    Posted: 27 Jun 2018 03:59 PM PDT

    So, I'm coming into my last year of my Game Software Development degree (online), while working full time. I don't feel like I should be where I should be at this point... I am more of a hands on learner; I learn best by diving in and just practice and practice. The issue is that thus far, I've mainly done small school assignments, and haven't had time to do much else. Luckily I will be doing an internship starting in a month that my work is letting me do, so I'll be able to see how programming is in the real world. I feel completely unprepared, (I started by trying to memorize lines of code instead of focusing on the concepts) yet feel that once I'm in the thick of it, things will make more sense. Has this been the case for anyone else? I could be completely wrong and fall on my face when I see real world programming, but I'm wondering if this has been the case for others.

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

    new to Lisp please help with recursive factorial

    Posted: 27 Jun 2018 06:09 PM PDT

    so i have this:

    (defun factorial (n) (if (= n 1) 1 (* n (factorial (- n 1))) (print)) 

    i call it with this:

    (factorial (4)) 

    and it gives me: Illegal argument in functor position: 4 in (4)

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

    No comments:

    Post a Comment