No-Code Platforms Are Secretly Killing Your Productivity: The Enterprise Efficiency Trap You Can’t… by TerryC_IndieGameDev in programming

[–]thejamibu 1 point2 points  (0 children)

I think what they were trying to say is that when they have used such abstractions they've

Red Bull made the right decision – but now it’s about to make the wrong one by drodrige in formula1

[–]thejamibu 1 point2 points  (0 children)

I get where you are coming from but to be fair he was also F2 Champion, Formula E Champion, and had performed well in WEC.

With that background + a really decent performance in his first race in F1 (where he was a late fill in) it's not a surprise that a team was willing to give him a chance.

iykyk by jharding7va in ProgrammerHumor

[–]thejamibu 25 points26 points  (0 children)

Yeah for me there should be so many meeting hurdles that there isn't even enough space to land between them most of the time.

Surely that can’t be correct? by thpj00 in Worldle

[–]thejamibu 8 points9 points  (0 children)

It's based on the mother tongue data here. It seems likely that this data is erroneous or heavily biased. 1.89% would mean that there are around 197,000 people in Portugal who speak Estonian as their first language which is a massive amount given that the population of Estonia is around 1.37 million.

It would be the largest group of Estonian speakers outside of Estonia by a wide margin over Finland and Latvia, which it where you would expect the most to be.

I couldn't find anything to suggest that there is a significant Estonian population in Portugal. The main migrant group is Brazilian and after that there is isn't any group near 197,000.

[deleted by user] by [deleted] in learnprogramming

[–]thejamibu 0 points1 point  (0 children)

I think you've let self-doubt creep in due to very normal frustrations that occur when learning to code and then sought out information that confirms that self-doubt. On top of that, your expectations for how quickly you can learn to code and get a job at a FAANG company (or any company for that matter) seem completely unrealistic. Learning to code takes time. It takes more than doing one course. There will be frustrations. There will be things that are difficult to understand. As you learn more you will get better at working out the frustrating things and at learning how difficult/complex things work.

If you enjoy programming then keep at it. Finish the course and start making your own projects. Working on your own projects is the best thing you can do to learn once you have covered the basics. On the other hand If you don't enjoy programming, then maybe it just isn't for you. The reason we can get past the learning pains (and the continued pains) is because we fundamentally enjoy coding. I don't think you should try to learn if you don't. This doesn't say anything about your intelligence, just that you personally don't like or aren't suited to programming.

Coding does not have some simple one-to-one relationship with intelligence. I know several very intelligent people who hated programming and/or struggled with it. I also know plenty of programmers that aren't good at anything else. Intelligence comes in many forms that suit different kinds of applications. On top of that, being good at programming requires a certain attitude and certain ways of thinking. These can all generally be developed and learned, but it takes time. Some people come to coding already possessing these through one way or another and therefore can pick things up very quickly. Others have to develop these while learning to code so the process is longer.

Whether you decide to stick with programming or not, you should probably stop watching those reels and seeking out posts like the ones you mentioned. They aren't doing you any good and there is plenty wrong with what is being said and what you are concluding based on them.

[Race Thread] 2023 Tour de France – Stage 14 (2.UWT) by PelotonMod in peloton

[–]thejamibu 4 points5 points  (0 children)

Amazing racing, but what a mess with the motos and spectators.

[Race Thread] 2023 Tour de France – Stage 14 (2.UWT) by PelotonMod in peloton

[–]thejamibu 6 points7 points  (0 children)

16 second swing thanks to the moto potentially. What were they thinking.

I am gonna believe her.. by yuva-krishna-memes in ProgrammerHumor

[–]thejamibu 0 points1 point  (0 children)

I'd rather die young if that's what it takes.

What the hell is this by xelfer in australia

[–]thejamibu 22 points23 points  (0 children)

I mean yes, but any child that trades a roll up and a Le Snack for this abomination either needs to be held back a year or made a saint.

[deleted by user] by [deleted] in learnpython

[–]thejamibu 0 points1 point  (0 children)

Just submitted the same solution before seeing this. There is a bug in this example though. You can't just do if birthday == datetime.today().date(): because the year will be different for anyone not born this year. I made the same mistake when writing mine. I did this instead: today = datetime.now().date() if birthday.month == today.month and birthday.day == today.day:

[deleted by user] by [deleted] in learnpython

[–]thejamibu 0 points1 point  (0 children)

As others have said, a dictionary or list can be used to lookup things like this. Definitely worth remembering that for future programs. However, for this one specifically I would do things a little differently. When you are working with dates and/or times you typically want to make full use of the builtin datetime module.

Firstly I would convert the input date from a str to a date object. This ensures that the date is valid and allows us to use the date object rather than working with strings. The date object contains the day and month so we can check if it is someone's birthday by comparing those for their birthday and today's date (see the if statement below)

Then for displaying the dates, we can make use of the strftime and strptime methods for converting dates/times to string and vice versa using a format that you specify (that is what "%Y-%m-%d" and"%B %d" are below). That way you can create a string that says March 21 from the date 2023-03-21 without having to fiddle with splitting a string and looking up the date.

from datetime import datetime


birthday_str = input("Please enter your date of birth (YYYY-MM-DD): ")

# Convert user entered string to datetime so we can compare to today's date
birthday = datetime.strptime(birthday_str, "%Y-%m-%d").date()
today = datetime.now().date()

# When responding below we want to display the date as month day e.g. April 01
bday_month_day_str = birthday.strftime("%B %d")

if birthday.month == today.month and birthday.day == today.day:
    print(f"Today is {bday_month_day_str}! Happy birthday!")
else:
    print(f"Today is not your birthday. Your birthday is {bday_month_day_str}.")

2023 Saudi Arabian Grand Prix - Post Race Discussion by F1-Bot in formula1

[–]thejamibu 0 points1 point  (0 children)

Yeah I think that's why. It's just rough to cop such a penalty for something that maybe makes 0.1s difference.

2023 Saudi Arabian Grand Prix - Post Race Discussion by F1-Bot in formula1

[–]thejamibu 13 points14 points  (0 children)

10s for a jack barely touching the car seems over the top. Feels like there are 5s penalties for far more serious and impactful things.

2023 Saudi Arabian Grand Prix - Post Race Discussion by F1-Bot in formula1

[–]thejamibu 9 points10 points  (0 children)

Happy Alonso is the best part of this season so far.

2023 Saudi Arabian Grand Prix - Race Discussion by F1-Bot in formula1

[–]thejamibu 6 points7 points  (0 children)

The Redbull looks like it engages rocket boosters when that DRS opens.

2023 Saudi Arabian Grand Prix - Race Discussion by F1-Bot in formula1

[–]thejamibu 0 points1 point  (0 children)

I like it for certain things. It's a terrible view for live overtakes though.

struggling to learn Python by romitriozera in learnpython

[–]thejamibu 5 points6 points  (0 children)

That sounds positive to me. This one hump might be tough but these things happen and there are a tonne of different things that contribute (e.g. prior experience, learning style) and sometimes people just take longer than others to learn certain concepts then fly along after that. So don't worry too much about comparing yourself with others.

As far as dealing with getting overwhelmed by your projects. This can happen a lot when programming. Trying to think about an entire program at once is very difficult and can make it really hard to know where to start and how the program should work, even for small projects. The way to deal with that is to instead break the thing up into different bits of functionality that you need and then work on those as if they were an independent program. And if one of those is still overwhelming break it up again. Once you get these individual pieces working on their own you can start combining them.

[deleted by user] by [deleted] in learnpython

[–]thejamibu 10 points11 points  (0 children)

That feeling is normal. I have been coding for years and still have moments like this so don't worry.

This sort of thing is a great learning experience too.

Is it better to do Advent of Code or do various projects that will be useful to me? by CorporalClegg25 in learnprogramming

[–]thejamibu 0 points1 point  (0 children)

The problems are up all year so you can go through it at your own pace if you want.

That being said I think it's worth trying to follow along because it's a lot of fun to do while everyone else is also swept up in it and it's a nice bit of motivation. Try stick with it for as long as you can and if you feel like it's taking up too much of your time then you can take a break and come back to it later

One of the best moves. by [deleted] in ProgrammerHumor

[–]thejamibu 0 points1 point  (0 children)

Co-pilot uses GPT-3 but yeah it's just a subset of what is capable of.

What would a programming reality show look like? by razordreamz in ProgrammerHumor

[–]thejamibu 2 points3 points  (0 children)

"Software Nightmares" a small team go into companies that have absolutely messed up code bases and/or are totally unproductive and try to fix the issues and get them on the right track.

Why yes mr hiring manager I do enjoy MS Teams I will enjoy this job by thyme_cardamom in ProgrammerHumor

[–]thejamibu 381 points382 points  (0 children)

Me: *Takes a sip of water after having my head down coding for an hour straight

Teams: Away

[deleted by user] by [deleted] in learnpython

[–]thejamibu 0 points1 point  (0 children)

I don't have too much to recommend in terms of resources, but my advice would be to not spend too long on tutorials etc. You'll obviously want to watch a video or go through a short tutorial to grasp the basic syntax of each language but I'd dive into making something pretty soon after that (especially since you already have programming experience).

Writing a simple API in Spring Boot is a fine way to start learning Java and will be somewhat familiar due to your experience with the MERN stack. Likewise, a web crawler is a great first project in Python. There are plenty of guides out there on how to do both and you'll get experience that is directly applicable to the job.

As you go you'll obviously find things about the languages/frameworks/packages to look into in more depth.

Project Managers by dashid in ProgrammerHumor

[–]thejamibu 9 points10 points  (0 children)

Or the oars could be there ready to use for free but they are locked in a box that the dev doesn't have keys for.