04-24-2026 04:14 AM
@alexderjuengere wrote:
@Yamaeda wrote:
[...]Attempt 2 🙂
[...]
never surrender ; )
"Never give up, never surrender!"
"It's inside out. And it exploded."
"By Grabthars hammer, you shall be avenged."
I bet many of you easily pick those references, and if not, you're missing out on a great movie in your lifes. 🙂
04-24-2026 04:34 AM
Attempt 3, combine with some other/earlier ideas:
04-24-2026 04:49 AM
@Yamaeda wrote:
Attempt 3, combine with some other/earlier ideas:
If anyone else is confused by the {} in the format string, from the format into string help file:
And
Nice solution!
04-24-2026 06:51 AM
In Python you can apparently add ! or !! to the format specifier to handle space before suffix. In this case it would have simply been %p! as format. Maybe that should be a suggestion.
04-24-2026 10:43 AM
@Yamaeda wrote:
@alexderjuengere wrote:
@Yamaeda wrote:
[...]Attempt 2 🙂
[...]
never surrender ; )
"Never give up, never surrender!"
"It's inside out. And it exploded."
"By Grabthars hammer, you shall be avenged."
I bet many of you easily pick those references, and if not, you're missing out on a great movie in your lifes. 🙂
You lost me.
(it's another quote, lol)
04-24-2026 12:41 PM
Maybe a malleable VI would be useful?
I'm limping along on 2016, so can't test anything out 😞
04-24-2026 01:04 PM
@GerdW wrote:
Hi Yamaeda,
@Yamaeda wrote:
When i went to school we often wrote it without space. It seems it's standardized to a space nowadays."Nowadays" is atleast 30 years old (when I wrote my diploma thesis)!
That's the German regulation, I already linked to the NIST rules in message #2.
It is also described in CMOS, which is "reference" for me:
04-24-2026 01:11 PM
@Yamaeda wrote:
In Python you can apparently add ! or !! to the format specifier to handle space before suffix. In this case it would have simply been %p! as format. Maybe that should be a suggestion.
Same in Rust — can be easily done with si module or si_scale crate with almost a single line of code.
04-27-2026 04:04 AM
Yeah, i'm getting old. I guess the magical "usually" carries a heavy load in that sentence. 🙂
I remember some style guide saying "space when writing on a machine, no space when writing with a pen". But that was ~30 years ago.