• Breaking News

    Wednesday, June 10, 2020

    How do you people do it? learn programming

    How do you people do it? learn programming


    How do you people do it?

    Posted: 10 Jun 2020 05:30 PM PDT

    I know this question and post might be stupid, but I really can't figure it out. With the current world situation and being stuck at home, I said to myself that i'll try again, for the 3rd time, to learn some programming...but i am really dumb, i really can't understand the concepts. I went over this subs faq, I did the P4E course on coursera and I feel like nothing is clicking inside my head. It's not the course's fault, i think the course is really great and really well structured and Dr. Chuck is a really great teacher. I'm the problem, I can't figure how you create something from nothing, how you think about a situation and you're like "oh yeah, this is the code that i need" and there's also like so many commands and abbreviations that i tend to get lost really fast. I even struggled with the simple exercises from p4e. It's probably just not meant for me. I would really like to able to understand and evolve doe, and maybe get a job based on it later in the future. I can't do my current job from home and it just made me realize how easy it is to lose your job in this situation. Also, my current job is destroying me physically and i'm only 27.. I'm already starting to ramble..going back to the main question, how do you people do it?

    Thank you

    Ps. Sorry about the format, i'm posting off my phone

    Edit: wow i wasn't expecting this many responses. Thank you all for your time and kind words

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

    How do you keep notes

    Posted: 10 Jun 2020 07:37 PM PDT

    My memory fails me at times. Especially if I learn a new framework or technology. I usually go through a tutorial or two, copy the process. Build one or two things on my own with the learned process, then see some shiny object and wander off to that. Then a couple of weeks or a month later I invariably have a hard time remembering much about the process and have to relearn it. Unfortunately my notes get spread around a lot, links get saved in various places and what not. What's your favorite way of organizing code, notes and information for technologies you learn?

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

    A stupid question, but I want to know, how are graphics of games 'programmed' or made?

    Posted: 10 Jun 2020 10:13 AM PDT

    Like most of the people,I've been playing or seeing videogames for time immemorial. But one thing which always fascinated me, was how these things were made. I never really got the answer. I guess,now is the chance?

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

    What is your coding routine?

    Posted: 10 Jun 2020 05:42 PM PDT

    I started strong learning on my own, studying 6hrs a day, but I burned out. Now, Im trying to get back into the habit of coding after a long break of doing nothing. Whats the coding minimum youre getting everyday?

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

    Is the coding bootcamp route a deadend path for most people?

    Posted: 10 Jun 2020 03:41 PM PDT

    So I'm in the final unit (CS Fundamentals) of a 9 month long coding bootcamp, and the difference between react/js and algorithms/data structures is VAST. The way I see it though, the CS portion is there to give us just enough practice to pass the interview and get a frontend dev role. My question is, how the fuck do people become real programmers? Like the ones who write the compilers and shit? I don't think working at a company making little tweaks here and there to a deployed react app will grant me that title, and there are more god-tier assholes in this world than I'm comfortable with who have been creating operating systems from scratch since the eighth grade. If you're a person with average intelligence to even slightly above average intelligence, will that limit what you can achieve in your career? In five years I see myself... working at the same company probably for the same pay doing the same shit with a different framework, but not doing 'real' programming. It's frustrating to think that because I'm not a fucking unicorn superstar genius I'll suck for my whole career. Is there a secret to this I'm missing, or is it just a matter of playing the cards you were dealt at birth?

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

    [Study] How risky and dangerous is learning a new language like PHP when i haven't even gained an intermediate understanding of Javascript?

    Posted: 10 Jun 2020 06:15 PM PDT

    Will it cause me to make errors by blurring my understanding and fundamental knowledge of JS?

    I would like to start learning a backend language to utilize a contact form but i worry jumping in to a second language too quickly might be detrimental despite the acute business need

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

    Anyone quit their job to learn? How have you progressed?

    Posted: 10 Jun 2020 10:36 PM PDT

    I've been miserable at my current job and plan on putting in my two weeks notice by the end of the week without having anything lined up. I took off for the whole week for a mental break and even that didn't help. Currently taking the self taught route and taking a Udemy Python course but right now it just feels like I'm only partially committed to it since I'm just mentally exhausted by the end of my regular workday that I can't focus on anything else. Anyone else take a similar path?

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

    A little advice for a newcomer to the programming world

    Posted: 10 Jun 2020 10:21 PM PDT

    Hello fellow redditors!

    I hope I don't bore you with this long post, but nevertheless here I go.

    I've been trying for the past few months (around half a year or so) to get a job in programming. Previously I've been working for two small startups, one of which taught me everything I know. I've worked mostly with Kotlin and a little with Swift4 (one year and a half with Kotlin and half a year with Swift, moreless), using Firebase/Firestore as databases, so we could say that's all I really know. The problem I'm facing is that it seems I'm still too Junior to be hired by other companies, and not knowing other technologies like Java/SQL or the like doesn't help my current situation. Just to clarify, these two startups where I said I worked consisted mainly of 2 individuals that were making their first steps as companies, so a helping hand willing to learn was something they kind of needed, even though I had to spend a lot of time learning from scratch.

    Currently I'm 27 years old and I live in a country that is on the brink of a crisis that I'm too afraid to face (hello, Argentinian brothers!), so I want to get as much experience as possible so I can leave for good. So, seeing that I don't have many of the skills or knowledge needed to be employed, I started to think what would be best to do. My first plan was to attend a university that offers a programming specialized degree in 2 years time, but if I find something faster, all the better. I'm currently taking some courses in Udemy but I don't know if they have any validity so as to put them on a CV and bootcamps are way out of what I can afford in a country like this.

    tl;dr: I'm trying to start as a programmer but I seem to lack the knowledge/certifications needed to really begin my career and I don't know where I should be aiming at.

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

    Javascript: Code still runs without var declaration.

    Posted: 10 Jun 2020 08:08 PM PDT

    So I am following a Udemy JavaScript course and it's going great, this coding exercise I am working is making a tip calculator. My code ran fine, however I noticed I am letting python bleed over, and inside my method I didn't declare my variable, percentage. The code ran fine. Once I checked my work with the solution, percentage was declared the typical way, "var percentage;". My question is why does JavaScript accept my non declaration inside my method? I can comment out var percentage; and it doesn't care I didn't declare it. Does JS assume percentage is a variable?

    var tipCalc = { bills: [124, 48, 268, 180, 42], calc: function () { this.tips = [] this.totalPaid = [] for (var i = 0; i < this.bills.length; i++) { //var percentage; var bill = this.bills[i]; if (bill < 50) { percentage = bill * .20; } else if (bill >= 50 && bill <= 200) { percentage = bill * .15; } else { percentage = bill * .10; } this.tips.push(percentage); this.totalPaid.push(percentage + bill); } } } tipCalc.calc(); 
    submitted by /u/powerstroked89
    [link] [comments]

    Where can I find the actual functions for MD5 and SHA256 in C or Python?

    Posted: 10 Jun 2020 10:07 PM PDT

    I want to see what's actually happening inside the hash functions, but I'm not sure where to look.

    Preferably something I can run on my home machine.

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

    Single Page App Websites

    Posted: 10 Jun 2020 10:00 PM PDT

    So i have seen a website that doesn't have to load to go to other pages (it is a personal website). What i can see is that it isnt either a static nor a dynamic website (or it can be just correct me). So my question is in order to build a website that doesn't need loading, can it be done by what they called SPA or single page apps which is also a modern way of creating website? or if there is any other way how to build with the same classification of sites, then I'm glad to know what it is.

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

    Just finished an intro book to C#, want to continue to become a paid developer using it.

    Posted: 10 Jun 2020 07:18 PM PDT

    Is there a roadmap for using C# and the .NET Framework into getting a solid job in the industry?

    Perhaps a suggestion of books or path, need guidance please.

    What should I do next?

    Learn a framework or data structures and algorithms?

    My apologies if this should go in the C# sub and not here.

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

    How to get rid of repeating html code

    Posted: 10 Jun 2020 05:22 PM PDT

    Greetings,

    I am writing to ask how to get rid of repetitive code for a page I am building. I began learning html about a month ago. I know about other languages but have never used any except for C. My knowledge of C comes from two intro programming college classes I took roughly 10 years ago. I did about zero programming during that 10 year gap.

    My page currently has a container, a row, and three cols. Each col contains a bootstrap card. I want to eventually have dozens or hundreds of rows of cards on multiple pages. If I try to add more rows of cards, I quickly get hundreds of lines of repeating code. I image this would present a huge problem if I want to make changes to the cards in the future.

    As far as I can tell, the only unique components of each card are the href and img src links, card title, and card text.

    I have been reading about how to eliminate the repeating code. I came across several articles and I found out that I cannot achieve this with html alone. The articles mentioned using other languages and methods that I am not familiar with like javascript, jquery, template engine, blockwrapper. I would imagine that there are several ways to get rid of the repetition. Something I had in mind was using an object or function to pass the unique information into the cards, but I have no idea how to do that.

    I want to use a method that is straightforward, conventional, and would open introduce me to new skills/languages. I am also open to novel or unconventional approaches. I would really appreciate the help.

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="styles.css">
    <title>Index Page</title>
    </head>
    <body>

    <div class="container">
    <div class="row">
    <div class="col">
    <div class="card text-center border-0 d-flex align-items-center justify-content-center">
    <a href="https://www.youtube.com/watch?v=iEGFFyv0MH4&t=1070s">
    <img src="https://i.ytimg.com/an_webp/iEGFFyv0MH4/mqdefault_6s_480x270.webp?du=3000&sqp=CLj_hPcF&rs=AOn4CLDOvo2tUWkm3QGC8E1BjBEWRa55Hw" style="width:80px;height:80px;">
    </a>
    <div class="card-body">
    <h5 class="card-title">Video 1</h5>
    <p class="card-text">Nighttime Ramen 🍜 [jazzy beats / lofi hip hop mix]</p>
    <a href="https://www.youtube.com/watch?v=iEGFFyv0MH4&t=1070s" class="btn btn-primary">View Video</a>
    </div>
    </div>
    </div>
    <div class="col">
    <div class="card text-center border-0 d-flex align-items-center justify-content-center">
    <a href="https://www.youtube.com/watch?v=8Zuwg_1Uit0">
    <img src="https://i.ytimg.com/an_webp/8Zuwg_1Uit0/mqdefault_6s.webp?du=3000&sqp=CKixhfcF&rs=AOn4CLD445U_D61yZfcEysryoe_REtuCog" style="width:80px;height:80px;">
    </a>
    <div class="card-body">
    <h5 class="card-title">Video 2</h5>
    <p class="card-text">National anthem of Vietnam shown on VTV1 each morning</p>
    <a href="https://www.youtube.com/watch?v=8Zuwg_1Uit0" class="btn btn-primary">View Video</a>
    </div>
    </div>
    </div>
    <div class="col">
    <div class="card text-center border-0 d-flex align-items-center justify-content-center">
    <a href="https://www.youtube.com/watch?v=_rTuPEdlhQs">
    <img src="https://i.ytimg.com/an_webp/_rTuPEdlhQs/mqdefault_6s.webp?du=3000&sqp=CI64hfcF&rs=AOn4CLBuV_ZCwrAUoIj_dfv3in_OlYytNQ" style="width:80px;height:80px;">
    </a>
    <div class="card-body">
    <h5 class="card-title">Video 3</h5>
    <p class="card-text">Baby Boomers Speaking To Us From 1989</p>
    <a href="https://www.youtube.com/watch?v=_rTuPEdlhQs" class="btn btn-primary">View Video</a>
    </div>
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>

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

    Where to start with Frequency Analyzer VST

    Posted: 10 Jun 2020 06:53 PM PDT

    I mess around with audio production here and there and was looking for a way to view multiple tracks frequency spectrums in a single view. I'm familiar with things like variables and problem solving related to programming as well as a wee bit of Python (I mostly do data analysis with some VBA, SQL type programming).

    I read that the best language for coding a VST plugin to use in a DAW was C++ and figured I'd ask if something like Bluecat's frequency analyzer would be too difficult to replicate. https://www.bluecataudio.com/Products/Product_FreqAnalystMulti/

    I figured why spend $99 for their tool if it could be replicated with my own plugin. It seems like a fun programming exercise as well.

    I guess I'm wondering, aside from reading through the basics of the C++ language and following a few tutorials for making a basic VST plugin, are there any tips or advice when starting a project like this?

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

    Has anyone done AlgoExpert?

    Posted: 10 Jun 2020 06:27 PM PDT

    I'm in the process of applying and taking coding interviews. I really want to bone up on studying for the coding tests. Has anyone bought AlgoExpert.io? If you have can you discuss some of your options on it? What was good, what was bad? Did it help you? Is there anything I should know if I were to do it, any supplemental areas that I should cover?

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

    Novice trying to bridge the gap between instructions for entering commands in terminal and knowing what unspoken things I need to enter first.

    Posted: 10 Jun 2020 11:56 PM PDT

    I'm learning Python. I have never used Terminal. Windows 10.

    When I search for how to do various things, a lot of times, the solution involves entering a command in Terminal. But, when I enter that command, I get an error. For example:

    Starting the Notebook server without opening a browser:

    jupyter notebook --no-browser

    So, I open up terminal, and enter

    C:\Users\Ax>jupyter notebook --no-browser

    And get

    'jupyter is not recognized as an internal or external command, operable program or batch file.

    Obviously, there is something fundamental I don't know to do. In general, what is my failing, and what is the general approach to find out what I need to do before entering any given command from any given solution I find?

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

    Is there a good online "coding camp" that's built on a good simple example and that enforces good practices from the get-go?

    Posted: 10 Jun 2020 11:47 PM PDT

    My friend wants to start learning programming and I talked with him about trying to find a resource that also takes into consideration the stuff around coding. Like how to use VScode, git, cli, basic cloud services to run the code on etc. I also told him not to try to drill too deep into theory and recommended trying to find a course that circles around simple example project where you get small doses of theory and them execute that theory to practice to create a simple web app or something with few modern languages like js, python, go or something.

    He (and myself and few other friends who already know what they are doing) thought it sounded like a perfect learning resource, we just could not find anything that teaches this way. Any ideas?

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

    For those of you who use vim

    Posted: 10 Jun 2020 11:47 PM PDT

    How long did it take till you felt more effective in vim than any other editor? I'm learning vim and I'm maybe at 1/4 of my normal speed using vim and I have roughly 3 days of using it

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

    Honestly this post might be kind of dumb but I really don't know where else to ask.

    Posted: 10 Jun 2020 11:03 PM PDT

    I don't even know where to start with programming. When I was like 10-13 I used to make little games on this website called Scratch. I really enjoyed it but I kind of stopped for reasons I'm not going to get into. I'm almost 16 now and I want to get back into programming/coding or anything like that. But I'm not sure where to begin, I know next to nothing about programming. I downloaded Python and to be honest it's kind of overwhelming. How do I begin this? Am I too young to do this? Do you guys have any tips on how to begin because I feel very clueless.

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

    DFS: Learning recursion inside for loop

    Posted: 10 Jun 2020 05:03 PM PDT

    Hi ,

    I am looking for resources to learn about recursion inside a for loop in detail with debugging.

    I am able to understand normal recursion, but programs such as permutation , combination, with a for loop recursion is tough for me to understand.

    Regards , Ajith S

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

    Help with C server implementation

    Posted: 10 Jun 2020 10:54 PM PDT

    I have a technical question about implementing a server in C (well C++, but using the C library for sockets). I have one thread which listens for new connections, and adds the file descriptor of any new connection to a vector.

    What I want to do is have a separate thread which polls all the file descriptors in that vector and, obviously, handles any that have data to read. The issue is that poll() takes a struct pollfd * pointer. Now, for certain other reasons i would really prefer the first thread to only deal with a std::vector<int> What this means is that the second one would need to recreate the array of struct pollfds based on any changes to the file descriptor vector.

    So here comes my main question: when writing a server like this, I see there are two options

    1. have it be 'busy' i.e. create a poll that times out every 5ms or so and then rechecks and rebuilds the struct pollfd array whenever necessary.

    2. the self-pipe trick.

    And I guess i was just wondering which is 'best practice'.

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

    Please Help me Out

    Posted: 10 Jun 2020 06:54 PM PDT

    Hello everyone, Please help me out,i am confused regarding to my career in CS,i had done BCA and currently i am persuing MCA...but problem is that i don't find myself interested in coding anymore. Whenever I try to code ,i start feeling boring and find coding a hectic and not so fun work; I don't want to do my college assignments ,i find it boring, I don't even do practical assignments of any subject...just because I don't find all that interesting at all. And in CS maths is necessary and i am not good at it,so it makes it more difficult for me to persue MCA and make my career in CS. My family don't understand what i am trying to say ,they want me to complete MCA but i can't feel it. Please help me out....i am confused.

    Otherthan this, i like to do work in film and television industry, i am a good singer too...but i want to make films and i don't have money to buy a Camera or any other equipment... My family is also not ready for all this. What to do, don't know pls help.

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

    C# programming study buddy?

    Posted: 10 Jun 2020 10:39 PM PDT

    Now accepting applications for a c# study buddy or study group lol

    There's a ton of different ways to start learning how to program. The industry is saturated with information and sometimes it can become extremely overwhelming to the point you want to quit. But there's different ways to learn, and some of those methods can work for certain people, whether that be in a classroom learning environment, watching videos, reading tutorials, etc. So you have to find out the most efficient ways for you to learn and improve. One of those ways can be a study buddy, or even a group of people learning and bouncing ideas off of each other. Right now I'm learning the basics of c# and working on algorithms. If anyone is interested, don't hesitate to comment or dm me.

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

    No comments:

    Post a Comment