• Breaking News

    Saturday, January 18, 2020

    What have you been working on recently? [January 18, 2020] learn programming

    What have you been working on recently? [January 18, 2020] learn programming


    What have you been working on recently? [January 18, 2020]

    Posted: 18 Jan 2020 08:04 AM PST

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    I will find a software job in Embedded Systems, no matter how rejection letters I get or people telling me I'm not qualified.

    Posted: 18 Jan 2020 04:27 AM PST

    My goal is to work in Embedded Systems writing software but the biggest hurdle is the fact that my degree is Applied Math and not CS/EE/CE.

    I've been rejected many times in the past half year for positions. I've gone to several career fairs where 1 hiring manager had the audacity to yell me to my face for applying to these types of jobs. I've had co-workers who looked down on/mistreat me because of my degree.

    None of that matters. I'm doing my own embedded projects now and I'm going to post them on GitHub and develop/document them. After a few months, I will be able to put these projects on my resume and keep developing them. I'm constantly on various resources, learning and keeping up with programming news. I'm practicing my coding. I'm not giving up on this goal because its my life and I'm going to achieve it.

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

    I made a simple program that validates logins and creates users and I am mega proud!!

    Posted: 18 Jan 2020 01:58 PM PST

    So, I've been refreshing my somewhat basic knowledge of various programming languages, including Python. Since learning about the pickle module, I decided to put it to use in a simple login program, and for security's sake, I used hashlib as well. It only took me around an hour and a half to write and get working, and though it is just a skeleton of a program, it does the job I wanted it to do perfectly! Now I just have to learn about session handling and I'm flying.

    If you want to read the code and give me pointers, here is the code: https://pastebin.com/5sA7F1f4

    Much love!

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

    Is there any good App/Game for improving your Algorithm skills?

    Posted: 18 Jan 2020 10:13 PM PST

    wouldn't that be nice

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

    I need help learning how to program

    Posted: 18 Jan 2020 06:39 PM PST

    I am a very lazy person, but I don't want to be. I have promised myself that in 2020, I will be a much less lazy person. One of the things I want to do is learn to make robots and fun little coding projects like that, but I want to learn fast. I have a lot of free time, and i'd rather be doing something productive than laying around watching youtube or netflix. Anyone got any advise for accomplishing this goal?

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

    Coding while parenting

    Posted: 18 Jan 2020 05:23 AM PST

    My little girl is 2 months old. I'm redoing coding challenges I finished a year ago but my brain is too fried to think straight. I can't get someone else to get up in the night with her because she won't take a bottle. Any other parents have similar experiences? How did you study while your kids were small?

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

    The job hunt

    Posted: 18 Jan 2020 06:02 PM PST

    I am graduating this semester and really want to get a job working remotely. I know of indeed and LinkedIn job postings but are there better sites to find remote work? Especially for a new graduate?

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

    I made an intuitive guide to Djikstra's algorithm!

    Posted: 18 Jan 2020 09:19 PM PST

    If you're learning algorithms and have been confused at why the code works, hopefully this helps! :)

    https://www.youtube.com/watch?v=2_MEgc_rbQ4

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

    What's going on with my code? [Python]

    Posted: 18 Jan 2020 08:59 PM PST

    *Edit* Thankfully, serg06 resolved the issue with the first half of my question. I'm leaving this here for anyone else who may be interested. If you have anything to add to the second part of this question (in bold), I would appreciate it. Thanks!
    I have an assignment that is something like this:

    - write a function that takes an int as an argument and counts each occurrence where there's 2 of the same number in a row e.g. 111222333444 returns 8.
    - We're also supposed to ignore 0's, so 111222000333444000 would still return 8.
    - We're supposed to write 2 versions of this code. In one of them, we're allowed to convert to string. Then we're supposed to write the same function without converting to string (this is the only part I'm having an issue with)
    - He wants us to use 40000! as the number (returns 14184)

    The code seems to work fine for numbers that are reasonably small. I can run it on anything up to 12! (takes 90 seconds to process). By the time it gets to 13 factorial it just craps out. I've tried letting it run for 30 minutes to an hour and it's still not going through.

    Here's the code: https://i.imgur.com/w6JgL4E.png
    Here's a copy/paste version of the code: https://paste.ofcode.org/3aQXbY45kLu2DbU8f7fWjSJ

    The code does work if I convert the number to string and use the string length as the range (takes about 90 seconds)

    this is seen here: https://i.imgur.com/9Kn3tT0.png
    copy/paste version: https://paste.ofcode.org/zvL4cDyJZQd59f9GN3YvUz

    I thought it might have something to do with the limitations of the timer, but I have the same issue if I remove the timer from the code

    There was a different (but similar issue) problem in the assignment where we're supposed to take our 4 digit birth year and raise it to the power of our 6-digit student id number. Needless to say, it's a massive freaking number (> 2 million digits), and we're supposed to count the number of times 2, 5, and 0 occur within that number

    Here's my code for that portion: https://i.imgur.com/sNRqiP5.png

    Once again, the code functions without any issue with numbers that are reasonably sized. However, nothing appears to happen when I run the code, it just seems to be processing the code for an hour or longer. It's worth noting that it takes my computer a literal 5 minutes just to calculate output the number

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

    College Advice?

    Posted: 18 Jan 2020 04:56 PM PST

    So, long story made short to save time; 29M; graduated from college 4 years ago. Unable to find a job in the field (healthcare), landed a job and then turfed back in September (worked 7 months there). I have been thinking about going back to college around a year, got recommended to this programming course called B.I.T. (Business Information Technology), ended up going last Friday and learned some info about it.

    The thing is, I'm not sure whether I'm cut out for programming or if it's something that I'd like to do. They do provide an Intro Course (4 months) and auto place you into the real course (2 years). I've checked out Code Academy, SkillCrush and looking into Khan Academy; but I struggle with sitting down and concentrating due getting distractions plus real-life obligations make doing the lessons difficult.

    Which is why I wanted to ask; what beginning programming/IT stuff should I look into? What was the thing that made you go "yes, programming is definitely what i want to do!" or "this is the right fit for me"?

    Anyway, thanks to everyone who reads this. Any and all responses will greatly be appreciated!

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

    What was that website with all the zen koans about programming, some with drawings?

    Posted: 18 Jan 2020 01:41 PM PST

    I can't recall the name. The Way Of Code or something.

    It was very popular for a long time.

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

    Just confused about Java and web development

    Posted: 18 Jan 2020 05:48 PM PST

    So I'll start out by saying I am almost done with my Associates degree in Computer Systems and I am learning Java in my Computer Science classes. My end goal is to eventually one day have a remote job as a developer (Do other swe have remote jobs besides web developers?). Either way I enjoy the problem solving but I just don't understand how it all COMES TOGETHER.

    In my classes and my self study (I have to do some self study since my class is somewhat confusing sometimes) on websites I write code with eclipse or an online compiler but everyone says on here to start making projects for your portfolio in the mean time. I am really excited to start doing that, I just don't understand how this comes together with Java and making say a portfolio with web sites. I know I will be learning HTML, CSS, Javascript and the front end stuff as well. I just don't get how it all comes together with the back end and SQL and JAVA.

    Is there an online resource that explains exactly that? I know there are tons of online resources for "web development" but most are with another language or just front end stuff.. I guess I just need to understand how to start making my own things with trial and error. Or is it just giving an interviewer your literal code and saying look I made this even though there is no GUI or front end?

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

    How long to learn android dev as an iOS dev with 1 year of experience?

    Posted: 18 Jan 2020 11:21 PM PST

    What do you all think?

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

    Is there any code "translator tool" between languages?

    Posted: 18 Jan 2020 07:27 PM PST

    Ex: I have some stuff on JS that I would like to convert into an android app or something.

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

    Has anyone here worked as a developer and then later pursued a Master's in CS?

    Posted: 18 Jan 2020 09:04 AM PST

    I'm really looking for anyone who has done this specifically. Whether you got a Bachelor's in CS or were self taught, I am seeking the thoughts of anyone who has actually done work as a developer before pursuing a Master's degree.

    I think there's plenty out there on the arguments against collegiate education, especially for those with a foot in the door already, so I hope we can limit the "I don't have a Master's, but..." responses, unless you are close to someone who has done this.

    I don't have a heart set on doing this, but I am wondering if anyone has done this and believes it was worth while or regrets it completely. The only reason I consider it is so I can take time to absorb some of the kinds of complexities that I don't practically encounter on the day-to-day.

    I realize that the fact that I don't practically encounter many computer science concepts is an argument against studying them altogether, but I have a firm belief that no matter what you do, you should have a very well-rounded knowledge of your domain. I realize I can potentially develop in JavaScript without even knowing my sorting algorithms for a decade or more with no trouble, but this is not my preferred way of pursuing expertise.

    Another reason I see it as potentially fruitful is due to a particular person I know who has a master's, but was honestly a terrible developer when I knew them. I am not exaggerating when I say that I could not have trusted this person to write a single line of code if we were on the same project. However, they got called into interviews for extremely well-paid positions very easily thanks to the degree. I remember that they either bombed them and/or demanded ridiculously higher pay, but they were getting a foot in the door constantly, the part that often is the actual hardest part, and this made me think, "Imagine what a competent person with this degree could do with these opportunities."

    I am wondering if anyone else has felt this same way and sought graduate school for a way to intensify their foundation-level knowledge or increase job opportunities, and if that decision accomplished what you were seeking, or if you would simply have studied independently while continuing to work if you could do it all over again.

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

    Connecting 2 app of different programming languages

    Posted: 18 Jan 2020 10:33 PM PST

    For example: If I made blackjack in python, how would I play it on a website created from javascript?

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

    Help with graph pruning algorithm

    Posted: 18 Jan 2020 09:15 PM PST

    I am thinking about how to prune a navmesh graph. The graph is basically a grid of nodes that are either 0 for navigable terrain, or 1 for an obstacle. So for example the map might look like this

    00000000 00110000 00110000 00000001 

    I figured an easy way to identify a small set of nodes that have line of sight on every navigable node is to identify the 'corners' of the obstacles. In the example above, the corners, marked with X's are:

    0X00X000 00110000 001100X0 0X00X001 

    But I only want nodes that have a line of sight to one another to be neighbors in the actual navmesh. I tried pruning the graph by removing all the nodes that aren't at the corners of obstacles, and connecting all their neighbors to one another as I removed them. But this didn't work because the final graph will sometimes end up with edges that cross over obstacles.

    Just wondering if there is an commonly used algorithm for this sort of thing.

    Thanks

    EDIT: I think the easiest way to solve this issue is to not even use pruning, but just plug in the coordinates of the nodes and see if the line segment between them intersects an obstacle. I'm going to go with that for now. If anyone finds this and actually reads it, i'm all ears though :)

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

    Should I go to college?

    Posted: 18 Jan 2020 02:41 AM PST

    Im in my last year of hs. Should I self study or go to college, bc wouldnt it be pointless if I learned everything online and then have to redo it?

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

    I would like to learn C++ one day?

    Posted: 18 Jan 2020 08:55 PM PST

    I know Java, JavaScript and currently learning python. After learning python, how long do you think it would take to learn C++?

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

    4 year plan help!

    Posted: 18 Jan 2020 08:46 PM PST

    I've been teaching ESL abroad for a little to long (20 years). I need to move back to Canada in about 4 years. With no prospect of a job, I really need to get some hire-able skills. I tried freecodecamp and a bit of JavaScript a couple years ago, but gave it up. I found JavaScript really hard, and found myself mostly just looking up answers. My math is pretty weak. Now that I know I have to move back, I'm motivated to get my act together and try it again. I'm interested in Mobile-dev or Webdev, which ever has the better chance of landing a job. Should I just focus on math first if that would make programming easier? Both at the same time? Definitely in need of some direction. Any advise would be appreciated.

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

    How Do I Start Making Personal Programming Projects?

    Posted: 18 Jan 2020 01:11 PM PST

    Hello, I am an undergraduate CS student and will be transferring to Uni next year for two years.

    I applied to about 20+ summer internships so far, knowing I'd be lucky to get even one interview. But I was thinking having a github portfolio of my own personal projs is a good way to increase my chances so I was wondering where do I start?

    I've done many school projects so far and have completed all lower division courses for java/python. I did start an internship tracker application but I've somewhat lost interest bcz it's too simple/not too sure abt where to go w/ it.

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

    Good resources to learn C# in 2020

    Posted: 18 Jan 2020 04:55 PM PST

    Just like above

    Thanks in advance!

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

    Do student hackathons generally accept graduate students or only undergrads?

    Posted: 18 Jan 2020 08:28 PM PST

    Self-explanatory, hopefully.

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

    No time to learn new stuff outside office hours !!

    Posted: 18 Jan 2020 08:16 PM PST

    Hi fellow programmers, I work as a full time Senior Software Developer (DOTNET) in India and since having a kid, I am finding it very difficult to find free time to learn new things ( I want to learn Python, AI, ML, Mobile dev).

    I feel like if I don't learn this new stuff I wont be relevant in next 5 years, so just want to be prepared for the worse and also expand by portfolio from just a dotnet web developer to much more. But just finding it difficult to get free time for learning.

    So my question is developers with full time job, how do you get time for learning new things with family, kids and other commitments. How much do you read/learn on weekdays and weekends, how much do you find time for exercise/workout as well ??

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

    Beginner to Machine Learning (Python)

    Posted: 18 Jan 2020 07:30 PM PST

    Hi all,

    By way of background, I'm a finance professional who deals with massive datasets on a daily basis. A milestone I am aiming for is to be able to utilize machine learning to find interesting relationships in this mass of data.

    Today, I am currently only beginning my journey - I'm working my way through John Zelle's "An introduction to Python Programming".

    The question I'd like your help with is, what "curriculum" could I set for myself in order to be proficient in machine learning techniques in Python in the fastest, most robust way possible? I have some grounding in econometrics if that helps.

    Thanks!

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

    No comments:

    Post a Comment