Free Programming Books learn programming |
- Free Programming Books
- What career options should I focus on if my goal is to eventually work remotely?
- Need help with C++ project for class.
- Feeling down.
- Best way to Learn Java and C++ for a 14 year old?
- What should I use to start making games?
- I have no idea how this recursive function works, can someone please ELI5?
- Algorithm help: Given an integer, c, determine whether there exists integers a and b such that a^2 + b^2 = c - why is the runtime O(sqrtc*logc)?
- Do you think there is a preference for men in the industry?
- The effects of different CPUs and amount of RAM in coding? (Comparing and choosing a laptop)
- C++ issue with adding nodes to a binary tree
- Algorithm help:Given a tree T of N nodes and an integer K, find number of different sub trees of size less than or equal to K.
- interest in electronics and programming
- Where can I find the best online course for Python (paid or free) that teaches beginner, intermediate and advanced concepts?
- VS Code Different Java Runtimes
- BNE NEXT in ARM ASSEMBLY LANGUAGE
- Why does LTSA seem so obscure and why does it not have many examples of implementation online?
- Screwed up bash settings and python lib installs. best way to start over.
- Mouse moves element on page
- Struggling with what to do next
- Is it possible to destroy a phone internally using an app?
- Silly Question (Excel/Finance)= Valuation at Time of Cash Flows
- What branches of programming are beginner-friendly and also not Web-based?
- Designing a database and querying with mySQL - Not sure if i modeled this correctly? (ER Diagrams involved)
Posted: 14 Nov 2018 09:38 AM PST idk how many times this has been posted but, it serves as a guide for those just starting and i'd like to help those guys out. [link] [comments] |
What career options should I focus on if my goal is to eventually work remotely? Posted: 14 Nov 2018 05:38 PM PST What programming languages, job positions, etc Working part-time would be interesting as well. [link] [comments] |
Need help with C++ project for class. Posted: 14 Nov 2018 10:01 PM PST The assignment is to make a linked list which holds instances of a class (A). This class points to and modifies instances of another class (B), so one pointer class (A) per class (B). We are also supposed to do operator overloading for class (A). But my main problem is how do I declare instances of a class inside another class and modify the data of class (B) inside class (A), where the user interacting with the program to do specific tasks only accesses the pointer class (A), without knowledge of class (B). Can someone show me a rough template for how the two classes interact, with methods and constructor? Thank you Edit: Just learned that class (B) can be a nested class in private portion of class (A). [link] [comments] |
Posted: 14 Nov 2018 07:39 PM PST I just want to say that I am currently working as a software developer in a company. I already deployed some websites and mobile apps but when ever i try to do some easy coding challenges in Hackerrank or any other challenge sites i cant solve them. Currently i am feeling down because maybe my projects are bad, having bad practices, not doing the efficient way of coding. I am afraid of the future. [link] [comments] |
Best way to Learn Java and C++ for a 14 year old? Posted: 14 Nov 2018 07:46 PM PST Back in the summer, i asked what was the best way for me to learn, which at the time i choose Python. While i only did a week of learning, and didn't maintain much of that knowledge, I'm currently pushing away from Python. I did read the sidebar, however, im confused on where to start. As im in 8th grade, i have signed up for CS, IT networking and Engineering at the CTA here in my district. Now according to the flyer, the program focuses on Java and C++. Now i want to learn a good amount before i start next year so i have a base of knowledge. Any advice on how to approach this? EDIT: I also saw the "Free programming books" post from 10 Hrs ago, but i want to get some more advice. Thanks [link] [comments] |
What should I use to start making games? Posted: 14 Nov 2018 08:45 PM PST I know this has probably been asked a bunch of times before but I've been doing research for 2 days and I'm still confused. I learned to program with JavaScript in unity a few years ago and made a basic 2D platformer and was very confused along the way. Fast forward to now I've been doing vanilla java in school for a while but haven't made anymore games since. I'm pretty good with vanilla java though. I've been searching for the best game engines for beginners because I want something less involved than unity. I'd like to refine my programming and make a game every week or 2. I keep coming across the same lists of a bunch of drag and drop game engine and also game maker studio and unity. I just about decided on using game maker studio and learning their unique language but then I discovered you can make games with html and JavaScript and this has a bunch of engines also then I discovered you can use java to make games! I came across a framework called libgdx. I'm sure there's other frameworks like this as well. I'm hoping this will all make more sense after I get some sleep and I can start getting to coding and asset design. But it probably won't. I'm a college student currently studying java but I could take on another language. What do you recommend I start with for making a variety of 2D games? I'd like something with a decent community and YouTube or Udemy tutorials to get me started. Thanks for any advice! [link] [comments] |
I have no idea how this recursive function works, can someone please ELI5? Posted: 14 Nov 2018 08:57 PM PST The objective is that for a positive integer user input , the function should calculate the user's input by turning the first 7 of the number to 77. For example, if the user input is 747 the function should output 7747, or for 172737 to 1772737. This is a exercise to practice recursion so the solution involves a recursive function. The solution that the professor provided(C++): Why is this working? What's being called before what? Why is only the first 7 being multiplied and added and not the next ones on the list? How is the comparison in the if statement working? This is total spaghetti [link] [comments] |
Posted: 14 Nov 2018 06:51 PM PST This is theSum of Squares solution on Leetcode. I came up with the following algorithm and was told the runtime was O(sqrtc*logc), when I thought it was O(sqrtc). Furthermore, I was told the amortized/expected runtime was O(sqrtc*logc / 2), but I'm not sure why that is either.
I thought in our worst case we would have a & b converge on each other, implying there can be at most sqrt(c) iterations of the loop? [link] [comments] |
Do you think there is a preference for men in the industry? Posted: 14 Nov 2018 08:07 AM PST [Question] I am an enthusiast programming learner, but, there is a thing. I am a girl and there are people discouraging me, they tell me that when I try to find a job it's going to be more difficult for me because I am a woman. Do you think that there is any real preference for men in the industry? I kinda don't think so because my first niche is men dominated too (economics) and I have never felt less or discriminated for being a woman, but I am a newbie to programming, so I don't know the underlying dynamic of this. BTW, I was introduced to this by men. [link] [comments] |
The effects of different CPUs and amount of RAM in coding? (Comparing and choosing a laptop) Posted: 14 Nov 2018 08:19 PM PST The title was a bit weird but regardless I am shopping for a Macbook which I'll be coding on for at least 3 years. I'm ending my 2nd year in CS and so was looking for an upgrade. CHOICE A: 13'' Macbook Pro 2018 - intel 8th gen i5 -256GB storage -8GB RAM CHOICE B: New Macbook Air 2018 - intel 8th gen Y Series i5 - 256GB storage -16GB RAM ASSUME BOTH LAPTOPS ARE THE SAME EXACT PRICE, which would you pick? I don't know is 8GB is suffice for at least 3 years down the road but if I go with choice B I am not sure the Y gen CPU will be able to keep up with multiple tasks in the background. Any advice is appreciate, many thanks. [link] [comments] |
C++ issue with adding nodes to a binary tree Posted: 14 Nov 2018 10:53 PM PST Hello everyone, I'm working on a project where we have to create a binary tree out of a long paragraph separated by spaces. I have managed to split my paragraph and pass it to my insert function in my class but when it finishes setting the values and returns, the pointer to the root remains as NULL. So it's not inserting anything into the tree. Some help would be greatly appreciated. Here's a link to the code. It compiles and runs as is without errors but it doesn't add nodes to the tree like it's supposed to. [link] [comments] |
Posted: 14 Nov 2018 10:52 PM PST I found the explanation here:https://codeforces.com/blog/entry/20935 Problem:3 But it is not clear enough.can anybody explain? [link] [comments] |
interest in electronics and programming Posted: 14 Nov 2018 10:50 PM PST Hi, I recently started learning Python at codecademy, I'm not that far ahead. It's my first time programming and I've heard Python is a good way to start. In the future, when I have a solid base with Python, I plan on moving to C++. I don't plan on doing this professionally, it's just something I've always wanted to learn and wanna be able to program small basis electronics on my own with platforms like Arduino or Adafruit My questions are:
I know it all depends on what I want to do, it might sound very vague, but I just want to learn to make some simple apps, understand game engines and how scripting works. Thank you. EDIT: Thanks for all the replies! I wasn't expecting all this info and experiences. I'm taking each and every one of the comments to make a better decision. Thank you. [link] [comments] |
Posted: 14 Nov 2018 06:50 PM PST I am one and a half year out from graduating with a bachelor's degree in CS and today my faculty advisor told me that before I graduate, I need to be an expert in atleast one programming language in order to do well in job interviews. [link] [comments] |
VS Code Different Java Runtimes Posted: 14 Nov 2018 10:10 PM PST Hey! So I just started learning how to code and when trying to print Hello World! in Java on VS Code, I got this error: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0. The full error is: java.lang.UnsupportedClassVersionError: HelloWorld has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" Googling the problem led to people saying to update JDK, but I already have it updated to JDK 11 and the latest JRE (1.8.0_191). I already set my Java home in VS Code as C:\Program Files\Java\jdk-11.0.1 and the Path in Windows Environment Variables is also set to C:\Program Files\Java\jdk-11.0.1 I'd appreciate any help! Thanks! [link] [comments] |
BNE NEXT in ARM ASSEMBLY LANGUAGE Posted: 14 Nov 2018 09:44 PM PST So I have this code and it basically goes like this Before I had it in a procedure but figured out that it was supposed to be in the mainline. Now the Divide after the BNE NEXT doesn't execute. [link] [comments] |
Why does LTSA seem so obscure and why does it not have many examples of implementation online? Posted: 14 Nov 2018 09:36 PM PST I'm in a class that is using the Labelled Transition System Analyser (sic) to study concurrency. It seems like the only material available is... the book we are using... and the main site for the tool: https://www.doc.ic.ac.uk/ltsa/. Apparently, it's been around since at least 2013, so I'm wondering why there appear to be almost no discussions about it online (or maybe my Google-Fu is weak)? Also, I know I'm being impatient here and the answer is probably contained within the book or website, but what language even is LTSA using? Would you say it's Finite State Process (FSP)? Is that even a language? Thanks for wading through the muck with me. [link] [comments] |
Screwed up bash settings and python lib installs. best way to start over. Posted: 14 Nov 2018 09:13 PM PST I've been attempting to install opencv and some other software, but my entire bash_settings and python installs are a mess, and It messed everything up when I have multiple versions of python3 installed etc. I just want a clean slate to try again, Is there a good way to do this without resetting entire computer. OSX [link] [comments] |
Posted: 14 Nov 2018 09:07 PM PST Hi All, I am trying to replicate this on my website, www.abrea.io HTML CSS How exactly do I go about adding this onto my site? Thanks for your guidance. [link] [comments] |
Struggling with what to do next Posted: 14 Nov 2018 08:56 PM PST Currently doing a degree in software engineering (mainly java/script). I've created programs that calculate things like the cost of sending food into space etc, printing dynamic tables, output to txt files and reading from text files. I'm confident I can create classes, methods and interfaces. I'm just not sure what to do next. Do I need to learn java API? Programming web in java? I've got a grasp on the fundamentals. I just don't know where to go from here. Any advice would be greatly appreciated. [link] [comments] |
Is it possible to destroy a phone internally using an app? Posted: 14 Nov 2018 05:01 PM PST I'm not sure if this is the right subreddit to post this but for my Capstone Project I was thinking about creating a mobile tracker app (kind of like 'Find my Device') that can also destroy the phone's internal system rendering it useless as long as the app is installed in two separate devices where Mobile A can destroy Mobile B if Mobile B is stolen for some reason and is irretrievable. [link] [comments] |
Silly Question (Excel/Finance)= Valuation at Time of Cash Flows Posted: 14 Nov 2018 08:42 PM PST I've been working on this spreadsheet regarding portfolio valuation with external cash flows. Basically what I am trying to do is a spreadsheet based on the Modified Dietz method that calculates monthly returns for a portfolio but dividing the month in subperiods depending on how many external cash flows are within the month so at the end I can just calculate the geometric mean of those returns. For example: 02/01 Portfolio's beginning Value = 208,000 02/15 Portfolio value prior to CF= 217,000 02/15 External cash inflow of 9,000 02/15 Portfolio Value after CF= 257,000 02/28 Ending Portfolio Value (including capital gains and cash flows) = 263,000 Based on the previous example I would like to have a spreadsheet that calculates the return in the first subperiod from Feb 1st to Feb 15th and the return from the other subperiod of Feb 16th to Feb 28th. However, I need it to be flexible in case there are more than one external cash flow (meaning more subperiods). The math for the previous example would be something like this: Return Feb 1-15 = ((217,000-208,000)/208,000) = 4.33% Return Feb 16-28= ((263,000-257,000)/257,000)= 2.33% Geometric Mean= ((1+4.33%)*(1+2.33%))-1 = 6.76% Thanks in advance guys!! [link] [comments] |
What branches of programming are beginner-friendly and also not Web-based? Posted: 14 Nov 2018 08:44 AM PST I've been wanting to sharpen my programming skills but am not too interested in front-end web development. Most every course I find on the Web is a varient of "build x web app with x language". Systems programming has always interested me, but as far as I can tell, lower-level systems programming requires a lot of base knowledge on hardware to do anything useful, so I'm wondering what's sort of "in between", while still being achievable by noobs like myself. I've done a little research into other branches (back-end, networking, security etc) but figured people here would have a better idea on what's out there. Thanks! Edit: maybe I should clarify, I'm interested more in general sort of "topics" rather than specific languages. What kind of developer are you, and what do you enjoy about your work? [link] [comments] |
Posted: 14 Nov 2018 08:37 PM PST I'm new to database design so I'm kinda unsure if I'm doing things right here. I'm creating a database for a fake scooter rental service. Here are the events that would be affecting my database: If a new customer enters store: If previous customer enters: If a customer is renting a scooter, keep track of: When scooter is returned: Queries I'm gonna be making to the database: All people who have flags, All available scooters, All borrowed scooters, All late scooters, People with top 5 most referrals, For a person, show all the times that person has borrowed a scooter, For an instance of a borrow, show any additional fees, and All manufacturers of scooters Here is what I came up with (not an actual diagram yet, just the different tables and relationships), not sure at all if this is on the right track: https://imgur.com/a/NzqB0CE [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