News for hackers. Stuff that matters.
Re:Use the XDG Base Directory Specification by agilob on Friday March 24, 2023 @06:01AM (#35287056)
Somebody should tell this to go people. They just create me a non-hidden directory `~/go`
Re:Use the XDG Base Directory Specification by vetinari on Friday March 24, 2023 @06:44AM (#35287335)

  export GOPATH=~/Projects/go
Has been like this since forever.
Re:Use the XDG Base Directory Specification by xdennis on Friday March 24, 2023 @07:20AM (#35287570)
Being like that for a long time is not a justification for terrible defaults.
Re:Use the XDG Base Directory Specification by pasc1878 on Friday March 24, 2023 @08:15AM (#35288016)
That is a better default than a hidden directory. It is obvious and so you can set GOPATH

Also works better on Windows where .path is not hidden

Also it seems Rob Pike one of the creators of Go and involved with early UNIX thinks that . making hidden files was a mistake. Quote via XahLee http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_... - original was Google+ so not existing now.

Re:Use the XDG Base Directory Specification by tough on Friday March 24, 2023 @08:58AM (#35288429)
I hate it when I forget to show hidden files on mac.

They had a kb shortcut for it

Re:Use the XDG Base Directory Specification by hanche on Friday March 24, 2023 @05:25PM (#35295789)
They still do: Shift-Command-period toggles hidden files visibility.
Re:Use the XDG Base Directory Specification by RMPR on Wednesday March 29, 2023 @01:22PM (#35360323)
And then you have a french layout where it's impossible to fire this keyboard shortcut.
Re:Use the XDG Base Directory Specification by hanche on Wednesday March 29, 2023 @04:41PM (#35363271)
Oy. That surprised me. I am quite familiar with the notion of common keyboard shortcut that I can't get on my Norwegian keyboard. Command-(left/right) square bracket is very common, but at least that is usually associated with a menu item so I can assign a different shortcut. But now I learned that on a French keyboard, period is shift-semicolon!? Which makes me wonder: Do the French use the semicolon more often than the period? Oh well, once in a while it sucks not to be American. ;-)
Re:Use the XDG Base Directory Specification by arghwhat on Friday March 24, 2023 @11:20AM (#35290224)
Sure, hidden folders are a mistake, but less of a mistake than not adhering to standardized folder structures and just littering in people's home folders.