The ban has been lifted

General 9 September 2010 | 0 Comments

All I can really say is YES, I hope this doesn’t kill the platform.

http://gizmodo.com/5633721/apple-to-allow-other-iphone-development-tools-publ…

Oh John…

Technology 26 May 2010 | 0 Comments

John Gruber, sometimes your blog is great and I love reading it. Other times you just like to show how uninformed and ridiculous you can be, it’s a shame.

http://daringfireball.net/linked/2010/05/26/bp-brands

I Understand it but I Don’t Want it to be True

Technology 10 May 2010 | 0 Comments

I do understand Apple’s reasoning behind wanting all applications to be native but that doesn’t change the fact that I want the restriction. I like the power and possibilities that I can get out of a development environment with an API that is abstracted from a specific platform or language so that I can not only develop faster without having to worry about mundane tasks such as memory management but I also get the power to develop cross platform with out much code change. I think that the benefits that come from development environments like this are going to be huge as the mobile and app market keep growing.

http://www.runrev.com/company/runrev-blog/revmobile-and-apples-iphone-sdk-agr…

Seems like the most likely explanation

Technology 25 April 2010 | 0 Comments

So true

Technology 23 April 2010 | 0 Comments

Nexus One 3G Bugs No Longer Of Interest To Google

Technology 22 April 2010 | 0 Comments

Nexus One 3G Bugs No Longer Of Interest To Google

Nexus One 3G Bugs No Longer Of Interest To GoogleStart pricing up HTC’s Desire or Incredible, Nexus One owners, as Google has put down its hammer and announced “we are no longer investigating further engineering improvements.” You’re stuck with those bugs for good.

Oh sure, they issued a patch, which didn’t really do much, but Google feels enough is enough and is cutting the air supply off—according to Ry Guy, a Google employee who posted on their support forums. The full message, below:

Anyone had any luck with changing the orientation of your phone? Oh, you aren’t reading this because you don’t have 3G reception? Whoops. [Google Support Forums via Engadget]

“Hey guys,

I’ve seen some recent speculation on this thread about an OTA to improve 3G connectivity and I want to give you an update on the situation.

While we are continuing to monitor user feedback regarding the 3G performance on the Nexus One, we are no longer investigating further engineering improvements at this time.

If you are still experiencing 3G issues, we recommend that you try changing your location or even the orientation of your phone, as this may help in areas with weaker coverage.

-Ry Guy”

Sad. I was really thinking of getting one, now I am not so sure.

What I have been hoping for

Technology 22 April 2010 | 0 Comments

I have been waiting to have the ability for a while now to be able to switch between OS’s on the same device. I really like the iPhone and some of the apps but I am bored with the OS as a whole. I want to try Android and get involved with that world, the same thing I did when I switched from Windows. It would be nice to have a device that would give the the option to choose which OS I want to run depending on how I feel.

www.engadget.com/2010/04/21/android-ported-to-iphone/

Finalist for the contest “What do you do with Linux”

Life 2 July 2009 | 0 Comments

badge_seehowilinuxAwhile back I posted a video for the “What do you do with Linux” contest and now I’m a lucky finalist. Which is very exciting for me as I really didn’t expect to see my video do very well as there are so many other great video’s up there, I just though I would do it for fun. Now by some stroke of luck I am a finalist and hoping to drum up some more support for my video. So please visit the site at www.howdoyoulinux.com and vote for my video entitled “Web Development in Linux“. Thanks for the support.

Tagged in , , , , , ,

reCAPTCHA Knows

Life 2 July 2009 | 3 Comments

creepy_recaptchaSo I have been working on a project that needs a reCAPTCHA validation that is a bit customized. Well while I was working on it I had to refresh the page quite a few times and some how it came up with my last name. I am taking that to be a bit creepy, I mean what are the odds of that actually happening it must be really remote. I wonder what it will know next…

Tagged in , , , ,

Website as a jQuery Plugin

Technology 1 July 2009 | 1 Comment

I recently had to build a site that ran mainly off of jQuery and I had the whole thing working from one script.js file that just had a lot of functions in it with some global functions defined at the top. The more I looked at this mess of a file the more I felt disappointed with myself that I had allowed myself to code so horribly.

So I went on a mission to turn the entire site into an object. I tried many different ways, including Javascript’s built in prototyping, but nothing seemed to turn out as nicely as I would have hoped. So I had the crazy idea of turning the entire site’s code into a jQuery plugin. Well it has worked out very well and even though it is a it of a wierd thing to do I have taken to making site that use alot of javascript into jQuery plugins.

The problem for me is that what was outlined on the jQuery documentation wasn’t all that helpful and I found that using existing plugins to figure out how the plugins were being built was alot more helpful but also confusing as there seems to be a nearly unlimited amount of ways to make a plugin. So after searching around for a while and a bunch of trial and error this is what I ended up with:

/*** Sample jQuery Plugin*/
 (function($) {
    function Sample() {};

    $.extend(Sample.prototype, {
        settings: {
            base_url: ''
        },

        init: function() {
            this.sampleFunction();
        },

        sampleFunction: function() {
            /* Sample Function Code */
        }
    });
    //Plugin End
    /**	*	Event Handlers	*/
    $(document).ready(function() {
        if ($.sample == undefined) {
            $.sample = new Sample();
        }
        $.sample.init();
    });

})(jQuery);

I find that I like to call the plugin after the site, e.g. jquery.danielbaldwin.js, and I name the function accordingly. I have found that having all the javascript for a site in one object has helped me to build sites that are more complex, can have persistent variables easily, I can set settings that can be changed just by changing a 1 to a 0, and I feel like my code within the object becomes so much cleaner and more legible.

Tagged in , , ,