-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cnt module - durable counters using sparse files #36
base: master
Are you sure you want to change the base?
Conversation
On Thu, Dec 03, 2015 at 09:13:10PM -0800, dancancode wrote:
Ok.. it's not immediately clear to me why it's useful to store a David Gibson | I'll have my music baroque, and my code |
I find them easier to observe from the command line. For example, I can read and sort a set of counters with 'ls -lS'. |
On Fri, Dec 04, 2015 at 06:49:11AM -0800, dancancode wrote:
Hm, ok. Seems strange to me, but merely being esoteric is no reason not to However, I think something using a method this unusual probably needs David Gibson | I'll have my music baroque, and my code |
I find naming really hard. I'm open to suggestions. |
dancancode [email protected] writes:
filecnt? Cheers, |
On Sun, Dec 06, 2015 at 03:00:23AM -0800, Rusty Russell wrote:
Even that seems too generic to me, since encoding the counter in the I'd go with "filesize_counter", even though it's kinda long. I'd be ok with using that full string for the actual module name, but David Gibson | I'll have my music baroque, and my code |
* Renamed to filesize_counter with szcnt_ prefixes per David Gibson's suggestion * Added some paragraphs to _info to demystify the code's raison d'etre * Added tests to reach 100% coverage Signed-off-by: Dan Good <[email protected]>
I gave it more spit and polish. Do you think it passes muster now? |
Signed-off-by: Dan Good <[email protected]>
On Wed, Dec 16, 2015 at 12:09:11AM -0800, dancancode wrote:
Sorry I never replied to this. I think the code is fine now, but there are some issues in the actual Plus.. I've realised I made a terrible suggestion to you. Having Please use "szcnt" throughout. David Gibson | I'll have my music baroque, and my code |
a small offering, to dip my toe in the water