What have you been working on recently? [November 28, 2020] learn programming |
- What have you been working on recently? [November 28, 2020]
- I made a Notion page (You could call it a guide) that explains almost everything one needs to know about Git & GitHub in a beginner-friendly way. It covers all the basic features, commands, and concepts in one place (Everything is organized in this single page).
- LeetCode, HackeRank, or CodeWars?
- I can teach you C++
- Trying to make a "login" type piece of code that reads from a .txt file in a [user] [password] style format, but the code always says that the login failed. [C]
- Amass emailing the same email
- Storing JSON in MySQL with PHP
- Which source has helped you the most with learning a language?
- It was suggested to me that I read "Code" by Charles Petzold, and I cannot recommend it enough!!!
- What's up with these guys that are teaching courses on like 50 different things?
- Storing a list in an SQL database
- I don't understand time complexity.
- Enquiry about W3Schools in 2020
- CS50's Web Programming with Python and JavaScript vs A typical Web Developer Bootcamp?
- Is there any way to use python to log what my computer does?
- Lua vs Python
- How do you deal with the feeling that the world is always moving faster than you?
- Is there a website similar to codepen and jsfiddle that I can share C# code examples in order to ask for assistance?
- What is the difference between char* and char[]
- Is there a sound extension to any popular IDEs?
- Suggestions for learning advanced SQL?
- [java] Recursive method for counting Binary Tree nodes not returning Number of Nodes
- [C] How can I use isalpha correctly?
- python, cloud DB, servers, somewhat confused
- What do you if you don't really care about any certain field?
What have you been working on recently? [November 28, 2020] Posted: 28 Nov 2020 08:04 AM 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] |
Posted: 28 Nov 2020 12:17 PM PST The Notion page: https://www.notion.so/fateen45/Git-GitHub-61bc81766b2e4c7d9a346db3078ce833 I tried to make everything in this Notion page as beginner-friendly and organized as possible. I hope it'll be easy to follow for anyone who's trying to learn Git and GitHub. In my opinion, learning to code feels fun and more meaningful when one maintains a repository where they upload projects/programs/scripts as they learn newer things and undertake new projects to practice what they've learned. The idea itself of maintaining and completing projects on GitHub makes one feel motivated to keep on learning. It gives one a sense of working towards an objective or goal. And this is why I started to learn Git and GitHub in the middle of when I just started learning Python. I had to struggle quite a bit in learning Git and GitHub, and I also see many people, especially people who just started to learn code and any programming syntax, who struggle a lot in grasping the different features, commands, and concepts of Git and GitHub. I think learning about Git and GitHub can be a little difficult for absolute beginners primarily because of how scattered the relevant learning materials are on the internet, and almost everything is explained or written using jargon and concepts that normally a person with minimum programming knowledge would understand. And so, this Notion page is just an attempt of mine to consolidate everything into one place. It took me some time to organize everything, but it'll be worthwhile if this Notion page can serve as a resource to anybody in any way. [link] [comments] |
LeetCode, HackeRank, or CodeWars? Posted: 28 Nov 2020 05:16 PM PST Just wanted to know which one you guys think would be the best website for practising and improving on coding skills. [link] [comments] |
Posted: 28 Nov 2020 02:02 AM PST Following the spirit of u/mikaki97 's post, I decided I may as well reach out and offer help to beginners of C++. Due to the nature of the complexities of all that is programming, I'd definitely like to focus on beginners, either completely new or within their first 1-2 years of university C++ classes. I help people off-handedly already on the available discords, but I know a lot of people don't ask for help in some of the coding discords because they either have a lot of beginner questions and are generally embarrassed to ask, or they feel like they want a lot of extremely in depth answers to some questions, while comparatively people are constantly asking more complex questions that might make beginners feel like they are wasting time. If you are interested, I can't help an infinite amount of people but I'll make a discord and send invites via PM for those who are interested. I'll be offering help for:
And here and there as appropriate I will try to teach data structures in as useful a way as I can figure out, from linked lists to hash tables. Anyway, tl;dr PM me if you'd like a link to the discord, it's still a WIP and I probably can't invite too many people or I'll get overwhelmed. edit: I might also help people learn about using git/github since it can go a long way in the future. [link] [comments] |
Posted: 28 Nov 2020 09:25 PM PST I have been trying to make a piece of code that reads from a .txt file in the format of [Username] [Password]. I have 10 users and a password for each user. The part I'm stuck on is getting the code to read the file in two groups. One for the Users and one for the Passwords. The code I have so far is only to designed to read the first user and first password (as well as the second), but it doesn't read anything at all. I think I'm missing something to separate the user names and passwords, but I don't know how to properly split them. Could someone please give me an example of how to make C properly read the file? Example of code: Example of File: [link] [comments] |
Posted: 28 Nov 2020 10:20 PM PST Hey guys! I want to learn how to send a variation of the same email to one email address from multiple address'! Eg sending Name Address Is this available? Phone number From many different gmails to one email? I'm really new to coding and have only looked at python a tad. Any help is greatly appreciated! [link] [comments] |
Storing JSON in MySQL with PHP Posted: 28 Nov 2020 09:57 PM PST I'm storing JSON data in a MySQL database. When I query for the data, everything comes back as an associative array, with the JSON being stringified. Problem is, when I go to json_encode the data from the database, the existing JSON gets double escaped. Is the only way around this to manually decode all returned JSON from the database, just to re-encode the entire response? [link] [comments] |
Which source has helped you the most with learning a language? Posted: 28 Nov 2020 07:12 AM PST I've tried codecademy but i dont like how they do most of the work for you and you just have to do the small work and a lot of the time, they even tell you exactly what to type. also don't like that you have to pay for the projects and quizzes. I'm looking at freecodecamp next and it looks interesting but it says it takes 3,000 hours to complete all of the courses. WTF? so what do you guys recommend? im interested in learning javascript/react specifically. along with wanting to learn more about python... and im already taking college courses on Linux and java so i really have my hands full but im ready to take it on. [link] [comments] |
It was suggested to me that I read "Code" by Charles Petzold, and I cannot recommend it enough!!! Posted: 28 Nov 2020 11:41 PM PST I wanted to understand the history of computers, computer science, and code. As a non CS major, I had no idea where to begin and was recommended this book. "Code" is very well-written and explains concepts which, if you were anything like me, you may not have expected to be related to these subjects. As of today, I understand how binary works!!! The explanation was so well built. I've learned so many other things as well. If you are just devoted to computer science or generally want to learn more about the relevant history, I could not recommend it enough. [link] [comments] |
What's up with these guys that are teaching courses on like 50 different things? Posted: 28 Nov 2020 01:07 PM PST I have started to be really skeptical to the course gurus who have online courses on every damn subject there is. From Zero to Mastery with this 30 hour online course! doubt it... I am the point that I'm not a complete beginner anymore (have programmed for 1 year now), and one thing that I'm able to sometimes see through now is when a teacher teaches something that they shouldn't be teaching. And it's really not a knock on the teacher's particular programming abilities since they are probably still miles ahead of me, but it is just logical that you don't have a "mastery" level of understanding in thirty different areas. The feeling is that sometimes these guys (you probably know the names) are just churning out low quality content to make more money, and I would be fine with that if the marketing was not so scammy as it is. Rant over. Btw if you're a complete beginner preparing to buy your first course, then they are all probably fine but the claims in the description of you being for example "a top 10% javascript developer" after said course is just a complete lie. [link] [comments] |
Storing a list in an SQL database Posted: 28 Nov 2020 11:05 PM PST We're using MySQL and we have to store user notes on the user table. These user interests are free text boxes, and there's not constraint to what the string can be. I thought you'd use one-to-many for this because one user can have many notes, but one note is only belonged to by one user. Am I right? Someone I know suggested just to put the notes in a list, stringify it, and assign that to one of the fields. So the row will look like this:
I don't like this. I don't know the exact reason, but this just doesn't seem right. It feels like we're putting NoSQL inside SQL. Can someone explain which method makes sense and why the other is wrong? [link] [comments] |
I don't understand time complexity. Posted: 28 Nov 2020 07:10 PM PST Please i don't understand it. I've watched every YouTube video and read every single blog post about it. I get that big o notation measures how an algorithm scales. I get that binary search is log n time since it's halved each time. I get the constant doesn't matter but for example I have a question that asks to make a function that solves finding kth smallest number from an unordered list in n log n. I don't know what that shit means. I don't understand! Please help me. [link] [comments] |
Enquiry about W3Schools in 2020 Posted: 28 Nov 2020 10:29 PM PST I have read online that the site w3schools is not to be trusted. But a lot of these posts online were done in the past and I was wondering if it is okay to use w3schools to learn as some have claimed that they have fixed the issues with the site regarding misinformation. Reason I ask this is because I find the structure of w3schools to be very appealing. If you have any other website suggestions for beginners (I want to learn HTML, CSS, Javascript and Python), please let me know. Thank you for your time! [link] [comments] |
CS50's Web Programming with Python and JavaScript vs A typical Web Developer Bootcamp? Posted: 28 Nov 2020 10:24 PM PST Hi, what do you guys think about the follow-up course of the original CS50's "CS50's Web Programming with Python and JavaScript" by Harvard University? Is it wise to enroll in this course instead of a typical bootcamp? [link] [comments] |
Is there any way to use python to log what my computer does? Posted: 28 Nov 2020 06:34 PM PST These past few weeks I've grown suspicious of my brother sneaking on my pc without my permission. However right now I have a lack of evidence to back this up because there's not really a way to see the history of what was being used. I wouldn't imagine it would be hard to make something like that, I'd just like to know what to expect as an intermediate python programmer. [link] [comments] |
Posted: 28 Nov 2020 04:05 PM PST Word on the street is Lua can do anything python can do, faster, better, and simpler. Thoughts? [link] [comments] |
How do you deal with the feeling that the world is always moving faster than you? Posted: 28 Nov 2020 02:21 PM PST I want to go into CS because there are tons of amazing applications and you can really change the world. But something that drew me away was that I didn't understand nearly as much as my classmates did about it. It worries me that while I'm trying to catch up, technology just keeps developing and the pool of things to learn keeps growing. It's a very very deep pool that I only see the surface of. Can I ever take a breath to relax or will I be grinding the rest of my life? Is it worth the fight to try to catch up to the burgeoning number of programmers? Let me know if you sympathise or have any advice/ encouragement [link] [comments] |
Posted: 28 Nov 2020 06:05 PM PST As the title indicates, is there anywhere I can post my c# code so that I can ask for assistance with a problem in my code? My project is not massive, just a console app and one class, very basic. I can't find what is preventing my one variable from storing the value I want it to be set to, and I have several other very similar variables that I essential copy/pasted and they work just fine... In a nutshell, I am verifying a customer's account information and checking if they exceeded their credit limit for the month based on the input they put in...
My problem is that when the user enters the credit limit value, it won't store it in the variable. It remains $0.00, therefore the credit limit is ALWAYS exceeded. Everything else works, I just can't get the credit limit value correct and I have no idea why. I know it's pretty much impossible to help without seeing the code. I am new to C# and this is a school assignment, but for the life of me I cannot figure out what I am missing. To copy the code here would be a little ridiculous, and hard to navigate. I am happy to share wherever is the best place to put my code ... I just don't know what platform I can use to do so. Thanks for the help! [link] [comments] |
What is the difference between char* and char[] Posted: 28 Nov 2020 01:01 PM PST Hello guys, I have a question. What is the difference in the memory between char * and char[] ? Because i read an article and they showed me these two pictures: And also this picture So ptr is a variable with memory, so it has its own adress &ptr But what about arr? Does the variable itself (arr) does not have an adress &arr ? Why does the variable itself doesnt have memory used? [link] [comments] |
Is there a sound extension to any popular IDEs? Posted: 28 Nov 2020 05:48 PM PST Just thinking it would be great to have short sound ques playing when code is executed without errors, for specific errors, when it's running etc. It would be very game-like experience and help me focus. Does anyone know of such extension for VS studio, pycharm or jupyter notebook? [link] [comments] |
Suggestions for learning advanced SQL? Posted: 28 Nov 2020 09:28 PM PST I'm a data scientist and I use SQL every day. I'm interested in learning more advanced things, like what's going on behind the scenes when I run a query and how to administer a database. Most of the resources I find are for beginners. Do y'all have any suggestions for advanced learning resources? [link] [comments] |
[java] Recursive method for counting Binary Tree nodes not returning Number of Nodes Posted: 28 Nov 2020 09:19 PM PST Hi guys! I wanted to see if I could get a second pair of eyes to look at my code and see why my recursive method to count the nodes of a binary tree I am creating from an input String is returning 0? I think it's because I am placing the method call in the wrong place within my numOfNodes method but I'm not sure, it looks good to me. For a little background I am using the String: "(a(b)(c))" to represent my binary tree where 'a' is the root, 'b' is the left subtree, and 'c' is the right subtree. Thanks for the help! Here is my method that creates the Tree: Here is my recursive method that returns an int which should hold the number of nodes: [link] [comments] |
[C] How can I use isalpha correctly? Posted: 28 Nov 2020 09:08 PM PST I ask the user to input a word and I'm trying to detect whether or not the word is actually a word. I thought about using isalpha to make sure that the user can only input letters but all I get is "not word" even if I input in something that should print "yes" like cat or apple for example. It just goes to "not word" no matter what. This is my code.
[link] [comments] |
python, cloud DB, servers, somewhat confused Posted: 28 Nov 2020 08:14 PM PST don't know if this is the best subreddit to ask on but... So I would like to ask for some help and input on where I should look and any tips some of you may have. I am working on an app (android and ios), where the gui is written using kivy. But what I need help with is cloud database, I have close to no knowledge about that sort of things and I have been looking into mainly firebase, but I am unsure if its usable with python on client side, I am currently looking into pyrbase. My question is does any of you have some pointers on where I should look, preferably for a decent price [link] [comments] |
What do you if you don't really care about any certain field? Posted: 28 Nov 2020 02:02 PM PST How do you decide what to focus on if you are not passionate about any specific field of programming? It seems like such an important decision in just beginning to learn and there are so many options, but I don't particularly care. I just want a better job. Secondly, I'm not exactly a beginner either, as I majored in Computer Science in college. Worked with C++, some C#, PHP, and MySQL. This was around 10 years ago though so I would need to relearn some, but I do remember the basic ideas of classes, objects, for loops, functions, recursion, etc. I dunno, I just don't know where to go from here and the more research I do the more overwhelmed I get. [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