• Breaking News

    Saturday, September 11, 2021

    What have you been working on recently? [September 11, 2021] learn programming

    What have you been working on recently? [September 11, 2021] learn programming


    What have you been working on recently? [September 11, 2021]

    Posted: 10 Sep 2021 09:00 PM PDT

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    How hard is finding a job without a degree?

    Posted: 10 Sep 2021 01:52 PM PDT

    How hard is it to actually get a "good" job (medium to well paid) if you do not have a degree?

    Suppose, you spent a lot of time (4 years+) intensively teaching your self programming, project managing and stuff which comes with it. You built a lot of good working projects and you know that you have really good knowledge (by talking to other people in the field and your age, way more than them) in a certain field. How hard would it be to get good job in a company without a degree? I heard really different things and i think that it can strongly depend on your situation and location, but some people said it is pretty easy to get a job and others said its hard. Could you share your experiences and expectations?

    Thanks in advance.

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

    Looking for beginner/intermediate Web dev projects

    Posted: 10 Sep 2021 10:53 AM PDT

    Looking for suggestions for a beginner web development project, I'm already familiar with programming, took some courses and not gonna lie they are really boring they might not be for an absolute beginner but I prefer to learn it in a 'journey' of projects Any ideas?

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

    Can someone please help me understand Linux? Where is my confusion coming from?

    Posted: 10 Sep 2021 04:56 PM PDT

    Okay so I am in second year computer science. In first year we learned Java and Python. It was really easy because we used an IDE. In IDEs you could right write and execute the code right on the same page, and there were a bunch of functions to help as short cuts.

    This year I'm learning C. We haven't started any C yet, just Linux and I'm very confused. My professor made us download a virtual machine and Linux (ubuntu). We haven't done any coding yet, just opening and closing text files using a Linux terminal (I think?) in the virtual machine. We did some other activities using commands like mkdir, rmdir, ls -l, etc. We also had to download a tar file and make a text file then add the text file to the tar directory doing this tar -rvf Tutorial1.tar file

    Can someone explain to me what all these commands are for because I'm so lost. In the virtual machine there is a terminal and a text editor. So do programmers not use IDEs when they're not at beginner level anymore? What is Linux? I know it's an operating system, but what are all these things my professor is making us do because she never really explained it and I don't exactly get the point of it. She said the it's better to learn programming without an IDE. She said she uses Linux to code everything, including Java and Python. I understand that you can just open a text file and code in Java or any other language then run the terminal to execute the code. But all these Linux commands she's making us learn...can you use those while coding a program is what I'm asking. Like in a simple "Hello World" program in C can you use the command mkdir to make a directory called Hello World for example or is Linux and all these commands we're learning a separate thing.

    I'm honestly not sure why I'm so confused but this seems like a huge jump from what I'm used to.

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

    Musicians who code (or want to learn to code)

    Posted: 10 Sep 2021 03:52 PM PDT

    Hey all,

    I'm a professional musician who is learning to code. I'm hoping to connect with more musicians who either are learning, wanting to learn, or have already taken the plunge into the world of computer programming. The pandemic has caused many of us musicians to pivot — partially, temporarily, fully, permanently, you name it — and many seem to be picking up coding. I think there are a lot of parallels in the learning process and ways of thinking needed to be successful at either. Anyway, I have started a Discord for musicians who code — at any stage of the coding or musical game. Right now it's mostly classical musicians (as that is my built-in network) but it's open to any musicians. If you're interested, please join us here: https://discord.gg/NawmXTmy

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

    I like back end...am I crazy?

    Posted: 10 Sep 2021 07:31 PM PDT

    I'm in a web dev bootcamp with Nucamp. We are doing back end work now, and I really like it.

    Right now we are handling authentication using JavaScript web tokens. We've already set up get/post/delete/etc routes and schemas using Mongoose and MongoDB.

    And I like it 😳

    I didn't expect that.

    I think I enjoy the logic and procedural gatekeeping aspect. Feels like the rules we are writing have a much more direct semantically understandable use vs something like React or God-forbid Redux.

    Anyone else out there feel the same/diff?

    Is there better or the same money in backend work?

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

    I am trying to make a game where the player goes around the map eating food , how do I make them spawn randomly? I am using the game engine game maker studio 2 btw

    Posted: 10 Sep 2021 08:05 PM PDT

    I want multiple fruits to spawn at random locations on the map.

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

    Is this a realistic time frame for a basic understanding of Java?

    Posted: 10 Sep 2021 10:35 PM PDT

    I'm a high school student and I got a coding class for Java with an opportunity to get a class that uses JS next year. Could I, a high schooler with ample free time, learn a decent amount of Java in under a year, and be at enough of an understanding to not mix it up with JS in the following year? apologies if this is a stupid question (I've been learning JS in my free time for a while but probably only a few weeks of actual effort into it, not to a competent level, if that's an important detail)

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

    Professional developer seeking highly driven student

    Posted: 10 Sep 2021 10:31 PM PDT

    I've offered free mentorship first-come-first-serve a few times before, and had 20ish mentees, most of which *never made use of the assistance I was offering.*

    That is essentially a waste of my time as I manage contacts and get to know someone without actually helping someone grow. I think that programming is fun and rewarding, and want to help people into the craft, similar to how you might like to see a garden bloom, but I'm tired of wasting time.

    Me:

    I've worked professionally for 4 or 5 years, mostly with python. Websites, machine learning, software architecture, lots of misc scripting. I'm into best practices and simple solutions.

    I can explain things, though you could find that online anyway.How I can be more useful is by providing code review and diagnosing areas to improve.

    You:

    - Know how to use basic syntax, variables, if, for. Other resources can teach those things better than I can.

    - Have regularly (at least every few days) spent time learning programming over the past two weeks, and expect this to continue.- Believe that you can learn and do great things with enough effort.

    - Want to learn programming for your own enjoyment (at least in part), not just as a means to make money.

    - Preferably using python. I can help with any common language (they're similar), but I can give the most nuanced review in python.

    If that sounds like you, please PM me or comment with an introduction and description of your circumstances and programming history. I'll clearly mark this page when I'm no longer looking for applications.

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

    I am a beginner using the game engine game maker studio 2 and I want to know how I can make procederual generated terrain for the player to explore

    Posted: 10 Sep 2021 08:05 PM PDT

    The terrain would have random fruits and rocks that spawn for now. Once I understand how to do those things then I will move on to other random stuff like trees, bushes, or lakes. I am only using simple single colored sprites, nothing fancy.

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

    Should I continue with Typescript?

    Posted: 10 Sep 2021 11:16 AM PDT

    I am finishing up my online university course where we are using Typescript (my first time using it) to implement a web based query system. I have really enjoyed learning Typescript. I struggled a bit with the project and want to improve my technique to get better (my implementation took forever). What kind of job would use Typescript? Should I continue with it or should I go back to java for my continued education? (seems like lots of tutorials are in Java)

    A bit about me: I am looking to get into the industry and am not to fussed what I do (web vs mobile). I just need to get a job and get some experience. Is Typescript a good language to focus on? Any recommendations? I have experience with TS, java, Dart/flutter and LISP.

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

    Can or should I learn C and Python at the same time?

    Posted: 10 Sep 2021 04:08 AM PDT

    I have reached till arrays in the CS50 course thinking that my college would teach C. Apparently they are starting with Python..

    Personally I want to learn C, I love the low level precision of the language.

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

    Completely new to coding, how do I start?

    Posted: 10 Sep 2021 08:43 PM PDT

    So I'm completely new to coding, I have absolutely no prior experience, am not in the field at all and understand none of it. If I wanted to self study prior to going back to school in a year for software development which language(s) should I study? Should I only focus on one like Python? Should I learn the basics of many? I want to have at least some of understanding or even a good understanding of what I'm doing when I go back to school.

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

    How do I stop procrastinating while programming?

    Posted: 11 Sep 2021 12:02 AM PDT

    I'm relatively new to programming and I think I'm procrastinating a lot while programming. How to stop?

    submitted by /u/Emotional-Avocado-81
    [link] [comments]

    Need help transforming a matrix

    Posted: 10 Sep 2021 11:58 PM PDT

    How can I transform the original matrix to the sorted matrix posted? I have an assignment where I have to replicate these values and I want to know how would I go about that. The pattern is each column is sorted in ascending or descending order based on the max value of each column. So as you can see row[4]column[0] the 1 changed to a 2 so that column 0 is now in ascending order. Just curious if anyone has an approach on how to do this. Any help would be highly appreciated.

    Original Matrix

    1 2 5 3 3

    2 4 1 5 1

    2 1 1 5 2

    1 1 5 1 3

    4 3 1 5 1

    Sorted Matrix

    1 2 5 3 3

    2 4 5 5 3

    2 4 5 5 3

    2 4 5 5 3

    4 4 4 5 1

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

    [Python] What is the proper way to implement asyncio and multiprocessing within nested loops in this particular scenario?

    Posted: 10 Sep 2021 08:05 PM PDT

    Hi everyone!

    My scenario is the following. I have 7000 categories, each of which containing up to 60 pages, each of which with up to 60 items. What I need to do is:

    1. Go through each page of each category. The items are ordered by number of items sold so that the very first page of each category contains the items with the most sales and so on.
    2. Extract all items with number of sales above X.
    3. If the page contains any items with sales below X, this means all subsequent pages will not have any extractable items either since the list is ordered so we can move on to the next category.

    What is the correct way to take advantage of both asyncio and multiprocessing in this scenario considering that I am iterating through categories and, within those, through pages, where I finally process and store the data?

    It's important to note that the program can't go too far ahead within the page loop using asyncio because one of the pages that are left behind loading could come up containing less than the minimum threshold for extraction, meaning that all of the other pages that were set to load after that one don't contain valid items either and that resources were wasted.

    I have never implemented either asyncio or multiprocessing so I would love some pointers.

    Thank you so much!

    EDIT: What about looping only through the categories first and loading the very first page of each using multiprocessing to load several pages at once and asyncio so that once asyncio comes back it just saves the data and proceeds to loads the first page of the following categories and so on until all first pages are loaded, then I process everything using multiprocessing, decide which categories to continue searching and proceed to page two of every category?

    Is this the way this works or am I completely tripping? Multiprocessing allows me to load X pages at once while asyncio allows me to go give orders to load more pages while the others I had already ordered continue to load, right?

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

    GoLang ? Looking for Best resources

    Posted: 10 Sep 2021 11:33 PM PDT

    Hi, I have started learning GoLang. I have some experience in C and shell scripting but most of my experience has been on Oracle DB side including extensive experience on writing DB packages and Procedures/Functions.

    I have started learning GO on my own and was wondering if there are good online resources to pick up this language. I am looking at becoming moderate level programmer in GO who can write microservices independently.

    Typically how much time should I expect myself to be spending on it to reach a level of comfort.

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

    Find the mistake in working of this code

    Posted: 10 Sep 2021 11:16 PM PDT

    #include <stdio.h>

    double factorial(double x){

    if(x == 0.0 || x == 1.0){

    return 1.0;

    }

    return x*factorial(x-1.0);

    }

    double main()

    {

    double t,n;

    scanf("%lf", &t );

    while(t--){

    scanf("%lf", &n);

    printf("%lf\n",factorial(n));

    }

    return 0;

    }

    The problem with this code is for large 2 digit numbers where the output changes. Suggest some ways to correct this code.

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

    Anyone knows why my submission in Vjudge said "Submit Failed " ?

    Posted: 10 Sep 2021 11:04 PM PDT

    I already tried to submit different code. But the result is same

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

    What math books / courses would you recommend for algorithm challenges?

    Posted: 10 Sep 2021 04:07 PM PDT

    The higher the rank I achieve in any random algorithm site, the more I realize my math IQ could be better. Can anyone refer me to some resources?

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

    How to stay up-to-date?

    Posted: 10 Sep 2021 03:46 PM PDT

    So for the majority of my programming life the extent of my keeping up-to-date has been limited to the individual technologies I'm using. Learning that a function has been removed or changed in the last update. Things like that. But where I struggle is staying up to date in the new ways people are using existing technologies. I work primarily with the LAMP stack, and when I do it's just plain old HTML and CSS, sometimes using bootstrap. But I feel like this could be improved.

    What I essentially want to know is, if a company like Google were to utilize the LAMP stack, how would they approach it? I'm assuming it would be far more streamlined and efficient than what I'm doing. I'm assuming they would probably rely more on things like Emmet.

    This is just an example though. I'd like to learn in general how to best approach modernizing your workflow. Whether you're developing desktop apps with C#, scripts with Python, or websites with HTML/CSS/JavaScript & PHP/MySQL.

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

    Is there some sort of cheat sheet or resource other than Grokking the coding interview, where algorithm patterns are listed and explained?

    Posted: 10 Sep 2021 09:29 PM PDT

    Just as the title suggests I'm looking for resources on algorithm patterns such as but not limited to:

    Sliding windows Two pointer technique Bfs Dfs

    All I could find was grokking the coding interview on educative.io and their post on medium. Are there any other resources on these patterns?

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

    Please evaluate on how..

    Posted: 10 Sep 2021 05:31 PM PDT

    I asked on how I should begin learning python, stating that I couldn't sit through a 1-6 hour "tutorial" video. Luckily no one said to do that but one comment said to start a simple project and go from there. My question is how, if I know nothing, how am I supposed to start a project.

    I attempted to make a password generator and luckily got it correct but ended up following a tutorial then tried to create it again from memory but failing.

    Am I supposed to be taking notes? Am I doing it the wrong way? Should I have tried something different?

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

    In Python, how do I iterate over a list of 100 things and have each one save with a different filename?

    Posted: 10 Sep 2021 01:28 PM PDT

    Ok so preamble - I am not trying to learn Python. I'm trying to use it for a particular task and I'm stuck.

    Here's the code. Ignore my comments

    # Import the module that deals with images in Python from PIL import Image # Open the 10x10 image) im = Image.open("10.jpg") # Create the two blank lists we'll need mylist = [] # this is for the xy values rgblist = [] # this is for our RGB values # Output a hundred values, starting at 0,0 then 0,1 and ending with 9,9, then append those values to the 'mylist' variable for i in range (0,10): for j in range (0,10): mylist.append((i,j)) # Iterate through 'getpixel' for each item in 'mylist' and append those RGB values to 'rgblist' for xy_value in mylist: rgblist.append(im.getpixel((xy_value))) # Save each xy RGB value to its own file for pixeltosave in rgblist: newimage = Image.new('RGB', (1,1), color = pixeltosave) newimage.save("pixeltest.jpg") 

    That last block of code will iterate over my 100 pixels, overwriting each one as "pixeltest.jpg" until I'm left with only one 1x1 file, "pixeltest.jpg"

    What I would like is to have 100x files, starting with "001.jpg" and ending with "100.jpg"

    This is all alien language to me though so I don't even know how to Google for help.

    Any help is appreciated, thanks

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

    When should I start learning React, Angular,etc?

    Posted: 10 Sep 2021 10:22 AM PDT

    I'm learning web development. I've learnt html css. I try to solve javascript problems everyday to prepare for interviews but most job postings require command on react, angular, jQuery, etc. When should I start learning them?

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

    No comments:

    Post a Comment