• Breaking News

    Saturday, March 13, 2021

    Git/Github tutorial learn programming

    Git/Github tutorial learn programming


    Git/Github tutorial

    Posted: 13 Mar 2021 03:04 AM PST

    I've been trying to learn Git/Github, but I cannot find a good, beginner-friendly tutorial. Can you recommend me one?

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

    Most valuable programming advice you've been given?

    Posted: 13 Mar 2021 05:42 AM PST

    Hello ladies and gents,

    I'm a 3rd year games software development student nearing my end of this term.

    I'm not confident in my programming abilities at all and I often wonder how I have made it this far, this may be due to imposter syndrome or the fact I have far superior programmers around me.

    My question is if you've ever doubted your programming abilities, what advice have you been given to steady the ship and keep you believing or any advice in general!

    Any insight or advice would be fantastic, thanks!

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

    Is there any tool to draw illustrative ascii sketch for use in code?

    Posted: 13 Mar 2021 04:02 AM PST

    I work mostly on physics simulations and it's very useful to have sketches similar to these in the code:

     # ________z2____.·O. <— used as top boundary # |· · # .· | . # .· | . #.· o<—z . <— elementary volume from the side # · | · # · | . # . | ____.— #______O..—z1̅_̅_̅_̅______<— used us bottom boundary 

    With them it's easy to imagine what each variable represents. Making these however can take a lot of trial and error with different symbols, etc. and the pictures themselves aren't super good either. Is there a tool to create such pictures for use in code? I've mostly found few that draw very large files that are needlessly too detailed. I only need basic geometric shapes and I'd rather not have the picture take up 100 rows.

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

    What type of algorithms should I study first?

    Posted: 13 Mar 2021 08:34 PM PST

    I did poorly on the algorithm section of an interview and I have been kind of shook in terms of my confidence as a programmer. It's been two weeks since I've programmed I know I shouldn't let it get to me but there is a lot of outlying stress with my family and just life rn that the rejection sting a lot more than usual. But. I'm committed to starting back up this week and I want to practice my algorithms where should I start?

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

    How good do you have to be to land a junior web dev job?

    Posted: 13 Mar 2021 04:35 PM PST

    I'm almost 2 years into a cs degree and although I'm getting decent grades I'm worried that when I finish uni I will struggle to get a job.

    I can build a full stack app but only with help from different tutorials and books. I can't really do much at all without the help from someone else's code, I just feel like a fraud.

    I am able to complete all assignments given to a good standard but that is because I put a ridiculous amount of time into them. Studying remotely is granting me more time to code. If I were actually travelling to uni I wouldn't have the time to do so well. So if I were at work, working to a set number of hours, I know I wouldn't be able to keep up.

    Everything I have learnt so far I feel like I've forgotten and would have to learn again. I can only do a particular task when I have been completely immersed in it for a period of time.

    I'm worried I won't remember anything when I finish uni and I won't find employment.

    Anyone else feel like this?

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

    Most courses I’ve seen only focus on coding. Is anyone else interested in learning debugging techniques?

    Posted: 13 Mar 2021 03:10 AM PST

    There are countless debugging tools across multiple platforms. Debugging feels more of an art than a science. Thoughts?

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

    wanting to learn code as a hobby for the moment, tips?

    Posted: 13 Mar 2021 03:05 PM PST

    I really want to start my programming journey, any tips on where I should begin? I really want to be able to make bots, viruses (for my own enjoyment), games, programs, websites, etc but I'm stuck at the beginners block as a lot of people are, (this has nothing to do with it but I'm going into the information technology field at school so it will turn into more than just a hobby but I want to start now) can i get any tips on how or where to start? I mainly want to learn python and c# at the moment. I'm really motivated and this is something I'm so passionate about this even though I don't know anything at all haha. I really appreciate it thanks! tell me how you started

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

    A question for you all.

    Posted: 13 Mar 2021 04:18 PM PST

    Hey everyone. I have a question for you.

    Whenever I see someone talking about learning to code by yourself and listing the important things, they include some form of "reaching out" to people. Having a strong presence in social media, going to events (pre-covid, of course) and so on.

    The thing is, I dread this specific part of the "path to success" as a self-taught developer. So I decided to come here and ask of you: How much of this is true? Does anyone else have little to no interest in being really present in social media and attending events and such? What are your personal experiences on this? Should I give up on a career if I simply can't stand this?

    Don't take me wrong though: I know cooperating with people and giving back to the community is important, it's just I'm not a very sociable person and don't feel like being nor I have a deep passion for technology (Unfortunately, I'm one of those who is interested in the oportunities the IT field brings to the table.).

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

    Can someone tell me why winner wont print??(Python)

    Posted: 13 Mar 2021 11:31 PM PST

    import numpy as np ROW_COUNT = 6 COLUMN_COUNT = 7 def create_board(): board = np.zeros((ROW_COUNT,COLUMN_COUNT)) return board def drop_piece(board, row, col, piece): board[row][col] = piece def is_valid_move(board, col): return board[ROW_COUNT - 1][col - 1] == 0 def get_next_row(board, col): for r in range(ROW_COUNT): if board[r][col] == 0: return r def print_board(board): print(np.flip(board, 0)) def winner(board, piece): for c in range(COLUMN_COUNT -3): for r in range(ROW_COUNT): if board[r][c] == piece and board[r][c+1] == piece and board[r][c+2] == piece and board[r][c+3] == piece: print("winner") game_over = True if board[r][c] == piece and board[r+1][c] == piece and board[r+2][c] == piece and board[r+3][c] == piece: print("winner") game_over = True #then check vertically board = create_board() print_board(board) game_over = False turn = 0 while not game_over: if turn == 0: col = int(input("Player one make your selection (0-6): ")) if is_valid_move(board, col): row = get_next_row(board, col) drop_piece(board, row, col, 1) else: col = int(input("player two make your selection (0-6): ")) if is_valid_move(board, col): row = get_next_row(board, col) drop_piece(board, row, col, 2) print_board(board) turn += 1 turn = turn % 2 

    I was told in other forums that it works but when i run the code and get 4 in a row or column the game just continues? idk what to do or how to fix

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

    Alternative to Code School?

    Posted: 13 Mar 2021 03:53 PM PST

    A couple years ago I used a site called Code School and loved it. You'd pay like $30 and get extremely high quality coding tutorials from good instructors. It was so amazing.

    Code School merged into Pluralsight but imo Pluralsight is just not the same. Lots of their tutorials are very poor quality, still utilizing 4:3 aspect ratio and powerpoint presentations. The site looks bulky and ironically gave me errors on multiple occasions (404s and having to refresh stuck pages).

    What am I paying for then if I can find better tutorials on YouTube for free? I liked code school cause it cut out all of these bad tutorials and gave a structured, organized way of learning with each course broken up into sections (kinda like Udemy does). Not to mention cool animations and songs they'd add in their videos (not necessary, but really showed they put effort into their content).

    Is there anything like Code School nowadays? Right now I'm using Treehouse which is close but still not as good as Code School was. They have like 3 instructors total and and have semi-outdated courses. Any other suggestions?

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

    Is there a way I can get 1 on 1 tutoring with programming?

    Posted: 13 Mar 2021 11:23 PM PST

    I'm really falling behind in my C# class and even though I'm submitting (terrible) code for my projects, my professors is giving me 0s as if I didn't turn anything in at all. I'm not able to make his office hours since they're only during my work schedule and I've been watching tutorials and rereading the text but it's just not clicking for me. I'm absolutely willing to pay for a tutor- NOT for someone to do it for me- I actually want to learn this stuff. Anybody have any recommendations?

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

    I'm teaching Linux Command line fundamentals for free

    Posted: 13 Mar 2021 11:22 PM PST

    I teach about command line and linux in general on discord anyone interested can pm me to get the discord link. Apart from this on the discord I post resources, and you can ask anything related and meet people also interested in computer science in general.

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

    How do you start and organize a project?

    Posted: 13 Mar 2021 02:32 PM PST

    So, I be been learning how to code by myself for about a year and a half.

    As I've learned from this reddit and other sources, now is time to tackle some projects on my own. A friend of mine who studied CS told me that for an app, or any program for that matter, you should spend a lot of time preparing before you even touch your computer.

    My question is, what is this "preparation"? Does this phase have a name? And, where can I find resources about it?

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

    HELP NEEDED

    Posted: 13 Mar 2021 11:08 PM PST

    I need help writing a method that takes a 2d array of intake as a parameter and computes the sum of the largest Imy in each row of the array. Any ideas? So far I have this:

    public int bigSums (int [] [] a) { int[] max = new int[a.length]; for (int i = 0; i < a.length, i++){ int maxVal = a[i][0]; for (int j = 1; j<a[i].length; j++){ if (maxVal < a[i][j]){ maxVal =a[i][j]; }

     } max[i] =maxVal; System.out.print(maxVal); } 

    }

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

    What are the best habits for programming?

    Posted: 13 Mar 2021 11:05 PM PST

    Hello, I'm still in my second semester of Computer Science, but I am somewhat confused about how programmers spend their time dividing their focus on certain things. For example, I am now working on an Android project but I realize that the project I'm currently doing barely touches on the theory I learn about sorting algorithms. etc. How do programmers keep their knowledge fresh? Do you all do leetcode or hacker rank every day? or perhaps for only a few minutes. If someone could share their example about their daily habits for better programming understanding and experience what, that would be very helpful, Thanks

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

    How long did it take you to learn java?

    Posted: 13 Mar 2021 10:55 PM PST

    From knowing very little, to being able to make a functioning decently complex program.

    I'm learning right now and seeing how real programmers code looks is intimidating as fuck.

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

    XAMPP Dashboard?

    Posted: 13 Mar 2021 10:02 PM PST

    so ive just started watching a beginner tutorial for PHP and MYSQL and he just installed XAMPP. when he typed in localhost he had a directory but when i do that i end up at the dashboard.

    ive googled and it seems like many people have this issue, but it also seems intented. some said that you can edit smth in the index.php file, but when i open it i get this:

    <?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/dashboard/'); exit; ?> Something is wrong with the XAMPP installation :-( 

    does this mean my installation failed? i did get some weird error before installing but everyone said that it only matters if i want to install in the programm files (x86) folder.

    i am not sure what to do right now. did i make a mistake somewhere or am i just too dumb to find the files from htdocs?

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

    [javascript] How can I take an input and pass it as an argument in a function, but have it refer to a variable or an object in the code rather than as a string input?

    Posted: 13 Mar 2021 09:55 PM PST

    I have tried looking this up and couldn't find anything, but that could just be because I don't have the words to phrase the question.

    But basically what I am trying to do is like what the title said, take a basic input from a prompt and if the input is "example" it would be processed as the variable example=3, so 3 would actually be passed through the function.

    example = 3 input = prompt("Input here") console.log(input) /*the input is "example",*/ 

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

    How do I use a forEach loop to append a new div to each class?

    Posted: 13 Mar 2021 09:46 PM PST

    After my .content div I am creating a new div with the class .details. This is only applies to the first instance of the .content div though, how do I add the .details div after each .content div on the page?

    I believe I need to use a foreach loop, but I'm not sure how to implement it

    Any help would be appreciated

    Codepen

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

    Learning to write a webscraping script in Python - Sailor learning to program to save local business

    Posted: 13 Mar 2021 02:00 PM PST

    Hi,

    I'm a sailor and run a small local business that was unfortunately heavily hit by the covid-19 crisis through the last year. Trying to improve our situation by finding smarter ways of reaching out to potential business customers and recently discovered the concept of webscraping. I have started to learn a little python at home and am trying to write a webscraping script with the following properties:

    1. used in connection with search engines like google, google maps, bing, etc.
    2. finds all local businesses in a geographically defined area with their associated websites
    3. clicks on every business-website, looks for, and extracts the following business information: Business Name, website url, email, telephone number, address (here I noticed that there may be a challenge due to the fact that not everything is marked as such and may just be plain text, thus I believe that one might have to write something that looks for "some_characters"@"some_other_characters"."x_characters" to identify e.g. an email address hidden in the text of the website?)
    4. moves this information into a csv. file

    As I am still fairly inexperienced and trying to learn from others by reading already existing scripts, I was wondering if anyone here knows about a publicly available python script that does something similar as described above that I could read through to understand more and perhaps customize. So excited to learn more about the world of programming and webscraping, thank you in advance for your help and time! :)

    - Amy

    P.s.: If you're just starting to learn webscraping in python like me I am very happy to recommend this tutorial as it helped me a lot with understanding the basics: https://oxylabs.io/blog/python-web-scraping / https://www.youtube.com/watch?v=mDveiNIpqyw

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

    I need help scraping 2 tables from a website using R Studio :)

    Posted: 13 Mar 2021 09:29 PM PST

    Hey Guys :)

    I'm new to webscraping, and am trying to scrape some AFL match statistics. I've had some success copying codes off of guides with other websites, but I'm really struggling to produce a code that can scrape two tables on the below website:

    https://www.footywire.com/afl/footy/ft_match_statistics?mid=9721

    I'm trying to scrape the 'Carlton Match Statistics' and 'Richmond Match Statistics' tables.

    Is anyone able to assist here (I've posted the code I'm using below, and the errors I'm receiving)?

    Thanks in advance for your help it is much appreciated! :)

    > library(rvest)

    > SiteHTML <- read_html("https://www.footywire.com/afl/footy/ft_match_statistics?mid=9721")

    > siteTables <- SiteHTML %>% html_nodes("table") %>% html_table(fill = TRUE)

    Error in out[j + k, ] : subscript out of bounds

    > Table1 <- data.frame(siteTables[[1]])

    Error in data.frame(siteTables[[1]]) : object 'siteTables' not found

    > Table2 <- data.frame(siteTables[[2]])

    Error in data.frame(siteTables[[2]]) : object 'siteTables' not found

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

    Input is not highlighted in Visual Editor

    Posted: 13 Mar 2021 12:37 PM PST

    Hello friends! I am so sorry for asking this, but i seem to not be able to find a solution other than you guys.

    Why am I, when writing a script in Visual editor, not able to "call" the input word? It doesnt get highlighted!!

    Its so frustrating, because i'm watching people on youtube do it, and in theirs it gets highlighted.
    Please, oh please help me.

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

    49 years old - learning to program

    Posted: 13 Mar 2021 05:55 AM PST

    As said in subject....Python is the language, going for #100daysofcode thing. Can I get some opinions on my age and feat I embarked on?

    All contributions are appreciated :)

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

    How difficult is it going from Javascript to Java?

    Posted: 13 Mar 2021 05:31 PM PST

    I've been learning Javascript for over 2 years now along with a few months on Python.

    How difficult is the transition into Java? It seems like Java is it's own beast with weird rules and it definitely looks intimidating.

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

    can someone tell me how to query an api or point me to a resource ?

    Posted: 13 Mar 2021 09:16 PM PST

    the website gives code example for various request, i feel like it shouldnt be that hard to write something in java that requests data from the website given that all i have to do is copy and paste their code, but damn i cannot even begin to do this. is there a basic video on this?

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

    No comments:

    Post a Comment