I wrote a small study guide for new programmers, "How to Learn How to Learn How to Program", to prevent issues like tutorial hell and coding fatigue. learn programming |
- I wrote a small study guide for new programmers, "How to Learn How to Learn How to Program", to prevent issues like tutorial hell and coding fatigue.
- How do I get out of tutorial hell?
- How I Got Started with Angular and TypeScript
- Beginner at web development (HTML, CSS, JAVA) Need some guidance
- How do you start a side project?
- Need to build a function using an array that can display the first n numbers in the fibonacci sequence. [C]
- [C] Why is #define PUT_BYTE(p, v) (*(char*)(p) = v) != #define PUT_BYTE(p, v) (*(char*)p = v)
- What's the best way to create a test PostgreSQL database on my Linux PC for developing a web app?
- What do I need to learn for this tutorial to make more sense?
- What are some must know things and tips for a beginner programmer who decides to jump to Linux which may make their beginning experience easier?
- Are you looking for a python project?
- I got the foobar challenge from google and my solution cannot pass the hidden test. Can you please take a look at it. Thanks
- Trying to understand how to remove a vertex from a adjacency list based graph in Java.
- Need some logical advice [Java]
- Coding bootcamp... full-stack or data science track?
- Programming a Samsung Gear?
- What is pop?
- Color Codes appear to have vanished?
- [Rust] Trying to compile the "migrations_macro" dependency in a Rust project throws the error "ld: cannot find -lpq"
- How much javascript do i need to learn to start web dev projects?
- Looking for partner to practise problems with
- [bash/shell]is it possible to use "exec" to add a user to sudoers?
- ASP.NET
- Picking out a Data Structure Solution
Posted: 04 Feb 2020 03:40 PM PST Hey all, I'm a relatively new programmer and wanted to suggest a few ways to prevent common issues we see on the subreddit. Despite how well-resourced, structured, and informative /r/learnprogramming is, we see the same phenomenon: a disproportionate amount of noobies, like myself, wanting to program but not wanting to work very, very hard. So I wrote a little guide that packages the work you do programming as part of a small and simple process you can replicate over and over at any level of proficiency. I'm posting this because, thus far, it's been the only thing helping me avoid bad practices and keep good ones (technically, and mentally). We're all different, and we all have different capacities for coding off the bat, but a lot of what prevents "the next step" in our careers seems to be discipline. [link] [comments] |
How do I get out of tutorial hell? Posted: 04 Feb 2020 09:39 AM PST You know when you get the concepts but you don't understand how to implement anything without a tutorial, or are hopping from tutorial to tutorial, language to language trying to figure out what the hell you want to do? I'm stuck there and can't get out. I've tried w3schools, codecademy, udemy , YouTube etc etc and I can't get myself to stick to a language or do something with it. I end up forgetting most of it a week or two later and have to relearn everything from scratch. I just need advice on how to get out of it and start doing something. [link] [comments] |
How I Got Started with Angular and TypeScript Posted: 04 Feb 2020 11:46 PM PST Learning Angular isn't the easiest thing in the world. It takes a while to learn it. However, once I understood the basic architecture of Angular, creating apps with it became easier. In this article, I'll show how I learned Angular and TypeScript without knowledge of either. .... [link] [comments] |
Beginner at web development (HTML, CSS, JAVA) Need some guidance Posted: 04 Feb 2020 11:13 PM PST I've been trying to learn web development for awhile and I've been running into problems that I think can be solved with some guidance. It would be nice to have someone that has a job/experience as a web developer or software engineer that can guide me towards the right direction of things to work on learning or building. Help me learn the basics , build projects and become a decent at coding HTML , CSS and Java! [link] [comments] |
How do you start a side project? Posted: 04 Feb 2020 11:07 PM PST I'm kinda lost on making my own side project that I can put on my resume. I was wondering how people go about that. I just been learning a bunch of programming language, but I'm not applying it which results in losing my knowledge in a particular language. [link] [comments] |
Posted: 04 Feb 2020 10:59 PM PST I am completely new to C programming and somewhat new to programming languages in general, so bear with me. I am currently in a C programming class and we just learned about arrays. Basically, for our homework we must create a calculator program in which the mathematical operations are represented by their own functions outside of main. One of these functions must give the user the first n numbers in a number sequence, so I chose the fibonacci sequence. I understand how I could complete this function without using arrays, but I genuinely have no idea where to start. Is it possible to have the user input set as the array size? If so, how would I be able to set the array values without setting any values in the array? Should I just give the array a large size and hope the user doesn't want to input a higher value? [link] [comments] |
[C] Why is #define PUT_BYTE(p, v) (*(char*)(p) = v) != #define PUT_BYTE(p, v) (*(char*)p = v) Posted: 04 Feb 2020 10:47 PM PST I am having trouble understanding why these two macros are different. It seems it is necessary to put the parenthesis around p.
Gives an error:
I have no idea why it is complaining. It seems like putting parenthesis around something shouldn't change anything. [link] [comments] |
What's the best way to create a test PostgreSQL database on my Linux PC for developing a web app? Posted: 04 Feb 2020 10:44 PM PST I'm trying to contribute to an open source web app, but when I run the compiled backend executable, it wants a PostgreSQL connection on localhost at a port I'm supposed to specify. Is there a way to create a test database on Linux while not exposing the port anywhere outside my computer and not having a database daemon running when I'm not programming? [link] [comments] |
What do I need to learn for this tutorial to make more sense? Posted: 04 Feb 2020 10:41 PM PST Hi everyone I'm just now getting into learning web dev/programming and I thought I would start with HTML. I've seen Derek Banas channel promoted quite a bit, so I just started watching this tutorial: I'm about 5 minutes into the tutorial, so I apologize if my post is premature, but I'm having a hard time following what he's talking about. It seems this tutorial is geared towards people who already know the terminology he's talking about. Do you have a recommendation for a complete beginner? Like maybe a glossary or something like that? This makes me so frustrated lol, I have no idea where to start. But I appreciate any help! [link] [comments] |
Posted: 04 Feb 2020 10:37 PM PST Need some advice to beginner linux and similar distro user and make their life easy [link] [comments] |
Are you looking for a python project? Posted: 04 Feb 2020 06:45 AM PST I'm new to programming and I've been working on a project for a few weeks now; a friend of mine had an idea in mind for some years but could not find the time to put in it, so, since he knew I was trying to learn to programming, he offered me to work on it. Is a model to simulate the chemical evolution of galaxies, or rather, the conversion into python of an old fortran code about that. lately I have been struggling to keep the pace and I thought that if I worked with someone I would have more motivation, if you are learning python and looking for a project we can work together :) if instead you don't have time but you have experience and willing to give me some tips, I post here the repository: [link] [comments] |
Posted: 04 Feb 2020 09:41 PM PST There's some unrest in the minion ranks: minions with ID numbers like "1", "42", and other "good" numbers have been lording it over the poor minions who are stuck with more boring IDs. To quell the unrest, Commander Lambda has tasked you with reassigning everyone new, random IDs based on her Completely Foolproof Scheme. She's concatenated the prime numbers in a single long string: "2357111317192329...". Now every minion must draw a number from a hat. That number is the starting index in that string of primes, and the minion's new ID number will be the next five digits in the string. So if a minion draws "3", their ID number will be "71113". Help the Commander assign these IDs by writing a function solution(n) which takes in the starting index n of Lambda's string of all primes, and returns the next five digits in the string. Lambda has a lot of minions, so the value of n will always be between 0 and 10000. LanguagesTo provide a Java solution, edit Solution.java To provide a Python solution, edit solution.py Test casesYour code should pass the following test cases. Note that it may also be run against hidden test cases not shown here. -- Java cases -- Input: Solution.solution(0) Output: 23571 Input: Solution.solution(3) Output: 71113 -- Python cases -- Input: solution.solution(0) Output: 23571 Input: solution.solution(3) Output: 71113My solution: https://www.codepile.net/pile/yo3XZBpQ [link] [comments] |
Trying to understand how to remove a vertex from a adjacency list based graph in Java. Posted: 04 Feb 2020 09:22 PM PST I have a few questions. To me it looks like it's iterating through the values (which are arraylists) of the map and removing vertex v from each of the the value lists. Am I correct? If that is true, would this code also work? I'm more used to iterating through a map through keySet() istead of whatever this is. Last question is what is the purpose of this? Why can't I just write adjVertices.remove(v)? Creating another vertex just to remove it seems unnecessary. [link] [comments] |
Need some logical advice [Java] Posted: 04 Feb 2020 08:39 PM PST So I'm working on an assignment where I need to read a series of data from text file, parse that data into usable chunks and then use the appropriate chunks to create a series of objects that will be stored in an array to be read back out into a new file. as an example of the format of the data in the file: the first line with just the number '4' on it indicates how many items the file is suppling data for. with each line after that supplying the data for the item itself. each item would be read in like so: partName -- partNumber -- listPrice -- salePrice -- saleStatus. but how can I get the program to see the first time and treat it differently from the rest? I thought I could do an if/else block and just check if the array the data is read into is length 1, but that would cause it exit the loop as soon as it read the 4. Can I read each line into a String array, then take array[0] as the control variable for the number of items to create, and just parse each string after that splitting it on the ',' and casting the resulting substring to the data type I need for the objects? Or am I over-thinking this and making it more complicated then it needs to be? [link] [comments] |
Coding bootcamp... full-stack or data science track? Posted: 04 Feb 2020 08:19 PM PST Hello all, I'm highly considering attending HackReactor at Galvanize's coding bootcamp in Austin, TX. That being said, their full-stack course has relatively good reviews and job placement (some good years, some bad). A year or two ago they added a data science track as an alternative. Knowing that the industry is somewhat oversaturated with full-stack devs, is the data science track worthwhile? A little backstory: I'm a self-taught web developer and have an intermediate proficiency in JS and am with other front-end technologies. I've always been interested in data science but felt the full-stack program was a better bet in terms of landing a job (I am a college senior in a non-tech major). Any advice or comments on the status of how the industry is hiring right now, or comments on data science programs within bootcamps are greatly appreciated! [link] [comments] |
Posted: 04 Feb 2020 08:15 PM PST Does anyone have experience programming a Samsung Gear 2? I've never done a project with a smartwatch before but this is what I want to do: Detect the gesture of a dumbbell curl at the gym, and once finished curling start the timer on the watch to time a set. Anyone have any advice on how to pull this sensor data from the watch or other tips? [link] [comments] |
Posted: 04 Feb 2020 04:27 PM PST On mobile, I meant, OOP From what I understand, I'm supposed to make everything an object, with some minor exception. Element selections, and global variables for example Is that correct? [link] [comments] |
Color Codes appear to have vanished? Posted: 04 Feb 2020 08:07 PM PST Hello all, I am a new programmer, and I have been using PyCharm. When I first started, different types of code (such as variables and "if", "or", etc.) would be highlighted in different colors. Here is an image of the problem I am currently facing: https://ibb.co/4P644vR As you can see, my code is now monochromatic. However, I don't remember changing any settings. This makes coding particularly difficult for me, as I am quite new; it would be very useful to have my good ol' colors back :) Does anybody have any pointers that may help to resolve this issue? Thanks in advance. Edit: I also no longer get a dropdown box when typing that provides suggestions for my code. These two issues arose at the same time. Edit #2: For those wondering, I am using the community version of PyCharm. [link] [comments] |
Posted: 04 Feb 2020 07:43 PM PST I'm currently trying to run Lemmy (https://github.com/dessalines/lemmy) on my home PC so I start contributing to the backend. I'm on openSUSE Tumbleweed with all the latest packages. Running I have both postgresql and libpq5 installed as preliminary searches online yielded those as possible causes of the error, but I'm still getting the error. I'm admittedly not very familiar with Rust and have so far only really worked with higher level languages. I would appreciate any help with solving this problem so I can get Lemmy compiled. [link] [comments] |
How much javascript do i need to learn to start web dev projects? Posted: 04 Feb 2020 07:43 PM PST I know practice is the best. But how much javascript do i need to do to actually make something. I only know basics like variables, objects, loops, if else, whatever else is on the freecodecamp basic javascript section. [link] [comments] |
Looking for partner to practise problems with Posted: 04 Feb 2020 07:41 PM PST Hey all, I am looking for someone to practise codeforces problems with in order to get better at them. I am able to solve A and B but struggle with C (div2) so looking for someone with similar skills. HMU if anyone is interested :) [link] [comments] |
[bash/shell]is it possible to use "exec" to add a user to sudoers? Posted: 04 Feb 2020 07:13 PM PST Hi, exec is able to run in the command line. so is it possible to use "exec" to add a user to sudoers? thanks a ton [link] [comments] |
Posted: 04 Feb 2020 07:11 PM PST Can anyone give me a good suggestion where I can learn ASP.NET? I'm trying to find good tutorials, but the ones I'm finding seem to use out of date versions of Visual Studios, so it's hard to follow along. I'm trying to create a simple webpage with a text-box and submit button. [link] [comments] |
Picking out a Data Structure Solution Posted: 04 Feb 2020 07:03 PM PST Hey everyone, I'm in the process of parsing out ideas on a data structure for a "voting app" build. So far I've came up with the conclusion of using a heap. (I'm not sure if this will work) The initial idea is to have the candidates name and being able to move the data up and down the heap based upon votes (Likes & Dislikes). Overall I need a data structure that is dynamic, adds data from the bottom and can move up and down based upon votes. Any thoughts or advice would be highly appreciated. Thank you [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