It is said that
Friday, August 6, 2010
Packing for Mars?
This is definitely not a book review, just my wild speculations into travel into Mars.
When you travel for cross Atlantic travel, how cozy was it? Seating at one confined place while waiting for long destination has so many side effects. Physical, psychological so and so.
Well, we are talking about months of isolations and painful travel. This should shakedown your enthusiasm for space travel. :P
How about adding some humor to the pain?
It is said that
It is said that
"Pain + time = humor".
"Packing for Mars: The Curious Science of Life in the Void" by Mary Roach should be a good read. I would definitely love to have a chance to read it. Actually, I have added it to my wish list@Amazon. ;) Reviews are saying that there are a lot of LOL moments in the book.
Side note:
Download the pdf to have some idea on how tricky it is to travel to sister planet Mars:
Thursday, August 5, 2010
Bayes' Theorem in \LATEX
I am learning Latex. Using Texnic Center and other similar softwares. I wish that Kile was available on Windows...
Anyways, everytime I start a new file, I have to search for the barebone of the file which needs to be there before anything can be done.
So, here I am collecting some skeleton for latex files:
I think they are free from any (c).
\documentclass[a4paper,11pt]{article}
\usepackage{amsmath} % need for subequations
\usepackage{hyperref} % use for hypertext links, including those to external documents and URLs
\title{Your Title Here}
\author{Your Name here \thanks{Email: adf@gmail.com}
\\University}
\begin{document}
\maketitle
\begin{abstract}
Abstract goes here...
\end{abstract}
\tableofcontents{} % comment: just in case... it can be commented
\section{One}
Here we start...
Oh, why not start by writing Bayes Theorem in Latex ?
... we use Bayesian method to infer the model parameters in question. We learn from the available data. The process of arriving at the posterior from the prior in the light of given data can be accomplished by using Bayes' theorem.
As a general statement, we can state Baye's theorem as follows\\
\begin{equation}
\label{eq:bayes}
P(\theta|\textbf{D}) = P(\theta ) \frac{P(\textbf{D} |\theta)}{P(\textbf{D})} ~~~~~|| I,
\end{equation}
where we have adopted Skilling--Gull convention of writing $I$ as the generally accepted term in the conditionals. The data are represented by \textbf{D} and parameters are represented by $\theta$.
\end{document}
Thanks to the Blogger platform which do not convert latex command into symbols. (That was a satire :P )
Note to self: I believe I have seen Gull using the conditional out of bracket... where, where ???
Anyways, everytime I start a new file, I have to search for the barebone of the file which needs to be there before anything can be done.
So, here I am collecting some skeleton for latex files:
I think they are free from any (c).
\documentclass[a4paper,11pt]{article}
\usepackage{amsmath} % need for subequations
\usepackage{hyperref} % use for hypertext links, including those to external documents and URLs
\title{Your Title Here}
\author{Your Name here \thanks{Email: adf@gmail.com}
\\University}
\begin{document}
\maketitle
\begin{abstract}
Abstract goes here...
\end{abstract}
\tableofcontents{} % comment: just in case... it can be commented
\section{One}
Here we start...
Oh, why not start by writing Bayes Theorem in Latex ?
... we use Bayesian method to infer the model parameters in question. We learn from the available data. The process of arriving at the posterior from the prior in the light of given data can be accomplished by using Bayes' theorem.
As a general statement, we can state Baye's theorem as follows\\
\begin{equation}
\label{eq:bayes}
P(\theta|\textbf{D}) = P(\theta ) \frac{P(\textbf{D} |\theta)}{P(\textbf{D})} ~~~~~|| I,
\end{equation}
where we have adopted Skilling--Gull convention of writing $I$ as the generally accepted term in the conditionals. The data are represented by \textbf{D} and parameters are represented by $\theta$.
\end{document}
Thanks to the Blogger platform which do not convert latex command into symbols. (That was a satire :P )
Note to self: I believe I have seen Gull using the conditional out of bracket... where, where ???
Sunday, August 1, 2010
Bus Resistance of a Code or Program
Last year I was on a training for a operating computations on grid at Cornell. Our instructor from Texas threw a Joke: "Do you know the bus resistance of your code?"
Everyone was surprised to hear the question. The Joke is interesting because it indicates one thing and tells you something else. While some people were thinking of how the string of 1's and 0's that travel through the computer data bus might come across such bus resistance, he explained in a funny way.
Here we go:
Imagine one fine friday evening you are grabbing a beer and walking down the road, and you are hit by a bus. What happens to your code? The next day the project manager decides to give your code to your colleague to continue the project. If your code is not properly commented, he will be completely lost in there.
So, the bus resistance is given by the amount of comments in a code and the readability of your code by someone else.
Let us wish that this happens to no one. However, for the continuity of the project in your lab, your code must have very high bus resistance value.
The moral is: comment your code as much as you can.
Cheers!
Are your codes bus resistant?
Wednesday, July 28, 2010
Congratulations to recent Nepali Physics PhD graduates
Wishing all the best to the recent Physics PhD graduates.
Dr. Hikmat BC
New Mexico State University
Dr. Shyam Badu
University at Albany
Dr. Madhav Neupane
Boston College
Dr. Pashupati Dhakal
Dr. Hikmat BC
New Mexico State University
Dr. Shyam Badu
University at Albany
Dr. Madhav Neupane
Boston College
Dr. Pashupati Dhakal
Boston College
Dr. Mukti Aryal
UT Dallas
Tuesday, July 20, 2010
Collective Behavior in Animals
Feel like yawning? Look around, someone near you might also be yawning!
The so called collective behavior such as yawning might be an urban myth but a recent studies have attempted to model such collective behavior. The modal system they considered consists of an example of collective behavior of cows. Such theories have not been tested it in the real cows, however one should not be surprised to see such studies to be verified in near future.
In a recent work, published in arxiv, Sun et. al. study the collective behavior of animals such as cows. Animals are coupled oscillators. They simply model the cow as coupled oscillator. By considering the discrete states of such animals and by considering such couplings, they study the collective decision bearing of such system.
Specifically, they consider three states of cows: standing, sitting and grazing; say "1", "2" and "3" just for sake of easy symbolization. By coupling the states, they assume that behavior of one is going affect the behavior of nearby ones. So, there is more tendency of uniform state such as 1,1,1,1,1 than 1,2,3,2,1 or 1,2,1,2,3. However, for larger cow population there can be some nice oscillatory behavior between the stable states.
The paper is interesting! Have a look.
Ref:
http://arxiv.org/abs/1005.1381
http://www.technologyreview. com/blog/arxiv/25171/
Acknowledgements are due to the first author for suggests in the draft version of the post and allowing to use the figures.
On the lighter side:
One can see the influence of "spherical cow" on the coupling diagrams. See Jackson, J.D. Third Edition Ch3 problem#15.
The so called collective behavior such as yawning might be an urban myth but a recent studies have attempted to model such collective behavior. The modal system they considered consists of an example of collective behavior of cows. Such theories have not been tested it in the real cows, however one should not be surprised to see such studies to be verified in near future.
In a recent work, published in arxiv, Sun et. al. study the collective behavior of animals such as cows. Animals are coupled oscillators. They simply model the cow as coupled oscillator. By considering the discrete states of such animals and by considering such couplings, they study the collective decision bearing of such system.
Specifically, they consider three states of cows: standing, sitting and grazing; say "1", "2" and "3" just for sake of easy symbolization. By coupling the states, they assume that behavior of one is going affect the behavior of nearby ones. So, there is more tendency of uniform state such as 1,1,1,1,1 than 1,2,3,2,1 or 1,2,1,2,3. However, for larger cow population there can be some nice oscillatory behavior between the stable states.
The paper is interesting! Have a look.
Ref:
http://arxiv.org/abs/1005.1381
http://www.technologyreview.
Acknowledgements are due to the first author for suggests in the draft version of the post and allowing to use the figures.
Fig: Coupled cows.
On the lighter side:
One can see the influence of "spherical cow" on the coupling diagrams. See Jackson, J.D. Third Edition Ch3 problem#15.