• Breaking News

    Thursday, July 1, 2021

    I have reached a place in my programming journey where I can google just about anything (question, error, how to's), read answers from here and there, combine them, know what will work, and end up making things work after 2-3 hours of this. Am I ready to call myself a programmer? learn programming

    I have reached a place in my programming journey where I can google just about anything (question, error, how to's), read answers from here and there, combine them, know what will work, and end up making things work after 2-3 hours of this. Am I ready to call myself a programmer? learn programming


    I have reached a place in my programming journey where I can google just about anything (question, error, how to's), read answers from here and there, combine them, know what will work, and end up making things work after 2-3 hours of this. Am I ready to call myself a programmer?

    Posted: 30 Jun 2021 05:48 AM PDT

    I feel like I'm no longer a beginner. I've been using Python on and off since 2018. I've never taken a class. I did take some courses (all free). I've mostly been googling my way through learning it. I still mix things up (for example, I keep forgetting how to iterate over pandas Series and DataFrame, but that's an easy google search away), I sometimes come across things that I don't understand under the hood (list comprehensions, dict comprehensions, etc)... but for the most part, if I get stuck, I can get out on my own. I feel like I'm now officially ready to get a job. Right?

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

    What prog languange you think that will continue to stay afloat and still relevant in the future? Like decades or more than that

    Posted: 30 Jun 2021 04:24 AM PDT

    I usually come and go in coding and I can't keep up with the technology changes. I'd like to learn a languange that will stay relevant no matter what happens to the industry, world or anything that makes a languange die.

    Also, will Python stay relevant?

    submitted by /u/Careful-Year-9467
    [link] [comments]

    I want to learn programming but...

    Posted: 30 Jun 2021 10:25 PM PDT

    I would like to step foot into the world of coding to attempt to be on a new career path that doesn't leave me staring at a milking machine for 12 hours a day. Down side is I know absolutely zero about how to code or even what languages would be worth investing the time to learn. Is there a baseline of some sorts that would build a decent understanding of programming? Money is very tight in my life so I'm currently unable to attend college or afford online classes.

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

    Will github co-pilot replace programmers?

    Posted: 30 Jun 2021 08:11 PM PDT

    I try not to worry to much but i will admit git hubs co-pilot is starting to scare me a little bit.

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

    I made a MS Teams attendance simplifier with Python and Flask

    Posted: 30 Jun 2021 11:59 PM PDT

    When you download attendance from MS Teams it gives you a .csv file with the record of every joined and left session alongwith very detailed timestamps.

    So, I made this which simplifies the .csv file and regenerates a new one and shows the total duration of each student across all joined and left sessions.

    Earlier I thought I'll keep it as a script only but college faculties asked me to implement it with GUI format so they can also use it. So, I decided to make it as a website. I used Flask for this purpose.

    Video Demo: https://youtu.be/SCuPdmtfChA

    Here's the deployment: https://simplify-msteams.herokuapp.com/

    I will ask members here to review this project and rate it on scale of 10 and also provide feedback.

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

    A bad interview experience

    Posted: 30 Jun 2021 09:32 AM PDT

    Had an interview today for an entry level position. I was not told nor expecting any coding tests. But when they told me to show my screen, I knew I was doomed. They gave me a very simple task which I should've solved easily. But for some reason my brain froze. I could not for the life of me get myself to solve the problem. Which led to some other questions which I answered very poorly.

    The interviewer was very kind and gave me time and let me google but my brain was not functioning.

    Funny thing is after the interview when I had the chance to calm myself down, I looked at the problem and easily solved it.

    Needless to say I'm not getting the job. But the way my brain let me down at a crucial moment is more upsetting. Maybe the fact that I was not expecting a test has something to do with it? Or maybe it's just an excuse to convince myself that I'm actually not as dumb.

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

    I'm 14 and recently started programming

    Posted: 30 Jun 2021 06:01 PM PDT

    I've learned the basics of python (functions, loops, if, while statements) but am not sure what to work on now, any suggestions would be great.

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

    Are there any things that needs to be kept in mind while building app for say 1k users vs building app for 1 Billion users?

    Posted: 30 Jun 2021 10:18 PM PDT

    Hi,

    I have built apps mainly Android Apps that are being used by millions of users but whenever someone asks this question I do not have an asnwer. What do you think about this?

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

    Stupid question but, how do you learn from the docs (when you have to)?

    Posted: 30 Jun 2021 04:05 PM PDT

    I got into a debate:

    Person A says: "You read the docs, understand how the functionality works, see the example code, try to apply it to your project, tweak around when needed"

    Person B says: "I just skim the description. Go straight for the example code, try to understand how it works by applying the code then tweak stuff around. I revisit the text if I'm missing anything".

    Reason I'm asking is: I got another rejection after they asked me for something that threw me off my guard (the difference between useRef and createRef - it was a React position). And I'm like "all I do is google docs and maybe some youtube video, where would I know that?"

    So apparently there's a wrong way to read the docs and that's if I'm reading them just to apply something in my project, and the right way (the one interviewers expect) is to spent a lot of time understanding how it works under the hood etc.

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

    Still, suck at coding Data Structures in C | What's not clicking?

    Posted: 30 Jun 2021 05:59 AM PDT

    It's been about 3-4 months since I've started learning Data Structures and took a class in it as well. Did not do well in the class, got a C+ and I am taking it again next week over the 2nd part of Summer.

    I understand how they work, but when I go to Code and Implement them, I am completely lost. I still can not do any leetcode or hackerrank questions without looking at the solutions. I want to be great at it but sometimes I feel like I'm not cut out for it. I wrote my first 'Hello World' piece of code about a year ago.

    What can I do for it to click more and make sense to me? I have tried many things, if there's anything that especially helped it click for you then please leave advice/suggestions down below.

    I code in C/C++. Thank you.

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

    How to make w.e gets console.log into a new const?

    Posted: 30 Jun 2021 08:41 PM PDT

    I have a promise that resolves an array.

    when I do .then it logs that array.

    How can I now make that array into a const? I would like to manipulate the array after but don't know how to make it into a const.

    TLDR: How to make a const of w.e gets printed on the console?

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

    Needing Further help with my code

    Posted: 01 Jul 2021 12:20 AM PDT

    Hi guys, Earlier I posted a query about why my piece of code involving subroutines wasn't working, and I made some sort of progress but the output still isn't the desired one. Instead of the code outputting a 12 (when child_total = 1,) it outputts 12 ones (111111111111). Can someone help, please?

    def entrance (child_price, child_total):

    price = child_price*child_total

    print (price)

    return()

    child_price = 12

    print("How many children?")

    child_total = input()

    int(child_total)

    entrance(child_price, child_total)

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

    Why did no one tell me about unit tests?

    Posted: 30 Jun 2021 11:57 PM PDT

    I spent a year learning how to program on my own and not one tutorial used I mentioned unit testing. And yet, when you google it, everyone says that you should be testing everything that you write. Most tech companies that you get a job at will require you to write unit tests for every function/class/component that you build. Essentially you're spending half your time (at least) writing code to test your implementation. I say at least because for me personally it seems to take not only twice as long but probably something closer to four times as long.

    So my question is, if it's so fundamental to your job as a programmer, why am I only discovering it now? I've done entire udemy courses building full stack web applications and not one mention of testing.

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

    What can I do with a CS degree?

    Posted: 30 Jun 2021 07:59 PM PDT

    I'm taking cs50 and I just finished the C portion. We are going to learn python/flask and JavaScript/HTML/css.

    After learning the basics, I began wondering about what you can do with a computer science degree other than software engineering (building backends, web dev, app dev). What are the different subfields in cs?

    Edit: and what is a short summary of what each one is about?

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

    Where is the best place to do this, back end or front end?

    Posted: 30 Jun 2021 11:38 PM PDT

    I'm stuck with my Django/React application. I want to filter by only dates that are present in the database. Specifically I am doing this by year. So far I can kind of do it on the front end, but I wonder if I shouldn't just let my back end take care of it. How would you approach this? I've been having a whale of a time trying to figure out how to extract a list of distinct years. It would be silly to have a filter with two 2021s.

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

    Google vs YouTube

    Posted: 30 Jun 2021 07:50 PM PDT

    So I know programmers google a lot to find usable solutions/code. Is that the same thing as using YouTube a resource to solve a problem? I don't hear people talk about this.

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

    While loop in C++

    Posted: 30 Jun 2021 10:44 PM PDT

    So I've been trying to make the Fibonacci sequence in C++ but this weird error keeps us in the while loop. It would be very helpful if you guys could help me. Thank you.

    include<iostream>

    include<cstdlib>

    using namespace std;

    int main() {int x; int first=0; int second=1; int third; int i=0;

    cout<<"welcome to our fibonacci sequence"<<endl; cout<<"enter the number of elements of your desire"<<endl; cin>>x; while(i<x; i++;); {

    if(x=1) {cout<<first<<endl; }

    first+second==third; first=second; second=third;

    cout<<third<<endl;

    } }

    17 10 F:\Sasta Portfolio\Untitled1.cpp [Error] expected ')' before ';' token

    17 16 F:\Sasta Portfolio\Untitled1.cpp [Error] expected primary-expression before ')' token

    (The 17th row is the one with the while loop)

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

    Writing an efficiency-booster script for Beginner

    Posted: 30 Jun 2021 10:38 PM PDT

    Hi mates,

    First post here and first experience with scripting.

    I don't know if I can ask a thing like this here but I search all over Reddit a place where I can ask this.

    I was wondering if anyone here can help me with a little project for my torrent management.

    Let me explain.

    I have many many (too many) torrents in qBittorent, and really want them to finish so I can move to another task, as my ADHD keeps my focus on this until it's finish. And some torrents are stalled for month, or more.I would like to let qBittorent work when I'm not on my PC but in an efficient way.The problem is, many of my torrents lacks of seed, or have bad seeds and so a very slow DL speed.When I'm on my PC I can let it work a minute, see which torrents are slow and pause them but when I'm not here, I can't.I first tried some tutorials to improve the efficiency, by putting the right settings in Maximum Active DL, Maximum Active Torrents, and so on based on my DL rate on my router.It's already really cool, when torrents are well seeded, I have 5 Maximum Active DL and it's worth it.

    But for my slow torrents issue, I tried the option in Settings > Bittorent > "Do not count slow torrents in these limits"I don't know if y'all familiar with this.You can input a DL speed and UL speed Threshold, and a Inactivity time, and the software, will not count the Torrents which are below these limits for the amount of Inactivity Time you put.So in my case, I have 5 Maximum Active DL, and 7 Maximum Active Torrents (DL & UL), so if a torrent is below my limits, it doesn't count and go for another torrent.It helps me to skip a bit some slow torrents but I had a problem then.qBittorent seems to calculate the next torrent when it skips a slow one based on Active Torrents, not all torrents. So for 7 Max Active Torrents, when I already have my 5 Max Torrents DL, if I have 2 completed Torrents uploading, they're active, UL but active and my 7 Max Torrents are filled. So qBittorent will not skip the slow torrents. It's like it's doesn't see the rest, unless one DL in finished or one UL stops.

    For this I tried to up my number of Maximum Active Torrents only. It leads me to succesfully have many many active torrents, not downloading but ready to be the next when a slow torrent isn't counted. And here I have a big problem. Too many slow torrents leads me to have 49636459 not counted torrents, which are still downloading, but really slowly.It's taking up my bandwith and so isn't really optimal.

    The last option I saw was to write a script that do what I usually manually do, which works a lot better.

    And keeps my 7 Maximum Active Torrents to save my bandwith.

    I would like the script to do something like that:

    - Looking closely to the 5 actual DL (the max)

    - If there is one torrent below my limits (that I can setup in the script), do not "not count the torrent" but pause it. I prefer.

    - And do this check for every next torrent

    - When all the DL are done, and many torrents are on pause because of their slow DL speed, loop the check again, by resuming all the paused torrents.

    (Because I've thought about the obvious reasons that can lead a torrent to be slow, and it can also be a temporary router issue, a temporary seed issue or whatever. Sometimes torrents are slow and boom, hours later it isn't anymore.)

    And I would like the script to do that like infinitly to constantly check if a torrent -previously slow- is not good now.

    Is this kind of script even possible ?
    And, is this possible right on qBittorent ? I thought that because of the flexibility of the software but not sure.
    If not, maybe is it possible with an external software or external script, like how we do with macro programming etc ?

    Thanks a lot, like infinite thanks if you read this last line, and a hundred thanks if you can help me. Sorry for the amount of text but I wanted to be sure that I'm understandable because I'm mostly lost in this domain. And also sorry for my english, not my primary langage.

    Have the best day mates !

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

    Some one explain from //move higher ones down

    Posted: 30 Jun 2021 10:29 PM PDT

    public boolean delete(long value) { int j; for(j=0; j<nElems; j++) // look for it if( value == a[j] ) break; if(j==nElems) // can't find it return false; else // found it { for(int k=j; k<nElems; k++) // move higher ones down

    a[k] = a[k+1]; nElems--; // decrement size return true; } } // end delete()

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

    Junior iOS developer Looking for advice on getting into bigger companies like Spotify, Facebook, Apple, Google,etc…

    Posted: 30 Jun 2021 10:21 PM PDT

    I'm a junior iOS developer with 3 years experience looking for advice on getting into these big companies. I'd like to apply to a mid level position. Are there specific things I should be reading and learning to make a jump to mid level? I write in swift and use ui kit. I'm willing to study for a few hours a day to make this achievable on top of the 40+ hours a week I work. Any tips or suggestions would be greatly appreciated.

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

    Vue.JS - Help with Logic with Real-Time Unit Conversion

    Posted: 30 Jun 2021 10:19 PM PDT

    Hi Team

    I'm currently working on a small concurrent Unit Converter, i.e. when you enter a value in the 'CM' field, I want the inch/metres/ft field to update at the same time (and vice versa). Just need a bit of help figuring out the logic, as I keep confusing myself.

    Here's the basic input:

    <v-text-field label="Character Height (Centimetres)" prepend-icon="mdi-tape-measure" v-model.lazy="realCm" type="number" suffix="cm" </v-text-field> 

    I'm doing this with Vue.Js (Vuetify has also been helpful but I digress), I'm currently using watchers to convert the values, I thought about using a computed method instead, but computed methods have to return a value which doesn't Gel with what I need to do.so far I'm working on just nailing the metric conversion. Here's a basic example of my watch category.:

    watch: { realCm: function() { this.realM = this.cm * 100 } realM: function() { this.realCm = this.realM * 100; }, } 

    This causes an infinite loop, or is at least very unoptimised.

    One Idea I had was that I'd copy realCm to a separate value, 'Master Value', then run the conversions for the other measurement conversions through that variable, but this is real roundabout.

    Can anyone help me out with how I can achieve the desired real-time unit conversion?

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

    [Need Guidance] What technologies will I need to learn to make a full fledged booking system?

    Posted: 30 Jun 2021 10:09 PM PDT

    I'm a second year Computer Science student, not very familiar with programming but getting there slowly. I want to make an appointment booking system for a relative. Sort of an all inclusive solution, wherein customers can book appointments online on a website, or we can manually feed in the appointments via a mobile app.

    Where should I start with the same? I know I will need to learn Web Development for this, what else will I need? As far as I understand I will also need to learn Django. How do I go about doing this project? Are there any guides I could follow?

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

    Best Way To Get Into Programming?

    Posted: 30 Jun 2021 10:07 PM PDT

    I've been watching lots of videos on YouTube about programming and I want to get into it, however I've only came across paid services like CodeAcademy and expensive bootcamps which I can't afford. I want to start with Python or JavaScript as I've seen that they are some of the best for beginners. Are there any good free services I can use to get started?

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

    This is the project i want to do: is this a reachable goal, and what should i learn to do it?

    Posted: 30 Jun 2021 09:29 PM PDT

    Essentially, i want to create a sorting system on my computer that will take any document beginning with my last name (i do this for school assignments) (lets say its doe), and maybe a special character, and sort it into a specific school folder. For example: doe$blahblah would go into C:\school\english. doe&blahblah would go into C:\school\math. Essentially the "doe" makes it go into the "school" folder, and the special character makes it go into a sub folder. Then i could keep going for things like emulators and roms, music, games, misc. My question is, is this feasable as someone who is a relative beginner (i do not want to hear hello world again ever, but i also dont know what an array is), and what do i need to learn for this application?

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

    Started my journey 3 years ago and finally “made it“.

    Posted: 30 Jun 2021 05:52 AM PDT

    This post is for all the people who are currently considering and/or in the process of trying to make a career change to programming...hope this serves as motivation!

    I graduated over 7 years ago, worked in commercial sales for 4 years, was miserable and decided that path wasn't for me.

    I started getting serious about programming around 2018. First, I did some research on which courses to take. I did the usual freecodecamp, Odin Project, & Cs50, that many suggest here, but I never got far.

    What eventually got me over "tutorial hell" was purchasing a Web Dev course on Udemy. Perhaps it was because I actually dropped money into it that I managed to finish the course.

    I ended up doing another 2 or 3 courses on JS / Bootstrap before I started to apply for jobs.

    After many rejections/no responses, I finally managed to secure an interview with a consulting company. I passed the HR round with ease, then utterly failed the technical round. However, even with this setback, the company offered me a role as a Business Analyst. I wasn't going to settle for this, so I called them back to explain I REALLY wanted a second chance. I told them about my situation (career change, nervousness, it was my first technical interview, etc. ) and the HR relented. They said yes and that I had 1 week to prepare.

    I ended up binging leetcode 24/7 at my work and at home on basic Javascript problems. Technical interview came around and I passed with flying colors (even though it was a simple FizzBuzz). I was proud of myself that I got this far and promptly deleted leetcode from my chrome bookmarks.

    Now the hard part starts.

    My first consulting role was at a insurance firm where I had to do website revamp for their main page. They wanted me to spearhead the revamp which was based on Angular (I had no prior experience), so I ended up buying an Angular course on Udemy.

    Being the fresh noob that I was, I ended up making tons of silly errors and asked stupid questions (what's a Jenkins? Who's Json?).

    I eventually got my bearings and was able to make the website from scratch, enable responsive styling, take API data, and present it to stakeholders.

    My next placement ended up being much tougher, as I was thrown into the lion's den right off the bat.

    I landed in an investment firm, and my first duty was to debug and rework React vendor code. The first app I had the privilege to debug was a React App all built in one SINGLE tsx file. WTF

    That was not my only hurdle... I had no previous experience with React (Angular knowledge helped somewhat), and I had no immediate team members to ask for help (it was just me and my placement manager, who never wrote a single line of JS).

    I again did plenty of online free tutorial coursework to familiarize myself with React, and ended up successfully fixing that monster spaghetti app. I've been with this company since then and they will be moving me to a perm position later this year due to the good feedback my manager has provided.

    TLDR: started off in sales, got bored/miserable, taught myself programming for a year on and off, applied and got lucky, had mad imposter syndrome for over 2 years, and finally (almost) secured a perm role.

    If you made it this far, my main advice will be :

    1) If you don't enjoy programming (or whatever career you're in), don't pursue it. 2) ALWAYS LEARN!!! And be consistent. 3) Ask questions on the job, but do your research beforehand.

    Best of luck!

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

    No comments:

    Post a Comment