vaes9

Category: Ultra-geekiness

The only non-trivial normal magic hexagon

3:42 pm PHT

If you arrange the natural numbers starting with 1 onto a hexagonal grid such that they fill in a hexagonal-shaped array of hexagons, there is only one non-trivial normal magic hexagon—that is, all of the numbers in every hexagonal row for all three directions sum up to the same number. This unique magic hexagon is shown above and the magic sum is 38. It has been proven in 1963 that this is the only normal magic hexagon (aside from the trivial solution of only 1 hexagon).

There are other “abnormal” magic hexagons of various sizes where the successive numbers don’t start with 1, but the one shown is the only normal one. Magic hexagons have only been studied relatively recently by mathematicians especially when compared with the vastly more popular magic squares which are known since ancient times.

Read this entry »

Perspective correction using GIMP

1:23 am PHT

As I mentioned on Facebook, a micro-hobby that I picked up recently is applying perspective correction on photos of NHCP historical markers in Wikimedia Commons such that they look as if they were photographed head-on and with horizontal edges looking horizontal and vertical edges looking vertical. An example result is the corrected photo of the Fort of San Pedro historical marker shown below.

Read this entry »

Rhombic Triacontahedron

5:02 pm PHT

I’ve mentioned in passing here on this blog that my favorite number is the golden ratio. If you know me, this should not be surprising at all. Two of my favorite school subjects are math and art after all, and aside from fractals (which I also really love), the golden ratio is a concept that straddles both fields, having numerous interesting mathematical properties and being used as an aesthetically pleasing proportion in the arts and architecture. I’m quite sure that I am far from alone in having the golden ratio as their favorite number.

Read this entry »

MNL–BKK–TLV–HKG–MNL (Part 1)

2:18 am PHT

So far, the top highlight of 2011 for me was my recent trip to Israel where I attended Wikimania 2011, held in the beautiful seaside city of Haifa. Wikimania is the annual conference for Wikipedians (and Wikimedians) and it is held in different cities every year. Last year it was held in Gdansk, Poland and next year it will be in Washington, D.C. I applied for a scholarship to attend this year’s Wikimania and I was fortunate to be accepted. The scholarship enabled me to go to Israel with practically all-expenses paid. The only thing I needed was pocket money and some transportation fare.

Read this entry »

Somebody Actually Got a Tattoo of My Phi Logo

6:22 pm PHT

I blogged in 2008 that if ever I would get a permanent tattoo, I would get something like the one pictured above. This is a stylized Greek letter phi which represents the golden ratio. The golden ratio is my favorite number by far and I just love how it is crops up in so many places and how it provides a nice blend of mathematics and art. I love it so much that I made that logo for my amateur QuickBASIC software “company”.

Read this entry »

Even More Problems on the New Peso Banknotes’ Philippine Map

1:21 am PHT

Would you believe that the missing Batanes, and the misplaced markers for the Tubbataha Reefs and the Puerto Princesa Subterranean River are not the only problems with the map of the Philippines found on the new peso banknotes?

Read this entry »

Kubuntu Chronicles: Why Kubuntu?

2:38 pm PHT

Read this entry »

The Moon-Venus Occultation

12:44 am PHT

Occul—what? An occultation is an astronomical event wherein a heavenly body passes in front of another and hides it from view. That’s what happened earlier tonight: an occultation of the Moon and Venus. Most people saw the very close conjunction (an astronomical term signifying that two objects appear near each other in the sky) and appreciated the beauty of a “star” on top of a crescent moon. You can actually see plenty of pictures and status messages about this relatively rare Moon-Venus event and there were observations that it reflected some Islamic flags or that it looked like a one-eyed smile. What most didn’t know (and missed) was that the “star” was actually Venus and that the occultation itself is much more interesting scientifically. (In addition, the Moon and Venus are the 1st and 2nd normally brightest objects in the night sky so this occultation is actually quite special.)

Read this entry »

mod_gzip, mod_include, and mod_rewrite Don’t Mix

5:28 pm PHT

The Apache web server modules mod_gzip (or mod_deflate), mod_rewrite, and mod_include apparently don’t interact very well. Specifically, mod_gzip returns to the web browser an incorrectly compressed file when that file is constructed using includes (via mod_include) with virtual URLs rewritten using mod_rewrite. The apparent workaround is to avoid rewriting include URLs or to disable mod_gzip.

Read this entry »

2² + 3² + 4² = 29

1:13 pm PHT

Aside from being the tenth prime number, 29 is also the second sum (when only considering whole numbers) of three consecutive squares, namely the squares of two, three, and four. (The first such sum is 14, which is 1² + 2² + 3².) In addition, all the numbers in the sequence from 1 to 29 have at most 2 unique prime factors and that this is the longest such sequence.

Read this entry »

Periplus’ Manila Street Atlas is so Not Worth It

11:49 pm PHT

One of my managers at work knows that I love maps (she actually gave me four NAMRIA topomaps for Christmas) and so she told me a few months ago about this thousand-plus-peso atlas of Metro Manila that she saw at Fully Booked. Being the map geek that I am, I was of course quite curious. I was finally able to locate this atlas last month at Fully Booked Bonifacio High Street and discovered that it’s the first edition of the Manila Street Atlas by Periplus (see the Amazon listing).

Read this entry »

Partial Solar Eclipse on July 22!

2:11 am PHT

The solar eclipse that will occur this Wednesday, July 22, is quite remarkable in some respects. First of all, this eclipse will be the longest total solar eclipse in this century—a longer one won’t occur until 2132. The longest duration of totality will be 6′39″ and the reason why this eclipse is long is because the Earth is near aphelion and the Moon is near perigee. This means that the Sun will appear at its smallest and the Moon at its largest. (It’s very easy to imagine that a large circle moving in front of a smaller circle will cover the smaller circle longer than if the two circles were nearer to each other in size.)

Read this entry »

Google-Globe Developer Workshop

11:30 pm PHT

For the most part I’m a big Google fanboy (well except for some things here and there). And because I’m nominally a web developer, I certainly will try to attend as many developer-oriented Google events as I can. The first event I attended was the Google TechTalk last November 2007 and the second one was the first ever Google DevFest Manila back in November 2008. So it should not come as a surprise that I turned up at the Google-Globe Developer Workshop last June 20. This event was held at Tech Portal of the really, really, really cool U.P.-Ayala Land TechnoHub in U.P. Diliman (see a rough map at OpenStreetMap  ;-)). Did I mention that the TechnoHub is really cool?

Read this entry »

Historical Satellite Imagery in Google Earth 5

2:23 pm PHT

Google Earth 5 was released last February 2 via a much-hyped launch event at the California Academy of Sciences in San Francisco. The special feature that was unveiled (to no one’s surprise because of the many clues released prior to the event) is the arrival of Google Ocean, which lets users explore the world’s oceans in 3D. What was unexpected were the three other major features added: Google Mars, easy KML tour recording, and—the one I’m most interested in—historical imagery.

Read this entry »

How I Manage My Money (Part 1)

8:07 pm PHT

I plurked in early January that I finished my initial draft of my personal 2009 budget. I mentioned then that I only increased my projection by 1% compared to last year’s budget due to, yes, the worldwide economic crisis. Based on the comments to that plurk, I thought it would be interesting to do a series of posts explaining how I manage my money such that I am actually able to do a year-long budget.

Read this entry »

Early 2009 Eclipses in Stellarium

6:45 pm PHT

There were two eclipses that were visible from the Philippines in the last four weeks. The first was a partial solar eclipse that occurred in the late afternoon of January 26 and the second was a penumbral lunar eclipse on the night of February 9. I wasn’t able to view these two eclipses since for the solar eclipse, I couldn’t go out of the office the view of the sun from my office’s windows is blocked by skyscrapers and for the lunar eclipse, I forgot all about it. Besides, since the lunar eclipse was penumbral, it wouldn’t be as spectacular as a partial or even a total lunar eclipse.

Read this entry »

28 is the Second Perfect Number

12:36 am PHT

And 6 is the first. Perfect numbers are positive integers that are equivalent to the sum of their proper divisors—that is, when you list down all the factors of a perfect number (except itself) and add them all up, you will get the number itself. The proper divisors of 28 are 1, 2, 4, 7, and 14 and their sum is 28. Neat eh? Incidentally, I expanded the Wikipedia article on perfect numbers in 2003 based on a tutorial I wrote back in 1998.

Read this entry »

Playing with Google Earth Photo Overlays

7:32 pm PHT

I’ve been playing around with creating PhotoOverlays in Google Earth, and I must say, making them is hard. PhotoOverlays are a new feature in Google Earth 4.2 wherein you can place photos in 3D space such that it lines up with the underlying view in Google Earth. Note that this is different from an Image Overlay feature wherein you take a graphic (like a map) and drape it over the terrain. Shown below is how a PhotoOverlay I created looks like floating in space.

Read this entry »

Filipino’s Memristor is Now a Reality

2:32 am PHT

The big news that’s rocking the physics, electrical and electronics engineering fields is the proof of the existence of the memristor. “Mem-what?” Well, that’s what my initial reaction was, too. The memristor is apparently the missing fourth fundamental basic element of electrical circuits, alongside the resistor, the capacitor, and the inductor. And the cool thing about this is that the memristor was first hypothesized in 1971 by Leon Chua, a Filipino-American professor at the University of California at Berkeley who got his degree in B.S. Electrical Engineering at the Mapúa Institute of Technology in 1959, here in the Philippines! Yay, Pinoy!

Read this entry »

More OpenStreetMapping

11:53 am PHT

One thing I did over the long weekend was to contribute some more to the OpenStreetMap (OSM) project, something I had been doing last year. This time around, I tackled various places in Metro Manila, not just the southern portions, and I added more types of data and not just streets.

Read this entry »

Geeky Science Tattoos Anyone?

12:14 am PHT

Found via Kottke is this absolutely geeky blog showing off science- and math-related tattoos from scientists, mathematicians, programmers, and other academics. I find it to be a wonderful blend of the rebellious and the geek.

Read this entry »

Philippine Piso

2:41 pm PHT

Did that title rattle you? Was your grammar/spelling Nazi evil twin awakened by it? If yes, then you’re not alone. Filipino Wikipedians on the English Wikipedia had a long-running debate this year regarding the name of the Philippine currency and what to name the corresponding Wikipedia article.

Read this entry »

OpenStreetMapping My Neighborhood

6:10 pm PHT

Ever since I discovered that the OpenStreetMap (OSM) project expanded their coverage to the whole world, I was excited to map out my neighborhood since I saw that my area is still virgin territory yet untouched by Philippine-based OSM contributors. You can actually add data on the site itself using their Potlatch web app. It’s a slick Adobe Flash-based application that provides a rudimentary, yet powerful map data editor and can directly show Yahoo! Maps satellite imagery for tracing streets. The other popular way of adding data is via the JOSM Java-based desktop application. JOSM is intended for power users and serious OSM contributors.

Read this entry »

Proper Name Etymology Game

1:34 pm PHT

Let’s all have a slightly nerdy game this time. What is the longest chain of proper name etymology that you can think of? Here’s an example: One San Miguel Avenue (the building) is named after San Miguel Avenue in Ortigas, which is then named after San Miguel Corporation (whose headquarters is along the previously mentioned avenue), which is named after Archangel Michael. That makes a chain of four links.

Read this entry »

The Making of Lakbayan (Part 2)

6:26 pm PHT

Here’s the second part of the story behind Lakbayan. You should also read the first part or the launch blog entry if you haven’t done so.

Read this entry »

OMG: Google Maps Street View

7:58 am PHT

Oh. My. God. This has got to be the coolest thing I have ever seen on Google Maps by far. Google has now integrated street-level panoramic views of practically every street in 5 U.S. cities: New York, San Francisco, Miami, Denver, and Las Vegas. The photos only require a flash player, is zoomable, pannable 360°, and it’s interactive! You could practically do a virtual drive around these cities! It’s almost as good as being there.  :D

Read this entry »

An Analysis of Presidential Elections

1:21 pm PHT

If you understand the title, then it sounds intuitive doesn’t it? If you have a plurality elections (like what we have here in the Philippines), then the more candidates there are, the lower the probability of the winner getting the majority votes. To interpret that in another way and to put it into statistical terms, there is an inverse correlation between the number of candidates and the percentage of votes that the winning candidate gets.

Read this entry »

I Named 115 UN Countries in 10 Minutes

1:49 pm PHT

Not bad. I was able to name 115 UN member countries out of a total of 192 in 10 minutes. That’s almost 60%. Try to see if you can beat me via this cool online quiz. Tip: you don’t have to press the return key if you typed an unidentified country correctly. I would’ve listed my results here but that would spoil the fun!  :) (Via Kottke.)

Read this entry »

Topographic Maps Using SRTM3 Data

11:32 pm PHT

Last weekend, I played around with the public domain data obtained by the Shuttle Radar Topography Mission or SRTM. I wanted to use this data to create topographic maps that I can contribute to Wikipedia.

Read this entry »

The iPod as a Purchasing Power Parity Measure?

4:16 am PHT

I read an interesting business article yesterday saying that an Australian bank has developed a new purchasing power parity index called the iPod Index. We all know about foreign exchange rates. But we also know that just because the U.S. dollar is equivalent to 49 Philippine pesos, does not mean that an apple that sells for 50 cents in California will go for 24.50 pesos in Cebu.

Read this entry »

U.P. Diliman Google Maps Mashup

3:46 pm PHT

I believe I have created the first Philippine-related Google Maps mashup that is more than just placing points on a map. I remembered recently that I have scanned before an aerial photography plate of the University of the Philippines, Diliman area from the early 90s. (These plates are used by U.P. Geodetic Engineering students in their courses.) So last night, I had this brilliant idea to create a custom map in Google Maps with the aerial photography as a new map type. So now I’m proud to present my University of the Philippines, Diliman Map Mashup located at my dormant U.P. community site ASwalk.net (which I plan on reviving soon). Please select the “Aerial” map type to view the “new” imagery.

Read this entry »

Experimenting with Google Maps API

12:07 am PHT

I’ve added a beta Map page to my second blog, Tanawing Pinoy, (now named Vista Pinas). Like the original Google Sightseeing, I plan this page to be an interactive embedded map pointing to all or a subset of the featured sights from the blog.

Read this entry »

The Plane on the Conveyor Belt

12:01 pm PHT

Before reading on, visit this puzzle post by Jason Kottke about a plane on a conveyor belt. Read it? Thought about it? Or are you as confused as many of the commenters on his post?

Read this entry »

The Great TBL Has a Blog (and A Look Back In Time)

4:10 pm PHT

Tim Berners-Lee has a blog! If you don’t know who he is, then you either probably haven’t read Dan Brown’s Angels & Demons, or you haven’t carefully read Dan Brown’s Angels & Demons. For the still clueless, he’s the reason you’re reading this blog entry now; he’s the inventor of the World Wide Web.

Read this entry »

Global Monstrosity

3:37 am PHT

Being a person with good spatial intelligence, some talent for visual arts, and technical inclinations, it’s not a surprise that I’m a map freak. I love maps; I probably wouldn’t mind a job in the field of cartography or geographical information systems (GIS). And don’t be surprised if you find me poring over those you-are-here maps longer than the average person.

Read this entry »

Tracking the Baton

5:25 pm PHT

Since I’ve now done my part in passing the baton, I’ll blog about the meme itself. I first saw this meme on this post by Stuart Langridge, one of the geek bloggers that I read. Then I noticed it entered the Philippines (as far as I can tell) through Markku Seguerra’s post. From there, it took several more blogs and weeks before it got passed on to me.

Read this entry »

Tug-Tss-Tug-Tss

10:08 pm PHT

You learn something new everyday. While exploring the website of silverfilter, a local electronica act I saw at last Saturday’s Fête, I came across this tutorial explaining how to make a dance track. It’s interesting to say the least, and it might’ve ruined the way I listen to music (at least for a while).

Read this entry »

Hotkey Goodness

10:59 pm PHT

I’ve owned my Nokia 6610 for almost a year now, but I only discovered two of its nice hotkey features only recently. You’re welcome to skip this post if you’re not interested in techie minutiae. (I’m a self-confessed geek. So sue me.)

Read this entry »

Rubik’s Cube Madness

1:45 pm PHT

An officemate of mine, Joanne, gave everyone in our division Rubik’s Cube for Christmas. These are not the official versions, but are imitation versions with maddeningly weird cartoon figures on the stickers. (Solving the Cube with these figures is actually more difficult since not only do you have to have the correct colors, you have to have the center cubes rotated correctly.)

Read this entry »

What are the Chances?

2:58 am PHT

I opened Winamp a while ago and set it to play my playlist consisting of 75 songs in shuffle (random) mode. Imagine my surprise (and delight) when I heard it play my three currently most tripped songs one after the other within the first five songs! What are the chances of that happening? I would’ve believed it’s a sign from God except that I don’t know what it is a sign of.

Read this entry »

Do You Get Wetter Walking or Running in the Rain?

7:13 pm PHT

Several weeks ago, my officemates and I had a discussion on the question, “do you get wetter walking or running in the rain?” My guess is that the walker gets more wet, primarily because he spends more time in the rain. But intuitively, you could also say that the runner gets more wet because he is running into rain, rain that would not hit you if you were walking more slowly.

Read this entry »