[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1756815948994138.jpg (41 KB, 554x460)
41 KB
41 KB JPG
>program files x86
>program files x64
>users/user/appdata/local
>users/user/appdata/locallow
>users/user/appdata/roaming
>users/user/appdata/roaming/programs
>users/local/
>programdata (hidden)
>/my saved games
>/my documents/saves
>/my documents/game/saves
>/my documents/company/game/saves
>://winstoreapps
>setting not stored anywhere but written into the registry
>>
shitnux is even worse
>>
File: 1753412304883018.jpg (215 KB, 797x836)
215 KB
215 KB JPG
>/user/.program
>>
>>107824448
God damn you're right. None of those are adequate and all this is just going to confuse our users. Going forward, let's settle on a new system. Maybe a hidden c:/allappdata for all all data except saved games and config files because those belong in a non hidden c:/user/all/app/data.
>>
>system32 (contains 64bit libraries)
>syswow64 (contains 32bit libraries)
>>
>>107824610
wow64 stands for "windows (32 bit) on windows 64 bit" so it makes sense for it to contain 32bit libs
>>
>>107824488
This is one of those things you're just wrong about, as many flaws as it has configuration portability is without exageration 20 years ahead of windows on loonix
Oh wait I forgot when you're not retarded with computers you run everything on windows in virtual machines and containers becuase otherwise the OS is just so unbearable to use, this solves the issue entirely
>>
File: 1739490023576360.jpg (29 KB, 238x357)
29 KB
29 KB JPG
>system drive: C:
>why not A: or B:? cuz floppy disks were A: 40 years ago
>>
File: 1763541230613796.png (518 KB, 1006x920)
518 KB
518 KB PNG
>>107824448
>~/.local/.config
>~/.config/config
>~/.config/program/config
>/usr/local/config
>/usr/share/config
>/etc/config.d/config
>/etc/program/config
>~/.program/config
>~/var/config
>~/opt/program/config
>>
File: 1755340417315896.jpg (200 KB, 873x908)
200 KB
200 KB JPG
>inetpub
>it cannot be deleted
>it cannot be hidden
>>
>>107824448
Appdata is a good standard
>>
>>107825277
>~/.local/.config
>~/.config/config
>~/.config/program/config
these are ok
>/etc/program/config
this is ok for stock configs and system-level application configuration
don't forget
>~/
For shell configs and stuff which is fine in my book. Better than fish with its gay directory structure.
everything else is gay
>>
>>107825266
Backwards compatibility.
Just like most of the quirks mentioned in this thread
>>
>>107824448
Honestly, global filesystem views are retarded. Should have different layers. Global, user and application desu.
>>
>>107824448
Don't forget C:\inetpub because M$ updates can be used to hack you if that folder doesn't exist.
>>
>>107825277
>>~/.local/.config
>>~/.config/program/config
>>/usr/local/config
>>/usr/share/config
>>~/var/config
meds

>>~/opt/program/config
>>/etc/config.d/config
>>/etc/program/config
>>~/.config/config
these are real, and ok

>>~/.program/config
in this situation you're supposed to find the author's minecraft server and lay TNT blocks under the floor boards
>>
>>107825284
Blame M$ jeets for making that the default home folder for IIS. It should have been something like C:\ProgramData\IIS or whatever.
Also the fact that the root drive had an ACL (by default) that allows all users to add whatever directory they want and Windows updates running as root and iis specific changes can be tricked into executing arbitrary code.
>>
File: IMG_7244.jpg (30 KB, 495x619)
30 KB
30 KB JPG
>greasy drama queen
>mumbles in native English
>actually makes effort when speaking Chinese
>>
>>107827100
>~/.program/config
there's a workaround for this mental illness
#!/bin/sh
exec bwrap --dev-bind / / --bind ~/.local/share/sandbox/program ~ program "$@"
>>
>>107824645
What? Who thought of that? Thats retarded
>>
>>107824448
never understood this shit
If im not demented everything was going under program files or windows before
>>
>>107827132
he's so babygirl...
>>
>>107825277
The only acceptable way is to keep all xdg-compliant configurations in /etc/ or ~/.config/,
placing all non-compliant configs in ~/.config/, as well, unless it's simply not an option, and keeping a directory in your ~/ where you cp -r all of your edited dotfiles and cp -rs the directories back in place. Then, root can take custody of the configuration files with trusted code.
>>
>>107827232
No it's not.
Windows was widely regarded as a 16-bit DOS app. So they called the compatibility layer "Windows on Win32", shortened to WOW32.
Fast forward 15 years, Windows was widely regarded as a 32-bit environment. So they called the compatibility layer "Windows on Win64", or WOW64.
You need a System folder for the files used by the compatibility layer, and you might as well name it after the compatibility layer, so "System Folder for Windows on Win64", or SysWOW64.
>>
File: bigboysgetbigtoys.webm (2.4 MB, 608x1080)
2.4 MB
2.4 MB WEBM
>>107824448
I see you like playing with big toys.
>>
>>107824448
yep i hate it
so I just use portable things. Doesn't stop registry use though I think
>>
>>107827052
interesting
>>
File: 1758285236201923.jpg (76 KB, 301x269)
76 KB
76 KB JPG
>>107824448
>>107824488
Kek unironically these days yeah, Linux has the same problem.
>>
>>107825266
>>why not A: or B:?
But in Japan A: was the hard drive.
>>
>>107824448
>>107825277
sbin bin usrbin usrsbin usaarbin
why every os do this
>>
>>107832615
because someone's computer ran out of space like 40 years ago.
I am not joking
>>
>>107824448
>>>setting not stored anywhere but written into the registry
Fuck Izotope, what were they thinking with this?
>>
>>107825277
Gobal vs user scope, also some of those don't exist.
>>
>>107832725
a shitload of software (especially audio software) are obsessed with using the system registry for everything and insisting on installing most of the data into a home folder when you specifically set a directory for the plugin.
>>
>>107830757
>>107830805
>7 hours
>>
>>107832615
Legacy junk. On modern Gentoo, /bin, /sbin, and /usr/sbin are all just symlinks to /usr/bin.
>>
>>107830805
Hot
>>
>>107825190
>>107824488
>/etc/
>/var/lib/
>~/.config/
>~/.local/state/
>~/.var/app/
that's just off the top of my head
>>
>>107824448
I just realized appdata means "app data", I've going into that folder for at least 10 years just thinking "what a funny name"
>>
File: stenograph.jpg (71 KB, 503x339)
71 KB
71 KB JPG
Can someone please explain to me what the advantage of using the windows registry over a database or even a normal json config file is? It just makes the program platform dependent.
>>
Why the fuck are portable programs not the standard....
>>
>>107825190
>you run everything on windows in virtual machines and containers
Is this opposite day or something? Do you not realize what flatpak, snap, and docker are? What about appimage?
99.9999% of all windows programs are installed directly onto the OS and run natively whereas the situation on Linux is so flaky that every single "modern" program packaging format is just bundling a micro OS or building your program into a container.
>>
>>107824448
at least for the most part (in my experience), applications do respect the appdata/local and appdata/roaming conventions. You can usually copy appdata/roaming if needing a quick and dirty migration of a user to another computer and get most of the important stuff.

>>107833549
I am by no means a windows expert, but I do have some experience in the registry. It was a genuinely pretty brilliant idea that just never had great execution. I think it would have been adopted better if it had a more intuitive interface.
>users and computer has it's own hive files that are automatically loaded.
>in theory, user's registry would store all of their application customizations and could be copied between computers.
>very easy to export keys and re-import them (natively in the shell). Easy to back up.
The problems arise that it was conceived at a time when the assumption was that users either were always admins, OR that users would NOT be able to install their own software. Which was pretty naive, hence all the hacks that devs do to bypass the HKLM and C:\Program Files.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.