• Breaking News

    Wednesday, February 23, 2022

    I made a list of FREE sites and apps to learn programming learn programming

    I made a list of FREE sites and apps to learn programming learn programming


    I made a list of FREE sites and apps to learn programming

    Posted: 22 Feb 2022 01:12 PM PST

    Hey everyone! I thought id share some of the sites i've been using to learn programming for FREE. Yes I really did download multiple free coding apps where there's a will there's a way no excuses :). Also pls note that some apps are only available on iOS

    Sites and apps where u can learn coding for free.

    • Grasshopper
    • Code Avengers
    • Mimo
    • Geeksforgeeks
    • Khan Academy
    • Alison Online Courses
    • Programming Hero (kid-friendly)
    • Encode
    • Coursera
    • Tynker (kid-friendly)
    • Codeliber
    • W3schools
    • Exercism
    • MITOpenCourseWare
    • Free Code Camp
    • edX
    • The Odin Project

    Code learning gamified and kid-friendly

    • Cyber Dojo
    • imagiLabs AB (kid-friendly)
    • CodeSpark Academy (kid-friendly)
    • Hopscotch Programming (kid-friendly)
    • Lightbot Code hour (kid-friendly)
    • Kodable (kid-friendly)
    • Flexbox Froggy

    Learn coding on youtube - The Coding Train

    And that's it! Please comment below if i forgot any other sites and i'll add them to the list asap! ———-

    UPDATE: Recently added as per your suggestions:

    • Sololearn

    • Leetlearn

    • Mooc

    • CollegeCompendium

    • Kaggle

    Youtube:

    • FreeCodeCamp

    • Fireship

    • CodingWithMosh

    • IAmTimCorrey

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

    Web scraping

    Posted: 23 Feb 2022 10:49 AM PST

    Hey everyone this is my first time posting here I have some questions about web scraping. I am a finance and accounting major and a lot of the financial models I make for my classes is me going through 10k reports of companies. Basically just 100 page documents of every single financial information about a public company. What I have to do is go through the document and pull certain numbers out like for example "how much revenue generated this year", "how much the company paid in taxes" alot of just mundane work. My roomate who is a computer science major said I should look into web scraping to automate this process. I don't really know where to even begin so I was hoping for some pointers. Thank you for reading this!

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

    Struggling with my project

    Posted: 23 Feb 2022 08:46 AM PST

    I am trying to make a project where the user inputs pseudocode and my program executes it. I'm not sure how to approach this, I was thinking about going through an interpreter approach but I'm not entirely sure. Any advice will be nice!!

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

    Your health, both mental and physical, are part of your learning regime

    Posted: 22 Feb 2022 09:55 AM PST

    Beyond being healthy for the sake of it, health is an important part of learning effectively. I think this is significantly underappreciated. It is perhaps most obvious in burnout, but it applies the rest of the time too. And yes, it applies to you too, yes you.

    Take breaks, exercise, eat properly, stay hydrated, avoid toxic TV and internet, be friendly.

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

    Do people lose their passion for coding as a hobby once they start working full time as a software developer?

    Posted: 23 Feb 2022 05:36 AM PST

    What do you think based on your experience?

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

    Single Responsibility Principle. What code smells indicate that a class is doing too much?

    Posted: 22 Feb 2022 09:31 PM PST

    When should you notice a class should be split in two or more classes?

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

    Please read FAQs

    Posted: 23 Feb 2022 12:20 AM PST

    Dear lovely beginners,

    before you ask questions like "Am I too old?", "Can I make it?", "How to begin?", "What's next?", "Am I too stupid/bad/...?" and so on please read FAQs first. If you didn't find your answer to one of these (or similar) questions please read FAQs again.

    Best regards

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

    What's the name for a function that you want to invoke before something? Like a callback but beforehand

    Posted: 23 Feb 2022 10:37 AM PST

    Looking for a good, descriptive name for this use case. Thanks!

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

    Stuck on The Odin Project rock, paper, scissors

    Posted: 23 Feb 2022 10:18 AM PST

    Hi all, currently doing the rock, paper, scissors project on TOP and i'm stuck on loop part. Can somebody please point me in the right direction? Thanks. (Any additional critique is welcome)

    <script> function computerPlay() { // This function randomly returns rock, paper, or scissors let num1 = Math.random(); if (num1 <= 0.333) { return "ROCK"; }else if (num1 > 0.333 && num1 <= 0.666) { return "PAPER"; }else if(num1 > 0.666) { return "SCISSORS"; } } function playerPlay() { // This function takes a valid input from the user const ask = prompt("Rock, Paper, or Scissors?").toUpperCase(); return ask; } function singleRound(playerSelection, computerSelection) { //This function compares the two arguments and returns the if (playerSelection === computerSelection) { return "tie"; } else if (playerSelection === "SCISSORS" && computerSelection === "PAPER") { return "player"; } else if (playerSelection === "ROCK" && computerSelection === "SCISSORS") { return "player"; } else if (playerSelection === "PAPER" && computerSelection === "ROCK") { return "player"; } else if (playerSelection === "PAPER" && computerSelection === "SCISSORS") { return "computer"; } else if (playerSelection === "ROCK" && computerSelection === "PAPER") { return "computer"; } else if (playerSelection === "SCISSORS" && computerSelection === "ROCK") { return "computer"; } }; const playerSelection = playerPlay(); const computerSelection = computerPlay(); let playerScore = 0 let computerScore = 0 function game() { let result = singleRound(playerSelection, computerSelection); if (result === "player") { playerScore++; alert("You won this round, you have " + playerScore + " points. Computer has " + computerScore + " points."); } else if (result === "tie") { console.log("You both picked the same option, try again!"); } else if (result === "computer") { computerScore++; alert("Computer won this round, you have " + playerScore + " points. Computer has " + computerScore + " points."); } if (computerScore === 5) { alert("Game over, computer won!"); } else if (playerScore === 5) { alert("Game over, you won!"); } } game() </script> 
    submitted by /u/JScarz10
    [link] [comments]

    Problem with Codewars Challenge (7 Kyu)

    Posted: 23 Feb 2022 12:07 PM PST

    Hello!

    I've been a software dev apprentice for 6 months now and occasionally do Codewars challenges.

    I am learning C# currently and faced a problem with my current codewars task. I feel kind off failed because I tried 3 different ways to approach this task and none of them worked for some reason.

    I have the following task (its a 7 Kyu so I thought this should be very easy):

    Longest Vowel Chain
    The vowel substrings in the word codewarriors are o,e,a,io. The longest of these has a length of 2. Given a lowercase string that has alphabetic characters only (both vowels and consonants) and no spaces, return the length of the longest vowel substring. Vowels are any of aeiou.

    My most recent version trying to solve this Kata:

    using System; using System.Collections.Generic; public static class Kata { public static int Solve(string str) { //variables int max = 0, count = 0; List<int> subs = new List<int>(); //main if(hasVowel(str) == false) return 0; else { foreach(char c in str) { if(isVowel(c)==true) count += 1; else { subs.Add(count); count = 0; } } //determine max value in List foreach(int i in subs) { if(i>max) max = i; } return max; } } //check if char is vowel public static bool isVowel(char c) { char[] vowels = new char[]{'a','e','i','o','u'}; for(int i = 0; i<vowels.Length; i++) { if(c == vowels[i]) { return true; } } return false; } //check if string has vowel public static bool hasVowel(string s) { char[] vowels = new char[]{'a','e','i','o','u'}; for(int i = 0; i<s.Length; i++) { for(int k = 0; k<vowels.Length; k++) { if(s[i] == vowels[k]) return true; } } return false; } } 

    The test cases for this Kata are:

    Assert.AreEqual(2, Kata.Solve("codewarriors")); Assert.AreEqual(3, Kata.Solve("suoidea")); Assert.AreEqual(3, Kata.Solve("ultrarevolutionariees")); Assert.AreEqual(1, Kata.Solve("strengthlessnesses")); Assert.AreEqual(2, Kata.Solve("cuboideonavicuare")); Assert.AreEqual(5, Kata.Solve("chrononhotonthuooaos")); Assert.AreEqual(8, Kata.Solve("iiihoovaeaaaoougjyaw")); 

    I can get all of them to work but once I want to commit it wont.

    Can someone check my code and maybe give me a hint on what is going wrong here?

    Thanks in advance!

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

    How do you stop being sloppy?

    Posted: 23 Feb 2022 11:58 AM PST

    I'm starting to miss things that I normally never would have missed, if only I was paying more attention...

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

    Mom who wants to learn too!

    Posted: 22 Feb 2022 09:59 PM PST

    Hello all! I'm a 33-year-old mom of three young kids. I also work 20 hours a week as a medical laboratory scientist. I always thought coding was something "other" people learned to do; but I am at a point I would love to learn too! My local university is offering a boot camp through promineo tech for about 3 grand. I am aware of the free camps online;my fear is that if I don't have some money invested, I will not be motivated to study as hard. I'm also afraid of how busy I am going to be for the next 18 weeks. Can I really pull this off? Will it be worth it? I'm scared and excited at the same time.

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

    Codecademy or w3schools

    Posted: 23 Feb 2022 11:28 AM PST

    Hi, which is a better platform to learn coding, Codecademy or W3schools? Do you know better platform to suggest me?Thanks😃

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

    Pratice with projects that use API

    Posted: 23 Feb 2022 06:19 AM PST

    Hey guys! Can you give me suggestions of pratice projects that use the concept/applications of API? Thanks!

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

    How to become a self-taught dev while having a full time job?

    Posted: 23 Feb 2022 06:35 AM PST

    This year I need to find a job in Tech and switch careers so I promised I will learn web dev ASAP but the only thing making it difficult is my stressful 9-5 job in retail. And I was so bad 2 months ago that I almost end up in a shelter. I don't wanna look behind, instead I want to be a better version of myself. How can I accomplish this when I come home tired from work?

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

    Is free code camp good or should I use a different website to learn?

    Posted: 23 Feb 2022 09:40 AM PST

    I've been using freecodecamp because it had a lot of classes for different subjects but I've seen some that are different, should I use another one or is it good?

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

    Can .gitignore file only untrack a few files with specific prefix and the same extension?

    Posted: 23 Feb 2022 09:25 AM PST

    Hi,

    for instance,

    there exist files in the same folder like

    0.txt 1.txt 10.txt 101.txt 112.txt 

    how to achieve untracking 101.txt and 112.txt like writing something in the .gitignore file

    1**.txt 

    how many stars should be used to denote the vague characters?

    thanks a ton

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

    Is it a bad sign that I hate Data Structures and Algorithms?

    Posted: 22 Feb 2022 01:08 PM PST

    I'm taking Data Structures and Algorithms this semester, and for me the material is extremely dry and hard in practice (conceptually it is fine). Is this normal? I really enjoyed my other programming classes, but I know how important data structures and algorithms are which makes me nervous because I am bad at them and find them extremely boring.

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

    Numbered Directory Naming Conventions

    Posted: 23 Feb 2022 12:58 PM PST

    My question is trivial: When creating directories that are numbered sequentially, how exactly should I name them?

    Background: I have a repository that contains my solutions to (among other things) Project Euler problems. In this repository, I have all Euler solutions contained in the parent directory euler/ and each specific solution in a directory just named 0001/, 0002/, etc. which corresponds to the problem # on Project Euler's Website.

    Dilemma: I'm debating whether I should name these solution directories 1/, 2/ etc. so that the total path looks cleaner (repo/euler/1/ vs repo/euler/0001/). I put the extra 0s in so that when I ls they all display in numerical order instead of alphabetical order.

    submitted by /u/13lckr
    [link] [comments]

    Need help with "simple" website in React

    Posted: 23 Feb 2022 12:58 PM PST

    Hi guys, i started learning web development around 2 months ago and yea, im a beginneer. I'm trying to do some small projects just for me so i can apply all my skills i recently learnt. Let's dive into my problem:

    https://imgur.com/a/2AUZ1if

    Here is the code that needs your help

    import React from "react"; import "./App.css"; import "./input.css"; import "./buttons.css"; class App extends React.Component { constructor(props) { super(props); this.state = { balance: 0, savings: 0, currency: "EUR", }; } depositBalance = (value) => { this.setState({ balance: value, }); }; render() { return ( <div className="app"> <div className="actionPanel panel"> <input type="number" value={this.state.depositValue} placeholder="0,00" /> <button onClick={this.depositBalance} className="depositBtn"> Deposit </button> <input type="number" placeholder="0,00" /> <button className="withdrawBtn">Withdraw</button> <input type="number" placeholder="0,00" /> <button className="saveBtn">Save</button> </div> <div className="displayPanel panel"> <div className="profileOverview"> <img className="profileAvatar" src="https://cdn4.iconfinder.com/data/icons/game-of-thrones-4/64/game_of_thrones_game_thrones_series_character_avatar_ice_dragon-512.png" alt="" /> <p className="profileName">Bot</p> </div> <div className="profileDetails"> <p className="profileDetailsBalance">Balance</p> <p className="profileDetailsNumber"> {this.state.balance.toFixed(2)} {this.state.currency} </p> <p className="profileDetailsSavings">Savings</p> <p className="profileDetailsNumber"> {this.state.savings.toFixed(2)} {this.state.currency} </p> </div> </div> </div> ); } } export default App; 

    I know that maybe i need to learn forms and use it - but i just need the value inside any of the input elements to either sum or subtract with the "balance state" AFTER clicking on the button or submitting an input field.

    I also googled and tried everything i could but still didn't find out answer.

    Thanks for quick help guys :)

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

    Ben Bitdiddle's order evaluation test

    Posted: 23 Feb 2022 12:57 PM PST

    I am currently studying SICP by Abelson and Sussman and could not make it beyond exercise 1.5 where it talks about Ben Bitdiddle's order evaluation test for those who don't know: Exercise and the solution

    1-) As far as I understand in the first line it defines (p) to be anything of itself. If that's true I do not understand how LISP understands that a parameter called in a function calls the exact same function of itself. I am not sure how to describe this, but I will try my best:

    That function takes (p) as an input and (p) is itself, therefore it does not refer to the function. It should refer to itself which is (p) not (test 0 (p)). However that does not seem the case here but I do not understand why.

    2-) I accept that (p) is just (test 0 (p)) see that in applicative order evaluation. It does not return a value since it goes on to an infinite loop. What I do not see there is how it returns 0 when it is a normal order evaluation. I do not see how that machine comes to accept (p) as 0 in normal order evaluation where the dude who wrote the solution shows that:

    (if (= 0 0) 0 (p))

    Any help would be pretty much appreciated thank you very much for your interest.

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

    Is there a Discord Channel for Programming stuff?

    Posted: 23 Feb 2022 12:49 PM PST

    Is there a Discord Channel for Programming stuff?

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

    What Comes after C Language syntax and some basic file handling and all of that stuff?

    Posted: 23 Feb 2022 12:45 PM PST

    From the beginning i was going through some basic syntax for higher languages like python and java and after that i remembered from two years ago i was starting my journey of programming and i found that there python and c and c++ i have just seen some little scripts i tried to read it but i was confused about it i got lazy to understand all of these lines then 1 year later i decided to learn those hard lines (i thought it is hard to read) then i have got basic syntax for C and i have seen some features about this language and it can do massive and very powerful things, but after learning the C language topics like basic synatx and some memory management and a lot of these topics then i started to practice a bit a then i found that i keep practicing on the same thing with same synatx without using the main power of C i am not trying to find new ways to practice no, what i am trying to find is after learning all of that stuff like arrays, struct, enums, variables, datatypes, memory management, stack, stack frame, functions, taking input taking output, command arguments, Handling file and all of that i am still asking what next? where the main power of C how can i explore the deep world of that language, i am like a man walking in street and found a golden key but he asks : what next? that is my point. sorry for taking too long in this

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

    I’m learning but is this normal?

    Posted: 23 Feb 2022 08:56 AM PST

    So I'm learning python as it seems fun and handy to learn

    However, I'm doing the 100 days of code by Angela Yu

    Some things seem easy, but others seem hard / confusing. She says the problem should only take you 10-30 mins to do, but it seems like sometimes I take more than that or just don't know the answer at all and feel dumb

    Kind of feels like I'm not learning anything when I don't know the answer or can't figure it out and have to watch the video to see how she did it (after trying for a while)

    Is this normal when learning or am I just dumb?

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

    100 devs 2022

    Posted: 23 Feb 2022 06:41 AM PST

    I recently became interested in coding, but it seems like I missed the boat for 100 devs this year. Do they accept late applicants or will I have to wait until next year?

    If so, are there similar programs running in the meantime? Thanks!

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

    No comments:

    Post a Comment