Author Topic: Anybody use an application to store/organise their code snippets?  (Read 31662 times)

0 Members and 1 Guest are viewing this topic.

Chuck Gabriel

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #60 on: September 04, 2008, 08:23:27 AM »
Wait, SVN repositories are stored on a special filesystem?  :ugly:

Not exactly.  They're stored in a database.

Hmm.  I guess technically FSFS isn't a database.

« Last Edit: September 04, 2008, 08:36:18 AM by Chuck Gabriel »

tjr

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #61 on: September 04, 2008, 09:58:38 AM »
Wait, SVN repositories are stored on a special filesystem?  :ugly:

Not exactly.  They're stored in a database.

Hmm.  I guess technically FSFS isn't a database.
I can understand putting older deltas into a database or special system but the current revision shouldn't be. Yet another reason people should check out mercurial.

Chuck Gabriel

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #62 on: September 04, 2008, 10:11:24 AM »
I can understand putting older deltas into a database or special system but the current revision shouldn't be. Yet another reason people should check out mercurial.

The current version is your working copy, which is stored in the raw, just like any other text file in the file system.

You seem to be pretty gung-ho for mercurial, or is it just distributed version control in general?  Have you played with git yet?

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #63 on: September 04, 2008, 10:35:08 AM »
Tim's probably pretty gunh-ho for Mercurial because it's written in python if I remember correctly after looking at the wiki.

FSFS stands for Fast Secure File System and I think is a journalling type system.........

tjr

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #64 on: September 04, 2008, 12:15:35 PM »
I chose mercurial because it plays nice with win32 while git's support for win32 isn't there yet, well it wasn't the last time I checked. I am for mercurial because of the distributed version control system aspect of it, not something silly like being written in python. I have tried git, hg and bzr but settled on hg due to the aforementioned win32 support.

tjr

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #65 on: September 04, 2008, 12:18:41 PM »
I can understand putting older deltas into a database or special system but the current revision shouldn't be. Yet another reason people should check out mercurial.
The current version is your working copy, which is stored in the raw, just like any other text file in the file system.
So it's stored in raw format in what file system? The native OS file system or FSFS? If it's stored on FSFS and can't be read by native OS processes then it's a pretty lousy setup.

Chuck Gabriel

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #66 on: September 04, 2008, 12:19:56 PM »
So it's stored in raw format in what file system? The native OS file system or FSFS? If it's stored on FSFS and can't be read by native OS processes then that's pretty dumb.

Your working copy is stored in the native OS file system.  I should have made that clearer.

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #67 on: September 04, 2008, 12:54:18 PM »
Tim, what do you mean by 'win32' support?

tjr

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #68 on: September 04, 2008, 01:11:48 PM »
Tim, what do you mean by 'win32' support?
Meaning it runs on windows. Git is a collection of tools which were designed to run on *nix systems. They had to be ported to windows using mingw or cygwin I believe. HG is pure python with some small C code for speed which runs fine on windows.

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #69 on: September 04, 2008, 01:47:31 PM »
HG is pure python with some small C code for speed which runs fine on windows.

Tim,

If I understand what you're saying, being Python, it needs the Python interpreter installed to understand the Python parts, and delegates the heavy lifting parts to C libraries...is that correct?

tjr

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #70 on: September 04, 2008, 01:58:43 PM »
HG is pure python with some small C code for speed which runs fine on windows.

Tim,

If I understand what you're saying, being Python, it needs the Python interpreter installed to understand the Python parts, and delegates the heavy lifting parts to C libraries...is that correct?
No. It's compiled to native binaries so you don't need the python interpreter installed.

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #71 on: September 04, 2008, 02:01:02 PM »
Thanks for clarifying Tim.

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #72 on: September 05, 2008, 06:30:50 AM »
A short, interesting article on TortoiseSVN and Visual Studio.
Linkage.

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #73 on: September 05, 2008, 06:33:18 AM »
Free subversion add-in for Visual Studio - ankhsvn. Linkage

Heard of it a few years ago and it's certainly changed alot since then... <wanders off to read more and download it>

Glenn R

  • Guest
Re: Anybody use an application to store/organise their code snippets?
« Reply #74 on: September 05, 2008, 08:01:48 AM »
Been playing with it and I likey :)

Docs are located here - Linkage.