• Breaking News

    Tuesday, August 31, 2021

    Regarding Unsolicited Direct Messages on /r/learnprogramming learn programming

    Regarding Unsolicited Direct Messages on /r/learnprogramming learn programming


    Regarding Unsolicited Direct Messages on /r/learnprogramming

    Posted: 24 Aug 2021 12:49 PM PDT

    Recently, we've seen an uptick in reports that users have been receiving direct messages advertising tutorials, courses, or other services. The moderators would like to make it very clear that we have no affiliation with these messages, nor do we endorse or support them.

    Unfortunately, Reddit does not provide us (moderators) with any real means to combat this that we are aware of. Banning a user does not stop them from being able to view a subreddit or scrape a list of users from recent posts. Even if it did, creating new users is trivial.

    However, we'd like to encourage you all to report these DMs using the "report" button on the DM itself. When you do, first select "Spam", then for the sub-reason, select "Unsolicited messaging". This should send the reports to the Admins who might actually be able to do something about it.

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

    Sheer Freaking Will.

    Posted: 30 Aug 2021 07:25 AM PDT

    That's going to separate you from learning programming and failing to learn programming.

    Programming is hard. Software development is hard. Taking and idea and executing it into a desktop/web/mobile/console/whatever app is a monumental task.

    Syntax is easy. Finding 100 free Youtube videos on how to connect to an API in your language is easy. Reading through a "Head First" book is easy. Ideas are easy.

    When you've worked all day, the kids are finally asleep, and it's 10 pm. You're at your computer and you've fired up your IDE and pulled up your course or video or PDF. You start typing. A few lines are done. Debug. Error.

    At this point, going to bed is easy. I don't blame you. What's hard is trying to figure out what the heck happened. Did I forget a semicolon? Should it be a static class? How do I read this error? Line 37? It all looks good, why won't it work?

    A lot of folks have this idea of becoming a programmer and getting paid $120k. Heck. I HAVE THAT DREAM. I'm this person who is up late trying to figure this crap.

    I'm pushing myself too. Keep pushing. Plan. Prepare. Execute. Follow Through. Overcome your errors.

    Don't quit learning a language after a bit of discouragement. Oh you're learning Python and Django, but that Blazor is looking sexy. Wow. Maybe I should quit Python and jump to C#????? NO. Go all the way. Make a baby with your language. Don't pull out early.

    What the hell do I know. Rant over.

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

    Does anyone knows a university/college where its possible to get a BS CS degree within 2 years?

    Posted: 30 Aug 2021 08:10 PM PDT

    • somewhere its possible to complete the courses at my own pace, basically the whole degree
    • my highest math is pre-calc that i took from a community college, i don't have any other gen ed college credits besides that
    • my goal is to get a degree as fast as possible, not a job (i already work in the IT)
    • I have a lot of time to study
    • I live in the US (TX)

    EDIT: WGU is recommended a lot. Are there other schools that are like WGU?

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

    moving from chemistry to programming, study tips ?, best methodology?

    Posted: 30 Aug 2021 06:07 PM PDT

    Studying chemistry for me was very easy, memorization is fine for me, I don't know what to expect from programming, I'm going to start a programming college and I wanted methodology tips I can use to learn faster, some chemist went into programming, like you studied ?

    Is 23 years too old to be successful in programming?

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

    I learned backend (node.js-mongodb-little bit of mysql) and frontend (react.js) just to realize that this stack is not demanded in my local area, now what?

    Posted: 30 Aug 2021 08:52 PM PDT

    I don't have a cs degree, im just a person who learned programming watching youtube videos, udemy courses and own practices, im working to improve my portfolio and my professional presentation, i have more than a year learning and im feeling saturated now, i don't want to study anymore i want to work

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

    Does it happen to you that you solve a problem one day but are unable to crack it some other day?

    Posted: 30 Aug 2021 11:30 PM PDT

    I'm a newbie, and I was doing program to find whether a given year is leap or not. I was able to solve it a few days back and yesterday when I thought of doing it again, I couldn't do it accurately.

    Has it ever happened it with you? I mean, is it a common phenomenon?

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

    A question for Kotlin developers...

    Posted: 30 Aug 2021 06:52 PM PDT

    My aim is Android development with Kotlin, I have a low-end pc thus I can't afford using Android Studio or IntelliJ thus the last option infront of me is Eclipse, Can u share your experiences of Eclipse as a Kotlin dev? Can I create intermediate level kotlin projects with it? 𝐓𝐇𝐀𝐍𝐊𝐒

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

    I may have exaggerated my VBA skills in a job interview. Now I have one month to learn it properly. Any suggestions for a crash course?

    Posted: 30 Aug 2021 07:14 AM PDT

    I used VBA often in the past to automate stuff in Excel, which I really do consider myself an expert in. For the VBA portions, however, I only ever googled the thing I want it to do, usually copied snippets from stackexchange and modified them to fit my needs.

    I do understand the code well enough for that, and to know what to look for and where, but my new employer is under the impression I was an expert in VBA, not just excel, and I didn't exactly correct their assumption.

    Now I'd like to avoid embarrassment by actually knowing VBA well enough to code something from scratch, or to be able to improve existing code, because I'm almost sure they'll be expecting me to.

    I have one month before the job starts. Does anyone have a recommendation for a good class or series of classes that should get me there? I can invest around 10 hours a day.

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

    Harvard CS50 online cohort starting

    Posted: 30 Aug 2021 11:58 AM PDT

    If you tried and stopped because life got in the way, you know you wanna try again!

    Here is an invitation from CS50 at Harvard.If you've found it difficult to finish (or start!) CS50x without a bit of structure each week to help keep you on track.

    Fall 2021 of CS50 (which will become CS50x 2022 on edX on 1 January 2022) is about to begin at Harvard and Yale, and CS50's lectures are, as always, open to the public online.

    Whether you are a CS50x student, a CS50 AP student, a prospective student, a teacher, a parent, or an alum (or anyone else!), you are cordially invited to attend one or more of Fall 2021's lectures virtually. (It is not possible to attend physically in person this year.)

    Visit https://cs50.ly/zoom to register for one or more lectures. If unable to attend live, you can also watch lectures on demand afterward anytime via the YouTube links at that same URL. Space is limited on Zoom but not on YouTube.

    Note that the very first lecture this week will be a "dress rehearsal" (i.e., practice version) for Week 0, which you're welcome to attend too.

    Hope you can join us!

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

    The Two Practices of Learning to Program

    Posted: 30 Aug 2021 01:46 PM PDT

    The process of learning to program is frequently perceived as very complicated. There are tons of resources, many different directions to take, and lots of different options. All of these options are enhancements to two basic activities: Reading and writing code.

    Books on programming, articles, and videos tend to be forms of reading code, with lots of help to guide you on the way.

    Tutorials, guided projects, and sample applications are all forms of writing code, with different forms of help to guide you on the way.

    I think it's helpful to remember these two basic practices, and come back to them when things feel complicated. Am I reading or writing code? No? Then I'm probably not getting better, and I should think about the approach again before I continue.

    Pithy article I wrote on the subject, just in case anyone wants to read more about the idea: https://onlearningtoprogram.com/2021/08/27/the-two-practices-of-programming/

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

    Does Programming means only writing code?

    Posted: 31 Aug 2021 12:29 AM PDT

    I(16M) is an aspiring Full Stack Web Developer.Currently I know HTML,CSS,a lot of Javascript and some libraries like- GSAP,Three JS,Howler.js etc I want to start learning the MERN stack but here's the problem:

    I am allowed to use the Family PC only for two hours a day and nothing more than that,on a good day If my mother is ignorant maybe 2.5-3 .My aim is to become a freelancer and earn at least 1 grand to show my parents I didn't waste time(coz they really think I am).With minimum time to use the PC,can I really achieve my goal and how?

    What to do to hone my skills when I am not actually writing code?Be as comprehensive and precise as you can !Thank you

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

    I'm seriously considering a career pivot into Software Engineering, currently in a Senior Management position (General Manager of a business unit in a Startup) and I'd really love your insights

    Posted: 30 Aug 2021 02:35 PM PDT

    Hello everyone! My first post here, sorry in advance for any mistakes I might make :P

    I'm currently working as General Manager for a mobility as a service startup in Mexico, and I've thankfully enjoyed a pretty productive and successful career in Operations and Management, but lately (6mo ago or so), I've felt so dissatisfied with my job, so burned out (my prev job actually caused me health issues after working 100hr weeks for 6mo) that I've been seriously considering this pivot.

    Part of it comes from the fact that I'm not a natural born manager, I like it and I think I'm acceptable, but is a developed behavior rather than something inherent to me. I do a LOT of data analytics for my decision making, I actually have an advanced level in SQL programming, and I deeply enjoy the hours I spend coding those queries and dashboards, losing myself in concentration, cofee, music and code, which led me to think: If I hate my job so much, and I think I really like programming and how "natural" it feels to me, and enjoyable, why not learn to code and shift paths?

    I've considered several options, mainly bootcamps (I'm evaluating Hack Reactor, App Academy and General Assembly, I actually have a brother in law who did HR and is super happy nowadays with his professional career), and self-served learning (currently doing App Academy's Open program, and I have The Odin Project bookmarked).

    What I'm looking for are honest opinions that could help me make a better informed decision, since it isn't a small deal haha. Thanks in advance to everyone!

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

    How the hell do I solve this?

    Posted: 30 Aug 2021 11:37 PM PDT

    Hey guys

    I'm a beginner python programmer and have a difficult problem. I need to write a function that computes the average of a list of numbers. It needs to print out all the numbers, compute the average, and print the average and its count.

    Here are example lists:

    nlis = [2,4,8,105,210,-3,47,8,33,1]

    rlis = [3.14, 7.26, -4.76, 0, 8.24, 9.1, -100.7, 4]

    Here's my code:

    def average(numlis):

    sum_ = 0

    for i in range(0,len(numlis)):

    sum_ = sum_ + numlis[i]

    print(numlis[i])

    avg = sum_/len(numlis)

    print("average is", avg, "its count is", len(numlis))

    Here's the output when you input nlis:

    2

    average is 0.2 its count is 10

    4

    average is 0.6 its count is 10

    8

    average is 1.4 its count is 10

    105

    average is 11.9 its count is 10

    210

    average is 32.9 its count is 10

    -3

    average is 32.6 its count is 10

    47

    average is 37.3 its count is 10

    8

    average is 38.1 its count is 10

    33

    average is 41.4 its count is 10

    1

    average is 41.5 its count is 10

    The average is right, but everything else isn't. What's going wrong?

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

    I've been crying at this for 5 hours. Can someone explain this to me as if I was a child?

    Posted: 30 Aug 2021 11:29 PM PDT

    Because I can't make it make sense to me. https://www.geeksforgeeks.org/add-two-numbers-represented-by-linked-lists/

    I'm not exaggerating. I started working on a similar problem set 6 hours ago. I thought I had a solution, I had the correct values, but my list only contained 1 node and I didn't know how to make it also have its next nodes.

    It's the part from: if(res==null)... to ...prev=temp that I don't get. After saving the first node as the head, how does the head get it's next value? I see the prev is used to hold temp and set next, but I don't get how this is working. temp is recreated every loop and head.next isn't updated and somehow ends up with a next value more nodes.. a linked list. I've been googling and can't find an explanation that makes sense.

    I know it has something to do with objects and how they are referenced and I read all the Microsoft documents on reference types but I can't connect it to what's going on with this solution.

    I wish I had a personal teacher who knew how to help me understand stuff like this. I know it's easy and simple and that's why I can't stop crying. I feel so stupid. I have a degree and I'm still dumb.

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

    I hear some people say OOP is on its way out. What are some other paradigms that are replacing it for backend development?

    Posted: 30 Aug 2021 10:19 AM PDT

    I've only done backend development in Java, so I'm not familiar with non OOP backend development. What are these other paradigms? I know of procedural and functional. Are those being used for backend?

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

    Looking for resources to level up my Node and backend development

    Posted: 30 Aug 2021 11:17 PM PDT

    Hello everyone, long story short I am looking for books/ resources to get my backend knowledge to a higher level. Here's my current state, typescript Nodejs, controllers directly interacting with the DB models and handling the logic. All in all, pretty poorly architectured. I am already a mobile dev, and have some knowledge in these topics but I need well structured and trustworthy resources to tie it all together. Interested in these topics

    1. Express/Node architecture
    2. Repository, service, controller pattern
    3. General node and backend knowledge, proper verification of data, security, and everything that can be useful along the way

    As I am currently on this stage I am mostly interested in the fundamentals, architecture and general notions. ( Beyond the basics and introductions )

    After that if you have any suggestions for microservices/ scaling/ proper environment setup/ cicd/ testing and so on I'd love to read/ watch it all. ( Evolving the monolithic app into something more maintainable and scaleable ).

    Job/ product situation has led me to having to up my backend game, the difficulty of the resources don't matter, only the validity and applicabilty to todays backend dev.

    Thank you so much for reading, I am really in need of help and would love to hear your favorite resources.

    submitted by /u/West-Papaya
    [link] [comments]

    Focussed Learning Help for .NET and C#

    Posted: 30 Aug 2021 11:12 PM PDT

    I'm trying to learn .NET and C# and am currently tasked with making a simple MVC app to GET and display weather forecast data from an existing API.

    I have been stuck on making an MVC app for over 2 weeks now. I am really struggling in finding a step by step tutorial that I can focus on. This is most likely just my behaviour and how I am going about learning. But has anyone found any decent tutorials for learning .NET MVC apps specifically with managing Async/Await HTTPClients?

    submitted by /u/The-Bad-Mood-Kayne
    [link] [comments]

    Query about whether to continue C++ or change to another language.

    Posted: 30 Aug 2021 11:06 PM PDT

    For context I am studying Civil Engineering and going to start second year. But I also want to learn programming. In my first year, we had a course regarding Fundamentals of Programming and we were taught C++ and just basic syntax of Python. In C++ we learnt:

    -Flow charts and algorithm

    -Introduction to Computer Science and Languages

    -Introduction to C++

    -C vs C++

    -Basics of C++

    • Features
    • Keywords
    • Headers
    • Data types
    • Classes
    • Objects
    • Variable Types
    • Variable Scopes
    • Constants
    • Basic input and output

    -Control Structures

    • If - Elseif - Else
    • Switch cases
    • Loops (for, while, do … while)
    • Nested Loops
    • Break, Continue, Goto statement

    -Functions

    -Arrays

    -Overloading

    -Pointers

    And I did really really well and I have practiced these all topics and still do well in these. My question is should I continue learning C++ or should I change to another language because people say it is very hard? Does it have good demand ? What will be better as your honest opinion? My goal is to have a secondary set of skills in ~1-2 years that can be sold as freelancing(or as soon as possible). I can give 2-3 hours daily. How much more should it realistically take?

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

    It takes me hours to write code for basic algorithm

    Posted: 30 Aug 2021 03:30 PM PDT

    Hello guys, I recently started learning python using Allen Downey's "think python" book. I'm struggling to write code for the algorithm exercises in the book. For example, there is an activity based Markov analysis. You can check out the exercise here: https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Book%3A_Think_Python_2ed._(Downey)/13%3A_Case_study_-_data_structure_selection/13.08%3A_Markov_analysis (I'm really sorry about copy pasting the link because it's my first question on reddit.) The above exercise took me more than 1 hour to solve. I worked on it on my own but I read the documentation of python and googled some syntax. Other than that, I worked it out on my own. Please help me with this situation. If it takes me hours to solve these simple problems, how will I be able to work in the industry? Or is it normal to take hours for these types of problems? Please suggest some edit to this question format and forgive me for any language errors as I'm not a native English speaker. Thanks in advance.

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

    Robotics graduate preparing for C++ coding interviews

    Posted: 30 Aug 2021 06:53 PM PDT

    I recently graduated with a degree in robotics engineering and am starting to apply for jobs. At college, I did most of my classes with C and C++, mostly for embedded programming, and I taught myself python. I've found now that I'm apply for jobs, I'm fine with the python coding interviews, but the C and C++ practice questions I've encountered I'm struggling with. I feel like I specifically have a weak spot for the mostly string manipulation and the areas they ask about in the practice questions I've encountered. Does anyone have any suggestions for how to prepare for these types of interviews?

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

    Binary conversion

    Posted: 30 Aug 2021 06:26 PM PDT

    The problem:

    So I don't really understand the turning something into a binary representation of itself.

    here is the problem:

     * Using built in methods to convert to a binary string will receive zero credit */ public static int binaryOnes(int X) { //MUST USE RECURSION FOR CREDIT! //MUST USE MATH FORMULAS BELOW FOR CREDIT! //X mod 2 tells you if there is a 1 or 0 at that position //run X / 2 through function recursively to find next position return 0;//return the number of 1's in the binary representation of the number X } } 

    here is the driver file:

    for(int i = 0; i < 10; i++) {

     answer = A1Work.binaryOnes(i); correct = Integer.bitCount(i); System.out.println(((answer==correct)?"Correct":"Wrong") + " for i = "+i+" and correct = "+correct+" and your answer = "+answer); } 

     System.out.println("-----------"); System.out.println("genericItem"); System.out.println("-----------"); 

    Not good with recursion and don't understand binary positioning here.

    Any thoughts or tips to get my mind going.

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

    Going on the self taught route for 3 months now but I feel like I'm crashing hard.

    Posted: 30 Aug 2021 08:33 AM PDT

    I've been coding for about 3 months now but I starting doing projects for about 2 months now. I was having a lot of problems with a recent beginner project(to do list) and I think it has definitely affected my motivation to code. Is this just normal burnout or something different? If its normal, should I just take a break and come back or is there a better way to deal with this?

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

    Horizontal Scalability with Read Replicas

    Posted: 30 Aug 2021 09:28 PM PDT

    So far I have heard of this database scaling strategy as "making replicate Databases" and "making replicate machines"

    My confusion lies because I dont know (and it is not clear) if what is replicated are the database servers (which from what I understand can hold many databases and has its own url)

    What exactly is replicated, the actual DB (tables with the data, sps, etc) or the actual DB server? so now instead of a single db server with its unique url, which contains many dbs, now we have a second db server containing replicate dbs.

    The language (database is replicated) used for some articles leads me to believe the database is replicated in same db server. The language used for others (replicated machines, replicate nodes) leads me to believe data is replicated across different db servers.

    context:

    https://www.red-gate.com/simple-talk/databases/sql-server/performance-sql-server/designing-highly-scalable-database-architectures/

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

    Good news/articles sources about technologies?

    Posted: 30 Aug 2021 11:17 AM PDT

    Hey y'all, what are some good news/article outlets you guys follow on new technologies? I would love to read on my spare time instead of wasting it on useless subreddits here on reddit

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

    Mentoring please help

    Posted: 30 Aug 2021 08:26 PM PDT

    Hello I'm 17 years old I have been trying to learn different languages and I understand the basics for most of the languages that I have been trying to learn like python, C#, Java, HTML, and CSS. but I just need guidance on what to do with the information I am learning I have big plans for life and I'm just trying to catch a break if anyone can help me learn more please help. I've never posted something like this before.

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

    No comments:

    Post a Comment