Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

09/29/2011 11:06 #55215

I started an online notebook
Category: goals
I think different people have different methods of retaining what they learn. I asked Paul how he keeps notes on the code he writes and he told me he memorizes it and writes notes INTO the pieces of code, probably as comments.

That's good coding practice. But it doesn't help me when I have forgotten where I have used a particular structure or syntax. Since I am not building websites, but rather analyzing data, there is no predictable flow to the code.

Data processing tricks in my repertory need to change with every new data manipulation I want to do and I can't remember what tools I used for each single variable very well. I have found that I learn the most when I take the time to consciously analyse if my mind has absorbed the concepts by writing it down.

I considered using (e:strip) as my code notebook because I wanted to keep everything together. But it does not handle code well. Back and forward slashes produce wonky results. Characters don't escape well even with the code box. The code box itself is a fixed size. I always work in big wide screens and don't see it changing so I also wanted my notebook to have a very generous text area and very little of anything else.

All of these criteria are met by:


I still wish I could do that on (e:strip) though. As my life gets to be more about how to successfully survive in academia, I can distinctly see how that blog will get more entries per week than this one in the near and distant future if I stay on course. But of course, I don't see how I can I wax eloquent over trivia, veggies, food and the side effects of medication in between R, LaTeX and Perl, so maybe that blog does need to be separate.
tinypliny - 10/07/11 18:47
Its gone now. (e:strip) is my notebook from now on and google docs. I didn't like Tumblr so much anyway. their search never worked. Sour grapes.
paul - 09/29/11 23:34
I can't remember back that far.
tinypliny - 09/29/11 23:33
Its more challenging because I have ZERO coding background and have taken no real "programming" classes. I have no concept of what programming involves or even any of the conventions. It's like learning an alien language with no concept about grammar or even semantics. I had SAS classes in before, but SAS is pretty lame in that its not very flexible and encourages code copying without thought.
tinypliny - 09/29/11 23:30
For now, this is all about how to get familiar and remember how I am doing and learning the code... For example, can you remember how you learned things when you were first starting out before you wrote all the extensive code?
tinypliny - 09/29/11 23:29
I guess this is my first really extensive interaction with the language so what you suggest might be possible say, next year or with more experience with more datasets.
tinypliny - 09/29/11 23:27
% you need to work on making it more generic

Yes, I think that is the concept of writing functions in R. The thing is I can only make it as generic as my data structure allows me to. Every dataset is different because they come from differently designed questionnaires. In traditional epidemiology, there are a million and one questionnaires that ask for information in a trillion different ways. Making one generic breaks the other. That is why there are more generic functions for genetics and bioinformatics than for epi. The data is more globally similar in terms of structure and context. It sometimes makes me mad about how subjective data collection in epi can be... Cleaning it all up is a nightmare.
paul - 09/29/11 23:14
Looking at your blog that is the kind of thing that should be on an R site. Thats why I love the online PHP manual :::link::: Its community driven.

What I meant by "in the code" is building libraries with documented code that does stuff. For example, if you write a really great routine for processing information, you need to work on making it more generic so that it will work in more place instead of just solving one problem. I mean that is not always possible but that is the essence of building a code library.

09/29/2011 10:12 #55213

Not in Control
Category: whine
I woke up today with the most excruciatingly severe throat pain. I had a couple bowls of that squash soup and 400 mg of ibuprofen.

Now the ground is spinning as I type this and my peripheral vision has an extraordinary sense of movement.

I hope to goodness this won't be a repeat of the benedryl drama. I know I am not the biggest of people but common doses of medicine have the weirdest effect on me. The kid dose of 9-10mg/kg comes to around 42 X 10 = 420 mg. I am 20 mg under the kid dose.

And I have dizziness. It is so ludicrous that on the very rare occasions I HAVE to take medicines, ALL the frustrating side effects come on to haunt me in full force. I mean who gets dizzy with ibuprofen, one of the most common NSAIDs?? ME. Arrrgh.
matthew - 09/30/11 11:58
Yeah, people at work. And its all over Facebook, it must be an epidemic!
metalpeter - 09/29/11 19:50
One would think that cold stuff like a gallon of Ice Cream would make one feel better with a burning throat but that isn't all ways the case... Just like hot stuff doesn't all ways make it worse.... Hope you get better soon....
tinypliny - 09/29/11 19:36
Actually, I thought the floor was uneven in the morning. I have got sicker since then. Now my throat feels as if its on fire unfortunately.
metalpeter - 09/29/11 18:33
Think it is the cough syrup.... Some of that stuff can be pretty wicked I can't drink it my self it gives me the shakes (I have to take it in pill form) Hard for me to keep it down. Not sure how high you are by or what floor you are on ha... But I also wonder if medicine makes it so some of what you feel is a result of the building moving... Normally you wouldn't feel it but with being sick and with the meds you get hypersensitive ? Again it could be a symptom... Some medication does have lots of alcohol in it... I know when I have had to much and I try to sleep the second my eyes close it feels like the room is spinning so maybe it is some form of that?
tinypliny - 09/29/11 14:48
Nastiness Update: I now have a nice phlegmatic pain AND a sore throat. I hate this. It's making me intolerant, sickly and pessimistic.
tinypliny - 09/29/11 11:50
Whoa, really? Who else has these symptoms? Are you seeing it at work, (e:matthew)?

I didn't feel dizzy till after I took the ibuprofen. So I attributed it to the medicine. It's been a couple hours now. Things are not that unstable but they are still kind of wobbly. I also drank some guaiphenesin (expectorant) + dextromethorphan (anti-cough) meanwhile.
matthew - 09/29/11 11:38
I hope you feel better soon. Maybe the dizziness is a symptom of your illness? I know of quite a few people who have been complaining lately of sore throats, dizziness, and an over all feeling of crappyness. It seems to happen whenever the seasons start to change.

09/28/2011 22:39 #55212

Squashed!
Category: eating in
The Acorn Squash is hands-down my most favourite squash among all the other squashes.
image

I just made a roasted acorn squash soup with shredded coconut, tomatoes, red onions, moong dal, ginger, dried red chilles, cumin, asafoetida powder and dried curry leaves in 17 minutes.

A new record. Take that, rice cooker!

I always have a timed (and rather unhealthy) competition with my rice cooker. While it steams the beans or lentils or some other staple, I chop and hustle to finish before it can. 80% of the time, its a tie between us, it wins 15% of the time. Today was my croaky and gloaty 5% win!

And victory was tasty! :-)


Acorn Squash shot from Mango&Tomato: I don't own that kind of photo equipment!
enknot - 10/05/11 14:54
I want this soup. I want it. now. (or at least a recipe)

09/26/2011 07:39 #55197

The weekend is past.
Category: the odes
I worked almost 24/7 and yet I don't feel like I am getting even close to where I wanted to be by this time.

And I didn't get to make that bread from cookbooks 101 because there was no time after endless iterations of analyses and endless bug fixing of my 60+ variables. I thought maybe I was just obsessing, but you have to be obsessive when it comes to data. One small mistake in coding and the data is telling you something else.

image
This is exactly how it feels like. I am not even sure where I am on that pile of unfinished work.

I want some magic to happen this week. I want to suddenly get very efficient at coding R or fluid in LaTeX or extremely good at coming up with insights on my dataset or just maybe finish everything I need to finish very soon. I am going to try and help myself very intensively this week.

09/24/2011 09:06 #55188

Who needs an alarm clock...
Category: the odes
When a good dose of panic wakes you up at 4:30 every morning.

image

Paul: When are you done
Me: I am never done.

NB: Click on the alien for the perfect simulation of how I wake up everyday.
tinypliny - 09/29/11 04:58
No I didn't make that alien. I found it somewhere. I am not sure where. They are all over the place. If I had made it that would not be the shade of green I would have preferred. :)
heidi - 09/24/11 11:36
Hmmm... internal struggle list, (e:tinypliny,55176) Relax! I think overall this message to yourself was about gaining some kind of balance. Panic is a whole lot easier to deal with when you have enjoyable things to look forward to, when your basic needs for social contact and relaxation are attended to. Having boundaries about your work will help you be more efficient while working and procrastinate less. Go play!
metalpeter - 09/24/11 10:43
That is wild.... Have a shot of Jagermester and smoke a joint that will calm you down...HA... Or stay up till 4am ok maybe 3am dancing at the club and bring something home that will keep you mellow...HA.... You get up seriously about the same time I get up or try to... On a serious note again I don't know if it will help or not but some teas can from what I have heard help and will give you trippy dreams.... Guessing though they have to be with out caffeine ?
paul - 09/24/11 09:15
Did did make that alien?