• Breaking News

    Monday, June 28, 2021

    Learning to code online suck, so I made a game-like platform to do it differently. learn programming

    Learning to code online suck, so I made a game-like platform to do it differently. learn programming


    Learning to code online suck, so I made a game-like platform to do it differently.

    Posted: 27 Jun 2021 03:22 PM PDT

    Hey folks! I am the guy from the post last week! Thank you everyone for your inputs, it got me excited and helped me built the MPV of the idea! :)

    I call it The Last CodeBender.

    Everything will be accessible for free! You can sign up to try it early at https://lastcodebender.com/.

    I built this in one (intense) day, so there are a lot of improvements to do! I'd love to get your feedback to know how I could make this better!

    I know there are a bunch of platforms that gamify learning to code, but I would like us to do something different, or maybe at least something for a different type of learner. The idea is to make full courses that have a game narrative that wraps them, instead of random game-like practice challenges. I believe this could bring the right balance of gamification and learning.

    This is just the beginning! Let me know your thoughts!

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

    I just learned how to create loops, I feel like I'm finally starting to understand this, and it feels great!

    Posted: 27 Jun 2021 06:16 PM PDT

    Little context: I'm currently mastering in information systems and as part of that I'm required to take an intro to Java class. I wasn't planning on getting into programming, I even half ass attempted to previously. But this class has totally changed my perspective. Programming is fun! I've made a total shift in what I want to do and will be taking a python and web design class to finish out my masters, then I am going to go to a local trade school to dive deeper into programming.

    I just learned how to create loops and what a difference that makes! Previously we were essentially creating loops by using A TON of if statements and it was so frustrating. Once we learned loops everything just clicked. Anyways that's all, thanks for coming to my Ted talk.

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

    One of the most exasperating parts of learning is when you don't yet have the words you need to explain the problem you're having

    Posted: 27 Jun 2021 03:11 AM PDT

    And you worry if you go on Stackoverflow you'll just be condescended to for asking such a stupid question or not "putting the effort in" to solving it yourself, despite the fact you don't even know what you would put into Google if you tried ("thingy won't thingy"?)

    It would be great if there was a section on Stackoverflow or similar for 'I don't even know what I'm asking' where people could help you put your problem into words so you could then have a go yourself.

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

    How to fully implement what I am learning

    Posted: 27 Jun 2021 09:49 PM PDT

    Background:

    For the past 2 weeks I have been learning how to code. Using 3 Udemy courses I have been learning Python, JS, and MySQL. I have finished the Python course but only covered enough to get my feet wet.

    Problem(s): I still don't feel like I am getting a good grasp of the Python. When I look at other projects I get overwhelmed by the sophistication of their code even if it's a simple project. I am trying to solve this by watching videos on YouTube to better understand the different modules/functions within the language.

    Furthermore, while im learning how to code, I am not learning how to connect that code to other programs and be use then outside of my terminal. Are there any recommendations (books/videos/websites) you have to learning this?

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

    Should I practice recursion?

    Posted: 27 Jun 2021 10:20 AM PDT

    Almost always, every recursive problem I come across can be solved using an iterative approach. This brings me to the question, should I practice recursion? I am not good at it, and I tend to avoid using it when I can. Is this detrimental, or does it not matter?

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

    Difference between Gateway, Reverse Proxy, and Load Balancer?

    Posted: 27 Jun 2021 08:24 PM PDT

    Im pretty familiar with load balancers. How do reverse proxies and gateways fit into this architecture? Would they sit behind or in front of the LB?

    Can anyone please explain what is the difference between a gateway and reverse proxy? I've looked around at resources but havent been able to clear it up.

    Thanks!

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

    Learning coding while in the military? I'm looking for a program to guide me for the next 2 years.

    Posted: 27 Jun 2021 07:39 AM PDT

    I'm in the military so I'm only able to study online in my free time, which I have a lot of.

    My service ends in 2 years and I want to come out with enough knowledge to be able to start working.

    I'm not looking for resources, as there is many. I have started learning python already.

    What I'm looking for is a mentor program where I'll be guided through everything I'm learning so I can use the time I have as efficiently as possible and if I have any questions along the way I have someone to turn to.

    Is there any professional websites offering that?

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

    When seriously struggling to understand a new concept, How can one best decide between "I can come back to this later because it is not important enough to take up so much of time right now" and "I should stay focused on this until I am able to comfortably comprehend it even if it takes forever"?

    Posted: 27 Jun 2021 05:43 PM PDT

    This issue is a constant struggle for me. I will give an example, when starting a beginning C book, I had a real hard time understanding bitwise operators, so I decided to leave it and come back to it later. I came back to it in a month or two and loved them and understood them, but when I first came across them i did not understand them almost at all and would have spent a lot of time un-enthused and less driven before getting to understand them had I decided to stick with it.

    However later when I got to the part about pointers I also was having a hard time but due to having heard how important they were, I only studied pointers for several days and it was the right decision to make as it paid off leaving me with a better understanding. As well, everything after that involved pointers a lot more frequently than it ever involved bitwise operators.

    But often things are not so clear on when to temporarily set something down or not IMO.

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

    I suck at coding challenges I’ve never seen before. What’s the best way to get better?

    Posted: 27 Jun 2021 08:00 PM PDT

    To improve, I enrolled in a data structures and algorithms course on uDemy. This helped build my confidence and definitely helped me understand some things…but I'm still having a hard time solving challenges I've never seen before.

    That being said, I'm pretty good at solving challenges i have seen before if i drill them…but i'm still terrible at solving new challenges where I have to think creatively.

    Does this improve over time? Is the only way to improve to just do a shit ton of challenges so you've simply been exposed to more problems/solutions? Any other tips?

    I find more often than not, myself having to look at solutions for problems :/ and it's very frustrating. I really love development, but the logical side of things is a huge challenge for me.

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

    Courses/classes to learn plain C?

    Posted: 27 Jun 2021 09:52 PM PDT

    title. I used freecodecamp and mooc in the past which helped, but I can't find any equivalent in c.

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

    How can I learn the most React JS in a WEEK?

    Posted: 27 Jun 2021 05:44 PM PDT

    I know that this seems extremely unrealistic and naive, but let me explain. I am a rising third-year computer science student, so I have a good set of fundamentals. I will be starting a job in about a week working in React JS. In the interview for the job, I made it clear that I did not know any React, which was not a problem. I spent the time since that interview going through an introductory course for HTML and CSS (through freecodecamp), but because of my online classes, I was not able to spend almost any time on Javascript.

    I start the job in a week, and I would like to spend this week learning as much React JS as I can just to make my experience on the job better for both me and my coworkers.

    Any good resources you would recommend?

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

    Using multiple UI libraries in one frontend

    Posted: 28 Jun 2021 12:48 AM PDT

    I work on a big monolithic frontend. Now each team is creating their own microfrontend that lives in their own repository and is served by this mon.

    The problem is every team is using a different UI library. One page will be written in Bootstrap and another Material UI for example. I seem to be only one bothered by this, but surely using different UI libraries is a really stupid idea?

    submitted by /u/Muted-Editor8929
    [link] [comments]

    My first ReactJS project

    Posted: 27 Jun 2021 08:32 AM PDT

    https://corona-outbreak.web.app/

    I created this covid19 tracker as my first project. the biggest problem now is it is taking lots of time to initial loading. mainly because I use GeoJSON file which is about 15MB. I use that file at the starting page to color code the countries. how can I optimize this? and any suggestions for improve this is highly appreciated.

    git: https://github.com/Raveen-AJ/covid19-tracker

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

    C++: Having trouble understanding this 'copy and swap' example

    Posted: 27 Jun 2021 09:01 PM PDT

    This example code for a version of an array class template is from the Beginning C++17 book by Horton. Unless i am misunderstanding, it sounds like the std::swap(<utility>version) is not able to be used inside the definition for the assignment operator as that would cause recursion. So what they do is define a class member function to do the swapping that is then used to implement a non-member function that it sounds like gets called inside the assignment operator's definition(I think anyways). And part of the reason for doing the nonmember function supposedly is that it

    also ensures that the swap() function gets used by various algorithms of the Standard Library.

    First, for those who understand this(as I do not), Did I get anything wrong so far? Then, if the nonmember function has the same name and void return value as the member function, how is the nonmember function able to be called with only one parameter when the nonmember function is declared as taking two parameters? Does somehow being inside the assignment operator definition make it so that the first parameter of the nonmember function is automatically populated behind the scenes with (*this)? And, what are the disadvantages of just using the member function without the aid of the nonmember function?

    I understand that they want to isolate exceptions so as to not affect the original array's data if the copy assignment fails but i do not understand how the nonmember function adds value to that process if the member function is already noexcept.

    // Assignment operator in terms of the copy constructor // Uses the 'copy-and-swap' idiom. template <typename T> Array<T> &Array<T>::operator=(Array rhsCopy) // Copy... { swap(rhsCopy); // ... and swap! (noexcept) return *this; // Return lhs } // noexcept swap member function template <typename T> void Array<T>::swap(Array &other) noexcept { std::swap(elements, other.elements); std::swap(size, other.size); } // Conventional noexcept swap non-member function template <typename T> void swap(Array<T> &one, Array<T> &other) noexcept { one.swap(other); // Forward to public member function } 

    Thanks!

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

    Is Richard Buckland's algorithms and data structure's course outdated?

    Posted: 28 Jun 2021 12:25 AM PDT

    I'm talking about this one.

    He seems engaging, but I want to confirm it's not outdated and worth while watching.

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

    JS — the idiosyncratic odd parts or weird stuff that people find fascinating. What are some of your favorite things about JavaScript rare concepts or functional aspects?

    Posted: 28 Jun 2021 12:19 AM PDT

    After a recent deep dive into React fiber and Recoil (working on a project with it) I found myself dwelling on JavaScript's vast reach. I love vanilla JS and DOM manipulation (though don't get to spend as much time as I'd like to fool around with it). I doubt it's possible to know everything, but curiosity drives me to fill those gaps—also considering developing a talk for my team. Anyone have tricks in their back pocket or niche weird use cases or concepts?

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

    Learning how to use fork()

    Posted: 27 Jun 2021 11:03 PM PDT

    Hello!

    I am trying to create a program which takes an array of 1000 random numbers between 0 and 100 and uses a .txt file to compare numbers in the file with the array. I am trying to have each number in the file tested using its own individual process using fork(). The program seems to function and isn't throwing any errors, but it never produces the same output (or the correct one)...

    The output should look like:

    Query: 5 Count: 20 PID: 200

    for each number in the .txt file:

    5,13,24,6,17,20,1,51,36,42,2,19,67,35,64,91,96,84,& 72

    Any feedback?

    https://pastebin.com/eEPEbDfn

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

    Should i focus on JS or React after the bootcamp ?

    Posted: 27 Jun 2021 10:46 PM PDT

    Hello,

    Basically am about to graduate from a fullstack bootcamp ( learned HTML / CSS / JS / React / Redux | MongoDB / Express ) and am planning to make my own projects to fill my portfolio, however, i wanna get really good at programming in general so i can make my projects easier / faster / with much more understanding on what a doing.

    My question is, should i focus on the fundamentals of JS and just become a lot better at it first ? even tho i already know ES6 and several other stuffs, or should i focus on React fully instead ?

    ( doing all of this so i can start applying for jobs, mostly for frontend i would say)

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

    I am just lost with this much info

    Posted: 27 Jun 2021 06:32 AM PDT

    Let me give you a bit of background, so it will be easier for others in my position to relate:

    Right now I know a bit of Python, enough to automate stuff around my computer, but not too much. I wrote some python code that tracks the price of different cryptos and gives signals and also a bot that plays a browser game. The bot sent some captchas through telegram to ppl in other countries that I hired on Fiverr and solved the captchas based on what they replied on telegram.

    I do have some knowledge about C# and solidity, but it needs a lot more improvement.

    I started this journey feeling like the jack of all trades, learning a bit of this and a bit of that, but I ended up feeling like a master of none, which is kinda depressing.

    My issue:

    I picked up so many things to learn, so many times, that I just got fed up with starting over and over again. I tried js, c++, python, c#, html, solidity, ccna. I find most of them fascinating, but it's impossible for me to focus on only one, but since I am a noob I can't learn more than one at a time. On the internet there are so many opinions about what should one learn and why. I do not have a degree in CS, that's why getting internships is very hard for me, so my only chance is to grind something, get some sort of certification and maybe get hired in the end. It feels like everytime i get down to business and start learning, another article about why x is better than y pops up. For example i learned Python for a couple of months, because it was supposed to be easy, which it is, only that in order to get a python job, you kinda need to be a data scientist, or know at least other 2-3 languages. I really want to get into the field of programming but it just feels like the more i get into it the harder it gets to make it.

    I don't even know what I need right now, someone's success story to motivate me, or some sort of roadmap from a person that got out of this situation, or just someone to tell me that programming is not for everyone and I should just quit. Could someone give me a nudge in the right direction?

    Also I'd like to mention the fact the right now the trust that i have in myself and my ability to learn stuff is just low, after failing so many times to pick something up, I just feel like I'm too stupid to be able to learn this stuff, which i may be.

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

    Database Driven software - but HOW database driven?

    Posted: 27 Jun 2021 06:39 PM PDT

    I'd consider myself just a hair above the beginner's level - I'm a Sys Admin at work and I interact with databases and have made a couple in house tools that are super, super simple.

    I'd like to take on a personal project to work on bettering my application of best practices, proper documentation, and pseudo code. The things I have made at work are just secure enough to justify their use but the code is spaghetti. I decided I would like to make a 5e compatible character generator with the below:

    1. C# .NET WinForm
    2. MS SQL Database

    I'm beginning by just following the flow of creating a character to establish everything that is needed and I'm quickly running into design decisions that I frankly just don't know how to make. A perfect example is the data for races/classes. There's clearly multiple ways to approach this but I'm not sure what would be the 'best practice' approach or what would be done in a production programming environment.

    1. 5e Races and classes have multiple attributes, some of which are a fixed number and others which are a bonus value to set of stats. My initial instinct was to make a Race table in SQL, and list out the values of the bonuses that each race receives in that table. Then I started thinking this may be clunky and I could probably normalize it better than that, so then I thought to have a RaceName table, RaceAttributes table that uses RaceName's PK as a FK and lists out a set of attributes. This led me to thinking maybe I should have an AttributesBonus table with +/- values since there really won't be a lot of possible bonus values, probably +/- 1-5 or so. But calling out integer values for manipulation from SQL just seems...weird.
    2. Sorry for the wall of text, but that ultimately leads me here: In a database driven program, how do you make the decisions about how much of it is really database driven? Do I just follow normalization rules for the database design? Should I just go for smallest tables possible? Should I perform numerical calculations/assignments in the C# side of things or should I house integer values in the database and do calculations in the SQL statements?

    Could someone point me in the direction of learning design decisions such as these? Or maybe I'm over thinking it? Thank you!

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

    Prerequisites/Tips for LLD system design/machine coding interview

    Posted: 27 Jun 2021 10:23 PM PDT

    I've a LLD system design/machine coding round in a couple of days and this is my first design interview. The recruiter asked me to setup any ide & language of my choice & setup the project/boilerplate code along with required libraries. So, the following are my doubts:

    1. I'm planning to go with Java. Are there any libraries/plugins which you think are useful like for output formatting, logging or testing?

    2. What are some things you wish you knew when attending your first LLD interview?

    3. Is DB required or in-memory data structures sufficient? In what kind of cases should a DB chosen?

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

    HELP PLEASE!! Can you share some of your good or bad experiences with boot camps?

    Posted: 27 Jun 2021 06:20 PM PDT

    I am planning to take a BootCamp, I just want to know if some of you already take a bootcamp or a different path in order to find a job in the tech industry with out a degree in CS.

    After some months is real that you can find a Job with a good salary from home?

    Is real that some tech companies hire people from overseas with just one bootcamp experience?

    Is there a chance to find a good job in the tech field without a CS degree or a bootcamp certificate?

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

    Computer science major doesn't know how to get into programming

    Posted: 27 Jun 2021 03:53 PM PDT

    Hey reddit, I am a senior in comp sci (software systems) at my university, and I don't feel like school has taught me anything useful in programming. All we would do in programming classes would be to make a calculator or a website or a database or something and I don't know how this is practical for jobs. I also don't know how to get into learning more about programming in java or c# or python (websites, youtube channels, etc.) School has just made it more complicated for me. I want to get into it but I don't really know what kind of apps or programs or websites to make to get into it and it is very frustrating. I want a job in this field but I feel like school has been virtually useless. Anyone have any advice or anyone ever feel like this? Please let me know, I would appreciate any help :)

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

    Upload pdf/image then populate data

    Posted: 27 Jun 2021 05:51 PM PDT

    Hello, I want to implement an uploading pdf/image option so that it will populate data into a fillable boxes for a web page (just like when we apply for a job, there is a function to upload a resume, then it populates data into the box, then we just check and hit submit). Do you know what technology, library, framework it is?

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

    No comments:

    Post a Comment