/r/learnprogramming moderator applications are open! learn programming |
- /r/learnprogramming moderator applications are open!
- About to finish CS degree but can't code.
- Your 2020 choice for API backend for an SPA application
- A (relatively) short tutorial on front end development for security analysts
- Guys im getting demotivated trying to self-teach python (zero programming background)
- Updating a globally defined variable inside a function
- Java Method Local Inner class Access Question.
- What are some fun things to do with free REST APIs?
- In C#, what exactly does it mean for one class instance to be equal to another?
- In what order should I learn the languages as a beginner.
- I will almost finish college, but I feel like it has been all for nothing.
- Why do I have a redline under my return value here?
- Taking a Data Structure and Algorithms in College - Need direction.
- Programming for Education
- Is a python bytearray an actual array (with fast indexing) or is it more similar to a typical (slower) python linked list?
- JAVA How do you set up the "string" area before continuing on to the JOption Pane dialog boxes?
- Guidance on learning and best practices after a bootcamp
- C++: Is there a way to access an individual element or individual number of a large integer?
- Understanding C arrays, correct syntax, mutability/immutability, strings...
- I have an interview take-home question that says "Please write a web service that takes in a string and returns a bool based on..." The returning a bool function is a simply coding question. But what does it mean to say "write a web service"?
- How do I read a dat file in python, for which I don't know its structure?
- Anybody here suffer from something that may hinder their learning abilities?
- Does anyone feel that you can't never understand a Regex even if you wrote it yourself?
- Stuck on this leetcode problem...
/r/learnprogramming moderator applications are open! Posted: 05 Feb 2020 08:55 AM PST Hello /r/learnprogramming! It's been some time since we've last added a moderator! We're excited to announce that we plan on adding one new moderator to the team, with a preference for somebody who's available during Europe or Asia daytime hours. We believe the community should have a say in deciding who gets modded, so this thread will act as our "public application" step. So:
Responsibilities
How to apply To apply, submit a top-level comment on this thread with answers to the following:
We planning on closing this application and making our final decision in roughly 1.5 weeks, during the weekend of the 15th/16th. [link] [comments] | ||||||||||||||||||||||||
About to finish CS degree but can't code. Posted: 05 Feb 2020 10:56 AM PST So, I'm about to finish my CS degree but I can't code. I know the theory. I studied and watched numerous courses for C, Java, Python, javascript, HTML, CSS, Angular. I can look at code someone else wrote and understand it. I can only write things if I'm following a step-by-step guide. Ask me to do something by myself, and I can't write code to save my life. I don't even know where do I begin. I just spend hours looking at documentations and tutorials and type one line of code. I did an internership where I only did basic things under someone else's guidance. I fear this barely counts as "experience". I can't even watch courses anymore, I'd have to go through hours of videos teaching basic things that I already know, so I get bored. I fear I'm going to end up unemployed at this point. What should I do? [link] [comments] | ||||||||||||||||||||||||
Your 2020 choice for API backend for an SPA application Posted: 05 Feb 2020 11:46 AM PST Let's assume you have to create a backend for an SPA application. What technology would you choose and why? Let's assume 10k users with 2-3 access levels, around 20 endpoints, low data volume of 10-15 GB. Most users would search, browse and retrieve information, much fewer users would upload content - binary files along with some metadata. Binary files are interpreted and presented in non binary form - tables, charts, etc. Some of the data will be publicly accessible. What's your choice? [link] [comments] | ||||||||||||||||||||||||
A (relatively) short tutorial on front end development for security analysts Posted: 05 Feb 2020 10:05 AM PST Hey, I'm putting out a course on YouTube that teaches hacking. The theory behind the course is that the vulnerabilities are easy to understand if you get how the code behind them works. This video follows that theme, it gives a crash course in front end web development in the simplest way possible (no frameworks, compiling Javascript) and culminates by exploring a cross-site scripting vulnerability we included in the code. https://www.youtube.com/watch?v=FcwNNOzM5T0 I've made a ton of videos on background info up to this point (VM install, Linux basics, data types, bit manipulation, etc.) and that is indexed on https://cybering.cc/. Going further in this module I will be giving really easy to understand examples of front end, back end, and some simple SQL stuff, as well as all the vulnerabilities that come along with those (and how to fix them!). If you're interested in learning more I always appreciate subscribes. Cheers! [link] [comments] | ||||||||||||||||||||||||
Guys im getting demotivated trying to self-teach python (zero programming background) Posted: 05 Feb 2020 11:30 AM PST Hello people.(Absolutely zero programming background, I just study business) As the title says, i have been trying to learn python all by myself. I have been learning for approximately 4 months. (Just 1 month of really intense learning). First i did the codecademy course, and it was useful because i learned all the syntax. After that I read half of the book "Automate the Boring stuff", but I felt it wasn't being very useful. After that I searched in the internet and found a link with 5 projects to do for beginners (dice rolling simulator, guess the number, mad libs generator, textbased adventure game, and hangman). I did 4 of them perfectly. The only one I couldn't finish but almost finished was the Hangman. Then i bought the "Automate the boring stuff" udemy course, and did it completely. It was useful because I learned new things but I still felt like I need to know more about the basics. (still didn't know much about dictionaries and functions). So I started to read "Python Crash Course" but again I feel the same as when I read the first book. It's tedious and I forget things I read after 1 week or more. And I feel that the final project of the book is more advanced because it creates a web application using Django. Now im demotivated because I dont know what to do. keep reading basic books and courses to fill in some voids i feel i have? or just try to do a lot of different exercises? and where can i get those type of exercises? (I have some ideas of things to do, but i feel like they are more advanced). I feel like i've hit a wall right now. Don't know where to continue or how. Is it really possible to learn programming with absolutely no background? Is there somebody that has learned it with absolutely zero programming background? I want to hear your success stories for some motivation please. Also I would be very thankful if someone could guide me on this. [link] [comments] | ||||||||||||||||||||||||
Updating a globally defined variable inside a function Posted: 05 Feb 2020 07:32 PM PST Hi! I'm sorry to spam this board :( But I have a to-do list API, and I'm trying to add a counter so that it can id each task added. For example, the first should be assigned the id 1, the second 2, and so on. However, it doesn't update after the first iteration. Meaning, itll change from 0 to 1 when the first task is added, but subsequent id's will be 1 also. I don't know why -- I assigned it with the global keyword inside my function, and added 1 to it too. I'd really appreciate it if someone could explain why this is happening and maybe give advice and suggestions Here is some relevant code from main.py: ...
...
And some relevant code from helper.py:
[link] [comments] | ||||||||||||||||||||||||
Java Method Local Inner class Access Question. Posted: 05 Feb 2020 09:31 PM PST JAVA QUESTION: Why can we access final local variables of a method from a method local inner class declared in that method but not access local variables of the same method. thankyou [link] [comments] | ||||||||||||||||||||||||
What are some fun things to do with free REST APIs? Posted: 05 Feb 2020 09:11 AM PST Very broad question I know. I am keeping it open-ended to not steer it to any specific kind of API. Hobby/random neat portfolio item. [link] [comments] | ||||||||||||||||||||||||
In C#, what exactly does it mean for one class instance to be equal to another? Posted: 05 Feb 2020 08:36 AM PST If I have a simple class that does not override any equality operator or function related to testing for equality, what does it mean for one object of that class to be equal to another? [link] [comments] | ||||||||||||||||||||||||
In what order should I learn the languages as a beginner. Posted: 05 Feb 2020 09:04 PM PST I taught myself to learn python by following websites and videos. I know the basics of HTML and CSS. Will the next step be learning JavaScript? I'd like to know what's the next step for me. Thanks. [link] [comments] | ||||||||||||||||||||||||
I will almost finish college, but I feel like it has been all for nothing. Posted: 05 Feb 2020 08:58 PM PST So I am in my third year of CS, but when I actually looked at the requirements to get an internship, I realized I have zero chances. I know the concepts. I know how loops work, how stacks, queues, trees, hash tables, graphs work, but I cant seem to implement them in code. I feel like i went to college only to learn theory, in the real world I cant implement them in any language without checking google or my textbook first. I feel like I am stuck. Can you recommend me some tips to actually solve problems on my own? Or some websites for learning Java or C++ Thanks. [link] [comments] | ||||||||||||||||||||||||
Why do I have a redline under my return value here? Posted: 05 Feb 2020 08:19 PM PST I wanted to manipulate an integer and return it. I had to convert it to a string, modify it and then change it back to an int again. When I try to return it as m there is a red line underneath and it says use of undeclared identifier. But I clearly did identify it right above... [link] [comments] | ||||||||||||||||||||||||
Taking a Data Structure and Algorithms in College - Need direction. Posted: 05 Feb 2020 11:53 PM PST Hey guys, so, I'm taking this course next semester (starts in 4 days) in my second year in electronics and communications engineering. I have scarce knowledge on the content of this course, but I've heard its quite important to be capable and efficient in this area before embarking on learning how to work as a programmer in the future (which Id like to be an option for me in the future, as i'm still 3 semesters in, through my 5 yrs engineering major) This is the content of the course, according to school: Basic data formats - program control expressions - input and output systems - matrices and frames - functions - structures and federations - categories - software design approaches - data structures and abstraction data categories - templates - search and classification algorithms - software efficiency and algorithm analysis. So, what can i do to maximize learning through these next 3 months? I would like to be strong on the subject, so how can i manage to do that? and are there are other titles/lessons I need to self-learn on my own that wont be taught by school and are quite essential regrading this subject? Thank you for reading thus far, and for your responses in advance [link] [comments] | ||||||||||||||||||||||||
Posted: 05 Feb 2020 11:51 PM PST Hello, I'd like to know where I can find good information about building software and programming for online educational purposes. What I mean is developing and improving education technology. I want to know what kinds of things need to be done to improve educational technology and where to find online education tools there are (other than LMS and virtual classrooms) that help with online learning for both teachers and students. I would also like, as I said before, some good information about this topic. List anything you have on the topic! (books, groups, niche sites, teaching groups, teachers that program, student complaints, teacher complaints, etc.) My background: I am an online ESL teacher (English as a second language) who likes programming websites, apps, software, etc. I want to make something that could help the online education community grow. P.S. I've already gone and searched on google for "education development" and "educational development programming/software/etc." but can't find anything useful.. [link] [comments] | ||||||||||||||||||||||||
Posted: 05 Feb 2020 08:05 PM PST Pretty much title. I am importing data from a file and I want to know if it's faster to index if I keep it as a bytearray, or bytes data type. [link] [comments] | ||||||||||||||||||||||||
JAVA How do you set up the "string" area before continuing on to the JOption Pane dialog boxes? Posted: 05 Feb 2020 08:00 PM PST I have to create a program that asks for the cost of an item, the amount that we have of the item, and the expiration month of the item. So after the "public static void" line when using JOption pane you have to set up the fields that you will use or whatnot right? So for example if I was going to ask for your first name and last name that area would look like: String firstName, lastName; What do you put up there for the areas that I have to ask for? I know since I will have integers that I will need to have an area that is "int cost" but what else? Thanks for any help and if I can clarify [link] [comments] | ||||||||||||||||||||||||
Guidance on learning and best practices after a bootcamp Posted: 05 Feb 2020 07:45 PM PST I'm a dev with a little less than two years into my career. I began my journey by graduating from a coding bootcamp. I learned "full stack web development" over six months. We covered too many tools over too short a time period. I worked as a front end developer for my first position and am currently working on full stack apps with html/css/js -> ASP.NET Core -> MS SQL Server. I feel like the more I understand the less confident I've become in my skills. I'm not sure what best practices are for writing js and don't have a good handle on object oriented programming (my lead will spring up the .NET Core app structure and I fill in the blanks basically). Are there an recommended resources that explain how to structure my js and separate my helper functions? How do I maintain scopes? I feel like I write sloppy code, but I'm unsure what good/bad code looks like (no one checked my code in my first position as I worked alone). Being a js programmer from a bootcamp, I'm having a tough time wrapping my head around object oriented programming. Any resources to help learn this and other computer science fundamentals I missed out on? (I really wish I had studied computer science in college) [link] [comments] | ||||||||||||||||||||||||
C++: Is there a way to access an individual element or individual number of a large integer? Posted: 05 Feb 2020 07:37 PM PST In the same way I can print out the second element of an array with array[1]... If I had an integer of 5674321 and I wanted to modify the 7, could I do something similar like int[2]? [link] [comments] | ||||||||||||||||||||||||
Understanding C arrays, correct syntax, mutability/immutability, strings... Posted: 05 Feb 2020 07:25 PM PST I have been recently dealing with some C code, leading me towards unpredictable behavior. So I decided to dig further and understand the syntax and memory behavior. General C rules:
Mutability/immutability:
Array rules:
[link] [comments] | ||||||||||||||||||||||||
Posted: 05 Feb 2020 04:37 PM PST I have to then give them the github repository that contains my work. Can I just write a simple python script that returns the correct bool when given a string, and put this script on github? Or do I have to do something else because it says "web service", like make an actual webpage where you can put the string in an input box or something? [link] [comments] | ||||||||||||||||||||||||
How do I read a dat file in python, for which I don't know its structure? Posted: 05 Feb 2020 10:20 PM PST Is there any way to atleast read the text from the dat file. I have its corresponding mdf file hence I know what all data and columns are there in it. How do I figure out the contents in my dat file. Cuz all that I am getting currently is some gibberish even if I am opening in binary mode. which gives me a dataframe. How do I read the same data from the dat file, is there any library or code for the same? And when I am opening the same in binary mode I am getting which is giving me Please download the data here https://stackoverflow.com/questions/59782618/reading-dat-file-in-python [link] [comments] | ||||||||||||||||||||||||
Anybody here suffer from something that may hinder their learning abilities? Posted: 05 Feb 2020 09:49 PM PST Hey guys, so I suffer from BPD and I got to admit that the medication I'm taking is a bit of an obstacle for my learning. When I'm off the meds, I can concentrate and learn better. Anyways, I just dropped my C language course to study the material on my own terms. I'm aspiring to be a cyber security engineer but I'm having second thoughts, due to my condition. So yeah... [link] [comments] | ||||||||||||||||||||||||
Does anyone feel that you can't never understand a Regex even if you wrote it yourself? Posted: 05 Feb 2020 08:55 PM PST I've been programming for years, and to this day, I cannot "read" someone else's Regex, or even mine sometimes. Just finished writing a moderately complicated regex for a web scrapper, after I was done I went outside for like 15 minutes, came back, and the regex seemed so foreign to me, and I couldn't "read it" even though it was my own fricking regular expression. Is it just me? Or does anyone feel the same? The only time I can understand the Regex is when I'm writing it, after that, i'm toast. [link] [comments] | ||||||||||||||||||||||||
Stuck on this leetcode problem... Posted: 05 Feb 2020 08:36 PM PST I am to convert an integer of only 6's and 9's into an integer of the highest possible value by only changing one of the digits. I can only change 6 into a 9 and 9 into 6. What I have so far appears to work for num1, but I appear to get some sort of address for num2? num1 output: 9996; num2 output: 32766; [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