There's nothing wrong with your scheme if it works for you. The problem is there's like a zillion different developers who all have there own scheme for preference files, and some times it can be quite confusing to a user trying to figure out what changes can be made to the config file. At least xml will look familiar.
My personal favorite way to do simple preference files is to have a Preference class with nothing but public properties, where each property is a preference like Rect LastMainWinPos. all the properties are assigned reasonable defaults. When I want to save the preferences I just serialize the prefs instance to xml and save it to a file. The next time the program runs it reads in the xml file and constructs a prefs object. I use this in C# and it's a really easy way to save prefs.
Xml is not super fast, but it's not like I'm doing this in a tight loop, so speed is acceptable.
Oh yea, I see now, I didn't notice the ellipsis. I thought it was like one of those examples that ends up proving that 1=0 and thus all of mathematics is invalid, but then it turns out there is some subtle error like dividing by zero or something even more devious.
Not a troll, just an honest question. What don't you like about "sudo admin access"? Also what is wrong with the way OSX handles interrupts(I am ignorant of how it handles interrupts differently, so please enlighten me.)? Also what are some of the other deficiences you see with osx. (aside from price, and hardware which is probally a big one.)
I'll just add that I did the exact same thing when I was a junior programmer. Difference was that it wasn't a production database, they didn't trust me with production databases yet(with good reason, apparently).
It did teach me to alway write the where clause first, and use select,later changing it to delete, unless you're absolutely certain that your where clause is correct.
This trend, if you can call it that, seems bizzare to me. If your never going to change the major number what's the point of having it? Maybe they're waiting for some uber-upgrade that will blow everyone away. In the meantime it's annoying, not that I'm losing any sleep over it.
It's their project they can version however they want. Being consistent with whatever versioning scheme a project uses is probally the most important thing. By that I mean you should at least be able to look at two versions and tell which is the latest, alpha, beta etc... . Which I think the projects you mention do, I think.
That last number is usually what's called a build number. Basically it's a number that gets incremented automatically every time you do a full build. This lets the developer keep track of which is the latest build, even if they don't increment the minor or major number.
This lets you make a minor bug change, like a mispelled menu item without changing the minor number. In summary this is of great use to developers, and I'm sure other people could come up with better examples of using auto-incremented build numbers than me. So when you look at that a version number like 3.1.4008 that means they tested and built 4008 version 3.1 s before they got it right. This is just the way I operate and microsoft or someone else might operate differently.
Probally more than you wanted to know, but I just felt like sharing my knowledge/ignorance. Cue someone coming in to correct me/expand on what I said, just to let me know how much I don't know.(note sarcasm)
Actually, you were probally pretty lucky. The lethality of electricity has more to do with the path it takes through your body than anything. Usually it's not lethal unless the path crosses though your heart, thus interupting it's beating.
Interesting side note: I've heard that an old Electricians trick for testing for a hot wire is to connect the index and middle finger to the hot and ground wire respectively. The electical current goes up one finger and down the other , so it hurts like hell but won't kill you. Just a few things I leaned in my studies as an electrical engineer
It's called a sting operation. Would you want to risk 3 years in prison just to get a tape of a movie you can already see for free(if you work there already). Anybody you work for could be a narc. I know I sure as hell wouldn't want to risk 3 years.
Don't watch much law & order do you? Killing someone while committing another felony is first degree murder. Forethought, does not require rigorous planning, getting caught and thinking "Gee I'd better kill this guy cause he caught me" is plenty of forethought for a murder conviction.
What are you talking about? I saw that show, and they clearly demonstrated that spinning the cdrom too fast would cause it to explode. What they did claim was that it would pose little danger to you because the exploding cd would be contained by the metal cd rom case.
There is no ram on most pocketpcs. or rather it's all ram. You see persistant storage and ram both reside on the same medium. The ram is the same speed as the storage, so it's pretty slow.
Have you tried something with the latest and greatest pocketpc 2003 os? I've noticed my application performs significantly faster on a new dell axim with pocketpc 2003 than on the slightly older dell axims with pocketpc 2002.
You were very lucky, the oil light came on in my car but I decided to drive the remaining 500 feet or so to my house. I didn't make it. Now I call it the "change engine" light. Light comes on,time to change the engine.
What about vote purchasing? If you can prove who you voted for then you can sell your vote to the highest bidder. I think for that reason it's pretty important for votes to remain anonymous.
Do you really think that virtual desktops are that complex ? Do you think that Joe Average can't understand that if you divide a table in eight equal parts you can just put papers related to different subjects so as to be more organized ? I disagree on that point.
We are talking about people that don't understand the concept that when you minimize an aplication it is not gone for good. True story overheard a lady who was talking about how she couldn't figure out what happened to her app, till her daughter pointed out the taskbar, and how clicking on the little button with the app name causes it to reappear.
I think you will be amazed at people's stupidity when it comes to computers. As a technical person you probally work/school with people who are familar with computers and know how to turn them on and stuff. This is a skewed perception, the vast majority of people barely know how to find the shortcut on the desktop that opens up the one program that they need to do their job. I know this, cause I write programs for these people, and I write the installers that put the shortcut on the desktop that run their programs. AAAHHH.
What was I saying? oh yeah screw those stupid people. Virtual desktops and expose aren't for them anyway.
There's nothing wrong with your scheme if it works for you. The problem is there's like a zillion different developers who all have there own scheme for preference files, and some times it can be quite confusing to a user trying to figure out what changes can be made to the config file. At least xml will look familiar.
My personal favorite way to do simple preference files is to have a Preference class with nothing but public properties, where each property is a preference like Rect LastMainWinPos. all the properties are assigned reasonable defaults. When I want to save the preferences I just serialize the prefs instance to xml and save it to a file. The next time the program runs it reads in the xml file and constructs a prefs object. I use this in C# and it's a really easy way to save prefs.
Xml is not super fast, but it's not like I'm doing this in a tight loop, so speed is acceptable.
Oh yea, I see now, I didn't notice the ellipsis. I thought it was like one of those examples that ends up proving that 1=0 and thus all of mathematics is invalid, but then it turns out there is some subtle error like dividing by zero or something even more devious.
but 10x != 9.9999, 10x = 9.999. And thus all is right with the universe.
Not a troll, just an honest question. What don't you like about "sudo admin access"? Also what is wrong with the way OSX handles interrupts(I am ignorant of how it handles interrupts differently, so please enlighten me.)? Also what are some of the other deficiences you see with osx. (aside from price, and hardware which is probally a big one.)
I'll just add that I did the exact same thing when I was a junior programmer. Difference was that it wasn't a production database, they didn't trust me with production databases yet(with good reason, apparently).
It did teach me to alway write the where clause first, and use select,later changing it to delete, unless you're absolutely certain that your where clause is correct.
This trend, if you can call it that, seems bizzare to me. If your never going to change the major number what's the point of having it? Maybe they're waiting for some uber-upgrade that will blow everyone away. In the meantime it's annoying, not that I'm losing any sleep over it.
It's their project they can version however they want. Being consistent with whatever versioning scheme a project uses is probally the most important thing. By that I mean you should at least be able to look at two versions and tell which is the latest, alpha, beta etc... . Which I think the projects you mention do, I think.
That last number is usually what's called a build number. Basically it's a number that gets incremented automatically every time you do a full build. This lets the developer keep track of which is the latest build, even if they don't increment the minor or major number.
/expand on what I said, just to let me know how much I don't know.(note sarcasm)
This lets you make a minor bug change, like a mispelled menu item without changing the minor number. In summary this is of great use to developers, and I'm sure other people could come up with better examples of using auto-incremented build numbers than me. So when you look at that a version number like 3.1.4008 that means they tested and built 4008 version 3.1 s before they got it right. This is just the way I operate and microsoft or someone else might operate differently.
Probally more than you wanted to know, but I just felt like sharing my knowledge/ignorance. Cue someone coming in to correct me
Actually, you were probally pretty lucky. The lethality of electricity has more to do with the path it takes through your body than anything. Usually it's not lethal unless the path crosses though your heart, thus interupting it's beating.
Interesting side note: I've heard that an old Electricians trick for testing for a hot wire is to connect the index and middle finger to the hot and ground wire respectively. The electical current goes up one finger and down the other , so it hurts like hell but won't kill you. Just a few things I leaned in my studies as an electrical engineer
It's called a sting operation. Would you want to risk 3 years in prison just to get a tape of a movie you can already see for free(if you work there already). Anybody you work for could be a narc. I know I sure as hell wouldn't want to risk 3 years.
Don't watch much law & order do you? Killing someone while committing another felony is first degree murder. Forethought, does not require rigorous planning, getting caught and thinking "Gee I'd better kill this guy cause he caught me" is plenty of forethought for a murder conviction.
What are you talking about? I saw that show, and they clearly demonstrated that spinning the cdrom too fast would cause it to explode. What they did claim was that it would pose little danger to you because the exploding cd would be contained by the metal cd rom case.
kinda like how two women can make a baby in 4.5 months... um...
There is no ram on most pocketpcs. or rather it's all ram. You see persistant storage and ram both reside on the same medium. The ram is the same speed as the storage, so it's pretty slow.
Have you tried something with the latest and greatest pocketpc 2003 os? I've noticed my application performs significantly faster on a new dell axim with pocketpc 2003 than on the slightly older dell axims with pocketpc 2002.
Reminds me of a quote "Why do something by hand in 2 days when I can spend the next 5 years of my life automating it"
You were very lucky, the oil light came on in my car but I decided to drive the remaining 500 feet or so to my house. I didn't make it. Now I call it the "change engine" light. Light comes on ,time to change the engine.
Not anymore, thanks for getting modded +3
My laptop doesn't have a floppy drive, watcha gonna do now smart guy?
What about vote purchasing? If you can prove who you voted for then you can sell your vote to the highest bidder. I think for that reason it's pretty important for votes to remain anonymous.
We are talking about people that don't understand the concept that when you minimize an aplication it is not gone for good. True story overheard a lady who was talking about how she couldn't figure out what happened to her app, till her daughter pointed out the taskbar, and how clicking on the little button with the app name causes it to reappear.
I think you will be amazed at people's stupidity when it comes to computers. As a technical person you probally work/school with people who are familar with computers and know how to turn them on and stuff. This is a skewed perception, the vast majority of people barely know how to find the shortcut on the desktop that opens up the one program that they need to do their job. I know this, cause I write programs for these people, and I write the installers that put the shortcut on the desktop that run their programs. AAAHHH.
What was I saying? oh yeah screw those stupid people. Virtual desktops and expose aren't for them anyway.
I guess the winners in the case of ww2 would be the jews that were saved from extermination. What was your point again?
I had one that would do that when I jogged. Eventually it stopped working completely, had to send it back to Apple.
If it's running as a service, it can't display a message box.
Yeah I remember when Microsoft bought Apple, funny how nobody realizes Microsoft owns Apple outright. ps Idiot
As other other people have said, code escrow didn't work in this case.rtfa...