merbin2012 / sharex

Automatically exported from code.google.com/p/sharex
0 stars 1 forks source link

Option for increment characters #531

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What new or enhanced feature are you proposing?
Other uploading programs such as puu.sh give you an increment character instead 
of a number. That way it would be possible to start with aaaa, go to aaab, 
(...), aaaA, (...), aaa9, (...), baaa, etc.

- What goal would this enhancement help you achieve?
Multiple combinations, yet keeping the URL short.

Original issue reported on code.google.com by casualba...@gmail.com on 27 Oct 2013 at 7:02

GoogleCodeExporter commented 9 years ago
I prefer to use %ra random alpha numeric for make long combinations. If your 
intention is making url less predictable. Otherwise you could have used %i 
which is more shorter?

Original comment by flexy...@gmail.com on 27 Oct 2013 at 8:04

GoogleCodeExporter commented 9 years ago
I'm not looking for a way to make it less predicatable, I want to keep it as 
short as possible, yet no possibility to "overwrite" old images if you upload 
them to a FTP server. I'd suggest something like '%i<length>', giving you an 
"increment" string.
0-9, a-z, then A-Z, then the character before changes.

0000.png
0001.png
(...)
0009.png
000a.png
(...)
000z.png
000A.png
(...)
000Z.png
0010.png
etc

Original comment by rubenrut...@gmail.com on 29 Oct 2013 at 6:20

GoogleCodeExporter commented 9 years ago
Forget to say so, the output I just simulated above would be set up as '%i4'

Original comment by rubenrut...@gmail.com on 29 Oct 2013 at 6:21

GoogleCodeExporter commented 9 years ago
By the way using a-z and A-Z together won't be possible because Windows not 
allow to have both "Test.jpg" and "test.jpg" because not case sensitive.

Adding %i4 can be problematic because then how to actually write 4 near %i with 
this syntax because you can't escape characters. This was one of the reason why 
i not added number support for %ra (random alphanumeric) because %ra8 would be 
handy for me too.

Original comment by flexy...@gmail.com on 1 Nov 2013 at 8:06

GoogleCodeExporter commented 9 years ago
I see the point for the a-z and A-Z, however, isn't it possible to create an 
escape character? 

Original comment by rubenrut...@gmail.com on 2 Nov 2013 at 5:28

GoogleCodeExporter commented 9 years ago
I'm not planning to add different syntax support to name parser because it can 
be complicated.

Original comment by flexy...@gmail.com on 3 Jul 2014 at 5:07