• Breaking News

    Tuesday, November 23, 2021

    How did you guys learn coding in the 90s and 80s? learn programming

    How did you guys learn coding in the 90s and 80s? learn programming


    How did you guys learn coding in the 90s and 80s?

    Posted: 23 Nov 2021 09:43 AM PST

    Like did you learn from books, games, or by trial and error?

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

    How do I stop overthinking and just start learning to program?

    Posted: 22 Nov 2021 11:27 PM PST

    Hello,

    I am trying to build out something I have an idea for. This means I need to learn programming but i don't know where to start because every article and reddit comment I see are different. For example someone told me learn PHP first. Then I read on reddit that if I learn PHP first, I'll never find a non PHP job. Same with Javascript. I read that I should learn C first, but others said that it'll be too hard for a beginner. I'm just not sure what to do or where to start.

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

    Which programming language has the best syntax?

    Posted: 23 Nov 2021 02:03 AM PST

    I'm currently learning JavaScript and have some light experience with python (which I think is pretty easy on the eyes) but was wondering if there was a language with better syntax as everyone's always talking about the ones with the worst.

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

    Worth it to get cs degree AFTER getting a job in the field self taught?

    Posted: 23 Nov 2021 04:23 AM PST

    Just started my self taught journey. I know getting your first job is the hardest part for sure and then once you get experience then following jobs are easier to secure.

    What I'm curious about is let's say your end goal is to eventually make 250k or more a year as a senior role or whatever role that manages to pay that much lol. Even though tech jobs get a reputation for paying high I think that kind of salary is a little rare, correct me if I'm wrong though.

    So if someone's who's self taught and worked in the field for 2 to 4 years better off going for that degree to push for higher pay or at that point is it not worth the time invested and just better off studying for the hard interviews that would be required for such roles?

    And I'm also assuming even with a degree salary's like that aren't guaranteed you'll just have an easier time getting chosen for an interview or even the only way to be qualified for certain companies.

    Long post hope that makes sense lol

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

    How to make a div automatically resize to match another's height?

    Posted: 23 Nov 2021 04:44 PM PST

    I have two inline-block divs to display, one which contains an image only, the other contains heading, para and img. I want to make it so no matter the screen (working above 800px-different format on small screens), they roughly extend equally downwards.

    Currently they each are set to 50vw but on wide screens especially they can be wildly different in size, especially if the user uses large font or small font.

    The two solutions I can think of but don't know how to implement are either increase the proportion of screen the image takes up and/or crop the image to match (but obviously can only lose a certain amount each from top and bottom.

    I've only started learning this html/css/javascript stuff a few days ago so sorry if this is a really dumb question and bear with my lack of vocabulary.

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

    Started learning JS a month ago. I'm not sure if I'm doing it right.

    Posted: 23 Nov 2021 04:21 PM PST

    I started learning JS with Udemy course "0 to expert Javascript" by Jonas. I work full time so I try to study 1-3 hours after work every day but I do it like 3 days a week.

    I feel like I'm not really developing my skills. More like I don't really see satisfying progress I'd say? Every time I study, I always make sure that I understand 100% or at least 90% of what Jonas teaches but just watching this lecture doesn't feel enough.

    I heard that many people say you should build projects to learn real, you should try to clone and learn programming, etc. However, I feel like I'm learning alphabets at the moment but how could I build a project?

    I tried the odin project before but I didn't like it because it was not windows friendly and I didn't like the way they teach.

    I'd appreciate it if you could give me some advice. Thanks!

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

    Instructor says to be an Android engineer because there are way too many iOS engineers. Do you agree?

    Posted: 23 Nov 2021 10:46 AM PST

    It appears the iOS market is over saturated.

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

    Can someone explain this tutorial to me? (app.js vs style.css)

    Posted: 23 Nov 2021 04:54 PM PST

    Generally I like this tutorial, but there was ZERO explanation about style.css and app.js.

    Can someone explain the relationship between style.css and app.js?

    The buttons are defined in app.js, and the layout is defined in style.css, but I'm lost on how they are connected. Is it ClassName that defines various buttons. Just need something that explains how these things work, not just showing me his code.

    https://www.youtube.com/watch?v=DgRrrOt0Vr8

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

    Java Interview questions

    Posted: 23 Nov 2021 04:35 PM PST

    I was giving interview in small service provider company thought gonna crack it easily. But the question interviewer gave me were hard.

    1st question - Print n numbers of Fibonacci series and calculate the sum of prime numbers of Fibonacci.(solved it).

    2nd question- print left side of binary tree(solved it)

    3rd Question- Sort Array with Quicksort without recursion (solved it)

    4th Question-

    Convert number to word, like 1 to One and 1000 to Thousand,

    There are some conditions to questions-

    i) 2 digit numbers from 10 to 99 are going to have "and" in between the numbers. ii) 3 digit numbers from 100 to 999 are going to have "and" and "with" in between numbers. iii) 4 digit numbers from 1000 to 9999 are going to have "and", "with" and "got" in between numbers.

    This is the question I was failed to solve in interview test, does anyone know how to solve 4th question ? I can print "and" in between numbers by separating the numbers like we do with palindrome. But how do we convert 1 to one efficiently ? I was only given 15 minutes to solve the each question.

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

    When to use malloc()?

    Posted: 23 Nov 2021 09:18 AM PST

    I'm learning C right now and I can't seem to get my head around when to dynamically allocate memory. Any help would be much appreciated

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

    How design a database?

    Posted: 23 Nov 2021 10:42 AM PST

    Hi

    I recently got a database admin job, that should have involved general updating a MYSQL database(inserting data etc) but has quickly emerged that they do not just want someone who manages their existing database, but someone who could design one. I have no problem with that, except for that ..I have only read about db design briefly in a textbook. Could anyone with experience give some tips- How is it usually done? - what steps are normally taken in this process and what are the main things to consider? Is it ( almost) always a safe bet to stay with MYSQL?
    Their system is about aggregating all datasets from the institution so people could access them through a website when needed (not very often).

    submitted by /u/Status-Cloud-6136
    [link] [comments]

    A few questions to Python programmers from a beginner.

    Posted: 23 Nov 2021 10:24 AM PST

    Hi, i started my python journey about a year ago, i really like it. And because i used to get information from youtube videos or from random sites i wasn't really been taught about this language more than syntax and how to use some functions etc. I mean i know how to code in Python on a beginner level but i don't know what is going on on the side or where python is implemented in real life. So:

    When you code an aplication in python how do you display some kind of gui? Is there something better than tkinter?

    Is it possible to maybe join a few languages like do the 'work' in python and display something using idk Java?

    How do you interfere with hardware, like is it possible to build a robot or idk RC car using python to controll them?

    What do you do when you get a job as a python programmer? I mean i picture it like your boss comes in and tell you 'build an calculator', but how is it working in big project with a few people involved? How do you know that you are ready to take a job as a programmer?

    From where do you get knowledge, are paid courses better than youtube videos and googling things? How do you 'steer' your python knowledge, are there some sections? Like data processing etc? Do you need to learn one thing but very good or is it better to know everything?

    So, that's it propabbly, sorry if this is common post or stg, maybe if you know you can link some good videos about python or programming, thanks.

    submitted by /u/No-Barnacle9207
    [link] [comments]

    How many programming languages can you learn and memorise?

    Posted: 22 Nov 2021 05:25 AM PST

    How many languages can you store in your head and comfortably say "I can make advance software with this"...

    Just curious and want to get an idea of what people can do/know.

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

    Where to start a project I'm excited about after not coding for years?

    Posted: 23 Nov 2021 11:26 AM PST

    Hey Guys!

    First off, apologies for my ignorance I haven't written any code since college which is sadly not recent. At the time I was ok with JavaScript, Python, SQL and since I was focused on webdev HTML/CSS.

    At work I have access to tons of data that make my job so easy but unfortunately certain reports from within the app are frankly garbage and not helpful.

    I would love to be able to create a program to pull some of this data, rank it based on my criteria and then display it to me. The data is stored in Salesloft/Salesforce so to my understanding I'd have to get permission to connect but I can also export all this to excel.

    Really excited to get back into coding and about the idea - absolutely no clue where to start. Any tips on the best language, tools, libraries, etc would be amazing!

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

    What if you are hired in a more "junior" role based on what your experience looks like on paper, when in reality you have more experience?

    Posted: 23 Nov 2021 05:15 PM PST

    I am not necessarily saying this has happened to me, but I considering the possibility that it did, more than once.

    I feel like it might create a lot of tension if someone in a more "senior" role sees itself as a teacher and tries to give advice, feedback, or demands things to be done in certain ways even. Which might not sound too terrible, but I have also experienced a lack of trust in my work, a lack of reciprocity, meaning, that challenging the "teacher" too many times is like dropping an atomic bomb.

    I have quit two times for this same reason.

    Stuff I had to deal with so far:

    • Code reviews, where the reviewer tries to raise the standards way above what would be considered normal for them, almost reaching absurdity in same cases.
    • Someone giving feedback in a way that already assumes I am wrong (instead of asking questions), which forces me into a difficult situation, where I have to fight the person, before I can get to a reasonable discussion.
    • Someone gish galloping during a (scrum) retrospective.

    I do not dismiss the possibility that I am just unaware of what it takes to hold a job in this industry, maybe what I have experienced would be considered normal by most people.

    Now I am interviewing for another job, which seems to go well, but in any case, if I get hired somewhere, most likely, I am going to be hired for a junior role (which is great), but I am a bit afraid I end up in the same situation.

    To give some context: I was learning web and programming stuff while I was off the job market for years. There are hundreds of reasons how this could happen, so I will not go into my personal story.

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

    What programming domains have the lowest system requirements?

    Posted: 23 Nov 2021 04:49 PM PST

    I know some domains are pretty heavy computationally and require modern computers to properly work in them. Like mobile app development (to power the IDE and mobile emulation).

    What are some domains or areas where someone can get away with using an old laptop running linux? (a thinkpad x220 to be precise! Long live black devil!)

    Off the top of my head I was thinking of webdev, since most webdevs I've chatted with tend to simply use an editor instead of a full blown IDE. however i have no idea how the old antequated resolution would lend itself to designing front-end? I also don't know how much asset management becomes an influencing factor.

    What are some common working domains one can enter with a 10 year old low spec laptop loaded with linux? (I updated the hd to an ssd and added some extra ram at least :)

    I'm not in a position to buy a new machine but I have an itch to learn something practical and fun. It's a bit of a barrier to entry but I'm curious what domains are out there. "I don't know what I don't know.". people work in and on all sorts of things that I probably don't even realize exist. Maybe I can do one of them with my little black machine. Finding those out first will help me figure out what learning resources to seek out.

    thanks!

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

    Share a folder from ubuntu-server to windows and code on it.

    Posted: 23 Nov 2021 04:45 PM PST

    Is it possible to share a folder over the network (like shared folders), and just open it with an installed IDE on my windows system?

    We are making a project and its quite tedious to upload everytime we change something even if its minor details, so i figured that maybe it could be possible to share a folder from ubuntuserver to windows and just code on it? If its not, i will use FTP deploy but with thinks like VSCode Remote SSH its faster and easier (but JetBrains rider at the moment doenst have anything similar, and VS2022 wont get that).

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

    How has your journey been so far?

    Posted: 23 Nov 2021 04:38 PM PST

    Just looking to start a discussion, When did you start coding? How do you feel if you're self taught? What language did you start on? Anything you recommend new programmers to learn? (The Odin Project seems really interesting to me right now). Or start your own discussion these are just basic questions to get it going

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

    Languages/Frameworks that don't change much and sort of still in demand?

    Posted: 23 Nov 2021 12:41 PM PST

    I can't keep up with JS with so many frameworks and libraries that are also constantly updated. I'm a slow learner so was looking for recommendations on languages and frameworks that don't change much but still kinda in demand? If any.

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

    how to study DSA?

    Posted: 23 Nov 2021 04:24 PM PST

    One topic(like array, linked list) per week or what?

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

    [Python/Tweepy] any working examples of replying to a user's tweets?

    Posted: 23 Nov 2021 04:23 PM PST

    For example, when Elon Musk tweets something, the bot replies with a message. I've seen this so much wondering if there are working examples out there

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

    What is best practice for implementing user defined settings into calculations?

    Posted: 23 Nov 2021 04:20 PM PST

    I have the following case selection in my code:

    if ((!bd.CarryValid || bd.Carry >= 225.0) && (!bd.BackSpinValid || bd.BackSpin < 3000.0)) { this.ClubSelection = 4; } else if ((!bd.SpeedValid || bd.Speed >= 135.0) && (!bd.BackSpinValid || bd.BackSpin < 3000.0)) { this.ClubSelection = 4; } else if ((!bd.CarryValid || bd.Carry >= 200.0) && (!bd.BackSpinValid || bd.BackSpin > 3000.0)) { this.ClubSelection = 2; } else if ((!bd.CarryValid || bd.Carry >= 200.0) && (!bd.CarryValid || bd.Carry < 225.0)) { this.ClubSelection = 2; } else if ((!bd.SpeedValid || bd.Speed <= 20.0) && (!bd.VLAValid || bd.VLA <= 3.0)) { this.ClubSelection = 5; } else { this.ClubSelection = 0; } 

    Data is pulled over TCP and a graphic is shown based on the criteria. I would like the user to be able to define the criteria themselves based on their own statistics. Once set it would not need to be changed very often. My first thought was to replace the hardcoded numbers with a variable and pull from some kind of setting file... but wouldn't this be slow if the application had to read the file off the users harddrive every time data is calculated? Even if it is only doing something if the data is changed, it would still have to check the file to see if that was the case... right?

    What is best practice for implementing something like this?

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

    Is it worth to be given the answer and think 'oh, that makes sense after the fact', vs. spending hours trying to force yourself to figure out the solution?

    Posted: 22 Nov 2021 11:13 AM PST

    I'm taking the 100 Days of Code Python course and I'm struggling with 'when to just be given the answer'.

    Yes, I can technically figure out everything if I spend enough time thinking. The thing is, 'enough time thinking' is maybe 2 hours per challenge, I don't have 4-5+ hours a day to spend on this course.

    I feel like I could go through the course much faster, and learn more information overall quicker if I'm willing to set a time limit for figuring out each challenge to, say, 30 minutes, and if I don't have it figured out by then to then see how she does it.

    As long as I understand the logic after the fact, is this perfectly okay to do, or would I be doing myself a massive disservice by not forcing myself to figure it all out for myself?

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

    Why does everyone choose the hard way of doing this?

    Posted: 23 Nov 2021 04:11 PM PST

    Basically I was just searching around youtube for some ideas on how to implement an expandable/retractable side nav bar with react (so when you hover over it, it expands and the links show), the issue I'm having is that every video I've seen is like 30 minutes long and the methods to complete this task are to split up the side bar into multiple components and conditionally render the side bar depending on if it's on hover or not, basically the longer way of doing it.

    So my question is, what are the benefits of using these longer methods when I can accomplish this task in a couple lines of css (using :hover and transition)?

    I would understand if it was loading a different page, but using multiple components, state, conditional rendering, all for an expandable side nav just seem like overkill to me, but I'm assuming the benefits of using this longer method compared to my version with css are going over my head, hence why I'm here wondering what they are.

    https://www.youtube.com/watch?v=5I_uGo8-jPs

    These are the types of videos I'm referring to that fill up the first page of results when searching "expandable side bar in react".

    and this is my method below (yes I'm missing styling and other things but just want to get the point across)

    .sideNav{

    width:3em;

    }

    .sideNav:hover{

    width:6em;

    transition: all .5s;

    }

    submitted by /u/Sebastian-dB
    [link] [comments]

    Image doesn't fit div properly

    Posted: 23 Nov 2021 04:02 PM PST

    I swear I'm going to go crazy. I have this JSX

    <div style={{ display: 'flex' }}> <div className='outer-div'> <div className='first-div'> a <br /> b <br />c </div> <div className='second-div'> <img src='https://upload.wikimedia.org/wikipedia/commons/0/0f/Eiffel_Tower_Vertical.JPG' alt='' /> </div> </div> <div className='outer-div'> <div className='first-div'> a <br /> b <br />c </div> <div className='second-div'> {/* <img src='https://upload.wikimedia.org/wikipedia/commons/0/0f/Eiffel_Tower_Vertical.JPG' alt='' /> */} </div> </div> </div> 

    and this CSS

    .outer-div { width: 300px; height: 500px; background-color: blue; display: flex; flex-direction: column; } .first-div { background-color: red; } .second-div { height: 100%; background-color: green; } .second-div > img { height: 100%; width: 100%; } 

    I wanted the img to fit the div completely, but instead it is like this. I noticed that if the screen is thinner, the problem doesn't happen (like here). I really don't understand what is happening.

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

    No comments:

    Post a Comment