What have you been working on recently? [December 18, 2021] learn programming |
- What have you been working on recently? [December 18, 2021]
- Can an experienced developer explain to us mere mortals what exactly are problem solving skills?
- I'm not a good programmer
- Newbies - What simple concepts have blocked your learning?
- Too lazy to think - can this be fixed?
- Why can't I implement/code what I'm learning?! Please help.
- What programing language to get started on game development?
- 2D Array in C. Why am I able to access a number that's not supposed to be in that position? Good example provided.
- How Do I "Create projects"
- I appear to be crashing my game with these few lines of code (C#). Would appreciate some help figuring out why.
- If I want to get a job writing drivers, what would I need to learn?
- [C++] How to split vector string elements into substrings and place them into field variables?
- Need some help
- Now I am going to appear in my next semester of my college. I have dbms , operating system, linux lab, software systems etc. So anyone please share me the resources of the mentioned subjects.
- Advice from those with ASD
- Error on post method
- Day in the life
- A new approach on SICP Exercise 1.45 by using a general damping method
- C#: Any suggestions on how to make sure that X won't be replaced with an O in the tictactoe game, when user enters same row and col that already populated?
- Help translating 1 line of c++ code
- Transitioning to coding and need guidance.
- What are some of the best way to display tree data visually (json data)?
- Java-IntelliJ
- How do you design flexible REST APIs with strongly typed languages like Java?
- Skill Expanding Projects.
What have you been working on recently? [December 18, 2021] Posted: 17 Dec 2021 09:00 PM PST What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game! A few requests:
This thread will remained stickied over the weekend. Link to past threads here. [link] [comments] |
Can an experienced developer explain to us mere mortals what exactly are problem solving skills? Posted: 17 Dec 2021 12:02 PM PST I have a friend who has been working as a front end developer for over half a year and even he claims that he doesn't have that ability yet. Can someone please explain what needs to be done in order to excel in problem solving? [link] [comments] |
Posted: 17 Dec 2021 04:52 PM PST I just came to the realization that even now, where I considered myself to be a somewhat proficient programmer, after all I've studied, I'm a shitty programmer. I can implement pretty much anything I can think of, but almost always in a very, VERY inefficient, slow and overall crappy way. For those who have felt like this, how have you dealt with this? Just wanted to take this out of my chest, thanks for those who read it. [link] [comments] |
Newbies - What simple concepts have blocked your learning? Posted: 17 Dec 2021 09:49 AM PST A little background: I worked in sales for ~10 years, and as a mild introvert, it took its toll. I knew I didn't want to do it forever. I loved computers, was always fascinated, so in ~2014 I decided to start learning to code. I took some basic free courses, but I found that I had foundational gaps that would get me stuck. Eventually I unblocked myself, somehow worked my way into an automated test engineer role at a small local company's web department, and now I work for a giant bank making six figures on their tech side, and on the last semester of getting my Bachelors in CS. (all of that story is to explain where I am coming from and why I think I can help) Those blockers almost made me give up several times. It was always super simple stuff. I remember when FCC jumped from teaching me how to target elements with JQuery to a project telling me to call an API... without ever mentioning an API or what the heck is happening when I call it. I spent months blocked, trying to search for answers. But there's a huge problem with that.... you don't know what you don't know. Eventually, once night while working in the woodshed, it hit be what I had been missing, and I was able to move forward. But it took _months_. I just wished I had had someone who I could ask my simple question to, and move forward. Having been in that position, I knew that once I learned more and gained some experience, I wanted to be able to turn around and share what I have learned and help people. I don't want to make another free coding tutorial. What I am thinking is a video series/podcast/blog that addresses the simple barriers to make careers in tech, or even just hobbies, more accessible. So I am coming to you folks for a couple of reasons. One, does anyone feel that they would get value out of that. And two, what simple concept has blocked you from moving forward? For example, a friend just starting to learn python asked me recently "how does the code turn into the program?" Although this is a super complex question, I knew what she was asking. She just wanted the basic concept of how the functions she writes end up working together to form a program. To help, I spent 15 minutes just showing a basic Java program I built, showed her how the files interact (like how a function gets called when a button is clicked and does stuff), and how that wraps up to show on the screen. Not at all a deep dive into how the OS interprets binary or anything, just the top level concepts. This is a basic example of what I'm thinking of addressing. tl;dr - while learning to code I found simple gaps in knowledge blocked me. Now I want to answer those questions for other people - will you find value in that, and if so, what questions do you want answered? [link] [comments] |
Too lazy to think - can this be fixed? Posted: 17 Dec 2021 01:42 AM PST So my problem with programming seems to be purely behavioural at this point. I've been trying to learn programming for a while (several months) but what's messing with me is the fact that I am genuinely TOO LAZY to think about the solution to a problem. So basically, I'll be doing challenges and watching tutorials and I will basically understand the explanations and even be able to replicate everything myself, but most of the time I just lack the patience and concentration to think logically. So it's not that I'm NOT capable of thinking logically, I'm just too lazy/motivated/indifferent to do it. Deep down, I know that programming must feel engaging and you should be genuinely curious about it and try to figure it out and challenge yourself, but my brain isn't working like this. My brain will simply look for a simple solution, and if it doesn't find it immediately, it will abort the task.
Before anyone says this - I know I should probably quit trying to learn programming at this point and I also know that I don't enjoy it. And people will ask "why are you even trying to learn it, then?". The answer has more to do with the fact that development is a stable and financially rewarding career but there's more to it. Working remotely is one more advantage. Flexible schedule is another. On top of that, the programming community is pretty damn great and helpful, something that you rarely find in other communities or fields, and I've already met some amazing people along my journey.
So what I'm trying to find out is if it's TRULY possible to train my brain to enjoy coding and problem-solving. Will it eventually grow on me? Can I teach my brain to stop being lazy and actually THINK while writing code? [link] [comments] |
Why can't I implement/code what I'm learning?! Please help. Posted: 17 Dec 2021 08:53 AM PST What am I doing wrong? I understand data structures, algorithms, time and space complexities. I understand C and C++ and can read the code with no problem. But, for the life of me, I can't implement or code from scratch! Every time I have an assignment or project idea, I seriously feel dumb because I don't know how to tackle it on my own. But, if I were to read someone else's code, or read up on examples it makes perfect sense to me, every time. Is this normal? I am practicing and writing code every day. Am I doing it wrong? It's giving me deep insecurity and making me feel like I am too stupid for the Computer Science major. Making me feel like I don't belong and will never be successful in a software engineering career. ps. I switched majors to Computer science 1 year ago. I wrote my first "Hello World" in code Fall 2020. [link] [comments] |
What programing language to get started on game development? Posted: 17 Dec 2021 07:54 PM PST Hello recently I have been switching from language to language non stop from trying to learn C and Java for game development Python Lua C++ and have been trying to figure out what programing language is best for me in the game dev field. I like how C works but have been told it is not good to start with and have been told to do Python numerus times but I have never really stuck to one and barely have well motivation to programing and time and time again I tried Java which i like as well but i am not looking for anything too hard but want some kind of challenge while programing a game or something so what would you recommend for something that pacific ? [link] [comments] |
Posted: 17 Dec 2021 04:06 PM PST It seems I'm able to access the value of an array position in C that's not (supposed to be) there. Here's what I mean... My 2D array in C (and how I built it) :
Here's what I don't understand. I can And It's like it's "wrapping around" the array. I'm coming from JavaScript, so this makes no sense. [link] [comments] |
Posted: 17 Dec 2021 08:56 AM PST Hey, I've only recently started learning Python (About 1 and a half weeks). I've heard/seen from many people that the best way to learn is to make your own projects. How am I supposed to do it this still relatively minimal knowledge of the language and how do I even know where to start with the project. Would I use something like: https://www.freecodecamp.org/news/python-projects-for-beginners/ Thanks. [link] [comments] |
Posted: 17 Dec 2021 11:40 PM PST The code in question is simply supposed to be a very basic invulnerability system for my player. When the player takes damage, they become invulnerable (bool isInvulnerable) for 3 seconds. Whenever the player is supposed to take damage, a void update checks whether the player is invulnerable at that moment and the damage only goes through if "isInvulnerable" is false. The code begins when the TakeDamage function is initiated. The order that things happen is as follows:
Here is the code: (I posted more than the "few lines" of code in case the error lies elsewhere but based on Debug.logs scattered throughout the code, I do think I've narrowed it down). Void start is called upon the program's initiation and void update is called every frame (I'm coding in the Unity Engine). The Debug.Log commands were just there to track at what point the code goes wrong/crashes. In-game console shows 1, 2, 4, 3. So this indicates that the code is crashing inside of the "Delay" coroutine right at the command Would greatly appreciate some insight into what I've done to cause this code to crash. I feel like it must be something insanely easy and I'm gonna wonder how I ever missed it. But thank you for your patience and thank you for your time! [link] [comments] |
If I want to get a job writing drivers, what would I need to learn? Posted: 17 Dec 2021 10:35 PM PST I quite like the idea of writing programs that get actual hardware to do stuff, and I was wondering what I'd need to learn to get a job writing drivers. I've so far learned C (through CS50x), C++, and Python (got to play around with a robot or two with the language). I've also played some Shenzhen I/O and Exapunks, though I'm not sure how much that would be considered 'programming experience.' [link] [comments] |
[C++] How to split vector string elements into substrings and place them into field variables? Posted: 18 Dec 2021 01:47 AM PST How can I split string elements in my vector seperated by a comma delimiter and put each substring in an array so I can access the elements later as fields? (I want to compare fields to input so that only strings with matching inputs get output) Here is what my current output looks like(outputs all the lines, then when I type command a, I input start and end Stops and then it outputs the stops but not sure why the 2nd stop only outputs 4 characters): https://postimg.cc/gnXYCgfj I'm stuck on how to properly create the substrings after the first one, this is what my code looks like at the moment: [link] [comments] |
Posted: 18 Dec 2021 01:27 AM PST I am working on a project to maintain in dictionary in linkedlist. Can anybody tell me how to compare words of a text file in such a way that they become in ascending order. So afterwards i can create nodes etc etc. [link] [comments] |
Posted: 18 Dec 2021 01:27 AM PST |
Posted: 18 Dec 2021 01:18 AM PST I recently got diagnosed myself, looking for help. I'm sorry if this isn't appropriate for this subreddit. I love programming and I'm trying to teach myself C++ and python. What do you do to stay focused and not get distracted my all the other computer things? Tune out outside distractions? I'm using pdf text books and music at the moment, and setting goals similar to a classroom setting. Get through x y z by said date and so on. [link] [comments] |
Posted: 18 Dec 2021 01:12 AM PST ?> Notice: Undefined variable: _post in C:\xampp\htdocs\Food King\admin\add-admin.php on line 94 Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\Food King\admin\add-admin.php on line 94 [link] [comments] |
Posted: 17 Dec 2021 06:53 PM PST If anyone works in a fulltime job requiring coding please let me know whats the typical day to day work. Is it exactly how SCRUM is described to be? [link] [comments] |
A new approach on SICP Exercise 1.45 by using a general damping method Posted: 18 Dec 2021 12:43 AM PST This is the link to SICP Exercise 1.45: https://sarabander.github.io/sicp/html/1_002e3.xhtml#Exercise-1_002e45 This exercise asks you to build a general procedure on taking nth root, by using previously developed procedures including "fixed-point, average-damp, and repeated-procedure". The main challenge is to discover how many times should we compose the average-damp procedure to make the fixed-point method converge. Inspired by this page I have worked out a "general" average damping procedure so that we only need to damp ONCE no matter the order of roots. As for how to choose the optimal factor of damping, the idea is explained on the above page. I have also written the idea on a piece of paper, but I can't upload the photo to this post. Here is my code: And it works! [link] [comments] |
Posted: 18 Dec 2021 12:25 AM PST I was considering doing it by checking if an X or an O already exist on the board not to replace or put anything on that place. I did similar with my switchPlayer method, where it would take the current player parameter and checked if it's equal to X. if so to return O instead. But in that case I was checking the "char" variable player. I was considering doing something like this:
Do you think I'm on the right path? [link] [comments] |
Help translating 1 line of c++ code Posted: 17 Dec 2021 05:51 PM PST Hey, how would you read this in english? And what does the code mean exactly? Thank you. [link] [comments] |
Transitioning to coding and need guidance. Posted: 17 Dec 2021 11:34 PM PST Hi Everyone, I'm new to the community and need guidance. Since I got into I kind of starting to understand code by looking into it and checking the comments. I found understanding JS a bit easier compared to HTML and CSS. The basics include If-else conditioning and logics where we need to have minimum lines of code and it should still return us the correct config. I'm starting to love this and would like to go deep and learn more about coding. I purchased some courses on Udemy and here's the sequence that I'm planning to go with: I know coding is hard and you cannot learn everything in one go. Can you please guide me how to proceed into this or if I'm going in the wrong direction? Thanks ! [link] [comments] |
What are some of the best way to display tree data visually (json data)? Posted: 17 Dec 2021 11:09 PM PST I am working in python but the code produces a json file, I would like an application that will allow me to zoom in on different parents of the tree. current format (would be easy to change if needed) {"node1-name": {"parent": "root-node"}, "node2-name": {"parent": "node1-name"}}. [link] [comments] |
Posted: 17 Dec 2021 10:10 PM PST I started doing java using intelliJ and it takes about 2 sec to build a simple hello world program. How to reduce build time? I also plan to do euler project later. So should I also consider the build time or just run time when doing it? [link] [comments] |
How do you design flexible REST APIs with strongly typed languages like Java? Posted: 17 Dec 2021 10:02 PM PST Many of the APIs I consume have a very flexible concept where they construct the response object based on the query parameters. Twitter for example will return a minimal JSON for get/user, but get/user?expansions=tweet_metrics,pinned_id will return a more detailed JSON with number of tweets, retweets etc. In JS this is easy as you just construct an ad hoc object and return it. But in Java which is statically typed, you'd have to make boilerplate of dozens of marginally different classes to return all the possible variations of responses the API consumer might construct. I tried writing my controller as public ResponseEntity<{}> (kind of like TypeScript's Any) but it didn't work. Is there a solution to this? [link] [comments] |
Posted: 17 Dec 2021 06:03 PM PST I am in school and my programming skills are not where they should be. I think the best way to learn is to struggle. Get frustrated and work it out. That said, I don't wan't so much of a struggle I rage quit. Can anyone suggest programming projects that would be good to develop skills? Basic, intermediate advanced. I have a good theoretical grasp of programming concepts I just need to get better at code. Things like, random math problem generator, or choose your own adventure story. Just project ideas and kinda how to approach them. C, C++, Java. [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