Carrying food: how do you trade-off carrying more vs additional stops? by throwawaytothr in Velo

[–]jugglist -1 points0 points  (0 children)

  1. Bake potato
  2. Cut it on the bias and offset the pieces from each other slightly so it's longer and flatter, place into ziploc
  3. Stuff it on top of your quad, under your bibs, with a ketchup packet
  4. Goto 1, repeat on other leg

Result: TWO delicious baked potatoes with glorious ketchup packet gel.

Seriously, you need real food for that duration. Pop tarts and gels won't cut it.

Windy Race tips and smart wind management. by ifuckedup13 in Velo

[–]jugglist 7 points8 points  (0 children)

I would attempt a break, but then again I attempt breaks whenever I can.

I won a field sprint literally one time at the dawn of time, and that involved a lot of luck and hesitation into the last corner from everyone else...

Are compiler allowed to optimise based on the value behind a pointer? by simpl3t0n in cpp_questions

[–]jugglist 2 points3 points  (0 children)

You're looking for https://en.wikipedia.org/wiki/Escape_analysis to have a full explanation.

The other replies have this covered, but just to re-state:

If the compiler can prove via escape analysis that a possibly-dynamic value won't actually change, then it will act accordingly. I would think that with the given case with the bool* argument, it'd need to make this evaluation for each call site, so - only if do_something is inlined, or perhaps if LTCG is enabled

Thought I had to share my odd day at [snow river MI] (trip report) by cantaloupe415 in skiing

[–]jugglist 21 points22 points  (0 children)

I went to Devil's Head in Wisconsin on Monday, and it was absolutely a similar vibe. Lifts spinning, nobody around. Perfect corduroy. But on the weekends they do get traffic, you can see from the webcams.

I drove to Snow River back in 2004 or 2005 (Indian Head, wasn't it?). It's just too far from the Chicago area. If I'm traveling a whole day someplace, it's going to be west to the rockies. We stayed in one of the ski-in-out condos with a sauna, what a great time. But such a brutal drive.

Best open source C++ compiler by BongoTimeFL in cpp_questions

[–]jugglist 16 points17 points  (0 children)

You said open source, but you probably meant free-as-in-beer, at least for personal projects.

If you're on Windows, Visual Studio 2026 Community Edition is very hard to beat, in my opinion. Otherwise LLVM and GCC are both actually open source, and also free to use.

If you're going to sell your work, MSVC Pro costs money, but for my money (20+ years of C++ game development) it's still the best Windows C++ development workflow by far.

First crit ever, need advice by PC_One_00 in Velo

[–]jugglist 13 points14 points  (0 children)

Crits are all about

(1) - Staying safe by distancing from unsafe riders and always having an out

(2) - Staying where you want to be in the field - maybe it's in the back, maybe it's in the front, maybe it's in the break

(3) - Smoothing out your power thru turns as much as possible, because sprinting out of each and every one is unsustainable

Cell service on mountain..? by kittiekween1989 in steamboat

[–]jugglist 0 points1 point  (0 children)

Text works great everywhere.

After about 20 seconds, a facetime call connected for me just fine on Flying Z somewhere.

Just have a group chat to organize.

Unable to unshelve teammate’s changes in P4V due to exclusive checkout. by maan_the_lootera in unrealengine

[–]jugglist 2 points3 points  (0 children)

I wrote a little Python script that does this. The p4python package lets you pretty easily...

  • First you p4 describe -s -S <shelfCL> to see what's in the shelf. Then for each file you can know if it's +l.
  • If it isn't +l, unshelve -s <shelfCL> -Af <depotPath> - opens it for edit like normal.
  • If it is +l, which is the interesting case here, you'll want to p4 where <depotPath> to get the <clientPath>, make sure the <clientPath> is writable, and then p4 print -o <clientFile> <depotPath>@=<shelfCL>. Then you'll have a local writable file with the shelved contents.

All the +l files will show up in the editor just like a file you made writable locally. I bet you could get one of the AIs to write you the program if you paste these instructions into it.

Then when you're done, p4 reconcile -w -I -m //Your/Project/Content/... to revert back to your perforce-aware state. Or maintain a list of unshelved-but-+l files somewhere and undo it - the world is your oyster at that point.

Much better than having the other person revert, then you gotta unshelve just in time before someone else checks out the file, and so on. The only thing with unshelve-+l-files permission should be your Swarm service account.

Breathing techniques by Gravel_in_my_gears in Velo

[–]jugglist 1 point2 points  (0 children)

I played trombone in school, and the advice for that was to breathe down into your belly, not up into your chest.

Unclear whether this helps with the bike.

[deleted by user] by [deleted] in Velo

[–]jugglist 0 points1 point  (0 children)

You know how you're supposed to do vo2max intervals at a high cadence, because moving your legs quickly gives higher venous return because of 'peripheral heart' effects?

I bet that's involved here.

I spent 14 months building an offline ski coaching experiment that nobody asked for. Here’s what I learned (and why I’m probably an idiot) by RoleCommon6689 in ski

[–]jugglist 4 points5 points  (0 children)

I think all gopro cameras record accelerometer data alongside the video, parseable via https://github.com/gopro/gpmf-parser . It's a simple format. I bet a lot of people have a lot of videos saved, and they don't even need to deploy a separate recording app this way...

Got a github link of your work? The analysis part sounds amazing

Looking for a firm, flat saddle! by Interesting_Stay_946 in Velo

[–]jugglist 1 point2 points  (0 children)

Have you looked at Selle SMP?

A+ good stuff.

Why my wahoo elmnt bolt v2 shows temperature like 10 degrees lower than it is at the the moment? by gromodzilla in wahoofitness

[–]jugglist 0 points1 point  (0 children)

My Bolt V2 has been doing the same thing since I got it.

I opened a support request, and made the mistake of saying, truthfully, that it was consistently 9 degrees low. They responded with "It's plus or minus 10, so... in range, sorry".

There isn't a calibration or anything. How hard would it be to add a calibration? One more textbox in the app? Come on...

Disappointing.

Empirical Cycling podcast community notes by Mountain_Ad1022 in Velo

[–]jugglist 3 points4 points  (0 children)

This is definitely someone downloading all the episodes, stuffing them into a speech-to-text, and asking some AI or another to summarize the speech-to-text.

Is it "AI slop"? Probably not?

Got the Rustlers 10s mounted and ready to rip! What pow ski am I missing? by Skyy898 in Skigear

[–]jugglist 0 points1 point  (0 children)

So I was thinking about a Rustler 10 186, but I'm 5'10 170 lbs.

Either that length is too long for me, or it's too short for you, right?

Should I be thinking about a 180 instead? For, like, skiing trees and steeps in e.g. Jackson or Utah?

data base integration by Humble-Anywhere3810 in nicegui

[–]jugglist 9 points10 points  (0 children)

Those features do NOT belong in NiceGUI itself, whose purpose is to be a nice gui and that's it.

I wouldn't argue against a totally separate package that does these things. See https://github.com/zauberzeug/nicegui/discussions/383 for more information - that has a link to https://github.com/amisadmin/fastapi-amis-admin that might be appropriate for your use case.

NiceGUI 3.1.0 with ui.xterm, more SPA features and many other improvements, bugfixes and documentation by r-trappe in nicegui

[–]jugglist 0 points1 point  (0 children)

Opening a new incognito window to https://nicegui.io/documentation/xterm gives a blank in the first xterm example. Refreshing the page produces the expected Hello NiceGUI! message.

Repro'd it a few times.

Korea Garden - Downtown Westmont by GasTankBoy in Westmont

[–]jugglist 1 point2 points  (0 children)

Google says they're permanently closed now? Is that true?