Cocoa Heads Notes (Core Animation and ARC)
Core Animation - jalarsen
CALayer - provides content for displau
CAKeyframAnimation -
CAConstraint -
Views vs Layers
CALayer
Model
Calyers live in trees
Presentation Tree - all layer values
Render Tree - interpolation, start state and end state
NSView
View
Implicit Animations
change an animatable property
Explicit Animations
create an animation object
animation starts when you apply it to the layer
Implicit Transactions
Explicit Transactions
can override default actions
can nest transactions
BLOG
ARC
Automatic Reference Counting
more efficient than garbage collection
xcode 4.2+ only
sa
Cocoa Heads Provo Notes
UI Automation
https://github.com/alexvollmer/tuneup_js
UIStoryBoard - robsprogramknowledge.blogspot.com
UIStoryBoard vs XIB
Segue - one way
Static Cells - stuff that doesn’t need a whole lot of customization
Prototype Cells - killer feature of storyboarding
Q:Totally don't remember how long ago I sent that question but it was when you took a vacation from Facebook I guess. And then you came back. Happy Birthday today by the way!! I can't write on your fb wall so this should be just as good. :) Hope you are doing well Ryan!
Thank you :)
Don’t get crusty, follow some new technologies
I do not understand where people get the time to work on side projects, but there is one thing I find the time to do. I love to keep up with new disruptive companies and technologies. I follow hacker news and TechCrunch. Hacker News gives me the new hotness, and Techcrunch allows me to watch who is using the new hotness. I will be cataloging some of this stuff in my very own style and will be updating this post as I see fit.
Ruby
Rails - MVC Framework, currently in version 3.x
Sinatra - DSL for creating ruby applications.
JS
node.js - Node is an non-blocking I/O javascript web server. Basically server side js.
ember.js - This framework is basically SproutCore 2.0. SproutCore is attempting to be Cocoa for the web. ember.js is a branch of SproutCore that is trying to skim the fat.
JQuery - Javascript library for the masses
Mobile Stuff
Sencha Touch - An Ext JS library that is focused on mobile.
JQuery Mobile - A JQuery library that is focusing on cross platform and cross device goo.
PhoneGap - Write HTML and Javascript and deploy “native” apps on multiple platforms.
SQL
MySQL - Traditional RDBMS
PostgreSQL - Acid complaint ORDBMS.
Document Store / Key Value Store (NO-SQL)
mongoDB - document-oriented database
Used by - Foursquare, craigslist and many established companies
CouchDB - document-oriented database
Used by - Engine Yard, and many small companies
Cassandra - this is a key-value store created by Facebook but then abandoned in late 2010
redis - this is a key-value store sponsored by VMware.
Android video tag notes.
I have been attempting to prepare a demo today for one of our clients. I have been tasked with playing video on an android tablet device. The problem is that I have 2 KIRF droids from afghanistania. I am doing the best that I can, but I don’t want to loose any of my research so I have begun to document some of it. Below is some of the most useful links
Official Android Media documentation
Stack Overflow Links
Encoders
This link from some blog shows someone that is attempting to use handbrake with some certain exact settings. Which actually ended up working on one of my KIRF’s. Unfortunately the KIRF crashes and then will not play the video again. I also looked into some other container format called 3GP
Here is the link that ended up helping the most. encoding video for android
Q:Did you fall off the face of the Facebook?!?!?!
yeah i guess i did. when did you send this question?
digis - bad customer service
I just spent the last 4 hours of my life trying to fight with my home network. I have a loathing for my internet provider named DIGIS.
My room mates router gave up the ghost and so i went to walmart and bought a new router. After getting home and setting it up, the whole digis mess started anew.
Basically the short story is that you should never mess with digis customer service. It takes hours, and they have such bad technology that the rep needed to lie to me to get me off the phone. He than proceeded to pray that I would not call back because he was just planning on not fixing anything and waiting for me to call back tommorrow.
If I ever move out of this place I will make sure to move to an area that has AFConnect or Comcast. That is the only way to fly around here.
Postgres bug was challenging but rewarding
I just created an about us page on my site. I had forgotten that I even had this blog. I love the way tumblr looks and feels and should really use it more.
I may make this my official blog for my personal project xboxachievementvideos.com. I keep making some really good progress on it. I had alot of problems / hurdles with postgres db. My main problem was that I could not replicate the bugs i was seeing in production with the ones on my local database. Lucky for me I was at least familiar enough with how heroku works to pull all the db records back locally.
I quickly learned that postgres creates sequences in order to track the incrementer for its id field. Somehow my sequencer’s were either corrupted or just plain hosed. I deleted them from several tables and recreated them. The bug was fixed and i re pushed my database out into production again.
Hopefully I can continue to have small challenges like these again in order to sharpen my development skills even more. Learning new technologies can be a very frustrating experience, but I have also learned that the payoff can be monumental if you i am just patient.
I still much prefer mysql just because of sequel pro and other tools, but its always good to learn new things
i just bought an app on app store
Ordinarily i would just head to my local pirate shop and downlooood a little application that i need. Instead of digging around through the garbage i decided to just pop open the app store on my mac and download “numbers”.
Its nearly half way downloading over my illegally tethered android phone. Hey at least i am making progress right :)
Shakeup at Google
For some reason I think i enjoy hearing about Larry Page’s shakeup lately. Its not exactly 37signals, but its definitely not like other big companies either. I have come to not like traditional management or old school management the way its depicted in pop culture through the 80’s and 90’s. If you put passionate, talented people in the same company they wil make cool things because thats what they want to do.
If you put complacent, half-rate people in a company then i guess you would then be forced to hire “managers”