other

A “shortcut” for multiplying any two numbers

I ran into something interesting when working last night that wasn’t immediately obvious to me at first. It’s an alternate way to calculate the product of any two numbers.

I first noticed something was going on when I squared a number and then compared it to the product of numbers on either side of the original number:

5 * 5 = 25
6 * 4 = 24 (1 from 25)
7 * 3 = 21 (3 from 24)
8 * 2 = 16 (5 from 21)
9 * 1 = 9  (7 from 16)

Read more on A “shortcut” for multiplying any two numbers…

Great talks and coffee at AltConf

Great talks and coffee at AltConf

eaf1ca963806147642c96f7463349f83Lots of really great stuff at AltConf this year. I wasn’t lucky enough to get a raffled badge for WWDC, but I’m very glad I was still able to come and hang out at AltConf and meet some new people. Already, this week has been a huge inspiration to get Loose Leaf done and shipped. Being surrounded by folks who are churning on really cool projects rubs off on you. This year, AltConf is hosting its lab sessions at its 2nd location, and it’s been great to spend some time each afternoon coding hard and combing through all the Apple announcements in a crowded room of other folks doing the same thing: like we’re all racing to know all the things.

Read more on Great talks and coffee at AltConf…

Tracking IOKit Dirty Memory in iOS using Instruments

Tracking IOKit Dirty Memory in iOS using Instruments

I’ve been spending the past week of Loose Leaf development tracking where and how my app’s memory is allocated at run time. My goal is to send all of my memory stats to MixPanel with every event I track. During beta and after launch, all of this information will help me to better understand how people are using the app.

Read more on Tracking IOKit Dirty Memory in iOS using Instruments…

Google Author link
Page 1 of 2812345...1020...Last »