Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : General : Hold converter (3.1/3.0.2-r2 to 3.0.0) (A small utility I hacked toghether in a couple of hours. Hopefully useful.)
1
Page 2 of 2
New Topic New Poll Post Reply
Poster Message
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
Because the Homemade folder is in the DROD directory, and so when a program tries to edit it, Vista says no and redirects the change to another file somewhere - you need to find the compatibility folder (there's a button or somesuch).
10-01-2007 at 03:12 PM
View Profile Show all user's posts Quote Reply
Jacob
Level: Smitemaster
Rank Points: 3746
Registered: 10-01-2004
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
I hate vista already. Who asked it to move my files about or delete them?

____________________________
New to DROD? You may want to read this.
My Holds and Levels:
Click here to view the secret text

10-01-2007 at 04:09 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5064
Registered: 02-04-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
I'm sure we're all agreed that it's for Your Own Good.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
10-01-2007 at 04:28 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
AlefBet
Level: Smitemaster
Rank Points: 979
Registered: 07-16-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+2)  
It's a security mechanism. If you can't find your own files, obviously, how is a worm writer supposed to find them to tamper with them? Microsoft realizes that this may have some impact on usability, but so does any security measure (with the possible exception of fixing software bugs), and users have taken for granted the superior usability of Windows for too long. :P

____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact :blush.

++Adam H. Peterson
10-01-2007 at 07:42 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1545
Registered: 02-22-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+1)  
Jacob wrote:
I hate vista already. Who asked it to move my files about or delete them?
I hate apps that assume they're running as a local administrator and put their data in Program Files already. Who suggested writing user-specific data into system areas?

Seriously, we've had user profile directories in Windows for 12 years now. DROD isn't the only offender, but it's just as guilty as anything else that tries to save settings in C:\Program Files.

On a more helpful note, ways to get the old behaviour back include:
- Right-click | Run As Administrator on the DROD shortcut (or just modify its properties to always do that).
- Install DROD somewhere other than under C:\Program Files.
- Modify the permissions on the DROD directory so regular users can modify it.
10-02-2007 at 02:08 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
Tuttle wrote:
Who suggested writing user-specific data into system areas?
The guy who came up with the only other decent folder being a hidden folder outside of the user's normal tree did so implicitly - if you click on My Documents and hit the Up One Level button, you head to My Computer, so getting to the folder requires more effort than accessing Program Files itself.
10-02-2007 at 03:11 AM
View Profile Show all user's posts Quote Reply
Mattcrampy
Level: Smitemaster
Avatar
Rank Points: 2388
Registered: 05-29-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
The philosophy behind it is that programs shouldn't be able to screw up other users' data, which is what happens when a program is able to write to what's supposed to be the central store for applications. Ideally, your program will write to My Documents or Application Data - which neatly corresponds with writing to the user's home directory in Linux, so it makes your program easier to port.

____________________________
What do you call an elephant at the North Pole?
Click here to view the secret text

10-02-2007 at 03:26 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
AlefBet
Level: Smitemaster
Rank Points: 979
Registered: 07-16-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
Mattcrampy wrote:
The philosophy behind it is that programs shouldn't be able to screw up other users' data, which is what happens when a program is able to write to what's supposed to be the central store for applications. Ideally, your program will write to My Documents or Application Data - which neatly corresponds with writing to the user's home directory in Linux, so it makes your program easier to port.
Incidentally, this is what DROD does under Linux. Of course, just about every program does this under Linux -- it's tricky to do otherwise.

I think part of the reason it works the "right" way in Unix-type OSes and not in Windows is that in Unix it's inconvenient to design an application to use a central store -- the easy way to write an app is to use the home folder. On Windows, OTOH, it's inconvenient to write an application that uses the "My Documents" directory unless you're using a framework. IIRC, there's not an easy $HOME variable or something that tells you where the user's files are. (Note that you can't just use a fixed path -- the location of the user's documents directory is configurable in Windows and its default location has been different in different versions.)

____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact :blush.

++Adam H. Peterson
10-02-2007 at 04:05 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+1)  
There is an environment variable called %HOMEPATH% that is available to indicate where the user's home path is.

Just that no one uses it.
10-02-2007 at 04:13 AM
View Profile Show all user's posts Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1545
Registered: 02-22-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
There's also an %APPDATA% variable (which is a fully qualified path to what in XP is the Application Data directory in the user's profile), and a pair of API calls (SHGetSpecialFolderLocation and SHGetPathFromIDList) if you don't want to trust the environment.
10-02-2007 at 04:32 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
AlefBet
Level: Smitemaster
Rank Points: 979
Registered: 07-16-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+1)  
coppro wrote:
There is an environment variable called %HOMEPATH% that is available to indicate where the user's home path is.

Just that no one uses it.
I stand corrected. You learn something new every day. I guess convention is working more against Windows apps than an actual difficulty in doing it right.

It's probably a bit of a chicken-and-egg problem, too. As long as even as much as 10% of the apps out there write to their installation directory, you can't easily design the OS to prevent it (and still have it marketable). But as long as the OS allows it, all the novice programmers and a good chunk of the professional programmers will tend to write apps this way.

In that sense, any fix to the problem is likely to be an odd and convoluted one, as Vista's seems to be. Eventually, with writing to the install directory being so badly broken, new software will start working the right way, I guess. It would have been better if the OS had been designed from the start to properly separate user data from system files and from each other, but it would have taken a good amount of prescience for the DOS programmers to anticipate how their OS's evolution would ultimately be used.

I guess I just use Linux because it already works better. I don't have to deal with a hairy beast transitional type operating system like Vista before the "right" OS comes out. (Not that I'm admitting that Vista is fixing more than it's breaking.)

____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact :blush.

++Adam H. Peterson
10-02-2007 at 04:34 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Maurog
Level: Smitemaster
Avatar
Rank Points: 1501
Registered: 09-16-2004
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+1)  
I think "other users" is an outdated concept. After we worked so hard to evolve the concept of personal computer, we broke it with allowing multiple users on the same one.

Soon, progress in computer technology and minimization will make it easy to come back to the original plan of one computer per user and stick to it. Only public terminals will need these multi-user complications.

____________________________
Slay the living! Raise the dead!
Paint the sky in crimson red!
10-02-2007 at 06:23 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
AlefBet
Level: Smitemaster
Rank Points: 979
Registered: 07-16-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (+2)  
Maurog wrote:
I think "other users" is an outdated concept. After we worked so hard to evolve the concept of personal computer, we broke it with allowing multiple users on the same one.

Soon, progress in computer technology and minimization will make it easy to come back to the original plan of one computer per user and stick to it. Only public terminals will need these multi-user complications.
Hmm. I see the trend going the other direction. I think more and more the situation will be that each user's data is spread out over several computers and each computer services several users. Yeah, you'll have your personal computer or notebook or PIM or whatever, but it won't hold all your data. It will just be a gateway to your information stored on all the various computers you talk to -- mail servers, blogs, wikis, web document stores, etc. In that world, proper user separation is ultra-important for every computer except maybe your PIM. (And even there, the multiuser infrastructure tends to improve security, which would make it less likely for a worm writer to be able to install a keystroke tracker and steal access to the bulk of your information stored elsewhere.)

And if the operating system market continues its trend of consolidation, eventually the OS handling your hotmail email storage will be running the same (or a similar) OS as the XBox you play games on (which will also be a Borg-ish semi-gateway to the network-is-the-computer). Not that these computers all have to run the same OS, but it does seem to be going that way.

____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact :blush.

++Adam H. Peterson
10-02-2007 at 09:24 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Mattcrampy
Level: Smitemaster
Avatar
Rank Points: 2388
Registered: 05-29-2003
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (0)  
I already use three different computers, two at work, one at home, and Google gets mightily confused and keeps logging me out of my mail.

The problem with assuming that it's going to be one computer per person is that, well, my brother, who doesn't own a computer and jumps on whatever's available, whether it's my computer when he comes over to see me, or my parents' computer when he goes home to see them. My parents can't use iTunes because it's all loaded up with my brother's songs, and if any of the stuff that my brother used on my home computer assumed I was the only one using it I'd have to work around him using it how he wants as well.

____________________________
What do you call an elephant at the North Pole?
Click here to view the secret text

10-03-2007 at 04:48 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
13th Slayer
Level: Disabled
Avatar
Rank Points: 27
Registered: 09-28-2007
IP: Logged
icon Re: Hold converter (3.1/3.0.2-r2 to 3.0.0) (-1)  
Put this in Development board.
10-09-2007 at 09:00 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
1
Page 2 of 2
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : General : Hold converter (3.1/3.0.2-r2 to 3.0.0) (A small utility I hacked toghether in a couple of hours. Hopefully useful.)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.