• Breaking News

    Friday, January 28, 2022

    I'm starting to get the hang of programming, and can finish any project so far, here's my secret learn programming

    I'm starting to get the hang of programming, and can finish any project so far, here's my secret learn programming


    I'm starting to get the hang of programming, and can finish any project so far, here's my secret

    Posted: 28 Jan 2022 01:13 AM PST

    Lately, I've found I've been able to successfully make whatever I'm attempting in any language I'm trying to. Without failure.

    Am I smart? Well, in school I was a C to D average student. F in math. I was a big quitter because most things just seemed too hard for me.

    Now I've never worked on a team, my projects are not hugely scaled yet and I'm not claiming to be an expert in this field.. I'm not, so take my advice with a grain of salt... or try it for yourself risk-free.... but here's the formula that has been working for me. Any tips, advice or criticism on my simplistic view is welcome... I'd love to hear from some experienced developers:

    1. Start with a visual reference of your project or at least the scope of what you're working with.
    2. Pick one thing at a time to work on in your project. (for a web developer it might be a button, or game developer maybe the player's jump method) Simple task board might help with this.
    3. Break that down to one instruction / one step at a time and code it that way. Anyone is capable of understanding a single instruction. And even complexed systems are built piece by piece.

    Now there is much more involved in being a great programmer I'm sure, but I've yet to come across a problem I couldn't solve, or something I couldn't create while adhering to those 3 principles. Don't make it too hard for yourself, especially when, you're just starting out.... or if you're constantly getting stuck and frustrated. You'll learn better when you aren't stressed. I also recommend immersing yourself in the environment (watch a random developer video for fun sometimes, not just to make something work!)

    I also left out that after step 3 there will is tons of debugging and tweaking until you get your desired outcome. You'll always have to debug, but it's way more often at first, especially as a beginner when you're forgetting things like semi-colon, what the different operators do, and what code goes in which curly brackets.

    Hopefully someone finds this useful, and keep working towards your goals!

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

    [META] Could we have an "Am I too young/old" filter?

    Posted: 27 Jan 2022 02:33 PM PST

    Maybe a post that references people to or an automod responder and have the post closed.

    These posts occur multiple times daily and focus on the topic of age rather than useful information to get these people started on the right track.

    They should create a new post with easily identifiable information such as:

    Have you coded before?

    Are you looking to get a job or do it as a hobby?

    If a job, what kind of time frame?

    How many hours will you dedicate a week to learning?

    I'm sure there are more valuable questions that could be added. Thoughts?

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

    Do you want to be a mentor for a motivated student in kenya learning javascript?

    Posted: 28 Jan 2022 02:04 AM PST

    Hello,

    we (source humanitarian network) are a small NGO co-operating a computer center in the refugee city Kakuma, Kenya. Kakuma is home to 200 000 refugees primarily from Somalia, South Sudan and Ethiopia. The computer center provides education for about 200 students per month. Courses include programming and marketing, as well as life philosophy and female empowerment.

    For programming we are concentrating on a web development course, where the students are learning HTML/CSS/JS basics and working with a popular framework like react.js.

    Students have basic IT-knowledge, but would heavily benefit from a kinda experienced (1+ year professional work or analogous) mentor, who invests about 2-3 hours per week looking through their code, explaining concepts, reassuring them in their learning path, etc.

    ...If you feel like you read this before. I'm very happy that social media consumption did not destroy your memory :-) We did indeed have a similar call for mentors last year(https://www.reddit.com/r/learnprogramming/comments/kl69zg/do_you_want_to_be_a_mentor_for_a_motivated/) which worked out great, even so we were a bit overwhelmed and I want to say sorry if we did not get back to someone who showed interest.

    With the feedback from the mentors and mentees we improved our course and the definition of the mentorship role in general and now we are looking for new mentors! As a mentor you would review a task from your mentee every week and would make some time to be available for questions or provide some guidance in general. We also highly value the personal connection between mentor and mentee, but think it's best to have a small, well defined task at the beginning and slowly develop a more profound relationship over time.

    You are the perfect mentor if you have some professional experience with JS, are comfortable speaking and writing in English, do not get frustrated all that easily and can commit yourself for 6 months.

    We can't pay you for your engagement, but hope the chance to help and build a connection with someone at the start of their learning path and in need of your guidance is enticing enough to raise your interest! If so, we would need some basic information like your name, timezone and professional and educational background, especially related to javascript. Also if you want to start right away or with the next course in May or June. If you dont want to be a mentor but want to help organising, thats also an option. You can write here or even better at [info@source-network.org](mailto:info@source-network.org) or https://source-network.org/mentorship-program/#mentorship-form. Of course we are also happy to answer any questions that arise and If you are interested, we would have a call and explain the general procedure in detail. Thank you for your time!

    Hendrik from source humanitarian network

    submitted by /u/source-network-org
    [link] [comments]

    What can I do with Python?

    Posted: 27 Jan 2022 12:04 PM PST

    Hey guys, newbie to coding here. I was told to learn a language and stick with it, so I chose Python. Been at it about a month and at the point where I'm learning how to def _functions(): & how to build a snake game, but what kind of job would I be able to get with skills in Python? Thank you all for you time. Best wishes

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

    Starting to learn programming at 32

    Posted: 28 Jan 2022 05:20 AM PST

    I have picked up a few Udemy classes. One of them was zero to hero SQL, zero to hero python, machine learning and data science, and Java bootcamp all from Jose Portilla.

    I have almost completely finished the SQL bootcamp and was going to start on the python courses next.

    My question is: is learning Java relevant anymore or would I be better off by learning Kotlin or Scala instead?

    I only ask this question because I came across an article saying Java is the 3rd most commonly used language, but Kotlin has replaced it in the Android market in 2019.

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

    Manager's asking me which career path I'm interested in, which technology is good to do as a living?

    Posted: 28 Jan 2022 02:25 AM PST

    Hi guys, good day. Just wanted to ask for advice. My project manager at my current company is asking which career path I'm interested to go to. Actually I was hoping to get into the hardware side of tech, like using soldering irons and the like to make chips or machines. But he said that currently the company only deals with software (although I know the parent company really is into manufacturing super computers and most probably microchips and the like..). So I told him that if it wasn't hardware, I'd choose front-end web development (html/css, javascript, and Angular or React), since I'm interested in art and graphic design I thought making pretty webpage would be up my alley. Then my 3rd choice I told him maybe I'd just go into Spring/Spring Boot programming since my main language is Java. Just wanted to ask what's a nice path to go into from here, what are the current trends and what are tech employees like me are doing nowadays that I'm not aware of. I just mostly know the popular tech like web dev, spring, python and the like. They actually offered to hold a training in VBA and thought that maybe is ok. I also reached the rank of ranger in Salesforce trailblazer and I think they are going to let us take a certification test (for salesforce admin, since dev I found really hard...) in Q1 or Q2 of 2022. Any suggestions? Thanks.

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

    For a newbie, is learning HTML before anything else a good choice?

    Posted: 28 Jan 2022 03:38 AM PST

    Have very minor coding experience, made some scratch projects when I was younger I guess.

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

    Am I to old to learn program?

    Posted: 28 Jan 2022 07:50 AM PST

    Hello my name is Isaac and I am a mathematician, physicist, astronomer, alchemist, theologian, and author. I have done much with my life but am wondering if I am in fact to old to learn program at the age of 378?

    Thanks, Sir Isaac Newton

    submitted by /u/Randy-DaFam-Marsh
    [link] [comments]

    I think I'm being over-utilised for a junior dev directly out of college

    Posted: 28 Jan 2022 07:19 AM PST

    Tdlr; Feels like stuff I am doing should be done by a senior dev.

    I have been given ownership of a project critical component, that i believe should've been given to an experienced dev. I the beginning, we're understaffed, so for meantime I was given that task. Later devs came but noone assigned to my component.

    Also that is totally new tech to me and other devs in team (basically everything is new to me). And I'm I am very stressed about my responsibility and expectation from me. It doesn't help seeing very less expectations from other 2 junior devs (2 years both) in team.

    The more I complete, more task is assigned to me. Now I don't want to put efforts. Delivery date is approaching, and I know it's going to be lot difficult then. Even if I quit now, there's a 30 day notice period.

    I think of quitting everyday. I'm confident I can get new job but afraid that every dev job is like this and Im only being lazy. Then no point in quit, I'll need to change path to less stressed job.

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

    Frontend for someone without design skill?

    Posted: 28 Jan 2022 05:56 AM PST

    Hey, I've been learning frontend technologies for several months (HTML, CSS, JS, TS, I'm slowly getting closer to React), but to be honest I don't think I feel it. More specifically, I am tired of developing the layout of the page, then arranging it in HTML and CSS. It's nice, because we have the visual effect of our work, but still, especially since I don't have such a design sense. The best fun for me begins only with the use of JS (so, let's say I like coding part, not putting elements with HTML and CSS). I was about starting with React now, but to be honest I started to wonder if it makes sense to continue it in this form, or maybe it would be better to try pure coding in the backend. What do you think? Can these design skills be learnt, and the HTML / CSS problem may decrease when entering the world of frameworks (less connecting elements in HTML, more programming)? Or maybe I should give up and try learning some backend tools? If the latter option, then I would also ask for advice on what to pay attention to (I mean languages, frameworks), if I am mainly interested in webdev (i think about .net or java). The only thing I am scared about web backend is that I am pretty bad at math, algorithms. I know it's almost not needed in frontend, but in backend it is i guess.

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

    Has anyone else just gotten to the point you are just stuck in this numb mindset when it comes to help forums online?

    Posted: 27 Jan 2022 01:56 PM PST

    It's like i have hit a wall and I can't take people seriously. I look at so many responses and just take it as a big joke. And it just causes me to not participate. I used to run through and help on specific sites, but I feel like it's just getting worse and I just can't take anyone seriously which does this thing in my mind where I see them as having no credibility. Is there a way to get past it? I loved helping for certain API libraries, but the people are just driving me away.

    I was in /r/learnpython today and this person had code that should have been working. There was one thing wrong with the code. It was a simple mistake. All of their code was good, but when they called their function - they weren't actually doing anything with it. That was it. They could have wrapped Print() around it and it would have worked / been testable.

    But no one saw that. Instead they were too busy crapping on them. The question was asking why the piece in the function wasn't outputting. And every one just kept suggesting over and over and over what this person already had and tacking on - "You need to get back to basics!"

    And the whole time I am thinking, "This is /r/learnython not /r/pythonexpert5000. And.. They're clearly working on the basics. There were maybe 25 comments in that thread, not one person actually looked to see what the real issue was. They just were using the post as an opportunity to shit on someone.

    I messaged the person the problem - told them t do something with the function, they tested and said it worked. Then they thanked me an deleted their post. Because it was a useless post at that point, and there was nothing for anyone to gain.

    If the whole situation had been handled with kindness, maybe someone would have seen what the real problem was, OP could have put the solution in their post, and someone down the road could reference it for help. But instead we have a deleted post and someone reluctant to ever ask for help online again. And maybe they even discouraged this person on working on their project / learning.

    I just can't take these people seriously.I am to the point I assume everyone is just trying to troll.

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

    Need help understanding distributed system proof on consensus problem

    Posted: 28 Jan 2022 06:53 AM PST

    https://ibb.co/kmpGXcK

    https://ibb.co/r2qrwJy

    https://ibb.co/MRfhjSy

    that's the proof, i have no idea of why it should even work in that way and why do we need that ring

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

    Degree vs. Advanced Diploma Differences (Canada)

    Posted: 28 Jan 2022 06:53 AM PST

    Hi Everyone,

    I have applied to a Computer Programming & Analysis program for May 2022. It's a three year program which includes a co-op. At the end, I would receive an Advanced Diploma.

    My question is, how does an Advanced Diploma compare to a Degree within this field? Will it make that much of a difference? The program I applied to has multiple pathways to get a degree after completion. Going directly for a degree isn't possible because I haven't completed high school.

    I know there is self-study and other free/cheaper/faster programs I could do but I need the structure and deadlines that school provides.

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

    Doubting myself.

    Posted: 28 Jan 2022 06:38 AM PST

    I'm in my last semester, studying to become a System Developer. I've been at this for 1,5 years now, supposed to graduate this spring. I've been excited and eager to learn as long as I've been studying, and I have always succeeded to grasp whatever concepts or techniques we've been using.

    Right now though, I'm struggling. I feel like I've forgotten all that I've learned, and the project I'm currently in feels overwhelming to me.

    I'm having a hard time getting out of my head about this feeling, and it's really bringing my motivation to a halt.

    Just needed to get this out there, hopefully I'll find my way back. If you have any advice, I'll gladly take it. I know feeling like this is quite common among programmers, I was just taken by surprise when I started feeling like this myself.

    submitted by /u/H-Lunulata
    [link] [comments]

    learning javascript

    Posted: 28 Jan 2022 06:36 AM PST

    hello everyone!

    i want to learn javascript faster, and i want to learn by writing code by myself, searching on google for the answer, and so on, I am tired of courses, for me, those does not work so well, i get very bored during the course and i lose my focus.

    Do someone know some websites (free or paid), that get you some tasks to do , or simple projects, or something to get me going on the road of frontend.

    Mention : i do know a little bit of javascript, i am like a entry+ level of knowledge.

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

    Efficiently handling elimination of possibilities from a list of sets, where each set should distill to one unique option?

    Posted: 28 Jan 2022 03:59 AM PST

    Hello!

    First off, sorry for the title, I'm not sure how you'd best describe this sort of problem.

    Context: I've been cracking through 2020's Advent of Code puzzles as a way to try and get my head around Rust a bit better - but the language isn't really super relevant here, it's more of a logic problem.

    The puzzle's the second part of 2020 Day 16 - I've solved the problem, I just don't like my method.

    Full code here: gist - please don't judge too harshly. The relevant lines I'm referring to are 91 onwards. The parse_ticket function itself is only relevant for the first part, so ignore that.

    The tl;dr is that you end up with:

    • A set of labels and ranges (e.g. <field>: (<a - b>, <x - y>) (where the tuple is two inclusive ranges of valid numbers for that field)).
    • A bunch of tickets (i.e. lists of numbers, which map to each field) that you know have at least one valid value.
    • Each ticket has the same number of numbers, and each position has the same meaning across each ticket.

    You have to then figure out which positions on the tickets map to each label, by process of elimination. The problem is that my current solution, is terrible!

    for _ in 0..5 { for ticket in &valid_tickets { for (pos, &num) in ticket.iter().enumerate() { for (label, range) in &ranges { if !in_range(num, &range) { let set = possibilities.get_mut(label).unwrap(); set.remove(&pos); if set.len() == 1 { let last = set.iter().next().unwrap().to_owned(); for other in &mut possibilities { if other.0 == label { continue } other.1.remove(&last); } } } } } } } 

    Now I wrote this without really anticipating sharing it, so I apologise that it's a bit.. opaque. Basically the translation is:

    • Start by assuming that every field can be in any of the n number of positions.
    • Look at every ticket's values,
    • Test each value in turn against every possible pair of field/ranges.
    • If that value doesn't fall in that range, then this position cannot map to that field;
    • If that field now only has one possible position, remove that position from every other field's options.

    This wasn't working - I believe because fields can end up with one valid position as a side effect of a loop; which I think is why repeating this loop (the for _ in 0..5) part, works.

    I think I'm being dumb, but I can't think how we can check for this without adding yet another level of looping.

    Any thoughts or suggestions on how to better approach this sort of problem?

    Thanks very much! Feel free to ask any clarifying questions.

    submitted by /u/1b7_
    [link] [comments]

    Where can a complete beginner get some exercises?

    Posted: 28 Jan 2022 07:52 AM PST

    I have a friend who started learning lately and has asked for advice. He's learning using colt Steele's web dev bootcamp, and while he is absorbing information from the course itself, the amount of exercises there is definitely not enough. He remembers stuff well but applying his knowledge is hard because he doesn't do exercises enough.

    So where can he get exercises for beginners?

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

    Hello I have a problem

    Posted: 28 Jan 2022 07:51 AM PST

    The code question link is from haker rank, I am sharing.. I couldn't able to run all the test cases only one test case is running, Please help to solve it in JAVA

    Haker Rank Array interview Question

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

    I don't have an ounce of artistic talent, so should I not bother with front end/full stack/Odin Project?

    Posted: 28 Jan 2022 07:44 AM PST

    I really wanna give the Odin project a try. However, my ability to make things look artistically good is zero, so I'm worried learning front end will just be a huge waste of time for me.

    Or, am I just really confused about what front end entails?

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

    Now I have only 2 offers, QA automation engineering (junit, selenium, REST Services) and Java front-end developer on tapestry. That's my start and after a time I want to move to backend development. What is more relevant experience?

    Posted: 28 Jan 2022 07:26 AM PST

    Could you please help me(

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

    Very basic questions on HTML/CSS: classes/divs/etc.

    Posted: 28 Jan 2022 03:31 AM PST

    Question #1: do IDs and classes ever stand alone or are they always paired with other structural elements? I am starting to understand how classes and IDs work, and how they interact between HTML and CSS. However, I always see that classes and IDs are paired with other structural elements- something like this: <div id = "hello"> text </div> or <section class = "hello"> text </section>. Is this a rule? Like you can never code something like <id = "hello"> text </id> or <class = "hello"> text </class>?

    Moreover, are there any best practices that I should be aware of when creating classes and IDs? Like is it weird to create section classes (I made that example above up myself)?

    Question #2: How do I read the following selector and how do I know when to put spaces and not put spaces? In the tutorial I am reading, the author mentioned the following:

    .hotdog p.mustard { background: yellow; } 

    and said that this is NOT good practice.

    Before we get to this not being good practice, I don't even understand how to read this. We are supposed to read from right to left, correct? In other words, this should be read as "select all elements of class mustard, that are both paragraphs AND of class hotdog." Is that right? The author goes on to say the following:

    "Since there isn't a space between the paragraph type selector and the mustard class selector that means the selector will only select paragraph elements with the class of mustard. If the paragraph type selector was removed, and the mustard class selector had spaces on both sides of it, it would select any element with the class of mustard, not just paragraphs."

    I guess I am just really confused at this. Isn't hotdog a pre-requisite for selecting mustard in this case? Thus, we would put hotdog before mustard. p is also a pre-requisite, so we would want to put p AND hotdog before mustard. I get that.

    However, why does p NOT get a space but hotdog does? Why not .hotdog p .mustard?

    Question #3: Why is it bad practice to do what the CSS code above does? The author writes,

    "The best practice is to not prefix a class selector with a type selector. Generally we want to select any element with a given class, not just one type of element. And following this best practice, our new combined selector would be better as .hotdog .mustard."

    So is this bad practice from a usability standpoint?

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

    Is it true that software engineers can only work until the age of 35/40 because they then get fired by their companies?

    Posted: 28 Jan 2022 07:08 AM PST

    Saw this question on quora, I would like to know what this subreddit thinks about it.

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

    ruby metaprogramming

    Posted: 28 Jan 2022 06:37 AM PST

    So I took this new job with the responsibility to handle a couple of ruby projects. I've completely coded in ruby and rails all my career but never looked at a line of metaprogramming in my life. I surely know some stuff like define_method but that's just the tip of the iceberg I know.

    The problem is that I have to handle a very big and core legacy project written in rails. All the engineers working on this project are moving to other projects and no one is interested to take a knowledge transfer session. It's heavily written using meta-programming techniques and I am getting lost in this ocean of code. I tried to catch hold of people who worked on this project before but of no use. They told me things I already knew about. I can't even run that project on my local machine. I tried my best to correct the setup but the thing is that I need to get hold of the project. They gave me all the freedom I need and I need to look at all the bugs and tickets raised with the existing users of this project.

    I want some help in starting with metaprogramming in ruby. The thing is that I believe I can start off and learn it quickly because of my understanding of ruby over the years. It's really scary to google and learn this stuff I feel. I came across a udemy course but it's costly.

    Please help me with this stuff. Any kind of book, blog, the direction will help me immensely.

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

    Wrapping a c++ with .Net framework

    Posted: 28 Jan 2022 06:33 AM PST

    Hello everyone, i need help in my task.

    There is a library written in c++ that i need to wrap it in .Net C#. This is because the program im working with mostly written in c#.

    As im beginner in both c++ and c#, where do i start learning to do this?

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

    No comments:

    Post a Comment