HN user

hwovh

10 karma
Posts7
Comments13
View on HN

Files are uploaded in segments, so recipients can start downloading immediately. In either case, you don't need to worry about whether your file has finished uploading - if it has started uploading, even a 10G file, you can download it immediately. Uploading and downloading can happen at the same time.

I'm not sure which file naming convention is right for you, but from experience I know that my storage grows and my needs for accumulated data keep changing over time.Changing the folder structure or naming conventions to meet new needs can be very cumbersome, but if the structure and conventions are properly managed, it's a simple task. So, I think it's more important to manage and maintain them so that they can be converted at any time than it is to find the best naming convention, which is one of the reasons I created the file name system.

Thanks for the feedback! I understand that you are pointing out that no can be interpreted as false. I'll have to update the spec to require ‘string’ for folder and file names.

There's no big reason why i'm using yaml. Originally I was trying to create a very simple spec with just simple text rules, like you said. I needed a way to distinguish whether <year>-<month>-<day>-<hour>-<minutes>-<seconds>.txt was a file or a folder, and for folders I used ‘:’ for this.

I'm not interested in the semantic structure of YAML, I chose it because it's an easy format for users to read and write. I'll give more thought to whether or not to use YAML.

No rule setting needed. just say... "Change all file extensions to lowercase." "Sort by file size and prepend the file names with numbers like 0001, 002, 003." "Swap the parts of the file name before and after the '-' character." "For files larger than 10G, prepend the file name with ; for files smaller than 1kb, prepend with ."