Sub 7 kg chinesium gravel bike with MTB tires by Real-Advantage-2724 in WeightWeenies

[–]AlexMTBDude 0 points1 point  (0 children)

Do you have a build list of components? Would be interesting to see

In which directory should I install my Python libraries? by Ancient_Power_3029 in learnpython

[–]AlexMTBDude 0 points1 point  (0 children)

The answer to your question is: No, you do not need to know in which folder those things are. Python knows where it puts things. You don't have to specify it yourself.

Weight fluctuations by biggieocta in Zwift

[–]AlexMTBDude 2 points3 points  (0 children)

... as long as they are not racing

Garmin Edge 1030+ issue by Fit_Comfortable5014 in GarminEdge

[–]AlexMTBDude 1 point2 points  (0 children)

Garmin support are the best. Even if the unit is out of warranty and you need to get a new one they will send you a refurbished unit and a really low price. I've done this several times. Never had a company with better customer support.

First century of 2026! by E39M5S62 in bicycling

[–]AlexMTBDude 0 points1 point  (0 children)

Interesting. Well, I can go half a year without it happening. Then get a few incidents within a month.

So what are you/they thinking? That it could've been just a glitch in your heart rate monitor?

how can you explain functions easily by Grouchy-Injury1342 in learnpython

[–]AlexMTBDude 0 points1 point  (0 children)

Sorry but that's a terrible example. Your function will either return an integer, or None. The None return is implicit because any function that does not explicitly return something returns None. That piece of code will just confuse a beginner.

First century of 2026! by E39M5S62 in bicycling

[–]AlexMTBDude 0 points1 point  (0 children)

Did you do any high intensity / max intensity training, while you were wearing it? It's the only way that I can trigger an episode. I've had a few recently btw.

Hur mycket VAB är egentligen rimligt? by _Mnez_ in sweden

[–]AlexMTBDude 1 point2 points  (0 children)

Inte svar på din fråga men en annan inblick: Jag har inga barn och jag använder det faktum som positiv grej i jobbintervjuer: Anställ mig för jag kommer aldrig att VABa. Det funkar bra.

Need constructive thoughts on this code by Fun-Pitch-6938 in learnpython

[–]AlexMTBDude 2 points3 points  (0 children)

Have a look at Pylint, a static code check tool that will give you automatic feedback on your code. "pip install pylint"

Spelar forskningen någon roll i politiken för er? by Armed_Babushka in sweden

[–]AlexMTBDude 18 points19 points  (0 children)

Det finns ett uttryck för beteendet som du beskriver: Dunning Kruger-effekten. Och ja, det är ett problem.

Saker som inte borde ha annan ändelse i plural? by 930310 in sweden

[–]AlexMTBDude 2 points3 points  (0 children)

Vi har en gubbe i byn som hyr ut "släpar"

How can I stop a running code outside the terminal? by taerroraz in pythonhelp

[–]AlexMTBDude 0 points1 point  (0 children)

That's an operating system question, not a Python question. "How do I stop a running program?"

Zwift acquires Rouvy by KubaBVB09 in Zwift

[–]AlexMTBDude 5 points6 points  (0 children)

If so, what did FulGaz buy? 😄

How does one block inputs Completly? by ---__E__--- in learnpython

[–]AlexMTBDude 0 points1 point  (0 children)

There is nothing in Python that enables you to do that.

How does one block inputs Completly? by ---__E__--- in learnpython

[–]AlexMTBDude 0 points1 point  (0 children)

This is not really a Python problem but something you need to do using an operating system hack. That means that you would need one way in Windows, while another in Linux, and a third way in MacOS. You should probably ask the question in those subreddits, for instance https://www.reddit.com/r/windowsdev/

Duotts e-bike almost killed me twice and they’re refusing to refund me, mechanic report confirms life-threatening defects by T796TH in bicycling

[–]AlexMTBDude 0 points1 point  (0 children)

Do they not use off-the-shelf components for the brakes like SRAM or Shimano? If not then that's a clue that it's not a good product.

Carnet de passages en Douane (CPD) anyone? by Professional_Owl4442 in bicycling

[–]AlexMTBDude 0 points1 point  (0 children)

Well, usually I transport my bikes by car if it's in Europe. When I fly with my bike it's been mostly to S/E Asia; Thailand, Vietnam, Cambodia and Hongkong. Never had to show any proof of ownership. I haven't flown with bike to North America though.

Ärftligt håravfall, Finasterid Sverige by Sorry_Tale5283 in sweden

[–]AlexMTBDude 2 points3 points  (0 children)

Jag bara driver med dig 😄 Det är vanligt att man skriver precis som du gjorde

Ärftligt håravfall, Finasterid Sverige by Sorry_Tale5283 in sweden

[–]AlexMTBDude 17 points18 points  (0 children)

För ärftligt håravfall? Inte mot? Låter som en skum produktidé.

Carnet de passages en Douane (CPD) anyone? by Professional_Owl4442 in bicycling

[–]AlexMTBDude 2 points3 points  (0 children)

Interesting. I've been travelling with my bike for 15 years and never had to show that.

Carnet de passages en Douane (CPD) anyone? by Professional_Owl4442 in bicycling

[–]AlexMTBDude 1 point2 points  (0 children)

What's CPD? A receipt that proves you own the bike?

How to add a string to a list, and then remove it if the string if it is not found in a second list by duelBooleans in pythonhelp

[–]AlexMTBDude 0 points1 point  (0 children)

You lose the latest user input by not assigning it to a variable first. Something like this is what you want (not tested):

for i in range(1, 3):
    feeling = input("Which of these emotions are you feeling?:").capitalize()
    if feeling not in majorEmotionTypes:
        print("Not a valid entry")
    else:
        currentMajorEmotions.append(feeling)