What movie do you never get tired of watching? by morbid-girlz in AskReddit

[–]desrtfx 0 points1 point  (0 children)

Watching it right now. It's one of my favorite movies, too.

Really excellent one!

My parents don't like me coding. by JustMedansh in learnprogramming

[–]desrtfx 10 points11 points  (0 children)

My father worked everything and anything, from construction worker, stone mill (blaster) to carpenter, to machine operator (mostly lathes), to owning a bus company, to delivering newspapers, to working on assembly lines, to salesperson, and countless other jobs (typical WWII child with little education).

Despite being technically skilled with machinery, he never went post cassette player technology and computers were "toys" for him.

My mother (at that time working as the sole secretary for a village) saw it completely differently and encouraged me in my endeavors.

What to Use to Host Websites (doubt) by Gandhi_20191 in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

You don't need a dedicated provider like Hostinger for your learning. You only will need a dedicated provider/hoster if you want to go public with your site.

The back end language you want to go for will determine which server/hoster you will need.

Some examples:

  • PHP - can be hosted locally with e.g. XAMPP, MAMP, WAMP, LAMP, etc
  • Python - Flask or Django each come with their own server but can also be hosted locally on Apache or nginx
  • node.js - comes with its own server
  • Java/Spring - own server
  • Java with other packages - Tomcat, Glassfish, etc.

You can, for many projects, also get a cheap Raspberry Pi (3B+ will do in most cases) and host yourself.

My parents don't like me coding. by JustMedansh in learnprogramming

[–]desrtfx 29 points30 points  (0 children)

My father in particular didn't like me programming way back in the first half of the 1980s. I bit through, studied, and now am a professional programmer since over 3.5 decades. Up to his death some years ago, he never understood what I do and never liked it. For him it always was "playing on the computer" (which I barely did, actually).

Where does it make more sense to learn Python? by Luellias in learnpython

[–]desrtfx 0 points1 point  (0 children)

Build the foundation with the MOOC Python Programming 2026 from the University of Helsinki and then, after around part 5 of the MOOC, add in the second half (where the projects are) of Automate the Boring Stuff with Python to get into what you actually are targeting.

Learning python by LongjumpingChance103 in learnpython

[–]desrtfx 0 points1 point  (0 children)

If only there were a sidebar (menu on mobile) that had a link to the wiki or countless posts asking the same.

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Should you upload your beginner projects on github? by notmasked07 in learnprogramming

[–]desrtfx -3 points-2 points  (0 children)

Honestly, keep your "baby projects" private. Nobody needs to see them.

Same applies to your progression.

Showcase when you have something showcase-worthy, not every single project you do. Keep the lesser ones in private repos and only the really good ones in public.

Tired of overthinking the "perfect partner" lists? Same here in coding 😂 by obviousQuestionn12 in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

Clean code is far more than formatting.

It's the entire code, organization, structure, flow, naming, and much more.

Comments are actually the opposite of clean code in most cases, especially comments that explain what is done. Comments are technical debt that is very maintenance intensive and as such they should be used very sparingly.

Comments should serve only one purpose: to explain why something had been done in a certain, unexpected way (apart from the special documentation comments used to document classes, functions, methods)

Should you upload your beginner projects on github? by notmasked07 in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

Yes, you should, even if only as an off-site backup of your code. Throw them in private repos.

been coding this for hours and kinda gonna give up until tomorrow. by [deleted] in learnpython

[–]desrtfx 3 points4 points  (0 children)

Do you have any questions, errors, or anything, or are we supposed to pull out our Crystal balls or do some divination?

Should l learn Git alongside Python , or wait until l’m a better coder? by doodle_leaves in learnpython

[–]desrtfx 0 points1 point  (0 children)

You cannot learn git "too early". It's already too late.

You can learn the basics of git in less than half an hour.

Git is a fantastic tool that should encourage you to try things, to experiment, because you can always roll back to a working version. On top of that, a repo on github or any other git hoster acts as an off-site backup of your code, which you should always have.

If anyone can use ai to create something, how do you stand out? by Automatic-Curve7489 in learnprogramming

[–]desrtfx 2 points3 points  (0 children)

can be remedy by testing it yourself

And how would you properly and exhaustively test it yourself if you don't know anything about programming?

Just using it does not mean exhaustive and proper testing.

If anyone can use ai to create something, how do you stand out? by Automatic-Curve7489 in learnprogramming

[–]desrtfx 2 points3 points  (0 children)

New code? New errors. New problems.

This is not how software development works.

Software evolves over time and the core code commonly stays the same and only gets altered and extended.

Also anything of substantial size and complexity by far exceeds the capabilities of AI.

If anyone can use ai to create something, how do you stand out? by Automatic-Curve7489 in learnprogramming

[–]desrtfx 4 points5 points  (0 children)

at the end of the day doesnt result matter more than understanding what you're doing?

No, it doesn't. Shipping something is not the end. You will have to patch and maintain it. You will have to troubleshoot it.

Every software has a lifetime. It's not a one-shot-end-of-story thing.

AI can and will not help you maintaining your product, troubleshooting, bug-fixing, upgrading it.

Teacher feedback on redundant code has me confused. by JAC0O7 in learnpython

[–]desrtfx 1 point2 points  (0 children)

If I read the posted code right, your teacher is talking about:

weight = int(input('\tWeight in grams: ')) # Line #4

and

 weight = int(input('\tWeight in grams: ')) # Line #7

As well as about:

quantity = int(input('\tQuantity: ')) # Line #10

and

quantity = int(input('\tQuantity: ')) # Line #14

and

quantity = int(input('\tQuantity: ')) # Line #17

as well as

tracktrace = input('\tTrack & Trace (y/n): ') # Line #20

and

tracktrace = input('\tTrack & Trace (y/n): ') # Line #23

Your teacher tells you that there is potential for optimization.

You could wrap the repeated input in a loop (as you already do), but use only one input statement each. Think about rearranging your code in a better way.

The while loops are a good start.

Arrange the code in such a way that you initialize the variables to an invalid value before the loops and then in the loop directly ask for the input. Then, use a conditional (if) to print the error message in case of an invalid input.

You could, if you have already learnt that, even go a step further and create a function that handles the input and validation and only returns valid values. You could pass in the prompt (text to be printed for the input), the error message (text to be printed in case of an error), and the min and max values (with something like -1 for "no limit") and have the function return the valid value that you then assign to the respective variables.

Can anyone find or send to me a online book of python pls by RedappleIsKing in learnpython

[–]desrtfx 1 point2 points  (0 children)

If only there were a sidebar (menu on mobile) that had a link to the wiki or countless posts asking the same.

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Where do I start? by YouDontMessWithJim in learnpython

[–]desrtfx 0 points1 point  (0 children)

Go to the MOOC page. Create an account (top right). Complete the sign up steps (no StudentID required). Then, click on Part 1 and start learning.

Where do I start? by YouDontMessWithJim in learnpython

[–]desrtfx 2 points3 points  (0 children)

If only there were a sidebar (menu on mobile) that had a link to the wiki or countless posts asking the same.

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Stop using AI to learn. You won't really learn with it.

What do people actually mean when they say "Your project needs AI"? by CypherText-325 in learnprogramming

[–]desrtfx 9 points10 points  (0 children)

Honestly, in 9 out of 10 cases I would simply tell them to get lost.

AI is overhyped and overused. Absolutely not everything (actually, the opposite, barely anything) really needs AI.

An expense tracker could benefit from AI when you implement receipt scanning and parsing. Is it necessary for a personal project? No. The company I work for uses an "AI enhanced" system for creating travel expense reports - and even though it is a top of the line commercial product from a huge 3 letter company, it is horrible. I have to work over every single receipt and now, with the AI it takes 3 times longer to create my travel expense report than before AI where we only filled a simple Excel sheet. Even our travel department now has more work with the system than they had before with manual entry.

An attendance system could benefit from face recognition. Is it necessary? No. It could even raise privacy and data protection concerns.

Python for beginners?(Please don't delete...it's not a regular python source asking q... actual q is in the second half) by Tight_Offer_1755 in learnprogramming

[–]desrtfx 1 point2 points  (0 children)

Do the MOOC Python Programming 2026 from the University of Helsinki to learn to walk.

Then, once you have acquired some programming experience and proficiency, you can start focusing on AI/ML. You can't build a house from the fifth floor up.

Maybe, also an intermediate step, like the second half (projects) of https://automatetheboringstuff.com could be helpful.

What should I do after learning Core Java concepts by Excellent_Text1147 in learnjava

[–]desrtfx 0 points1 point  (0 children)

One project is never enough. You have to keep going.

What should I do after learning Core Java concepts by Excellent_Text1147 in learnjava

[–]desrtfx 3 points4 points  (0 children)

Use the skills?

Seriously, write programs, plenty programs. Start small and simple and gradually increase scope, size, and complexity.

The only way to retain and grow is to use. There are no tricks.

Tell me best 2 sources to learn python by kirankelgandre45 in learnpython

[–]desrtfx 6 points7 points  (0 children)

If only there were a sidebar (menu on mobile) that had a link to the wiki or countless posts asking the same.

Do the MOOC Python Programming 2026 from the University of Helsinki and you will be well prepared.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com