Home

  • strict warning: Non-static method view::load() should not be called statically in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/views.module on line 842.
  • strict warning: Declaration of content_handler_field::options() should be compatible with views_object::options() in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/cck/includes/views/handlers/content_handler_field.inc on line 208.
  • strict warning: Declaration of views_handler_field_user::init() should be compatible with views_handler_field::init(&$view, $options) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/modules/user/views_handler_field_user.inc on line 48.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 149.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Non-static method view::load() should not be called statically in /nfs/c04/h03/mnt/64527/domains/jacksonkr.com/drupal-6.15/sites/all/modules/views/views.module on line 842.
21
Feb

I found out about the valueForKeyPath for NSArray today and apparently you can do a similar thing with NSDictionary. Find out more about Key-Value Collection Operators from Apple's website.

written by jackson | comments(0)
18
Feb

I want to give a shout out to some great Q&A forums I've used over the years. I'm giving these in chronological order:

kirupa.com -- This a forum I used for help with actionscript. I used it for AS2 as well as AS3. It's a home to Senocular who is one of the best developers I've ever recieved answers from.

stackoverflow.com -- my favorite Q&A site over the last year or so. This website is home to a plethora of developers with vast knowledge of a great number of expertises. I've learned about Java, IOS, actionscript, javascript, and more all at this same website. It comes highly recommended.

written by jackson | comments(0)
23
Dec

One of the guys I work with stumbled upon a quick and easy way to use logic to check if a value is not a valid number (non dependant on type). The logic is as follows:

"123" == +"123" // true
"asdf" == +"asdf" // false

Now you can check to see if your variables are numbers even when they come through as strings (eg. from a form)

 

written by jackson | comments(0)
01
Dec

I just stumbled across a new factoid regarding javascript. Occasionally JS will throw unneeded decimal places on to float multiplication. For example: 

0.1 * 0.2  // will show 0.020000000000000004

This can be remedied by a couple libraries such as BigDecimal and BigNumber. If you aren't too concerned with exact fractions then it's probably easier to use a Math.round

written by jackson | comments(0)
30
Oct

I've been doing a lot of IOS on the weekends lately and today I ran into two problems in regard to String Format Specifiers. I found out that if I don't use them correctly then xcode gives me runtime errors that look like they are related to bad memory management, but it's just because I used the wrong specifier. I wrestled with this for a few hours, but someone was able to answer it quickly for me on Stack Overflow.

written by jackson | comments(0)
Syndicate content