Learning to code by creating arcade games learn programming |
- Learning to code by creating arcade games
- what keeps you motivated to keep learning
- I wrote a beginner's guide about how to start learning web development
- [C#] What is going on with the syntax in statements like: Array.Sort<ArrType>(arr, (x, y) => x.field.CompareTo(y.field)) ?
- Syncing backend and frontend data
- [C/C++ Homework] Abstract Data Type and Linked List Help
- College Student Looking Life/Degree Advice
- Can anyone guide me about the full stack web development Bootcamp from the University of Toronto? If anyone shares their experiences with me it will helpful for me. I am planning to take the Bootcamp in this fall. And I Am confused between hacker you and the university of Toronto Bootcamp. Thanks
- Laptop for programming
- C is it worth learning for sake of curiosity?
- How to run a cron in a docker container on EC2
- [JAVA]Do I need to compile in the operating system I want to run on?
- [C++] Not getting desired output (rounding vs truncating)
- Name of Test Against Existing Code in a Different Language
- [C#/ASP.NET] Error: City object does not contain a constructor that takes 11 arguments
- Queue with 2 stacks implementation
- ASP.NET C# (self learn): How can I dynamically load a page?
- I want to now how to loop a certain piece of code in python.
- How do I write a program that scans for certain text in a Runescape chatbox?
- Does game physics in 3D Engines use formulas from the real world?
- Please suggest some projects
- Looking for help in automating parts of my job
- C++ A very quick question about accessing a function.
- I want to impress a small-business owner, that did me a favor, by providing them with a helpful analysis of data that I can scrape from the web.
- Python help
Learning to code by creating arcade games Posted: 29 Mar 2018 03:35 AM PDT Hello /learnprogramming friends, We've been teaching kids to code python for the last few years and have wrote an instructional platform that helps teach coding concepts in the context of arcade games. The platform has been open sourced and works on Windows, Mac, and Raspberry Pi. Give it a shot! [link] [comments] |
what keeps you motivated to keep learning Posted: 29 Mar 2018 08:19 PM PDT I am looking for what keeps people focused, motivated etc? Learning can be extremely frustrating, I feel like I am at a point where I suck but I suck less than someone brand new [link] [comments] |
I wrote a beginner's guide about how to start learning web development Posted: 29 Mar 2018 10:24 AM PDT Hey everyone! I've noticed that there are a lot of beginner guides and roadmaps for web development out there, but many of them are so comprehensive and try to include everything that I think they can end up confusing people who are literally starting out. I wrote a guide for those people, which errs on the side of only focusing on the basics. Quick outline of what it covers:
If you're interested to read the full article, it's a post on Medium. Hope you find it helpful! [link] [comments] |
Posted: 29 Mar 2018 10:32 PM PDT OK so I'm a bit of a novice, but not a complete beginner. I've done work with Arrays, Classes, Properties, Constructors, Indexers, Event Delegates, and such, if that's any indication of my skill level. Currently I'm researching ways of working with arrays of structs (e.g., ArrType), and I've found the solutions below on stackoverflow. What I'm having trouble grasping is the second parameter (in the brackets/parenthesis): For another example of this syntax: In this case, the IDE tooltip for the second parameter tells that it's a "Predicate<ArrType> match". In the "Sort" example in the title, it's a "Comparison<ArrType> comparison". What are Predicate and Comparison; are they interfaces, classes, or something like that? How is it that they're invoked in this funky way? It is unlike anything else I'm familiar with. Cheers. [link] [comments] |
Syncing backend and frontend data Posted: 29 Mar 2018 09:49 PM PDT I'm working on a shopping list webapp, and I'd like the user to be able to add, remove, and update items on his/her shopping list, and for that to be persisted in local state, and in a database on the backend. I'm struggling to find resources on how I would go about this. I know how to do stuff like use a PUT call to update the database, but what if the user loses connectivity, I don't want the local state to change but the backend to never be updated. If so they would get a surprise when they log in from another device. Also, ultimately I'd like two people to be able to edit a shopping list at once and it gets synced between the devices, so the backend would also be able to need update the client. So, should I have the client periodically query the backend, or is there a way to have the backend push updates to the client in real time. What would I do if the backend gets updated from one user, and the other user updates an item from his side? Current Stack: (client) JS, Redux (backend) Node, Koa Any general tips or good resources would be much appreciated! Thank you in advance, [link] [comments] |
[C/C++ Homework] Abstract Data Type and Linked List Help Posted: 29 Mar 2018 07:35 PM PDT Hello /r/learnprogramming, I need help understand how to start this assignment. I understand how linked list and constructors work, but I am having trouble understanding this assignment. Here is the link to the assignment. I just need help with step 2 and 3. Here is my description without the link. This is the link to what I have so far. This assignment is a module that can be used in other applications. We will create a module called pqueue.cpp that implements priority queues, with the header file pqueue.h. Step 2 ask me to define two types in pqueue.h, which I believe I did correctly but I am not confident. Step 3 has me define a structure, PQCell, with 3 fields, item, a priority and a pointer to the next cell. I believe I did this correctly. One the same step, it asks for a forward declaration of PQCell. Done. It also asks me to define a structure, PriorityQueue, that holds a pointer to a linked list made of PQCells. This is the part where I am not sure if I did correctly. TL;DR: Not sure whether I defined struct PriorityQueue correctly edit: FYI This is not due today [link] [comments] |
College Student Looking Life/Degree Advice Posted: 29 Mar 2018 01:20 PM PDT Hey Everyone, Just wanted to start by saying this is my first reddit post after lurking the site for around 5 years so please be gentle. Also I have read through the FAQ already and feel like my question differs from the information already presented there. I'll get to my story below, but I'm writing this post today to look for advice on what college major I should finish out based on my current situation. My ultimate goal is a job in software but there are a couple different paths/degree options I can take, and I'm not sure which one makes the most sense and I feel lost. It's been a very complicated decision for me to make and I'm still not really sure what the best option is. I know how amazing and helpful/knowledgable the Reddit community can be so I wanted to reach out to you all to see if maybe you could give me some much needed guidance. I apologize for the wall of text and thank you for taking the time to read it! Background: I'm currently a 24 year old student that attends UCF, and unfortunately my tenure at college has been less than ideal. I came in to college with about 50 credits already due to dual enrollment and started off as a Mechanical Engineering Major. Unfortunately for many reasons, most of which being lack of maturity and discipline, my first two years of college were horrible. I ended up failing and withdrawing from a ton of classes. The only thing that kept me from being removed from UCF were my solid dual enrollment grades that kept me above water. I was lost, and had no idea what I wanted to do with school, my life, my future, etc. until one of my best friends recommended I just try to take an Intro to C course and see how I liked it. I instantly fell in love. It is like everything finally clicked for me and I knew what I was meant to do. Programming was this massive puzzle for me and I loved solving it every step of the way. I even sought out my friends and tutored them because I just enjoyed going over the code so much. I picked up everything with relative ease, and it was the first time it felt like I was doing something I had a natural talent for. I instantly switched my major over to Computer Science, however due to my previous record with the school I was only allowed in to the major on a conditional basis. I had to sign a document stating I wouldn't fail or withdraw from another course throughout my program or I would be instantly removed from the major. My first year of Computer Science went great, it was the first time in my tenure at UCF that I was getting A's which felt amazing. However I bit off a little more than I could chew one semester and due to issues in my personal life and again a lack of discipline I failed a class and was removed from the Computer Science Program. I was shell shocked and incredibly depressed so I decided to spend the next year and a half focusing on myself and taking a step back from school. I ended up getting a job near school and in the mean time took 1 class a year to maintain my status as a student. I spent these last two years really focusing on my issues and working to solve them. Also on what I really wanted going forward in life and where I saw myself in 5, 10, 20 years. I was very fortunate to move up in my company and make it in to our corporate office. I was blessed with an amazing boss and an even better mentor which have really helped me make monumental changes in my life. I feel like a completely different human than the immature kid that started college many years ago. My job not only helped me grow as a person, but it made me realize how much I kind've hated the idea of doing this type of job for the rest of my life. I knew that coding is what I loved and I decided I was going to do whatever necessary to pursue my Computer Science degree once again. I knew this time around I was ready. I will also point out I've never felt like my failures in classes in general have ever been due to struggling with the material. It was always just me not going to class or not turning in homework. Even in classes I've failed I've consistently done well on the exams. My job experience has given me the discipline I severely lacked and the maturity to get things done even when I'm not necessarily motivated. Which leads me to my current situation this semester. I decided to meet with my advisor and discuss my options. She ended up putting me in a single class and told me I could appeal my removal from the Computer Science Program during the semester and if granted could start back up full time over Summer. For the past two months I've been preparing for my appeal, while focusing on getting an 'A' in my current class. However I went in to speak with an old programming professor today looking for advice over the appeal and general coding advice. The conversation basically ended with him strongly recommending I stray away from a Computer Science Degree and focus my efforts elsewhere. This took a pretty big toll on me. I've had a strong conviction that my path was to go for redemption and achieve my CS Degree but I'm not sure if thats the case anymore. Which finally gets me to the whole point of this post, he laid out a couple different options for me and I can't for the life of me decide which makes the most sense. I'd really appreciate any guidance you can give me on this situation since I'm genuinely stumped. My ultimate goal is to get a job in Software in some way or another, I know the field is incredibly broad with many different options. I will say that I'm a competitive gamer at heart. Gaming is my passion and I'd love to end up in the field in some way if possible, even if its not necessarily game design. My current dream job which really started me down this path is a software engineering position at Riot Games (https://www.riotgames.com/en/work-with-us/job/10838). I'm also incredibly interested in business, owning my own company eventually, and all the different aspects that go in to running a successful company. Also realize that I've been at college for a long long time now (6 years). I'm 24 and really want to get my career started as soon as possible. I want to put in the time and effort to get where I want to be but I have to take in to account not wanting to graduate at 27-28.
At the end of the day I have a huge fire inside me to learn software and become proficient at it. No matter what path I end up taking I will put in relentless work to reach my goals. I'm just truly not sure which of these options is best and which doors each one will open/close for me. I genuinely appreciate you taking the time to read this post and any advice you may have for me. It truly means a lot! If you have any questions I'll be checking the post consistently and will answer them as quickly as possible. Thank you. [link] [comments] |
Posted: 29 Mar 2018 09:04 PM PDT My background is Electrical and Computer Engg. from Concordia University, Montreal, masters. I have some basic idea about html5 and CSS from udemy and w3school. and also planning to learn bootstrap and js in the meantime. Kindly guide me. Thanks in Advance [link] [comments] |
Posted: 29 Mar 2018 05:10 PM PDT Is 4GBs of RAM enough to practice SQL and Python on my own? Just a recent grad trying to get skilled at SQL then will dip into python to do queries in there. This is the laptop i'm looking at [link] [comments] |
C is it worth learning for sake of curiosity? Posted: 29 Mar 2018 04:56 PM PDT I've been interested in the language for awhile but there's never been a need to learn it. Is it worth learning If only to understand the grandfather of my languages? [link] [comments] |
How to run a cron in a docker container on EC2 Posted: 29 Mar 2018 08:27 PM PDT I've got a django app running on an EC2 instance and I have some methods I'd like to execute via cron. Today I'm hitting a url When I SSH into my EC2 instance I can access the docker container with My question is this: is that the correct place to create a Thanks in advance! [link] [comments] |
[JAVA]Do I need to compile in the operating system I want to run on? Posted: 29 Mar 2018 08:11 PM PDT I built a javaFX app using IntelliJ in windows. Works great. The build command creates an executable JAR. I was under the impression that I could go to linux with the JAR and but i get a "could not find main class" error. it lists the FQD of the class that is not found. This same file set will run on windows with the above command. SO! Do i need to compile the application in linux for this to work? or can I compile it in windows with some sort of different setting? Edit: I checked the JAR and there is a manifest there: Thanks. [link] [comments] |
[C++] Not getting desired output (rounding vs truncating) Posted: 29 Mar 2018 08:09 PM PDT https://repl.it/@noahkiss/SmartPeriodicAmpersand And my output: Here's the "desired" output: https://i.imgur.com/4ueM2KI.png Notice how the balance ends with 1 cent and my interest value is also off. This was for an exam today, and I spent 5 minutes writing the program (in my eyes, correctly) and 45 minutes trying to figure out how the fuck to get the "correct" output. Wasn't able to, and I'll end up losing points for it. The book recommends truncating decimals by casting as [link] [comments] |
Name of Test Against Existing Code in a Different Language Posted: 29 Mar 2018 11:53 PM PDT What's the name of the type of test for validating the functional correctness of a new code base (written in C++) against an existing code based written in python. The new code is written for optimization purposes (so the whole purpose of this new code is for non-functional purposes). I also don't own the code for the original code base (it is open source though), so I'm not sure if it counts as regression. The testing scheme involves validating both libraries against a set of valid random inputs (Fuzzing technique). Is there a technical term for this testing scheme? [link] [comments] |
[C#/ASP.NET] Error: City object does not contain a constructor that takes 11 arguments Posted: 29 Mar 2018 05:51 PM PDT I have a City class that is as follows: In another class, I call it with: It was working fine, but I made some seemingly unrelated changes and now it throws this error that City doesn't have an 11-argument constructor. I combed over the arguments and the surrounding syntax long enough to be completely positive that there's nothing wrong with the way it's written. I also cleaned several times, restarted Visual Studio, etc. as well as copying the code, deleting the class, making a new one, and pasting it back in. What gives? This is part of a project due tomorrow so I need to get it worked out so I can continue building and testing as I make changes. It is also worth noting that this is the only City class, so it's not that VS is looking at a different object. [link] [comments] |
Queue with 2 stacks implementation Posted: 29 Mar 2018 11:34 PM PDT I was a doing a Stack and Queue challenge in which i had to implement a Queue with 2 STacks. This is my solution here: https://pastebin.com/L6tvCJUx I have a solution from my teacher which is this: https://pastebin.com/hK3cYhsb Please check my implementation and please provide feedback as i am fairly new to coding [link] [comments] |
ASP.NET C# (self learn): How can I dynamically load a page? Posted: 29 Mar 2018 11:31 PM PDT I know that one can dynamically load a page with html and php, but I'd like to try and dynamically load a page using ASP.NET C#. With html and php, you'd call a page to load by having some kind of menu bar of a list, and link a php file to it, like so... But in ASP.NET, I am a bit lost on how I would achieve the same result. I'd imagine we'd have to use C# and an "event listener", for when a menu button is clicked, kind of like this... Would this be the right approach? Or how would I go about doing this? Thanks! [link] [comments] |
I want to now how to loop a certain piece of code in python. Posted: 29 Mar 2018 11:23 PM PDT I am learning python coding in my ICT class and want to create a function for doing factorials (creating this function literally holds no merit and really just wanna see if i can figure it out) so i was wondering if anyone could tell how i could repeat a piece of code until 'this' happens. Also could any answers refrain from showing how to do a factorial I really just wanna test myself, thanks. Edit: many people have stated that i should have just looked it up, my reason for not doing so is because most of the time it is hard to find what I'm looking for and it the correct context I need. Instead of me wasting my time i decided to post question here and hope someone is like "oh I know how to do that" because I can't really type into google "how to write a loop in python for creating factorials" without a function for creating factorials to appear. [link] [comments] |
How do I write a program that scans for certain text in a Runescape chatbox? Posted: 29 Mar 2018 07:27 PM PDT I have no idea where to even begin. I know very basic Java, but I believe that it shouldn't be too hard. How do I make a program that runs on my computer, and more importantly, how do I make it interact with the game? What tools would I need to accomplish my goal? Please any help would be appreciated. [link] [comments] |
Does game physics in 3D Engines use formulas from the real world? Posted: 29 Mar 2018 07:20 PM PDT How different is the calculation of game physics from the physics in the real world? I hope you understand what I mean. [link] [comments] |
Posted: 29 Mar 2018 11:03 PM PDT Please suggest me a machine learning project in python that can be completed in 4 weeks. I can also consider some other field than machine learning. I am looking to seriously contribute to my portfolio. [link] [comments] |
Looking for help in automating parts of my job Posted: 29 Mar 2018 07:13 PM PDT I currently work in the finance sector, and a lot of my day-to-day activities are rather tedious. Of course, I want to automate them so I can spend more time on reddit, but I'm running into some trouble. My work consists of taking information (like name, serial, date, etc) off of paper wires, then inputting that data into three different programs with slight, but regular, variations depending on the information on the wires. The three main programs I use for my work are Excel, FFT and AS400. FFT is a very heavily secured teller program and AS400 is older than me, so I'm not really looking forward to making something that will interface with them directly. Thankfully, I managed to simply my work into a flowchart of keyboard inputs, so I looking for a program that can take the information I give it (preferably in the form of a spreadsheet) and inputting that data into the three programs via only keyboard input. Also, it should be able to handle some conditional statements and be able to work on an office computer. So, it's not complete automation, but I would then only need to input data once instead of thrice, reducing mistakes and increasing efficiency. Any help would be appreciated. PS: I don't necessarily need help in the actual coding itself, just directions to whichever program best fits my situation. I'm not a coder (last time I "coded" was in highschool), but I have enough confidence that I think I can make it work with help from manuals, google, and program-specific forums. [link] [comments] |
C++ A very quick question about accessing a function. Posted: 29 Mar 2018 10:58 PM PDT /RESOLVED/ I need help with accessing a specific function. I created an object and this object has a method called "setColor." I also have a method called "draw" in my object. I am attempting to access a different "setColor" function from Open GL (glut) in my "draw" method. How to I specify in my code that I am NOT accessing the method in my object, but instead accessing a function in the header file "graph.h" that has the same name as my method. Any help would be greatly appreciated! /RESOLVED/ [link] [comments] |
Posted: 29 Mar 2018 04:44 PM PDT I have finally resolved an issue that has been burdening my soul for about a month now. If not for the owner and his way of handling things, his employees would've cost him his reputation and substantial punitive damages. I was justifiably upset, with a plethora of damning evidence to back every one of my complaints. He had such a huge impact on me - that's all I can really say. I walked out of his office with the check I came for, which I didn't expect, but also an overwhelming feeling in my stomach that I had just benefited from a great learning experience. He was an older gentleman and had owned his business for 50 years or so - We chatted on a personal level longer than we discussed the problem. Anyways - I'm an IT Student and I graduate this fall. I have a very solid understanding of a few languages :HTML/CSS/JS, VB, Java, SQL etc. and can get the basics of anything else down pretty quick- But, I don't really have any real-world experience yet, so I would probably spend 5 days just researching things, trying to learn them, and then finding different things that work better, and are a better use of my time in accomplishing the results I'm looking for. Could anyone experienced in SEO, small-business (brick and mortar) web-development , or even business owners themselves who have received great feedback/results from any type of tech-driven, local-market outreach, please point me in the right directions to get started. My overall Goal is to spend a couple hours a day, for a week, doing whatever I can to find information about how his business compares to others locally, how much traffic his site gets, or something like - what kind of keywords do his customers use to find his site, and what other successful keywords do business similar to his use. I just want to present him with something meaningful and that shows I put in effort to helping him, as he talked a little about his tech-woes during our convo. I did not expect to type all that - I hope someone reads this. Thanks for your time everyone TLDR; Please help me do good thing for human that did nice thing for me [link] [comments] |
Posted: 29 Mar 2018 06:50 PM PDT Hey guys I'm new to coding and python etc anyways I was trying to flatten a nested list. But every time I rub my code it separates every letter for example if I input [3,["hey] 6,] it will output [ "3", "h", "e", "y", "6"] How can I make it so it keeps the word hey together rather than separating it? Thanks [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