[CODE4LIB] Yale University - Professional Opportunity - Programmer Analyst 2 - Sterling Memorial Library (#12058BR)

2011-01-11 Thread Burlingame, Amy
Please excuse cross-posting - professional position of possible interest Programmer Analyst 2 Library Access Integration Services Yale University Band III-Grade 24 www.yale.edu/jobs Fixed Duration:Two (2) years from date

[CODE4LIB] data export help: line breaks on tab-delimited download

2011-01-11 Thread Ken Irwin
Hi all, I've got a dataset that I'm trying to make exportable for MiniTab, etc. It's tab-delimited and lines end with "\n". When I serve it up as "text/plain" and view it in my web browser, it works just fine and all the line breaks are in the right places. When I send the header to make it a

Re: [CODE4LIB] data export help: line breaks on tab-delimited download

2011-01-11 Thread Jonathan Rochkind
line breaks don't appear when you view it with what software? Can you have your browser save it to disk after it prompts you to do so, and open with a reliable text editor you know how to use and confirm if \n is really still in the file or not? If you are viewing it in your web brower, then

Re: [CODE4LIB] data export help: line breaks on tab-delimited download

2011-01-11 Thread Chris Fitzpatrick
Hey Ken, When you changed it to Content-Disposition = attachment, did you keep the content-type still set to text/plain ? You might try setting content-type to one (or maybe all) of these: Content-Type = application/octet-stream Content-Type = application/force-download Content-Type = appl

[CODE4LIB] javascript testing?

2011-01-11 Thread Bess Sadler
Can anyone recommend a javascript testing framework? At Stanford, we know we need to test the js portions of our applications, but we haven't settled on a tool for that yet. I've heard good things about celerity (http://celerity.rubyforge.org/) but I believe it only works with jruby, which has

[CODE4LIB] Call for Papers & Demos: Semantic Publication Workshop sepubl...@eswc (May 29 or 30, Crete, Greece) – Deadline Feb 28

2011-01-11 Thread Jodi Schneider
CFP: ESWC workshop on Semantic Publication -- deadline is Feb 28th. Details below. -Jodi 1st International Workshop on Semantic Publication (SePublica 2011) http://sepublica.mywikipaper.org at the 8th Extended Semantic Web Conference (ESWC 2011) http://www.eswc2011.org May 29th or 30th, Her

Re: [CODE4LIB] data export help: line breaks on tab-delimited download

2011-01-11 Thread Ken Irwin
Jonathan's questions were right on target. I was opening the files in the standard MS Notepad editor, and it was not observing line breaks. When I went to go open the files in MiniTab they were just fine. (Changing the files to .txt and text/plain did *not* fix the problem in Notepad, and I do w

Re: [CODE4LIB] javascript testing?

2011-01-11 Thread Gabriel Farrell
I like QUnit because it's minimal and I'm used to unit testing. A lot of people are jumping on Jasmine, though. It might be more your style if you're into BDD. On Tue, Jan 11, 2011 at 7:21 PM, Bess Sadler wrote: > Can anyone recommend a javascript testing framework? At Stanford, we know we > nee

Re: [CODE4LIB] javascript testing?

2011-01-11 Thread Erik Hatcher
Here at Lucid we've got some Jasmine going on for LWE JS testing. Erik On Jan 11, 2011, at 21:25, Gabriel Farrell wrote: > I like QUnit because it's minimal and I'm used to unit testing. A lot > of people are jumping on Jasmine, though. It might be more your style > if you're into BDD. >

Re: [CODE4LIB] data export help: line breaks on tab-delimited download

2011-01-11 Thread Gabriel Farrell
For future reference, Notepad will only recognize "\r\n", not "\r" or "\n" alone. Also, use Wordpad or Notepad++ instead. Further reading: http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/cba503b1-a0e2-4a64-a970-f735c5bc1c90 http://www.baanboard.com/baanboard/showthread.php?t=9069

Re: [CODE4LIB] javascript testing?

2011-01-11 Thread Robert Forkel
hi bess, i've used yui test [1]. with this tool i still had to visit the page of my test suite manually with a browser, but considering the browser compatibility issues of javascript, i guess you'll have to do this anyway. regards, robert [1] http://developer.yahoo.com/yui/yuitest/ On Wed, Jan 12