Showing posts with label science. Show all posts
Showing posts with label science. Show all posts

Wednesday, June 25, 2014

Research is Different

This is how lab seems sometimes:

Person1: "To make your system go faster, you should use method Z, I believe person 2 has written an implementation of it"

Person2: "I am working on an implementation of X, but it isn't finished yet. Person3 found a bug in method Y that I need to use, so you should ask them"

Person3: "Yeah, method Y uses method Z, but method Z gives different answers depending on if you use CPU or GPU, and neither is correct. I don't actually know anything about how method Z works"

Person1: "Well, you could use Method X instead, person4 worked on it"

Person4: "Yeah... it doesn't work yet"

Person1: "Maybe Method W?"

Me: "It's written in a completely different language... :(((("

Life is fun though. I am enjoying the detective aspect of searching through code and  documentation filled with "TODO"s and "Writeme"s. At school, we use established programming languages for which we can easily find complete documention online and answers to questions on Stack Overflow. At my lab, part of the lab’s contribution to science is building a system to easily set up Machine Learning experiments. This system is always being added on to, and each lab member has their own private version of the system, so nobody actually knows how everything works. If someone writes a useful add-on, they try to get it merged into the official version. However, because we are all human and communication is hard,  multiple people end up trying to write similar things independently, and a number of features don’t get finished or don’t work. Life on the edge, man.


Saturday, March 30, 2013

Fountain Pens!

A couple weeks ago in chem lab, I noticed that my lab partner was writing in her lab notebook with a fountain pen. A fountain pen?? I thought those had died out decades ago! But no, she was writing with a bona fide fountain pen. It was beautiful.

For a week starting that afternoon, I spent all my free time researching fountain pens on the internet. My lab partner had recommended gouletpens.com as a good source of pens, ink samples, and information. From there I found a whole fountain pen community on the internet. There are forums, blogs, stores... All the things I had come to expect from the internet foodie community, I found for fountain pens. I learned about proprietary cartridges, cartridge converters, and converting cartridge pens to eyedropper pens. I saw a range of 3 dollar disposable fountain pens to pens worth hundreds of dollars and inlaid with Japanese lacquer. 
From pens I went to paper, and I read about super smooth French Clairefontaine paper that weighs 90g per square meter. I read at least 30 various notebook reviews. I found writing samples of different pens and inks on different papers. It was an obsession.

Finally, I deposited my paychecks and bought everything I needed to start my fountain pen experience: a $4 Fine Platinum Preppy, three ink samples (Noodler's Blue-Black, Private Reserve Purple Ebony, and Rohrer & Klingner Alt-Goldgrun) and a Clairefontaine notebook. 

The Platinum Preppy
The Preppy's nib
The Preppy came with a cartridge of purple ink.
After reading about the ink that comes with the Preppy and being disappointed by its quality, I decided to not use the cartridge right away.  Instead, I did an "eyedropper conversion" so that I could use better inks. I got some silica grease from my lab partner and now I use the barrel of the pen to store ink! I used a syring to fill the pen with Noodler's blue-black ink.

2mL ink samples from Goulet Pens
10mL blunt tipped syring for dispensing ink
Now I had a working pen! Writing with a fountain pen is cool because I barely need to put any pressure on the paper to write. The ink just flows. Naturally, I then needed to test this pen everywhere. I first tried out the fancy French paper.
Clairefontaine's A5 "Basic Life. Unplugged" Notebook
It is clothbound!
Clairefontaine paper is well known in fountain pen circles for its smooth surface and absorbance. It is supposed to have minimized feathering (little spikes around lines) and minimized bleed through. I was not disappointed. I tested the paper with all the pens I could find in my room:
Various pens
No see-through!
A cool part of using fountain pens is shading. Shading is the effect of having different parts of letters have different amounts of ink. On the picture below, some strokes are lighter and more blue/green, and others are closer to black.


Close ups of the various pens are here

I also used my fountain pen on more standard papers. My "Evidence Ampad" recycled paper notebook actually fared very well. It had little bleed through although it did have some feathering.

Thin printer paper did not have as smooth strokes. Notice the feathering on the f. 

In conclusion, the platinum preppy is a fun pen to use, the ink I got has pretty shading, and fancy paper is nice but not necessary. However, I do find the lines a bit thick. After a bit of research, the most thin but reasonably priced fountain pen I could find is the Pilot Penmanship with an Extra-Fine nib, it is the next pen I will get. It has a nice looking clear barrel that could be converted to an eye-dropper pen, although I might get a cartridge converter to keep it cleaner. Cartridge converters are basically refillable cartridges that can be used with any ink.  

Now I want to go back to writing on random different types of papers with my Preppy pen :)

(Actually, I'm going to work on chem homework...)

Sunday, February 24, 2013

Orange Peels and Liquid CO2






This post is not about food. Well, it not about eating food. Although eating did happen. This post is about Science. With a capital S.

This post is about a molecule called limonene. As you may be able to guess from the name, limonene is what makes citrus fruit smell cirtusy. It looks like this:
limonene
For my carbon compounds lab, we extracted limonene from orange peels. If you know anything about organic chemistry, you can see that limonene is made only of carbons and hydrogens. So, it is rather non-polar*. The traditional way to extract limonene is to mix watered orange peel mush with diethyl ether. The diethyl ether is less polar than water, so the limonene goes hangout with its bat-shaped buddy. Then you let the layers separate, like oil and water, and keep just the diethyl ether layer. Yay! But now your limonene is floating around in anesthetic diethyl ether, so you pour your solution into this cool spinning vacuum pump that vaporizes the solvent to purify your limonene.
diethyl ether (see, it looks like a bat!)
* A "polar" molecule is one with an uneven distribution of electrons such that one side of the molecule is more negative than the other. This happens because the elements to right side of the periodic table (O, Cl, etc) tend to be more attractive to electrons than elements to the left, like C and H.

Getting limonene is all very great, but you used a fair amount of solvent that must now be disposed of as hazardous waste. This is expensive and not very green. What to do?

Enter carbon dioxide:
carbon dioxide
As you can see, carbon dioxide is a linear molecule, so even though the oxygens pull on the electrons, they cancel each other out and neither side of the molecule has a higher electron density than the other. Therefore, CO2 is non-polar. CO2 is also a gas, which makes it not very convenient for dissolving things. However, if you look at the phase diagram below, you can see that we can get liquid CO2 by raising the pressure. 
CO2 phase diagram (from wikipedia)
To recap: carbon dioxide + pressure = liquid carbon dioxide. liquid carbon dioxide + orange peel = extracted limonene.

Here is the set up for the extraction:

I zested an orange.

With a copper wire and some filter paper, I set up a little stage for the orange peel to be elevated above the bottom of the centrifuge tube.

I packed dry ice (solid CO2) above the orange peel, capped the tube and dropped it into hot water. 
Here pressure builds up in the tube and the carbon dioxide melts, dribbles through the orange peel, taking limonene with it. Since the cap's seal is not completely gas-tight, the carbon dioxide finds ways out and vaporizes, leaving limonene at the bottom of the tube. 
I repeated steps 3 and 4 four times to build up limonene at the bottom.

Now I have limonene without generating any hazardous waste! Yes, carbon dioxide is a greenhouse gas, but the dry ice was made from CO2 that was already in the atmosphere, so there is no net harm. 

Here is a video of the dry ice melting:

Of course, at the end of the lab period, we all ate our oranges!