1.16.2008

RSS feed reader...

Ok, ok, I know, I'm supposed to be working... but I just had to share...

I've been using RSS feeds to look really smart for awhile now. Most journals have RSS feeds of their tables of contents which update with all the new articles. Sooo... to "stay on top of the literature" I've been using the RSS feeds of the most relevant journals in my field (and the biggies... Science and Nature with their associated "news-y" segments) in combination with saved searches in Safari. This actually works fine, except that the search criterion are a bit primitive and getting logical statements in there is somewhere between a pain and impossible (I recall trying at some point... but I gave up). The other issue is that to check the feeds I end up opening my web browser and well, this snapshot of my bookmarks bar might give you a hint as to where that often leads...



uh-huh... so while in principle this saves me time and makes me look really on the ball, I end up reading your blogs or comics or... you get the point. Also note that the total unread feeds for all the journals I'd like to survey is a whopping 4821. Searching or filtering these with relevant terms is essential to this process being of any help at all.

Also, many dedicated feed readers out there have nice features that Safari does not (because it's primary purpose is to be a web browser... ) so I had looked and looked for a good *free* feed reader some time ago and basically hit the wall when none of the free version had the ability to search.

Until today my friends. Today I stumbled upon the fact that NetNewsWire (for Mac) is now free (the full version, not some "lite" version like before), and it can do all I want it to do.

Now my feeds are in there, organized and filtering out what I really need to know. It's fantastic. And I won't have to open a browser, so as long as I leave the blogs, and comics, and everything else distracting out of there, we are looking at a new era of productivity.

Yipee! :)

Another carnival of GRADual progress up

... and it's a good one. Go check it out.

I particularly enjoyed the bit about a good powerpoint presentation from academhack. Excellent stuff, really.

That is all.

1.14.2008

Note to self: self, wake up.


Dear Physics*chick,

You performance so far this semester has been somewhat underwhelming. While you have accomplished several necessary tasks since your return after the holidays you have seemed generally unmotivated and somewhat disorganized. As you anticipate publishing several papers and getting started on writing your dissertation over the next few months I feel it necessary to encourage you to improve your performance as it will take a great deal more effort to accomplish these tasks than you appear to be applying. This is not meant to be a criticism, but merely a check between your goals and your current output.

Sincerely,

Physics*chick



Thank-you for your concern, Physics*chick. I recognize that I will need to apply myself more intensely if I wish to accomplish my goals. I have already taken your advice and taken action to get going.

Physics*chick


Ok, maybe it's a bad sign that I'm talking to myself, but really, I do seem to be having trouble getting motivated and finding my way through the immense piles of stuff that ought to get done (but has no guiding deadlines). Since I really need to do a bunch of reading and am having most trouble motivating myself to do that I've decided to start with some papers that are of some general interest (ie. outside my field, but of peripheral interest to my field) to me. Maybe then I can get back into the swing of things.

1.08.2008

2008: Year of the Potato

Yup, according the CBC News, 2008 is the International Year of the Potato (among other things).

It's the International Year of the Potato, of sanitation, of languages, and of planet Earth. The potato year, designed to raise awareness of the lowly tuber, already has its own website complete with glowing images of spuds.


Now, potatoes, those humble vegetables, are really one of my favourite foods. I guess this comes from growing up near one of the largest potato producing regions (Prince Edward Islands), securing a constant supply of high quality potatoes throughout my childhood. In fact, one of the things that bugs me the most about living in a large city, is that somehow it seems to be damn hard to get a good potato around here. Black beans? No prob. Potatoes that aren't gone soft? Enhh... maybe.

Here's hoping that the International Year of the Potato will bring it greater prestige and will bring to light the plight of us poor potato-starved city dwellers.

Glory to the Potato!

1.06.2008

We interrupt this celebration for a brief announcement...

i got a goal!!! my very first hockey goal!!!

that will be all. :D

1.04.2008

Happy New Year!


Cheers!, originally uploaded by physics*chick.

2008

The year of the THESIS.


Eek. I actually worked out the LaTeX template yesterday and looked over my outline yesterday.

I wonder how it will go? I generally feel good about it. I'm confident in the collection of stuff I have to put into it. The data is solid, much of it is at least preliminarily analysed. Much of it is published or at least submitted. But what else will I learn? I came up with so many new ideas and interpretations while writing my MSc thesis, I'm kind of curious to see what will fall out this time.

And of course I can't wait to wear the floppy hat. THAT is a bold fashion statement.

And then there is the "I wonder where I'll be next year at this time?" California? Germany? Freezing my arse off in Edmonton? Will I follow the project I can't stop thinking about? Or go for a big name place? It's all exciting, but I'm not so good with uncertainty.

Why does every year seem like a BIG year these days.

Here we go.... Wheeeeeeee!

12.12.2007

Quote of the day: caterpillar blood

Girl I work with says today: "Caterpillars have the weirdest coloured blood of any animal I've squished and looked at."

12.07.2007

Lexan: MEC pulls water bottles

I posted about plastic water bottles a little while ago as it seemed like I was running across more and more information indicating that the Bisphenol-A in Lexan plastic (a common hard, clear, and easily coloured plastic) could be leeching into the water. Lately (in Canada at least) there has been a lot of press about this, in particular with respect to the use of this plastic in baby's bottles.

Today I see that Mountain Equipment Co-op has responded to concerns over Lexan by pulling food storage products made with the plastic until the government provides guidance regarding possible health risks.

While I'm glad to see a company that prides itself on social and environmental responsibility taking some action given the uncertainty about this product, I hope this isn't an example of an over-reaction in the absence of proper information.

I love film


L'Amour embrassant l'Amitie, originally uploaded by physics*chick.

I finally got around to getting my film from Europe developed and actually managed to go pick up the prints. These rolls, especially the black and white, have reminded me again why I love film so much. There is grain, but it is unobtrusive. Really, it only shows up in the very bokeh-y backgrounds of the shallow focal depth shots, the sharp detail is never obscured. The balance of light and shadow is so much stronger. I photograph light, really I do. I think this is why I don't care that I don't have a good flash. I'm rarely moved to take a shot unless I have great light. The sculpture gallery of the Louvre has the most fantastic light. I could have stayed for hours just there sitting in the warm sun and watching the shadows dance off the walls and sculptures.

If you're interested, head over to my Flickr photostream, or directly to my Olympus OM-1 set for just the film photos.

12.03.2007

why i hate computers...

... because they *should* help you automate things, but it never seems to work out that way.

I've been doing data analysis on large batches of data files (100's, not 10's, not 1000's) lately, and while I've written an IDL program to do the fitting, plotting, and output of parameters I need, there remained a few tasks that I couldn't figure out how to automate:


  1. prepare the batch file (unfortunately, the files are not entirely sequential, so it's not that easy to automate... I could pull some trick with getting a file list and going from there... but...)
  2. convert all of the .eps files that IDL outputs to .pdf so that I can actually use/view/print them


I decided not to bother about the batch file, it didn't really take that long, and once made I save it and never touch it again. BUT the only way I seemed to be able to convert the eps to pdf was to open all the eps files in Preview (it converts them on opening) and then save each of them. This is fine for a few eps (or ps) files... but when you have a 136 staring you in the face and know there are more to come... and that each one involves pressing command-w, enter, enter, you want to find a way that avoids causing tendonitis. Seriously.

First I turned to Automator (I'm a Mac user... unfortunately my solutions will be less than helpful for Linux users, and nearly useless for Windows users... sorry!). To be fair, I have actually managed to get Automator to do some useful things recently, but usually my encounters with the cute little robot leave me feeling rather let down. A quick perusal turned up what I thought was true anyhow, that Automator has no built in way to convert eps (or ps) to pdf. I also checked the Apple Automator downloads and Automator World to no avail.

So I thought, hey, I've got unix commands up the wazoo on here, there *must* be one that can convert eps to pdf...

pstopdf

excellent. So I pull up the man page, figure out how to use it, test it on a couple of files, and merrily enter:

pstopdf *.eps

uuh... geeee... that was fast. A quick "ls" showed me why... it only did the first file. Bugger. A bit of frigging around later, it was determined that pstopdf does not take multiple file arguments.

Ok. That stinks, but maybe now Automator can do something for me using the action "Run Shell Script". Yes, that's it, I'll grab the filenames with a "Find Finder Items" input it to "Run Shell Script" to run the pstopdf command, and voila, there will be 136 pdf's waiting for me. Right? Well not so simple, but yes, eventually. The two main quirks I had to overcome were:

  • Apparently at some point the file output and file input of "Find Finder Items" and "Run Shell Script" became mismatched. Oddly this can be solved by inserting a "Label Finder Items" between (you can select none, so it appears to do nothing) which mysteriously does indeed change the file listing in the correct manner.
  • When using the "Run Shell Script" action: do not enter anything into the script box until after you selected how you wish to pass the input from the previous action. That little drop down will insert the necessary script fragments you need to work with, but only if the box is empty. Since I tend to dive in, I of course immediately put my command in before selecting this, and got very frustrated very quickly.
  • Also, since the pstopdf command only takes one input at a time (and I couldn't get it to work with stdin, though the man page claims it should function) I used the "Pass input: as arguments" option and placed the pstopdf command inside the loop with "$f" as the argument where the input file should go. If you have a command that takes multiple inputs, you *should* be able to use "$@" outside the loop.



Long story short, I'll make available to you, the fruits of my frustration, all for the low, low price of *FREE* (err, uhh, and listening to my rant)... better yet, I'll include my other workflows that I've been using:


Since some people were having trouble downloading the workflows above, I've put the workflow to convert eps to pdf and to combine pdfs into a zip file for download: PDFworkflows.zip



Is that all? Oh no... no, no, my friends. I started many hours ago, this morning, with IDL opening into an xterm completely UNCONFIGURED for my needs. Let's look at my "needs":

  1. Something more readable for my not yet caffinated eyes than black on white (I like a nice soothing green on charcoal... reminds me of that old Apple//c we had when I was a kid)
  2. More pressing: a bigger window (ok, I can drag and resize, but sometimes funky things happen when I do that)
  3. And pure luxury would be a SCROLLBAR... yes I like to scroll, especially when I'm running batches of 136 files and I'd like to look at some of that output.


Is that too much to ask? I have my X11 configured to open an xterm that is more pleasing on the eyes, but since IDL launches it's own xterm from a mini-app, and I couldn't find where it actually did that anywhere I was stuck with what it gave me. Until today people, until today. All one needs to do is create a default xterm style you are happy with and then any program launching it's own xterm will use this default style. The trick is simple: create a .Xdefaults file in your home directory. The bits of code I used were:


XTerm*background:grey15
XTerm*foreground:PaleGreen
XTerm*vt100*geometry:160x48
XTerm*scrollBar:on
XTerm*scrollKey:on
XTerm*jumpScroll:on
XTerm*saveLines:500
XTerm*cursorColorBackground:DimGray
XTerm*cursorColor:DarkSeaGreen3
XTerm*highlight:LemonChiffon
XTerm*borderColor:SlateGrey


I got most of the commands from here and there is an xterm color table here. Now it looks like this:



Now go make a beautiful, scrollable xterm and make me proud... I have to believe I didn't waste my day in vain.

And convert some eps files to pdf while you're at it. Hell, convert a whole bunch of them and put them together into one gigantic pdf!

Because today, I got my computer to do what I wanted it to do... It just took a really long time.