• Breaking News

    Sunday, June 27, 2021

    Does anybody else spend hours trying to implement something, and later look back and wonder why it took you so long "just to do that?" learn programming

    Does anybody else spend hours trying to implement something, and later look back and wonder why it took you so long "just to do that?" learn programming


    Does anybody else spend hours trying to implement something, and later look back and wonder why it took you so long "just to do that?"

    Posted: 26 Jun 2021 06:32 PM PDT

    Might be hindsight bias, but I've noticed that it takes a bit of a blow on my self-esteem more than I thought. I'd literally spend hours trying to implement a small block of code that's supposed to do one thing, find a solution, spend some more time debugging it, and later I'd look at it and wonder "why the f*ck did this take so long?"

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

    At 24, after 3 years of being self-taught, I launched my first big project - GamePassCompare, a website to compare between gaming subscriptions. Here's what I learned from 6 months of a solo project, and some tips.

    Posted: 26 Jun 2021 03:57 AM PDT

    Hi,

    I am self-taught for 3 years now, and it's been quite a journey, I still remember my first question on this sub, it was "what the hell is 'return' and why we need it".

    This week I launched my first big project GamePassCompare.com, it's a web service to compare different gaming subscriptions easily, but I don't want to talk about this project, I want to focus more on the development part.

    1. It takes time! - Working on a solo project IS HARD, it's actually nothing like watching a tutorial. Once no one lays the steps for you it's 100 times harder. Making the decisions yourself changes everything, it took me 3 working days to figure out the color theme. Days to decide on margins, formatting, phrasing, and whatnot. When I got the idea for the website, I estimate it for 2 months of work, it took me 6 and a half.
    2. Don't cling to a mistake just because you spend a lot of time making it - You gonna need to admit a mistake at some point, as I said before - once no one lays the step for you, it won't go out smooth, mistakes will be made, and fixing them is going to take a lot of time, BUT YOU HAVE TO DO IT. During the time of creating this project, I had to re-structure the database 4 times to fit my needs, destroy the design and start over, realize that a feature I worked on for weeks is actually useless, and shred it. But you gotta admit the mistake and move on.
    3. Take a break if you need to! - I had 3 burnouts and a lot of breakdowns during these 6 months because I pushed myself too far. Coding is hard, coding dreams are harder. You gotta learn when to stop and know your limit. Sometimes it's better to stop for a week, or even 2, and come back fresh to keep working. Things will be more clear, my mom calls it "Getting down to get back up stronger" (free translation). Sometimes I was stuck on something for weeks, got back after a break, and solved it in 5 minutes.
    4. Stackoverflow won't solve all your problems - I went from asking what 'return' is, and getting my account blocked for noob questions there to hoping my question will be closed in 5 minutes because some StackOverflow genius/jerk will send a link to my exact question being answered 17 years ago. But because it wasn't that simple I had to figure it out myself after getting no answers. But I did it, and learned that everything is possible if you sit on it for long enough, willing to get your hands dirty, and also try to be creative.
    5. If you can't design, hire someone ASAP - We see so many talented people on the internet and come to think it's easy to find a good freelancer for your work. But it's not! If you would look at the donation page on my website you will see that I promise a t-shirt with "Coming soon", I am actually working on the designs for 2 months now. Finding the best freelancer for the job you need is HARD, I was very lucky to find the very talented u/SeanNemo to create the logo for my website in less than a week. But don't wait with it till the end, the sooner you start looking, the better.
    6. Do something you love - Steve Jobs once said that the reason the iPod was so good was that the engineers volunteered to work overtime to make it, because they all wanted one for themselves, so they wanted it to be the best. sure, Netflix mockups are nice, but it's hard to be motivated to create something like that. What pushed me through the burnouts is that I wanted to use the website I was making.

    I hope these tips will help you moving forward, good luck :)

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

    Finally landed a job!! What’s the best way to prepare for the inevitable imposter syndrome.

    Posted: 26 Jun 2021 03:35 PM PDT

    After a lot of stressful months, I finally landed a job as a developer that also pays a decent amount. The job description was pretty vague and I know the company uses practically every programming language so I was wondering how should I best prepare myself. Some things I am doing right now is learning SQL server as I know that's what they mostly use.

    My only concern is them giving me an assignment and not knowing how to do it. I might just be over thinking it but my goal is to impress as much as I can and move up the ranks as quickly as I can.

    My current plan is to just take a udemy class whenever a topic I don't know comes up but I'm not sure how long I could keep that up.

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

    What are some fun, light entertainment/education resources related to programming?

    Posted: 26 Jun 2021 11:14 PM PDT

    I'm looking for resources (such as podcasts, blogs, youtube channels etc.) that cover programming and software-related topics in a more light-hearted tone, but that are still informative. I'm trying to find resources that I can enjoy passively in my free time that won't make me feel as though I am studying, if that makes sense. Would be doubly great if it's suited towards beginners as well.

    Any recommendations would be appreciated.

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

    How can I overwrite what I previously have written to console?

    Posted: 27 Jun 2021 01:06 AM PDT

    Let's say I'm writing a string s to stdout using printf. I then change the string and write it again, making the updated string appear on a new line. What I instead want to do is to overwrite what was previously written so it looks as if the output is updatd in place. i have seen command line programs do this, so I know it is possible. But how?

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

    How to find destination and origin using google maps api ?

    Posted: 26 Jun 2021 10:36 PM PDT

    I am building a bus transport information system. Main goal of this system is to provide information about current location, approximate arrival time to reach destination and the origin location. The origin and destination locations of bus route are pre defined and the bus is going back and forth in the same route everday. I am currently using Distance Matrix API from Google Maps to get distance and arrival time between current location and destination. My problem is since the bus can be going back in the same route anytime, how to find which way is bus headed using gps coordinates ?

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

    How to evaluate progress when self-taught?

    Posted: 26 Jun 2021 06:48 PM PDT

    Hello there.

    I'm a 23year old economics bachelor who's currently looking into diving in the fields of front-end development. The title is as it is because I feel I can benefit from people sharing about other niches as well.

    To the main point - is there any way to make sort of waypoints for a self-taught getting into front end. For example I've a basic understanding of html and a bit of css, I know I need to learn javascript and down the line React. However through the hours of content (youtube, blogs and even discord servers) I cannot find a way for me to be able to reach smaller milestones as I'm very unfamiliar with the things I got to learn.

    Most advice I've seen is to diversify my knowledge and when I can do a basic webpage with html and css just move on to javascript. However if someone can give me a more specific points on what to consider enough info I'd appreciate it greatly.

    I plan on spending the next 2 years of my life learning front-end development with a bit of backend so I'd love if someone could guide me in the "right direction"

    If the post is against the rules or considered spam I'll remove it asap!

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

    Just wanted to wish you all a happy journey

    Posted: 26 Jun 2021 05:38 PM PDT

    A while back, I responded to a post which was asking about free learning paths for programming. My recommendation was (and still is) The Odin Project.

    I mentioned that I was making my way through the course. Still am.

    I came here to say that this shit is hard. I mean it's fascinating, and every time something works or I manage to complete an exercise without asking for help it seems like magic. Sometimes I have to take a minute just to experience the awe of something like having manipulated the DOM with JavaScript for the first time. Sounds pretty basic, I know, but it's what I'm here for.

    Fitting everything into your brain and understanding how to program- not how to code - what loops are, conditionals, git, stuff like that, is not like learning a language. It's like learning first the concept of communicating with another species (computers reason differently than we do), then learning one of their many languages, and getting the whole concept well enough to be able to write decent poetry or prose.

    This takes time. How much time? No way of knowing. Peoples brains work differently, and the way we learn is unique to each person. What do you need in order to learn programming? Basically this:

    1. A good reason to learn. Otherwise you'll give up.
    2. Patience

    Probably a lot of sub chapters, but that's basically how you learn anything. And you can learn anything. You just have to have the patience to hit that moment when it starts to make sense and ceases to be just clutter in your brain.

    Little by little it's making sense to me. I'm learning because I like to create and this is magic, infinitely scaleable. I feel like a moron most of the time that I'm learning. But when I work that magic? I'm a fucking god.

    Pleasant journeys to all of my fellow travelers.

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

    I want to expand from coding Python, what modern statically typed language should I learn?

    Posted: 26 Jun 2021 10:16 PM PDT

    I'm a college student looking to expand from coding Python only. Partially because runtime errors, partially because I want to be a better programmer. The issue is I'm not exactly sure what I want to do. In Python I've been working on ML projects and a discord bots.

    Do I just suck it up and learn JavaScript and a framework? I don't really enjoy front end work at all, but Im also not sure what else is in demand for someone like me.

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

    Extracting lyrics using stagger python?

    Posted: 27 Jun 2021 01:26 AM PDT

    Does anyone know how to extract the lyrics of an mp3 file using stagger? I already use the library for the album cover, title, and the artist but have no clue how to get the lyrics.

    submitted by /u/Eastern-Skill7173
    [link] [comments]

    Recommendation of what to begin studying for freelance work?

    Posted: 26 Jun 2021 05:37 PM PDT

    I'm a caretaker as well as a single mom with a very small, part-time (post-Covid) business. I've been thinking about coding/stats/analytics for some number of years with no background or clue where or how I might like to apply them. What I do know is that given my current commitments, my hope is to find more freelance type work. *I read through the incredibly thorough FAQ (thank you) so I have plenty of resources once I decide where to begin.

    My question is- is there a certain path that might be more desirable than others for the types of jobs I'm hoping to land? I guess, in searching for "freelance work" I'm not sure what I might find, or even be looking for. Is there a certain need that is more likely to be fulfilled through these types of jobs? I realize the likely absurdity of this question.

    I have a degree in Spanish and I'm interested in politics, philanthropy and statistics, but I don't necessarily want to pigeonhole myself based on those interests. I'd rather begin broadly to figure out where my interests lie in the world of computer science. Thanks.

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

    Google's font-weight.

    Posted: 27 Jun 2021 12:57 AM PDT

    Hey everyone, does any of ya'll know Google's title font-weight? I can't seem to find it.

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

    Help me to understand Problem

    Posted: 27 Jun 2021 12:51 AM PDT

    You are analyzing sales data from a ticket office. The ticket for an adult is $20, while the ticket for a child under 18 is $5. The data you are given is in a dictionary format, where the keys are the sold ticket numbers, and the values are the customer ages. For example, "123-08": 24 means that the ticket was bought a 24 year old. Your goal is to calculate how much more money the office would make if it would change the ticket discount age to the given input. So, your program needs to take an integer as input and output the percentage of revenue growth, if the discount was given to people under that age.

    For example, if the office made $15000 with the original discount age, and would make $18000 with 14 as the discount age, then the growth would be ((18000-15000)/15000)*100 = 20%

    So, for the input 14, your program should output 20. The output should be an integer (use int() to convert the result).

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

    I am not sure what I am trying to make. Is it just a database, or is it an API? Help, please.

    Posted: 26 Jun 2021 08:57 PM PDT

    So I know what I want to do, but I'm a little confused on how I am supposed to do it, and I might have my definitions mixed up.

    I DO know I want to create a database that can be accessed by an application to retrieve information and that application can also add new information to the database. I want it to be able to be shared online, and the information submitted by users is stored (I know I need a server, but the idea of the program is more important for me to get right, even if it isn't fully functioning in the final stage).

    Can I create a program that JUST uses a database, and that database can be added to by users, and the information can be retrieved for viewing? Do I need to create an API to do so, or is that just a bonus feature?

    Because up until a few minutes ago I was thinking APIs are online databases... which they kind of are? But now I'm thinking it describes more the ability to access the data within? It's more how the data is stored and redistributed? I'm probably wrong.

    I know an MVC is necessary to implement an API. Is it necessary for a database? Or can I just build a dao for the database and access the database through a front end application (when I learn how to build that later)?

    Sorry, I've only been learning this stuff for 7 weeks, and outside of my class, I get a little overwhelmed looking up information because it sometimes gives me more info I don't understand, so I figure it's better to ask others.

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

    Music Notation

    Posted: 27 Jun 2021 12:42 AM PDT

    Hey all, I'm really interested in making a music notation program. I've done a lot of python for school so I know my way around that stuff. If anyone could give some advice or leave some breadcrumbs that would be sick. Thanks!

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

    Need help in Starting with DS and Algo

    Posted: 27 Jun 2021 12:35 AM PDT

    Hey Guys......have newly started learning DS and Algo. Currently the resources that I am using are interview bit for having a structure and Gfg to understand any topics that i want more information on. As I am just beginning can someone suggest if this is a good approach or are there any better recommendations? :)

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

    Is this a good study plan?

    Posted: 27 Jun 2021 12:28 AM PDT

    I have wasted about 3 years doing nothing but now I have woken up to the reality. So I made a plan to learn and I wanted to share it with you guys to know if it's fine or not.

    So first of all I plan to learn html,css,javascript and then js frameworks like node.js.

    I have been doing the course on freecodecamp and reading the book by Jon Duckket about html and css. I plan to complete the book and the course at fcc to cover the basics and then start making some projects to use what I have learned.

    After that I plan to do the same thing with js as well. Doing the fcc course and reading through a few books and doing projects along the way as I get better.

    Once I get enough of a grasp on js I will try out node.js and how to use it along with databases. I also want to study data structures and algorithms along with js as well.

    FCC courses seem really good and I would like to do all of the ones related with full-stack developement. Is it a good idea?

    So that's about it. Can you guys give me any guidance in this matter or is my plan allright? I would really appreciate your insights.

    submitted by /u/Sea-Childhood8396
    [link] [comments]

    Is a data table an entity or a representation of an entity in database systems?

    Posted: 27 Jun 2021 12:17 AM PDT

    I know an entity is its own existing concept. Now we use data tables for entities. Does this mean data tables are a representation strictly speaking for entities or are the data tables entities themselves? I see both types of answers, and I wonder if people are carelessly saying data tables and entities are the same things. Another question, can entities be represented in other ways if the data tables are not an entity but just a representation of it or is the data table only representation in database systems.

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

    My shopping cart program has problems..Help me Plz

    Posted: 26 Jun 2021 11:51 PM PDT

    My shopping cart program has problems..Help me Plz

    1. When I try to set up def show_cart(): it's not reading my_cart = [] variable
    2. I can't get bye() to work. It's suppose to quit the program
    3. How do I get my cart total? I've tried so many different ways
    4. Is there a way to simplify my function that removes items from the cart?

    thank you for the help!

    def program_start(): print("Welcome to shop carts, we hope you enjoy your shoping experience!") main_menu() def main_menu(): end = False while not end: print("Main menu\n To continue please select the number that corresponds to the desired choice") menu_select = input("""1. Add an item to my cart\n2. View contants of my cart\n3. Remove item from my cart\n4. See the cart total\n5. Empty my cart\n6. Quit program\n\nI'd like to: """) if menu_select == '1': item_add() elif menu_select == '2': show_cart() elif menu_select == '3': throw_item_to_cactus()#Minecraft refrence elif menu_select == '4': cart_total() elif menu_select == '5': empty() elif menu_select == '6': bye() else: print("Oops! That's not quite right, please input a valid option") def item_add(): cart_item = {} my_cart = [] my_item = (input("Name of item:\n")) item_quant = (input("amount purchesed:\n")) item_cost = (input("price per item: \n")) cart_item = {'item':my_item, 'amount':int(item_quant), 'cost':float(item_cost)} my_cart.append(cart_item) def show_cart(): for i in my_cart: print(i) print(my_item + "vsuccessfuly added to cart!") def throw_item_to_cactus(): for i in my_cart: print(i) my_item = (input("Name of item:\n")) item_quant = (input("amount purchesed:\n")) item_cost = (input("price per item: \n")) cart_item = {'item':my_item, 'amount':int(item_quant), 'cost':float('$' + item_cost)} my_cart.remove(cart_item) if my_cart == True: print(my_item + "successfuly removed from cart!") else: print("that item isn't here please type information exact!") def empty(): my_cart.clear print("cart has been cleared!") def bye(): #quit wasn't working here. print("Thanks for shoping, goodbye!") program_start() 
    submitted by /u/Advanced_Ground_6343
    [link] [comments]

    If I want to learn the technical side of certain things like how information is stored on a mp3 or mp4, what exactly do I need to study?

    Posted: 26 Jun 2021 11:44 PM PDT

    Please ELI5

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

    What is something that is overhyped for a entry level dev/ programmer job?

    Posted: 26 Jun 2021 11:35 PM PDT

    I'm learning python and don't want to become fixated on something that I can learn overtime. Is there any common things beginner level programmers get caught on?

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

    What are some must read books for people who don't have CS degrees or are self taught?

    Posted: 26 Jun 2021 07:30 PM PDT

    Reposting again as I mistakenly included a URL shortener link.

    As someone who has been programming professionally for a few years now & doesn't have a CS degree (or any degree for that matter, just have a college diploma), I sometimes feel like an imposter around people who have actual CS degrees.

    What are some must read books I can read to fill the void of not having a CS degree? I think I would like to read some around design patterns, architecting applications as I am aiming to get to Senior level in next couple of years.

    Suggestions so far:

    • Clean Code
    • Introduction to Algorithms
    • Introduction to the Theory of Computing
    submitted by /u/latestbot
    [link] [comments]

    Getting into Js gamedev I need help people.

    Posted: 26 Jun 2021 11:00 PM PDT

    I want to Learn how to make games using JavaScript. I'm completely new to Js I need help learning, asking for recommendations besides freecodecamp and codeacademy .

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

    Is there any way to store the C flag in a register in the ARM7 assembly?

    Posted: 26 Jun 2021 04:39 PM PDT

    Is there any way to store the C flag in a register in the ARM7 assembly? I basically wanna convert the following C-lang code: "return carry" to assembly.

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

    No comments:

    Post a Comment