topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday November 11, 2025, 7:29 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 72 73 74 75 76 [77] 78 79 80 81 82 ... 109next
1901
General Software Discussion / Re: Why the Windows Registry Exists
« Last post by Armando on November 26, 2007, 11:55 AM »
This guy seems to have good points too (some of them have been mentioned repeatedly here at DC) :

re: Why are INI files deprecated in favor of the registry?
Monday, November 26, 2007 11:58 AM by Felix Koehler
Well, ini files (meaning .ini, .xml, etc.) obviously have disadvantages. But they also have advantages.

You can easily fit all program + configuration into a single directory, which allows

- "an application on a memory stick",

- "an application without installer",

- "an application with very limited rights" (write and write only one directory, no registry access allowed),

-  multiple versions to exist peacefully without any clever thoughts along the lines: "gee, what else did I forget that gets silently overwritten by the installer.",

- modify a config file by hand, quick and dirty style.

- config files can be defragmented on disk easily :o

As for the disadvantages - these are curable with some effort (well: effort is a disadvantage in itself ;-)):

- read / write race conditions can be handled in a variety of ways:

 + lock the file

 + use Mutexes

 + allow only one instance at a time

 + work on a temp. copy.

- denial of service:

 + Kind of an "other side of an airtight hatch" problem. Basically any program that can lock an arbitrary file will be able to do a DOS-attack.

- security granularity:

partitioning of the "one big inifiles" into several small ones with different ACLs allows to circumvent this.

- parsing is slow:

There's no cure against access being O(N), other than making sure N is small. So split them up. smaller files -> faster parsing.

- INI files contain only two levels of structure.

again, split them up into several files, if necessary use a directory hierarchy

- .ini files are 32kB max:

call them .conf files and use your own parser

- The default location for INI files was the Windows directory!

And 640 kB used to be enough for everybody (This is no sarcasm. Back then it *really* was). But that's a sin from the past, ini-files went through rehab and don't do this anymore (well ... it's hard to stay clean for some ;-)

- ini files contain only strings:

ini-files are definitely not meant to contain large quantities of binary data. ASCII-encoding is good enough for small quantities though.

- no UNICODE support:

unless you insist on using the windows API for handling inilike-files, I don't see the problem?

- handwritten parsers are flaky:

Yes. On the other hand, the ini-file format is simple enough to write your own little API and test it adequately. And using std::getline and std::string, I haven't yet seen any buffer overruns.

So IMVHO the only real disadvantage of ini-files & co. is that it's more effort to implement compared to using the registry.

Oh, and it's much harder to hide information from the user (Time limited test versions anyone?). Though, XML files can be at least as good at obfuscation as is the registry ;-)

As a user, I *like* config/ini - files.

Felix

[I like argument through assertion. "You won't have any buggy INI file parsers if you don't write buggy INI file parsers." And argument through blame-shifting: "You can avoid the race conditions by introducing a denial of service attack." And then argument through discount: "Yes, there's a denial of service attack, tough. You didn't care about central administration anyway." -Raymond]

http://blogs.msdn.co...6523907.aspx#6532881


BTW, why is there a 32kb limit for the ini file ?
1902
FARR Plugins and Aliases / Re: New C# FARR Plugin: FARRAltTab
« Last post by Armando on November 25, 2007, 07:21 PM »
ps.
i know i shouldn't have to remind anyone but.. if you want to see more things like this, more plugins for farr, or just more coders on dc creating stuff... please remember to send authors some donationcredits as a gesture of appreciation :)

Of course !  :up:
1903
FARR Plugins and Aliases / Re: New C# FARR Plugin: FARRAltTab
« Last post by Armando on November 25, 2007, 01:42 PM »
aaaaaaaahhhhh!!!!!!!  :up:
Exactly what I wanted. Exactly.  :up: :up: :up: :up:
vitalyb, you're my hero of the day.



Edit : just want to add why this is soooo useful to me : when I have 15 word files opened at the same time and need to switch between them. Priceless. just type a few letters of the title. Bam.  :Thmbsup: :Thmbsup:
1904
General Software Discussion / Re: What are the MAJOR linux players?
« Last post by Armando on November 25, 2007, 12:29 PM »
Josh, get what your friends have. They'll be the ones helping you get started, so you will want to have a distro they are familiar with. It does not matter so much which distro you have, as it matters how good the support/help is.

Ask the next Linux or *bsd user what they use and if they would help you get started. Be prepared for disappointment...

I understand the logic behind that advice, but IMO choosing a well supported distro, with strictly scheduled releases, a strong user base, a good package management and current hardware detection is even better than going with what friends choose. For instance, most of my Linux friends use Debian, CentOS or Slackware variants. But they're all programmers, run servers, etc.

So I decided to run Ubuntu, the most popular distro at the moment, and found all the support I needed on the web. Anyway, most Linux distributions are close enough so that an expert cans help a "newbie" with problems (regardless of the distribution).

One thing to really check before trying one of the major distros is hardware compatibility (video card, Wifi, printer, scanner, ...). Live CDs can be handy for that. They give an idea, but even if problems arise, these can sometimes be solved after installation (and most live CDs can be intalled to the HD — there are some exceptions, like Suse DVDs).
1905
Living Room / Re: Procrastination Flowchart
« Last post by Armando on November 25, 2007, 12:59 AM »
I'm in the loop right now.
According to the chart, to get out of this loop I'll need to spend a significant amount of time IN the loop.
Let's see : it's 2 am... Should I be done in an hour? Is that really significant ?
Hmmmm. Well. Considering I have a cold and should already be in bed to be able to work efficiently on monday, I'd say yes.
Time for a snack?
1906
General Software Discussion / Re: What are the MAJOR linux players?
« Last post by Armando on November 24, 2007, 11:56 PM »
These links are good reads :
http://distrowatch.c...s.php?resource=major
http://itmanagement..../article.php/3701421
http://wiki.linuxque..._Linux_distributions
http://en.wikipedia...._Linux_distributions
http://futurist.se/gldt/gldt76.png
http://photos1.blogg...Linuxupdatedw4.0.jpg
http://distrowatch.c...on=packagemanagement

IMHO the most famous, popular and well maintained distributions are probably :
Debian, Fedora, Gentoo, Knoppix, Mandriva, Mepis, PCLinuxOS, RedHat, Slackware, Suse, Ubuntu, Xandros.

For overall EASY Desktop usage, my top 3 picks are (in that order) : Ubuntu, PCLinuxOS, Mandriva. They provide easy proprietary codec and driver installation and offer a polished environment.

- Ubuntu works, is polished enough, is well documented and has a huge user base. I’d first go with that. There’s a new release every six months. Enormous repositories.
- PCLinuxOS offers a nice user experience, but I’d be worried about its long term life (I also don’t like the fact that it doesn’t offer a gnome version). I also don’t like that there’s absolutely NO release plan.
- Mandriva is great, but it’s not exactly free if you want full access to support etc. Release schedule is not as strict as Ubuntu’s, but better than PCLinuxOS.

Suse is fine, but I find it bloated and I don’t like its package manager. Fedora is too unpredictable : some releases are just terrible. Debian is great but not as user friendly as Ubuntu or PCLinuxOS. Etc.

Then there are all the distros more suited for old computers. Like Vector, Slax, Damn Small Linux, Zenwalk, etc.

1907
General Software Discussion / Re: SyncBackSE vs. SuperFlexible
« Last post by Armando on November 24, 2007, 02:07 PM »
I agree with Tranglos that this seems like a big design flaw.
Any scheduler should be ROCK SOLID, easy to set up and not get in the user's way. Otherwise, what's the point ???
1908
General Software Discussion / Re: SyncBackSE vs. SuperFlexible
« Last post by Armando on November 23, 2007, 08:17 PM »
Actually, I've had similar problems with other applications, like Archivarius. (For example, the problem with Archivarius arises when you set up the indexer  to NOT run when the computer is unplugged (and battery powered). What happens is that the scheduler won't “reset” itself when the computer is eventually “replugged”. The only way to reset the scheduler is to close Archivarius and restart it.)
1909
General Software Discussion / Re: What’s Your Backup Strategy?
« Last post by Armando on November 23, 2007, 10:52 AM »
There are many threads on backup strategies (like these two, among others : SuperboyAC's DC blog #3 (My Unique Data Backup Solution) and How do you backup your files? ).

You could also check this : http://www.taobackup.com/

My tools are : acronis true image & SyncBackSE.

The "problem" with firstdefense is that it doesn't replace a "real" backup : you can't (well, you couldn't some months ago) store the data on an external hard drive.
1910
Older Newsletters / Re: Newsletter for November 19th - Codename "Postcard Club"
« Last post by Armando on November 20, 2007, 03:20 PM »
Thanks Darwin!  :up:
1911
Living Room / Re: Science magazine had a photo competion ...
« Last post by Armando on November 18, 2007, 12:48 PM »
to me, 1st one looks like nudone's face (avatar).
1912
Living Room / Re: Laptop or Desktop — which are you?
« Last post by Armando on November 17, 2007, 01:56 AM »
Since i've bought my first laptop, I never looked back. I consider it to be one of my best “technological move”.
Okay, first, I admit, I don't need superpower : I don't play games, I don't need to crunch extremely complex data, I don't encode blue ray HD movies, etc.). Second : I don't mind the smaller screen, but I do have 2 extra screens for specific needs and work. Third : I actually like "small" keyboards and I love touchpads (yep : find touchpads more convenient than a mouse : never hooked a mouse to one of my laptop... but I wouldn't mind hooking Wacom tablet to it, once in a while!!!). Fourth : just love the freedom of not being attached to a desk (I like to work in cafes, and take my laptop to seminars, conferences, courses, whatever). Fifth : I don’t find that I’ve changed to many elements of my desktop computers in the past apart from the graphic card, the hard drive and the ram.  In a laptop. Replacing ram and hard drive is not a big thing. Sometimes you can even replace the graphic card (of course, I wouldn’t replace it since I don’t need it : even my 5 year old Pentium 4 with its horrible SIS 6326 does a goog enough job on anything I need). Sixth : keeping an extra desktop (or even an extra laptop) for mechanical background tasks is always handy...  ;)


PS : BTW zaine, nice laptop you have up there  :Thmbsup:
1913
General Software Discussion / Re: Ideamason on special
« Last post by Armando on November 16, 2007, 09:27 PM »
I see...  :)
(you seem pretty efficient to me, even when procrastinating....)
1914
General Software Discussion / Re: Ideamason on special
« Last post by Armando on November 16, 2007, 09:14 PM »
Are you currently using it, Darwin ?
1915
General Software Discussion / Re: Blog steals Zaine's Great Software List
« Last post by Armando on November 15, 2007, 11:24 PM »
Did anybody contact Zaine ?
1916
Found Deals and Discounts / Re: EverNote - Free today at GAOTD
« Last post by Armando on November 15, 2007, 10:06 PM »
How to tell which version of EverNote 2.2 you have installed
To find out which version of EverNote you are running click on the Help menu and select "About EverNote". Compare the screenshots below with what you see, to learn what version you have.
-cranioscopical (November 15, 2007, 09:31 PM)

Much more convenient!  :-[
Thanks cranioscopical.
1917
General Software Discussion / Re: Blog steals Zaine's Great Software List
« Last post by Armando on November 15, 2007, 08:52 PM »
First of all, probably just denouncing it in comments on the blog. Then... I don't know...
1918
Found Deals and Discounts / Re: EverNote - Free today at GAOTD
« Last post by Armando on November 15, 2007, 08:41 PM »
Evernote doesn't provide any visual clue that it has been activated or that it's running in Plus mode. I *think* that the free version says that it is free in the about page, but am not sure. I've been running it for so long I no longer remember.

Hummm.... One thing that the unpaid version does is adding a kind of "slogan" or "advertisement" at the bottom of the notes you "send to an email recipient". So if you right click on a note, and select "send to an email recipient", the exported note shouldn't have any "slogan" or "advertisement" at the bottom.

That's one way, I imagine, of differentiating both versions...
1919
General Software Discussion / Re: roboform2go or sticky password?
« Last post by Armando on November 15, 2007, 07:49 PM »
Thanks everyone for the answers !
1920
General Software Discussion / Re: roboform2go or sticky password?
« Last post by Armando on November 15, 2007, 11:14 AM »
This is probably the main reason why i've always postponed the moment to really try roboform.

And... Forgive my ignorance, but how does one manage if she/he doesn't have roboform with her/him, and needs to access stuff on a different computer where she/he need her/his recorded (and "unmemorizable") passwords? It might seem like a stupid question... but it would be a situation where I'd find myself, I'm sure.
1921
Living Room / Re: Tales of Mere Existence
« Last post by Armando on November 14, 2007, 06:26 PM »
A matter of opinion, of course.
Some of them are actually very funny.  The one on "mum talk" or the one on procrastination.
1922
I think you're right, carol : as you said, the database can be accessed and edited regardless of EverNote's version : 2.1 or 2.2.
Actually, it turns out this isn't entirely true. With the new version, all the old templates are now broken. I have a lot of data in tables and now I can't access them. You would think that something as simple as table support would be added to the program but we have to rely on templates. Now the templates are broken. As you can probably glean from above, I am not happy at all.

Yes, I've seen that in their forum. I didn't notice myself because I don't really use the templates. I hope they fix it real soon. It's a serious issue!!! :(
1923
The Getting Organized Experiment of 2007 / Re: How to not get stuff done
« Last post by Armando on November 13, 2007, 10:30 PM »
 ;D

Going to bed now so I can get some stuff done tomorrow...
1924
General Software Discussion / DoMercury - another Quicksilver/FARR type program
« Last post by Armando on November 13, 2007, 09:27 PM »
Thanks for the feedback nontroppo !  :)
1925
Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012
« Last post by Armando on November 13, 2007, 01:30 PM »
The same thing happens with other plug-ins, like the locate32 one.
Pages: prev1 ... 72 73 74 75 76 [77] 78 79 80 81 82 ... 109next