• Breaking News

    Sunday, May 30, 2021

    Programming as a bedridden quadriplegic... learn programming

    Programming as a bedridden quadriplegic... learn programming


    Programming as a bedridden quadriplegic...

    Posted: 29 May 2021 04:55 PM PDT

    Hello everyone.

    I am a lifelong tech enthusiast and even owned my own tech support business at one point. The business failed simply because people weren't comfortable with a severely physically disabled person working on their equipment. This was about 15 years ago. Since then my disability has become more severe, to the point where I am bedridden and control my computer entirely with my eyes. This has made many aspects of tech support, gaming, graphic design, and other tasks extremely difficult to impossible. However, my love for technology still remains, and I have nothing but time on my hands, now more than ever.

    I have been looking for a new hobby/skill to learn that can provide me with something fun and interesting to pass the time while also keeping my brain active. Programming continues to come to mind, as it also has potential for monetary gain down the road if everything goes well. I just recently found this subreddit, and have been reading quite a few inspiring success stories from others who, like myself, began with zero prior knowledge in the coding/programming/development fields.

    I think I am going to give it a shot. The worst that can happen is I don't enjoy it. Before I do, I would like to ask this awesome community a few questions and get some additional feedback that will get my journey off on the right foot.

    1. Do you think typing speed is CRITICALLY important? Remember, all my typing is done by looking at an on-screen keyboard. I'm not extremely slow, but I definitely wouldn't be considered fast by any means.
    2. I have found myself having some decision paralysis (no pun intended), and can't decide where to start. I have read numerous articles, posts, and watched YouTube videos discussing the "best" path, but they either contradict each other or give the generalized "just pick your favorite and go for it!", which further exasperates my problem. ANY REAL WORLD EXPERIENCE FEEDBACK WOULD BE APPRECIATED. Web Development to Python to Java is what I'm slightly leaning towards. I already purchased courses for each on Udemy, but I'm open to other options.
    3. What are your tried and true learning platforms, tips, tricks, and etc.? DO YOU HAVE A FAVORITE TEACHER?

    I guess that's it for now. If you can think of any additional suggestions, recommendations, questions, or anything else that I failed to mention above, please don't hesitate to comment below or shoot me a DM. Any and all communication is greatly appreciated! Thank you for your time and assistance. Enjoy your weekend!

    -Dizz05

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

    Should I start from scratch?

    Posted: 29 May 2021 11:18 PM PDT

    I started learning programming with Alex Okita's book covering C#. I'm at page 110. The problem is, I haven't picked up the book in a month or so. I skimmed through the pages and I've forgotten everything. Should I restart the book, or should I continue where I've left off and hope my memory gets jogged? And how do I learn proficiently where I do not forget anything in the future? Thanks.

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

    Should I be using Git to manage my saves if I'm working on a project independently?

    Posted: 29 May 2021 07:47 AM PDT

    I think I understand the basics of Git/GitHub and how they can be used for version control and development. I'm working by myself on all my projects and work on both a laptop and desktop. It's easiest for me to just save my files to the cloud so that I can work with them wherever. Is it prudent to take the time to manage all my saves using Git if I'm working alone? Or is it best to learn on the job?

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

    I have some disabilities, looking for a VERY simple way to get started. Can anyone recommend some games(or even... apps? ideally games though) with well designed mod tools as a way to get into simple scripting/coding? (I'll explain better inside)

    Posted: 29 May 2021 10:04 AM PDT

    Long story short, I think it would be good for me to find something that already exists(ideally a game because I already have a passion for games, but could also be some other software/app/site.. maybe) where I could go in a modify or add some very small thing. Not only does it avoid the open-ended intimdation of just "learn a language and then make whatever you want", but it could also help with motivation since I love all kinds of games.

    I actually have a pretty good understanding of foundational coding concepts, so I do want some actual coding/scripting, just something... well I mostly said it, but where I could jump right in with a well-made tool and both enjoy what I'm doing and make a very small self-contained little thing.

    Any suggestions for particular games(or maybe something else with a similar idea)?

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

    How heavily can I rely on built-in python functions for leetcode style questions?

    Posted: 29 May 2021 06:09 PM PDT

    For example:

    Working through CtCI and I came across this question:

    URLify:

    Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end to hold the additional characters, and that you are given the "true" length of the string. (Note: If implementing in Java, please use a character array so that you can perform this operation in place.)

    EXAMPLE

    Input: "Mr John Smith ", 13

    Output: "Mr%20John%20Smith"

    Here is my python solution:

    def urlify(s: str) -> str: return "%20".join(s.split(" ")) 

    Will an answer like this be accepted in an interview? I feel like this relies too heavily on built-in functions.

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

    Help with c#

    Posted: 29 May 2021 08:38 PM PDT

    Hi, I'm trying to learn c# with .net 4.52 with mvc in asp because in my job they told me that's the framework they use, and i want to improve with that, can you guys give me some tips to improve ?

    Sorry if i have any mistake, i'm learning the language.

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

    What do I do after learning C++ for game development?

    Posted: 29 May 2021 10:14 PM PDT

    So I know the concepts of C++ and I think I am ready to learn Game development, but where do I start from if I want to make games

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

    Before all the Internet resources, how did people learn to program? And would that method work in the modern era?

    Posted: 29 May 2021 03:26 PM PDT

    Basically like how the title says. I figure that the resource isn't as important as just going ahead and learning something, applying it, and making your own projects while using other resources to supplement learning. After all, programming has been around for decades and there'll never be a one size fits all method. I've heard raving reviews of TOP, but I feel like I'm more of a Udemy person since I need hand holding but also don't mind looking things up on my own.

    With that being said, what did people back in the day use? And could that method work today?

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

    Don’t have the Motivation

    Posted: 29 May 2021 07:55 PM PDT

    Hi so I am on my 2nd year of programming in school and I don't have the will to go and code.

    I'm 10th grade I got programming and I was excited for it I looked at software development and other topics like it and I was hooked I knew that this is what I wanted to do. I liked to program ( we used true basic ) and I really expressed my creativity through them, I had a high 85+ average throughout the year and when we switched to learn Java and COVID hit, I started lose that spark.

    Now by no means am I saying programming was boring and I'm not saying java was boring either but it just doesn't feel the same. I'm not drawn into code but I enjoy it when I'm doing it. Because of this my grades suffered lol. Next year I'm going to be going to school full time on top of that I'm not getting the class next year. Is this a sign that coding isn't for me? Or should I try to find that spark again?

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

    (R) manually ordering bars of ggplot2 geom_bar

    Posted: 30 May 2021 12:11 AM PDT

    I've run into an issue with reordering my bar columns with the error 'discrete value supplied to continuous scale'. Not sure why this is happening since I have used discrete variables on the x axis before with no problem when making bar plots, but I've only run into this problem when trying to reorder my bars.

    This is what my code somewhat looks like:

    library(ggplot2)

    data$Speed <- factor(data$Speed, levels = c("exceed speed 10km/h", "exceed speed 20km/h", "exceed speed 30km/h", "exceed speed 45km/h")

    p = ggplot(data, aes(x=Speed))

    p + geom_bar(stat="identity", fill="violetred4") + scale_x_discrete(labels = function(x) str_wrap(x, width=5)) + scale_y_continuous(breaks = seq(0, 70000, by = 5000)) + labs(x='KM/H over speed limit', y='Number of speeding offenses')

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

    OpenSkill.io - An open platform for everyone to learn, grow and most of all get the right opportunities. Free of charge.

    Posted: 29 May 2021 11:57 PM PDT

    Hi there,

    Living through these tough times, we have been seeing plenty of people losing their jobs, some struggling to keep up with their current jobs and many who are new to job search, either struggling to find leads to get to the right opportunity or simply lacking enough skills to make through the tough competition. Having great skills without great connections or meaningful leads gets us nowhere and vice versa. I have seen people on LinkedIn trying to post viral updates to get the attention of the recruiters, which work sometimes but that's not the path you want to choose.

    We see the need for a proper framework that fill in the gaps that exist between talent and opportunity. A framework that enables people to discover and to be discovered. And if needed, improve on their shortcomings which are holding them back in doing so. We see the problem that exists, it's about time that we start working on the solution.

    Having all this in mind, we have envisioned an open platform for everyone to come and learn and grow. We call it OpenSkill. We are starting in a phased manner with the first focus being on the design and development. The industry is hot right now and many people do want to make their way into the industry and gain success. This works for everyone from freshers to already working professionals. freshers might be lacking relevant skills or experience which is blocking them and working professional might want to grow even more by improving their skills and trying out something different entirely. For this, we are running a program that will be free of charge and help you learn the relevant skills through proper guidance from industry experts. Like I already mentioned we are progressing in phases, the primary focus of this program, for now, will be on UI/UX design, Full-stack development with different tech stacks. We have curated a course plan that involves multiple one-o-one sessions in addition to group sessions with a batch of 20 or fewer people. We are all working professionals with years of experience who are dedicating our free hours to help people in need to get them the career height they deserve. Please join us on our discord server here - https://discord.gg/Zhn4jtWt or visit our website - https://openskill.io

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

    I have trouble writing code from memory.

    Posted: 29 May 2021 12:00 PM PDT

    I started with python then went to c# while using Unity. I don't really have trouble understanding anything just trouble doing things from memory. :/

    submitted by /u/dragan-__-
    [link] [comments]

    EE PhD working as a postdoc planning to switch career in programming. Have some questions and need advice.

    Posted: 29 May 2021 04:11 PM PDT

    My first post here although have been reading posts for a while. Apologies if this is not the right sub.

    Some background

    I am not really enjoying the academia anymore. My PhD life was very difficult, lengthy and moral crushing due to bad mentor with zero guideline. That was actually my fault for not researching my lab and graduation rate before joining. However, my future looks dark due to the nature of the job itself such as constantly publishing, writing grant proposals and then god knows when I will be able to land on a job as a tenure track faculty. I have been long enough in academia and realized that this is not the path I will enjoy ever. Poor compensation is also a highly demotivating factor.

    I tried industry jobs but the time got my PhD, Pandemic hit the globe and hiring has been extremely slow. Despite slow recruiting, I tried desperately over the last 8-10 months and got two offers, one as a full time and another as a contractor. I had to decline both due to different valid reasons. The 1st offer was from a bay area company that offered extremely low compensation although they agreed on a bigger amount at the beginning of the interviews. I did some calculations and decided not to move forward due to financial reason. Second one I had to decline due to was due to immigration complexity. I got interviews from most big name companies but most of them progressed until the hiring manager interviews at best. Also those industry jobs require some skill sets that I am not proficient at. I can increase the proficiency but I do not really like doing those.

    Relevant courseworks

    My undergrad and Master's degree is a bit of combination of Electrical Engineering and Physics. I have taken the following courses at different phases of my life that are closely related to computer science.

    Undergrad

    1. C programming (was proficient once but have not practice for a long time)
    2. C++ (not very proficient)
    3. Computer fundamentals
    4. Microprocessors architecture
    5. Relational database
    6. Computer networking and internet security
    7. Some math courses such as Matrix, Tensor, complex integrals etc.

    PhD

    1. Probability and random variables
    2. Mathematical Physics
    3. Statistics
    4. Pattern recognition
    5. Signal processing

    Current state of my programming

    Currently I use Matlab and has been using it since I started my PhD in the US. I have been using Matlab primarily for data analysis and presentation which is mostly writing scripts to load, separate columns or rows, calculating certain quantities of interest and plotting from text or xls files containing experimental data. These can be done using basic looping for data flow, some arithmetic and logical operators, writing small functions etc. I rarely need to think about efficient programming, classes or memory mapping and allocations.

    Plan

    I want to learn data structures and algorithm in the next 3-4 months. Then probably learn an object oriented programming in next 2-3 months. Then depending on my aim whether I want to be a web developer or PC/mobile based application developer, I will learn the relevant languages or frameworks while try to build small applications. While doing my personal project I plan to build a Git portfolio.

    My plan is to dedicate 2-3 hours a day on weekdays after my work and 3-4 hours a day in weekend for the next 8-10 months and then try doing some part time freelancing works for 6-12 months. Then I will try to get a job full time job.

    Questions I have

    1. How is the demand for a web developer vs a SDE?
    2. Does the progress in career slow down in web developer compare to SDE?
    3. Which one can be accomplished (i.e. learn enough to get a job) relatively faster?
    4. Is learning 8-10 months enough to start building something complex enough to show the depth of employable knowledge?
    5. Is freelancing a viable option to earn something until I get a full time job? I will definitely keep my current job until I get a job as a programmer/developer.

    Thanks for reading and please ask me anything if the information provided in the post is not enough to answer some of the questions. Also, please express your opinion about my plan, doesn't matter if it's positive or negative. You can be as blunt as possible.

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

    Not totally getting loops

    Posted: 29 May 2021 11:41 PM PDT

    Right now, I'm in the process of taking Google's Python course on coursera. While I've found a lot of the lessons to be relatively easy and fun, I just for some reason can't succeed at loops. I understand logically what the function is supposed to be, but I just can't seem to execute them correctly.

    Does anyone have tips on how to get this concept to stick?

    I feel like I have such mixed feelings on learning python as a whole, because the prospect of learning and building things is extremely exciting to me, but little things like not understanding something quickly is super discouraging.

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

    I’m dumb

    Posted: 29 May 2021 07:32 PM PDT

    I really don't understand MIPS and I'm struggling really hard in my class. All the YouTube videos and shit I read online explains it like I'm suppose to already understand it. Is there like an explain-it-like-like-I'm-five tutorial somewhere to help me put wrinkles back into my brain? What resources did you guys use to learn it?

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

    c++ question

    Posted: 29 May 2021 11:14 PM PDT

    Given the functions as defined above. Consider the following snippet: start = 10; end = 20; shrink_and_check(start,end); What would be the values of variables start and end after you execute this snippet?

    The value of start will be ? The value of end will be ? Only numbers count as answers. i wrote down 9 as the start and 21 as the end but i know its wrong but i assume its a trick question where start is 10 and end is 20 but then again idk

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

    How do I make an array (fixed size array) and append to it in c?

    Posted: 29 May 2021 11:12 AM PDT

    I know that arrays are fixed in c, meaning you can't make them smaller or bigger.

    But I have a function that has specific if statements, and if the statements are correct, I want that value to append to a array I created at the beginning of a function.

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

    Need help taking the next step

    Posted: 29 May 2021 11:00 PM PDT

    I am a freshman this year in college and really plan on expanding my skills as a comp sci major. But I am having trouble on the easy leetcode problems and using github. Should I focus on leetcode and github or should I make a do a comp sci project? I am really unsure what to do this summer, any advice?

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

    How should I learn about Data Structures and Algorithms?

    Posted: 29 May 2021 10:44 PM PDT

    I'm a freshmen in college who barley knows all the different types of data structures/algorithms, and am kind of lost on how I should learn more about them.

    Currently I'm learning about binary trees. My learning process is to watch as many YouTube videos as I can on them, read a couple articles, actually code them out, and then head over to Leetcode to practice a couple problems on them.

    Should I continue this process of learning? I really want to get better at solving different leetcodes so I can start applying to internships, but I won't learn DS/Algo's for another 6 months or so. From my perspective, picking a random DS/Algo problem allows me to explore the problem in depth and learn more about the DS/Algo. But at the same time I feel like I have no structure/goal. I'm just picking random topics and trying my best to learn them via YouTube/articles.

    Is there any course outline I can follow?

    Any tips/advice is much appreciated :)

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

    Learning computer science from the bottom-up

    Posted: 29 May 2021 10:24 PM PDT

    Now that I have completed the computer science program at my college, I've realized that it wasn't taught very well and I have a metric ton of holes in my knowledge. Much of what I learned I got a tiny taste for (like little flavors of databases, classical artificial intelligence, application programming, data structures and algorithms, basic computer organization, etc.) but not a deep and intuitive understanding like I want. What I really want is to relearn CS from the ground up. From the very first piece of code that runs on a computer, all the way up the software stack until we hit application code. Considering all I got during my program was some very airy-fairy theory on everything below the application level, what is it that I'd need to know?

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

    How heavily do you guys lean on QA to test rigorously?

    Posted: 29 May 2021 03:50 AM PDT

    At my work we don't unit test much. I've taken over a project that was paused for a year. I added some basic form validation, tested it for 5 minutes and then submitted it for review. Another 20-30 minutes of rigorous testing of course would have been more comprehensive.

    Do you guys do the same, treating QA as the primary testers? Or do you treat them as a last line of defense against issues, and carry most of the testing burden yourself?

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

    CLI cheatsheet

    Posted: 29 May 2021 10:11 PM PDT

    Is there some tool, multi language that acts like documentation or cheatsheet for command line?

    I thought like this: how php explode

    or how python if

    and then a paginated help is shown, shortly as if were a cheatsheet, but in terminal console

    Returning plain text could be embedded easily as plugin into vim

    Sometimes we need go internet and until find the snippet, two, three clicks... plus the time of connection and the danger of distraction.

    It could be personally extensible with own docs or project docs

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

    Confused on merging 2 linked ists

    Posted: 29 May 2021 10:06 PM PDT

    I'm confused on how the dummy (value of -100) is suddenly inserted in the linked lists (as seen in the Result console log). We never defined dummy.next or anything in the code.

    Tested in: https://leetcode.com/problems/merge-k-sorted-lists/

    Console: Input Val [1,4,5] [1,3,4] Result [-100,1,1,3,4,4,5] Input Val [1,1,3,4,4,5] [2,6] Result [-100,1,1,2,3,4,4,5,6] function merge(l1,l2){ //l1 and l2 represents eg: [1,4,5] and [2,6] let dummy = new ListNode(-100); console.log('Input Val', l1,l2) let curr = dummy; while(l1!=null || l2!=null){ //|| because l1 and l2 can be uneven lengths and we want to iterate through everything if(l1===null){ //finished iterating l1 curr.next = l2; l2 = l2.next; } else if(l2===null){ //finished terating l2 curr.next = l1; l1 = l1.next; } else if(l1.val < l2.val){ //l1 is smaller curr.next = l1; l1 = l1.next; } else { curr.next = l2; l2 = l2.next; } curr = curr.next; } console.log('Result',dummy) return dummy.next; } 
    submitted by /u/badboyzpwns
    [link] [comments]

    Stuck on modeling a (User,Player,Team) database for django

    Posted: 29 May 2021 09:42 PM PDT

    Using python 3.9.2 , django 3.2, Sqlite3

    Images are worth a thousand word so i've modeled some kind of diagram in ms paint.Model DIAGRAM This diagram is exactly what i did. Did i do it correctly or is there a better way to do it.What im trying to achieve:

    • Only 1 PubgProfile per user
    • Only 1 Captain per team
    • Captain must be a member of the team
    • PubgProfile cant be on multiple teams.

    PS: The User model is just the usual django User model ,made to remove username field & use email instead

    My code

    from django.db import models from user.models import User class PubgProfile(models.Model): profile = models.OneToOneField(User, on_delete=models.CASCADE,related_name='profile') nickname = models.CharField(max_length=128, blank=False, unique=True) avatar = models.ImageField(upload_to='images/pubgm/profile') def __str__(self): return self.nickname class PubgTeam(models.Model): name = models.CharField(max_length=128, blank=False, unique=True) avatar = models.ImageField(upload_to='images/pubgm/team') members = models.ManyToManyField(PubgProfile,related_name='team',null=True,blank=True) captain = models.OneToOneField(PubgProfile,on_delete= models.PROTECT,related_name='captain',null=True,blank=True) def __str__(self): return self.name 
    submitted by /u/DrAz57
    [link] [comments]

    No comments:

    Post a Comment