Share
It's that time of the year again.
<a href="http://wikimediafoundation.org/wiki/Support_Wikipedia/en"><img border="0" alt="Support Wikipedia" src="http://upload.wikimedia.org/wikipedia/commons/d/d3/Fundraising_2009-square-share-en.png" />
This is not a donation. This is... Admiration.
- Log in to post comments
IOI 2011
Songs and Memories
On Sat, I attended TEDxKrungthep, an independent TED event organized by local TED enthusiasts and the final speaker is Bojo, a choir master. He led all audiences to sing Heal the World by Michael Jackson. The strange thing for me is that, years ago, this is one of songs that I had kept cassette (yes, there is a thing called tape cassette at that time) nearby all the time but somehow, I forgot to include it in my iPhone. It simply get lost in time.
Now, I am trying to remember my old song, and, stranger than before, it turns out that when I try to recall old song, I usually revive some fond memory in the past and there is a strong relation between the song and that memory even though the song and that memory has nothing to share except that it happen in relatively same time. For example, I think of a song "Yesterday once more" and suddenly the memory of me playing Dune II get revive. No, I didn't listen to "Yesterday once more" while I were playing Dune II but the first time I heard "Yesterday once more" is around the same time that I started playing Dune II.
My guess is that, as time goes by, memory loses its fidelity. Only strong emotion event are remembered and then it is compressed by "Packing" with other memory in nearby period, thus there is a link between a song and a game.
It seems like my brain is doing house keeping of its database.
- Log in to post comments
Revisiting Barry Schwartz
- Log in to post comments
Solution to hw00f
[code lang=c] #include #include
using namespace std;
int main(int argc, char *argv[]) { int n; int min,max,val; scanf("%d",&n); min = INT_MAX; max = INT_MIN; for (int i = 0;i < n;i++) { scanf("%d",&val); if (val < min) min = val; if (val > max) max = val; } printf("%d\n%d\n",min,max); return EXIT_SUCCESS; } [/code]
- Log in to post comments
Solution to hw00e
[code lang=c] #include <stdio.h> #include
using namespace std;
int main(int argc, char *argv[]) { int w,h; double hf; scanf("%d %d",&w,&h); hf = h * 0.01; printf("%.3f\n",w/hf/hf); return EXIT_SUCCESS; } [/code]
- Log in to post comments
Solution to hw00d
[code lang=c] #include <stdio.h> #include #include <math.h>
using namespace std;
int main(int argc, char *argv[]) { int h,m; int min; int nm,nh; scanf("%d %d",&h,&m); scanf("%d",&min); nm = (m + min) % 60; nh = ( h + (m + min) / 60) ; nh = nh % 24; printf("%02d %02d\n",nh,nm); return EXIT_SUCCESS; } [/code ]
- Log in to post comments
Semper Fidelis
I am not a student of history nor have ever wished to be one. I lack background knowledge so required to judiciously analyze current event. Moreover, I cannot faithfully say that I understand their desire, their hatred nor their anger. You can be assured that you won’t find any attempt in justifying nor rationalizing the course of current event here. I won’t bother condemn nor praise any decision nor anybody.
I won’t contemplate for tomorrow what the government should do, what the red-shirt should do or what all of us should do. That is something already fallen into the good hands of several intellectual and spiritual leaders of our community. What I know is that these unfortunate, unsought and unmindful events ultimately are something to which I will look back ruefully; because I undeniably take at least some responsibility in nourishing it. Yes, I used to support what yellow-shirts did and, now, red-shirts are doing something similar or so.
Yet again, remorse is not what I want to share with you today. All I yearn to do is to make a wish. I wish that I know a path, a particular one that will bring us all to a philosophical society, a society that treasures understanding of other and us at the top virtue. I sincerely believe that if we understand them, there will be no more them; it will be just us. We won’t see them as someone else but a fellow Thai people who simply wish for well-being. We won’t utter belligerent tone that separates them from us. We won’t call them non-Thai, unpatriotic, wretched soul or any things of sort.
I will brand myself a hypocrite if I don’t admit that, right now, while punching a keyboard, a big portion of my thought still hate them, don’t understand them and wish them all hell. Ironically, even though we call ourselves “homo sapiens”, i.e., "wise men", we still act out of clouded judgment, or worse, purely instinct. However, I hope, faithfully, truly, and constantly that someday, I will find the path that would make me someone I wish I should be.
Always Faithful, Nattee Niparnan
- Log in to post comments
Diet Diary #53 -- #69
Last two weeks were very busy one for me. I DID keep track of my weight but couldn't record my eating. Eating time is totally lost. Here is the best that my memory could serve.
1 May 2010, Sat
morning weight: 82.0 kg
completely lost track of meals.
2 May 2010, Sun
morning weight: 82.3 kg
BF: 2 Bananas + water Lunch: ข้าวราดแกง Dinner: นิตยาไก่ย่าง
Bo's father-side grandma passed away today.
3 May 2010, Mon
morning weight: 82.6 kg
BF: 2 Bananas + water Lunch: can't remember 20:00 Dinner: กระเพาะปลา @ grandma's funeral.
The first day of funeral. Today is also a substitute for Mayday so Bo was could help with the funeral for the whole day. Government section (including Chula U) is on a working day.
4 May 2010, Tue
morning weight: 82.7 kg
BF: 2 Bananas + water Lunch: can't remember 20:00 Dinner: ก๋วยจั๊บ @ grandma's funeral.
5 May 2010, Wed
morning weight: 82.0 kg
BF: 2 Bananas + water Lunch: Salad 20:00 Dinner: เกี้ยวน้ำ @ grandma's funeral.
6 May 2010, Thu
morning weight: 81.6 kg
BF: 2 Bananas + water Lunch: Salad 20:00 Dinner: ข้าวต้มหมู @ grandma's funeral.
7 May 2010, Fri
morning weight: 81.5 kg
BF: 2 Bananas + water Lunch: Salad 17:30 Dinner: โต๊ะจีน @ grandma's funeral.
This day was กงเต๊ก day for grandma. The ceremonial ended at almost midnight.
8 May 2010, Sat
morning weight: 81.2 kg
BF: 2 Bananas + water Lunch: โต๊ะจีน @ grandma's funeral. Snack: ซาลาเปา, บัวลอย Dinner: ครัวกลางกรุง (Big Meal)
Burial ceremony at สระบุรี took the entire day since the morning. We left mourning ceremony traditionally at the end of the day.
9 May 2010, Sun
morning weight: 82.0 kg
BF: 2 Bananas + water Lunch: โต๊ะจีน @ grandma's funeral. Snack: ซาลาเปา, บัวลอย Dinner: ครัวกลางกรุง (Big Meal)
Burial ceremony at สระบุรี took the entire day since the morning. We left mourning ceremony traditionally at the end of the day.
10 May 2010, Mon (my birthday)
morning weight: 82.3
09:00 BF: nothing 13:00 Lunch: can't remember 18:30 Dinner: can't remember
I and bo and her mom and dad went to La Toscana resort at Ratchaburi. Didn't bring the scale with us.
11 May 2010, Tue (my birthday)
morning weight: 81.6
09:00 BF: 2 Banana 13:00 Lunch: Italian cuisine @ La Toscana 18:30 Dinner: Steak @ The Scenery (Big Meal)
I and bo and her mom and dad went to La Toscana resort at Ratchaburi. Didn't bring the scale with us.
12 May 2010, Wed
morning weight: --- no scale ---
09:00 BF: 2 Banana + all-you-can-eat American breakfast (Big meal) 14:00 Lunch: ไก่ย่าง ส้มตำ ข้าวเหนียว & etc (Big meal) 18:30 Dinner: none.
On the way back from La Toscana, we stopped at Northeastern restaurant near ไร่ขิง temple and had another big meal for lunch.
13 May 2010, Thu
morning weight: 82.1
09:00 BF: 2 Banana 12:00 Lunch: Seafood at Hua-Hin 15:00 Tea Break 18:30 Dinner: all-you-can-eat Thai buffet (Big meal)
I didn't gain much weight from eating spree at La Toscana.
My department had a 3-days seminar at Keree-Waree resort & spa at Prachuap Khiri Khan. Traveling time is 6 hours on bus!. Didn't bring the scale with us.
14 May 2010, Fri
morning weight: --- no scale ---
09:00 BF: 2 Banana + all-you-can-eat American breakfast (Big meal) 10:30 Tea Break 14:00 Lunch: all-you-can-eat thai buffet (Big meal) 15:00 Tea Break 18:30 Dinner: Seafood BBQ (Big meal)
The last night at Keree-Waree, we had Seafood BBQ. No need to tell, I ate a LOT!.
15 May 2010, Sat
morning weight: --- no scale ---
09:00 BF: all-you-can-eat American breakfast (Big meal) 14:00 Lunch: all-you-can-eat thai buffet 17:00 Snack: lots of snack + ซาลาเปา 20:00 Dinner: ผัดไทย + หมูสะเต๊ะ
Finally, we came back from Keree-Waree. That marked the end of all-you-can-eat. I felt very chubby.
16 May 2010, Sun
morning weight: 82.7 kg
10:00 BF: 2 Bananas + water 14:00 Lunch: Salad (450g) 17:00 Snack: Mark & Spencer biscuit. 18:00 Dinner: ข้าวเนื้อสับ + ลูกชิ้นหมู @ ต้าหว่อ Max Value
Pretty shocked by the weight but it was expected. Bo had seminar on this day. I went to visit my mom and my grandma.
17 May 2010, Mon
morning weight: 82.6 kg
08:30 BF: 2 Bananas + water 14:00 Lunch: Salad (450g) 18:00 Dinner: ครัวกลางกรุง (Big Meal) 19:00 Snack: ขนมหม้อแกง
Red-shirt riot. All government office closed today, including Chula U.
- Log in to post comments