User talk:Tcsetattr
Thanks!
[edit]The Reference Desk Barnstar | ||
Thanks for helping me on the Mathematics Reference Desk! --Ye Olde Luke (talk) 17:16, 31 July 2008 (UTC) |
Your userpage
[edit]Hi. I noticed your signature changed from red to blue, and dropped by to have a look at your user page. However, it turned out it wasn't created by you, and looks kinda funny... Just thought you'd like to know. Cheers! --NorwegianBlue talk 15:56, 3 September 2008 (UTC)
- ...and now I see that User:Coneslayer has blanked the page, which is probably what I should have done in the first place. --NorwegianBlue talk 19:14, 3 September 2008 (UTC)
- If you have an attachment to being redlinked, you could try {{db-user}}, but I'm not sure what happens to the talk page. -- Coneslayer (talk) 19:22, 3 September 2008 (UTC)
- The inexplicable chicken was interesting. I was hoping for a punchline. --tcsetattr (talk / contribs) 21:27, 3 September 2008 (UTC)
Perl script
[edit]Hi! Thanks for looking at the script on RD. I'm writing a script to automate uploading of image files. Its actually two scripts: The first one reads all the JPG files in a directory, dumps the image name and exif information into a CSV file. The user then fills up the columns. On completion, the user runs the second script that reads the CSV file, checks the validity of the parameters, formats the fields into wikitext, and then uploads it to commons.
- Information
I have a question: Does a user need to install the Text::CSV_XS module, or does it come with a standard Perl distribution? =Nichalp «Talk»= 05:47, 4 September 2008 (UTC)
- It doesn't seem to be included as a core module. It's probably available in the packaging system of most unix-like OSes, making it only an apt-get (or equivalent) away. And CPAN phobia is silly anyway! The great advantage of CSV parsing code in an external module is that it's already debugged.
- Also, after looking things over, I think you can fix the existing code by moving the eof() check before the read_csv() call. If you used Text::CSV's getline method, you'd have a nice empty array returned on EOF, but your read_csv() ignores the EOF and tries to parse an undefined string, so you have to work around that by testing eof() before calling it. --tcsetattr (talk / contribs) 06:49, 4 September 2008 (UTC)
- I managed to figure out the working of Text::CSV_XS. And its blazing fast. Its easy in Linux to install it, but now I have to figure out how to install it in Windows. :( =Nichalp «Talk»= 10:18, 4 September 2008 (UTC)
Please be civil.
[edit]Your comment, "Since you failed to provide an example of a question that can't be answered without the graphing calculator (and the only example given by anyone else was "use your graphing calculator to do something that's already easy enough to do with pencil and paper alone") you forfeit the right to object to the conclusion." isn't polite, and can be interpreted as incivil. Please construct your comments in a more civil way on the reference desk. ScienceApe (talk) 03:30, 21 September 2008 (UTC)
Hi,
You appear to be eligible to vote in the current Arbitration Committee election. The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to enact binding solutions for disputes between editors, primarily related to serious behavioural issues that the community has been unable to resolve. This includes the ability to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail. If you wish to participate, you are welcome to review the candidates' statements and submit your choices on the voting page. For the Election committee, MediaWiki message delivery (talk) 13:07, 23 November 2015 (UTC)
Hi,
You appear to be eligible to vote in the current Arbitration Committee election. The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to enact binding solutions for disputes between editors, primarily related to serious behavioural issues that the community has been unable to resolve. This includes the ability to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail. If you wish to participate, you are welcome to review the candidates' statements and submit your choices on the voting page. For the Election committee, MediaWiki message delivery (talk) 13:33, 23 November 2015 (UTC)