What have you been working on recently? [July 25, 2020] learn programming |
- What have you been working on recently? [July 25, 2020]
- Getting out of the tutorial loop
- Is there a book for like the “theory” of programming for complete beginners?
- Assembly can be a hard language to learn. I've recently tried to write some stuff about it aimed at the absolute beginner, I hope someone finds it useful!
- C# Struggling With StreamReader/StreamWriter
- Good Beginner Projects? (C++, Java)
- Stanly.edu
- Traveling sales man a Different approach c#
- Is it a mistake to rely on the built-in C++ stack?
- How can I solve a "stable roommates problem" where new participants are being added in real time and every participant has a deadline in which they must be matched by?
- Do I need to learn Git as soon as I start learning to program?
- I'm a Chemical Engineer, I want to create a simulation software for water and wastewater calculation.
- I have a question about software architecture
- Are you able to program in ASP.NET without using Microsoft Visual Studio?
- STL in coding interviews?
- Programming buddy
- OOP Question
- Need a guide in creating an Anti Cheat
- On learning the fundamentals
- What arguments could be made for, and against boolean properties you could infer from other properties?
- I'm ready to become a proper programmer
- Would this be a difficult program to make for a newbie?
- What could a third worlder do with programming that could allow him to make decent money online?
- Berkeley's CS61A
- I need help on what to add on to my project
- Library for creating 3D arrays in C++
What have you been working on recently? [July 25, 2020] Posted: 25 Jul 2020 09:04 AM PDT 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] |
Getting out of the tutorial loop Posted: 25 Jul 2020 06:21 AM PDT I have been writing little programs here and there in Python for a while but I want to write something bigger. I understand all of the basic concepts like variables, loops, conditionals, functions, the various data structures and I even understand the basics of classes. I feel like I'm stuck in between tutorials being too easy and projects being too hard. I know this is a common occurrence for early programmers but it's extremely frustrating because I just want to write code and grow my skills. Whenever I look online at medium sized project ideas I have absolutely no idea where to start. Is there anyone with a similar experience that broke free of this? If so what methods did you use? [link] [comments] |
Is there a book for like the “theory” of programming for complete beginners? Posted: 25 Jul 2020 06:54 PM PDT So I'm learning my first language which is python. I'm not struggling with the code really but whenever I listen to podcasts about development or something related I find myself lost in the terminology. For example, I'm not exactly sure what a front end developer does and what a back end developer does and the difference between them. I know that I don't know this so I can research and read articles etc. but I can't do that for things I don't know I don't know! Any suggestions on books?? [link] [comments] |
Posted: 25 Jul 2020 03:18 AM PDT I spent a lot of time recently trying to learn how to write assembly for a 6502 processor. Assembly is a super low-level language that allows you a lot of control of the hardware. It is both a complex, and very rewarding, thing to study and gives you a lot of understanding of how a computer really works. As someone who never had to consider computer hardware, or data representations in any meaningful way before I found it really hard to begin learning about it. This has led me to write some stuff about assembly, aimed at the absolute beginner - I hope someone finds it interesting! Little comment: I understand there is strict rules on self-promotion, apologies if this breaks them, if so I can remove this post. [link] [comments] |
C# Struggling With StreamReader/StreamWriter Posted: 25 Jul 2020 09:12 PM PDT Hey guys, up until this week. I've been doing pretty well in my class. Every assignment up until this point I've got 100. This week, I don't know if that will be the case because I am completely lost. This week we are using stream reader & stream writer. I know how to instantiate the stream reader and writer, however, I'm not quite understanding where I need to instantiate it and what steps I need to take to do what my assignment is asking for. Here are the instructions:
Validation.cs
Users.txt
User.cs
Program.cs
I uploaded my files here: https://github.com/rchrbl/console to see what I've done thus far. My issue is after I've initiated the stream reader in the user class, the User object in the program class now requires 4 arguments. These arguments shouldn't be hardcoded. They should be dynamic and coming from the Users.txt file. I am lost about how to do this when the stream reader is inside the User class as well as the auto-properties that set these values. In addition to the stream reader, I am confused about validating usernames with the correct password making sure the user can't log in with another user's password. I can do it if I was using a dictionary with a key and value pair but I am unsure how to do it here when each line in the Users.txt contains 4 values. Once I work out these two things, I will be able to complete the rest. Any help would be greatly appreciated. [link] [comments] |
Good Beginner Projects? (C++, Java) Posted: 25 Jul 2020 10:10 PM PDT Hello everyone, for the upcoming semester I'm taking both Java and C++. I wanted to get a little head start, but lack the motivation because I have no idea what are good, absolute beginner projects to learn. I've used Visual Basic some and kinda understand that for my CS experience and context. Thanks in advance. [link] [comments] |
Posted: 25 Jul 2020 04:13 AM PDT My employer has signed me up for a 10 week python course at Stanley.edu. I've been learning PowerShell and some Python but he thinks a more structured class might help. I do struggle with writing code, mostly the syntax, but I'm also older (45yo). Has anyone else looked into this course or even taken it? They also have one for VMware and Redhat that I'm taking next. [link] [comments] |
Traveling sales man a Different approach c# Posted: 25 Jul 2020 10:38 PM PDT https://github.com/sandwizard/traveling-salesman-console-ver the link above will take you to the git hub repo. Approach I use to solve tsp -considering we have to find the minimum Hamiltonian Cycle it helps to ignore the starting node .this is because each node is eventually visited thus making the start and end nodes irrelevant. with this flexibility i take each node and sort and store its edge information . i.e node connected to and and weight of the edge this sorted list which can be done in polynomial time .this completes the preparatory stages -- if you look at program .cs in my file it creates a new class of completeGraph.cs through which it checks weather the given graph is a valid complete Graph and runs three function which find the Hamiltonian Path. Initialise_nodes() //sorts the edges of each node and stores it.I know this is in polynomial time . FindHamiltoncycle() // as the name suggest explanation below. This is where i need the most help. lastedge() // the last edge is not found using the same approach but by using shortest path willexplain below ______FindHamiltoncycle()_________ The idea is to find the 2 minimum value edges of a node which are also minimum value edges of other node connected by the same edge . this confirms that this edge is contained in the minimum Hamiltonian path. this is done repetitively for every node. Using the previously sorted list of edges of each node we check if the first 2 edges are also the minimum of the other node connected by that edge. We only check the first two to keep the algo from going through unnecessary edges . but if the desired edge is not found the search range in incremented by one every time .i have removed redundant checking of nodes by creating a object for the Hamilton_cycle called minimumHamiltonCycle and given each edge a unique id if the edge already exist it will not be processed, and if 2 edges for a node have already been found it will not be that node will not be checked. This is done for up-to the last edge excluding the last edge . ____lastedge()_____ This is because the last edge directly connects the remaining node but its weight may be extremely large or small "Lucky" . if its weight happens to be large and is taken as an edge for the cycle this makes all previously selected minimum edges useless .Instead i find an arbitrary path between the two remaining nodes using Dijkstra shortest path which may or may not be the direct connection and store the path taken and its cumulative weight. This concludes finding the Hamiltonian path all other functions are utility functions for printing values ,except for Dijkstra and sort. for storing most of the data i use dictionaries for their quick look up. Files to look at. -----program.cs ------completeGraph.cs -- its a visual studio solution so you can clone it and test it on different data. if the data is not a valid complete graph it will throw an exception. I am just a student and don't know much about finding time complexity so help would be much appreciated if some one helped calculate it the three methods mentioned above run sequentially so the time-complexity should be the sum of those three .The second method is conditionally recursive.check code. [link] [comments] |
Is it a mistake to rely on the built-in C++ stack? Posted: 25 Jul 2020 07:47 PM PDT C++ seems to have a built-in stack with pop and push functions where the implementation is hidden. This is how I was taught it in data structures class. In terms of interview knowledge. It would be in my best interest to try and implement a stack and its methods with a linked list yes? [link] [comments] |
Posted: 25 Jul 2020 09:52 PM PDT Context: As a Covid-19 summer side project, I'm working on an app that first prompts users to take a personality test. When they are done, they receive multiple scores corresponding to different personality traits. The purpose is to meet new friends who have similar personality scores as you. To generate user engagement, users have to press a button to be added to a list of people waiting to get matched (so that there is a level of intentionality when finding a match to avoid inactive users). From the moment the button is pressed, they should receive a match within 24 hours In general, what is the best algorithm for this type of live matchmaking? From my preliminary research, this seems to fall into a class of problems called the "stable roommates problem". However, I'm struggling to find resources for a variation of the problem where: 1) New participants are frequently being added to the set of participants waiting to be matched 2) From the time when new participants are added to the set, there is a maximum time that they wait to be matched. This means that at any given moment, every user has a unique amount of time left to find their match Given those two constraints, what is the optimal way for me to match users based on similar personality scores? [link] [comments] |
Do I need to learn Git as soon as I start learning to program? Posted: 25 Jul 2020 12:56 PM PDT I've spent the last few weeks learning Python, which has taken me all over the web and I see Git everywhere. I know Git is complicated at first, and I don't want to add extra confusion to my programming learning. I've been learning Python basics on my own and don't foresee myself working on collaborative projects until I have more experience / comfortability. So should I just wait to learn Git? Any guidance is very much appreciated! [link] [comments] |
Posted: 25 Jul 2020 09:08 PM PDT I already have a excel sheet that has all my formulas but I want to create my own software specifically for water and wastewater treatment. If you google Aspen Process calculation , I want a similar looking software, where you have GUI's for pumps and other equipment and you just drag them in a blank space and you can just connect equipment together to create a system. I have very little background to software engineering but I am willing to learn. I just don't know where to start, any recommendations? [link] [comments] |
I have a question about software architecture Posted: 25 Jul 2020 11:44 PM PDT What the hell is it? Seriously, I want to understand how software developers thinks and build software, but I have no idea where to begin. Any tips would be great! [link] [comments] |
Are you able to program in ASP.NET without using Microsoft Visual Studio? Posted: 25 Jul 2020 11:42 PM PDT Howdy! New member here, please tell me if i forgot any rules. I'm kind of new to dynamic web programming and i know how to create basic ASP.NET forms using VS as an IDE. However, when i search for examples of people programming in ASP, their code doesn't have some of the "default lines" that VS gives you when you open a new project, like this line here: Although it appears on every .aspx file i create in VS, none of the code examples in sites like w3schools show that line, so i feel like i'm missing something. That got me wondering if VS is the only IDE that can handle ASP and "linking" it to another file with your code in C#, or if you can use another IDE to code in ASP and do the "linking" aswell. I'm really sorry if it's a dumb question but i just wanna know if there is maybe a lighter IDE or another way of programming in asp, thanks for your time though! [link] [comments] |
Posted: 25 Jul 2020 11:40 PM PDT I used to code in C and switched to C++ because of STL. Are we allowed to use STL in coding and placement interviews? If we are, Is there any need to pay much attention to implementing sorting searching algorithms from scratch? [link] [comments] |
Posted: 25 Jul 2020 04:33 PM PDT Hi All, I am wanting to find someone that is just genuinely in love with programming. They could be novice or intermediate. I am not a high level programmer by no means. A little bit of my background: I know java and C# the best but have been slowly making the change to python. (once you know one language you basically know them all) I had a .Net Developer Intern and then moved on to the company i am at now which is more java oriented. I would prefer someone that would want to learn more about python but I'd also be perfectly happy working at a higher level with C# and Java. I am still in college and I just completed my mobile app 1 in java (android studio) and my mobile app 2 is in c# (xamarin) so I am always using both languages, my school just doesnt offer python, well online since im a full time online student I'd prefer someone on the east coast just because of time zone but anything within the US would be perfectly fine as well. Feel free to ask anyquestions below, and i would prefer to use discord for comms/screensharing. Thanks [link] [comments] |
Posted: 25 Jul 2020 10:16 PM PDT Hello! I am trying to learn more about OOP in Java. Is there any way to reference a class type? For instance, if I have a GameCreator class that creates an instance of a Game class that multiple types of games inherit from (such as volleyball, soccer, etc.), how would I implement this without hard-coding methods in the GameCreator class such as createGameOfVolleyball(), createGameOfSoccer(), etc.? I've thought about storing an array/ArrayList of game types and referencing by index, but this seems like a disorganized and difficult-to-read approach. I've been trying to come up with a solution for this question for a while now but haven't thought of anything yet. I'm posting here to see if anyone else knows or at least can point in my the right direction. Thank you!! [link] [comments] |
Need a guide in creating an Anti Cheat Posted: 25 Jul 2020 10:15 PM PDT Hello Everyone, I'm a 20-year-old Computer Science Student. Due to this recent quarantine, I've been home from college and been playing a lot of Counter-Strike. So I noticed I wasn't being productive and all and thus wanted to work on something I've been wanting to do for like a year or so. I wanted to give a shot at coding a basic Anti Cheat and add stuff as I go along. So I tried looking on guides to creating an Anti Cheat and didn't find a lot except a lot of guides on bypassing the anti-cheat. So any professionals working in that sector could guide me towards a course or tutorial it would be really helpful. I'm ok with it being a paid course. Thanks a lot. [link] [comments] |
Posted: 25 Jul 2020 10:14 PM PDT Can you suggest some learning materials (book, lessons and the likes) for me to understand the fundamentals of programming, any suggestions is deeply appreciated TIA! [link] [comments] |
Posted: 25 Jul 2020 10:11 PM PDT Sorry if the title is confusing, here is an example: Say I got a Task object, and I need to know if the task is due or not. One option is to write a property called isDue and change it to "true" when dueDate < nowDate. Another is to write a function called isDue() where you return dueDate <nowDate. What are the arguments which could be made for and against each method? Is the former good at all? [link] [comments] |
I'm ready to become a proper programmer Posted: 25 Jul 2020 04:08 PM PDT In my mind a proper programmer...
I know there are loads more to it, but I've been programming for over 30 years as a hobbyist and I'm a bit frustrated that I'm still not at least that person above ^^^^. If you've been in my shoes, I'd really like to hear how you levelled up and became more pro. Working as a programmer for a company will most likely ensure you have those attributes, but it would be interesting if and how you adopted them as an amateur. Cheers. [link] [comments] |
Would this be a difficult program to make for a newbie? Posted: 25 Jul 2020 10:02 PM PDT I want to create a program that I can host online that will grab a random post from a subreddit, or display the subreddit's posts in random order. I've never really coded in my life, and would appreciate any suggestions for the best language to write this in? TIA [link] [comments] |
What could a third worlder do with programming that could allow him to make decent money online? Posted: 25 Jul 2020 10:52 AM PDT But despite the versatility of programming, there are very few things that could allow you to make money purely online without actually being employed to some company. Does anyone know what my best bet is? Making apps and hoping they sell? (from what I've gathered this is pretty much a pipe dream). What else is there? Freelancing? I think that's just competing with millions of smart indians for pennies. This is what I need to learn programming: a clear goal. I need to know how I'll be able to monetize it, so I can take the proper path, to have a very clear goal I can work towards. [link] [comments] |
Posted: 25 Jul 2020 05:37 PM PDT If I am doing Berkeley's cs61a, how to check/grade the solutions for my projects and labs? [link] [comments] |
I need help on what to add on to my project Posted: 25 Jul 2020 09:14 PM PDT Hello fellow programmers, I recently have made a little quiz using html, css, and JS. My skill level is a beginner level, this fall semester is my last semester in college. How can I make my current project more sophisticated? I was thinking of adding things like adding a username and password to save to your progress and come back later to finish it. Also if you are not happy with that specific quiz, at the end of the quiz you will have 2 options of quizzes with different topics. Thanks [link] [comments] |
Library for creating 3D arrays in C++ Posted: 25 Jul 2020 09:03 PM PDT I am new to C++ and am trying to write a code that needs 3D Arrays but the size of the array is not known until runtime. I found Eigen, and it does exactly what I need, except since it's based on linear algebra it only does 1D or 2D. Basically I need something that can do something like this, but in 3D [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