• Breaking News

    Tuesday, October 5, 2021

    My teacher told us that software development will go extinct really soon because of "no code/ zero code" us that true? learn programming

    My teacher told us that software development will go extinct really soon because of "no code/ zero code" us that true? learn programming


    My teacher told us that software development will go extinct really soon because of "no code/ zero code" us that true?

    Posted: 04 Oct 2021 06:52 AM PDT

    M worried that by the to me I graduate there will be no jobs left, or the market will be really saturated. Should I consider a career change before it's too late?

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

    200+ applications later I finally got a job offer.

    Posted: 04 Oct 2021 03:26 PM PDT

    I just wanted to post and give others struggling some hope, I graduated with my masters in Management Information Technologies in 2020 during the pandemic, which honestly sounds nicer than it is. The program I was in was full of 8 week programs and really meant to just push you through as fast as possible and meh if you really learned it. My undergrad degree is in German so nothing remotely tech related. I had to work full time to afford my masters so I wasn't able to get an internship or anything. I already knew I was going to struggle to find a job after graduating with no relivant work experience but then that glorious pandemic hit. Major yikes. I did coding challenges all the time to keep my skills up. I read skill books. I worked on my portfolio. I kept an excel spreadsheet of every job I applied for. I revamped my resume 4 times in the last year and finally found one that seemed to get more "responses" back....I've had a few interviews in the past year that I just totally bombed but I took notes on what I failed at and made sure I knew it for the next time. At this point my spreadsheet shows I applied for 217 jobs...woof. But... I finally got an offer as a software analyst and I'm SO stoked. I just wanted to tell everyone to keep trying! Keep learning. And don't feel bad if you totally embarrass yourself in an interview, see it as more practice. :)

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

    Doesn't Facebook have multiple servers and load balancers to protect if some of them go down?

    Posted: 04 Oct 2021 01:04 PM PDT

    I thought I would ask about this trending topic from a programmer's perspective. How could this happen?

    Facebook should have specific measures in place that would prevent everything blacking out like that.

    Like load balancers and multiple servers in multiple Geo locations.

    What could be the cause?

    When loading Facebook, it seems like even the DNS doesn't resolve, as I don't see their server IP at all or any 500 errors. Is that the problem?

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

    Introducing Codecademy Docs

    Posted: 04 Oct 2021 11:36 AM PDT

    Happy Hacktoberfest r/learnprogramming! It's Sonny from Codecademy. 👋

    We recently launched Codecademy Docs, our own coding documentation site for popular languages and frameworks.

    Codecademy Docs is a low-key big step for us because it's our very first foray into the realm of open-contribution and UGC (user-generated content). Our north star is a world where devs, educators, and learners around the world come together and build tens of thousands of Docs entries for the community to use for free.

    This is still our Day 1, but we are very excited to innovate in this space and push the boundary of what coding documentation could be — high-quality, easy to use, and beginner-friendly.

    Take a look at the GitHub repo and the "Issues" page if you want to help out. We would love for community members to make PRs and add/edit some entries or give us feedback in the comments below.

    Happy coding!

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

    Can a high school drop-out become a web developer?

    Posted: 04 Oct 2021 12:44 AM PDT

    Im currently in my 2nd week of learning html and css so far its been pretty ok. Studying about 2hrs mon-fri and Saturday and sunder 4hr +. i wanna know if a can be web developer without a second education? ( no ged or something. Theres nothing like that in my country i think.) i really wanna change careers. dropped out bcs of personal reasons.

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

    Hesitant to work on issues in Open Source Projects

    Posted: 04 Oct 2021 11:09 PM PDT

    I got to know about Open Source and Hacktober fest quite recently but I don't know if I'm qualified enough to make contributions. I have found a repository for beginners but I'm scared to ask them to assign the issue to me. Are there any deadlines once the issue is assigned to you? I'm scared of what will happen if I don't finish the contribution on time or do a really bad job. Will I be blacklisted from future contributions? Did any of you have this fear or anxiety starting out? There are people who can do the work in a much better way, and this keeps me from taking on issues.

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

    Looking for a Java beginner course for a 13-year old

    Posted: 04 Oct 2021 03:48 PM PDT

    Hi! I'm looking for an online course for my 13-year old to learn Java. He would ultimately like to create video games. I am looking for something that he and I could both learn. We have NO prior experience (other than the fact that he learned a LITTLE bit of JavaScript about a year or two ago, which I have since learned isn't the same.)

    We are looking for something that starts at the absolute beginning. Like assuming we know NOTHING. We even started doing the Mooc one that everyone recommends and got a little confused right away. Is there anything even MORE basic?

    Heck, is Java the way to go for him? This is definitely for the both of us but much more for his benefit.

    Thanks in advance!

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

    Why is Python the best AI/Machine Learning Language if it's considered the slowest language? wouldn't (Assembler or C) be preferred and much faster?

    Posted: 04 Oct 2021 10:55 AM PDT

    I am curious about this

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

    Is it possible to use a JavaScript library inside a Java app?

    Posted: 04 Oct 2021 11:01 PM PDT

    I'm trying to develop a mobile app using a library that interacts with a blockchain, however they only have a library implemented in javascript so I was wondering if it was possible to use that implementation inside a Java app.

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

    Does Cyber Security jobs need programming?

    Posted: 04 Oct 2021 05:09 PM PDT

    There's jobs in my area where being a Cyber Security Analyst will get you paid more than 60k a year. Is there any programming that is needed to become a Cyber Security Analyst?

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

    Calibre and Filesystems. Question about atypical code.

    Posted: 05 Oct 2021 12:55 AM PDT

    There's an OSS project called Calibre that is basically an ebook cataloguer/reader, and seems to be the only program ever made that handles the use case of maintaining a searchable set of thousands of documents with conversion into other formats on demand for loading onto different devices. ( I would pay for an alternative if I had to and I just haven't found one )

    I am having an issue where, for some reason, when you rename an ebook with this software.

    My problem is that, as far as my troubleshooting goes, it locks the filesystem object twice...copy the contents of the folder to a new folder with the correct name, releases one of the locks, and tries to delete the original while also unlocking it again...and anything that monitors the filesystem like an antivirus program introduces a tiny few millisecond long delay that basically makes the software unable to delete the original..leaving a duplicate in the folder and generating an error.

    This even happens when I have every single executable added as a local exclusion from sophos home. Sophos isn't even touching the program when it runs into the locked file conflict according to file system monitors...it's just the program trying to delete the folder at literally the same MS as the unlock...and when any sort of filesystem filter is installed, even if it's disabled, the timings are off.

    Following the golden rule, I have...nothing to say about the head developer. Let's just say that he is completely cognizant and aware of this issue and says "Well, just don't use antivirus" ...I find that unacceptable. He also says that he does special operations that are incompatable with network shares...and I don't buy that either.

    The main problem is that he chews out anybody who opens up a trouble ticket for this issue in any of the repositories and closes the ticket as resolved.

    Okay...so I won't get any help from the developer. I want to fix it...if this was assembly I'd just JMP over whatever the hell is doing this, but it also seems to just be all over the place, and doing fuckery with hardlinks and whatnot.

    I really just wish this was a database using blobs or something else that made any sense to me.

    I believe I've narrowed down the offending code to this section, but any time I try to skip over it or try to increase the timeout it makes the damned thing explode.

    I do not have that much experience with programming, but the way this program does filesystem calls looks like a completely foreign ass-backwards methodology that I can't wrap my head around. I can't find any example code that is anywhere CLOSE to what this thing does to try to extrapolate from, and the comments are ZERO help. It's shit like "Do this because network filesystems suck"

    Am I going crazy or is this program written....oddly and I'm just completely in over my head trying to understand it because the code is like a "Why TF is this like this" kinda way.

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

    Asp.Net Core MVC resources

    Posted: 05 Oct 2021 12:21 AM PDT

    Does anyone know any good updated ASP. NET Core MVC video tutorials? I found a few but read complaints of them being outdated. Thanks!

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

    Best way to study?

    Posted: 04 Oct 2021 06:17 PM PDT

    I'm currently on week 4 of a data science internship. The internship is 4 hours every night M-T with assignments afterwards.

    Presently, I realize that while I feel like I understand something while a teacher is explaining it, once on my own I feel slightly more lost. I do work outside of this internship so making time can sometimes be challenging, but I feel frustrated because I don't think I'm retaining what I want to/need to.

    Is this a normal feeling, and if so how do I combat this?

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

    What language should I learn?

    Posted: 05 Oct 2021 12:07 AM PDT

    ***for context, I've been learning JS for about 2 years, and I'm currently residing in China ***

    Before I begin, I apologies if this isn't the correct place to ask this. But, I've been having this school of thought I guess of which language I should REALLY be learning. I'm conflicted by 2 camps.

    Camp 1 ) Go down the route of JS, learn Node, my JS Framework of choice, build a few projects, maybe learn math then ultimately learn ML, A.I .ect

    Camp 2 ) Learn C#, I ultimately don't like using React, for syntax reasons (I won't get into it), and the only Framework that was to my liking was Svelte.js, but compared to React / Vue in terms of job available, Svelte has a drop in the ocean and React / Vue is the ocean.
    Furthermore, When it comes to C# i can do web dev with Blazor sure, plus if I ever felt like it I can extend to Unity 3D and be a game programmer.

    I apologize if I'm rambling.

    I can't make a good choice in this, in your experience and the trend that dropping JS wouldn't be a bad idea, since most Dev look down on Javascript in comparison to OOP like Java or C#....

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

    I'm 37 am I too old to bother?

    Posted: 04 Oct 2021 11:43 PM PDT

    I currently work as a 3d artists and I'm about as far as I can go in my career. Seriously thinking of a career change to a web developer. I've built a few sites in WordPress and and Shoppify but I have zero coding experience.

    Questions are as follows.

    1. Am I just too old for an employer to take me seriously and make this work?

    2. How long will it take me to learn enough to get a job? Currently looking at code academy to do that.

    3. What can I expect to earn in the UK for my first employed job?

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

    Automation QA to Devops

    Posted: 04 Oct 2021 11:23 PM PDT

    I'm currently a Junior QA Engineer and I would like to shift to Devops (Preferably land an internship). I have learned everything required for my job as a QA by doing internships and self learning and I do not have a degree in CS or anything related. I would be extremely grateful if anyone could give me tips on how I can make the switch and land a Devops internship and also, is QA experience valuable for becoming a Devops? Thank you very much.

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

    Java codingbat array 1 swapEnd

    Posted: 04 Oct 2021 11:14 PM PDT

    public int[] swapEnds(int[] nums) {

    int[] arr = new int[nums.length];

    arr = nums;

    int a = nums[0];

    arr[0] = nums[arr.length-1];

    arr[arr.length-1] = a;

    return arr;

    }

    why would storing nums[0] as a variable work while

    public int[] swapEnds(int[] nums) {

    int[] arr = new int[nums.length];

    arr = nums;

    arr[0] = nums[arr.length-1];

    arr[arr.length-1] = nums[0];

    return arr;

    }

    not storing it wouldn't work

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

    strange python syntax error

    Posted: 04 Oct 2021 05:11 PM PDT

    The line I wrote is:

    if value < 0:

    print("HGV")

    then I ran the program and it replied with:

    syntax error (at the colon).

    WTF?

    can someone explain?

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

    What's the point of a Java interface if you define the method in the class?

    Posted: 04 Oct 2021 03:33 PM PDT

    I'm learning about the Java interface and I can't understand why you'd implement one if the methods are defined in a class.

    I understand the concept of multiple inheritance/wanting to abstract a class, but if there's just a bunch of empty methods, I don't understand.

    Lmk if this type of question is too basic for this sub, I don't wanna irritate anyone

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

    Why Doesn't This Async Code Work As It's Supposed To?

    Posted: 04 Oct 2021 10:50 PM PDT

    So I have the below code, and I am trying to make it do the following:

    Two async functions that run simultaneously. One is a while loop that listens to changes on a variable and the other that that logs to console and changes the variable value at given intervals.

    I was hoping it would log "ALERT" every time the variable value was changed, but the console is empty. Like, fully empty, not even the "before change1" logs are being printed.

    var doLoop = true; var noLang = 0; async function checker() { while (doLoop) { if (noLang==1) { console.log("ALERT") } } } async function also() { checker(); await setTimeout(()=> { console.log("before change1") }, 3000) noLang = 1; console.log("after change1"); await setTimeout(()=> { console.log("before change2") }, 3000) noLang = 0; await setTimeout(()=>{ console.log("before change2") }, 3000) noLang = 1; console.log("after change2"); doLoop = false; console.log("closed loop") noLang = 0; noLang = 1; console.log("after change 3 (no alert should appear)") } 

    So what is wrong with the code/my perception of asynchronous? Is there a better way to do it? Any help is much appreciated, thanks!

    Language: JavaScript

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

    Going Back to School For CS, Thoughts on BU LEAP for CE vs UPenn MCIT?

    Posted: 04 Oct 2021 06:51 PM PDT

    Hey everyone! I graduated from university almost a year ago with a degree in Information Systems and Finance. I work a non-technical business role at Big Tech company but I would like to become a SWE or Product Manager. I'd even like to work in AAA development sometime! But in order to do any of that, I need (and want) a strong CS background. I've found a couple Masters programs that seem to be a good fit for me. Namely, the LEAP program at BU in Computer Engineering and the MCIT at UPenn. (It is a Masters in CS but the name is Computer and IT, unfortunately)

    The BU program is full time in person so I'd have to leave my current job, would be shorter to finish (1.5 years vs 2.5 years), and about 4 times as expensive as the MCIT (27k vs ~120k). I'd go into debt for a quality education however.

    Factoring time, money, and quality of education, which program would open the most doors? Would a CE Masters be a good idea for someone with my career goals more focused in software? Also, would I be auto-dinged from job applications in the future if my degree doesn't say Computer Science? That's my biggest concern of UPenn's program.

    https://online.seas.upenn.edu/degrees/mcit-online/academics/

    https://www.bu.edu/eng/prospective-graduate/leap/planning/ (Core classes)

    https://www.bu.edu/eng/programs/master-of-science-in-electrical-computer-engineering/ (Electives)

    I put the course list down for both programs if you want to see what they offer.

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

    (C++) Program ending where it's not supposed to but I don't see why

    Posted: 04 Oct 2021 04:35 PM PDT

    I start off by asking the user for 3 inputs then do a c out for another question and then it skips over asking for the next 3 inputs and ends.

    When I remove the first cout and 3 inputs and test my next c out and 3 inputs standalone they work properly but not together?

    I feel like its probably something really obvious but I am completely oblivious

    #include <iostream>

    using namespace std;

    int currentHours, currentMinutes, futureHours, futureMinutes;

    char currentAMPM, futureAMPM;

    bool isAM;

    /*void timeMachine(int currentH, int currentM, char currentAM, int futureH, int futureM, char futureAM) {

    int totalTime;

    if (currentAM == 'am' && futureAM == 'pm') {

    int newH = ((currentH - futureH) * -1);

    int newHasM = newH * 60;

    int newM = ((currentM - futureM) * -1);

    totalTime = (newH + newM);

    cout << "There are " << totalTime << " minutes (" << newH << " hours and " << newM << " minutes) between " << currentH << ":" << currentM;

    }

    }*/

    int main()

    {

    cout << "Enter start time, in the format 'HH:MM xm', where 'xm' is either 'am' or 'pm' for AM or PM: ";

    cin >> currentHours;

    cout << ":";

    cin >> currentMinutes;

    cin >> currentAMPM;

    cout << "\nEnter future time, in the format 'HH:MM xm', where 'xm' is either 'am' or 'pm' for AM or PM: ";

    cin >> futureHours;

    cout << ":";

    cin >> futureMinutes;

    cin >> futureAMPM

    //this is the cout and 3 cins where the code messes up

    //timeMachine(currentHours, currentMinutes, currentAMPM, futureHours, futureMinutes, futureAMPM);

    }

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

    Maze generator using union-find, coming back again for help with index 0 in length 0 array...

    Posted: 04 Oct 2021 10:29 PM PDT

    Sorry for the spam the past few days, this assignment is really confusing for me so I know I have made a lot of posts, but this sub definitely has saved my ass with these projects, so thank you especially to anyone who has been seeing my posts.

    I've taken note of the previous advice given here.

    What I have done: I have changed my findPath()
    method to handle finding and indexing cells more efficiently, mainly to fix runtime and duplicate issues.

    I have also double checked my list / array creation logic, and fixed the lengths where I saw fit.

    I also got rid of some array logic to use lists instead since they are dynamic and improve logic readability.

    Code in question:

    https://pastebin.com/K0hL2iWb

     public void findPath() { int current; int neighbor; List<Pair> unusedPairs = new ArrayList(Arrays.asList(points)); while(map.count() > 1) { current = rand.nextInt(unusedPairs.size()); neighbor = findAdjacent(unusedPairs.get(current)); if (map.find(encode(unusedPairs.get(current))) == map.find(neighbor)) { System.out.println("Connected in same component already!"); } else { map.union(encode(unusedPairs.get(current)), neighbor); System.out.println(unusedPairs.get(current) + ", " + points[neighbor]); unusedPairs.remove(unusedPairs.get(current)); } } System.out.println("done"); } 

    as well as

    public int findAdjacent(Pair p) { Pair n = new Pair(0,1); Pair w = new Pair(1,0); Pair s = new Pair(0,-1); Pair e = new Pair(-1,0); Pair[] nwse = {n, w, s, e}; ArrayList<Pair> neighbors = new ArrayList<>(); //For every possible 4 directions of the cell, determine which directions are valid and store in arraylist. for(Pair direction : nwse) { if((0 <= p.x+direction.x) && (p.x+direction.x < columns-1) && (0 <= p.y+direction.y) && (p.y+direction.y < rows-1)) { neighbors.add(direction); } } //Generate random index based on size of arraylist int nbr = (int)(Math.random()* (neighbors.size())); System.out.println(nbr+1); Pair direction = neighbors.get(nbr); Pair neighbor = new Pair (direction.x + p.x, direction.y + p.y); return encode(neighbor); } 

    Note I have tested the findAdjacent()
    method by itself as suggested. It will work with a variety of different outputs. But when paired with the other method, that is when I am not sure which is causing the problem.

    Exception/output:

    1 TEST 3 0 1 (4, 2), (3, 2) 1 (4, 1), (3, 1) 1 (4, 0), (3, 0) 1 (0, 3), (1, 3) 1 (3, 4), (3, 3) 3 (2, 1), (2, 0) 1 (1, 4), (1, 3) 3 (0, 1), (0, 0) 1 (3, 2), (3, 3) 3 (3, 1), (2, 1) 4 (1, 2), (0, 2) 2 Connected in same component already! 1 Connected in same component already! 4 (2, 2), (1, 2) 3 (1, 0), (0, 0) 3 (2, 3), (1, 3) 1 (2, 4), (2, 3) 1 Connected in same component already! 2 (1, 3), (1, 2) 1 Connected in same component already! 1 (0, 4), (0, 3) 1 Connected in same component already! 1 Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:359) at java.base/java.util.ArrayList.get(ArrayList.java:427) at MazeGenerator.findAdjacent(MazeGenerator.java:102) at MazeGenerator.findPath(MazeGenerator.java:43) at MazeGenerator.main(MazeGenerator.java:119) Process finished with exit code 1 

    Thank you for taking the time to help me out, and again sorry for the string of posts I have been making, appreciate all for putting up with me.

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

    Does this makes sense?

    Posted: 04 Oct 2021 10:20 PM PDT

    Guys.. when I was doing my masters and bachelors 12 years back the prime focus was building the basic analytical skills like C, Data Structures etc.. Nowadays when I take recruitment interviews I am hearing that many colleges have removed C altogether and replaced it with python etc. I get that no learning is bad learning but somehow I feel you need to "learn" the hard way .. build a linked list yourself.. build a stack yourself using structs.. that makes your foundation!! Folks knows how to use it but they don't know what happens inside.. Ofcourse not needed at work to know that.. but thats not the point! It helps building our analytical skills!! Again , just my opinion what do you guys think??

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

    No comments:

    Post a Comment