• Breaking News

    Saturday, August 1, 2020

    Awesome programming resource (discord)! learn programming

    Awesome programming resource (discord)! learn programming


    Awesome programming resource (discord)!

    Posted: 31 Jul 2020 10:35 PM PDT

    There's a pretty helpful coding discord called TechTok that has a pretty awesome community. It's active and there are professionals that can help with pretty much any programming issues. There are late night voice chats and even weekly projects that the staff sends out. Here's the link if you're interested! https://discord.gg/eabmnSc

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

    How hard is JavaScript to learn after wetting my feet in Python?

    Posted: 31 Jul 2020 06:14 AM PDT

    I'm beginning to feel mildly competent with Python, enough that I can debug my code and understand the documentation and some of the core conceptual logic of Py.

    For the project I am working on the next step is to get my python code into a web app, I am looking at just using Django because it uses Python language but I feel JavaScript (HTML, CSS doesn't worry me) may be more beneficial in the long run (skills and project-wise).

    I see lots of people saying JS is hard to learn and understand, should I invest the time now? Or can Django get me a pretty decent responsive website for the near term? (The sites main functions will be looking at a map of venues around the user's location that are drawn from a database (I have used SQLite3) allow users to login and submit recommendations which are then mapped).

    I'd ideally like to turn this project into an IOS and Android App in the medium term too.

    EDIT: Thanks for the phenomenal advice everyone! Hopefully this I helpful to others too.

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

    Hello all, 2nd year in comp sci I want to become a ethical hacker. But when I YouTube or google I get these silly videos with tools that does 99% for you. So how does the path way look like for me to go about it what books or video content(I prefer) should I go for?

    Posted: 31 Jul 2020 04:07 PM PDT

    Thank you guys in advance I appreciate it a lot

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

    Trying to build a dynamic personality quiz in Python

    Posted: 31 Jul 2020 09:35 PM PDT

    Hi guys, I'm relatively new to coding and very new to reddit. I think this would be the right place to ask this question, but please let me know if there's somewhere better.

    I'm trying to make a dynamic quiz, in which the questions asked will change based on previous answers. It's kind of like one of those personality type quizzes, where there's not one right answer; your answers add up to give you a result at the end (all answers will be "yes", "somewhat", or "maybe"). I'm fairly confident that I could make it directly in Python, just using inputs. My problem is that I'm hoping to put a front end on it, to make it a web app with radio buttons instead of typed inputs.

    From my research so far I'm thinking that Flask might be the way to go...am I on the right track? Or is there a better way to do this in Python, or some other language?

    Thanks in advance for your help!

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

    Here's a very good C# tutorial for beginners

    Posted: 31 Jul 2020 11:56 PM PDT

    Hi, I just wanted to share this free but gold content tutorial in C#. https://www.udemy.com/course/understandingc/

    I've learned the basics very well here and the the exercise are great to test your skills. I would also like to tell my experience that after finishing this course, I gained a lot of knowledge and got ahead of some of my classmates when it comes to c#. This is just one of best free courses I've found. Hope this will help you too.

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

    Details of how I can derail myself

    Posted: 31 Jul 2020 07:07 PM PDT

    This might be a bit too meta for r/learnprogramming. I haven't browsed this sub very much so if this is really out of place, I'm sorry. I had this experience happen to me today and I am trying to improve my life so I wanted to share it.

    A bit of background, first: I am in my mid 30s. I'm fairly intelligent but haven't been able to be very successful in school or intellectual pursuits. I think this has a fair bit to do with fear and anxiety. And I haven't been able to just blast through those things for whatever reason.

    In my 20s, I took a computer science course that was taught in Scheme. I liked it, but was intimidated by it for sure. I did well on the first midterm, but then I started to feel really out of place and dropped the class halfway through.

    I recently came across www.teachyourselfcs.com and saw that they recommend the same book from the class that I dropped out of - Structure and Interpretation of Computer Programs. https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book.html

    So today, I thought I would check out a section in the middle of the book and see what it felt like to read it and if I was interested in it. I ended up in chapter 4 and they talk about interpreters being essentially programs themselves and that this is a fundamental idea in programming. It then says some lofty sounding things about the tech for dealing with large scale computer programs is essentially to same as building new languages. Then they say that we are going to build an interpreter for lisp in this chapter.

    And then I balk. And it comes with a sense of panic and wanting to quit. I think, "I barely understand what they are talking about and this seems like a lot of work that I may not be able to even complete if I try. And furthermore, even if I do learn this, does this help me get a job? I don't see any job postings for building a lisp interpreter, lol."

    I think, "Shouldn't I be learning something more practical? Isn't there something in python I should be learning? Wait, I really like statistics, maybe I should go back to McElreath's book (https://xcelab.net/rm/statistical-rethinking/ ). Or what about fast.ai? Or maybe I should learn one of the many other things I've come across that sound interesting.

    So, I am dealing with doubt and panic and a habit of giving up. There is doubt that I could even understand this stuff, and there is doubt that it would be worth it if I did. Writing about it has transformed it, though. When I went back to re-read the passage so that I could write this, I got a sense of, "Oh, this is cool!" Even, though I still didn't totally understand what they meant by building large scale is equivalent to building a new language.

    So, I guess I'm looking for two kinds of replies. If anyone has any comments that can directly address my doubt, that would be great. Is it worth it to learn this? Do you think I need to be a super genius? And if anyone would like to speak more generally about giving up on learning something or always have some shiny other thing to learn and not making progress on any one thing, that would also be great.

    Thanks!

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

    Problem solved by 'magic number', but I don't know how I got the number

    Posted: 31 Jul 2020 09:23 PM PDT

    So this isn't exactly a beginner question, but I wasn't exactly sure where else to post it where I would get technical feedback. I've been working on a 2D game for my portfolio. It's not intended for release or anything, it's really just so I can learn about game engine systems and such. My problem comes with the tile system and how it interacts with the camera and resolution.

    The problem:

    For the sake of this example, let's say a map is 100x100 tiles and a tile is 32x32 pixels.

    In order to obtain the same "screen space" on all resolutions, there is a virtual resolution of 800x480 pixels and your true resolution is divided by this in order to obtain numbers for scaling. The scaling numbers are then applied to everything draw to the screen.

    ex: Resolution: 1920x1080: 1920/800 = 2.4 scale in the X - 1080/480= 2.25 scale in the Y

    Hopefully you're with me so far as there are no problems here and this all works great.

    Now Using all of this information, when I'm drawing tiles it's fairly easy. Each tile is 32 pixels away from the previous, rinse and repeat. Then the scaling factor is applied and it's drawn to the screen

    Let's ignore the player and just pretend I just move a camera around to view my map. the origin(0, 0) is the top left corner so the upper bound is Y=0 and the Left bound is X=0.

    My issue is with the Right and Bottom bounds. I thought these bounds should be 32 x 100, as we have 100 tiles and 32 pixels. Or they should be (32*2.4) * 100 in the X and (32*2.25) * 100 in the Y. Neither of these seem to work. After some trial and error I found that the actual calculation for the bounds are 61*100 for Y and 57.5*100 for X but I have no idea where 61 and 57.5 come from, I can't find their relation to the scale factors or anything.

    What am I missing? The problem is solved with those magic numbers but I would like to know how to get them pragmatically.

    Edit: Mixed up the magic numbers in the post, fixed

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

    How can I make money from coding as a 16 year old?

    Posted: 31 Jul 2020 08:07 PM PDT

    I'm a 16 year old high school student and I wanted to make money from coding cause I wanted to buy equipment for music production but I don't know how since I obviously can't get a job yet and I'm still pretty much a beginner. I'm currently learning Python and taking CS50. I thought I could make apps/games and make money off of them. Any advice?

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

    I just started learning Python 3 through Codecademy Pro. Coming from absolutely no experience and wondering if anyone has had success starting from the course?

    Posted: 31 Jul 2020 02:20 PM PDT

    I've been putting off learning for so long. But I finally decided that this course is where I'm going to start as I like very structured learning and easily get overwhelmed otherwise.

    I've been doing it for about 1-2 hours a day for a couple days

    Would love to know if anyone has tried starting from the Python course on Codecademy and if it worked for them

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

    What kind of software is used to process rapid transactions

    Posted: 31 Jul 2020 10:42 PM PDT

    I am trying to understand what software is used for processing massive amounts of transactions per second.

    The kind of software that powers MasterCard or Paypal.

    Google is being of no help to me.

    my guess was something out of the apache hadoop family perhaps apache spark. But I'm at loss for what actually powers them.

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

    Does a sort of "gamified" IDE exist? By IDE I mean a program that you use to write your code and such, but it has some game elements or something that makes programming more entertaining and easy to stick to.

    Posted: 31 Jul 2020 01:46 PM PDT

    Idk, maybe it's a stupid question, but my ADHD ass needs it.

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

    Learning Backend web development?

    Posted: 31 Jul 2020 11:24 PM PDT

    Hi, do I need to learn html and css in order to be a backend developer? Cause I have a experience in c# and want to learn backend?

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

    How to solve this "SQLite constraint violation"?

    Posted: 31 Jul 2020 11:16 PM PDT

    Hello, first of all, sorry for my english and the questions 😂but I already spent some hours on this. Well, I'm making a web crawler, so I created this tables:

    CREATE TABLE IF NOT EXISTS movies( movie_id INTEGER PRIMARY KEY, title VARCHAR(100) NOT NULL UNIQUE, info VARCHAR(250) ); CREATE TABLE IF NOT EXISTS genres( genre_id INTEGER PRIMARY KEY, title VARCHAR(50) NOT NULL UNIQUE, ); # The next is my poor try of make a junction table CREATE TABLE IF NOT EXISTS movies_genres( movie_id INTEGER NOT NULL, genre_id INTEGER NOT NULL, PRIMARY KEY(movie_id, genre_id), FOREIGN KEY (movie_id) REFERENCES movies(movie_id), FOREIGN KEY (genre_id) REFERENCES genres(genre_id) ); 

    So, with that tables I tried to insert info to movies_genres with:

    INSERT INTO movies_genres(movie_id, genre_id) SELECT m.movie_id, g.genre_id FROM SELECT (movie_id FROM movies WHERE title = arg) AS m CROSS JOIN SELECT (genre_id FROM genres WHERE title = arg) AS g; 

    But this generate the following: SQLITE_CONSTRAINT] Abort due to constraint violation (UNIQUE constraint failed. I don't know where is the error, maybe in the schema but I don't have any idea in how fix it.

    Any idea?

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

    I’m a noob to programming

    Posted: 31 Jul 2020 09:59 PM PDT

    how do i start learning the compete basics of programming? i'm completely new to the whole computer science thing in general and i'm very interested in learning programming but i just haven't found a good way to start anything, any tips on starting?

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

    Python or JavaScript for web app?

    Posted: 31 Jul 2020 09:46 PM PDT

    TLDR: can I solely use python to make a web dashboard application that will accept user input, track said input, and records metrics of the input. or will I need to learn html css sql too? Is my learner project of a web app dashboard too ambitious for a beginner? I'm thinking of picking python over JavaScript because python seems to have more potential to branch out with after I have my foundation.

    My problem with learning programming is not having real world uses to apply it to. I understand Syntax I just don't know all the functions available. I self taught powershell for work and had dozens of real life situations to apply it too. I'm not an expert but I'd say I'm pretty good at it. So I wanna pick up python next.

    Well someone told me "think of your own project and build that as you learn until it's finished. That will get you your real world application"

    So my project idea that I could apply to real world(I know there's already better alternatives that exist for this but it's what I came up with)

    I work for a help desk. When we get super busy and have tons of calls waiting, we have a process called triaging. Take the call, get their contact info and tell them we'll call back when the calls die down. Well currently, we're using notepad and emails to track those call backs. A bunch of co workers take advantage of how unmanaged and disorganized this process is. I could do 40 call backs while my co worker ends up doing 8 because they just pretend to work. It's very common, and annoying.

    So I want to make a dashboard where we can log all of this information and track it with ease.

    A column for all of calls that need to be called back with their information.

    A column for the ones that have been called back.

    A column for the associates that are currently doing call backs and the others that are taking the calls.

    A column that tracks how many issues an associate picked up so they can't slack and get away with it. If they only did 4 call backs, it'll show next to their name.

    An ability to tag each call type aka "excel" or "internet" or "mainframe". Then a graph to show the distribution of call types we're getting to recognize any trends or outages quicker.

    Here's a crappy sketch I made in paint.

    https://i.imgur.com/RXxlLB5.jpg

    This would probably take me like a year to make by myself since I'm starting from 0 python experience so I don't intend on putting it in production. We'll probably have a better solution by then anyways.

    Just something to build and put in a portfolio for myself

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

    Am I supposed to be stressed out?

    Posted: 31 Jul 2020 12:46 PM PDT

    Sorry if this is the wrong sub to post this. Let me preface this by saying that I am a 2nd computer science major going on to 3rd year and thus far in my academic career I have been loving all of the classes that I have been taking. But I can't help but read about all the stuff that is expected to be done outside of class.

    1) For example, the only language that I have been working with in school is C++ and I've been reading about others who know at least 4 programming languages like Java, Javascript, PHP etc.

    2) I've read about doing projects outside of class. While I do have a project in mind that interests me, I don't know if I can build something that employers would see as useful with the knowledge I have so far.

    3) There are so many careers related to CS that I don't know which ones I'm actually qualified for. I was looking at software engineer, web developer, database administrator. Will I have enough knowledge from my CS degree to do any of these jobs or any of the other CS related jobs?

    4) I haven't done any internships so far and with the pandemic going on, this might hamper my internship opportunities. Am I screwed?

    Thanks for listening to my rant. Any advice would be greatly appreciated

    submitted by /u/2kfan
    [link] [comments]

    Complete Beginner looking for others to complete The Odin Project!

    Posted: 31 Jul 2020 02:22 PM PDT

    Hey I'm Dill! 28 years old and looking to switch careers and become a software developer. I have no CS or developer background. I'm looking to start The Odin Project as a complete beginner and would love some study buddies to work with. It'd be great to have a group to learn together and motivate each other along the way!

    I am in the US Pacific time zone. Shoot me a DM and we can link up in Discord.

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

    API for random text

    Posted: 31 Jul 2020 09:07 PM PDT

    Hello,

    I am making a typing test, and I want the text to be generated using an API. I would like to be able to get any type of excerpt of ~100 words. If anybody has any suggestions, I would appreciate if you'd post them here ;')

    thanks

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

    Help me land an internship!

    Posted: 31 Jul 2020 11:54 PM PDT

    Hello guys, I'm a 21 year old Electrical engineer major who just completed his Associated in math. Life is all good except for the fact that I'm not going to be able to attend a university in the fall :/ Instead of wasting an entire year I have committed to a GOAL. My goal is to land a Tesla Internship in Palo Alto. Only problem is, most of these internships require you to have experience with at least ONE programming language. I have no experience in any :( So I have come here for help.

    1)Do employers care where you get your experience from? An online course? Coding camp? Books?

    2)If I am driven to learn as fast as I can, what would be the best option for me? I guess I'd want something that employers would respect but that I can finish at a fast pace.

    3)Is there a certain language you'd recommend? Just by ooking at the internships, a lot of them state Python. Would you recommend something else?

    I am-and need to be- completely determined if I want to improve my life and learn a skill. And I am NOT going to let this year go to waste. Any input will be highly appreciated! Thanks for helping me take control of my life.

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

    My hacking stepbystep guide for beginners

    Posted: 31 Jul 2020 11:35 PM PDT

    https://docfate111.github.io/cybersecclub/roadmap.html Ive seen to many posts of wannabe mr robots so here is a starting point. Have fun and hack the planet.

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

    Book suggestion?

    Posted: 31 Jul 2020 10:29 PM PDT

    Hi, I'm software student right now, but I kind of loosing illusion of what I expected when I started the career so I come to you guys looking for any recommendations of bibliographic/academic/fantasy books that make me start the flame again, don't get me wrong, I still loving making code, but I'm getting disappointed about future, all I need is a little inspiration.

    Not only books suggestions, if you've something you feel passion of(series, podcasts, comics, forums, movies) I'll be glad to discover.

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

    What makes a top class programmer?

    Posted: 31 Jul 2020 10:15 PM PDT

    Hi! I'm (17) currently a beginner, learning the CS50 and will soon be entering college for a degree in CS. I'm curious to know..what makes a top class programmer. Like the best programmers of the world, are they proficient in many languages, have many projects at hand, are good competitive coders or what other skills do they possess?

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

    I’m applying for my first software gig, thank you all.

    Posted: 31 Jul 2020 02:34 PM PDT

    I post infrequently but read everything and have been studying intensely for 6 months, and am officially applying to my first job, I don't really care if I get it if I'm being honest. I'm just so excited to be at a point to have enough knowledge to get my feet in the door and want to thank everyone here that contributes. For those curious it's a software debugger position very entry level.

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

    No comments:

    Post a Comment