• Breaking News

    Sunday, March 29, 2020

    What have you been working on recently? [March 28, 2020] learn programming

    What have you been working on recently? [March 28, 2020] learn programming


    What have you been working on recently? [March 28, 2020]

    Posted: 28 Mar 2020 09:04 AM PDT

    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]

    Learning to code is like playing WoW

    Posted: 28 Mar 2020 08:52 AM PDT

    I'm 31 and I started teach myself a couple months ago and the best way I describe it is that it feels like playing World of Warcraft. My friends started a decade+ ago and I always felt like they were level 60s. I come back to find out that levels now max out at level 120. You don't get a mount until you're level 40 and you really don't get to the core of the game until you're level 20. And here I am, a level 2, and the only way to level up is to creep. Just creeping. There is no magic scroll that levels me up, I just have to keep on creeping.

    Well, I'm in it to win it. Happy creeping y'all.

    Edit: shout out the the level 60/120s and everyone in between who've been creating player guides and been power leveling newbies up!

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

    I've been coding for a couple of months and I decided to try MIT's 6.0001 and the psets are crushing

    Posted: 28 Mar 2020 03:47 AM PDT

    I just need some encouragement from anyone who has gotten through the entire course. The psets take days to complete and I'm only on the second one. ATM i'm feeling so demotivated.

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

    Some websites are giving their membership for free, but not everyone knows them.

    Posted: 28 Mar 2020 09:41 AM PDT

    Maybe we can link them here for everyone.

    1) Codecademy 2) Realpython

    Are there anything else?

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

    I'm a decent programmer, but i type embarrassingly slow

    Posted: 28 Mar 2020 09:05 PM PDT

    i type at probably 45 words per second max. i never learned to properly type and i still peck even tho I've been programming for several years now. how can i get better? I've tried doing type to learn stuff but always get confused when i have to enter brackets and such, and most type to learn focus on alphabetical stuff. is there a type to learn focused on typing code? it's becoming to a point that i can think faster than i can type and i need to improve my typing speed.

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

    What programming language to learn first?

    Posted: 28 Mar 2020 09:10 PM PDT

    Hi guys I'm an Econ major with a math minor in a combined BS/MA field, once I'm done I'm looking to do something in the finance sector, not sure what yet. However, I understand that programming skills can be a great asset and it's something that interests me to an extent.

    I did some research, and figured that I would like to gain some knowledge in Python, C++, R, Matlab and SQL****. I took an engineering class which did a little bit on matlab and C++ but for the most part we worked with solid works, I honestly don't remember much apart from loops and if statements lol. So those are what I'm thinking about so far and obviously I plan to adjust as time goes by.

    Now considering the extra free time I have, I think it's a good time to start so I wanted to know, what you guys thought was best to begin with. I was thinking python but I wanted your guys opinions. Thank you.

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

    Is feeling mentally overwhelmed normal when learning code, even basics?

    Posted: 28 Mar 2020 05:41 AM PDT

    I have been putting off learning code for so long (python) because it looks so intimidating. I was always one to struggle with school during my high school years but I know with enough practice at anything I do of course tend to pick things up. I recently started reading the Ebook for Automate the boring stuff and even the intro stuff I just feel my brain shutting down not able to retain this information. I know there is an abundance of these types of questions but I guess I am just looking for some assurance. I get so mentally clocked out with an overload of not the most friendly stuff so quickly I feel like I am forgetting it. Is it true that while reading up on a language it is good to start a super beginner project like pong or a calculator? I know I learn better by physically doing but even with something so beginner it becomes tough. I ask such stupid questions to myself and I can't even figure out how to properly ask them on the internet. Do any of you guys just experience a mental overload even with beginner stuff that makes you want to give up? Is this normal? or am I one of those people that will say"'I am not cut out for the programming world."

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

    The only important thing you need as a beginner

    Posted: 28 Mar 2020 11:47 AM PDT

    curiosity

    If you have this one thing, it doesn't matter where you're getting your lessons/tutorials from, your journey will be smooth/productive/fulfilling. If you don't have this one thing, it will feel like a torture to learn and to write code, not saying it's impossible to master it, but just very very difficult.

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

    How to learn to program properly? only perfect practice makes perfect

    Posted: 28 Mar 2020 06:32 PM PDT

    I know that this question is asked a lot but I still don't find an answer to it, learning to program needs a lot of work and dedication I get that, to learn there are different ways depending on the person, for me I like to read and watch videos others jump directly to coding, I've tried the latter but all I get is anger and anxiety cause I don't know where to start for, currently I'm pursuing freecodecamop and theodinproject very excellent resources for people like me, but they are headed towards creating websites which is cool but currently in my job I'm asked to work with java, microservices so what I'll do now is watch tutorials about it. my problem is when you get to coding u get the result desired but I don't learn the best practices like design patterns where and why I should use them, how to create a good architecture for the project I know it gets by experience, but practice doesn't always make perfect only perfect practice makes perfect, so if anyone could guide toward ways where I can learn to code properly like sites or join a team where I can learn these practices.

    edit: sorry in advance for my English

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

    JavaScript or C#(.NET) ?

    Posted: 28 Mar 2020 10:07 PM PDT

    Hey guys... I've been using C# for a while, specially because of Unity and I like it a lot! Visual Studio is awesome and the language itself is really good and safe to work with. Recently I've been delving into web dev so I can start applying for jobs... So that basically means JavaScript... I've started with front end stuff and It's very cool... HTML + CSS + JavaScript makes sense and it's nice to work with.. but when working in back end with NodeJS... it kinda sucks... Code seems messy, unstructured, and painful to debug...

    Does anyone feel that way about NodeJS and JavaScript code? BTW, I'm using Express too...

    I'm seriously thinking about sticking with C# and focusing in .NET Core and ASP.NET for back end and RESTful APIs and then using JavaScript + React for front end stuff... What are your opinions?

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

    Good sources to learn basic UI design so my websites don't like like trash?

    Posted: 28 Mar 2020 08:57 PM PDT

    What are some good resources where I can find inspiration or a guide on how to come up with nice looking but minimal UI?

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

    Has anyone completed the "Learn C++" course from Codecademy?

    Posted: 28 Mar 2020 08:38 PM PDT

    I'm taking about this one - Learn C++ which If I remember correctly is made with the help of Bjarne Stroustrup. Has anyone have done it, is it worth it? I'm looking for good C++ recourse (at least for the fundamentals part). I know the best C++ resources are the books, but I preferred more interactive approaches. Thank you!

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

    Python Learning Frustration

    Posted: 29 Mar 2020 12:13 AM PDT

    I've been trying to learn more Python 3 for a while now and it's been frustrating. Every time I find something interesting to do from YouTube or Udemy it never goes smoothly. To make things easy I decided to go with whatever IDE the instructor is using and have installed Atom, Brackets, Pycharm and VSCode in my compyter but still there's always issues. Version, packages not installed or that can't be found, wrong interpreter. Pip/Brew never working as expected. Sometimes I spent hours or even days trying to set up Python to make something work and often times it just doesn't and I end up loosing interest.

    Does anyone have any tips on how to deal with this kind of situation?

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

    Java Courses

    Posted: 28 Mar 2020 11:53 PM PDT

    Looking for a couple online intermediate/advanced Java courses I can take during quarantine! While not a requirement, it would also be great if said courses could be put on a college application and show that I've completed it.

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

    (C++) Stand(time(NULL)) question

    Posted: 28 Mar 2020 11:38 PM PDT

    Currently working on a program where randomization is essential at various points. I know to use srand(time(NULL)); to initialize rand() to be generated based on time (helps randomize results between each run of the program and when there are pauses between calls on the random function, but will the some random number be generated in the initial run if rand() is used multiple times?

    For example, in each run of one of my functions, it's supposed to randomize results on different parts of the function multiple times, but I'm wondering if because these will be happening at basically the same second, if the rand() will simply give the same number each time it's called or if it will in fact be different. Would stating srand(time(NULL)) between rand() uses change anything?

    I don't know if I'm explaining this well but any clarification on how exactly the srand(time(NULL)) and rand() functions work would be very appreciated.

    Edit: Sorry for typo in title but I can't fix it after posting.

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

    Podcast/Book meet...

    Posted: 28 Mar 2020 11:35 PM PDT

    Hey y'all,

    Been coding for a couple months now. Been bouncing off different podcasts & books and nothin really has stuck, especially podcasts. Looking to see what must reads/watches everyone has under their belt. Whether it's from beginner to master, I'm all ears on any subject. Would rather read during this quarantine rather then finding myself making a tik tok...

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

    Javascript for game development or Unity(C#)

    Posted: 28 Mar 2020 11:31 PM PDT

    1. Which one of the languages i should choose ?
    2. What are advantages of one over the another?
    3. Which engine should I choose with respect to language?

    Thank you for your time

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

    from one self-learner to another (or to anyone!)... don't give up!!!

    Posted: 28 Mar 2020 01:32 PM PDT

    hey guys! i just wanted to give all the self-learners out there a quick little pick me up!

    i, too, am i self-learner and i just want you guys to know.. it will get tough. it will be difficult. you will lose focus a few times and just want to give up.

    DON'T!!!!

    i know a lot of what i post gets ignored because i tend to post a lot. but if you come across this, you got it! no matter what level you are, you got this! you'll only laugh when you look back in the future and see how far you've come.

    i really wrote this post because i was feeling a little down & i hate feeling that way. just thinking, seeing, & practicing made me realize that this CAN be done by YOU!!!

    hey guys! I just wanted to give all the self-learners out there a quick little pick me up!e difficult. you will lose focus a few times and just want to give up.

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

    Electron alternative - Python vs Kotlin/Java (with GUIs)

    Posted: 28 Mar 2020 10:53 PM PDT

    I'm staying far away from Electron and other web/JavaScript-based solutions for obvious reasons.

    It seems the only other plausible cross-platform options today (that don't require C/C++) are JVM apps and Python apps. I'm planning on using either Kotlin with a TornadoFX GUI or Python with a wxPython (Phoenix) or PyQt GUI. Between these two options, which is best, and why? A native look and feel is not a concern, as I'm going for a more complex and custom, web-like UI, such as YouTube, Reddit, Spotify, etc. I'm concerned with speed, responsiveness, CPU and RAM usage, scalability, etc.

    Hopefully, Flutter will be a viable candidate in the future.

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

    Urgent! Working offline LAN video call software to use for medical triages? Jitsi is so buggy. Looking at WebRTC right now.

    Posted: 28 Mar 2020 10:52 PM PDT

    Hi! Does anyone here have any suggestions for an offline LAN video call solution or existing software that's actually not as buggy as Jitsi at this point?

    We've tested Jitsi on multiple setups all with bugs eg lags audio, mic cannot be read etc.

    Would be used for replacing person-to-person medical triages re. COVID-19 situation. Need offline because a lot of hospitals in my country has shitty internet connection if not weak. Also as a security measure and fast deployment consideration.

    But the way things are looking, seems like the only working solutions are the online ones! However the shitty internet is really an issue.

    Thanks for any suggestions!

    Am looking at WebRTC right now. Such simple issues and problems for such deployments becomes huge issues esp. with quarantine!

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

    I have been coding for about a week, first (somewhat finished) project for critique

    Posted: 28 Mar 2020 06:57 PM PDT

    Hello, I have just begun my python journey about a week ago through an Udemy course. This is my first week project that i set myself up for (I have not finished half of the course yet). I have taken what I know and used the stack overflow research, and the community of Reddit for help on anything I could not understand. I will be showing a Black Jack game that is capable of playing multiple hands without splits, double downs, or currency at the moment.

    import random import time import sys def dealer1_hand(): d1 = random.randint(2,11) d2 = random.randint(2,11) return [d1,d2] #dealer hand def player1_hand(): d1 = random.randint(2,11) d2 = random.randint(2,11) return [d1,d2] #player hand def deal(): d3 = random.randint(2,11) return d3 #deal command def intro(): while True: answer = input('ready for a game? ') if answer in yes_list: print('alright lets begin') time.sleep(3) break elif answer in no_list: print('Come back another Time..') sys.exit(0) else: print('...What') #intro of game yes_list = ['y','yes','sure'] no_list = ['n', 'no', 'nope'] #playing command hit_list = ['hit', 'yes'] pass_list = ['pass', 'no'] #Hit command while True: intro() dealer_hand = dealer1_hand() player_hand = player1_hand() player_outcome = sum(player_hand) dealer_outcome = sum(dealer_hand) print(f'Dealer has a {dealer_hand[1]} showing ') time.sleep(3) print(f'You are showing a {player_hand}, which gives you a {player_outcome}') time.sleep(3) if dealer_outcome == 21: print(f'Dealer wins by pulling a {dealer_hand[0]} which gives them {dealer_outcome}') elif player_outcome == 21 and dealer_hand != 21: print('You win! ') else: while True: hit_choice = input('Will you hit or pass? ') if hit_choice in hit_list: card_deal = deal() player_hand.append(card_deal) player_outcome = sum(player_hand) if 11 in player_hand and player_outcome > 21: ace = player_hand.index(11) player_hand.pop(ace) player_hand.append(1) player_outcome = sum(player_hand) print(f'You pulled a {card_deal} and are showing a {player_hand} which gives you a {player_outcome}') if player_outcome > 21: time.sleep(3) print('You busted, house wins') time.sleep(3) break elif hit_choice in pass_list: print(f'You have a {player_outcome}') time.sleep(3) print(f'Dealer flips a {dealer_hand[0]} and is showing a {dealer_hand} which gives them {dealer_outcome} ') time.sleep(4) while dealer_outcome <= 16: card_deal = deal() dealer_hand.append(card_deal) dealer_outcome = sum(dealer_hand) if 11 in dealer_hand and dealer_outcome > 21: ace = dealer_hand.index(11) dealer_hand.pop(ace) dealer_hand.append(1) dealer_outcome = sum(dealer_hand) print(f'Dealer flips a {card_deal} and is showing a {dealer_hand} which gives them {dealer_outcome} ') time.sleep(3) else: if dealer_outcome > 21: print('House busted, you win!') break print(f'Dealer was {abs(dealer_outcome-21)} away from 21, you were {abs(player_outcome-21)}') if abs(dealer_outcome-21) < abs(player_outcome-21): print('Dealer wins.') break elif abs(dealer_outcome-21) == abs(player_outcome-21): print('Push!') break else: print('You win!') break else: print('Invalid input') #The game 
    submitted by /u/TYL3ER
    [link] [comments]

    Feedback on my first "completed" project (Java)

    Posted: 28 Mar 2020 04:36 PM PDT

    As the title says, I'm looking for general feedback on my first "completed" project which is a Discord bot for looking up various Formula One statistics. Thanks in advance!

    https://github.com/jstnd/F1StatsBot

    submitted by /u/JustinCredible-
    [link] [comments]

    I am so confused by c++

    Posted: 28 Mar 2020 06:24 PM PDT

    I learnt Python to a reasonably decent standard, enough that I could make basic games, etc. I've always wanted to learn C++ so I might've jumped at it a little too fast, but I hoped I could understand it. I wanted to learn C++, because I wanted to understand more about computers and sometimes using Python felt a little bit like... cheating.

    Even at step one of downloading a compiler to use I was just lost. I've watched a bunch of YouTube tutorials, downloaded Geany, MinGw(?) and Visual studio to still have absolutely no idea how to compile the code I want to write.

    I tried to understand a simple hello world command which was broken down so it could be explained and everything was complex and I didn't understand any of the explanations given even through googling for a long time.

    I apologise for this rant and if I sound annoying, but I'm really confused and I just need someone to point me in the right direction.

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

    Created a website for students to predict if their highschool school year is going to get shutdown, any feedback?

    Posted: 28 Mar 2020 04:08 PM PDT

    Thought it would be a pretty cool idea, posted it in a couple of communities just to see what people said, got around 300 impressions today and really happy with myself but would like to hear feedback. COVID-19 shutdown my highschool until the middle of April so the website hits home to most k-12 students in America.

    https://viruspredict.live/

    Any feedback is appreciated

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

    No comments:

    Post a Comment