elfs: (Default)
[personal profile] elfs
I don't get many chances to use Ruby, but when I do I remain breathlessly impressed with it. Tonight, I had to write a program to extract the XML meta-data from a mass collection of documents (The Journal Entries, naturally) and process that meta-data into fields, which would then get output as a CSV so I could edit it with a spreadsheet. One of the tricky parts was putting the filename, which is not part of the embedded metadata, as the first column in the CSV.

I did it in one line. Not a Perl line where, a month from now, I'll have no idea what the heck I was writing. One readable, understandable, clear and concise line.

Oh, I so like this language. I wish I had more opportunities to use it.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 28th, 2025 12:58 am
Powered by Dreamwidth Studios