I’m worried about about entering an industry full of gatekeepers learn programming |
- I’m worried about about entering an industry full of gatekeepers
- Beginning programmer help discord
- udemy based fullstack dev bootcamp (10 to 17... weeks)
- How does the parent class's defined method get called in a sub-class object in Java?
- C: Is there any advantage to using (.) to access struct members over (->)?
- Tutorial for learning Java?
- How do I create bots for a chat app, which interact with each other?
- The Coding Dojo
- Implementing hash table on disk
- Any good tutorials on direct x api?
- Effective Dependency Injection for Web API
- Me (16M) Have been programming for a year and I feel like am on tutorial hell
- Error message- Help!!!
- How is python ran/compiled(?) different on Window vs Mac?
- Using web scraping and medical provider database to identify the point of care ultrasound gap between rural and urban America- help/advice wanted - (will give authorship on pub if you help with code)
- Need help with my C++ homework!
- So overwhelmed by the number of online resources. Should I just start with the MIT Guttag course?
- How often do full stack roles gets tested on data structures and algorithms?
- Is 2GB RAM is okay for Java basic programming?
- How to remove and return the n-th smallest item from a list (Python)
- Parts of HTML don't load always.
- How to make apps?
- help with python code
- Doing ETL using SSIS or Custom API
I’m worried about about entering an industry full of gatekeepers Posted: 02 May 2021 03:08 AM PDT Can I say first of all this community r/learningprogramming is so lovely. I really just want a hug right now 😞 I'm not going to say what subreddit but there's another programming sub I was using to ask questions about their programming language. I always do my research before asking and try to answer my question in the post to show I put in effort. The people who answer are sometimes nice but often times seem like they are old, 190 year old veteran programmers who hate to see someone new in their field. They make it so unapproachable as a beginner. I feel like older programmers in that language sometimes have a chip on their shoulder. Sometimes it feels they want to keep their language exclusive other times it feels like they hate the modernisation of their language and how newbies are entering the scene…I love constructive feedback and would rather someone tell me I'm terrible (and how to improve) but these people make me feel terrible 😣 Anyways, it's making me so sad because I'm so in love with language and associated frameworks but I'm worried if there a toxic environment with the language. In turn I don't want to end up working somewhere with programmers with a holier-than-thou attitude. Can anyone relate? On this sub there is such a sense of community and encouragement. It inspires me everyday whether it's someone in their late 50s doing a career change or someone just starting getting their first job. So, thank you for that because it makes programming so much less intimidating and encourages growth. Sorry if this comes across ranting, sometimes instances like this knocks your motivation. [link] [comments] |
Beginning programmer help discord Posted: 02 May 2021 06:31 PM PDT Hi, everyone. If this isn't against the rules, I'm creating a discord channel aimed primarily at folks who are absolute beginners getting into programming up to those who have spent some time getting into it, but maybe haven't yet achieved a solid understanding of what they're doing. I plan to have some text channels for people to ask questions which I will try to answer, and a maybe set some time aside on the weekends for an hour or two of voice chat to go over stuff. Maybe even do some screen shares. Is there any interest for something like this? I should be able to answer most all questions related to: - Python - Javascript - SQL - HTML - CSS Here's the discord invite: https://discord.gg/VYKZGA8K [link] [comments] |
udemy based fullstack dev bootcamp (10 to 17... weeks) Posted: 02 May 2021 05:59 PM PDT Hey guys-- a while back, I posted here about an outline for an udemy based full stack developer bootcamp. I recently updated it quite a bit. As it was lacking some standalone things a person would need such as -->practicing materials learned from the class separately<---. As well as more interview prep info. You can check out the "bootcamp/schedule" here. I say 10 to 17 (or more) weeks because it all depends on your pace!
and so on... Depending on how fast you want to approach studying all the material: "Theoretically" you can finish the whole schedule/bootcamp within 10-20 weeks! And be able to apply to an entry level fullstack dev job with ease. Let me know what you think! [link] [comments] |
How does the parent class's defined method get called in a sub-class object in Java? Posted: 02 May 2021 11:59 PM PDT This is a bit more of an implementation-related question, or I could be overthinking it. Let's say I have a subclass that inherits from the parent class. From my understanding, it will inherit the method definitions from the parent class but not the constructor. We need to provide or the compiler will provide constructor through the super method call. The reason we do this is that the method definitions we obtain from the parent class in the sub class will not exist without a parent class object instance. Does this mean, when I call a parent class object defined method that is not overridden yet in the subclass, will be internally called inside the subclass on a parent object instance? I was thinking that would be the case since the sub-class does call the parent class constructor and make an instance of it. [link] [comments] |
C: Is there any advantage to using (.) to access struct members over (->)? Posted: 02 May 2021 05:07 PM PDT I know if you have a pointer to a struct, and you write "mystructptr.membername" it won't work, you need to do mystructptr->membername but if it's not a pointer to a struct, it's just a struct, can you do mystruct->membername, does that work just as well as mystruct.membername? [link] [comments] |
Posted: 03 May 2021 12:09 AM PDT I saw some online guides but they were just way too complicated. I wanna learn the basics of Java language. [link] [comments] |
How do I create bots for a chat app, which interact with each other? Posted: 02 May 2021 07:36 PM PDT Hey guys, I'm working on this project, in which I need to create around 50 bots that post in chat groups in a certain time interval and reply to each other's messages to make it look like they are talking to each other. there has to be a "poster" - "replied" "replied 2" "replied x" which change their "job" after each post. basically a bunch of AI bots that interact with each other. [link] [comments] |
Posted: 02 May 2021 11:11 PM PDT "Coding Dojo" is a Discord community of computer enthusiasts (beginner or not) to sharpen their programming skills and build up confidence in their abilities. I opened this Discord to allow members:
To achieve these goals, the platform is separated into "spaces" Challenges: It is a training area. You can think of it as a "Tatami" for members to practice their craft regardless of their skill level. It has a channel for submitting programming challenges for others to try out, a channel to submit your solution to other members' challenges, and even one to comment on solutions! Hall: It is a versatile space to hold live coding sessions, conferences, etc. Members use this area to hold live coding sessions around subjects they're proficient in, or request sessions around subjects they are less experienced in. Help: This space is used to get help in a specific programming language. If you are stuck on one question, use this area to ask for help. Etc. --- The platform has a reputation system built around "Belt Colors" (just like in a Karate Dojo) where each member is granted belt color based on demonstrated skills and engagement in the community. Each "new" member is granted the "White Belt." This server is totally free to access and is not affiliated. If you want to contribute or believe in this vision please, join the Coding Dojo Discord Server freely. As you can tell, I am a beginner myself. But if you're experienced, come teach us. Come share your experience with us. If you have any questions, I will be happy to address them. Thank you for reading. [link] [comments] |
Implementing hash table on disk Posted: 02 May 2021 10:56 PM PDT Here's the question (from my textbook): Implement a database stored on disk using bucket hashing. Define records to be 128 bytes long with a 4-byte key and 120 bytes of data. The remaining 4 bytes are available for you to store necessary information to support the hash table. A bucket in the hash table will be 1024 bytes long, so each bucket has space for 8 records. The hash table should consist of 27 buckets (total space for 216 records with slots indexed by positions 0 to 215) followed by the overflow bucket at record position 216 in the file. The hash function for key value K should be K mod 213. (Note that this means the last three slots in the table will not be home positions for any record.) The collision resolution function should be linear probing with wrap-around within the bucket. For example, if a record is hashed to slot 5, the collision resolution process will attempt to insert the record into the table in the order 5, 6, 7, 0, 1, 2, 3, and finally 4. If a bucket is full, the record should be placed in the overflow section at the end of the file. Your hash table should implement the dictionary ADT of Section 4.4. When you do your testing, assume that the system is meant to store about 100 or so records at a time.* I understand hashing (at least in theory), but I am struggling with actual implementation. I was wondering what the best way to go about this problem was, and this just led to more questions. Now I am confused. The database has to be stored on disk. Let's say it's stored as a folder of individual files, with each file containing a record. But where is the actual hash table stored? The question states that each record is to be 128 bytes long and that the hash table should hold about 100 records. So the hash table will be about 12.5 MB in size. I can fit this in main memory but the question asks me to store the hash table on disk. But then every time I want to search for a record, I would have to make a disk access, which would be relatively slow. Wouldn't it be better if the hash table was stored on disk as an array of references to the files instead? (maybe store a string that contains the path and filename). A string would be 32 bytes (I used the sizeof operator in c++ to check this) and so an array of 100 strings would easily fit into main memory. This would mean that there are no disk accesses when searching in the hash table and so the program should be faster and would take up less space than if I store the entire actual records in the array (where each record is 128 byes). Am I thinking about this the wrong way? [link] [comments] |
Any good tutorials on direct x api? Posted: 02 May 2021 08:37 PM PDT I tried for like 2 weeks using Microsoft's tutorial i could only create the single window but not get anything on it. [link] [comments] |
Effective Dependency Injection for Web API Posted: 02 May 2021 10:14 PM PDT I'm learning about dependency injection, and am a little stuck on understanding how to apply it to a web API properly. If anyone with DI experience could read over the following scenario and help point me in the right direction, I'd really appreciate it! So suppose I have a simple web API with a few different endpoints, and a multi-tier system where the route is determined and then a controller builds the response, using an injected repository to interact with the database. If I were to do this using constructor injection, I imagine that my routing class would be the entrypoint to the system, it would parse the URI that the request hit and branch off to an appropriate conditional, and then in that conditional build the necessary dependencies and inject them into the required controller. So the pseudocode for a section of the routing/DI would be something like: This doesn't seem too unreasonable - all dependencies are injected from a single class at least, so we have a composition root which is the only place requiring modification if we want to change the repositories we use or whatever. However, I'm a little leery of two things:
(Note that I'm doing this in PHP, but I didn't focus on that as I think this is mostly a language agnostic question and I don't want to get into discussions about specific language practices or DI containers. But just in case that context is useful I thought I'd mention it here.) [link] [comments] |
Me (16M) Have been programming for a year and I feel like am on tutorial hell Posted: 02 May 2021 06:19 PM PDT Before anything thank you for reading, am having a harsh time and i want to seek advice and i fell this is the best place to. Well to give a little bit of background, I started learning programming when quarantine started, started with python, and learned from FreeCodeCamp and it was great! took me weeks to finish a 4 hour long video from just rewatching a practing, still at the 3 hour mark, I just knew I didn't understand anything, and I came across about a article about programming logic and pseudocode, and my god that saved my life, I spent a full 4 hour course in just three days about programming logic, and what is a for loop, a object, etc, and that just made python look a lot easier and started doing little projects as a ATM system, Calculator, Daily Journal, etc... Everything was completly beutiful, I was excited and driven to do more and more, and I wanted to start learning security and hacking, but at installing Kali Linux knew that I didn't know anything about it and in my potato laptop installed a VM of ubuntu and started coding there with atom and the terminal, was hell being real, almost quitted because i didn't understand a bit, and at that time i was learing SQL, finished learning SQL on windows with VScode and went beutiful, after that started learning HTML and CSS, And created a webpage of a store, which was really cool! but my god the CSS got my crazy, but i liked it at some point, then i started learning Javascript, and here is where everything goes downhill, I bought a course in Udemy that is like 35 hour long, and that really demotivated me since for me finishing a four hour long video took me weeks, now 35 hours?! But well i motivated myself and kept going, while learning i haven't lost interest in linux, and just started trying a lot of distros, and I loved it, tried to install linux on my laptop but I couldn't (everything here is november/december) and my dad saw all the effort and bought me a brand new gaming laptop for programming (my dad is the best) and ironically, everything went downhill since then, I installed Manjaro Linux, was really great but had a driver issue and stayed on windows, but after a month installed open suse and it was great! stayed on the system for a long time, and at that time i left javascript and i wasn't learning anything at all, but bought a course on linux system administration and is really good, but i though i was leaving programming behind and bought the python 100 days of code course by angela yu, and am not gonna lie, is awesome! both courses are awesome, but am just learning but not really putting the knowledge to a project of my own... which makes me think that everything am doing is meaningless, and that kills my drive and makes me feel like school, and i have projects in mind like a webpage with flask or django, or stuff like that but I feel if i just keep learning i could do that in the future, but is really discouraging and is making me anxious and makes it difficult to enjoy since me and my dad have talked about everything I have done and he is really proud and told me that i can work as a developer or sysadmin and study CS on a university, which I would love, but at the same time since I had that idea of preparing myself to get a job and go to the university is where everything just went downhill, and i don't know why, because i really want this future, I love programming but i just feel stuck and learning in a meaningless way, and that makes me not to be disciplined of what I do, and I know I have that spark because they are time I enjoy coding and i can stand 3 hours just coding and listening to music and enjoying my time, but they are times that really frustruate me because i feel demotivated and not driven and that frustruate me because am already seeing this as my future, not as a hobby so i have a lot of more responsability about it, and I really want this, i just want the spark i had before in october/november, I know that is there the only thing is i don't know how to ignite it again, i want this future of me doing what i love, but right not getting stuck in a bunch of 35 hour long tutorials that seem to never finish and my mind telling me to finish them and then work on projects is killing me, I know that everything i have wrote can be confusing but i just want to express myself and say I love programming and everything that i have teached me but i don't know why i don't feel driven, and again thanks for reading, any help is appreciated. Should I just keep learning or just go for it and try to create my python/django webpage? (sorry for the bad english is my second language) [link] [comments] |
Posted: 02 May 2021 09:49 PM PDT i am writing a python program for a intro class and i need to write temperatures 0-20 in Celsius and convert them to Fahrenheit and print them in a table in the console and an output file. print("%-15s%-10s" % ("Celsius", "Fahrenheit")) f = open("tempConversion.txt", 'w') f.write("%-15s%-10s" % ("Celsius", "Fahrenheit") + '\n') for c in range(21): f = c * (9 / 5) + 32 print("%-15d%-10.1f" % (c, f)) f.write(str("%-15d%-10.1f" % (c, f) + '\n'))* f.close() When i run this, i get the error "AttributeError: 'float' object has no attribute 'write'"* ive been trying to solve this for ab an hour with youtube and google and cant get it, any help is appreciated, thank you. [link] [comments] |
How is python ran/compiled(?) different on Window vs Mac? Posted: 02 May 2021 07:30 PM PDT Im new to programming and wonder how python is ran on the different OS. Also, in the mac terminal, even though you you import a module, why do you have to refer to the module again when calling the function? EX: import mystuff mystuff.my_func() #Why not just: my_func() #the module is already imported? [link] [comments] |
Posted: 02 May 2021 07:23 PM PDT Hi, I'm a second year medical student with about 8 years of coding experience with the last 3 in python but I'm a little out of practice in my coding and could use some advice/help with the research I'm doing right now. I'm trying to quantify one aspect of the healthcare gap between urban and rural America, specifically access to point of care ultrasound. POC ultrasound is great in the clinical setting and has been shown in previous research to improve primary care outcomes when it is implemented correctly. In order to do that, I wanted to identify the percent of clinics in rural areas that have ultrasound access and compare that to the percent of clinics in urban areas that have ultrasound access and then use existing outcome data on rural vs urban health to speculate on the net effect of that percent difference. I went to [this gov website](https://data.hrsa.gov/data/download) which gives me all registered healthcare clinics' names, address, and other extraneous info. I want to use this excel document from the government website to search all the registered healthcare clinic websites and see if they mention the word ultrasound and then classify them as either having ultrasound access or not based on that. This would require web-scraping which I don't have any experience in and am thus asking for help and advice on. I also plan on using existing data on rural and urban counties and just classifying the medical center as rural or urban based on that which should be very easy. If anyone has any ideas on where I should go for this or if another approach would be more ideal, please let me know. Also, because the biggest thing you lack in Medschool is free time to do stuff like this, if anyone would be interested in helping to write this code with or for me I would put them on the paper as a fellow author. Publications look really good on grad school apps, residency apps, and probably on job applications as well(not as sure on that one). If you DM me I can set something up with you. [link] [comments] |
Need help with my C++ homework! Posted: 02 May 2021 07:10 PM PDT Hey! It's getting close to finals week and I'm looking for help with some of the last homework of the semester. Please help out! The last few things we've learned this semester aren't sticking properly with me and I would appreciate some assistance. [link] [comments] |
So overwhelmed by the number of online resources. Should I just start with the MIT Guttag course? Posted: 02 May 2021 05:26 PM PDT Hey, everyone! I'm currently still in school pursuing a non-STEM degree, however, I'm super comfortable with math, which I've heard helps with the Guttag course. I'm not planning on using any of my comp sci knowledge in the professional sphere for a while, but I think I might want to pursue PM in the tech industry at some point. Plus, I'm just super interested in coding, as I first got into it after using R and Python for data analysis. I'm so fortunate to have access to so many awesome free resources online, but I guess I'm just feeling overwhelmed by the sheer number available. Is this a good place to start for someone who just wants to get into the fundamentals of programming with no specific "goal" in mind (e.g. web dev, app dev, etc.). Thanks. For reference, it's this course. [link] [comments] |
How often do full stack roles gets tested on data structures and algorithms? Posted: 03 May 2021 12:47 AM PDT Just wondering if I'm good enough on having a good understanding of node and React with some decent projects or if I need to good understanding of data structures etc as well. Not planning to apply for big tech but start-ups or product companies. [link] [comments] |
Is 2GB RAM is okay for Java basic programming? Posted: 03 May 2021 12:41 AM PDT I am starting to learn Java programming and I have Dell laptop of 2GB RAM. Can I do programming on it comfartably? [link] [comments] |
How to remove and return the n-th smallest item from a list (Python) Posted: 02 May 2021 06:25 PM PDT Hi, I'm trying to figure out how to write a code to test the operation removeNth(n). This operation should remove and return the n-th smallest item from a list. For example, if the list was [1, 5, 3, 9], "removeNth(2)" would return 3 . This operation will be part of a class with other operations as well. I have not written a method for removeNth(n) yet. This is what I have so far: class Waiting: def __init__(self): self.items = [] def IsEmpty(self): if self.items == []: return True return False def reset(self): self.items == [] class SUBCLASS: def __init__(self): Waiting.__init__(self) def insert(self, item): self.items.insert(0, item) I would appreciate anyone's feedback! [link] [comments] |
Parts of HTML don't load always. Posted: 03 May 2021 12:14 AM PDT Okay. Long story short. I'm still gonna write a hella long story aren't i... Bought a script, pre-made website. Expected ordinary .html files, where home.html contains navigation, the body, the footer and everything it needs. Instead i got tpl. format. where i have template_base.tpl (which contains most of the head, some stuff for the banners and a footer). And i got separate navigation.tpl file. Now here is the problem. Anyway.. If you guys need pictures, i will be glad to provide.. Or is this just the best way to do websites, and i should learn how it works.. TLDR: Created a website, bought a script. Expected html files and easy customization and debugging.Came in tpl. files with problems that make me bite my nails from frustration. Help.....[link] [comments] |
Posted: 03 May 2021 12:09 AM PDT I want to learn how to develop apps. iOS and Android for phone and tablet. I've got some basic html, css and Java knowledge. What would be the best path for me? [link] [comments] |
Posted: 02 May 2021 06:02 PM PDT I don't know what's wrong with my programs that it won't print the customers and their orders. It only prints the " Genco Pura Olive Oil Customer List ". It may be from the fact that I've been trying to kink this program out for the last 4 hours as I'm new to Python, that I can't see what's wrong. Any help anyone can provide would be greatly appreciated! Thank you!! New question: how to I append a string that holds the customers name and number to the orders in the orders list? Code 1: https://pastebin.com/raw/EtPQXYMM Code 2: https://pastebin.com/raw/X6mRHLXy order text: https://pastebin.com/raw/0LVHM0GQ name text: [link] [comments] |
Doing ETL using SSIS or Custom API Posted: 02 May 2021 08:02 PM PDT I am a self taught programmer and I just recently became aware of the term ETL (even though I have been doing it for years). The way i usually go through this is using .NET custom apis, which work with relatively small (100ks row tables)sql database and xls and csv files. My question is this: Is this a bad approach? Is it something that would be frowned upon in an interview for a Data Engineering job or by the community in general? If so, is SSIS the best recommendation or should i explore another solution? (I am more geared to C# , but I can work with python) Thanks In advance. [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