Profile

Cover photo
Jared Kells
152 followers|40,839 views
AboutPostsPhotosVideosReviews

Stream

Jared Kells

Shared publicly  - 
 
Dive in and enjoy our Filet-o-Fish. Sourced for its succulent and fresh flavour, we cook tender portions of fish and enhance their great taste with zesty tartar sauce and cheese.
1
Jon Mann's profile photoAnthony Carrick's profile photoJared Kells's profile photoAngela Ray's profile photo
4 comments
 
As much as I hate admit it, that is the testiest thing they have on their menu!
Add a comment...

Jared Kells

Shared publicly  - 
 
Hi Dave
1
Steve Parkin (Yeebok)'s profile photo
Add a comment...

Jared Kells

Shared publicly  - 
 
Updating 20 to 30 nuget packages is a bit scary. Hope my tests work....
1
Jared Kells's profile photoDavid GAZE's profile photo
3 comments
 
Lol. Cheeky little miss. 
Add a comment...

Jared Kells

Shared publicly  - 
 
I was confused by .prototype and .__proto__ in Javascript. This post help clear it up for me: http://sporto.github.io/blog/2013/02/22/a-plain-english-guide-to-javascript-prototypes/
1
Add a comment...

Jared Kells

Shared publicly  - 
 
Heading

this should be in italics?

```All your base are belong to us.
1
Add a comment...

Jared Kells

Shared publicly  - 
 
Captured my first portal #ingress
3
Add a comment...
In his circles
257 people
Have him in circles
152 people
Seymour “emowiz” Butts's profile photo
Brett Hagelstein's profile photo
Gregory McIntyre's profile photo
Dan Hains's profile photo
Elana Kells's profile photo
Rhett Waldock's profile photo
Katy Tyler's profile photo
Maximus ConEmu's profile photo
Jordan Morrow's profile photo

Jared Kells

Shared publicly  - 
 
 
Have you ever found yourself in a situation where you want to let your significant other know your feelings for them during the day, but don’t want to send another cliche message? Well, ILoveU is here to give you a subtle but meaningful way of connecting…
A new simple app from So Many Kittens, ILoveU, that will let your significant other know your affections with a simple, three vibration message.
3
Adrian De Santi's profile photoJared Kells's profile photoWilliam Edmonds's profile photo
3 comments
 
Best app on google play by far. 
Add a comment...

Jared Kells

Shared publicly  - 
 
Didn't realize this: Updating a property in a JS object that's inherited from it's prototype causes the property to be copied to the object.

Seems obvious in retrospect. 

http://stackoverflow.com/questions/16911132/how-are-properties-shared-across-instances-using-javascript-prototypes
1
Add a comment...

Jared Kells

Shared publicly  - 
 
Global state in Android apps

I keep reading advice online about storing state in static singleton objects or in the Application object. It's just bad advice and is going to lead to unpredictable behaviour.

The Application object and any static variables in your application exist for the lifetime of your hosting process. The lifetime of your hosting process is different to the lifetime of your Activity

When one of your activities is launched, the system checks if a process is already running for your application. If it is then that process is used to launch the new activity. If not then a new process is started and a new Application object is created.

When you navigate through activities inside your application the current process is always reused so your static variables continue to exist and you always have the same instance of the Application object. Sometime after all your activities have ended the hosting process calls onDestroy on the Application object and the process is terminated.

Most of the time the lifecycle looks like this
 * Process Created
 * Application Created
 * Activity 1
 * Activity 2
 * Activity 3
 * Application Destroyed
 * Process terminated
 
 It seems like the application object would be a good place to store state but the only guarantee is that an Application object will be created before any of your activities run and will be destroyed after all your activities are destroyed. It's never guaranteed that it will be the same object.
 
 What happens rarely in development but regularly in the real world is the following
 
 * Process Created
 * Application Created
 * Activity 1
 * Activity 2
 * Phone call received or different app launched. ( Application backgrounded )
 * Some arbitrary time later... 
 * Application object destroyed
 * Process terminated
 .....
 * User re-enters the application
 * Process Created
 * Application Created
 * Activity 2 resumed
 
All your static variables are now null and you have a brand new Application object
 
 I think this is the cause of those Android apps that always fail to resume after an extended delay. They either crash or flash a screen for half a second and then finish.

Some links to accepted bad advice:

http://stackoverflow.com/questions/13633092/efficiently-passing-custom-object-data-between-android-activities-mono-android

http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables
1
Add a comment...

Jared Kells

Shared publicly  - 
 
* Can you do any formatting in a G+ post? *
<strong>test</strong>
</hr>
-----
* item 1
* item 2

Heading
------------

Heading
=======

<h1>Heading</h1>
1
Gerald Kaszuba's profile photoJared Kells's profile photo
2 comments
 
thanks
Add a comment...

Jared Kells

Shared publicly  - 
1
John Jeffery's profile photoJared Kells's profile photo
2 comments
 
nup, not yet
Add a comment...
People
In his circles
257 people
Have him in circles
152 people
Seymour “emowiz” Butts's profile photo
Brett Hagelstein's profile photo
Gregory McIntyre's profile photo
Dan Hains's profile photo
Elana Kells's profile photo
Rhett Waldock's profile photo
Katy Tyler's profile photo
Maximus ConEmu's profile photo
Jordan Morrow's profile photo
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • Formula Legend
I'm having dinner here tomorrow night. The atmosphere was really nice and the food was exquisite. We met up with some old friends that we haven't seen for years. Litani's was the perfect environment for sharing dip platters and stories. Just before closing a man approached me holding an old violin case. He grabbed my shoulder. Crack, there was a blinding flash. I was overwhelmed with nausea and confusion. "I've sent you back in time. You know what to do". He vanished.... So here I am watching myself through the window as I watch TV. What did he mean? What should I do? All I can think of is writing Google Plus reviews.... Is that my mission?
• • •
Public - 6 months ago
reviewed 6 months ago
A+++ Nice clean rooms, great atmosphere, great value. We had a really nice time staying at the Aalberg. The staff were friendly and it had a great atmosphere. We will be staying here again next year. The special German apple pie was delicious!
Quality: ExcellentFacilities: ExcellentService: Excellent
Public - 3 years ago
reviewed 3 years ago
2 reviews
Map
Map
Map