FYI there is a command to ignore specific files locally: git update-index --skip-worktree <file_name> from here. And you can later unignore it with --no-skip-worktree
- 0 Posts
- 7 Comments
LeapSecond@lemmy.zipto
Linux@lemmy.ml•What type of UI navigation do you prefer on a computer?
2·1 month agoI like the windows/kde style window navigation and always have a touchpad, not always a mouse. I’ll generally use what the system offers with some requirements:
- Changing between windows should be deterministic with no need to look at the screen
- You should be able to do as much as possible from each input method (keyboard/touchpad/mouse) but not require combining them for an action
- You should be able to do “emergency” actions (like locking or sound control) one-handed
Some general preferences:
- Single desktop
- Dock and top panel always visible, no fullscreen apps unless it’s a video
- Keyboard+touchpad shortcut to change between windows (not apps)
- Shortcut to bring up specific app from dock
- Touchpad shortcuts for sound and brightness control
- Shortcuts for moving windows between screens and snapping them to the sides
KDE and gnome can be configured for all of the above. Windows already does most of it. MacOS breaks almost everything and is surprisingly hard to configure (I don’t understand how it’s considered good ui). I haven’t tried tilling managers, they’ll probably pretty usable too.
LeapSecond@lemmy.zipto
Programming@programming.dev•Self-documenting code: if the comment is doing the explaining, the code isn't
3·1 month agoJust keep in mind that method names can also get stale and you have to be extra careful there because, when reading the parent method, you only see the method name without the code alongside it.
LeapSecond@lemmy.zipto
Programming@programming.dev•Anecdotally, programmers dislike "reduce"
17·2 months agoI like the concept of reduce and in many cases a different implementation is not necessarily more readable. But I hate how I have to look up the syntax every time, in every language I’ve written. I don’t know if that’s a me problem though.
LeapSecond@lemmy.zipto
Linux@lemmy.ml•Which distros are visually and/or have user interfaces/experiential sensibillities/idioms akin to Windows/MacOS/("pure") Linux as distinct from the other 2 major OSs?
27·2 months agoIsn’t this more of a DE thing? Like Mac -> Gnome, Windows -> KDE, Linux -> ??? (XFCE maybe?)
LeapSecond@lemmy.zipto
Mildly Infuriating@lemmy.world•google's getting pissy about using their shit while logged outEnglish
112·3 months agoSo you’re part of the problem or… have no access to information. Do you realize how much more data Google has in some places? I contribute to osm every now and then but still use Google maps for navigation, it’s not even comparable.

Another unpopular opinion: this alignment style looks terrible and wastes space. If you want alignment just start the parameters in a new line.