• Breaking News

    Sunday, April 5, 2020

    How I learned programming when I was in university learn programming

    How I learned programming when I was in university learn programming


    How I learned programming when I was in university

    Posted: 04 Apr 2020 05:24 PM PDT

    I don't know if you guys know this website but it's called Programming By Doing. It has like 200 free assignments you can work on, and I'm sure people have written solutions to them as well if you get stuck. This really helped me out since obviously the more you exercise the better you get! It is the best imo for beginners and it helped me much better than some of my college courses.

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

    Guy at work thinks the best modern programmers use bots to write their code

    Posted: 04 Apr 2020 07:27 AM PDT

    I was talking to a 20 something year old guy at work about Python, which I am leaning currently. He says, "well the thing about programming is the best programmers use bots to write their code for them." Then proceeds to talk about hacking and says, "really to take down a large company or something you just need to send out like thousands of spam bots."

    I wasn't even going to, and didn't have time to get into a discussion about either with him, so I just left it. Why do people think this way? I believe he was thinking of scripts but I don't know.

    I know this isn't necessarily learning, but I found it amusing and maybe you will also.

    submitted by /u/oblivion-age
    [link] [comments]

    What are the best video tutorials where someone build apps like a real projects?

    Posted: 04 Apr 2020 09:08 PM PDT

    I'm looking for a video tutorials for beginners where someone building a web apps for example in React but from scratch, commenting what's he's doing and how it works.

    I think this will be the best way to learn watching someone's building an app and then practicing the new knowledge.

    I think a lot of us waste too much time watching normal tutorials that teaches syntax basically and at the end of the day we can't build anything because we don't know how your app should be constructed, how to set up project etc...

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

    Am I delusional?

    Posted: 04 Apr 2020 07:38 PM PDT

    Can I really expect to make a career change by teaching myself to code? I've been a product manager for 10 years and always wanted to be a builder instead. Got laid off recently so have plenty of time on my hands to make learning a full time job now. Feeling overwhelmed when I peek at engineering job descriptions though. Any success stories out there?

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

    Anything similar to CodeAcademy that isn’t a paid service?

    Posted: 04 Apr 2020 05:57 PM PDT

    I used to use CodeAcademy a few years ago. I decided to use my quarantine time to learn some new languages and when I went to C.A. It is now a paid service. Does anyone know of any websites that are similar to C.A. that are free? I like how you can actually write the code instead of just read about how to write code.

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

    How do you learn programming?

    Posted: 04 Apr 2020 11:46 PM PDT

    I understand it's not just something you learn in a typical sense and it takes practice. But what thought processes go on and what do you think when you are learning or practising programming? I assume you don't just copy out tutorials with no thinking or method with the intention of learning.

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

    How do I find the gaps in my programming knowledge?

    Posted: 05 Apr 2020 12:38 AM PDT

    Hello. I've been web development for about a decade now and I'm running into an issue as I look at my peers.

    Everyone around me is able to communicate proper architectures and best practices off the cuff like it's nothing. People talk at length about web accessibility or OWASP like it's the morning paper and they are able to be the subject matter expert on any JavaScript topic that comes by.

    Then, there's me. I'm self-taught and always focused on getting a job as fast as possible. (Figured I'd "secure the bag" first.) I have never been given a JavaScript project that I couldn't figure out but if I had to talk about it, I would flounder about like it was my first day on the job. Ask me a question and if it's not a simple syntax/semantic issue, I have to try multiple times before getting the right answer. It's like "I know it, I know what to do, but I can't express why I do it".

    What should I be doing in order to either relearn these things or surface them so I can be more precise when answering questions?

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

    Need some advice on what I need to learn to create a front end for my database.

    Posted: 05 Apr 2020 12:32 AM PDT

    This is for a school project. I have created my database in mySQL and I need to build a frontend for it. I have no idea where to start. I am not allowed to use things that code the frontend for me. It doesn't have to be fancy at all. I know very little about this process.

    I know that the backend serves up a HTML that the frontend deploys on the client's browser. It relays back information to the backend to do what you want it to. Someone recommended learning asp.net webforms on discord. Is this the way to go?

    Can someone point me to the proper resource to learn how to do this? My database book doesn't mention how to do any of this and we are not talking about it in class. Thank you.

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

    Learning python in college! I have finished my project but I’m stuck on one of the questions. I’ve been asked to think of loops, but how many times do I loop? Should I even add a loop?

    Posted: 04 Apr 2020 10:02 PM PDT

    Write a program that asks the user to enter a series of single-digit numbers with nothing separating them. The program should display the sum of all the single digit numbers in the string. For example, if the user enters 2514, the method should return 12, which is the sum of 2, 5, 1, and 4.

    Think about loops: how many times do we loop? Do we know how to find the length of a string? How do we access each member of a string??

    Submit your code file.

    Code:

    series = '3471'

    print('The given series has how many characters?', len(series))

    print('The first number is', series[-4]) print('The second number is', series[1]) print('The third number is', series[2]) print('The fourth number is', series[-1])

    sum = float(series[-4]) + float(series[1]) + float(series[2]) + float(series[-1])

    print('The sum of all numbers in the series is', sum)

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

    How is a programming language made

    Posted: 04 Apr 2020 08:26 AM PDT

    I know you might say languages are programs that help you create more programs. And I know the first languages are built upon some weird stuff I've never seen, like Fortran. And, Fortran built upon something else and so and so 'till you are watching 1's and 0's.

    But, when do you stop building on something else and start to write on your own code? like toString() or any other function in which if you look inside, you can still see code written in the language you understand.

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

    Which of the following curriculum is best to follow to learn Computer Science?

    Posted: 04 Apr 2020 11:35 PM PDT

    I have a MIS degree with zero job experience, the programming stuff we learned were mostly easy stuff you can learn on your own, such as Database design, OOP with Java, Front-end development, project management, Intro to programming 1 using vb.net.

    My foundation feels very weak.

    I have found the following resources online that can help me build a better foundation in computer science, I would like to know which should I choose and stick with.

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

    No more simplistic teaching for me...

    Posted: 04 Apr 2020 06:24 PM PDT

    If I may ask, anyone knows a book about java that doesn't explain things like if all readers were kids. I know quite a lot of stuff in java and I'm not new to it, but there are always things missing in the contents I read and is frustrating to not easily find all that's needed in a single book. I know there is the Java docs, but I want something more didactic and well structured.

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

    Projects I can do to not get stuck in 'tutorial hell'

    Posted: 04 Apr 2020 07:32 PM PDT

    I'm doing a bunch of Udemy courses and while I'm learning, I feel like I don't know what I 'want' to create. I have so many things I want to learn but not do.

    I'm looking for stuff I can put in a portfolio and actually have some use. I like automating my life to make it easier for my lazy ass.

    Any advice helps!

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

    Double[] cannot be converted to double

    Posted: 05 Apr 2020 01:09 AM PDT

    Hello, I'm trying to create a program using array's and such, but when i try to compile it, i get the error "Double[] cannot be converted to double" any suggestions?

    https://repl.it/@Bcampbell7726/CH7-PC-2

    The problem comes from Payroll.java, class Get_Wage_Per_Id, where i return Wages.

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

    What do you regret you didn't know earlier in your programming career?

    Posted: 05 Apr 2020 01:05 AM PDT

    What do you regret you didn't know earlier in your programming career?

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

    Hackademia: a community for your shining coding projects

    Posted: 05 Apr 2020 12:59 AM PDT

    Hey guys, 👋

    /u/Gamarantor and I are starting a new thing and we want to get to know our potential users better!

    We're building a community to share, browse and create coding projects, like Show HN, but on steroids.

    It's a place for lurkers like me to get inspired from submissions and try to replicate or improve on them.

    I believe it would be a better way to show you can actually code compared to a resume or a LeetCode profile.

    Small projects are shared all the times on YouTube, Reddit and HackerNews but there's no go-to place if you want to browse, get inspired, create and share.

    We would love your opinion on:

    • your general thoughts on the idea • what feature this platform should absolutely have

    Now, if I'd tell you we were NOT launching it, how disappointed would you be?

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

    What should i learn and how should i proceed?

    Posted: 05 Apr 2020 12:55 AM PDT

    Hi, recently I am thinking to learn programming as it is a wonderful thing to learn as well as to earn money from it.

    I got 2 months free skill share where i started to learn OOPS C++, its a great course and the instructor goes slowly to explain everything in depth. I will be finishing the course this week. However, i have few questions I hope you guys can help me with those.

    1. Is C++ or Python a good language to learn for a beginner?
    2. I am looking to earn money from coding as a side gig, couple of my friends have a good work from home jobs regarding building website and such. The pay isn't extravagant but for a side gig it is pretty good. Is this a good option for me?
    3. If i learn python or C++ what all jobs can I and should I apply for?
    4. How should I practice my skills and language, are there any sites free or paid?
    5. Should i stick with my windows or switch to Mac for coding?

    As of right now i have all these questions, thank you.

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

    As a programmer how do I get over imposter syndrome?

    Posted: 04 Apr 2020 12:56 PM PDT

    Long story short I have a huge amount of insecurities when it comes to programming especially considering things like when I see code other people have done. Intrinsically I know that I'm not a bad programmer, however I keep feeling like I never know enough to really do anything, or that I'm not really good enough for what I do, or even want to do. How do I get myself out of feeling like this? Because it is really counter productive.

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

    How to be/stay motivated in this very tempting lazy indoor times?

    Posted: 04 Apr 2020 02:36 AM PDT

    I am a freshman of computer science, but our online classes have been suspend for a long time now. So, with that, I've been sort of productive at the start, but I have not studied in over two weeks. It sucks, but st the same time I kinda dont like working or studying at my home. I have my own room, but it doesnt feel like the desk and little space I have allocated in my apartment in uni. However, I have recently tried to study more about data structures and algorithms(shoutout to Prof Sedgewick and Coursera) but I find it very numbing and boring. It's hard to stay interested, despite how much I like the subject.

    TLDR: I feel very bored. I want to work but i cant focus.

    My question is, how do you guys stay motivated to work/study/learn in these times? Also, does can someone recommend me an alternative course to data structures and algorithms? I like the one in coursera, but I want one that's more compact and less formal, kind of like the format of CS50(of Harvard). Thanks guys.

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

    What programming-related purchase has you made that you think helps you in your job hunt or in your career?

    Posted: 04 Apr 2020 06:25 AM PDT

    I think I ran out of good free resources to go through in this lockdown period. So I decided I wanted to try buying a few programming-related stuff with the extra money that I have right now. It can be books, tutorial, course, mentor, premium account, anything (except Udemy since I already have a few courses bought).
     
    Bonus point: If they are on sales

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

    How do you compute the cost function (logistic regression) using a vectorized method in MATLAB

    Posted: 05 Apr 2020 12:41 AM PDT

    I want to calculate the cost function for logistic regression and have tried transposing the hypothesis and y matricies but to no avail

    X - Design matrix

    y - result matrix

    theta - parameter matrix

    my code is as follows

    m = length(y); % number of training examples J = 0; grad = zeros(size(theta)); h = sigmoid(X*theta); theta(1) = 0; J = ((sum(-y*log(h))-sum((1-y)'*log(1-h)'))/m) +(sum(theta.^2))/(2*m); J = J(1); grad = (sum((h-y)*X)/m)+(theta/m); grad = grad'; grad = grad(:,1); 
    submitted by /u/ConsistentAsparagus7
    [link] [comments]

    As an absolute noob, how do I begin to contribute to the data science community?

    Posted: 05 Apr 2020 12:41 AM PDT

    I'm a CS graduate and I am going to be pursuing my masters in Business Analytics. Before I join uni though, I'd like to improve my skills, and contribute to the data science community and work on side projects and learn in the process. I'm not sure where to start, any help would be appreciated! Consider my skills as beginner to intermediate. Thank you!

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

    Minecraft modding

    Posted: 04 Apr 2020 08:50 PM PDT

    I am bored sitting in my house and I've heard of writing your own mods in Minecraft. I thought it would be a fun and I'd learn some things along the way. I'm pretty proficient in java, however I don't even know where to start on the mods/ uploading. I looked up some videos on YouTube but it's basically just uploading preexisting mods. Was wondering if anyone could give me the start to finish details of writing my own mods!

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

    Which of the following ways of querying data on MySQL database is faster?

    Posted: 05 Apr 2020 12:36 AM PDT

    I am making a website where users can register and message each other. I will store all the messages in one MySQL table. The schema of the table will be as follows-

    message_sender_id(int)

    message_receiver_id(int)

    message_id(int, primary key)

    message_time(time)

    ... and a few other columns

    Now I want to show a user X his last 10 messages to user Y. I have two ways of doing this. The first way is that I query the database for messages from X to Y, sort the data in descending order of message_time and limit the result to 10 rows. Another method is - Have one more column in the table - parent_id, this stores the id of the message from X to Y just before the current one. So if a message with message_id 100 has parent id 79, it means that the user X has sent a message with id 79 before sending the message with id 100. Now I can go to the parent of message 79 to get one more previous message and keep going up till I have 10 messages. Which of these two is a better option?

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

    No comments:

    Post a Comment