• Breaking News

    Wednesday, April 28, 2021

    Completely failed my first ever freelance job learn programming

    Completely failed my first ever freelance job learn programming


    Completely failed my first ever freelance job

    Posted: 27 Apr 2021 04:15 PM PDT

    I couldn't put together a navbar. I couldn't even make a dumb navbar without something going wrong. It's 4pm now and I've been working on it for 9 hours straight, must have went through a hundred different websites and videos.

    I'm just in total disbelief I've made websites before but I totally panicked cause he had specific layout he wanted and I just kept panicking while working, got a really bad headache and tons of stress now, the hours kept flying by and nothing was getting done.

    Just sent him an email saying I can't do it and I was too embarrassed to read hes reply so I just ignored it. I'm seriously thinking of giving up programming completely.

    submitted by /u/Sea-Simple-971
    [link] [comments]

    What do you do when you get bored of working on a coding project?

    Posted: 27 Apr 2021 01:33 AM PDT

    I've been working on a full-stack app for about a month now, and I'm starting to get bored of the mundane tasks I have to do along the way. I love planning out the architecture and writing the actual code, but there are other parts that are dragging me down, specifically UI design and documentation. I still work on the project for a couple hours a day, but I'm starting to feel a sense of dread whenever I think about it.

    TL;DR

    How do you continue to work on and finish a project you're bored of instead of quitting and starting anew?

    Any help/advice is appreciated.

    P.S. In case you're interested, the project is named Homina 👥. It's a cross-platform contacts storage application. Think Google Contacts, but open-source. Here's the GitHub repo:

    https://github.com/roshennair/homina

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

    Holding myself accountable

    Posted: 27 Apr 2021 10:20 PM PDT

    So I'm posting this to hold myself accountable. They say that you are more likely to accomplish your goals if you tell others. My goal is to be able to be able to create an Android and iOS app within a year.

    I am starting with learning Java and am doing the free mooc.fl course. I'm halfway through part one.

    In addition to holding myself accountable, I am also receptive to suggestions on what to do next.

    Just thought I'd share. I really enjoy this subreddit and have found it very useful and encouraging.

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

    I’m self taught and I really want to understand how to program beyond a surface level. I don’t want to be a basic developer. In other words, I want to know where I can learn CS topics so I can really be able to tackle any type of programming task.

    Posted: 27 Apr 2021 09:22 AM PDT

    If I want to really know backend work, what can I do to get there? I'm teaching myself calculus, linear algebra, probability, and discrete math. I'm also trying to learn c# as well to start making programs I'm interested in. But how do I know I'm improving? How do I know that with each project and each math course I learn, I'm applying the information I've learnt and develop new skills that companies would find valuable. I don't want to make projects if I don't keep learning because that's the valuable part for me in this field.

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

    Can you learn programming via phone?

    Posted: 27 Apr 2021 11:29 AM PDT

    Is it possible to learn coding from phone? Like watching youtube videos?

    I only own a phone with decent service/ reception.

    Live in my car.

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

    When to move on from CSS

    Posted: 27 Apr 2021 03:11 PM PDT

    I apologize in advance if this question gets asked a lot. I've been really focusing on my css grid and flexbox knowledge, but don't know what to do next regarding css. The only next step I can imagine is learning css-animation and bootstrap, but I have no idea if that actually makes sense or not. Could anyone tell me what the logical next step would be? Thanks!

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

    Recommendations for course guides out there to teach programming basics and React?

    Posted: 28 Apr 2021 12:43 AM PDT

    I'm a senior software engineer. Over the past year I've had many friends telling me that they wish to learn programming.

    Now I have no problem teaching them concepts and explaining to them and helping them with their code. The problem is that I simply don't have time to plan some 'teaching guide / course' for them, nor do I have the time to come up with assignments for them to do every week.

    I'm hoping to find some sort of course out there, complete with lecture slides and complete with assignments, that I can just use to plan the teaching syllabus and to just use the assignments straight away without requiring any effort on my part to come up with the syllabus.

    Does anyone have recommendations? I'm looking for the following:

    • Computer Science 101 (ideally Typescript, if not I'll just adapt it accordingly)
    • React
    submitted by /u/aelesia-
    [link] [comments]

    Should I learn C# or C when I already know C++?

    Posted: 27 Apr 2021 11:42 AM PDT

    I just finished a C++ book (Sams Teach Yourself in one hour a day) and now I'm contemplating whether to learn C or C# and I want to know if it's necessary to learn them. Are The Differences that big between C, C#, and C++? If so, what are the differences? because I'm just a beginner and I would like to know more about programming.

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

    Static Site vs Client Side Rendering vs Server Side Rendering

    Posted: 27 Apr 2021 09:35 PM PDT

    From my understanding, Static Sites are simple HTML/CSS/JS files that get transported to the user (really fast). Client Side Rendering (react) sends the user a blank HTML doc from the server and then the Javascript decides what to render based on the User's interactions on the client side (pretty fast). And then Server Side rendering (CMS) decides what to render on the server before sending it out to user (slowest).

    1. Is this correct? If so, why is Static Site and Server Side rendering better for SEO? Is it because the content is already generated for web crawlers to find?
    2. Additionally, why might one use a Static Site over a CSR solution like React? Is it because React requires a server, isn't as optimal for SEO, and isn't as fast as Static Site? Any other reasons?
    submitted by /u/gflovesautomatic
    [link] [comments]

    jq - Merging two JSON Objects

    Posted: 27 Apr 2021 11:10 PM PDT

    Hi all,

    I have the following two json files and I am trying to merge the DEV object.

    jsonFile1:

    { "ENV": { "DEV": {}, "ST": { "middleware": [], "system": [], "application": [], "utility": [] }, "ESIT": { "middleware": [], "system": [], "application": [], "utility": [] } } } 

    jsonFile2:

    { "ENV": { "DEV": { "middleware": [], "system": [], "application": [ { "artefact": "abc", "domain": "df", "hostname": "sfa", }, { "artefact": "awe", "domain": "csd", "hostname": "wer", } ], "utility": [] } } } 

    Expected Resulting Json Fi:

    { "ENV": { "DEV": { "middleware": [], "system": [], "application": [ { "artefact": "abc", "domain": "df", "hostname": "sfa", }, { "artefact": "awe", "domain": "csd", "hostname": "wer", } ], "utility": [] }, "ST": { "middleware": [], "system": [], "application": [], "utility": [] }, "ESIT": { "middleware": [], "system": [], "application": [], "utility": [] } } } 

    I have already tried:

    jq -s '.ENV["DEV"][] * .ENV["DEV"][]' jsonFile1.json jsonFile2.json 

    However that raises the error 'Cannot index array with string "ENV"'. I can also delete the '"DEV": {}' object out of jsonFile1 if that makes the merging process any easier.

    Any help would be appreciated.

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

    Am I ready?For a job or internship...

    Posted: 27 Apr 2021 07:21 PM PDT

    --> i have good grasp of fundamentals, and I can build small projects, I know how to scrap and automate some things and little of version control. Am I ready for applying job?

    --> I can solving basic coding problems on codewars, hackerank and projectEular... Am I ready for applying jobs?

    --> I am going to get my hands dirty with django framework soon, so will I be ready after having some projects under my belt?

    I know that the learning will never stop no matter what or where I will reach, but I just I wanted to know what I am lacking in and what are the things I must learn or am I doing things right way? I Would appreciate if some experienced friends will advice me please

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

    [C#/NetCore] When creating an account do not wait for email to send before returning a response?

    Posted: 27 Apr 2021 10:55 PM PDT

    Hi,

    My current flow is as such, request goes into API Controller, this calls a Service layer, the service layer creates the account and at the end has a EmailService invoke a method which sends an email. Functionally this works well, however, the response time slows down due to having to send the email before returning a result to the frontend. How would I go about completing this? (Flow I want to achieve)

    I have tried to mark the relevant methods using async and await but the response time is the same, which leads me to believe that I have mis-interpreted the usage. Thanks in advance!

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

    Self-taught and hired as a junior dev! 3 weeks to prepare... what to study?

    Posted: 27 Apr 2021 09:38 AM PDT

    I made the switch from sales to our development team as a junior thanks to a lot of the resources shared here, so thank you to this sub.

    I've got 3 weeks for the transition to be complete. So I'm going to use all my free time to prepare and on ramp quickly without too much headache for my seniors.

    We're a SaaS application built using the .NET framework. C#, SQL, and Angular for the front end.

    I mainly practiced fundamentals in vanilla JavaScript. I'm only starting to learn C# and Angular and have built a really basic MVC app.

    How would you use your time to prepare? Grind more practice JavaScript problems, do more C# tutorials, study data structures and algorithms, add features to my MVC app, etc.?

    EDIT: in case anyone wants to know, I primarily got this job by networking internally. I asked a lot of questions of multiple decision makers and communicated my intentions to move to development at some point, and asked for steps for how to make it happen.

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

    I need tips, i really want to learn programming

    Posted: 27 Apr 2021 07:37 PM PDT

    I create this post because I am learning to code by following a course in udemy (Javascript).

    I feel pretty bad when I can't complete an exercise on my own and when I see the answer that was simple ... I have the feeling that maybe this is not for me, but learning to program has become a challenge in my life and this time i dont I want to abandon it again. (since 2017, several times I have started to learn and in the end I quit).

    How do I improve my logic to be able to complete exercises / problems on my own and stop getting stuck, get rid of the idea that I don't have that gift of being a programmer?

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

    A good small-scope cloud-based service project for a beginner?

    Posted: 28 Apr 2021 01:21 AM PDT

    My last college course of the semester is about cloud services, and instead of writing a lenghty paper about an area related to the subject I have been given the option of developing a concrete cloud service of my own and documenting the process.

    This sounds a lot more attractive to me as I imagine having that to show potential future employers would be valuable.

    Googling for ideas online gives ideas that are more directed for innovative startups, but I just want something small-scope and concrete. Preferably something that makes use of another cloud service (like, an API I guess) as well.

    Maybe it's not the right sub to ask for project ideas but... Anything you'd recommend to a beginner to cloud stuff?

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

    How to best prepare for CS degree?

    Posted: 28 Apr 2021 01:18 AM PDT

    I start my CS degree in around 6 months time at a mid-tier university in the UK. I was just wondering if people have any recommendations on how I could best prepare myself for this? I've already emailed my course leader and he's sent me a few lectures to watch and actually himself recommended this subreddit to visit. The university make it aware they'll teach us everything but I'm keen to learn and would like to get a head start, be that on the theory or practical side.

    I don't have a vast amount of previous knowledge, but I enjoy learning about computer science and programming. Currently following this syllabus - https://www.google.co.uk/amp/s/amp.reddit.com/r/learnprogramming/comments/i9vuhr/i_wrote_a_syllabus_for_learning_python_and_django/ and nearing the end of 'How to Think Like a Computer Scientist', enjoyable but the exercises are hard work and I feel like they go in deep too quickly, although this could just be me.

    I have around 10 hours a week to study as I also work full time until university. Should I continue with this syllabus or is my limited time better spent elsewhere?

    Thanks

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

    Need help finding the error

    Posted: 28 Apr 2021 01:07 AM PDT

    The login function doesn't work. And I have no idea why. I have similar functions in my project and they work fine.

    I am a newbie. So I am sorry for the bad programming practices in the code.

    PS. This program uses file handling but I am still gonna share the code through an online compiler.

    https://onlinegdb.com/Hk4rDqLvO

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

    selenium send_keys() not working on github login

    Posted: 27 Apr 2021 09:15 PM PDT

    So I'm just tinkering with some web automation and was trying to automate filling in username and password, but the send_keys() function does not seem to work when done consecutively...

    The code:

    from selenium import webdriver
    from webdriver_manager.chrome import ChromeDriverManager

    browser = webdriver.Chrome(ChromeDriverManager().install())

    browser.get("https://github.com/")
    signin = browser.find_element_by_link_text("Sign in")
    signin.click()

    login = browser.find_element_by_id("login_field")
    login.send_keys("------")

    password = browser.find_element_by_id("password")
    password.send_keys("------")

    Could some please help me out? The send_keys() are not working and cannot fill out the fields above. The send_keys() work if it is done one at a time, but not twice at once...

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

    Should I start learning a new language?

    Posted: 27 Apr 2021 05:10 PM PDT

    I'm in high school and have been learning python on my own for around 3 months now. I'm not 100% sure what I want to do with programming but game development seems really interesting. I wanted to know if I should begin learning a different language and kinda put python to the side for now. If so, how long do you think I should wait to begin learning a different language?

    If it wouldn't be bad to learn something new, which language should I learn? I have heard that c++ is great for game development however it is difficult to learn. People have recommended c#. Eventually my goal would be to create a multiplayer FPS so what would suit this interest?

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

    New to coding! Looking for a way to virtually test a physical device due to physical disability.

    Posted: 28 Apr 2021 12:35 AM PDT

    Hey everyone! I'm super new to this whole thing. The most I've done regarding scripting involves SUPER entry level AutoHotKey scripts and editing clearly defined existing scripts, so nothing great, just slightly more familiar with syntax than most. I want to be able to use Arduinos (and hopefully app development but that's for much later) to automate certain tasks or just even manually activate a motor, circuit, etc. to make stuff more accessible. For example, turning on and off a light switch, but that's far from the only use I'd like to learn.

    Because of my disability, I actually won't be able to physically do much of any of the physical work myself beyond the coding. Soldering, wire crimping, etc. BUT I'm very good at explaining what I've learned. For all intents and purposes, I'll have hands like they're my own. The problem is that I don't have much to work with in trial and error in practice....so I'll have them when I'm prepared. Which is absolutely not how engineering works, but hey. This might be a huge stretch, but I figured I'd try just in case. Is there any way I can manipulate a virtual Arduino device? wires, solder, etc. Any website where I can write code and put it to the test in a virtual format?

    Any suggestions would be fantastic, including which resource/class to start with! I'm currently just looking at Skillshare.

    TL;DR: I watched far too many engineering videos and now I want to make some things that'll improve my life, and eventually probably also use this newfound power with great irresponsibility, but I'm not physically strong enough to trial and error as much as most with hardware. Any suggestions?

    Edit: My apologies if this is the wrong sub! I figure that I can at least narrow down a scripting language suggestion for my uses if nothing else.

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

    High score in java

    Posted: 27 Apr 2021 08:35 PM PDT

    Hello people. I have to do a game in java, and I wanted to show a high score list in the game. My question is, do I need a database to save the scores or in can do it just with java?

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

    [Android, Java] Parsing big xml files and importing it into Room database

    Posted: 28 Apr 2021 12:20 AM PDT

    Hey, after app is installed i need to download xml file (which is easy, then i need to decompress it (easy as well.) but then i need to parse the contents into room database.

    The thing is that the decompressed xml has approx 250 MB, which is quite a lot and during the normal parsing, first there happened - out of memory exception - because i was trying to parse whole xml at once, which is quite bad, i know, but at least i tried.

    Then i was thinking that - ok, so i need to make chunks of it and insert these chunks time to time during parsing - but the java.util.ConcurrentModificationException happened, because i am inserting the same arraylist into db and changing him at the same time during parsing.

    So now i was thinking that i should make a deep copy of a list at the time when i want to insert it into db, but i ran into the OutOfMemoryException again. So my questtion is, what would be the best option/pipeline? Thank you in advance

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

    Hi! I'm 20 years old and I'm learning programming but I really feel lost rn. Is it normal?

    Posted: 27 Apr 2021 11:58 PM PDT

    And also any tips on how to stop procrastinating?

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

    Should I move on from HTML to get into Python?

    Posted: 27 Apr 2021 11:54 PM PDT

    2 months ago, I did a Python tutorial in a website with some exercises. It was a really basic and short introduction, but I really liked resolving the problems and it definitely made me get into programming. After that tutorial, instead of learning more about it and doing more projects, I started a HTML and CSS course on YouTube. I completed almost half of the course and I do enjoy learning it, but, in the end, developing websites does not interest me. Should I just finish the course and then get back into learning Python or just get back into it already?

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

    Suggest Websites like codegym but free.

    Posted: 27 Apr 2021 11:38 PM PDT

    Hi guys , I'm a newbie learning java through the mooc course. But I'm looking for an extra resource with practice problems so that I can code better. I looked up the internet and many were suggesting codegym and codecademy. I really loved codegym how they organized problems like a game ranging from easy level to hard. But I found that both of these resources are paid. Is there any website like codegym where I can practice java from easy to hard level? Or should I start practicing with lower level projects like tic tac toe , calculator and some other beginner projects found in the internet?

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

    No comments:

    Post a Comment