• Breaking News

    Saturday, October 20, 2018

    Step by Step content to learn Python programming from Scratch learn programming

    Step by Step content to learn Python programming from Scratch learn programming


    Step by Step content to learn Python programming from Scratch

    Posted: 20 Oct 2018 12:30 AM PDT

    Hi Guys,

    Checkout the free video series with Github repo, for getting started with Python programming. Those who already know Python can ignore the post :) But I think it is worthwhile to share this for those who want to get started.

    Video Series Link - https://www.edyoda.com/resources/videolisting/98/

    Github Link - https://github.com/zekelabs/Python-code-

    About edYoda - www.edyoda.com

    We are a bunch of geeky dreamers trying to provide free structured quality Course Content. We believe in democratizing education and will be soon out with super-awesome upgrade :)

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

    How realistic is it to attempt to become a good enough programmer to qualify for any kind of entry level programming job in three months?

    Posted: 20 Oct 2018 03:39 PM PDT

    Hey y'all. I know the very basics of Python, R, and SQL (very very basics) from having studied a bit on my own. However, I am currently working construction to pay the bills and would like not to continue doing so for much longer. I have a bachelor's degree in Biology and am currently enrolled in a half-time second bachelor's degree program in Mathematics while I work full time (I learned a little too late in my first degree that Mathematics really tickled my fancy). I am considering quitting my job to spend part of my time completing coursework and the rest of my time learning Python and R as if it were my job. I figure I can eat up financial losses for up to 3 months. With 8-10 hours of studying a day for 2-3 months, do you think it is possible/realistic for someone with an intermediate background in statistics to develop the skills and portfolio required to have a fighting chance at scoring a data science/statistics-heavy programming gig? If not, what about any other kind of entry level programming/developer job?

    submitted by /u/post-translational
    [link] [comments]

    Has anyone here become decent without a text book?

    Posted: 20 Oct 2018 04:59 PM PDT

    Or have most of you read through textbooks in your whole programming life cycle? I'm trying to learn python through udemy because I don't have time to read a book until the school semester is over.

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

    What can a high school student do to get experience with programming and cs in general?

    Posted: 20 Oct 2018 06:54 PM PDT

    Hi! I'm currently a high school junior and I'm planning on pursuing a career in computer science in the future.

    I don't really have much experience so far in this field since I only know Java. I took AP computer science last year and I really enjoyed it. So, I just wanted to know what I should be doing during the course of my remaining years in high school to be prepared for computer science in college.

    Any advice you could give would be extremely helpful. Thank you!

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

    APIs and JSON

    Posted: 20 Oct 2018 04:13 PM PDT

    Recruiter told me to be ready to answer questions about these. What could they even ask me? These seem like super simple concepts.

    For JSON, all I could probably be asked is to create an object or parse through some, right?

    For APIs, what can I be asked other than how to make an API call?

    Do you guys recommend any resources to use for preparing for front-endy questions?

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

    Projects for Advanced Beginners #3: Unbeatable Tic-Tac-Toe AI

    Posted: 20 Oct 2018 12:31 PM PDT

    It can be really hard to make the jump from beginner programmer to intermediate and beyond. I've talked to a lot of people who say that they totally get the syntax, and have no problem finding all the numbers in a list that are multiples of 3 or 5 or begin with a capital letter, but have trouble finding and structuring larger, more interesting projects.

    I'm writing project guides for these "advanced beginners". In one I just published, you build a Tic-Tac-Toe game and then build a perfect, unbeatable AI for it. The project is maybe 33% assisted, and the other 67% you have to figure out for yourself. I'm going to keep writing these project guides, and I'd love any feedback on how to make this one better. If you get stuck then I'll do my absolute best to help you out.

    Thanks!

    (Here's one of the previous projects in this series https://www.reddit.com/r/learnprogramming/comments/92m9mx/projects_for_advanced_beginners_2_game_of_life/)

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

    What is the best source of reviews for coding schools, boot camps, etc.?

    Posted: 20 Oct 2018 04:57 PM PDT

    I've started getting interested in a programming career path, and am now comparing different learning programs to see which is the best for me. Course Report seems to be focused on coding, but I'm not sure if that's the best resource to use if I'm trying to compare all the different programs out there.

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

    [ C++ Help] Concerning pointer to an array of pointers

    Posted: 20 Oct 2018 08:11 PM PDT

    I'm currently working on an assignment, and I think I have successfully made a linked list of the elements in a periodic table read from a file (amount of elements will vary).

    But I'm now trying to create a pointer to an array of pointers to Element (Element **ptr = new Element *[n] is found in main file and is passed into read_table). I'm not sure of how I should do this though. Is what I'm doing correct? Or should it be " ptr[i] -> *head.pElement " ?

    Element struct has been created in another file and table will be a prototype in that file.

    Code Snippet:

    struct Node { Element *pElement; Node *next; }; int table(Element **&ptr) { Node *head = new Node; // starts off the linked list Node *temp = new Node; // temp node to make switch for head node Element e; int counter = 0; // counter to keep track of num of elements // open input file ifstream infile; infile.open(file_path_will_be_placed_here); // loop to read file and create linked list while(infile >> e.atomicNumber) { infile >> e.name; infile >> e.abbreviation; infile >> e.mass; head -> pElement = new Element; // the node's pElement points to a new Element *head -> pElement = e; // sets node's pElement to the read data stored in e *temp -> next = head; // might have to point to &head head = temp; // head points to where temp does temp = new Node; // temp points to new node counter++; // increment counter every time for every element } for(int i = 0; i < counter; i++) { // confused !@!@? ptr[i] -> head.pElement; } 

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

    Looking for debugger recommendation under Windows

    Posted: 20 Oct 2018 07:50 PM PDT

    My main working language is D, and mago-mi is pretty much in pre-alpha stage (doesn't even support commands it claims, --args is completely broken, best it can currently do is to print out the full trace).

    Visual Studio wouldn't be a bad choice, however the only way I can use it for debugging is by attaching it already running processes (and in one case, a bug happens very quickly and I still couldn't track it down without a proper debugger), or if I use it to develop my own programs, however VisualD isn't well maintained and has limited support for the D language compared to VSStudio's code-D, also I can use dub this way easily, so dependency management is easy.

    Wanted to give LLDB a try, but I cannot find a precompiled version, nor compile it (documentation is very vague on it plus doesn't like my mingw also being installed), and I don't know if GDB supports non-DWARF symbols. Windbg is even less helpful than mago-mi. x64dbg seems to be more optimized for reverse engineering than general debugging.

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

    How to dynamically add a new heading to body using jQuery.

    Posted: 20 Oct 2018 07:28 PM PDT

    I have a title, I want to have 2 titles, so I am trying to add a new element usin jQuery as follows:

    $(".TopHeader").after($("h2"));

    Where the html looks like:

    <h1 class="TopHeader">Title</h1>

    However this doesn't work and none of the other methods I have tried work either. Including append, and appendChild.

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

    Hi, Guys, I have a question about sound libraries and how to set up a download system in a very efficient way.

    Posted: 20 Oct 2018 07:27 PM PDT

    Hi, Guys, I have a question about sound libraries and how to set up a download system in a very efficient way.

    My name is Marcel and I travel around the world and record sounds. Many of the sounds I record are published on my website in form of a blog post linked with Bandcamp and other unpublished sounds are stored in one cloud where people can buy the library and have full access to all recordings.

    Here is an example

    https://freetousesounds.com/aircraft-takeoff-sound-effects-changi-airport-singapore/

    People that are interested in these sounds can read the story how I recorded the sounds and then download from Bandcamp but I want to create a new theme and slowly go away from this style and build a platform where people can search sounds just like on Soundsnap or Pro Sound Effects websites.

    Here is an example of how Soundsnap does it

    https://www.soundsnap.com/tags/walla

    Or this example from pro sound effects that is made by a company called audio source

    https://download.prosoundeffects.com/#!explorer

    I love this look and the way how it's presented. You see the waveform and the length of the sounds. You click on download and that's it.

    My website is about 1.5 years old and has already over 20K visitors a month. I do believe that many people who are landing the first time on the page are confused or don't have the time to look around for that long and leave without really finding the sounds.

    I have all sounds stored in one cloud but I know it's not possible to do this with the one I have right now but I have a friend who is going to build me a server in his house to store all my recordings.

    I really want to set this up but don't know where to start right now.

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

    Making A Compatibility Layer/Emulator

    Posted: 20 Oct 2018 07:17 PM PDT

    I want to create/learn about compatibility layers or emulators. What do I need to know, and what tutorials/resources are available to me? What languages do I need to learn? All I can do is C++. How do I go from coding to practical stuff?

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

    How exactly are APIs updated with information?

    Posted: 20 Oct 2018 11:03 PM PDT

    How are APIs updated with data? For example if we have an API that gives the latest sports scores, how are the latest scores added to the API? How is the data updated so that it can be used by applications?

    I want to use a server-side framework to create an API that will then be consumed by a client side application. But how will I update the API with information? The client will not be making any POST requests, only making GET requests to see the data.

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

    python- i need help

    Posted: 20 Oct 2018 11:02 PM PDT

    def linersearch (item,key):

    index = 0

    while (index<len(item)):

    if (item[index]==key):

    break

    index = index+1

    if (index<len(item)):

    return index

    else :

    return 0

    s1=[10,11,17,7,8]

    key=10

    found= linersearch(s1,key)

    if(found!=-1):

    print(key,"found",found)

    else:

    print( key,"not found")

    can someone explain the steps to me ? i memorized which i know is wrong and i want to understand it , why we wrote each line and what it does ?

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

    [Java Exceptions]

    Posted: 20 Oct 2018 10:40 PM PDT

    I'm trying to make modifications to this code, but first, I want to understand it.

    From what I learned, you can only have one live exception at a time. Is this true? When f() is called in line 11, we have a live one, so we break away from the try and enter the catch block. Once we run line 14, does the that exception die? So it doesn't make sense to throw e again? I saw an example where somehow an exception wasn't able to be caught, and was rethrown. If such a case happens, how is it handled?

    And also, what if in a catch block, you throw a totally new exception. Is it the duty of the next immediate catch block after that offending catch block to give catch that new exception?

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

    Coin Change Problem - minimum coin to make exact change

    Posted: 20 Oct 2018 10:34 PM PDT

    I am trying to understand the problem where given a set of denominations (and unlimted coins for those demoninations), find the minimum coin required to make a certain amount.

    So in the case of {5, 3, 2} and the target of 9. The answer would be 3 since we can make it from 3+3+3 or 5+2+2.

    I watched this youtube video on dynamic programming and how to solve this specific problem - https://www.youtube.com/watch?v=Y0ZqKpToTic.

    He uses a table to basically break down the problem into sub problems. I understand how he's able to fill in the table starting with the first row where denomination is 1 (his coin denomination included 1). In his case, you can make any change with 1.

    We don't have 1 in our example, instead, we start with 5. I am stump as to how to handle this. When I try to create my table and I ask myself, "how many coins with demonination of 5 make 6?", the answer should be 0, but if I plug 0 into the table, working out the rest of the table with his algo doenst make sense.

    Can someone tell me what the ? should be in my table below? (or fill out the table entirely for me so I see what's going on)

    https://imgur.com/a/KITmf20

    submitted by /u/Guy-Lambo
    [link] [comments]

    [javascript] I'm the .querySelectorAll function is working for me, where am I going wrong?

    Posted: 20 Oct 2018 02:58 PM PDT

    Here's my code - https://jsfiddle.net/OscarLawton/ecdx1h6o/1/

    My JS is in the html, line 54 is giving the error "cannot set the background of undefined", it's too do with my divs_all.

    on line 68, inside my createDiv function, I've given every div the class of .divs

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

    [MIPS] Restoring s register post loop?

    Posted: 20 Oct 2018 10:22 PM PDT

    I'm working on an assignment in MIPS that builds a binary tree and traverses it, but I'm stuck on something strange. We can't edit code outside those BEGIN STUDENT CODE BLOCK lines, yet I need to restore $s3 after I use it as a counter for the loop that executes build_tree. All the code that does the wrap up is in add_done though, outside my designated block. Is the answer just to go to a second routine before going to add_done or is there something simpler I can do?

    Thanks in advance!

    Code Snippet:

    # # Name: add_elements # # Description: loops through array of numbers, adding each (in order) # to the tree # # Arguments: a0 the address of the array # a1 the number of elements in the array # a2 the address of the root pointer # Returns: none # .globl add_elements add_elements: addi $sp, $sp, -16 sw $ra, 12($sp) sw $s2, 8($sp) sw $s1, 4($sp) sw $s0, 0($sp) #***** BEGIN STUDENT CODE BLOCK 1 *************************** # # Insert your code to iterate through the array, calling build_tree # for each value in the array. Remember that build_tree requires # two parameters: the address of the variable which contains the # root pointer for the tree, and the number to be inserted. # # Feel free to save extra "S" registers onto the stack if you need # more for your function. # # # If you saved extra "S" reg to stack, make sure you restore them # # $a0 is the address that contains the array of values. # $a1 is the number of elements in that array. # $a2 is the the address of a word which contains the pointer to the trees root sw $s3, 16($sp) # current count MY SOLUTION CODE HERE... #***** END STUDENT CODE BLOCK 1 ***************************** add_done: lw $ra, 12($sp) lw $s2, 8($sp) lw $s1, 4($sp) lw $s0, 0($sp) addi $sp, $sp, 16 jr $ra #***** BEGIN STUDENT CODE BLOCK 2 *************************** # # Put your build_tree subroutine here. # # $a0 is a pointer to a pointer to the root node # $a1 is the new number to insert. build_tree: #***** END STUDENT CODE BLOCK 2 ***************************** 
    submitted by /u/14bux
    [link] [comments]

    training tesseract OCR

    Posted: 20 Oct 2018 10:20 PM PDT

    I'm working on a project that takes data from screen shots while I'm playing a game. I was hoping to use tesseract to read numeric values on the screen but it isn't perfect as the font is a little pixilated.

    I'm working in python and on a mac.

    Is there a way i can feed tesseract examples with the correct values to train it? it just has to read 0-9, dollar sign and comma sign.

    Any other ways round this problem would be welcome too.

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

    [Java] How do I make the program wait for GUI input?

    Posted: 20 Oct 2018 10:19 PM PDT

    I know how to make the program wait for command line input. What I'm looking for is something like scanner.nextInt only in gui. Like scanner.nextNumberClicked. Im making a calculator/math workout app.

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

    advantages and disadvantages of array-based queues and linked-list-based queues

    Posted: 20 Oct 2018 10:17 PM PDT

    like the title says. I can't seem to find any information on this, I tried google but it keeps returning information about regular linked list and arrays. Any idea?

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

    Where can i learn Intermediate to Advance level of Programming?

    Posted: 20 Oct 2018 09:46 PM PDT

    Actually it been a long time since I have been programming in C and C++ but at most I have done a small project like management system. I want to learn to program real life applications using modules and other libraries and whatever is done.

    So anyone can tell where actually I can learn about advance programming?

    Sidenote: I am still a college student and have learned C basics and learning C++ now that will be basic too. As for data structures I know stack,queue and linked list and basic algorithms.

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

    [Scala help] I need a countdown iterator inside a for/yield comprehension.

    Posted: 20 Oct 2018 09:37 PM PDT

    I have a list of tuples made up of ( Queue[Int] , Double ) pairs. I need to prepend a countdown onto the Queues in that list. The following code should do that.

    import scala.collection.immutable.Queue val db:List[ (Queue[Int] , Double) ] = List( (Queue(34,18),0.12) , (Queue(14,18),0.34) , (Queue(34,28),0.45) , (Queue(44,38),0.56) , (Queue(74,48),0.67) , (Queue(84,58),0.78) ) db var iw:Int = 7 val fatdb = for( el <- db; iw = iw - 1 ) yield{ (iw +: el._1 , el._2 ) } fatdb 

    The code above does not compile. iw goes out of scope within the for/yield comprehension. There are workarounds involving the use of .zip() While certainly possible, the resulting code would be absolutely nasty and impossible to read. It seems like there should be some straightforward way of doing this.

    Your thoughts?

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

    People and their choice of language

    Posted: 20 Oct 2018 09:34 PM PDT

    Have you noticed any pattern on people and their preferred language?

    I've recently come to notice this and i'm quite intigued. That is, a python programmer would tend to be more imperative and straight-to-the-point types. Whereas, say a java programmer would be the emotional kind.

    I'd just like to know if others have also recognized this pattern. Of course i'm generalizing here and not everyone could be grouped. So don't come at me with that.

    Is this anything in the community as how people like their languages with respect to how they are as a person?

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

    No comments:

    Post a Comment