Gmail เปลี่ยน Password อย่างไร?

FAQ August 26th, 2008

การเปลี่ยน Google Account Password รวมถึง Gmail ซึ่งเป็นหนึ่งในบริการของ Google
และบริการ (Google Service) ต่างๆ สามารถเปลี่ยน Password ได้จากที่เดียวทั้งหมด
โดยไปที่ …
https://www.google.com/accounts/EditPasswd?hl=en&service=mail

Hydrogen - The longer tailpipe

Uncategorized August 21st, 2008

emission_diagram

Efficiency of gas, hybrid and hydrogen from well to wheels
photos courtesy of Toyota Motor Corp.

Remember the old Chevron commercials where you saw the oil rigs in the middle of the ocean and the fish were happily swimming around the barnacled bottome of the rig? At the end of the commercial the Chevron logo came up and asked "Do people really care? People do care."

That’s Bill Reinert, Bill is involved in saving the Galapagos Islands. He’s concerned about strip mining and all things environmental.

He’s also concerned with what we call well to wheels. Well to Wheels is the term the auto industry uses to describe the time, or dollar amount, the raw fuel is abstracted from the ground (or hydrogen is produced) to the point its energy is translated into motion at the wheel of the vehicle. Reinert is most concerned with the well to wheel thermal efficiency. So far, well to wheel thermal efficiency is last for hydrogen.

As seen in the chart, currently a gas vehicle (GV) and gas hybrid vehicle (G-HV) are the most efficient. This is because both use gas and the well to tank percentage right now is 88 percent efficiency. This means that only 12 percent efficiency is lost in production of fuel. Once you get the gas in the tank, the tank to wheel efficiency goes way down in an internal combustion engine and up in a hybrid. Hydrogen fuel cell vehicles (FCHV) are woefully bad from well to tank (production), at only 58 percent efficiency. The tank to wheel, however is much more efficient than even the newest Toyota Prius.

According to Reinert, "A hydrogen powered fuel cell vehicle emits only water. Carbon monoxide, however, is produced when hydrogen is made from fossil fuels, as we currently do. If we intend to reduce carbon monoxide, we must go beyond tank to wheel efficiency and tackle well to tank efficiency as well. We need to consider production methods from a comprehensive viewpoint." Most people don’t even think about how many emissions are created when producing the fuel, only how many emissions are being spewed out of the exhaust pipe.

toyota_fchv

Toyota’s Fuel Cell Hydrogen Vehicle (FCHV)
photos courtesy of Toyota Motor Corp.

It may be years before there are standards and codes for production, storage and distribution of large amounts of hydrogen. The hope of all concerned is that the production of hydrogen can become more efficienct, with less emissions.

In the mean time auto manufacturers are working on vehicles that can run on hydrogen. I drove the Toyota FCHV and was amazed and excited.

The world breaks out hybrid technology from hydrogen fuel cell technology. Toyota does not. The Toyota Prius is the world’s first mass produced hybrid car. It combines an internal combustion engine (ICE) and a battery, power control unit and motor to achieve energy management, fuel efficiency and less emissions.

Toyota has applied the same practice to their Toyota Fuel Cell hydrogen vehicle (FCHV). The one big difference is they have replaced the ICE with a fuel cell stack.

In the FCHV, the electricity comes from the fuel cell, powered by an electric motor. In the Prius, electricity comes from a battery, powered by an ICE. The fuel cell gets its energy from hydrogen whereas the ICE gets its energy from gasoline.

So, how does the FCHV drive?

The fuel cell cars of today should be kept and put in the Smithsonian, just as the Model A and Model T surely reside in museums. The current hydrogen cars are the cars of a hundred years ago. The technology on these cars will be obsolete before they are finished producing the first commercially viable hydrogen car.

toyota_hybrid_diagram

Toyota’s hybrid and hydrogen design

The FCHV exterior looks just like any other Highlander SUV. It wouldn’t have surprised me if someone had honked and threw a green peace sign at me, that is how normal they look. There is one badge that says FCHV, but that’s it. No funny looking Prius - car of the future - design.

According to Reinert, the car of today doesn’t have enough power, it’s too "tanked up", weighing at least 300 lbs more than a regular Highlander. And he says it doesn’t go far enough between fuel stops to be commercially viable.

Reinert, obviously, doesn’t drive a large SUV too often.

If I were to compare a large ICE SUV with the Highlander hydrogen (HH) there would be some surprising results. While one can feel the weight difference and the difference in suspension the HH is much quieter. While one can feel the difference in power, the passing quotient is much stronger on the HH. Remember, you’re using the same fuel NASA sends space rockets into orbit. It has a lot of oomph, and it has it at the very start. There is no meting the engine to the transmission for optimal torque, the torque on hydrogen comes in at 0 rpm. It made the Toyota Solara Conv feel rather wimpy when I got back in the car.

The next issue is the drive mileage between fuel ups. I have driven SUVs that have cost over $40 to fill up and have gone less than 150 miles to the next fill up.

According to Reinert,"Each new model has to be better and offer more. This is also true about fuel cells."

toyota_fchv_nav

The nav tells you how the fuel cell system is working
photos courtesy of Toyota Motor Corp.

Certainly, this is the time for education and experimentation. Reinert knows it’s not good enough to build a hydrogen Model A when consumers are used to driving the car of their choice with all the functionality included.

By Lou Ann Hammond
Taken from http://www.carlist.com/autonews/2004/toyota_fchv.html

วิธีแปลงราคาทองจากเมืองนอกเป็นราคาทองเมืองไทย

Uncategorized August 16th, 2008

วันนี้จะมาบอกวิธีแปลงราคาทองจากเมืองนอกเป็นราคาทองเมืองไทยให้ครับ
การแปลงราคาทองคำจากเมืองนอกเป็นราคาทองเมืองไทย ใช้ปัจจัยในการคำนวณหลัก ๆ 2 ตัวครับ คือ ราคา Spot Gold ซึ่งสามารถหาได้จากเวปที่ผมได้บอกเพื่อน ๆ ไปแล้ว และอีกปัจจัยคือ อัตราแลกเปลี่ยนเงิน US ดอลล่าร์ ครับ
สำหรับราคา Spot Gold ในวันนี้คือ 739 และอัตราแลกเปลี่ยน ณ เวลานี้คือ 34.216 บาท ต่อ 1 ดอลล่าร์สหรัฐฯ ครับ
ขั้น ตอนที่ 1 ก็คือ เอาราคาทั้งสองมาคูณกันครับ 739 x 34.216 = 25,285.624 บาท ( ขั้นตอนนี้ก็คือการแปลงราคา Spot Gold ซึ่งเป็นค่าเงินดอลล่าร์สหรัฐฯ มาเป็นเงินบาทไทยนั่นเอง )
ขั้นตอนที่ 2 ก็คือทอนผลลัพธ์จากขั้นตอนที่ 1 ซึ่งเรียกเต็ม ๆ ว่า 25,285.624 บาท ต่อน้ำหนักทอง 1 ทรอยออนซ์ ( เพราะเมืองนอกใช้น้ำหนักเป็นทรอยออนซ์ครับไม่ใช่น้ำหนักกรัม ) โดยทอนให้กลายเป็น ต่อน้ำหนักกรัม ทำได้โดยหารด้วย 31.1035 ครับ เพราะน้ำหนัก 1 ทรอยออนซ์ เท่ากับ 31.1035 กรัม ครับ ก็จะได้ค่าเท่ากับ 812.95 บาท ต่อน้ำหนักกรัม
ขั้นตอนที 3 ก็คือ การแปลงผลลัพธ์ใน ขั้นตอนที่ 2 ซึ่งเป็นทอง 99.99 เปอร์เซ็นต์ ให้เป็น ทอง 96.50 เปอร์เซ็นต์ ซึ่งเป็นมาตรฐานทองคำแท่งบ้านเราครับ ทำได้โดยเอา 812.95 x 96.50 / 100 = 784.50 บาท ต่อน้ำหนัก 1 กรัม ด้วยเปอร์เซ็นต์ทอง 96.50
ซึ่งจะเห็นได้ว่าไม่ได้มีการเอาราคาทองเมืองนอก 99.99 มาขายเป็นทอง 96.50 แต่ประการใด เพราะมีการแปลงค่ามาเรียบร้อยแล้ว
ขั้นตอนที่ 4 ก็คือ เอาผลลัพธ์จากขั้นตอนที่ 3 ซึ่งมีหน่วยเป็นน้ำหนักกรัมมาทำให้เป็นน้ำหนักบาท โดยใช้น้ำหนักมาตรฐานของทองแท่ง โดยทองแท่ง 1 บาท เท่ากับ 15.244 กรัม ดังนั้นก็ทำได้โดยเอา 784.50 x 15.244 กรัม เท่ากับ ราคาทองแท่งที่ควรตั้งราคาขายวันนี้ 11958.92 บาท ครับ
แต่ราคาทองคำ แท่งวันนี้ ตั้งไว้ที่ ราคาทองคำแท่งขายออก 11900 ราคาทองคำแท่งซื้อเข้า 11800 ขึ้นมาจากเมื่อวาน 100 บาท เมื่อเอาราคาทองแท่งที่ทางสมาคมตั้งไว้คือ 11900 มาเปรียบเทียบกับผลลัพธ์ในขั้นตอนที่ 4 คือ 11958.92 จะเห็นได้ว่าราคาทองแท่งบ้านเรายังถูกกว่าเมืองนอกอยู่ 58.92 บาท ครับ หาได้แพงกว่าแต่ประการใดไม่
นี่จึงเป็นเคล็ดลับของร้านทองที่นำมาบอกกล่าวอย่างแท้จริง หาได้ไปคัดลอกบทความจากแหล่งอื่นมาเสริมแต่งแต่ประการใด
และ ราคาค่ากำเหน็จบ้านเรา ก็ถูกกว่าเมืองนอกด้วย ถ้าไปซื้อทองที่ อิตาลี เยอรมัน สมมติราคาทองวันนี้ 11900 บาท เขาจะคิดค่ากำเหน็จ 11900 บาท ด้วยเท่ากับราคาทอง และเป็นการขายขาดหาได้มีการประกาศราคารับซื้ออย่างเป็นทางการแบบบ้านเราไม่ และหากรับซื้อเขาก็จะรับซื้อในราคาเศษซากซึ่งต่ำมาก และทองทางแถบยุโรปเปอร์เซ็นต์ทองจะต่ำประมาณ 75 เปอร์เซ็นต์ เท่านั้น ส่วนบ้านใกล้เรือนเคียงอย่าง ฮ่องกง นอกจากมีการคิดค่ากำเหน็จแล้ว เขายังมีการคิดค่าพรีเมี่ยมหรือกล่าวกันง่าย ๆ ก็คือ ค่าเสียโอกาสในการเอาทองที่แขวนโชว์ในร้านไปทำอย่างอื่น กล่าวคือ เขาคิดว่าทองที่โชว์ในร้านของเขามีมูลค่าสูง หากนำไปลงทุนทำอย่างอื่นหรือฝากธนาคารจะได้ดอกเบี้ยดีกว่ามาแขวนโชว์เฉย ๆ ดังนั้นเขาถึงได้บวกค่าพรีเมี่ยมเข้าไปด้วยเหมือนคิดว่าฝากแบงก์กินดอกเบี้ย
นอก จากนี้ร้านทองทุกร้านไม่เคยดูถูกเกษตรกรแต่ประการใด เพราะเขาทั้งหลายคือผู้มีอุปการคุณของร้านทอง เงินทุกบาททุกสตางค์ที่เขานำมาซื้อทองก็ล้วนมาจากหยาดเหงื่อแรงงานของเขา ทั้งสิ้น หาได้ไปปล้นชิงเขามาแต่ประการใด ดังนั้นเมื่อได้เงินหรือรายได้จากหยาดเหงื่อแรงงานของเขามาซื้อทองเพื่อเป็น รางวัลแก่ความสุขตอบแทนการทำงานหนัก จึงหาใช่เรื่องของการโอ้อวดแต่ประการใด เพราะหลายครั้งที่พวกเราก็ซื้อของเล่นมาสะสม ซื้อโทรศัพท์มือถือรุ่นใหม่ ๆ ซื้อรถยนต์ ซื้อโน้ตบุ๊ค ซื้อนาฬิกา ซึ่งล้วนแต่เป็นสิทธิของเรา เพราะมันคือรางวัลจากหยาดเหงื่อและแรงงานแรงกายที่ได้ทุ่มเทลงไป แต่สาเหตุที่เกษตรกรซื้อทองไว้เพราะในยามที่ขัดสน รางวัลจากหยาดเหงื่อแรงกายของเขายังสามารถแปรเป็นเงินสดมาจุนเจือเขาได้ ง่ายกว่าอย่างอื่น
ก็อยากให้เพื่อน ๆ ได้เข้าใจว่า อาชีพคนทำร้านทองก็เป็นแค่อาชีพสุจริตอาชีพหนึ่ง หาได้เป็นอาชีพที่เลวร้ายจ้องแต่จะเอากำไรสูง ๆ แต่ประการใด

MagpieRSS vs LastRSS : comparison of PHP RSS parsers

Program and Script August 12th, 2008

Some time ago I came across LastRSS, a PHP RSS parser which caught my attention because it looked a lot lighter (just one tiny file) than MagpieRSS, the big gun of its category. So I decided to give LastRSS a try and went for some quick tests and benchmarks.
Is LastRSS powerful ? fast ? easy to use ? And compared to MagpieRSS, is it more powerful ? faster ? easier ? Testing

I wanted to test how fast MagpieRSS and LastRSS can :

  • include the requested php code into a page (the require_once part)
  • fetch a remote feed
  • parse and output data
  • save a cached feed
  • fetch a cached feed

To do so, here is how I proceeded :

  • I locally mirrored an example of a typical RSS feed (Slashdot’s feed), to avoid my internet connexion latency
  • I wrote this quick script : starts timer, begin loop, fetches the feed, caches if applicable, loop if applicable, stops timers, displays result.
  • I went on testing using cache and not using it, fetching several times the same feed.

The fetching was done using the most simple and most default script configuration, with no fancy option.

Raw results

Here are the raw results : number of seconds it took to each PHP parser to parse a given number of time a feed, using their own cache feature or not.

rss_bench

Line 1 shows the time needed to include code, fetch feed, parse data.
Line 2 shows the time needed to include code, fetch feed, parse data, fetch feed, parse data.
Line 5 shows the time needed to include code, fetch feed, parse data, write cached feed.
Line 6 shows the time needed to include code, fetch feed, parse data, write cached feed, fetch cached feed, parse data.

What we can see is that LastRSS is a lot faster than MagpieRSS to include code and to fetch a remote feed. They are about equally fast to fetch, write and parse a cached feed.

Differences between the 2 parsers

Let’s not conclude too fast : LastRSS is much faster, but it does a lot less. Parsing a small fake feed (a la Slashdot RSS, containing just one item), here are the print_r results of data collected by the two parsers :
- LastRSS
- MagpieRSS

As you can see, MagpieRSS parses virtually anything in the feed, even custom <slash:stuff> items, while LastRSS focuses mainly on <title>, <link> and <description>

Conclusion

If you can afford it, there are no real reason you shouldn’t use MagpieRSS. For the average user’s needs, Magpie does a lot more than you really need, but it does all that you do need.

This said, there are situations you could consider using LastRSS as an effective alternative : for example, if you need extra fresh data (no cache), need to parse very often a loooot of feeds, have a weak server CPU wise, and need only data LastRSS collects (ie titles and links), it does look like a clever choice.

Conclusion of the conclusion

Ah. I always feel better when I write something serious on a completely futile subject :)

Taken from Planetozh

วันแม่ 2008

Uncategorized August 12th, 2008

ก็ไม่มีอะไรมาก นอกจากเราเองก็รักแม่เหมือนกัน เพลงนี้มีความหมายสำหรับครอบครัวเราค่อนข้างมากเลยอยากบันทึกไว้ครับ

im-oon

CrawlTrack: free crawlers and spiders tracking script- SEO script -script gratuit de d�tection des robots


Stats
Technorati Profile
Add to Technorati Favorites