• Breaking News

    Friday, April 30, 2021

    What have you been working on recently? [May 01, 2021] learn programming

    What have you been working on recently? [May 01, 2021] learn programming


    What have you been working on recently? [May 01, 2021]

    Posted: 30 Apr 2021 09:00 PM PDT

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

    submitted by /u/AutoModerator
    [link] [comments]

    Got an A in my latest Java exam!

    Posted: 30 Apr 2021 12:47 PM PDT

    I recently had to change my career trajectory due to Covid (was previously training to be a pilot) and decided to begin self-learning some programming. I then decided to enroll in a postgraduate course which essentially functions as a 12 week (1 semester) long bootcamp.

    I've has so much help from this page over the self-learning phase and throughout my course so far, it's been a tough ride but receiving this mark has given me huge confidence that I can do this. It also reinforces the study techniques I'm implementing are working and the hard yards are paying off.

    I just thought I'd share this, for anyone else with self doubt, all it takes is a little perseverance and you will start seeing some major results. It's often easy to experience imposter syndrome when learning to code but it's 100% normal and I know others who have felt the exact same way. If I can do it, so can you.

    You've got this, fellow beginners!

    submitted by /u/ranco865
    [link] [comments]

    Should I pick college over coding boot camp?

    Posted: 30 Apr 2021 08:36 AM PDT

    Hi, I am currently a high school senior who wants to get into computer science and land a job as either a software engineer or a data analyst. The reason I ask this question is because I am seriously wondering if there is still a purpose to going to college for cs when there are big and small companies dropping college requirements. There is also a significant amount of boot camps being offered in my state. In fact, my local community college offers an 18 week coding boot camp which costs as much as a year of traditional classes there( around 3.5k). My parent are kind of against the idea of trying to look for a job immediately after high school. They want me to acquire a college degree, saying that they have no problem with supporting me. They also said that they want me to make use of a social security benefit that they signed me up for which would give me $700 every month as long as I am not working and receiving a paycheck. I also qualify for financial aid. Would it be a waste to complete my gen ed requisites and beginning compsci classes and then transfer to complete a bs, when I can ( supposedly ) come out of a bootcamp and be just as ready and skilled as a college graduate to nab the job?

    I have been reading some articles like this recent one-https://www.npr.org/2021/04/29/990274681/no-college-no-problem-some-employers-drop-degree-requirements-to-diversify-staff

    Edit-Overall, it looks like college would be the better option, since it would give me more time to make projects, have some sort of guide through my classmates/ teachers, and while in software engineering it may not be required it can definitely help with the process and, who knows, maybe I might want to change careers and become a ml engineer, who definitely requires a degree of some sort and a strong understanding of math. Also I would be able to take advantage of the benefits that I have presented to me. Though, I am not completely throwing away the idea of a coding bootcamp. So maybe I might consider it after college or during summer vacation or just when I need a refresher/ career change in cs.

    submitted by /u/Papaadumbass
    [link] [comments]

    I feel like there is a big gap between the code you learn in courses and the half-decent professional code

    Posted: 30 Apr 2021 12:42 AM PDT

    I've been trying to do some tickets and when I read what I had to do I was ?????? where do you even learn this? I am so lost

    submitted by /u/EmergencySeason
    [link] [comments]

    After two years of learning I got my first job

    Posted: 30 Apr 2021 09:34 PM PDT

    Ironically that's only few days before my cake day and I did register on Reddit specifically to read this sub to get motivated and to learn more.

    I want to say huge THANKS to you all, guys. The stories of success, the guidelines to how get one or another thing done right is really gemstone to anyone who really trying to learn programming.

    And some words about my story: I got my degree as Aviation Engines Engineer and closer to the end of University I was feeling like that's not mine in terms of interest, in terms of passion but I was always kind of nerdy and interested in computers so I decided to switch. By the way I had remote job (12h per day, 6 days per week) during the whole story so I did learn in spare time. I did start from C, I was overwhelmed by all the hard stuff and I quit. After few months I said to myself that I can do it and I have to try again. And I did. That was the same result and only on third time I decided to give up on C and switch to Python and Paid courses. I got my course on Udemy and Gosh... That was just whole another story. I was moving fast and I was enjoying that for some time until I hit first learning hell signs (like not being able to make anything meaningful) and I almost gave up again.

    And that was it: I find out about the job offers in my country and decided that Java is my best chance due to amount of information and job offers. I dropped my job and after three and half months of everyday learning I got my first offer one week ago. Today is my first day as Junior Java Backend developer. From the bottom of my heart: Thank you, great Reddit Community! You did a lot for my by just sharing your stories and experience all the time so I decided that It is my turn to make the same.

    submitted by /u/Ashen2b
    [link] [comments]

    I made a tracking system for our small business in Google Sheets but I'm thinking if I can make it with Python instead?

    Posted: 30 Apr 2021 08:34 PM PDT

    Hi! My family has a small retail business. Last year I helped out and transferred the inventory/delivery tracking and reporting system to Google Sheets. They were previously all on paper and computed manually, and then typed into the computer just to print out reports.

    It worked pretty well and eliminated a lot of computing errors, plus we only had about 10 products sold per day and only 2 variants, so it was manageable. But it's a year later, and the sheets file is getting populated and there are features I want to add that isn't native to Sheets (like hiding and locking previous entries but still being able to access them for reporting).

    I have several months of break, and instead of getting a part-time job, I thought maybe I could use the time to re-make the Google Sheets file into a program in Python? I've always wanted to get into programming, and I'm halfway through a Python introductory course and I found it very enjoyable.

    My question is, am I in the right train of thought, going from Google Sheets to making a program from scratch? Is it too ambitious for someone who is just starting out? Are there things I should consider before starting the project?

    submitted by /u/bowdownb4
    [link] [comments]

    Why are a lot of textbooks on algorithms and data structure explained using Java?

    Posted: 30 Apr 2021 11:08 PM PDT

    I swear I see this language used more than the other languages in courses and textbooks teaching algorithms. Was Java the leading language of the industry at one point?

    submitted by /u/imhypedforthisgame
    [link] [comments]

    Would you recommend a course on Functional Programming or a course on Data Structures and Algorithms for a person who's already learned some python but wants to get better at thinking like a programmer?

    Posted: 30 Apr 2021 09:02 PM PDT

    I am deciding between a book on Haskell (with nice projects), Berkeley CS61A (teaches FP through python and scheme, also teaches SQL... and lots of projects), some oreilly vids on Data Structures and Abdul Bari's youtube vids on Algos plus LeetCode, or alternatively CS50's Web Programming with Django and Javascript (less sure on this one because I think I should still learn the fundamentals better better? But has cool looking projects). Any recommendations on resources would be greatly appreciated as well.

    submitted by /u/gtboy1994
    [link] [comments]

    What is correct way to do the projects?

    Posted: 30 Apr 2021 08:02 PM PDT

    I just made a to-do list app by watching tutorial on the YouTube. But now I feel guilty about it as I copied the code from the tutorial and didn't do anything on my own.

    Can you please suggest me what is the correct way to learn concepts so that I can make projects on my own?

    submitted by /u/abhishek_rath_01
    [link] [comments]

    how to improve HTML and CSS skills?

    Posted: 30 Apr 2021 03:23 PM PDT

    Hi all!

    I just finished the HTML and CSS portions for FCC and Colt Steele's Web Dev Bootcamp on Udemy. I feel like I need more practice with HTML and CSS before moving on to JS and everything else.

    I feel the need to become really good at making website layouts and becoming fluent in HTML and CSS before moving on. I can't even make a nice looking nav bar by myself yet haha.

    That being said, are there any other resources I could tap in to in order to improve my HTML and CSS?

    Thanks!!

    submitted by /u/-thaniel
    [link] [comments]

    Pure css alternative

    Posted: 30 Apr 2021 11:22 PM PDT

    Hi everyone,

    I have to do a project for a friend of mine, something really interesting and kinda big. I will use react express and mongo ( maybe graph to learn it ) but I don't know what to use to style it. I used multiple times styled component and kinda like it. I recently discovered Tailwind and people tends to say it good or bad but it's better than styled component for performance.

    I wanted to use bootstrap or material but a lot of people think it's a bad habit which leads to a misunderstanding of css which is not what I want.

    Si what is your advice on this one ? Pure css ( i don't like it beacause I really like the component thinking of react and I know a some point I will have a messy css ). Sass ? Which I absolutely don't know. Styled component ? Which I really liked but know ( a few I don't k ow even 10% of its possibilities ) but makes my component a bit messy (sometimes). Or tailwind which probably makes my component more messy but with better performance ? My objective here: continue to learn css to be good at it and have a good project maybe with a new tech.

    Thank you in advance !

    submitted by /u/lizoym
    [link] [comments]

    Need materials to learn proper authentication patterns and app security

    Posted: 30 Apr 2021 07:40 PM PDT

    I am learning web development, and most tutorials I have seen usually teaches building a single-user app. However, I am trying to learn how to build a multi-user app, starting from how the database is designed for multi-user apps, how passwords are stored, to how routes are authenticated in backend to how username and password is sent to backend from frontend.

    I also want to learn how websites like Reddit or Facebook does it where you can read everyone's comments, but not edit them or delete them.

    Finally, I would also like to learn how to increase security of a website, so that cookies can't be stolen or HTTP parameter pollution are prevented.

    It would be extremely helpful for me if anyone points me towards the resources to learn these topics.

    submitted by /u/Mycroft2046
    [link] [comments]

    What resources do you recommend to learn object oriented programming?

    Posted: 30 Apr 2021 09:30 PM PDT

    As a mecatronics engineering student I'm no stranger to coding, but we mostly rely on structured programming and I struggle some times with OOP concepts. I'd like if you could recommend some starting level course or book on OOP, whatever language is fine although I feel pretty comfortable with python, c++ or JavaScript.

    submitted by /u/rgzarry
    [link] [comments]

    Failing to learn node.js again and again

    Posted: 30 Apr 2021 08:58 PM PDT

    I started my career as a deigner but then moved to frontend development and then CRO.

    Over the past 6-7 years, I have been constantly trying to learn programming languages from ruby on rails to node.js.

    After the first 2 weeks, I still don't go past the fundamentals.I feel I can never learn to code.

    I wish to learn Node.js this year atleast. Any suggestions?

    submitted by /u/KodeFixer
    [link] [comments]

    Some Help On Building A COVID-19 Web App

    Posted: 30 Apr 2021 10:19 AM PDT

    I'm one of those guys who's been learning how to program for the past 3 years but still doesn't know how to make a single finished application or product. I recently saw a COVID-19 website (click here) that uses crowd-sourcing to provide info on the available medicine, oxygen supply, concentrators, vaccines, ventilators, etc. available at different hospitals. This website is for India and I wanted to create a similar website for my country, where there is no such app yet. I know how to create simple websites with HTML, CSS, and JavaScript but I have no idea how I would build something like this, which would imagine, probably consists of a database, back end, and front end.

    The website mentioned that it uses GitHub to host the website and Google Sheets for the database, but I don't know much about how to get that done. Again, I don't require technical details of how I would build something like this: rather only an overview of the structure of different components along with some resources from where I could learn and get started would suffice.

    If someone could just hint me in the right direction or provide some resources from where I could learn I would be extremely grateful. Once again, I really want to help my country and make a difference, but I just need some guidance on where to start.

    Also, Please consider upvoting so more people can see and answer this question. Thank you.

    submitted by /u/ShreeBatsaChaturvedi
    [link] [comments]

    MS in CS from a BS in Business?

    Posted: 30 Apr 2021 11:41 PM PDT

    Hi guys, so I have a BS in Marketing Management but I wish I had done CS instead. You think is it possible for a Business major to do a MS in CS, In terms of difficulty? I'm currently half way done with Harvard's CS50 n I'm really digging the course even though it it's very very challenging. You think CS50 will prepare me for a MS in CS? Would I have to do other courses to prepare myself?

    submitted by /u/rippedtech
    [link] [comments]

    Need help with code

    Posted: 30 Apr 2021 11:40 PM PDT

    class Solution:

    def defangIPaddr(self, address: str) -> str:

    #print(input("Enter a valid IPv4 address > "))

    address_1 = input("Enter a valid IPv4 address > ")

    print(address_1.replace(".", "[.]"))

    defangIPaddr(self, address: str) -> str

    (The above is the code i wrote to take in a IPv4 address and replace all the . with [.] however since i dont really know classes that well or the whole string mumbo jumbo, i am having trouble seeing whats wrong. so i kinda need your peoples help to say whats isnt working)

    (Edit: THis is in python if anyone didnt notice yet)

    submitted by /u/Gaemer-6969-Orey
    [link] [comments]

    Best general programming books?

    Posted: 30 Apr 2021 12:00 PM PDT

    What are some good general programming books u guys recommend, general as in the sense that u will still benefit from the book if u don't the language in the book.

    submitted by /u/Nasridosrs
    [link] [comments]

    Loading Variables from a SQL Database Apache Tomcat. Cannot create PoolableConnectionFactory (Login failed for user 'user'. ClientConnectionId:.....)

    Posted: 30 Apr 2021 11:06 PM PDT

    I'm using Apache Tomcat with SQL to save information from my webpage into an SQL Database, but whenever webpage attempts to access the database, it gives me the error "Cannot create PoolableConnectionFactory (Login failed for user 'user'. ClientConnectionId:.....)"

    My program is using a context.xml file, the contents of which are:

    <Context> <Resource name="jdbc/dealdata" type="javax.sql.DataSource" maxActive="10" maxIdle="5" username="dealUser" password="P@ssword" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://localhost:1434;instanceName=<instancename>;databaseName=assignment2" /> </Context> 

    This was copied from another context.xml file that I used for one of my university classes.

    The username and password match what is written in the context.xml file. But I still get the error.

    Any idea why this is happening?

    submitted by /u/Pr0xy25
    [link] [comments]

    need some baseline to get started on a python project that I am interested in

    Posted: 30 Apr 2021 10:53 PM PDT

    I want to write a script that parses/reads the top voted posts in a music subreddit ( r/music for example ) and find the equivalent youtube videos/songs for it and then updates a playlist with a particular granularity ( say every 24 hours or every week ). I am fairly new to Python and pure programming in general and was wondering if there is a template somewhere that I can refer to if I get stuck or take pointers from. Thanks

    submitted by /u/the_recovery1
    [link] [comments]

    How can I connect my Ubuntu-based local server via the internet?

    Posted: 30 Apr 2021 10:28 PM PDT

    I am trying to access my local Apache2 server via my mobile (which uses data mobile not wifi). I have Ubuntu 20.04 as my OS (I am not using Host provided server) and I have run sudo service apache2 start. However, when I try to access the website with my public IP address in the browser, it doesn't connect. I am a newbie to web development and network. It would be nice if someone could explain and tell me how I could get this done(And what do I need to understand for this?). Would I eventually need a host-provided service to access my server over the internet?

    submitted by /u/poream3387
    [link] [comments]

    c#, how do i understand scope, initializer in or outside of for loop

    Posted: 30 Apr 2021 06:27 PM PDT

    i added example 1 where the initializer was outside the forloop and it worked.

    example 2 and 3 don't work. why is that?

    https://gist.github.com/yoshionimusha/2f04ffd4c6659619cf30f35b0f84419c

    how do you remember. is there a rule to remember when you can keep the initializer outside the for loop. and is there any reason to keep it outside the for loop?

    how do i understand scope rules?

    edit: i understand now why example 2 doesnt work, but why does example 4 work when example 3 causes an error

    both example 3&4 are initialized twice but only example 3 gives an error

    submitted by /u/yyyoni
    [link] [comments]

    I need help with a couple things

    Posted: 30 Apr 2021 10:08 PM PDT

    Is there someone who uses "Nitrado ". If so can I ask u a couple or questions?

    submitted by /u/Cranberry_Famous
    [link] [comments]

    Need Help: Question on Impractical Python Projects by Lee Vaughan

    Posted: 30 Apr 2021 09:49 PM PDT

    This is an incredible book; however, I am stuck on a particular project - Chapter 13 (Simulating an Alien Volcano).

    In it, we are supposed to simulate the volcano on Io, Jupiter's satellite. The code can be found here:

    https://github.com/rlvaugh/Impractical_Python_Projects/blob/master/Chapter_13/practice_45.py

    My query specifically:

    I understand that the displacement of the particles are first calculated by:

    radians = math.radians(orient)

    self.dx = self.vel * math.cos(radians)

    self.dy = -self.vel * math.sin(radians) # negative as y increases down

    and then gravity is added to the Y-axis thus:

    self.dy += Particle.GRAVITY

    pg.draw.line(self.background, self.color, (self.x, self.y), (self.x + self.dx, self.y + self.dy))

    self.x += self.dx

    self.y += self.dy

    Question I have is this: In all of the above, at a certain point, the force of gravity would have to be over-powering enough such that the particle starts coming down instead of going up; however, the self.dy is only a function of two constants (the initial velocity, gravity). So it should continue to go in a straight line. For example, for a particle being ejected at a certain angel (say, z):

    self.dy = self.vel*math.sin(z) + particle.GRAVITY

    Here,

    self.vel is fixed

    z is fixed for each particle type

    GRAVITY is fixed for each particle type

    So, dy will be a equal in measure across any given period of time. Yet, the simulation shows a projectile motion...HOW?

    submitted by /u/rishisaikia
    [link] [comments]

    Company expanding to AI/Data Science (New Realm)

    Posted: 30 Apr 2021 09:48 PM PDT

    Hello World Okay so I really need advice.

    Background: Since September 2020 Ive been on and off (mostly off) in my journey to learning how to program. I first started and completed How to Automate the Boring stff with Python-Udemy, started other courses (tutorial hell) , began a project but never finished... I first started looking into IT (wanna learn hardware basics), programming, and now Cybersecurity. Im know im all over the place but I know that I see myself in the tech field since its so vast and interesting.I completed a Google Analytics course a few months back. I have AP credit in Statistics and just a HS diploma/no college degree... At this point my main interests are learning Python(can use this for cybersecurity too I believe), and finishing that aforementioned project.

    ANYWAYS Recently at work I found out we would be expanding into the Data Science/AI/Analytics field. We might soon be hiring developers and the like. My current position is entry level HR. Cant help but feel disappointed in myself for not being consistent in my studies. I couldve already created programs to automate tasks at work (thats the project i didnt finish). I have so many ideas but I lack the drive/discipline.

    I believe the expansion will occur within the next 6-12 months since its still in the works.

    What certificates or what courses would you recommend to learning more? How can I pinpoint what I want to pursue? Any interesting podcasts? What should I do between now and the next 6-12 months to beast up?

    Basically, what would you do if you were me

    submitted by /u/Slight-Fright
    [link] [comments]

    No comments:

    Post a Comment