DebConf 11 – Day Trip

Yay ! The day for a trip in Banja Luka :D The weather was great too ! It was the first sunny day since we came here. It was a short trip to a place called Krupa na Vrbasu. The tour leader gave us a brief information about Banja Luka. Banja Luka is the 2nd largest city in BiH, and is the capital of the republic of Srpska. Approx. 250,000 people live in Banja Luka. There are more women than men. Actually, the men-to-women ratio here is 1-to-7 !! This is mainly because there were many wars in this country.

Arrived at Krupa na Vrbasu, we went to the 13th-century orthodox monastery here, then walked through a forrest to a small waterfall. Then, had a barbecue lunch at a restaurant. The place we had lunch is also popular place for rafting. Some may go for rafting here too. I don’t like water sports that much. So, I skipped. Instead, we had good chats with people from Japan, and Taiwan. It was fun exchanging experiences.

I have learned from a japanese guy that bash has special /dev for creating TCP/UDP sockets , e.g, /dev/tcp/<host>/<port>. So, we could do something like

cat < /dev/tcp/time.nist.gov/13

to access daytime service on port 13/TCP at time.nist.gov, just like any other simple TCP client socket, but without coding! Cool!

Finally, we went back to the hotel. I cleaned up my code and my messy git (dang!), then had dinner. We joined the table with Christian, who ran back from the restaurant to the hotel. That was half marathon at least, or full ? .. I don’t know. But it was some distance by running. Gosh !

About organizing DebConf somewhere in Asia. Japan and Taiwan also planned to organize DebConf too (may be in 2014 ?) At least, Japan will organize mini-DebConf soon. Chances are that they will do DebConf things before Thailand. They have strong local teams, local DDs, and local users. DebConf in Thailand is possible, but it’s very hard. We basically have nothing to support the proposal/bidding. But, at least, for the first step, we have attended the DebConf 11.

Mini-DebConf is more likely. We should start with mini-DebConf, before DebConf anyway. When would it be ? Well, it depends. If we really really want to do this, and there is a local team that commits on this job, I guess November or December this year would be the time. Bangkok would take priority for the venue.

Let’s see.

DebConf 11 – DebConf Day 2

There are jobs I got via mails from Thailand and I have to finish some. I also had to phone (Skype) back to Thailand. So, hell, I cannot concentrate on all the talks. (Actually, for today, I planned to be in a hacklab!)

Christian and Andrew came to have a little chat with us about the idea to organize DebConf in Thailand. This is my first DebConf, and things are very luxurious somehow – Opera/theater-like auditorium, 4-star accommodation (the best in town actually), kinds of things. Christian may not want me to misunderstand by these. He told me that in the previous DebConfs, venues were not this great. Accommodation would be student dorm. DDs are not that demanding. He said somewhat like mini-DebCamp in Khon Kaen would also fit well (sure, it has to be 10x scaled up). The main requirement would be making all easy for hacking ! So, distance between accomodation-hacklab-auditorium should require just a few minutes of walk. And, of course, it would need fast-and-reliable Internet connection(s) ! Finally, he told me that I should subscribe debconf-team ML, did it almost immediately.

Christian said I must have a "reliable" team to do this. They must commit on the jobs. From what I could see, 2014 would be the fastest possible to have DebConf in Thailand. Yes, it’s next 3 years. But, this is very short, enough to feel that we will miss it ! And, If we really want to organize DebConf in 2014, we have to prepare now! Then, we could propose in the next DebConf 12 in Nicaragua!

And, yes, I know that Nicaragua – like BiH – does not have a consular office in Thailand, the nearest one to issue visas for Thais is in Japan!

Tough job!!

Well, I attended some of the talk anyway. It was "Debian Packaging with Git" – the best practice workflow. It requires number of packages and tools I don’t know before. I could not catch it all, and it was not that easy to follow. Video helps. I think.

Then, I moved to attend git tutorial by Thomas Koch. It’s a kind of tutorial for beginners, but many DDs attended ! I learned git from manpage, and the tutorial was was like reading man gittutorial somehow. I don’t know how many people know about this but at least in in Ubuntu, you can man gittutorial, gittutorial-2, gitworkflows, gitcore-tutorial. There are not manpages but, for dummies, textbooks ! Try !

We had a group photo thereafer. So, say "squeeze" or "lenny" or "wheezy" or "sid" .. some say "experimental" .. whatever !

After dinner, just before the keysigning party (KSP), we attend DebConf video team meeting by chance. The team leads by Holger – a friend we met in Taiwan mini-DebConf. Well, he discussed with their team about things, and finally showed a clip. It was a news from a local TV channel about the President of the republic of Srpska in DebConf opening ceremony. And we are in that TV news too .. Yay!

The KSP was actually prepared by Anibal, but he did not come here. So someone took over. We have about a hundred of people joined the party. So, they have to do it by groups. I did not submit my key to the party on time. So, I brought my fingerprint paper strips to exchange with them. I did exchange my fingerprint with some of the people. It could take an hour to exchange all. Keysigning could be done later anyway. So, went back to the hotel, did hack some codes before went to bed.

DebConf 11 – DebConf Day 1

The day one, DebConf11 Team welcomed all participants, gave a short talk about plan to organize DebConf11 in very funny way. Well, we could laugh, but if you look back, it was not easy. Organizing every DebConf needed a group of people to work together to get things done. It took years to organize. Conventionally, you have to attent 2 DebConf before placing your bid to organize DebConf. You need to prepare many things to support your bid before hand, and when you actually have won the bid, it’d be a year of hell to make it really happen. I once have been told that it requires one man/woman to work on this, full time, for one year, and must have many people volunteer (strongly) to support him/her. I organized mini-DebCamp once, I did know what would it be in small scale. But, DebConf is something like 10x bigger than the mini-DebCamp. So, thanks to the team for organizing DC11 to make this happens. You are great !

Next, Stefano Zacchiroli – the current Debian Project Leader (DPL) gave a talk about why Debian, and how important it is. He went through processes that ensure free and solid distro. The idea about Do-ocracy – Democracy things, PPA, TDD, and would happen in the (near) future. It was a good talk.

Afternoon, I saw Hector Oron – a friend from Taiwan Mini-DebConf, did not have a chance to talk to him though. Think about friends, almost none of our friend attend the talk sessions. And, in fact, many DDs did not attend all the session. I think some DDs may not attend any session at all. They came to hack. So, most of the time you’d see them in the hacklabs, which is open 24 hr a day. I put myself in the hacklab sometimes. Hacklab was quiet. It was almost the same atmosphere as it was during BSP in Thailand Mini-DebCamp. Most, if not all, DDs were very focus on their job, not many chats. And in the hacklab, I saw one blind developer (Sam Hartman ?), and one came on his wheelchair ! I learned something from what I saw here. You all should also learn something, too.

Talks in the afternoon was about cryptographic authentication, FTP and the NEW queue, Debian-Woman, and ended with a session to meet the technical committee. There are four tech committee attended DebConf11: Bdale Garbee, Steve Langasek, Andreas , Ian Jackson. The first and the last were former DPL.

At night, Chess and Wine party .. I should have joined C&W, but tired, and overslept ! I met Andrew Lee the next morning. He said C&W party was really great. Putting together various kinds of cheese and wine (scale of 100s) in a single (geek) party, you cannot get this from any party in this world ! .. Awe man !!

DebConf 11 – Debian Day

The first day of the conference is Debian Day,

We registered at the front desk, got packages we may need, including a pre-paid SIM card that we can use here (no micro-SIM though). We met many friends from the mini-DebConf and mini-DebCamp (Paul Wise, Arne Goetje, Joerg Jaspert, Christian Perrier, Andrew Lee, Jonas Smedegaard, Paul Liu) and new friends (Velimir Iveljic – local staff, Jesus Climent – a google guy), and of course many DDs in the room.

The opening ceremony was something. The president of the republic of Srpska came to give the opening speech, along with minister of science, and other political people. Well, DebConf11 is sponsored by the government of the republic of Srpska anyway.

Then, the talks. Debian Day is a kind of non-debian-technical talks for general people. Bdale gave a talk "Understanding Debian". Here I have learned something from his talk – "Never underestimate value of values". He learned from HR training courses of his employer (HP) in the past . It’s important to clearly understand values, which would lead to visions, strategies, objectives, and some other things later on. Most people set their vision first, but when you got a big problem, sometimes even stepping back to stick on the vision cannot get you an answer. The core values will.

Enrico Zini talked about "Life in Debian". It was very fun talk about Debian community. People are different, it’s also true for Debian people. They are students, teachers, employee, employers, etc. Some build rockets for fun (i.e., Bdale Garbee) ! , some travel to space for fun (i.e., Mark Shuttleworth) ! .. But, they do have something in common – social contract and DFSG.

Jesus Climent gave a talk about a case study of Debian in Enterprise like Google. Well, we met Jesus in the morning. He lived in Thailand for 3 months, went to many places, falled in love with Thailand so much, enough to tattoo words in Thai on his ankle! Jesus did give a talk about Debian in Google infrastructures which is large scale, resilient, high availability system. Google engineering teams also use one of Debian derivative — Ubuntu.

The last session was about Austrian e-health system presented by Gerfried Fuch and that was all about the Debian Day talks.

BTW, I think the DC11 video team will put all the talks on the net sooner or later.

DebConf 11 – Preparing and Traveling

Finally, I am in Banja Luka, Republic of Srpska, Bosnia and Herzegovina for DebConf11.

I and Thep prepared for this months ago, registering the conference, paying for the registration (for me), waiting for sponsorship (for Thep), getting air tickets (which is expensive ones), and getting our visa.

Talking about visa to BiH (Bosnia i Hercegovina / Bosnia and Herzegovina), there is no BiH consular office in Thailand. The nearest BiH consular office that could issue a visa for Thais is in Kuala Lumpur, Malaysia. I was lucky that I have a staff in the international affairs office, KKU to help us processing the visa, but in the end we failed to get a visa on time.

In parallel, we contacted visa staff of DebConf11 for document issued for us to get visa on arrival just to secure our travel. They responded quickly and we finally got the document just a few day before 21 July, the day we planned to get off and travel to BiH.

On 21 July night, we checked in at the airline counter, the ground staff here did not allow us to get on board because the document we had were not issued from the government (it was issued by an NGO). So, we were grounded. I immediately e-mailed to DebConf11 visa staff to get the official doc, but that was the late afternoon in BiH, so we have to wait for the official document next day. Well, nothing else can be done. So, I went to a hotel near Suvarnabhumi airport for a night of waiting.

On 22, at the hotel, we waited for the document, and it was sent to us about 5 pm, we printed the document and jumped on the limo headed to the airport to get seat reservation. Unfortunately, the airline counter opened at 20:00. We went for a dinner to kill some time and at 8pm after the counter was on, we submit our official docs, and we got seats to Sarajevo .. Yay! :D

On 23, after 9+ hr of travel, we landed to transit at Istanbul, Turkey. We waited here for 6 hours for a connecting flight to Sarajevo. On 12:35 local time, we flied to Sarajevo. After landed, we head to get a visa. The counter was off, so we just went ahead to the passport control. The border police instructed us to get a visa, and asked for document. The border police opened the counter to issue our visa. We had to pay visa fee for 100KM each (about 50 Euro). The problem was that the exchange counter was closed. The border police, again, helped to get exchange at some shops in the airport. We could pay for our visa, and the visa issued. We passed the border and headed to the main bus station in town.

Here, we had to exchange money to KM for buying tickets. This can be done at the post office close to the bus station. After paying about 30KM for a seat, we were on a bus to Banja Luka. It is 210 km away, and took 5 hours by bus.

About 9pm, we arrived at Banja Luka, got a taxi to the hotel, put our luggages in our room then head for dinner (provided by DebConf). After that, we each cleaned up, and crashed on the bed .. ended our 24+ hours of traveling.

Next .. DebConf11 Debian Day!

คำนวณหาวันมหาสงกรานต์ ปี ๒๕๕๔

ใช้สูตรของ พลตรี บุนนาค ทองเนียม

หา ปี จ.ศ. ก่อน

2554 - 1181 = 1373

คำนวณวันเถลิงศก

= (1373 * 0.25875)
  + floor(1373 / 100 + 0.38)
  - floor(1373 / 4 + 0.5)
  - floor(1373 / 400 + 0.595)
  - 5.53375
= 355.26375 + 13 - 343 - 3 - 5.53375
= 16.73

เท่ากับ วันที่ 16.73 แปลงเป็นเวลาปกติได้เท่ากับ

0.73 * 24 = 17.52 = 17 hr
0.52 * 60 = 31.20 = 31 min
0.20 * 60 = 12 sec

สรุปว่าได้วัน/เวลาเถลิงศกเป็น วันที่ 16 เวลา 17 นาฬิกา 31 นาที 12 วินาที

ทีนี้วันมหาสงกรานต์จะห่างจากวันเถลิงศก 2 วัน 3:57:36 ชั่วโมง (2.165 วัน) เสมอ

ดังนั้น วันมหาสงกรานต์ = 16.73 – 2.165 = 14.565

0.565 * 24 = 13.56 = 13 hr
0.56 * 60 = 33.60 = 33 min
0.60 * 60 = 36 sec

สรุปได้ว่าวันมหาสงกรานต์ปี 2554 ตรงกับ วันที่ 14 เมษายน เวลา 13 นาฬิกา 33 นาที 36 วินาที

งานสัปดาห์หนังสือแห่งชาติครั้งที่ 39

ไม่ได้ไปอีกตามเคย ได้แต่สั่งซื้อผ่านเว็บ ของ บลิส เมื่อช่วงต้นเดือน

จัดไป 7 เล่ม

  1. ยามาเนะโกะ จอมโจรรัตติกาล
  2. ยาคุโมะ นักสืบวิญญาณ 4 ตอน ก่อนหัวใจจะดับสูญ
  3. คินดะอิจิยอดนักสืบ 22 ตอน ลูกศรพิษ
  4. คินดะอิจิยอดนักสืบ 23 ตอน ราชินีโพดำ
  5. มิเกะเนะโกะ โฮส์มส์ แมวสามสียอดนักสืบ 18 ตอน เมียผีขี้วีน
  6. ซายากะ สาวน้อยนักสืบ13 ตอน กระเป๋าเดินทางสีเขียวมะกอก
  7. นักสืบสามใบเถา 6 ตอน หืดขึ้นคอ บอดี้การ์ด

ปกเกือบพันสองๆ ลด 30% เหลือแปดร้อยกว่าๆ ชิลไปได้อีกประมาณหกเดือน

Gas test

ช่วง 1-2 เดือน ทดสอบอัตราการใช้น้ำมันของรถ เพื่อจะหาว่าเติมน้ำมันแบบไหนจะคุ้มค่าสุด ผลการทดลอง

ชนิด อัตราการกินน้ำมัน (กม/ลิตร) ราคา (บาท)
Gasohol 95 (95-E10) 12.7 37.94
Gasohol 91 (91-E10) 12.6 35.44
E20 (95-E20) 11.8 34.54

ถ้าใช้ Gasohol 91 เป็น baseline

  • Gasohol 95 แพงกว่าประมาณ 7% วิ่งได้ไกลกว่า 0.7%
  • E20 ถูกกว่า 2.5% แต่วิ่งได้ระยะทางน้อยลง 6%

สรุปว่าถ้าเอาความคุ้มค่าเฉพาะเรื่องอัตราการใช้น้ำมัน ตอนนี้ใช้ Gasohol 91 ดีกว่า

/me … ไม่ได้ blog นานมากเลยแฮะ เริ่มคิดจริงจังว่า ต้อง blog ให้เยอะขึ้น … ไม่อยากฝาก knowledge / know-how อะไรไว้ที่ micro-blog / social networks ซึ่งควรจะเป็น micro-blog จริงๆ หรือไม่ก็คำบ่น :P

KKU Commencement 2010

วันนี้เป็นวันพิธีพระราชทานปริญญาบัตร ที่ มข. เลยพยายามหาความหมายของคำว่า “บัณฑิต” แล้วก็พบคำอธิบายที่น่าสนใจจาก มงคลชีวิต 38 ประการของพระสัมมาสัมพุทธเจ้า อยากฝากไว้ให้กับบัณฑิตใหม่ เพื่อจะได้ตระหนักถึงการเป็นบัณฑิตที่แท้จริง


บัณฑิต คือคนที่มีใจผ่องใสอยู่เป็นปกติวิสัย ทำให้มีความเห็นถูกยึดถือค่านิยมที่ถูกต้อง สามารถดำเนินชีวิตอยู่ด้วยปัญญา

  • เป็นผู้รู้ดี คือ รู้ว่าอะไรดี อะไรชั่ว
  • เป็นผู้รู้ถูก คือ รู้ว่าอะไรถูก อะไรผิด
  • เป็นผู้รู้ชอบ คือ รู้ว่าอะไรบุญ อะไรบาป

บัณฑิต อาจเป็นใครก็ได้ เช่น อาจเป็นผู้อ่านหนังสือไม่ออก อาจเป็นชาวไร่ชาวนา อาจเป็นผู้ทีมีการศึกษาสูง อาจเป็นญาติของเรา ฯลฯ แต่ไม่ว่าจะเป็นอะไรก็ตามจะต้องเป็นผู้ที่มีจิตใจผ่องใสและดำเนินชีวิตอยู่ด้วยปัญญา คือเป็นคนดีนั่นเอง

คนทั่วไปมักเข้าใจว่า ผู้ที่เรียนหนังสือจนได้รับปริญญานั้นคือ บัณฑิต แท้จริงนั่นเป็นเพียงบัณฑิตทางโลกเท่านั้น ยังไม่ใช่บัณฑิตที่แท้จริงเพราะผู้ที่ได้รับปริญญาแล้ว ถ้าความประพฤติไม่ดี อาจไปทำผิดติดคุกติดตะรางได้ แต่บัณฑิตที่แท้จริงย่อมเป็นผู้ตั้งใจละชั่ว ประพฤติชอบประกอบแต่ความดี ความถูกต้อง ความสุจริตสามารถป้องกันตนให้พ้นจากคุกจากตะรางและแม้กระทั่งจากนรกได้ “บัณฑิตมิใช่ผู้มีเพียงปริญญา แต่คือผู้อุดมศีล สมาธิ ปัญญา”

ลักษณะของบัณฑิต

เนื่องจากบัณฑิตเป็นผู้มีจิตใจผ่องใส มีความเห็นถูก ดำเนินชีวิตอยู่ด้วยปัญญา ฉลาดในการสอดส่องหาเหตุผล จึงมีลักษณะพิเศษสูงกว่าคนทั้งหลาย ๓ ประการคือ

  1. ชอบคิดดีเป็นปกติวิสัย ได้แก่ คิดให้ทาน คิดให้อภัยอยู่เสมอไม่ผูกพยาบาท คิดเห็นถูกต้องตามความเป็นจริง เช่น เห็นว่าบุญบาปมีจริง พ่อแม่มีพระคุณต่อเราจริง เป็นต้น
  2. ชอบพูดดีเป็นปกติวิสัย ได้แก่พูดคำจริง พูดคำสมานไมตรี พูดคำมีประโยชน์ พูดถูกต้องตามกาลเทศะและพูดด้วยจิตที่ประกอบด้วยเมตตา
  3. ชอบทำดีเป็นปกติวิสัย ได้แก่ เว้นการฆ่ากัน ไม่ลักขโมย ไม่ประพฤติผิดในกาม พอใจเฉพาะคู่ครองของตนเท่านั้น

องค์คุณของบัณฑิต

  1. กตัญญู รู้อุปการะคุณที่ท่านทำแล้วแก่ตน
  2. อัตตสุทธิ ทำตนให้บริสุทธิ์จากบาป
  3. บริสุทธิ์ ทำผู้อื่นให้บริสุทธิ์จากบาป
  4. สังคหะ สงเคราะห์แต่ชุมชนทั้งหลาย

บัณฑิต มักกระทำในสิ่งต่อไปนี้คือ

  1. บัณฑิตชอบชักนำในทางที่ถูก เช่น ชักนำให้เลิกสูบบุหรี่ เลิกดื่มสุรา เลิกเล่นการพนัน ชักนำให้สวดมนต์ก่อนนอนให้รักษาศีล ให้ทำมาหากินในทางสุจริต เป็นต้น
  2. บัณฑิตชอบทำแต่สิ่งที่เป็นธุระ ไม่เกะกะเกเรใครๆ เร่งรีบทำการงานในหน้าที่ของตนให้สำเร็จลุล่วงไปด้วยดี ไม่ปล่อยงานให้คั่งค้างและไม่ก้าวก่ายงานในหน้าที่ของคนอื่น เว้นแต่เมื่อได้รับการขอร้องหรือเพื่ออนุเคราะห์
  3. บัณฑิตชอบทำแต่สิ่งที่ถูกที่ควร เช่น ชอบพูดและทำตรงไปตรงมาชอบสนทนาธรรม รังเกียจการนินทาว่าร้าย ชอบบำเพ็ญตนให้เป็นประโยชน์ทั้งแต่ตนเองและต่อผู้อื่นเป็นต้น
  4. บัณฑิตเมื่อถูกว่ากล่าวตักเตือนโดยดีย่อมไม่โกรธ มีนิสัยถือเอาความถูก ความดีและความมีประโยชน์เป็นที่ตั้งไม่ถือตัวอวดดีดื้อรั้น แต่เห็นว่าผู้ที่ตักเตือนคนคือผู้ที่ชี้ขุมทรัพย์ให้ แล้วพยายามแก้ไขปรับปรุงตนเองให้ดีขึ้นตามคำแนะนำนั้น โดยไม่นึกรังเกียจว่าผู้ที่ตักเตือนจะมีอายุ ยศศักดิ์ ฐานะสูงหรือต่ำกว่าหากมีผู้อื่นเข้าใจผิดพูดก้าวร้าวไม่สมควร ก็อดทนไว้ไม่โกรธตอบแล้วพยายามหาโอกาสชี้แจงให้เขาเข้าใจภายหลัง จึงทำความอบอุ่นและเย็นใจให้แก่ทุกคน
  5. บัณฑิตย่อมรับรู้ระเบียบวินัย รักที่จะปฏิบัติตนตามระเบียบวินัยของหมู่คณะอย่างเคร่งครัด เพราะตระหนักดีว่า วินัยเป็นเครื่องยกหมู่คณะให้เจริญขึ้นได้จริงทำให้หมู่คณะสงบเรียบร้อยไม่วุ่นวายจริง ทำให้เกิดความประหยัดจริง ฯลฯ จึงรังเกียจความไม่เป็นระเบียบเรียบร้อย ความไม่สะอาดรกรุงรัง

บัณฑิตควรตระหนักว่า มีหลายคนทำงานหนักเพื่อให้พวกเขาสำเร็จการศึกษา มีคนจัดพิธีวันนี้ให้สำเร็จลุล่วงเพื่อให้สมกับความภาคภูมิและเป็นเกียรติแก่เขา ทั้งหมดนี้ไม่ใช่เพราะเขาเรียนจบการศึกษาระดับปริญญา — แต่เพราะหวังว่าเขาที่ได้ชื่อว่าเป็น ‘บัณฑิต’ จะเป็นคนดี เพราะคนดีอยู่ที่ไหนก็เป็นประโยชน์ ไม่ว่าจะต่อครอบครัว สังคม ประเทศชาติ หรือมนุษยชาติ

ขอแสดงความยินดีกับบัณฑิตทุกคนเน้อะ

Another Birthday

ไม่ได้บอกวันเกิดใคร ใน FB ก็ปิดไว้ ปรากฎว่ายังมีพี่ Noi SNC จำได้เสยยย เข้ามา topic ที่ #tlwg ให้หนึ่งวัน thx ๆ

วันเกิดปีนี้ครอบครัวอยู่พร้อมหน้า ช่วงออกพรรษาพอดีด้วย เลยไปทำบุญตักบาตรเทโว แถมด้วยสวนสัตว์เขาสวนกวางตามสูตร

รอบปีที่ผ่านมา เป็นปีที่ดี เพราะมีคนดีๆ มาอยู่ใกล้ๆ มีวันเกิดใกล้กันด้วย เค้กปีนี้แม่เลยเขียนชื่อหมวยเล็กด้วยเลย 555+