Thursday, March 14, 2013

かえるのうた, frog song

おもったよりちがう。
So, my Japanese film for the day ended up being soft porn.
Frog Song has a few interesting things going for it, but not really enough to be redeeming. 20 seconds of two girls fighting it out with baguettes is about it.

Sunday, March 10, 2013

Tuesday, February 26, 2013

GE Oil and Gas has the best PR department.

What if I said that in Jan 2013 that there was a fluid leak from an oil well into the Gulf of Mexico? It is mentioned here, but it was much worse than advertised. There are some flawed bolts... and they are on everything.

All this, of course, knowing that the BP trial is upcoming. GE's PR department needs a raise.

Human's a batteries.

I find it interesting that you get things advertised as "revolutionary" when you need a good press release. In this case, FUJIFILM's Peltier film. Documented since 1834, and done with ceramic grids. I have seen a few human-powered MCUs that used this effect. I see the FUJIFILM technology as a progression.

Saturday, February 16, 2013

3 to 8 decoders, why are there 3 enable pins?

I still use that 7400 series. The 74138 , 54SN138, and every IC that has *138 in it is a 3-8 decoder that has 3 selection, 8 output, 2 power and 3 control pins. I do not understand is why there are 3 control pins. One is active low, and the others are active high. Why can I not get a 3-8 decoder that has one control line and is in a 14-pin package? Someone made a decision back in 1970, and I just want to know what it was that required 3 control pins. :/

Friday, February 15, 2013

usleep(1000) does not sleep.

I just discovered that usleep(1000) is not equal to msleep(1) on Mac OS. If you do a usleep(1000), it returns immediately without sleeping!

Saturday, February 9, 2013

Geolocation and finding a radius on a sphere.

A discussion came up today of why some location calculations where always off by 40% for geolocation.
Basically, we were converting it incorrectly; however, more interestingly is a page about geolocation and SQL. Things that developers often take for granted is the problem of database-side sorting.
Outside of Geolocation, "infinite scrolling" on web pages just makes me wonder how the SQL is handled. What if a record gets inserted between the scroll calls? How does one keep track. If you search online, there are many resources of how to scroll infinitely using jQuery and browser-side calls, but I'm sure there's one genius that has designed how the database handles the actual creation of the data.