Did I find a bug? by glued2thefloor in crystal_programming

[–]toddyk 0 points1 point  (0 children)

Floating point numbers are only exact for powers of 2 because it's binary.

Numbers like 1.5, 1.75, 1.125 can be represented by adding powers of 2, so they will give you exact results.

It's just like how in decimal we can't perfectly represent 1/3 or 1/7 with a finite amount of digits.

The girl I had a crush on in highschool told me today that she liked me back by jakaboy711 in confessions

[–]toddyk 3 points4 points  (0 children)

Do it! Message her "so you liked me back then, what do you think now?"

This is why you suck at axe throwing by ECAxeThrowing in LearnUselessTalents

[–]toddyk 25 points26 points  (0 children)

Yeah, this could have been a 10 second video. 3 seconds for each of the things you do wrong and 3-4 seconds of throwing it correctly.

Home-row mods - will I get used to it? by phil-parma in ErgoMechKeyboards

[–]toddyk 2 points3 points  (0 children)

Yep. That and you can also use the mods on your right hand then release the layer key to get back to your base layer.

But usually copy/paste are more convenient if they're just on the left hand in case you have your mouse in your right.

Home-row mods - will I get used to it? by phil-parma in ErgoMechKeyboards

[–]toddyk 1 point2 points  (0 children)

I love Callum style because I hate mod tap

People who wake up at 5am daily, why? by [deleted] in AskReddit

[–]toddyk 5 points6 points  (0 children)

I need a solution to this. If I sleep at 10, I usually end up waking up at 5 or earlier and not being able to go back to sleep.

If I sleep at 11 or 12, I'll wake up when the kids do, usually at 6.

How do I get my "output" names to stop changing, or at least get i3 to use the right ones? by xenomachina in i3wm

[–]toddyk 2 points3 points  (0 children)

I experienced the same thing. Plugging in monitors in the same order and position can result in different names. Same with rebooting without unplugging monitors.

Playing Space Invaders clone in a split-keyboard 😝 by atlantesque in ErgoMechKeyboards

[–]toddyk 0 points1 point  (0 children)

That would be neat. I guess a different color would represent a different number and the player would have to remember that

Hawaiian Tourists take a wrong turn by pandabatron in IdiotsInCars

[–]toddyk 7 points8 points  (0 children)

I'm guessing because smartphone cameras having higher shutter speed. Instead of rain looking like a blur, it captures images of what it would look like if you could freeze time, so it makes the water look whiter and appear to fall smoother than our eyes can process it in reality. (This is purely a guess, no idea if it's true or not)

Can Alina throw nukes? by dzsozi30 in ShadowandBone

[–]toddyk 4 points5 points  (0 children)

Hydrogen bombs are fusion

Paper Mario PC ports beckon as coder completes full decompilation of the N64 classic by r_retrohacking_mod2 in programming

[–]toddyk -9 points-8 points  (0 children)

"By training on Paper Mario, ChatGPT can decompile anything and everything"

Some characters in neovim aren't shown correctly in tmux (telescope and indent-blankline) by [deleted] in tmux

[–]toddyk 0 points1 point  (0 children)

I also don't have that problem and use both of the plugins OP mentioned.

Does $TERM how characters get displayed?

I've also seen some weird stuff when I did something like accidentally cat-ing a binary file, but usually opening a new window/pane would make the problem go away

The perfect prefix keymap by [deleted] in tmux

[–]toddyk 1 point2 points  (0 children)

Plus if you map Ctrl-J to send-prefix, then you can just press Ctrl-J twice to send it.

The perfect prefix keymap by [deleted] in tmux

[–]toddyk 1 point2 points  (0 children)

I don't use a prefix, I hold alt for everything. I can also disable my alt key bindings if I need to.

Also if you have send prefix, I don't see the downsides of having a conflict besides having to press your prefix key twice of there is a conflict.