• Breaking News

    Tuesday, December 21, 2021

    A few years ago I didn’t know anything about programming. Thanks to you I got a job, and I’ve just launched my dream app learn programming

    A few years ago I didn’t know anything about programming. Thanks to you I got a job, and I’ve just launched my dream app learn programming


    A few years ago I didn’t know anything about programming. Thanks to you I got a job, and I’ve just launched my dream app

    Posted: 21 Dec 2021 12:23 AM PST

    First of all, I want to thank /r/learnprogramming and /r/androiddev. When I had questions you helped me, when I had a bad day - and I had a lot - I read about the journey of people who succeeded in their career change and it kept me motivated.And the mandatory: "Sorry for my English".

    Timeline

    - At 28 I didn't know anything about programming.
    - At 30 I got my first job as a developer.
    - At 32 I lost my job during the pandemic.
    - At 33 I'm launching an app with two friends.

    Some advices

    • Languages and frameworks are just tools. Learn broad concepts, read a lot of code and learn to search on Google / Stackoverflow.
    • I didn't get my first job because I knew all the new trends, nor that I knew perfectly a language syntax and data structures. I got it because I'm always willing to learn, because I enjoy solving problems, because you can't be more motivated than I am and because sometimes you are in the right place at the right time. The right mindset will get you the skills, eventually. And that's what a company should look for in a junior developer. So don't be too hard on yourself, be patient, have discipline, believe in you and believe in others!

    Journey

    At 24 I graduated with a master degree in marketing and started to work in advertising in Paris. From the beginning I wasn't really excited about it, it was boring and meaningless. From being bored I went to being unhappy and it started to affect my personal life. At 28 I realised it was time for a change. And because I'm not always the sharpest tool in the shed I quit without any plan. PLEASE DO NOT DO THAT, DON'T QUIT YOUR JOB IF YOU DON'T HAVE A SOLID PLAN OR A JOB OFFER. I had enough savings to live for 1 year without income. When I was younger I thought about programming but I felt it was too complicated for me. Truth is I was really lazy back then so I decided to give it a try.

    October 2016

    I started to learn HTTP and CSS. I had already learned the basics of the basics a few years ago when I decided to change the colors of a WordPress theme to put my resume on. But I soon realized that I didn't want to create websites, for no specific reason, I just didn't feel like it was my thing.

    November 2016

    I was still attracted to the idea of being a developer, so I looked for a subreddit about programming and went straight to "Which programming language should I start with?". I told myself "well, I already heard about JAVA, I have an Android phone so let's try that". I started with MOOC.fi, it was so hard, I thought HTML and CSS were programming languages and that it would be basically the same. NOPE. But I didn't quit, for the first time in my life I was doing something that was really challenging for my brain, but I knew I was going to understand it at last, no matter how long it was going to take, I was going to get it.

    And believe me it's the same today. Sometimes when I'm learning new things, I still struggle at some point, like 99% of developers, it can be frustrating but then you get it and it's totally worth it.

    December 2016

    By the end of MOOC.fi I realised that I wasn't comfortable with all the basics, so I looked for other resources and tried "caveofprogramming.com".

    John is not just a sexy voice, he is an amazing teacher and made it easy for me to grasp some concepts. I sometimes still refer to its videos when I forget about some JAVA basics.

    January - June 2017

    New year, my goal then was to get a job as an Android developer by the end of the year and of course I didn't. I still hadn't even tried to develop an Android app by then so... After 1 month of JAVA I had a basic grasp of some concepts and decided it was time to learn Android. I read about Udacity and its Android courses on /r/androiddev and gave it a try as the video format suited me well. I've used the free version of the courses and didn't get a nanodegree. Funny thing, nowadays I'm more comfortable with documentation and articles than videos.

    June - December 2017

    I developed plenty of toy apps with Udacity, and did some more on my own. By June I completed all the courses and decided to develop my first app.

    Annnnd… When you're totally on your own and not following any guide it's not the same. So I developed a pollution app, like a weather app with pollution data.

    I learned a lot then. That StackOverflow is your best friend. That you need to think about what you are doing before coding (I had to rewrite this app 3 times due to bad decisions). And that you need to structure your code with an architecture to make your app scalable, otherwise you'll struggle to add new features and update existing features.

    So for a few months I spent my time learning more Java, more Android concepts, making mistakes on this app and traveling. It was getting obvious that this career change would take more than a year and I only had 1 year of savings… I realised it was a lot cheaper to travel in some countries than to stay in Paris. And I felt like I was at a crossroad of my life with this career change, it was now or never to take a real break from everything. I had a great time but I wasn't focused enough on programming to be ready to get a job by the end of 2017.

    In November I published a beta version of the app on the playstore to have something to show during job interviews. When I got my first job I was so ashamed and afraid of the code I wrote that I deleted it.

    January - April 2018

    Back to France. I started to look for jobs in January 2018. I thought I already knew a lot and that I was ready... I sent two CVs to companies that were looking for intermediate Android developers and got two job interviews. Both procedures started with a phone call to speak about almost everything but technical subjects and it went really well. Then I went to the meetings and they asked me questions about data structures, architecture, algorithms, general programming... It wasn't pretty. I was so embarrassed when I was asked about things I never heard about. But the interviewers were really helpful. They told me they were impressed by my motivation, they gave me some advice on what I should learn in priority. Even though I was miles away to get the job it was a positive experience.

    If you're into Android developpement you have probably heard about Kotlin. I took the hype train and I started to learn it. I had never written a library or a CLI program, so I did it with a wrapper that converted pollutant concentration to an index value. I just had a look at the code and I'm not proud of that either, but I won't delete this one, for history… When you feel like you don't progress on your learning, look at some code you wrote a few months ago, and you'll see that you do progress.

    In January 2018 I sent a new application for a junior position. It went really well and they just asked me Android related questions. They made me a verbal job offer, and told me they were going to send it to me by mail in the coming days. I was really happy about that even though it wasn't exactly the kind of company I was looking for. But I never got the job offer by mail, I asked them about that and they told me that finally they changed their mind… If I hadn't asked, I think I would still be waiting. In the end I think I dodged a bullet.

    At this point job interviews were just a way to progress and get homework. One company asked me to develop a basic app using MVVM and the Architecture Components (AC are Android specifics). My code was terrible but I got the idea of code architecture and improved with practice. Another wanted me to use ReactiveX and then I added that to my skill set.

    May 2018

    I started to feel confident enough with my skills. I saw 2 job offers that really got my interest because of the dev stack, the industry and the size of the teams.

    The first company gave me an app to develop using ReactiveX and websockets (which I didn't know). I wasn't afraid to ask them questions about the server when I didn't understand something and I think they appreciated that, I even spotted a small bug.

    I was ashamed of what I sent as it was broken. But they asked me to visit the team and the job interview lasted 2 hours. They spent some time explaining mistakes I made, they reviewed my code and it was the first time someone did that with me. Then they told me that I would get an answer within 2 weeks. I immediately started to improve the app based on their review, and a few days later I sent them an unbroken new version. Few hours later I got a phone call and was told that as I'm extremely motivated they decided to make me a job offer.

    The second company asked me to make a really simple app, I went a step further and gave everything for the design. I had a really good feeling about the manager and after 3 interviews they also decided to offer me the job. I was thrilled!

    June 2018 - June 2020

    I accepted the offer from the second company as I felt like they were eager to teach me stuff. On my first day I was both afraid and excited. But the team made it easy for me. I've been more than welcomed and I wasn't afraid to ask questions if I wasn't able to get the answer by googling. It can be hard to admit when you don't get something but it sucks more to produce broken code, so don't be afraid, everybody has been there.

    I learned plenty in this company, they trusted me enough to choose the architecture and the tools of my choice on Android projects, I've learned the basics of Golang, PHP and I've been introduced to backend development and IoT. I also traveled a bit in Africa. But most of all I met wonderful people, and that's what matters the most when things start to go south. The company closed during the pandemic, we lost our jobs but three of us got along so well we wanted to create something together.

    Now

    We are 2 devs and 1 devops, it wasn't hard to get the idea for our product as we are all gamers. We want to gather all gaming in one app. An app where you can create your gaming profile; publish content about your favorite games; create an Esports competitions for a fun evening with friends or a big event in your city; discover new streamers, Esports events, content & games that match your interests; follow friends and streamers; be notified when someone is live on Twitch…An alpha release of the app is now available on Windows, MacOS, Android and iOS (Linux is coming soon).

    It's been a wild ride, and it started here. Thank you internet :)

    PS: I don't think I'm allowed to post a link or anything about the project in this post, if you're curious about it, contact me in PM

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

    Am I too dumb to code?

    Posted: 21 Dec 2021 12:52 AM PST

    So, I'm educating myself rn on being a programmer in a company. I am mainly doing frontend work but I like languages like java and backend wayyy more.

    The problem is that I literally can't do anything myself. Most of the time I understand the concept, but I still can't do anything myself. People that have never programmed in their life literally are way better than me.

    I'm trying my best but still, I am so slow at everything. I love programming and it is rly fun but I just feel like I am dumb

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

    The Odin Project or Angels Yu's The Complete 2022 Web Development Bootcamp?

    Posted: 20 Dec 2021 09:40 AM PST

    I am conflicted on which one to go with. I know basic HTML, CSS, JavaScript, and React but am stuck because I don't have my own website/portfolio yet and don't know how to get started with that and buying a domain and all of that. I also only have 3 projects. Two weather applications (one with vanilla JavaScript and one with React) and one dictionary application using React. I want to better my coding skills and don't know which one to go with right now.

    What would you do? Do you have other suggestions? YouTubers? Projects?

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

    Am I crazy for learning FORTRAN?

    Posted: 20 Dec 2021 06:27 PM PST

    Hi,

    So before I go further, I want to say that Im very new here so if this is against the rules then please feel free to take it down.

    Ok, so a while ago I decided to start learning a language on my own outside of my college work because I was kinda bored and I thought "You know what, why not?" I was drawn to FORTRAN because of it's history within the Computer Science community (I love old things, so many stories to tell) and because I found the syntax much simpler than C++ which I learned in college.

    The thing is though, when I tell people that I know and actually like FORTRAN, they look at me like I just told them I was secretly Michael Myers. Like, they think that its cool and all but then they look at me and say "Why in the world , out of every language out there that you could possibly learn, would you pick a dying language FORTRAN?" and when I tell them that I actually kinda like it they're like "Again, why?". For instance, I was doing a mock interview for one of my IT classes and I mentioned that I knew FORTRAN and she stopped the interview for a minute because she just could not believe that someone my age actually knew FORTRAN.

    So Im starting to wonder was I crazy to even pick up FORTRAN in the first place?

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

    Any newbies want to start a Discord?

    Posted: 20 Dec 2021 09:03 PM PST

    I'm looking for friends to have along this journey with me.

    I have already dabbled in HTML and CSS but am looking to take the free Harvard courses or something similar to really understand programming before I move on to JS.

    Anyone want to be pals?

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

    How to love python?

    Posted: 20 Dec 2021 08:12 PM PST

    I understand why python is used for data science. You don't know the data, you need to try this and that. You want to run and see how it's changing. And scripting language is what you want. And those libraries written on C really help with running the large datasets fast. But damn … Why large server side apps? Python is slow. It's missing a lot of OOP functionality which provides tools for constructing reusable code. Dynamic typing make troubleshooting much harder. And it also make development harder. If you have a large app you want it to be as clear and transparent as it can be. You want to know what function accepts and returns, for example. At least it's helpful for me. What are the benefits of using it for server side development?

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

    JS 'if' statement only looking at original number and not looking at new updated number.

    Posted: 21 Dec 2021 12:27 AM PST

    The title may be a little confusing but I am currently creating a game and it has a button that makes a number go up. In my html code the number is set to 0 and when I click the button it obviously goes up to 1.

    Now here comes the problem. I made an 'if' statement that looks to see whether the number is 0. If the number is 0 then keep all the buttons as visibility: none; but if the number is anything else other than 0 then keep all the buttons as visibility: visible; Simple enough right? Well apparently not. Doing some troubleshooting I realise that the 'if' statement is only looking at the original code which still says 0. However after clicking on the button inside the browser and going into inspect element shows that the number is now 1. However, it still doesn't work which leads me to believe that the 'if' statement is only looking at the numbers inside the original code and not the changed, new code. This is a pastebin to my code:

    https://pastebin.com/bFzMZj8M

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

    I think I might become obsessed with learning to code

    Posted: 20 Dec 2021 01:13 PM PST

    I've just started learning, doing a front end pathway. So at the minute I'm in the html and css stage. Really enjoying learning it and it's making a ton of sense

    What I've noticed though is I log on with the intention of just doing an hour or two, but I find I'm still there 6 hours later…and I can't peel myself away from my laptop. Even when I've decided I'm wrecked and need to go to sleep, it's still another 2 hours before that laptop lid goes down.

    Am I normal? 🤣

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

    How to create a server

    Posted: 21 Dec 2021 12:08 AM PST

    I want to understand how a server is made. From the ground up. How it handles requests, how the IP becomes public, how it can handle multiple requests at once (like almost any modern server). I am a visual learner but I had trouble finding good resources. Do you know any resources?

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

    [React] How would you suggest one's learning journey?

    Posted: 20 Dec 2021 08:06 PM PST

    Say I want to learn setting up auth in a react app, how would you recommend? Or what do you prefer?

    Pick a "state-of-the-art" library (e.g. react-query-auth) > implement using the library > understand what's under the hood

    Or

    Reinvent the wheel to understand what's under the hood (api call, hooks, state management, etc...) > pick a library > re-implement using library.

    Or

    What do you personally do to learn a new concept?

    I think context may matters also. What would you do if you're (1) working full time, (2) a student on semestral break

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

    I hate Shaders, trying to understand them is making me depressed.

    Posted: 21 Dec 2021 04:02 AM PST

    I'm using Unity. I have a shader from a github repository I hope to contribute to one day. My first goal was to bring the repo in question to the HDRP but everything is pink when converted, specifically anything with a custom shader. I've tried to learn shaders in the past, but I failed. I'm currently watching shader tutorials and rewatching videos I've seen before, as well as some new videos and even some updated videos from creators I've seen earlier. I'm failing again, as I still don't really get them. I also suspect I won't understand them for a while either, which is very upsetting.

    I just wanted to see the project in HDRP. I have an RTX and I wanted to see this project with ray-tracing at some point, but it's looking like it wont happen for a long time. I'm afraid that by the time I find a solution, it will be after a point so far in the future that I will have moved on entirely.. I feel like shit because I've now considered the possibility that I may never understand this, so that point in time may never come, and anytime I come across a project in HDRP, or want to do something with HDRP, I should just keep dreaming instead of wasting my time trying to figure it out. I'm trying hard to convince myself that it's a learning experience and not a waste of time, but honestly, when i look at shader code, or a shadergraph, it may as well be in chinese. I ask myself what did I actually learn about shaders these past few months, and I blank.. so clearly it can't be a learning experience cause I didn't learn shit. This feels hopeless.

    I'm now losing actual sleep over this.

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

    Just got my Bachelor's, but barely know anything. Practice/Learn how to code?

    Posted: 20 Dec 2021 10:07 PM PST

    Does anyone have any good tips or recommendations for practicing code? I recently got my Bachelor's, but I do not feel I can code anything; the last two years of my life and college are a blur of unusual stress, just getting through my classes. I tend to get a feeling of doom whenever I look at coding problems, for there is so much information that I am not sure how to process, but I know I am capable of understanding under the right conditions. I'm finally feeling ready to relax and think again.

    I don't know if this helps, but I am excellent at figuring out math, but never by reading a textbook; I learned from trying to follow the teacher's examples, thinking to myself, and doing worksheets.

    Thank you so much.

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

    I want to learn C++

    Posted: 20 Dec 2021 11:07 PM PST

    I've been primarily a front end dev (JavaScript) my whole career, though I used to do some Ruby work and have did some more backend/node work in the past.

    I've been wanting to learn C++ for a while, in particular I play music and am interested in programming audio software and synths. Anyways, I'm wondering if anyone has some resources for someone coming with a front end background into C++, thanks!

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

    Code not searching for keyword if there is a zip file in the directory

    Posted: 21 Dec 2021 01:03 AM PST

    I have this code where you enter the directory path and one keyword. The program will then search for the word in the files located in that path. Everything works properly but the is one problem i have. As soon as i add a zip file in the directory, the program doesnt work and just give me the exit code 0. Anyone that can help me solve this? (New to python)

    Here is the code:

    from pathlib import Path as path mapp_input = input("Enter path:") mapp = path(mapp_input).glob("**/*") keyword = input("Enter keyword:") keyword_files = [] try: for Path in mapp: if Path.is_file(): with Path.open("r") as file: for line in file.readlines(): if keyword in line: keyword_files.append(str(Path)) found = open("found.txt", "a") found.write(keyword + " found in:" + str(Path) + "\n") found.close() print("Keyword found in:", "\n", str(Path)) else: notfound = open("notfound.txt", "a") notfound.writelines(mapp_input + " - " + keyword + "\n") notfound.close() print("The keyword doesnt exist in any file") break except: pass 
    submitted by /u/ahmedmourad22
    [link] [comments]

    Don't know what language to learn next!

    Posted: 21 Dec 2021 04:35 AM PST

    Hi, r/learnprogramming, I~I need help. I have learned C# and Python and I don't know what language I should learn next, so maybe some of you could assist me..? I'll tell you what I would like: I'd like a strongly-typed modern, general-purpose language that has readable and easy syntax (because I am a noob at programming). It needs to be dynamic and fun to learn. Also, it should have a decent-sized community and have lots of tutorials. I don't mind whether it is high/low-level language. I hope that you can be so kind to help me! 😀 Btw, I'm 14 so it can't be TOO hard!

    Note: I want to use the language to create apps (desktop or mobile [specifically games but, that's not always the case])

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

    Why is that my friends can't execute my app?

    Posted: 20 Dec 2021 10:34 PM PST

    Hi, I'm new the C#

    I made an app. I then got it into an executable but, chrome gives my users a warning that "this app may contain viruses" or something like that...

    Even when they clicked the it's ok button, the antivirus didn't allow the app to get executed and said "Virus Detected". Why is this happening? How is it that the same doesn't happen for apps that I download off the internet? How should I fix this?

    How do you make a Windows 10 app? What all do you do besides writing C#?

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

    Why hasn't there been a larger push to standardize csv?

    Posted: 20 Dec 2021 10:25 PM PST

    I was reading this article and was very confused as to why people aren't standardizing csv writers/readers. Documents such as the rfc4180 standard exist, and other documents that allow people to specify their csv definition such as this exist, but still people keep using csv writers and readers that are "non-standard" leading to slow parsing/needing to write original parsers, and occasionally needing to manually go in and repair csv documents. How can this be repaired?

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

    Switching Career’s

    Posted: 21 Dec 2021 04:15 AM PST

    Hey! I'm sure this question has been asked plenty of times, and if you could just give me your personal experience in the field that would be great. I have strong plans of moving over from my current career in construction to software development. Currently I'm taking classes on Codecademy, and I've bought some courses on udemy. Looking to get PCEP certified in python sometime in January. Basically what I'm asking is how did you guys make the change? What steps did you take to make the full move over to land a job? I know how competitive this field can be and I'd like to hear how some of you did it. Was it self taught, boot camp, college, getting as many certs as possible? Also one last thing. I've been snooping around on indeed, and I've noticed that almost every job asks you to cover pretty much every language. How should I go about this? I plan to start a boot camp in August, and go from there. Thanks for your time!

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

    [C++] Having trouble passing stuff through reference between functions

    Posted: 21 Dec 2021 04:02 AM PST

    Hello!

    Here's the function I'm having issues with:

    void KF_fill (cv::Mat &meas, cv::Vec3f &odometry) { meas = cv::Mat::zeros(cv::Size(1, MEAS_SIZE), CV_64F); std::cout << "odometry: " << odometry[0] << std::endl; std::cout << "meas: " << measurements << std::endl; meas.at<float>(0,0) = odometry[0]; meas.at<float>(1,0) = odometry[1]; meas.at<float>(2,0) = odometry[2]; std::cout << "meas: " << meas.at<float>(0,0) << std::endl; std::cout << "meas: " << meas << std::endl; return; } 

    I initialize the cv::Mat meas inside the main function cv::Mat measurements;

    Then when calling KF_fill I do KF_fill(measurements, odometry);

    The odometry vector is (1.5, 4.5, 3.5)

    While executing, the first 2 couts have the proper value for the coordinate (1.5) and a matrix of [0, 0, 0]. But then I expected meas to be [1.5, 4.5, 3.5]' when instead it show random values. I am attributing the value in an incorrect way and I'm hoping you guys can show me some light in how to fix this.

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

    CS8600

    Posted: 20 Dec 2021 08:22 PM PST

    string name; name = Console.ReadLine(); Console.WriteLine(name);

    I dont know why this not working...

    The error happens in ReadLine

    But if a try the same code in a web or mobile compiler it works,it's only happens in visual studio why?

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

    Why is the .innertext not working?

    Posted: 21 Dec 2021 03:51 AM PST

    https://pastebin.com/TXhv6X18

    in my js code I have a function (line 176 of pastebin) that has a line of code with .innertext (line 178 of pastebin) However when I do the alert("playerHealth) it gives me undefined. Any ideas as to why?

    also, on line 20 and 21, i would like the thing to display 100% instead of 100. But putting the '%' causes the parseInt() thing to break cuz it has a '%' so how do i resolve that too?

    thanks in advance

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

    C# need help with cursor

    Posted: 21 Dec 2021 03:16 AM PST

    We got an assignment in school to make a game where you have to click tiles that are colored differently then the other tiles. I made the whole thing and everything works, but I have to add so that when you put your cursor on a tile (which is a picturebox), the cursor changes from arrow to hand, and I have to write the function myself, where it checks if the cursor entered the colored tile and if its hovering on it, i cant just do it on the event of each picbox. Sorry if its confusing or if this isnt even the right place to post, i checked stack overflow and there solutions dont work for me for some reason.

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

    Starting my career change, need help/advice learning how to code and prepare for boot camp?

    Posted: 20 Dec 2021 11:25 PM PST

    Hi everyone. Your feedback is greatly appreciated. I would like to say that I am in progress of a career change to become a software developer or jobs in the tech industry. My current degree has nothing to do with computer science but I wanted to try this since many of my friends who are C.S. Majors have recommended this to me because before in the past, I was interested in customizing myspace. But that's about it. I know nothing about computer science but I really want to go for this. They recommended I learn coding, take some practice courses, and enroll myself in a boot camp. I'm currently learning Javascript, but I would appreciate if someone could break it down what it is i'm supposed to be learning? (ex: the basic things I should be learning) I'm really confused and don't quite understand and quite frankly scared for the boot camp. I'm at day 1 and i've been watching tutorials on Javascript but don't really know what i should be absorbing.

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

    Div still visible even after setting visible = "none"; in javascript

    Posted: 20 Dec 2021 08:59 PM PST

    js code:

    function stage(){

    const stageGoUp = document.getElementById("stageUp");

    const monsterGoUp = document.getElementById("monsterNum");

    const stageNumber = parseInt(stageGoUp.innerText) + 1;

    const monsterNumber = parseInt(monsterGoUp.innerText) + 1;

    stageGoUp.innerText = stageNumber;

    monsterGoUp.innerText = monsterNumber;

    if Number(stageGoUp.textContent) === 0 {

    document.getElementById("innerHealthDiv").style.display = "none";

    }

    }

    html code:

    <div id="stageUp">0</div>

    <div id="innerEnemyDiv"></div>

    currently the div is still visible but i want it to disappear

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

    No comments:

    Post a Comment