• Breaking News

    Monday, April 19, 2021

    Oh My Git! - A trime travel themed game to learn git learn programming

    Oh My Git! - A trime travel themed game to learn git learn programming


    Oh My Git! - A trime travel themed game to learn git

    Posted: 19 Apr 2021 07:27 AM PDT

    I read the other day in another sub that every programmer should know his/her way around with git. I agree. I found this cool game which may be a good resource for newcomers and those who want to harden their git knowledge:

    https://ohmygit.org/

    I would love to hear your opinion if it helped you understand the concept and keywords of git better and if I should recommend it further.

    //edit: btw, this is not my project. See the site for more infos about the authors and even a talk they gave abou it.

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

    The benefits of reading lots of code

    Posted: 19 Apr 2021 12:40 PM PDT

    I'm told over and over that reading someone else's awesome code is a good way to improve your own code.

    A bit like regular reading improves one's vocabulary over time.

    Do you guys know any developers that would be 'good to read'? Any must-follow GitHub accounts you'd recommend?

    Thanks 🙏🏼

    submitted by /u/moist--robot
    [link] [comments]

    Anyone know of a good site to "brush up/relearn" C#

    Posted: 19 Apr 2021 08:10 PM PDT

    Haven't programmed in about a year if not a little over, been swamped with trying to graduate and finishing all my math and general education classes for my CS degree.

    So instead of going over from "scratch", I'm looking for a source that's more of a "brush up" to kind of remind myself and pick up where I left off.

    I have previous experience as an SWE and have a few applications built but it's been so long I feel anxious about jumping back in for some reason.

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

    If you are intimidated by big words like "system design" and "architect" like I once were, please rest for sure, it's just a skill like any others.

    Posted: 19 Apr 2021 09:44 AM PDT

    It has been 7 months since I started my first big project, a distributed crawling system.

    It is also my 7th iteration of design, I literally rewrote the whole system 4 times, and rewrote some of the modules whole more than I can remember.

    System design is just like any other skills, practice makes perfect. Make all the mistakes you must, turn them into experiences. When we first begin doing something, there is really very little design we can do because we know so little, we first need the experience, to know what good solutions there are to a specific problem, then a good design can emerge. Where do experiences come from? Mistakes.

    I also think it's crucial to not jump to other people's "good ideas" before you have taken a stab at it. The more mistakes you make, the more profound the learning.

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

    “Learn how to read documentation” is an incomplete advice that requires more explanations

    Posted: 19 Apr 2021 03:31 PM PDT

    I've encountered several comments suggesting people to go off tutorials and "learn how to read documentations". But they usually do not explain why, why reading documentation is hard.

    As a beginner who just recently started to dabble into programming fundamentals, the more I know about the fundamental knowledge of programming, the more I am able to read documentations. And it made me realize that, the reason why reading documentation is hard, is because documentations assume readers to have the fundamental knowledge of programming principles, and some knowledge of the computer systems.

    A cliche way to mediate that knowledge gap, is to take CS50, as it starts with talking about basic computer architecture and rudimentary data structure.

    I started with JavaScript, and due to the prototypic paradigm, a lot of the object oriented programming features are not built in..., stuff like classes (they are now), like access control... etc. And documentations often assume you know these stuff!

    Even if it means learning a new language, go learn some very basic OOP principles, procedural programming principles, some basics of computer architecture. Learn some C or Java if you have to, the knowledge will help tremendously. And you just need to know the fundamentals of them, and you will be able to read documentations with ease!

    Simply just "learn to read documentations" is not going to help, learn the fundamentals and everything will make a lot more sense.

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

    Git Bash has 8 columns on one computer, 1 on another computer

    Posted: 19 Apr 2021 09:10 PM PDT

    I'm stumped and I can't find the answer on google. I have never intentionally customized Git Bash, just installed it and started using it. On one of my computers, when I type 'ls' it lists one column all the way down. On my other computer, when I type 'ls' it lists everything in multiple columns, as many as 8 on my big monitor. I can't seem to find this setting to change it. Any help?

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

    How do you reckon someone gets better at problem solving?

    Posted: 19 Apr 2021 10:27 PM PDT

    Ok, it's really in the title. But how does one become better at problem solving to better evolve as a programmer? I SUCK at math completely and I got into programming because people say you don't need math to be a successful programmer. But that's a lie.

    Math = Logic = Problem Solving

    At this point I'm ready to give up. I've done an intro to programming course because I needed help. But the course was simple and I knew everything but it's like I don't know anything. I am trying pseudocode but it gets lost in translation.

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

    How to learn python

    Posted: 19 Apr 2021 07:53 AM PDT

    Hi, I am trying to learn python by my own so I need some advice. What do you recomend me to do or read in order to learn python? (also different ways to learn it)

    submitted by /u/Dry-Brain-9896
    [link] [comments]

    What are some good resources to learn software engineering? Paid or free. Should I do front-end?

    Posted: 19 Apr 2021 07:46 PM PDT

    Hello. I am looking to learn software engineering and I heard it's best to learn frontend first before diving into the backend. Is this true?

    If so, what are good resources to learn to be a front-end engineer? Like Udacity, Coursea, Udemy etc? I am willing to pay but only if it's a good program. I am not willing to do a bootcamp atm.

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

    What is the best career options for a programmer?

    Posted: 19 Apr 2021 09:34 PM PDT

    I'm just starting to learn c# and unity and starting to think about what I want to do in the programming space. What jobs are the most plentifully available and not only in mega cities that have insane rent costs? I would love a job in game development but I've heard it's one if the more competitive fields so it may not be the best for a beginner. I'd appreciate if anyone could point me in the right direction for career options or any type of advice when it comes to learning programming.

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

    Struggling in my Intro to Programming class. What I have learned and any tips?

    Posted: 19 Apr 2021 08:19 PM PDT

    Hey all,

    I have always been interested in learning programming and decided to tack on an online only intro course to my spring semester. I didn't think it would be terribly difficult since it was an intro course, so a 15 credit semester was a no brainer. I am a business major thinking of a CS minor and am currently taking law, ethics, Org Behavior, and business finance along with programing. So basically, all of these classes require a crap load of studying. Also, when my programming Prof heard this he sounded like I was setting myself up to be massacred. He wasn't wrong.

    The first few weeks were fun. I had never coded anything and was absolutely enthralled by all the info. As time went on, the topics got harder and the study time increased greatly. The midterm came and I felt semi confident in the class. I passed and was perfectly fine with the grade. I will say that I think half of my class dropped after the midterm.

    At first it was incredible seeing I could actually program and get a result, it was genuinely fun. As things began to get harder, it got a little more dicey. I get most of what I've learned and can program it to work, but it is like I have the ingredients and can do some of the homework, but it needs all of the ingredients to work properly so I can actually pass.

    Then I basically hit burn out. I haven't had any break this semester due to Corona. Like I said, I am taking 5 courses that are not easy and so much reading has caused my brain to turn to mush. At the time I realized I needed help and have been visiting my college's tutoring center basically every week. The tutor I work with knows that I get it and just helps me get it right in the code. My professor is also awesome with giving extensions.

    Contrary to my initial; thoughts, my homework takes up a considerable amount of time to complete. I have participation question points throughout my Ebook that I have to answer to get participation credit. In one subject I counted over 150 questions to answer for the week. Then challenge activities which ask you to write code snippets of what you learned, then Labs that my college curriculum uploads along with discussion questions through the week. I get programing is not easy to learn, and I mean, I have survived so far, but come on, the lessons get painful after a while. For reference my class uses ZY books.

    Because I have been struggling, I have been starting to doubt myself. You can only do something so many times until you want to, not give up but to, just go hide in a corner and rock back and forth. I have never gotten frustrated programming, just really depressed. I haven't given up, but I am so close to doing it. Its sad too cause I do like it a surprising amount. I feel like a masochist or something saying I like a subject that causes me stress and anxiety, but it does. My friends think I am insane for saying this, but nothing is better than a code working properly. I just feel like I am not smart enough or something.

    Does anyone have advice on my situation?

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

    Are you Interested in building a Face Recognition App using python in 1 day?

    Posted: 19 Apr 2021 11:42 PM PDT

    Be a part of GUINNESS WORLD RECORD and learn to build a FACE RECOGNITION APP by using PYTHON in 1 day

    Python and AI enthusiasts register now! https://www.guvi.in/AI-for-India?ref=thamizharasanchandrasekaran

    GUVI, an IIT-M incubated startup, will be coordinating the largest online workshop the country has ever witnessed to form a Guinness world record. Around 10 Lakh people to join the online workshop.

    submitted by /u/Thamizharasan-c
    [link] [comments]

    I've set out a comprehensive study plan for myself to do over the course of four months (from start of May to end of August.) Is this feasible?

    Posted: 19 Apr 2021 11:06 PM PDT

    My goal is to spend 1000 hours programming during this time.

    On weekdays, I will spend 10 hours programming. The first five hours will be devoted to doing exercises and homework projects in the books listed below, and the second half will be for personal projects/games. I will take a ten minute break every 90 minutes.

    Weekends will be five hours each, and again, first half is for studying general compsci, second is for games.

    1. Structure and Interpretation of Computer Programs - I'll watch the lectures on MIT OCW, except instead of two each week I'll just watch one each week, on Monday. I'll only go up to chapter four, but I'll do chapter five over the fall by watching just one lecture at the start of the month. I'll be reading The Little Schemer series of books as a sort of companion.

    2. Computer Systems: A Programmer's Perspective/The Linux Programming Interface

    3. Operating Systems: Three Easy Pieces. I will divide it up with virtualization over two months,

    4. Algorithm Design Manual by Steven Skiena, along with two of the lecture videos per week.

    5. KNK's C Programming: A Modern Approach

    My only experience with programming is two weeks of Java and Python.

    submitted by /u/Intelligent-Aerie623
    [link] [comments]

    A profitable tech stack?

    Posted: 19 Apr 2021 10:56 PM PDT

    I've decided to take the plunge into coding and learn from home, I plan to study non-stop until I grasp coding enough to land a remote job.

    Can anyone point me in the correct direction of a good tech stack that would allow me to work remotely?

    I don't really care what I have to learn, I will suffer through it until competence. I don't have a preference, really. I just want high pay and remote freedom.

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

    [CSS] When using border-radius why do tutorial videos show the left and right side of a box being rounded but when i do it the top/bottom part gets rounded first?

    Posted: 19 Apr 2021 10:52 PM PDT

    Im trying to round my buttons in the same verin as this video

    https://www.youtube.com/watch?v=6j7zae27tfg&ab_channel=toofanicoder

    When he uses border radius the sides get rounded first with the top and bottom staying flat unless the % is increased significantly.

    When i do it the order is reversed. The sides stay flat but the top and bottom get rounded first.

    Whats happening here?

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

    How to start making a search app like Everything?

    Posted: 19 Apr 2021 10:46 PM PDT

    I want to make at least a command-line version of the app. This app has always interested me.

    I know I am supposed to read from the MFT file in order to build this app. But so far, it's just not making sense where to start.

    I am comfortable with C, Java and Python.

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

    Does anyone know if there a way to access the code from a colour changing lamp

    Posted: 19 Apr 2021 10:19 PM PDT

    Recently I bought one of those flat lamps that look kinda 3D and it came with a micro USB/has a micro USB port that would there be a way I could access the code it uses and change it?

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

    Advice for beginner

    Posted: 19 Apr 2021 10:06 PM PDT

    I recently started CS50 on edx, and I have little to no prior programming experience. It's been pretty difficult going through the course, especially as I'm only on week 2, and I assume it's going to get much more difficult, I was wondering if I should take a break from cs50 and learn something like python first, then go back and try again, since I'm only a freshman in high school, I have a lot of free time especially during summer vacation. Any advice is appreciated

    Thanks

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

    Tree with more than two nodes?

    Posted: 19 Apr 2021 10:03 PM PDT

    Are there any implementations of trees with a branching factor of more than two nodes(preferably 4?). All I've been able to find are examples and videos with binary trees

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

    [Beginner Code] C Code - Need some clarification on why I get an error.

    Posted: 19 Apr 2021 09:49 PM PDT

    #include <stdio.h> #include <stdlib.h> int main() { char studentname [] = "John"; int studentage = 20; printf ("My name is %s and I am %d years old\n", studentname, studentage); studentage = 25; studentname = "Peter"; printf ("My name is %s and I am %d years old\n", studentname, studentage); return 0; } 

    Trying to reassign my second string pointer to a new string. I get an error when I run it.

    If you could assist on possibly why and what can I do to fix this would be much appreciated.

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

    Anybody have any experience coming back into programming after a long period of time (10 years)

    Posted: 19 Apr 2021 09:43 AM PDT

    I used to do C# web development back in the day, but took on other roles at a better company. I haven't done full time development in 10 years but after a few layoffs I realize I could be next and have no real current skills to offer, and I feel pretty overwhelmed and not confident trying to compete for and keep a developer job again. Anybody ever made a comeback like this before and did it work out?

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

    Want to try Grafana? I created a repo that easily raises a fully set up TIG stack

    Posted: 19 Apr 2021 09:56 AM PDT

    I had to get a Telegraf 1.18.0, InfluxDB 2.0.4 and Grafana 7.5.3 stack working at my job. I got tired of filling in settings and then tearing the stack down again so I created a repo that raises a TIG stack just based on some simple environment variables. You'll need docker and docker-compose.

    When the single command to raise the TIG stack is done, you have a working stack with telegraf reporting typical host data to influxdb and grafana is set up with influxdb as a default datasource. Additionally, HTTPS is set up by default via a Caddy server container.

    The bash script:

    • Creates read and write tokens automatically and telegraf and Grafana are automatically set up to connect to each other.
    • Email backend is set up for email alerting if you enter those values
    • Telegraf collects data from a Postgres instance if filled in (you might want to comment this out in the telegraf.conf file if you're not using postgres)
    • HTTPS is automatically enabled by default. You'll have to import the root.crt into your local trusted CA store.
    • A separate image rendering container is included to enable image rendering for graph sharing or images in alerts.

    I hope this can save someone else some time. Let me know if you have any suggestions. My bash is pretty rough around the edges.

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

    Monte Carlo

    Posted: 19 Apr 2021 09:06 PM PDT

    I have this problem "A forest consists of 1,200 trees forming a perfect 40×30 rectangle. The top-left corner tree catches fire. Wind blows from the west, therefore, the probability that any tree catches fire from its burning left neighbor is 0.85. The probabilities to catch fire from trees immediately to the right, above, or below are all equal 0.35."

    a. Conduct a Monte Carlo study to estimate the probability that more than 40% of the forest will eventually be burning. With probability 0.95, your answer should differ from the true value by no more than 0.005

    I'm programming this in Java, and I know to get help I need to try myself so lemme explain my program

    https://codeshare.io/2KAjNY

    So let me explain my piece of code and how I developed this. setForest() simply makes the forest blank aside from the top-left, it's burning. Then the first two for loops of Forest set the neighboring trees to BurningNew. Originally I had it make it set to Burning, but the issue with that is it would fill multiple right trees on the first try burning because of my loop. I want it to check one piece at a time. So it's set to BurningNew. Then afterwards, it sets BurningNew to Burning and Burning to Burned. So essentially one tree at a time. So I thought I'd make a boolean and set it to false unless one of the if statements are true. Therefore, my recursive method would only work if a tree was set on fire. Well I keep getting around 0.25, so anyone know the issue?

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

    Looking for C++/Java Projects I can improve, add to or change up

    Posted: 19 Apr 2021 05:40 AM PDT

    So I'm studying C++ and Java at University and I'm loving it, but I want some ideas for projects I could work on by myself over Summer, where the goal is to improve, add features to or change up the program. I find I best learn coding by being given a basic program and being told to add or change it, researching different mechanics like RNG or filters/categories for a GUI restaurant menu for example. Does anyone have any ideas they could give, or websites you could point me to? Thanks in advance!

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

    No comments:

    Post a Comment