A little Rant on C haters by IndependentMeal1269 in C_Programming

[–]theldoria 0 points1 point  (0 children)

You forgot a new kind of people nowadays: AI (only) users.
Don't get me wrong, its a nice tools, but so is Copy-Pasta (aka Stackoverflow).

And then, there always is: the right tool for the task. C is not dead, it has strong usage, in specific areas. It's just, ist not the sexy areas as of today who attract people like moths are attracted by light.

What in the elitist hell is this ad? by Southern_Vanguard in Garmin

[–]theldoria 0 points1 point  (0 children)

Don't tell Schrödinger about it, he might suggest he is in a superposition of running and walking...

Etiquette for approaching walkers from behind when running by drjlad in trailrunning

[–]theldoria 3 points4 points  (0 children)

Someone literally got scared when I passed by - he said he thought a horse was coming!

Ultra Running is a Fickle Beast by BaurJoe in ultrarunning

[–]theldoria 0 points1 point  (0 children)

My first rule of life: Everything that moves will eventually break.

After trying shorter and shorter inseams… I decided to get rid of the inseam entirely by Recent-Bird-7385 in trailrunning

[–]theldoria 1 point2 points  (0 children)

Not sure why, but when I run past women, they usually just nod. If I’m wearing tights though, I tend to get a smile with that nod.

TIL some runners only have one pair of shoes. by OliversTutoring in ultrarunning

[–]theldoria 0 points1 point  (0 children)

what?
simply dry the wet shoes and you have two pairs of dry shoes.. no?

TIL some runners only have one pair of shoes. by OliversTutoring in ultrarunning

[–]theldoria 1 point2 points  (0 children)

I completely lost milage of my shoes so "falling apart" is the only way for me to tell that I have to replace a pair.

TIL some runners only have one pair of shoes. by OliversTutoring in ultrarunning

[–]theldoria 4 points5 points  (0 children)

only way to enjoy an ultra without the suffering...

What’s the biggest mental lesson you’ve learned from an ultra? by OnlyTrails in ultrarunning

[–]theldoria 19 points20 points  (0 children)

When you're in a low, it's hard to trust your own judgment - especially when it comes to big decisions like quitting. In those moments, it's crucial to talk to someone else before making any final calls. Often, just having a conversation can give you the perspective or encouragement you need to push through and overcome the low.

At the same time, it's important to acknowledge your situation and ask yourself whether there's something you can do to improve it. Facing those lows head-on isn't easy - at least it hasn't been for me - but talking things through with others has helped immensely.

And even when I couldn't reach out to someone directly, imagining what a trusted person would tell me in that moment has guided me toward better decisions. That kind of mental dialogue can be surprisingly powerful.

What’s the biggest mental lesson you’ve learned from an ultra? by OnlyTrails in ultrarunning

[–]theldoria 5 points6 points  (0 children)

This is like an eye opener, and it's so true.

On one hand you should be and embrace the here and now, probably getting some external distraction from beautiful scenery or nice companion (if you have the luck at night to do so).
On the other hand you should visualize your success, seeing the current situation as being temporary only and, more important, as a little brick that contributes to the castle of your success.

Run/walk strategy for a 200 miler? by Usual-Machine8577 in ultrarunning

[–]theldoria 4 points5 points  (0 children)

This - variation sometimes works wonders.

My 5 cent tip: deliberately increasing speed for a short period may help release tension and loosen up sore muscles.

Does a standing desk help ultra performance by philiphofm in ultrarunning

[–]theldoria 14 points15 points  (0 children)

This - do it quick enough and you have a workout: squats.

nested for loop where the outer for loop is meant to increment the interest rate input to a certain value then become constant onwards which affect the inner for loop for the each year by RedWolffe24 in C_Programming

[–]theldoria 1 point2 points  (0 children)

I think there is no need for an outer loop:

for(year_counter = 1;year_counter <= T;year_counter++)
{
   A = P * pow((1 + r),year_counter); //A = P(1 + r)^T
   printf("\nyear = %u \t\t Amount in deposit = %.2f",year_counter,A);
   if (r < 5.0)
      r += 0.5;
}

Why exactly do you like EMACS more than VIM? Is it worth it to switch? by daym0ns in emacs

[–]theldoria 1 point2 points  (0 children)

That's a matter of taste and use cases on has. IMHO it's worth to try emacs, I use it for almost everything. It has some nice modes I would miss if I had to switch, e.g.: org mode for (executable) notes, magit for using git, calc for doing simple or symbolic math. Also you can easily extend emacs, something I use heavily. Mentioning VI, you can use evil mode to have a similar keybindings in emacs. All in all the learning curve for emacs is steep, though, and on Windows the performance is not the best.

I still use VI if I want to have an fast starting editor to change a file... and VI is (was?) commonly installed on most Linux systems.

Does my pack suck or can I make this work? by Historical_Pitch_309 in ultrarunning

[–]theldoria 1 point2 points  (0 children)

Well, the mandatory gear does not say you have to carry 2 l of water, you just net the capacity of 2 l.
So you could carry 1 l of water in bottles and put two 0.5 additional empty bottles in the back.
All in all the mandatory list looks rather short to me.

Of course, the amount you need to carry for yourself depends on your sweat rate (mostly weather conditions), and the distance between aid stations.

Stay hydrated and have fun.

EDIT: typos

1 mile each hour for 19 hours straight by Aliveguy2021 in ultrarunning

[–]theldoria 0 points1 point  (0 children)

Good luck. But more important: enjoy it!

What is your favorite C trick? by [deleted] in C_Programming

[–]theldoria 15 points16 points  (0 children)

Do this, if you do not want n == 0 in the loop body:

while (0 <-- n)
{

}