
To Old Bai's New Owner
I’m Laobai’s older brother. Laobai treats me like his own brother, so I’m begging you — please take good care of him. We even took a family photo together, and I once vowed to look after him into ...

I’m Laobai’s older brother. Laobai treats me like his own brother, so I’m begging you — please take good care of him. We even took a family photo together, and I once vowed to look after him into ...
The day after WWDC MMXIII wrapped up, I was watching the official Podcast on iTunes, and the ad at the end hit me right in the feels — I was deeply moved. It reminded me of the line from the iPad ad “If you asked,” released before Steve Jobs passed away: “If you asked us, we’d say: ‘This is only the beginning.’”
cn.flashj.ane.ios.OpenMap is a native extension for iOS that does one very simple thing: jump to the system’s built-in Maps app and navigate to a place. It provides 2 methods: openMap.routeFromSourceToDest(source, dest); navigates from source to dest. openMap.routeToDest(dest); navigates from the current location to dest. The source and dest parameters are both cn.flashj.ane.ios.MapItemVO, a class with three fields: latitude, longitude, and place name. Example usage:
Symptoms: Our project needed the ANE QR code scanning feature. After writing it in XCode with ZBarSDK and publishing it as an ANE, packing it into an IPA with adt threw this error: Packaging failed! Packaging error message: Compilation failed while executing : ld64 Packaging output: ld: warning: ignoring file /var/folders/l5/kql7svqx5j93vwg65tj3pt_c0000gn/T/8e0d5504-ffea-41da-a45b-22cfe260a197/libcn.flashj.ane.ios.QRScan.a, file was built for archive which is not the architecture being linked (armv7): /var/folders/l5/kql7svqx5j93vwg65tj3pt_c0000gn/T/8e0d5504-ffea-41da-a45b-22cfe260a197/libcn.flashj.ane.ios.QRScan.a Undefined symbols for architecture armv7: “_QRScanExtInitializer”, referenced from: _g_com_adobe_air_fre_fmap in extensionglue.o (maybe you meant: _QRScanExtInitializer_name) “_QRScanExtFinalizer”, referenced from: _g_com_adobe_air_fre_fmap in extensionglue.o (maybe you meant: _QRScanExtFinalizer_name) ld: symbol(s) not found for architecture armv7
I remember someone once told me: when you keep a cat, you have to remember to discipline it. Don’t let it develop bad habits—if it does something bad, you have to hit it. Spoiling it and pampering ...

I finished Heart of the Swarm. The Zerg always struck me as filthy, cruel, bloodthirsty, and heartless. This expansion, on top of showing their take on life — constant evolution — also lets a hint...
Last night after finishing a phone call with my mom, combined with some of the wisdom Lukia had shared with me before, I had some insights. I wrote them down during the night and organized them this morning. The master says: Whether you’re chanting Buddha’s name or handling affairs, always use the first thought, not the second thought. The true first thought is not the first idea that pops into your head — that first idea is just the consciousness of human nature’s curiosity. Like how many children’s first thought upon seeing ice cream is “I want to eat it,” but eating it might give them a stomachache. The consequences aren’t necessarily something they can afford. The master explains: “More often than not, it’s greed, it’s delusion. Don’t get it wrong. The so-called first thought is seeing your original nature, it’s the outflow of your true mind, your original face. Thoughts of craving food, craving comfort all belong to the deluded mind, the greedy mind — not the true mind.” There is a big house. In the basement of the house lives a giant dragon. It is the owner of the house, but it has been sleeping all along. The house has many servants and stewards. Under the head steward’s leadership, everyone keeps repairing and expanding the house, living their lives in perfect order. The owner has been asleep the whole time — all matters big and small are handled by the steward. As time passes, the steward mistakes himself for the owner and forgets that the true owner is sleeping. The steward is like our consciousness; the dragon is the original face (or you could say, the soul). Many people practice spiritually precisely to awaken the dragon, to recover true insight — only then can the first thought emerge.
- Fixed a bug where user edits were lost if the screen locked while editing a specific note - Fixed a bug where the unlock screen sometimes asked for the password multiple times - Fixed a bug where the creation time of new notes made on the web page displayed incorrectly in WiFi access mode - Fixed a bug where the IP address was sometimes obtained as (null) in WiFi mode
My first personal app, Private Notes, is now live on the App Store. From the first version submission to approval, including one rejection along the way, it took 10 days in total. Private Notes is a password-protected memo app I built for my own needs at work and in daily life. Back when I was a kid, my teacher taught me what Chairman Mao once said: “A good memory is no match for a worn-out pen.” That line has stayed with me ever since, and over the years I’ve put it into practice — if it’s worth remembering, I write it down. Now we’re in the information age, and I’m a heavy user of electronic devices. Going out without my phone cuts my HP and my mood in half. My important information — website accounts, security questions — all lives in my phone’s notes app, carried with me everywhere. Even my bank card details, my phone number’s PUK code, the serial numbers and MAC addresses of all my devices — all of it depends on my phone to remember. But phones are easy for other people to grab and play with. With everything stored on the phone, private data is easy for others to see, so a lot of the time I don’t dare write it down at all…

Loli’s Adventure was the first mobile game project I saw through to completion as lead programmer. I learned a lot from it and got a feel for how it differs from browser games. The project was built with PHP (AMFPHP) + AIR (Starling plus traditional UI), and on the front end, Starling + traditional UI still runs into plenty of performance limits — from here on, I plan to drop traditional UI entirely for mobile games. This year is a breakout year for mobile platform products, and my interest is sky-high right now.
When using Xcode’s Archives panel to Distribute to iTunes Connect, I got this error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “conte...
Feathers is a lightweight UI component set that’s easy to skin and extend (works on mobile and desktop). Used together with Starling. My recent project is built with Starling, and time is pretty ti...

I barely have time to play games outside of work these days, but I still have to play this classic sequel, and there's Old Niu, Xiong, and my old comrades and everyone else from my student days who agreed to play this game together. I miss you all. My BN tag: mousebomb#3252, see you soon.
Question: When exporting FBX from 3dsMax for use in Unity, textures always get lost. Unity does automatically import materials when it imports the FBX, but the texture files all end up empty, so yo...
The new version of greensock’s tween now comes with a JS version. Based on animation performance tests, the more particles there are, the bigger the performance advantage over other frameworks. htt...