Zack Apiratitham

An Investigation Into Google Photos Compression


Recently, I’ve been hearing lot of praises about Google Photos, especially from Casey Liss of ATP, about how wonderfully accurate its algorithm is at finding images of places, objects or people you want from your photo library. With my iPhone almost running out of storage, mainly because of my photo library, I decided to give Google Photos a shot.

But upon setting up the backup, I was faced with a very hard decision: whether to upload the images in high quality or original quality. With high quality, it offers an unlimited free storage with a reduced file size as long as the photos have the resolution of 16 megapixels or less. This should be enough for everyday images taken with smartphones. With the original option, the photos will be uploaded in full size with no compression. However, it will be limited to how much storage space is available on the Google Drive.

The “reduced file size” part is what I wanted to know more about since I was definitely going to take advantage of that free unlimited storage. However, I was worried that the compression algorithm would be too aggressive at reducing the file size, and thus lowering the image quality below the acceptable level. In order to figure this out, I decided to do a little investigation on how much quality, if at all, was lost by the compression, and if we can see any visual differences between the original and the compressed one.

Before we go any further, I must put forth a disclaimer here that I am by no means an expert when it comes to image compression algorithms. What I'm about to show here is a non-scientific experiment conducted on a cheap, uncalibrated, 1080p monitor using a couple of random photos I took. So please do further research and tests before making your decision on this.

Alright, now back to the show...

To run this experiment, I selected two images: one with the resolution of 20MP taken with my DSLR and the other at 8MP with my iPhone 6.

First, let’s look at the image taken by the DSLR. Since this image has the resolution of 20MP, Google Photos downsized the image to 16MP, so it definitely lost the actual pixel count in the process.

Original at 20MP

20MP

Compressed to 16MP

20MP GP

Now let's take a look at them with a 100% crop and compare them side-by-side.

Singapore sbs Original (left) and compressed (right) side-by-side

Apart from the obvious difference in the resolution, the image quality seems to not have been affected at all.

Singapore Info

If we take a look at the information of the two images, we see that the resolution has been reduced to 16MP and the file takes up only 3.6 megabytes. That's over 75% reduction in file size! I'm really impressed at how high-quality the image still looks after having gone through this aggressive compression.

Now let’s compare the images taken by the iPhone 6’s back camera. Unlike earlier, the image here did not get downsized because the resolution is way below the 16MP limit.

Original at 8MP

IMG_0822 Original

Compressed at 8MP

IMG_0822 Compressed

They look virtually the same to me. Now let's look at them side-by-side at 100% crop:

Original (left) and Google Photos Compressed (right) at 100% zoom side-by-side Original (left) and compressed (right) at 100% crop

Can you notice any differences in the details at all? Because I can’t.

Here is a look at the properties of the two images: iPhone Info

Notice that the resolutions are exactly the same and all the metadata is still intact after being compressed by Google Photos. So the only difference here seems to be the 30% reduction in file size.

This visual inspection reveals that there seems to be no loss in image quality at all. So we have to go a bit deeper to find out what's going on.

Given that the original and compressed image have the same resolution, the reduction in file size has to result in some quality loss or else it would be impossible to make it smaller. So to look for that, I brought the images into Photoshop in order to drill down to the very smallest of details that our mere monkey eyes can’t see.

What I did was to open them in Photoshop on two different layers, one on top of the other.

Screen Shot 2016 07 04 at 12 20 36 PM

Now the trick here is to change the blending mode to “Difference” which will show any differences between the two images. If they are exactly the same, this will result in a completely black image. Here is the resulting image after applying the blending mode:

IMG 0822 Diff 1

If you don't look closely (or if your screen is not at the brightest setting), you won’t see anything other than the complete blackness. But if you really look for it, you will start to see faint outlines of the image. But here is when the histogram becomes handy.

Screen Shot 2016 07 04 at 12 21 37 PM

Let’s take a quick detour and talk about histogram. A histogram is a graph representing pixels of different color range/tones in an image. Now the histogram we see here is a simplified version that only shows the greyscale range from black (left) to white (right). The higher the graph at a given point along the x-axis, the more pixels there are at that specific color/tone.

If the two images are exactly the same, we would only see a single vertical line at the very left of the histogram. That would mean the image is entirely composed of black pixels. Here we can clearly see that there are pixels of other colors as well. This reveals that the two images are in fact different.

To make this clearer to see. I adjusted the histogram level to show only those pixels that are present in the image. Here is the result:

Screen Shot 2016 07 04 at 5 25 10 PM

And there it is! The evidence of quality loss I’ve been looking for. What we see here is called compression artifacts, and to simply put, they are junk that got added to the image from the lossy nature of the JPEG compression. The brighter the pixel, the more different they are.

If we zoom in closer, we can see how nasty these compression artifacts are.

Screen Shot 2016 07 04 at 12 26 32 PM

So with all these in mind, I decided that the high quality option will suffice with photos taken by my iPhone camera. Even though we found out that there are quite a lot of compression done to the image, in reality those quality loss just cannot be seen with naked eyes. I figured that I don’t need the highest of quality for these day-to-day photos since I won't be post-processing them anyway, unlike those taken with a DSLR. The 16MP limit won't be a problem either since it's more than large enough for photo album printing or even framing. I would, however, keep images with a resolution higher than 16MP away from it if you want to take the advantage of free unlimited storage. Even if the image quality is visually the same, I don't think it's worth getting your images downsized to only 16MP.




My WWDC 2016 Predictions


wwdc2016

With WWDC 2016 just right around the corner, here are products I think (and hope) we will see during the keynote on Monday:

Change from "OS X" to "macOS"

There have been a lot of rumors (and evidence) regarding the name change of OS X since all of Apple operating systems use the uncapitalized-name-followed-by-‘OS’ convention (i.e. iOS, tvOS, watchOS). So it only makes sense that they would change OS X to macOS (or MacOS) to make their OS lineup's branding style more consistent. We hear people mispronounce OS X as "oh-es-EX" all the times when it is supposed to be "oh-es-TEN.” But we really can’t blame them because who uses Roman numerals on a regular basis anymore?

Now there is a debate going on between macOS and MacOS. Personally, I prefer macOS because it’s just more consistent and MacOS looks like it’s a typo of Mac OS, because that is what they called it before rebranding it to OS X. I understand that they might want to capitalize the word “Mac" for trademark reasons and what not but I’m hoping that they would just go with macOS. It just looks better, in my opinion.

As far as the name for the next version goes, I believe they will continue with the same naming convention after California natural landmarks. So… macOS Half Dome? macOS Red Wood? Or maybe just drop it and go with macOS 11?

New iTunes

iTunes is in a dire need for an overhaul. It has become so dreadful for me to have to use it from time to time. It is too clunky. It tries to do too much in one app. And it doesn’t even work that well. Perhaps, breaking it down into different apps for Apple Music, iOS devices syncing and backing up, and iTunes Store could solve this problem.

Dark Mode

A more universal dark mode that is not only for the menu bar and the dock, but also for apps like Finder or Safari, would be nice. I really wouldn't complain if that's all they add for 10.12.

Siri for Mac

Siri is heavily rumored to be coming to the next version of OS X, which I personally would never use. I really can’t see myself talking to my Mac asking for stuff or launching apps when using Spotlight already lets me launch apps, search for files, do maths or unit conversions very quickly. But who knows, maybe they came up with a really interesting implementation that will make me want to use it.

Siri API

I do hope that Apple would release the Siri API to developers as a part of iOS 10 SDK. I think this would really drive the usage of the feature. For me, the reason why I rarely use Siri is because its lack of support for third-party apps. If they choose to give developers to tools to integrate Siri into their apps, this year’s WWDC would be a perfect stage to do so. It’s been a long time coming. Apple usually loves releasing APIs to developers such as CloudKit, HomeKit or HealthKit, I don’t know what is stopping them from doing the same thing with Siri.

Siri Speaker

By this I mean a speaker with a microphone that sits in your living room and always listens to you. This would be a direct competitor to Amazon Echo and the upcoming Google Home. Honestly, I am a bit skeptical on how well they can improve Siri given the competition. Apple is not a company that is known for their expertise in machine learning unlike Google. I mean, look at how bad the search feature on the App Store is (but then there are also rumors that improvements are coming). Also, their firm stance on customers' privacy and data collection only makes it more difficult for them to improve on such feature that heavily relies on user data. With all that said, I trust that they will find a way to do so without compromising their views on privacy, and hopefully surprise us all.

watchOS 3

I think the watchOS will see quite a significant update since they did not announce a new Apple Watch during their spring event. One single most important thing they need to address with the new watchOS is the load time for the watch apps. These apps take forever to fetch the data, even those not required network connection. With watchOS 3 (or perhaps, Apple Watch 2), I hope that they somehow find a way to let the watch directly fetch data without having to rely on the iPhone to download it first and pass it along to the watch.

Another thing I think they should add is to allow developers to create custom watch faces. We have this smart watch technology, I don’t want to be stuck with the mimicking of a circular mechanical watch face or simple digital time-telling. Since it was shown off to the public almost two years ago, the Apple Watch has not received a new watch face and now it really needs some fresh ones. Of course, these third-party watch faces will have to be approved by Apple just like any other thing but the possibility of some developers coming up with new and clever ways of telling time is a very intriguing prospect.

And one more thing: Maybe it’s time to get rid of that clunky, honeycomb home screen design that makes it an impossible task to look for apps. I just hope that they are not too proud of it to change that.

2014 09 09 13 30 08 1433863440 kKho column width inline

A New MacBook Pro Retina

The last time the MacBook Pro lineup received a significant upgrade was more than two years ago. So it is safe to say that a big upgrade is definitely coming. Though I hope that they would announce it during WWDC, I am not holding my breath for it since WWDC tends to be more about software. On the other hand, I wouldn’t say it’s impossible since they have announced a lot of hardware during WWDC in the past including the retina MacBook Pro itself as well as the Mac Pro. Considering that all of Apple’s third-party developers have to use Macs, it would make perfect sense if they plan to announce one during the keynote.

The new retina MacBook Pro is rumored to feature Intel’s new microarchitecture, Skylake, which improves the performance and reduces power consumption. Now this might be the reason why we will see a change in the form factor with this new model since they can make it thinner while not sacrificing battery life. And we all know how much Apple loves making their products even thinner and lighter. Personally, I would not mind them keeping the same form factor and just increase the battery life instead.

AMD’s upcoming Polaris GPU is also expected to be featured in the high-end 15” retina MacBook Pro. However, the company said the GPU would not be ready until Q4 of this year, so that might be a reason why we won’t see a new MacBook Pro next week.

Another big rumor floating around is the OLED display panel that will be replacing the row of function keys. At first, I was not so sure how this will work since we rarely look down to our keyboards anyway when we type, and to have a touch surface instead of physical keys might not work as well either. However, this recent concept rendering by Martin Hajek made me think that this might actually be a really cool feature. But we'll just have to wait and see.

27292118240 c4897c6c02 b Credit: Martin Hajek

Swift 3.0

According to Swift.org, Swift 3.0 is expected to be released “sometime in late 2016” so I believe it’s possible that we would see some sort of a preview for that. This is a developer conference after all. But since Swift become open-source last year, the announcement would not be that exciting given that we already know what new features of the language are. However, if they choose to have maybe a slide or two for Swift, they would probably only highlight a few important features and changes such as the Swift Package Manager that will also be available for Linux and Darwin, Swift Core Libraries, more imported Objective-C APIs, and some refinements to the language including the removal of ++ and -- operators, and C-style for-loops.




ทำไมเราถึงควรไปสร้างอาณานิคมบนดาวอังคาร


21236949258 b9b916f54f k

การพัฒนาเทคโนโลยีอวกาศเป็นสิ่งที่สำคัญสำหรับเผ่าพันธุ์มนุษย์เรามาก ถึงแม้ว่าดูระยะสั้นมันไม่เห็นจะมีประโยชน์อะไรเลย จริงที่ว่าในโลกนี้ยังมีเรื่องปัญหาปากท้อง ก่อการร้าย หรือโรคภัยไข้เจ็บอีกเยอะที่คนควรจะสนใจและแก้ปัญหามัน (ตอนนี้ก็มีคนใส่ใจไปทำพวกนี้เยอะแยะอย่าง Bill & Melinda Gates Foundation หรือ World Food Programme) แต่นี่มันเป็นเรื่องของระยะยาวและต้องมองมันในภาพใหญ่จริงๆ รู้สึกเสียดายที่คนไม่ค่อยให้ความสำคัญกับมัน

ถ้าย้อนกลับไปดูในประวัติของโลกนี้ ตั้งแต่เริ่มมีสิ่งมีชีวิตมา มันมีเหตุการสูญพันธุ์ครั้งใหญ่ (mass extinction) มาประมาณ 5 ครั้ง ตอนล่าสุดคืออุกกาบาตพุ่งเข้าชนโลกในยุคไดโนเสาร์ (จริงๆเป็นอุกาบาตขนาดเล็กมาก ถ้าเปรียบขนาดโลกเท่ากับตึก 3 ชั้น อุกกาบาตที่ทำให้ไดโนเสาร์สูญพันธ์ุทั่วโลกมันมีขนาดเท่าลูกถั่วเม็ดนึง) ถ้าเราดูเหตุการสูญพันธ์ุตั้งแต่เริ่มแรกเราจะเห็นเป็นแนวโน้มว่าอีกไม่นานคงจะเกิดขึ้นอีก1

1062px Extinction intensity1 600x416 Credit: waitbutwhy.com

ที่จริงมีสิ่งอันตรายมากมายที่สามารถทำให้สัตว์โลกสูญพันธ์ุแบบทันทีทันใดได้ ไม่ว่าจะเป็นอุกาบาต, supernova, solar super flare, หลุมดำที่หลุดมา, โรคระบาด (epidemic) แบบที่ไม่ได้มีแฮปปี้เอ็นดิ้งเหมือนในหนัง Hollywood, หรือ superintelligence ซึ่งสิ่งพวกนี้มันเป็นภัยที่เกินเอื้อมมือมนุษย์เราแน่นอน เราเข้าไปแทรกแซงอะไรมากไม่ได้ โดยเฉพาะภัยจากอวกาศ

ถ้ารู้อย่างนี้เราก็ควรจะเตรียมตัวไว้หรือเปล่า?

ลองดูวิธีคิดที่ทำให้นึกภาพง่ายๆนะ...

เปรียบว่าโลกนี้เป็นคอมพิวเตอร์และสัตว์โลกรวมถึงมนุษย์เราเป็นข้อมูลต่างๆในฮาร์ดไดรฟ์ (เทียบว่าเวลาหนึ่งเดือนในเรื่องนี้เท่ากับเวลาจริง 50 ล้านปี) ตั้งแต่ที่เราซื้อคอมพ์เรามาตอนเดือนพฤษภาคมปีที่แล้วฮาร์ดไดรฟ์มันพัง (crash) ไปแล้ว 5 รอบ ในเดือน สิงหาคม, กันยายน, ธันวาคม, มกราคม, และเมษายน พอรีบูตกลับมาข้อมูลหายไปประมาณ 70% ทุกครั้ง ยกเว้นตอนเดือนมกราคม ที่ข้อมูลหายไป 95%

แล้วตอนนี้คือปลายเดือนพฤษภาคมปีปัจจุบัน เอกสารชื่อ HomoSapiens.docx เพิ่งถูกสร้างเมื่อประมาณ 2 ชั่วโมงที่แล้ว คิดดู เรามีฮาร์ดไดรฟ์ที่เต็มไปด้วยข้อมูลสำคัญมากๆพวกนี้ แล้วจากการที่เราเคยใช้งานคอมพิวเตอร์เรา เรารู้ว่าทุกๆ 2-3 เดือน ข้อมูล (i.e. สัตว์โลกทั้งหมด) จะหายไปประมาณ 70% โดยครั้งสุดท้ายที่มันพัง (i.e. การสูญพันธุ์ครั้งใหญ่) คือตอนเมื่อเดือนกว่าๆที่แล้ว

เราควรจะทำอะไรหละ?

เราควรจะทำสำรองข้อมูล (back up) ไว้ใน external hard drive โดยเฉพาะไฟล์ HomoSapiens.docx

โครงการอวกาศต่างๆอย่าง NASA, ESA หรือโดยเฉพาะบริษัทเอกชน SpaceX นี่แหละที่จะเป็นตัวช่วย back up สายพันธุ์เราโดยการที่วางแผนจะเอามนุษย์ไปตั้งหลักปักฐาน สร้างอาณานิคมที่ดาวอังคาร (แล้วดาวอื่นๆอีกต่อไปในอนาคต) จริงอยู่ว่าดาวอังคารไม่ได้ปลอดภัยหรืออยู่อาศัยง่ายกว่าเลย (เรื่องความเป็นไปได้นี้ยังต้องทำวิจัยและคิดเทคโนโลยีใหม่ๆอีกเยอะ)

เค้ามีคิดที่จะส่งไปรอบละ 100-200 คน พอผ่านไปซัก 4-5 ทศวรรษ เทคโนโลยีเดินทางอวกาศจะดีขึ้นทำให้ส่งไปได้รอบละมากคนขึ้น และทำให้ตั๋วค่าไปถูกลง และหวังว่าอาณานิคมเล็กๆ จะกลายเป็นเมืองใหญ่ที่มีคนอยู่ซักล้านคน เต็มไปด้วยสิ่งอำนวยความสะดวกและสถานบันเทิงต่างๆเหมือนโลกเรา

เท่านั้นเราก็ได้ทำ backup ของสายพันธุ์มนุษย์เราอย่างเสร็จสมบูรณ์ กลายเป็นสายพันธุ์ต่างดาวเคราะห์ (interplanetary species). นั่นแหละคือ “ก้าวกระโดดที่ยิ่งใหญ่ของมนุษยชาติ” (giant leap for mankind) ที่ Neil Armstrong เคยพูดถึงอย่าแท้จริง ถ้าโลกโดนอะไรขึ้นมา มนุษย์เรายังคงมีดำรงอยู่ต่อไป

1412161797318 wps 12 article 2238944 163A07800 1 ในอนาคตเราอาจจะอยู่อาศัยบนดาวอังคารแบบนี้ก็เป็นได้

ถ้าจะถามว่าจะมีเหรอคนที่บ้าจะยอมทิ้งโลก ทิ้งบ้าน ทิ้งครอบครัวเพื่อที่จะไปอยู่ดาวอังคาร มีอยู่แล้ว ดูตอนปี ค.ศ. 1605 คนยุโยปที่เริ่มย้ายไปก่อตั้งอาณานิคมที่ทวิปอเมริกา (New World) มีน้อยคนมาก มีแต่พวกบ้าๆ ที่กล้าทิ้งบ้านเกิดตัวเอง ขายบ้านขายของเพื่อที่จะไปเริ่มต้นชีวิตใหม่ที่ Jamestown หรือ Plymouth คนกลุ่มแรกที่จะไปดาวอังคารก็จะเป็นเหมือนกันนี่แหละ

ตอนแรกอาจจะไปอยู่ซัก 2 ปีก่อน2 แล้วคนเหล่านั้นก็จะกลับมาทำให้คนบนโลกรู้ว่าจริงๆแล้วการไปดาวอังคารไม่ใช่เป็นตั๋วขาไปอย่างเดียว เราก็เดินทางกลับได้

คนบนโลกจะเห็นบางคนกลับมากลายเป็นคนดังเพราะความกล้าหาญของเค้า บางคนอาจจะเขียนหนังสือยอดขายอันดับหนึ่ง บางคนอาจจะทำเป็น YouTube, รายการทีวี หรือภาพยนตร์ — คนก็เริ่มอยากจะไปมากขึ้น

คนบนโลกจะเห็นรูปถ่ายสวยๆจากการไปเดินขึ้นภูเขาที่สูงที่สุดในระบบสุริยะ (Olympus Mons) ที่ทำให้ Mount Everest เป็นเหมือนกับเขาขนาบน้ำ หรือแคนย่อน Valles Marinaris ที่ทำให้ Grand Cayon กลายเป็นเหมือนคลองแห้ง — คนก็อยากจะไปมากขึ้น

คนบนโลกก็จะรู้ว่ากระโดดลงจากเหวสูง 6-7 เมตรลงมาได้โดยที่ไม่บาดเจ็บอะไรเลย และเห็นคลิป YouTube ของพวกกีฬาผาดโผนใหม่ๆที่เล่นได้โดยเฉพาะบนดาวอังคาร เพราะมีแรงโน้มถ่วงแค่เท่ากับ 38% ของโลก — คนก็อยากจะไปมากขึ้น

อีกอย่าง อาจจะมีระบอบการปกครองแบบใหม่ที่ทันสมัยมากขึ้น ที่ไม่มีรัฐบาลปกครองเลยก็เป็นได้ ทุกคนสามารถโหวตเรื่องต่างๆได้โดยตรง ทำให้บรรลุฉันทามติ (achieve consensus) ได้ง่ายขึ้น

แต่ก็แน่นอนอยู่แล้วว่าไม่ใช่ทุกคนจะมีปัญญาไปกลับได้ง่ายๆ ยังไงก็อาจจะต้องขายบ้านขายของเพื่อที่จะได้ไป เหมือนตอนที่คนเริ่มไปอยู่ที่อเมริกา แต่เรื่องพวกนี้จะทำให้คนตื่นตัวมากขึ้น เพราะมันมีความแปลกใหม่อยู่เยอะ แล้วคนก็อยากจะไปเป็นคนแรกที่ทำอะไรบนดาวอังคาร เช่น เปิดร้านส้มตำร้านแรก สนามฟุตบอลแห่งแรก เป็นคนแรกที่พิชิตยอดเขา Olympus Mons หรือเป็นคนแรกที่นำยางพาราไปขายตามที่ท่านนายกฯเคยกล่าวไว้

photo 2016 05 25 13 09 55

ส่วนเรื่องค่าตั๋วไปดาวอังคารมันแพงแน่นอน ก็เลยมีบริษัทที่พยายามทำให้การบินอวกาศถูกลง ตอนนี้แพงมากเพราะจรวจใช้ได้แค่ครั้งเดียวแล้วถูกโยนทิ้งหมด เขาเลยพยายามหาวิธีนำจรวจที่ใช้แล้วกลับมาใช้ใหม่เพื่อที่จะช่วยลดต้นทุน (cost-per-launch) นึกดูว่าตอนเราบินจากกระบี่ไปกรุงเทพฯ เรานั่งเครื่องบินลำใหม่เอี่ยม พอถึงแล้วสายการบินโยนมันทิ้งทุกไฟล์ท แล้วมาสร้างลำใหม่สำหรับแต่ละไฟล์ท ค่าตั๋วมันคงจะแพงมากๆ

26405462060 81f8289687 k ภาพจำลองจรวด Falcon Heavy ที่จะนำออกมาใช้ปลายปี 2016 และสำหรับส่งยานอวกาศไปดาวอังคารในอีกไม่กี่ปีข้างหน้า Credit: SpaceX

แน่นอนอยู่แล้วว่าสำหรับคนทั่วไปฟัง(อ่าน)ดูคงจะหัวเราะเยาะว่ามันเป็นเรื่องแค่ในนิยาย sci-fi, เพ้อฝัน, ไร้สาระ, ไม่มีทางเป็นไปได้, "บ้าหรือเปล่า มันไม่เกี่ยวกับเรา" แต่ลองนึกภาพดูว่าถ้าเราบอกคนสมัย 30-40 ปีก่อน ว่าในอนาคต เราจะสามารถคุยเห็นหน้ากับคนอีกฝั่งนึงของโลกได้โดยใช้แผ่นสี่เหลี่ยมในฝ่ามือแผ่นนึง เค้าก็คงจะหัวเราะเยาะเราเหมือนกัน เข้าใจว่ามองดูตอนนี้อาจจะเป็นเรื่องที่เป็นไปไม่ได้ แต่ถ้าเราไม่กล้าคิดจะทำสิ่งที่เป็นไปไม่ได้ Christopher Columbus คงจะไม่ได้ล่องเรือข้ามมหาสมุทรมาพบโลกใหม่ (New World), พี่น้องไรต์ (the Wright brothers) คงจะไม่ได้สร้างเครื่องบินลำแรก หรือสหรัฐอเมริกาคงจะไม่ได้ส่งคนไปเดินบนดวงจันทร์ คืออย่างที่กล่าวไว้ เรื่องนี้มันเป็นปัญหาระยะยาว มันอาจไม่ได้กระทบกับเราหรือลูกๆหลานๆหรือเหลนๆเราด้วยซ้ำ จะให้คนทุกคนมาสนใจก็คงจะเป็นไปไม่ได้ แต่ยังไงเราก็ควรที่จะมองเรื่องนี้ในมุมของเผ่าพันธุ์มนุษย์ทั้งหมด รวมถึงรุ่นต่อๆมาในอนาคต ไม่ใช่แค่ภายในช่วงชีวิตเราทุกๆครั้งที่เห็นรัฐบาลประเทศต่างๆหรือนักวิชาการออกมาบอกว่า...

เห้ย อย่าไปสนใจเรื่องโครงการอวกาศหรือไปสร้างอาณานิคมอยู่ดาวอังคารเลย เรามีปัญหาอีกตั้งเยอะแยะบนโลกเราที่เราต้องจัดการกับมัน

มันเหมือนกับพวกเขาบอกว่า...

เดี๋ยวเราค่อยดูแลสุขภาพทีหลัง ตอนนี้เราต้องทำงานผ่อนบ้านผ่อนรถให้หมดก่อน

คือยังไงมันก็ต้องมีเรื่องสำคัญที่ต้องเข้าไปดูแลก่อนอยู่แล้ว แต่ถ้ามัวแต่ไปใส่ใจเรื่องด่วนๆพวกนี้จนลืมคำนึงถึงเรื่องที่สำคัญในภาพใหญ่ ก็จะทำให้ความเสี่ยงต่อการอยู่รอดของมนุษย์ (existential risk) ยิ่งสูงขึ้นไปอีก

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

แล้วเราคิดว่ามนุษย์เรามันต่างกับสัตว์อื่นๆยังไงที่จะเป็นข้อยกเว้นจากการสูญพันธุ์ครั้งใหญ่กระทันหันที่หนีไม่พ้นนี้ได้...


อ้างอิงบางส่วนจาก waitbutwhy.com


  1. นักวิทยาศาสตร์หลายคนคิดว่าจริงๆแล้วตอนนี้เรากำลังอยู่ในช่วงเวลานั้นเลย สัตว์โลกหลายพันธ์ุตอนนี้กำลังจะสูญพันธ์ุและก็สูญพันธ์ุไปเยอะแล้วเพราะกิจกรรมของมนุษย์เรานี่แหละ ↩︎

  2. เพื่อรอให้ดาวอังคารกับโลกอยู่ในตำแหน่งที่เหมาะสมสำหรับการเดินทางกลับ ↩︎




A Cleaner Home


A few months ago, after listening to a conversation between Myke Hurley and CGPGrey, I was inspired to start taking control of what is on my home screen, a screen that I literally see everyday. So I decided to give it a major overhaul.

Here is what I had before:

File May 24 4 04 39 PM Cringing at the badge on the Mail app

And here is what I have now: Photo May 24 3 57 01 PM A much better sight to see

Of course I did not suddenly go from that original one to this within a day. This is the result of a few iterations spanning across several weeks involving tough decisions whether or not to keep an app on the home screen.

The process went something like this: First, I wanted to reduce the number of pages to only one page so it is easier to find apps I want. Second, I got rid of all the apps I never used but somehow just left it there because I could not bother to do anything about them. The first ones to go were Clock, Camera and Calculator apps, because I can quickly access them in the control center. Then I realized that I never (or rarely) touched iTunes Store, Game Center, Contacts, Phone, Wallet and iBooks. So they are gone too. After awhile, all the built-in apps were put into one folder. And long story short, it became what I have now.

The Dock

I put three most important ones in the dock. Now the reason why it has only three has to do with the Launch Center Pro app. Since it is an app that contains all the actions I frequently perform on my phone (such as starting a timer, Google search, FaceTime or launching apps), similar to a folder, putting it in the middle of the dock right above the home button gives an impression of it expanding up into a secondary home screen. And it just looks nicer. The 2Do app is quite new to me, I have been searching for a decent to-do apps for a while. I tried the built-in Reminders, Things, Trello, Todoist and many others, but 2Do did it for me. Though I have been wanting to try OmniFocus, the price tag kind of scared me away. Then I have Telegram which is a free messaging app I found to be much faster and overall a more pleasant experience than WhatsApp.

The Folders

This top row is purely influenced by CGPGrey’s. What he did is genius and I really love the aesthetic of it; everything is just looks nice and clean. It is pleasure to look at. Only having one app in the first page of each folder indicating what the folder is about made the title irrelevant, so they became just periods for simplicity (though I wish I can leave them blank). From left to right they are social, games, development and others.

The Rest

Here are a few notable ones:

  • Quartz has just became my favorite news reading app recently, the iMessage-like interface really streamlined the news reading experience. I never found myself going back and check a news app like this one before.
  • Instapaper is where I store all the articles I found from various places to read later. It is really nice to have a hub for everything you find online here to sit through and read them. And you get a dark mode too.
  • Spark is an email client which has just demoted my previous email app, Email. I like this over the others due to its New, Pins and Newsletters sections and its support for all the email providers.
  • Sleep Cycle tracks my sleep at night. It display really cool and insightful data and trends, which I love to see. It also integrates with Life Cycle, an app that shows my daily activities, places I visit and how much time I spent there.
  • Overcast is my podcast listening app of choice. It blew the built-in podcast app out of the water. The killer feature has to be Smart Speed which so far has saved me an extra 18 hours on top of my speed adjustments alone.
  • Level Money helps me track my spending and shows how much spendable money I have left for each month. My favorite feature of this app is ability to add trackers to each merchant based its category. It will then aggregate all the purchases and show me how much I spend on each category each month. Again, I love seeing data and trends.

This has been a really nice change for the better. I can do frequent tasks faster especially with the help of Launch Center Pro. For those of you who are thinking of cleaning up your home screen but could not find time or the motivation to, I encourage you to take no more than an hour to do this. Trust me, it is worth it.




The Solid State


IMG 0436 1024x682

Yesterday, I finally got myself a Solid State Drive (SSD) for my 2010 MacBook Pro. It has been using traditional hard drives for more than 3 years and now it is really slow. The price of an SSD now is relatively cheap compared to how much it would cost 2 years ago.

I was surprised to find out that a 120GB SSD now only cost $90 on Amazon. That was also one of the reasons why I decided to upgrade from a traditional hard drive to a much faster and less energy-consuming SSD.

I got a 250GB SSD from Samsung, which is the best-selling SSD on Amazon.com, for only $145. At the beginning, I was contemplating between the Crucial m500 and Samsung 840 EVO. Despite the fact the Crucial is one of the first companies that entered the SSD market since around four years ago, I still prefer the Samsung over it because it received more positive reviews and has much faster transfer speed.

IMG 0441

I already had some experiences changing the RAM and hard drives on my MacBook, so upgrading it to an SSD was rather an easy task for me to do.

There are 10 screws on the back of a unibody MacBook which need a 0 size screwdriver to unscrew them.

IMG 0446 1024x682

IMG 9691 1024x682 The back cover can get really dusty. So this was a good chance for me to clean it up.

IMG 0448 1024x682

The drive is located on the bottom left corner. There are 4 more screws to be screwed off before I could lift the hard drive up and disconnect the SATA cable. The SATA cable is really fragile so I had to be extra careful disconnecting it from the hard drive because if I ripped it I would need to look up the tutorial on how to replace one. Once the hard drive came off, there are 4 more mounting screws on each corner of the drive which I must use them on my SSD for it to be able to be installed. These are not normal screws, I needed a Torx screwdriver to work with them.

IMG 0460 1024x682

After the mounting screws are in place, I just carefully connected the SATA cable to the SSD, put it down and secured it in place. Then I put the back cover back on and ta-da! That was it! Pretty easy right?

Next part was the nerve-wrecking part. I booted up the computer and hoped that it would recognize a new SSD in its system because if not I would need to open the back cover up again and re-install the drive or worse, return the drive and get a different one. But luckily, it recognized the new drive! So now the very last part was to install the operating system. I already created a bootable USB drive to use as an installer for OS X Mavericks.

IMG 0471 1024x682 The USB flash drive with OS X Mavericks on it.

IMG 0474 1024x682 The installation took a reasonable amount of time but still really fast compared to installing one on a hard drive.

After about half an hour of installation process, my MacBook booted up the a new SSD and freshly installed OS X Mavericks! Its boot-up time was less than 15 seconds! I tested the read/write speed it clocked in around 250MB/s for writing and 270MB/s for reading.

Screen Shot 2014 02 15 at 6 59 34 PM Not the fastest but still impressive nonetheless.

And that was it! My journey through upgrading my laptop to a SSD. If any of you guys are thinking of upgrading your computers to a SSD, I strongly recommend it.  Though I haven’t gotten a lot of experiences with it but so far it has been great (I’ll post some updates later). My applications launch in matter of seconds rather than minutes. The boot-up and shutdown time are also insanely fast. I can easily say that this is one single best upgrade for my laptop so far.




My Michigan Vacation [Part 1]


So I finally got around to write about this... First thing I wanna say is that my classes started last week, so for that reason I didn't have time to write on my website here. But this week, I have some more free time in the afternoon, so I'm just gonna write about my winter break vacation! I will try to write about it as much as I can. Hopefully some of you will find this somewhat interesting. Now sit back, and enjoy...

As some of you might already know from my previous blogpost that I went to Michigan to visit my host family and friends for the winter break. It was a 10-day trip, we mostly just hanging around the area, didn't do anything much. (Except a lot of driving and skiing/snowboarding) So I flew in to Grand Rapids on the 17th of December, about one and a half year since I flew out here back to Thailand after I finished my exchange program during 2010-2011. The trip was about 6 hours long, I had to make a connecting flight in Cincinnati. It was about 9pm when I arrived. To be honest, it was a strange feeling coming back here again. Now I'll just assume that most of you probably don't know my story when I was here as a exchange student. So just to clear things out, I had an awesome time here. It was one of the best years of my life.

As I walked out of the gates down to the waiting area. I already knew that my host family was gonna be here to pick me up. So I was kinda looking for them, and I honestly didn’t even know how to react, it’s been too long but still, I was really excited. In the summer of 2011, when I was here the last time, they dropped me off at this exact place. And one thing I think you should know, and I’ve never written about this before, is that I bursted into tears saying goodbye to my host parents here. It was tough to say goodbye. We all know that feeling. On that day I knew that we will meet again, it’s just the matter of where and when. So here I was, back at the place where I said goodbye, where I saw them for the last time. Then I saw them waiting for me on the bench. I let out a huge smile, walked right to them and gave them both a big hug. After a little greetings, we walked down to the baggage claim area and off to their place, which is about an hour north of Grand Rapids.

After a long ride with a lot of chit-chatting, we finally arrived at the same house that I was staying at for almost a year. It all looked pretty much the same, I felt lucky that I had a chance to come back here again at last.

Next day, my host dad, Brad, took me out deer hunting. But before I could be inside the woods to look for deer, I needed to wash off all my human scent with special soap and sprayed every pieces of clothing I was going to wear with this hunting spray.

There was this place we called ‘the cabin,’ it was the place where he usually hunts and it was in the middle of the wood. Perfect place for deer hunting. We then went inside the woods and out to the open field where he told me that he always sits and wait for deer to show up here.

IMG 4714 The cabin

IMG 4725

IMG 4739

Since I was there with him that day, we need to sit and wait inside that little cabin (seen in the photo above). Brad had his muzzleloader loaded and ready to shoot at any second the deer show up. It was about 3pm when we went inside and started waiting for deer, and that was all we did; sit and wait. We needed to be extra quiet and still. We couldn’t make any noises because that might scare the deer away. We would never know when they will show up, they are too quiet. We just had to sit there, looking out the window and hope that deer would show up soon. But we can play with our phones though, as long as they didn’t make any sound. Surprisingly, AT&T had 4G coverage in the middle of the woods...

IMG 4747

It was about 5:30 pm when it got dark and we couldn’t see anything anymore, so we packed our things and went back home. I was a little bit disappointed though. I even brought my DSLR with me, hoping that I would get a chance to take a picture of a living deer in the woods. But we didn’t have any luck. Continue to part 2...




Some of the Photos from My Vacation


Here are just some of the photos I took while I'm here so far.

The view from backyard The view from backyard

The Woods

There is gonna be a lot more to come!

Check out the whole set here.




Loy Krathong Festival 2012


Hi everybody!

So last week I went to a Thai festival called, Loy Krathong at a Thai temple here in Auburn. It's a festival that we celebrate every year. According to Wikipedia, the name's meaning could be translated to "Floating Crown" or "Floating Decoration."

Image: Wikipedia Image: Wikipedia

In Thailand, we celebrate this festival by floating these "Krathong" (Crown/Float/Decoration) on the evening of the full moon of the 12th month in Thai lunar calendar. So it's someday in November. This year it is on the 28th of November.

Since I'm going to college here in USA, I didn't get a chance to celebrate this in Thailand (for 4 years in a row). So the Thai Student Association created an event for not only Thai student but for anyone who was interested to celebrate this tradition at a Thai temple.

Inside the temple Inside the temple

We went to this Thai temple called, Wat Washington Buddhawaram on Sunday last week. The temple hold a Loy Krathong event for anyone to join and learn our tradition, so there are a lot of Thai people as well as some Americans at the temple on that day. A lot of them brought food, some of brought their homemade Krathongs. For those who didn't make one, the temple was also selling their handmade Krathongs.

LKT-20121202-22 Delicious Thai Food

The food are just really good. Maybe that's also because I haven't had any Thai food in a while and I really miss how delicious Thai food is. So, yeah, I enjoy the food a lot.

Oh and we prayed too. It's been a long time since I attended the praying at the temple.

Then in the afternoon, it's the time for us to float our Krathongs, at the swamp nearby. Actually in Thailand, we float our Krathongs in the river at night. But since there's no river near the temple and the night in December would be so cold, we just did it at the swamp in the afternoon.

LKT-20121202-41 Out at the pond

My Krathong!! My Krathong!!

We came back to the campus in the late afternoon. It was a really fun event. I got to meet some other Thai people/students in the area, floated my Krathong, and most importantly, savored the deliciousness of homemade Thai food. Let's do it again next year!

Check out my full gallery on Flickr here.

Until next time.