dukk

joined 2 years ago
[–] dukk@programming.dev 6 points 2 years ago

Zero was (in its modern form) invented in India. It’s pretty fundamental to the concept of Hindu-Arabic numerals too: it’s how we represent numbers such as 10, 100, and so on.

[–] dukk@programming.dev 15 points 2 years ago (1 children)

Damn, that’d make a cool movie.

[–] dukk@programming.dev 8 points 2 years ago (4 children)

IIRC Hindus invented this number system (with glyphs for 0-9), and then the Arabs starting using it. Eventually the west started using them and credited the Arabs.

As for how they are written, everyone used the same shapes, and then they probably just ended up changing over time (“Hmm…how do I write that number again? Oh whatever I’ll just make it up”)

Feel free to do your own research though.

[–] dukk@programming.dev 4 points 2 years ago

Damn, I used to be that guy too (the one who talks about Linux whilst using Windows). I actually posted my Windows rice as a Linux rice in unixporn a while ago…it really did look like Linux.

I use NixOS now, but I keep Windows on a separate drive in case I ever need it.

[–] dukk@programming.dev 4 points 2 years ago

Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.

[–] dukk@programming.dev 2 points 2 years ago

Also possible in Voyager too :)

[–] dukk@programming.dev 7 points 2 years ago* (last edited 2 years ago) (1 children)

Better yet, git commit -p

[–] dukk@programming.dev 15 points 2 years ago

“feat: stuff”

Guilty of this one myself.

[–] dukk@programming.dev 20 points 2 years ago (3 children)

Commit more often. Maybe work in a different feature branch, and don’t be afraid to commit your half-working crappy code. If it’s a personal project/fork, it’s totally acceptable to commit often with bad commit names and small unfinished changes: you can always amend/squash the commits later. That’s how I tend to work: create a new branch, work on the feature, rebase and merge (fast forward, no merge commit). Also, maybe don’t jump around working on random features :P

[–] dukk@programming.dev 1 points 2 years ago

Oh that’s smart! And then nushell just handles the data for you…I might try that!

[–] dukk@programming.dev 3 points 2 years ago (1 children)

Blasphemy…don’t bring Microsoft’s shitty proprietary editor and shitty proprietary OS near my holy text editor.

[–] dukk@programming.dev 10 points 2 years ago (1 children)

Rearranging the keys? My password’s pretty much muscle memory, typed fast enough in not really worried about people watching me enter it. Call me lazy, but having to pick and hit every key? No thanks.

view more: ‹ prev next ›