Warung Bebas

Rabu, 26 Januari 2011

And my heart filled with joy

Yesterday I went to get a soda and passed by a group of young women, one of color, sitting around chatting. Having never seen them before I figured they were from a nearby (non-science) department, but then I started hearing snippets of their conversation -

"-- and I can't believe he's teaching it in Java."                            
"I know, what a ridiculous language to use for this material."

That's my kind of talk!

(Well, actually, I love Java, but you know what I mean).

still undecided.

i was so going to play it safe and go white....i had my mind made up.  i talked to my mom; she said white.  i saw this pic on brad ford's website and i thought....yep that looks fab (as if i could compare that kitchen to my own).
and then i saw these on his site.....and now i am back on greige.  i have a problem: it's called, i seriously cannot make up my mind for my own house.  it's pitiful (my husband told me to quit playing it safe w/ white...well maybe not that politely- he might have told me to grow a pair).  two days until the painter calls asking my color.  yikes!  do you have a favorite griege color??!


i also got this pic from my FAVORITE lighting company, urban electric, this AM....it's now my inspiration for my hallway.....i don't know if i can talk warren into painting the floor but i love it and the lights are killer.

i love browsing that site....it's full of inspiration.  hello, i love this light.  she needs to live in my house....
happy hump day!  off to stare at paint chips on my super bright kitchen walls....

Selasa, 25 Januari 2011

Mobile Scholar: Part 3

I've thus far written two posts on how to turn my iPad into a computer. I am doing this both because I am too stingy to buy a MacBook Air and too stubborn* to give up.

My number one "killer app" has been the ability to work on papers from anywhere using LaTeX. I am now able to fully do this (provided the iPad has an internet connection). Here are step-by-step instructions for anyone interested in trying:

Step 1: Get Dropbox

This first step is very easy. Dropbox is cloud-based storage that works on every device under the sun, and is really, really fantastic. It's free up to 2 gigabytes, and you get 500 mb for every friend you invite. Unless your papers tend to have gigantic graphs and images, it's likely you'll never come close to that 2GB limit.

Step 2: Start your LaTeX paper on your computer

If you're familiar with LaTeX, this is also straightforward. If you are new to LaTeX, there is a bit of a learning curve but a lot of help out there. In particular, I highly recommend Lyx, which is a cross-platform WYSIWYG editor.

Get everything set up - your bibliography file, tex file, etc. Save it all to your Dropbox folder.

Step 3: Get latexmk going

Latexmk is, by far, the most brilliant piece of software ever written, ever.  If I could write a love letter to its author, John Collins, I would.

What this program does is sit happily in a directory watching for changes to any changes to your tex files... or any associated files (e.g., .bib files)... OR, any other tex files that your main paper references (e.g., chapter1.tex, chapter2.tex).

What does this mean? This means you can have something watching your dropbox folder all day and all night and automatically recompiles your pdf on the fly. Now we're gettin' somewhere.

I believe latexmk is now bundled with all the major TeX distributions. To run it, the magic command you want is:
    % latexmk -pdf -pvc mypaper.tex

Step 4: Get Tex Touch

Tex Touch is a program that lets you edit LaTeX files on your iPad.

I have to tell you, I am not deeply in love with this program because it is extremely clunky for a $9.99 app. (No multitasking support, sometimes crashes, has no syntax highlighting). BUT, it does the one thing no other piece of iOS software does - it understands the LaTeX workflow and syncs to Dropbox. It also sports an easily accessible and well-designed symbol editor so you don't have to go through 18 soft-keyboard screens to find an α.

Step 5 (Maybe?): Get Mendeley

I have Mendeley Lite on my iPad, and while it is also pretty clunky at least it's functional. While writing I can search my bibliography, export a citation in bibtex format (using the web view), plunk it into my .bib file in Tex Touch, and voila. A Mendeley -> DropBox .bib connection would be really nice, and if Mendeley opens up their API maybe I'll write one. In any case, I have high hopes for the Pro version of their iPad software.

That's it! I still would like offline compilation of LaTeX source on the iPad, but I figure by the time someone writes that I'll have bought a MacBook Air. :-)

Happy writing. If you end up trying any of this (or have any suggestions/questions), please drop a comment - I would love to hear how things have worked for you.

----
(*) Something that occurred to me recently - possibly one of the best skills you can have as a computer scientist is stubbornness. If you are tenacious and keep trying lots of different things and talking to lots of people until you can get something to work, you will do well in this field. Even if you can't get something to work in the end, just going through the process of trying is a great learning exercise.

Senin, 24 Januari 2011

Art + Multimedia

In December we visited a lecture about interaction between arts and sciences, namely between (primarily) visual arts and (again, primarily) multimedia studies (Russian page). The lecture was given by Asya Ablogina, who turned out to be a nice girl. Although she lacked any technical background, she was doing well. Surprisingly, there is a lot of artwork that exploits technical support in a witty manner, which I was unaware of, so the lousy stuff exhibited in the Moscow Museum of Modern Art is not everything one can do in this field!

The most interesting part was Asya's exposition of some masterpieces. Most of them were presented during 2009 Science as Suspense exhibit in Moscow (Russian). Nicolas Reeves is a famous Canadian architect, also known for his work on modelling biological systems. He used the output of biologically-inspired computer algorithms (such as genetic algorithms) to draw pictures. In Moscow he presented a project called Marching Floating Cubes: massive but light cubes float in the air. Their movements are controlled by tiny fans, although any little gust of wind can affect the movement. Each cube is equipped with an on-board computer, which helps to avoid collisions. The implemented algorithms are simple but stochastic, hence the behaviour is unpredictable. They are said to move like animal creatures. Here is the video:



A similar project was developed by Paul Granjon. He also tries to gift robots with animal behaviour. In the video below, robots are sexed, i.e. they are able to locate robots of the opposite sex and eventually end up in coitus. Another Paul's robot (the Smartbot, photo) creeps over the restricted space and always grumbles (just like Marvin!). I also enjoy the way Paul speaks:


The real idol in the sci-art community is Stelarc (see also his homepage, although it takes balls to get through the welcome page :). His talent is recognized by both scientists and artists (it is enough to mention he's an Honorary Professor of Arts and Robotics at Carnegie Mellon). He's best known for his experiments on his own body. For example, during a performance he allowed to control his body remotely over the Internet by muscle stimulation. Probably his favourite project is Prosthetic Head, which is in fact a 3D model of his own head. The head is learned from Stelarc's behaviour and speech, so it is able to communicate with people using colloquial information as well as non-verbal cues. It is interesting to try it in practice, but here is just a non-interactive demo video:



Stelarc is probably the only person on Earth who has three ears. In 2007 surgeons implanted an ear into his arm! It is not functioning now (just a piece of skin), but he plans to install an audio receiver into the ear and broadcast everything he hears over the Internet. I definitely recommend to look through his projects, there are decent ones.

Asya also presented her own works. She focus on different photographic techniques such as overexposure. Here are photos from her project Canvas of the Road compiled in a video. There is a play of words in Russian: the single word for canvas and road surface. On these photos car traces look like painter's strokes:


Another Asya's project is a short film series called Habitat. She showed only one episode with the title Habitat: MSU Main Building. The film was about a girl who is a PhD student in Moscow State University and described her place: a standard 8 sq.m. dorm room. The narrative was full of expressive epithets and metaphors about that awful room: the girl felt like in a cage, she also didn't like shared bathroom, etc. It's funny, because I live in a similar PhD student single room, and I'm quite happy with it, since I've been living 5 years in a shared room before. :)

The second lecturer, Vladimir Vishnyakov, presented his project called The Museum of Revived Photography. He used the photos of the XIX century to create image-based animation. The idea is technically simple: first segment people from the background, then use inpainting techniques to restore the background behind them, and animate the movements, but Vladimir referred to a programmer he works with as a real genius. In fact, all the stuff I post here varies from easy to moderately complex (except of Stelarc's projects), so you can do something similar too. The main problem is to come up with the concept. Come on then! ;)

Blinded Wheat Challenge

Self-experimentation can be an effective way to improve one's health*. One of the problems with diet self-experimentation is that it's difficult to know which changes are the direct result of eating a food, and which are the result of preconceived ideas about a food. For example, are you more likely to notice the fact that you're grumpy after drinking milk if you think milk makes people grumpy? Maybe you're grumpy every other day regardless of diet? Placebo effects and conscious/unconscious bias can lead us to erroneous conclusions.

The beauty of the scientific method is that it offers us effective tools to minimize this kind of bias. This is probably its main advantage over more subjective forms of inquiry**. One of the most effective tools in the scientific method's toolbox is a control. This is a measurement that's used to establish a baseline for comparison with the intervention, which is what you're interested in. Without a control measurement, the intervention measurement is typically meaningless. For example, if we give 100 people pills that cure belly button lint, we have to give a different group placebo (sugar) pills. Only the comparison between drug and placebo groups can tell us if the drug worked, because maybe the changing seasons, regular doctor's visits, or having your belly button examined once a week affects the likelihood of lint.

Another tool is called blinding. This is where the patient, and often the doctor and investigators, don't know which pills are placebo and which are drug. This minimizes bias on the part of the patient, and sometimes the doctor and investigators. If the patient knew he were receiving drug rather than placebo, that could influence the outcome. Likewise, investigators who aren't blinded while they're collecting data can unconsciously (or consciously) influence it.

Back to diet. I want to know if I react to wheat. I've been gluten-free for about a month. But if I eat a slice of bread, how can I be sure I'm not experiencing symptoms because I think I should? How about blinding and a non-gluten control?

Procedure for a Blinded Wheat Challenge

1. Find a friend who can help you.

2. Buy a loaf of wheat bread and a loaf of gluten-free bread.

3. Have your friend choose one of the loaves without telling you which he/she chose.

4. Have your friend take 1-3 slices, blend them with water in a blender until smooth. This is to eliminate differences in consistency that could allow you to determine what you're eating. Don't watch your friend do this-- you might recognize the loaf.

5. Pinch your nose and drink the "bread smoothie" (yum!). This is so that you can't identify the bread by taste. Rinse your mouth with water before releasing your nose. Record how you feel in the next few hours and days.

6. Wait a week. This is called a "washout period". Repeat the experiment with the second loaf, attempting to keep everything else about the experiment as similar as possible.

7. Compare how you felt each time. Have your friend "unblind" you by telling you which bread you ate on each day. If you experienced symptoms during the wheat challenge but not the control challenge, you may be sensitive to wheat.

If you want to take this to the next level of scientific rigor, repeat the procedure several times to see if the result is consistent. The larger the effect, the fewer times you need to repeat it to be confident in the result.


* Although it can also be disastrous. People who get into the most trouble are "extreme thinkers" who have a tendency to take an idea too far, e.g., avoid all animal foods, avoid all carbohydrate, avoid all fat, run two marathons a week, etc.

** More subjective forms of inquiry have their own advantages.
 

ZOOM UNIK::UNIK DAN UNIK Copyright © 2012 Fast Loading -- Powered by Blogger