Bordertown Labs Blog

Notes from Bordertown Labs with posts regarding software development for the iPhone, Ruby on Rails, tips and code.

» Contact with inquiries.


Visualize your geodata in augmented reality with 3DAR by Spot Metrix.


Dec 2nd, 2012 @ 11:49 pm

jQuery ajax caching can be hard to debug

After a long day of coding I deployed a sinatra app to appfog and was irked to find that it didn’t work in production as it did on localhost. The problem turned out to be that my ajax requests were being cached. The solution is to set cache:false in jQuery’s $.ajax options.




Comments (View)

 


 

May 7th, 2012 @ 9:18 am

What great music for such an entertaining tutorial. CreativeJS for non-coders: Create a particle system in 3 minutes. Here’s Seb Lee-Delisle’s github.




Comments (View)

 


 

Oct 3rd, 2011 @ 2:12 am

(via How to Check-In Using the Facebook iOS SDK and Graph API | Tyler White Design)

(via How to Check-In Using the Facebook iOS SDK and Graph API | Tyler White Design)




Comments (View)

 


 

Sep 20th, 2011 @ 5:38 pm

Using GCD and Blocks Effectively


dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{
    NSURL *url = [NSURL URLWithString:@"http://bit.ly/nUX01h"];
    NSURLRequest *req = [NSURLRequest requestWithURL:url];
    [NSURLConnection sendAsynchronousRequest:req
                                       queue:[NSOperationQueue currentQueue]
                           completionHandler:
     ^(NSURLResponse *res, NSData *data, NSError *err) {
         // Convert the data to a UIImage
         UIImage *image = [UIImage imageWithData:data];
           
         // Scale the image
         UIImage *thumbImage = nil;
         CGSize newSize = CGSizeMake(90, (90 / image.size.width) * image.size.height);
         UIGraphicsBeginImageContext(newSize);
         [image drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];
         thumbImage = UIGraphicsGetImageFromCurrentImageContext();
         UIGraphicsEndImageContext();
           
         dispatch_async(dispatch_get_main_queue(), ^{
             self.imageView.image = thumbImage;
         });
     }];
});




Comments (View)

 


 

Sep 6th, 2011 @ 5:30 pm

Public Relations for Start-ups

The New Rules of Getting Press for Your Start-up

Think Facebook and Twitter are all you need to get the word out about your new business? Here are eight more ways to get some media attention.

Public Relations for Start-ups

The New Rules of Getting Press for Your Start-up

Think Facebook and Twitter are all you need to get the word out about your new business? Here are eight more ways to get some media attention.




Comments (View)

 


 

Aug 23rd, 2011 @ 1:39 pm

An overview diagram showing how the  Kamra browser has its augmented reality content delivered.

An overview diagram showing how the Kamra browser has its augmented reality content delivered.




Comments (View)

 


 

Aug 17th, 2011 @ 5:14 pm

Computer Vision: Algorithms and Applications

Free e-book © 2010 Richard Szeliski, Microsoft Research




Comments (View)

 


 

@ 1:57 pm

Read online: Graphics Programming Black Book

Michael Abrash’s classic Graphics Programming Black Book is a compilation of Michael’s previous writings on assembly language and graphics programming (including from his “Graphics Programming” column in Dr. Dobb’s Journal). Much of the focus of this book is on profiling and code testing, as well as performance optimization. It also explores much of the technology behind the Doom and Quake 3-D games, and 3-D graphics problems such as texture mapping, hidden surface removal, and the like. Thanks to Michael for making this book available.




Comments (View)

 


 

Aug 12th, 2011 @ 11:03 am

Here is  collection of 3D models in the OBJ format, ready for using as point views in 3DAR.

Here is collection of 3D models in the OBJ format, ready for using as point views in 3DAR.




Comments (View)

 


 

Jul 22nd, 2011 @ 1:40 pm

Future of Local Search

The elephants are moving, with Google and Facebook focused on their Places products. And other systemic changes in the environment are driving new behaviors and innovations. Consumers are increasingly turning to mobile devices to organize their lives. Smartphone penetration will reach 50% in 2011, according to Nielsen. Mobile use will center on apps, social media, and favorite services – not on Google. According to Microsoft, 70% of mobile users complete their task within an hour, vs. 30% on the web.

Future of Local Search

The elephants are moving, with Google and Facebook focused on their Places products. And other systemic changes in the environment are driving new behaviors and innovations. Consumers are increasingly turning to mobile devices to organize their lives. Smartphone penetration will reach 50% in 2011, according to Nielsen. Mobile use will center on apps, social media, and favorite services – not on Google. According to Microsoft, 70% of mobile users complete their task within an hour, vs. 30% on the web.




Comments (View)

 


 

Archive · RSS · Theme by Autumn