Game changer advice nobody is talking about when learning programming learn programming |
- Game changer advice nobody is talking about when learning programming
- URL Shortener design: Why is it unacceptable for the same URL to generate the same shortened URL?
- How long does it normally take to get decent at hackerrank?
- I have a question on Java that might be really stupid, can i have 2 pointers to the same object?
- When will it start getting bearable
- First web page!
- Laravel vs Node.js vs Django - what is the 2020 consensus?
- Looking for people that want to engage in an open source project [NodeJS]
- My mind goes blank every time I try to solve a problem
- Python VSC inconsistency
- Please help me to understand how this code works.
- What language should I learn first?
- Python not returning errors but will not run my code! Help appreciated!
- Do you make time for other skills besides programming?
- For development in Financial technology: would it be best to learn C# or C++?
- Dont call for help straight away!
- What is the best way to push data from a rest api to an sql database?
- Written code model of learning.
- hey people, i look for ideas for my final project in the university [computer engineer].
- Signing an apk
- Do I need to attribute icons I'm not using anymore but is visible in my repo history?
- Analyzing the time it takes to insert or search a dictionary using buckets?
- I need help with the Gaussian Mixture Model code.
- Help with this Bees Breeding Algorithm (1999 ACM-ICPC World Finals problem)
Game changer advice nobody is talking about when learning programming Posted: 06 Apr 2020 06:10 AM PDT Hi, self-taught full-stack web developer here. As I have personal experience with the struggle many of you have right now, I thought I could talk about my own findings & actions that brought me success. I see many posts here are full of doubts and sometimes with self-pity. Many people don't know how to start, can't find motivation to continue or just feel overwhelmed. It can be hard, I know. The problem is reading textbooks and writing code is only a part of this. School system often isn't much help for this, because it's neglecting real everyday life skills you need, regardless of your future profession. Don't be just learning programming. You have to work on self-development too. But I'm not talking about watching motivational videos on youtube or scrolling Jocko Willink's Instagram. You have to get mentally strong. Read about psychology. Learn about how to handle negative emotions. Learn about how to organize your time and thoughts. Try different methods of learning and see what works for you. Be honest with your motivation. Keep improving your self-discipline. Read, learn and practice. It's okay to feel uncomfortable. If you're neglecting any of these things then you're diminishing your chances of success. There'll be times when you feel like shit. Your mindset and personality will decide if and how you'll overcome this. I know it can be tough, but it'll get better. The time I spent learning programming was hard, but I have a beautiful memory of it now. I had to become a better person to overcome these challenges. You can be anything you want, but first you have to be strong. You can do this :) [link] [comments] |
URL Shortener design: Why is it unacceptable for the same URL to generate the same shortened URL? Posted: 06 Apr 2020 10:33 PM PDT According to the grokking the system design guide, "If multiple users enter the same URL, they can get the same shortened URL, which is not acceptable." Why can't we just simply return the same shortened URL? [link] [comments] |
How long does it normally take to get decent at hackerrank? Posted: 06 Apr 2020 08:00 PM PDT I just started trying to get better at leetcode and hackerrank problems. I'm getting stuck on solving easy ones worth 15 points. I can come up with manual approaches, it's just writing an optimized version of it is what I suck at, although I have been able to write a few okay ones recently. What I'm doing is after my 3rd-4th compile If I didn't get it and I look up the solution and try to apply it. How long did it take you to start getting decent at these problems to the point where medium-hard problems started becoming trivial? I also plan on doing 3-4 problems a day. [link] [comments] |
I have a question on Java that might be really stupid, can i have 2 pointers to the same object? Posted: 06 Apr 2020 09:41 PM PDT I have only programmed in C++ so I might be totally wrong, but from what I have heard that we don't have to delete any heap allocated in Java. So I was wondering when we have 2 pointers to the same object, won't it cause an error because after deleting one object the compiler will try to delete it again? [link] [comments] |
When will it start getting bearable Posted: 06 Apr 2020 09:08 AM PDT So I've been tumbling into the world of programming since late autumn, and since March I've seriously committed to Python. I'm currently following an amazing course on Udemy: everything's explained lucidly, the examples are clear, the community is helpful, exercises equally challenging and rewarding... and I just want to close my laptop and never go back to it again. No matter how hard I try to understand why things work a certain way in this exercise, as soon as I move onto the next one, I'm out in the blue again, clueless. When will I finally start feeling like I have a grasp of this? I would think it's about practice, but what bothers me is that I keep on stumbling again and again, no matter how much I rewatch lectures or redo exercises. How can I make this easier for myself or at least how can I make it bearable and not feel like I'm walking in circles at a dead end? [link] [comments] |
Posted: 06 Apr 2020 06:18 PM PDT I started to learn programming at the end of January. I went through Google's introduction to Python on Coursera, followed up with Automate the Boring Stuff on Udemy, and then completed CS50x. Sprinkled in between was some freecodecamp and Odin Project, but I never got too terribly far with either. Anyways, this website uses python/flask to display content from a public API with html/css/javascript. On the whole it's super beginner level but I'm pretty proud of it. I'm going to spend some more time practicing with python objects and run through javascript30 to become more comfortable with those before getting into Django and React down the line. Anyways, here it is! [link] [comments] |
Laravel vs Node.js vs Django - what is the 2020 consensus? Posted: 06 Apr 2020 05:47 PM PDT I know this topic comes up a lot, and yes, I can find older threads, but I wanted to know if anything changed throughout 2019 up until today. What is the best website backend framework? Has any specific framework progressed further in the past year than others? Which framework the most actively supported through opensource? Is any framework facing new bugs/incompatibilities that will take long to fix? [link] [comments] |
Looking for people that want to engage in an open source project [NodeJS] Posted: 06 Apr 2020 02:26 PM PDT Hi! I've decided that i want to engage more into open source programming. Combining this with a project idea i came up with a couple of days ago, i've come to the conclusion that it would be a lot of fun to find some people that want to join me on this project. I am looking for both experienced and inexperienced programmers, as the main goal of this project is to learn and develop our skills while having fun and experimenting with new things. Here's a link to the project https://github.com/MathiasWP/Easy-Posting, where i've written a more explanatory letter. Stay home, wash your hands and be safe! If you have any questions, don't hesitate to contact me in PMs or down below in the comments. ☺️ [link] [comments] |
My mind goes blank every time I try to solve a problem Posted: 06 Apr 2020 05:10 PM PDT Even though I struggle a lot with this degree, most of the time I manage to understand what I'm being taught and I already have a pile of resources with many examples to help me grasp some concepts better. It's all good while I read the material or the theoretical part, but I get stuck when I have to solve a problem. For example, today I'm trying to learn classes in C++. I know what a class is, I know what constructors and destructors are, I know pretty well the entire syntax, so I should be able to solve a coding problem. However, I really have a tough time even starting my solution and I feel that all the information fades away. After I read the statement of the problem, I suddenly "forget" all that I know and I just can't figure out how to apply the theoretical part. Even after I look through a ton of examples (in lectures, in books or in tutorials), I'm still stuck. I would believe that it's not a memory issue, but an emotional one. I admit I feel anxious and unprepared when it comes to problem solving. Is there anyone who experiences this? Could you help me with some pieces of advice? [link] [comments] |
Posted: 07 Apr 2020 12:06 AM PDT I'm running through Eric Matthes' Python Crash Course and I've run into an inconsistency that I can't find an explanation for anywhere. Python 3.8.2 I can run this with the Python Interpreter, Sublime Text 3, Geany, etc perfectly fine. However, in Visual Studio Code:
If I modify it as such: It works with Visual Studio Code but then breaks everywhere else (because obviously it should). So basically when run in VSC the script somehow thinks that it's located a directory level too high, which doesn't make any sense to me because the debugger is just running the Python Interpreter, right? This is the full terminal line in when I run VSC's debugger.
Now I saw a solution online which said to use the full directory path: This will work regardless of environment, but I feel like I shouldn't be forced into using a hackaround on something so basic. Anyone have any idea what I'm dealing with here? [link] [comments] |
Please help me to understand how this code works. Posted: 06 Apr 2020 11:50 PM PDT I am a beginner in learning how to code. Started my journey with "Head first, Learn how to code" I came a cross this code in the book that confuses me. full = False donations = [] full_load = 45 toys = ['robot', 'doll', 'ball', 'slinky'] while not full: for toy in toys: donations.append(toy) size = len(donations) if (size >= full_load): full = True print('Full with', len(donations), 'toys') print(donations) The output of the code is the following: Full with 48 toys ['robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky', 'robot', 'doll', 'ball', 'slinky'] My questions : 1)How does the ''for'' loop keep iterating through the list, once it passes the last member of the list?('slinky). Is it because the ''while'' loop is kept as ''True''? 2) Why the hell does while loop keep adding the members to the list until the amount reaches 48 and not 45? Where did this 48 come from? P.S. I know for sure the answer is very easy, but I've been banging my skull on this code for the 2nd day now, still cannot process. Please help, god bless. [link] [comments] |
What language should I learn first? Posted: 06 Apr 2020 07:59 PM PDT Hey, I just started learning how to code I am curious though I know a bit of Javascript and Python but nothing really too special what language should be the best for beginners like me. [link] [comments] |
Python not returning errors but will not run my code! Help appreciated! Posted: 06 Apr 2020 11:35 PM PDT Im a beginner coding with python 3.8 on a Mac. The following code is supposed to display a ship in grey background area. My launcher runs the program, does not return any errors but put out no output and its very frustrating. your help is appreciated! [link] [comments] |
Do you make time for other skills besides programming? Posted: 06 Apr 2020 11:25 PM PDT I'm "late" to the programming game and while playing catch-up these past 2 years, I chose to abandon all of the hobbies I love dearly. I miss them and want to return but I'm not talented enough nor have enough time in the day to both be a good programmer and good at my hobbies (music, drawing, etc). I've recently picked my foreign language hobby back up due to extra time being out of a second job bc of COVID19, but there's no way I can make time for cello, piano, etc. Sometimes I wish I had 2 days for every day. The first I'd spend coding, the second all my hobbies. [link] [comments] |
For development in Financial technology: would it be best to learn C# or C++? Posted: 06 Apr 2020 11:14 PM PDT Hi! I'm currently a CS student with a degree in Economics. I want to get ahead of the curve as I often see job listings that "requires" either C# or C++. I'm on an intermediary Python level. Which one of these languages would be best to learn first? I focus my career mainly on financial analysis, but have no experience as a professional and would like some input from people whom are more experienced than me. [link] [comments] |
Dont call for help straight away! Posted: 06 Apr 2020 01:24 AM PDT This is something I have slowly been realising more and more as I progress as a professional developer/IT guy, and I'm not sure if its just me, and its obvious to the rest of the world(id actually like to know this!) but I wanted to share it so hopefully you can pick it up sooner and build a better reputation with your peers and other developers. You will encounter problems as a developer (at all levels)… Something will not compile, some weird side effect will occur in the most obscure situations and you may be tempted to turn to a more senior/knowledgeable developer beside you for assistance. Do not! not yet! Work through the problem a little bit, wrap that error in some more logging and make it super verbose, add some breakpoints, wrap it in a unit test, break it out into its own little console app to isolate the problem from the rest of the code.. - The sense of achievement you will get will be great! - The things you will learn along the way finding the solution to that problem will grow you as a developer! - You look better to your peers saying "I ran into this problem, and then fixed it by doing xxx" - This one was the biggest eye opener for me: Your peer may not know how to fix it either! So, they are going to either go through the same steps I mentioned above, or their going to turn to an even senor developer beside them! And finally, It gets you used to not having someone to turn to! One day, you may become that senior developer at the end of line of knowledge, and you will have no one (in person) to turn to, the first time I felt that was as an Op's guy, its 3AM, the domain controller has had a stroke and iv got no one who can help me apart from myself and google! and it was scary! i felt trapped, the weight of the company resting on me, unable to work! But when i got that problem fixed, the feeling was immense! Obviously, it's a weighing up game, if you're on a tight deadline, don't burn an entire day trying to figure out the problem… but just... Believe in your own ability to fix it without needing to go and get help and try for a little bit first! [link] [comments] |
What is the best way to push data from a rest api to an sql database? Posted: 06 Apr 2020 10:41 PM PDT I have 2 rest APIs, the first one contains an id I can use as a parameter in the second one for more information. I plan to push the data from the second api to my sql database in phpMyAdmin. Is this something I should be writing code to do? or is there an easier way? I plan to push at least a hundred results so manually doing it isn't an option. I do have experience with languages like sql, c++, python, and javascript if any of those will help. [link] [comments] |
Written code model of learning. Posted: 06 Apr 2020 10:40 PM PDT Hi fellow coding noobs such as myself ;) In the past when I've wanted to learn something, I've always taken notes on paper but who here has used this method to learn to code? For instance. I'm on the couch and don't feel like sitting in front of the computer but want to study so I stream some tutorials on the tv (YouTube or whatever) and just code along like you would on PC but with pen and paper... Has anyone had success learning to code this way or simply used it to make the newly learnt code stick a little better? Thank you [link] [comments] |
hey people, i look for ideas for my final project in the university [computer engineer]. Posted: 06 Apr 2020 06:46 PM PDT [non-English speaking ] Hi everyone, i'm looking for ideas to do in my final project in the university, i have like 8 months to develop that project and i have an lack of ideas, i have some projects in mind, like to do a autonomous robot to clean solar plants, but i worked a few weeks in the project and i come to the conclusion is too much work to do for a single person and very very expensive because it's required to have some prototypes. time is the key. The ideas not necessary have to do with robots, can be computer system, something to do with data science, a website or an app. thanks for the help, best regards. [link] [comments] |
Posted: 06 Apr 2020 10:26 PM PDT So ive finished my app compiled it and when i tried to install it it said "parse error no signature" or something like that, but them my computer broke. So my question now is how can i sign an apk file using an android phone? Since apk-signer just leaves me a 1kb apk even though my app is 60mb. [link] [comments] |
Do I need to attribute icons I'm not using anymore but is visible in my repo history? Posted: 06 Apr 2020 10:11 PM PDT I'm developing a mobile app and I'm using GitHub for source code which is set to public. I was using some free icons from www.flaticon.com/home , which required the developer to attribute the authors to the icons. But I decided to go ahead and just create my own icons and delete all the icons I was using the flaticon, but the problem is in the previous commits on GitHub, the old images of the icons are still visible in my resource folders. Is this a problem I need to address at all? Do I need to mention anywhere that I WAS using icons from FlatIcon or am I good to just act like it never happened? I was saving the app credits page for the end of my development, so none of the commits have an attribution for the icons they used yet either... On the commit where I removed all of them, I did make a comment thanking them.. but is that enough? Thanks! [link] [comments] |
Analyzing the time it takes to insert or search a dictionary using buckets? Posted: 06 Apr 2020 09:59 PM PDT Yes this is a homework question, but I am not sure what is specifically being asked by this:
I am guessing this means a literal dictionary and not the data structure? I honestly did not follow recently in this class and only completed linked list, leftist trees, and heaps recently (which was half of the assignment so far). I don't recall how hash tables or buckets work in this context. Is this problem referring to hashing, where the buckets are where they key-value pairs end up? Aka this: https://i.imgur.com/lCsJjXE.png [link] [comments] |
I need help with the Gaussian Mixture Model code. Posted: 06 Apr 2020 09:55 PM PDT I am learning GMM to do color segmentation. I found a good resource online with the following GMM code Now my understanding is that in the Maximation step of EM, we must update the gaussian parameters (covariance matrix, mean and size of the gaussian(pi_c) ) In the code given above, I can see the values of pi_c and mean(mu) being updated but I don't think the value of the covariance matrix is updated. However, when I run the code it seems to be working (?). Can someone please help me determine if the code is correct or not. The code is from here [link] [comments] |
Help with this Bees Breeding Algorithm (1999 ACM-ICPC World Finals problem) Posted: 06 Apr 2020 09:55 PM PDT Hello I am trying to solve this problem. http://www.karrels.org/Ed/ACM/99/prob_a.html (This is homework) I found the formula to determine the distances between two hexagonal coordinates but I am having trouble figuring out how I am supposed to convert the user entered numbers into coordinates. I got as far as figuring out which 'level' of the spiral the number is on but I haven't been able to progress much further. Any help would be greatly appreciated! I am working in C#. [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment