-
Website
http://www.drmaciver.com -
Original page
http://www.drmaciver.com/2009/01/cleaning-up-a-set-of-tags-part-1/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
llimllib
1 comment · 2 points
-
Chris Vest
1 comment · 1 points
-
David R. MacIver
1 comment · 1 points
-
-
Popular Threads
>> a = (1..1000000).map {1}; nil
=> nil
>> a.size
=> 1000000
IRB.conf[:PROMPT][ IRB.conf[:PROMPT_MODE] ][:RETURN]=''
from
http://groups.google.com/group/ruby-talk-google...
I will however probably continue using Ruby for these tasks. In particular I think you're going to be completely unable to port the second one to awk because that's where it stops being remotely line oriented and where I start making use of more general purpose libraries. I could start out with awk and switch to Ruby when that happens, but frankly I'm much more comfortable keeping it in the same language throughout.
That said I appreciate your work on this, especially the details given on your approach. I hope that because of work like yours, sites will consider cleaning up their tags. Only two sites I can think of attempt to control their tags to any degree. Amazon, which presents previously used tags and Stack Overflow which handles this with tag auto-completion and a reputation requirement for creating new tags.
I'm going to do some analysis on usage later when I try to clean up things further, and when I do I'll see if I can spot any cases where it's actually breaking things.