To those who love Ruby on Rails

"I admire the hell out of the Rails core gang that actually understand every line inside Rails itself. But I don’t. And I’m sure I will never use 90% of it.

With my little self-made system, every line is only what’s absolutely necessary. That makes me extremely happy and comfortable."

Found this quote from http://www.oreillynet.com/ruby

Shorter code != Better program

Why Windows is better than Linux?

Found a good article....just moment ago

Here is why Windows is better than Linux(e.g.Ubuntu).
  1. Installing programs is easy with windows because there is a standard. Try installing VLC and you'll see what I mean.
  2. Anytime you try to install or change something on your own computer you have to type a password. And god forbid you run the program in root, then you get every warning that exists.
  3. Installing anything good in Linux requires an entire weekend ending up in learning how to reinvent the wheel.
  4. To truly use any Linux distribution your going to have to either take classes in how Linux works or spend time reading a lot of books and forums.
Linux is good because it is free and good for ones who love using command line.

The truth is Windows has driven the world going.

Is AIT Heaven or Hell?

I have joined Asian Institute of Technology, Thailand(AIT) as a Master's student at the school of Science Engineering and Technology(SET)

I have been granted GMSARN scholarship which pays for all my fees and my living here but I must delicate 10% of my time to work for GMSARN project.

I live with 2 of friends from SIU in a house at the student village 1. The house has 3 bedrooms which none of them has AC. Early living there was very uncomfortable but now it is fine.



We can find many restaurants in AIT. Basically you can eat in any restaurant but the cafeteria. Why?

Cafeteria is the biggest canteen in AIT which is now operated by Sodexo(a company which manages all facilities here)



If you are happy with tasteless noodle menu, rice menu with less meat, and very expensive food. You should have your meal here. A certificate that the cafet should deserve ' is CLEAN FOOD, TERRIBLE TASTE. If ministry of health reads my block, please consider issue it the certificate.

Tired now...

Wish you all a good day :)
Nopash

Workaround for Google base "Missing required attribute: condition" for eBay feed

Problem

As the Google base has required condition attribute since June 30, sellers cannot upload their eBay store feed to it. It will give an error "Missing required attribute: condition".

Cause

There is no <g:condition> attribute in the eBay feed.

Solution

A. Download the xml file with your store listings:
Download your store feed and save as an xml file
http://esssl.ebay.com/GetListings/yourstorename?fmt=g

or

1. go to My eBay -> Manage my store
2. on the left Marketing tool menu, click Listing feeds
3. Find the line

Your Google Base-specific file will be located at http://esssl.ebay.com/GetListings/your_store_name?fmt=g

4. right click on the link and select 'save link as' or (save target as in IE) then change the extension of the file to .xml instead of .htm and save it to your computer.


B. Edit the downloaded XML file
1. Right click on the downloaded XML file and select "Open With" then select Notepad.
2. In Notepad, press Ctrl-H to open the find & replace box. Enter "condition>" in the find field and "g:condition>" in the replace field (exclude the quotation marks). Click Replace all.
3. Save the file with File --> Save.

This section is not done yet because
the "g:condition" attribute the only acceptable values are "new", "used" and "refurbished." but eBay values can be "used", "pre-owned", "like new", "very good", "good", "acceptable", "see description" etc.

You have to replace all of the incompatible values with either
"new", "used" and "refurbished." otherwise you cannot insert the items with incompatible attribute into Google Base.

Suppose I want to replace all "see description" as "new". I would press
Ctrl-H to open the find & replace box. Enter "<g:condition><!--[CDATA[see description]]--></g:condition>" in the find field and "<g:condition><!--[CDATA[new]]--></g:condition>" in the replace field (exclude the quotation marks). Then click Replace all.

C. Upload your edited XML file to Google
1. Login to your existing Google Base account.
2. Click tab "Data Feeds"
3. Click link "Manual: Upload File"
4. Point Google to the XML file that you have edited it in B.


Now you should see no error :)

If you think this article is helpful, please kindly buy me a cup of coffee :)




Best,
Nopash

Visit my eBay store at www.eDecalShop.com

เนิร์ด (Nerd) vs กี๊ก (Geek) vs ดอร์ก (Dork)

วันนี้มีคำศัพท์มาฝากกันครับ เป็นคำศัพท์เกี่ยวกับพวกกลุ่มคนเฉพาะ

เนิร์ด (Nerd) หมายถึง กลุ่มคนที่มีระดับสติปัญญาสูงกว่าเกณฑ์มาตรฐาน พูดง่ายๆก็คือฉลาดกว่าคนทั่วๆไป และชอบในเรื่องที่ชาวบ้านเขาไม่สนใจกัน ส่วนมากก็จะเป็นเรื่องวิทยาศาสตร์และคณิตศาสตร์ ซึ่งคำนี้จะใช้กันแพร่หลายที่สุดในอเมริกา ภาพลักษณ์ของพวกเขาก็คือ นึกภาพคนใส่แว่นหนาเตอะ ขลุกอยู่กับกองหนังสือทั้งวันนั้นแหละใช่เลย แต่ภาพลักษณ์ด้วยส่วนมากก็จะเป็นชายหนุ่มใส่แว่นหนากรอบดำ มีไม้โปรเทกเตอร์ติดกระเป๋า ใส่ชุดที่เป็นทางการมากเกินไป และบางครั้งภาพที่ออกมาก็เป็นคนที่ไม่รักษาความสะอาด และถ้าไม่ผอมก็อ้วนเกินไป เป็นคนเข้าสังคมไม่เก่ง ไม่สามารถสนทนาเรื่องที่ไม่ใช่เรื่องเทคนิคกับคนอื่นๆได้

ตัวอย่างที่เห็นได้ชัดคือ เวลม่า ดิงก์เลย์ ในเรื่อง สกูบีดู Tobey Maquire ในบท Peter Parker จาก Spider man Emma Wattson กับบท เฮอร์ไมโอนี่ ในเรื่องแฮร์รี่ พอตเตอร์

นอกจากนี้ยังมีศัพท์ที่ใกล้เคียงกับ เนิร์ด ดังนี้

กี๊ก (Geek) ตอนนี้ก็ยังมีการถกเถียงกันอยู่ระหว่างคำนี้กับ เนิร์ด เพราะทั้งสองคำมีความหมายใกล้เคียงกัน แต่สรุปแล้วกี๊กนั้นดูเป็นเฉพาะกลุ่มมากว่าเนิร์ด เพราะว่าเขาสนใจในสิ่งที่ตัวเองคลั่งไคล้ เช่น พวกบ้าเกมส์ บ้าคอมพิวเตอร์ บ้าวิทยาศาสตร์ ไม่สนใจเรื่องแฟชั่น จึงออกแนวเชยๆ ไม่ทันสมัย

ดอร์ก (Dork) เด็กกลุ่มนี้ค่อนข้างแตกต่างกับสองกลุ่มข้างบน เพราะมีลักษณะที่ค่อนข้างชัดเจน เพราะดอร์กจะออกแนวเป็นคนที่ซุ่มซ่าม เป๋อ กะเปิ๊บกะป๊าบ ไปที่ไหนก็จะสร้างเสียงหัวเราะอยู่เสมอ ด้วยความเฉิ่มและตลกของพวกเขานี้เอง

เอามาจาก wikipedia

Related Posts Plugin for WordPress, Blogger...