A TEXT POST

An iOS Developer Takes on Android

nfarina:

Recently, we released the Android version of Meridian, our platform for building location-based apps.

We didn’t use one of these “Cross Platform!” tools like Titanium. We wrote it, from scratch, in Java, like you do in Android.

We decided it was important to keep the native stuff native, and to respect each platform’s conventions as much as possible. Some conventions are easy to follow, like putting our tabs on the top. Other conventions go deep into the Android Way, like handling Intents, closing old Activities, implementing Search Providers, and being strict about references to help the garbage collector.

Now, our platform leverages HTML5 (buzzword, sorry) in many places for branding and content display, so we got a fair amount of UI for free. But there was much platform code written in Objective-C that needed translation into Java, such as map navigation, directions, and location switching.

So, we rolled up our sleeves, downloaded the Android SDK, and got to work.

Read More

Reblogged from Nick Farina
A TEXT POST

Uncharted 3

Uncharted 3: Drake’s Deception is so far the best game of the whole trilogy. With just enough puzzling, action, cinematics mixed in a very well measured proportion the game keeps player engaged from the first flashback to the last screenful of pixels. There’s love, horror, friendship and betrayals, like in a good novel. Amazing graphics will make you want stay around forever and look at the desert sands, wonderfully formidable ocean waters or pillars and towers of Iram. And once you’ve found all the treasures in the single player campaign, there’s absolutely phenomenal multiplayer - you will have to try each mode at least once, they all are an amazing experience and a lot of fun with friends and foes alike.

Highly recommended.

A TEXT POST

Spelt Number to Decimal (Updated)

arachneng:

This post is last updated in 2011-07-11 13:20 UTC.

I certainly like a code obfuscation and golfing: the recent example includes this and this. The today’s project is more like the former, where very short code takes much time to explain. Without further ado, here it is: (Gist)

This little program reads a spelt number from the standard input and writes the corresponding number to the standard output. It supports numbers up to 1015-1 and still weighs only 256 243 bytes of C, if you ignore the backslash at the end of line which just wraps the line. (There is also a shorter version that can handle up to 19,999,999 and does not use long long.) The input should be correct, although it will handle “a” and “and” correctly and ignore some invalid words.

It assumes the ASCII character set and 2’s complement representation, and requires int and long long to be at least 32 and 64 bits long, but that’s all they expect from the compiler. For example, it does not matter whether char is signed or unsigned, EOF does not have to be -1, and so on. (Yes, I did keep it in mind while writing this program.)

While I left the explanation of the BF interpreter as a reader’s exercise, in this time I’ll give a detailed explanation of the program. Keep in mind that there are two versions of the program; the explanation is primarily for the longer version.

Read More

Yippie!

A TEXT POST

Metta MMU module init

Since tumblr doesn’t properly support importing any texts I’ve done in Pages, I will just link to it here as a PDF: MMU init.

A TEXT POST

A historical moment

OMAP3 beagleboard.org # mmcinit
OMAP3 beagleboard.org # fatload mmc 0 0x82000000 kernel.bin
reading kernel.bin

640 bytes read
OMAP3 beagleboard.org # go 0x8200024c
## Starting application at 0x8200024C ...
hello, world!
## Application terminated, rc = 0x0

A PHOTO

Somebody posted this on tumblr, but I’ll never know who, because tineye cannot find it. Anyway, sweet.

A PHOTO

seeksthenight:

That is all you should be.

Whatever that is.

Reblogged from SeekstheNight
A PHOTO

seeksthenight:

the question He had for her was how long could she stay in this position once His mouth took her

Mmmhm.

Reblogged from SeekstheNight
A PHOTO

Just been to, and touched, the Center of the Universe at the Reality Checkpoint.

Grasp firmly.

A PHOTO

early-onset-of-night:

Say hello to mechanically separated chicken. It’s what all fast-food chicken is made from—things like chicken nuggets and patties. Also, the processed frozen chicken in the stores is made from it.

Basically, the entire chicken is smashed and pressed through a sieve—bones, eyes, guts, and all. it comes out looking like this.

There’s more: because it’s crawling with bacteria, it will be washed with ammonia, soaked in it, actually. Then, because it tastes gross, it will be reflavored artificially. Then, because it is weirdly pink, it will be dyed with artificial color.

But, hey, at least it tastes good, right?

High five, America!

*smack*

Reblogged from Early Onset of Night