Friday, March 22, 2013

IOS 6.3 Coding Journey Begin

OK it's been awhile since I've updated this site. 1 yr to be exact. Life been busy. Traveling, gambling and working full time not exactly easy to keep up with everything. Now 2013 is here. I've gained quite a bit of skill along the way these last year.

-I've upgraded 2 OS. Windows 7 to 8 from scratch.
-Snow Leopard to Mountain Lion. Removed old boot-camp of Windows 7 dual boot
-Played with the Microsoft Surface Tablet open and config from scratch used it.
-IOS upgrade from 5.3 to IOS 6.3 latest update to all my apps now.

Up to this point I've always been a windows person though I've consumed Apple product like any other consumer I've actually never really been a coder on the Mac OS or IOS. When I was a kid I've coded Logo writer and used old Macintosh computer before all these new devices exploded but I was too young so it don't really count. Now because the mobile industry is growing so rapidly so many changes and updates got to keep up if you want to survive in this tech industry.

Devices I carried and own are too many being a developer I have to keep up to date.-Mac-book air outdated 2011 now 2013 version I've upgraded to mountain lion
-The process upgrading this was not painful just took forever backing up everything
-IOS Mountain Lion 6.5GB took 3-5 hrs to download then installation.

Installed Xcode 4.63 1.5GB took another 2hrs to download and installed.

The Journey of coding in IOS begin.
It's been a week since I've gone through the initial stage of setting up everything.
I've started coding objective C. It's not too bad very similar to other language C# and so on. Once you know one programming language you can pretty much transfer to other just takes time and dedication.

The Goal and purpose of all this:
My goal is to design, code, build, test, deploy everywhere I can so my skill set don't become rusty.
Mainly to understand cross platform mobile technology front end and back end.

Tools set that I've already master are:

HTML5, Javascript, ASP.NET, C#, SQL Server 2008-2012 Entire Stack from Database, Integration Services, OLAP, BI, analytic services, Windows Server Enterprise, IIS 7.0, Visual Studio 2003-20012. .NET Framework ect.. Mainly the Microsoft Stack

Tool set that want to master next are:

Time to branch away and diversified a little bit venture as a designer, coder, builder on Mac OS mainly IOS.
XCode, Phonegap, Javascript, JSON, Brush up on PHP and MYSQL

I wish I've delve and continue this sooner 3 yrs ago back at Avalon. But now getting back to it since X Code is now free and IOS is more stable then before. Need to keep on learning and moving on.

Friday, November 23, 2012

As 2012 coming to an End. Im thinking where is technologies are going in the next few years. When I went thanksgiving shopping today. I realize there is not a lot that I need. As far today technologies. But I'm starting to see a lot of my prediction a few years is becoming reality. Now we in the midst of slowing down as far innovation in mobile industry go. It's going through an iteration stage.

Non Smartphone Start 1996-2007 
True Smartphone 2007-2012 

2007  Iphone 1.0 

2008 Android Ice Cream 
2009 Windows 7 Release 
2010 -Ipad One -Skydrive Switch -Avalon Windows 7 windows Server 2008
2011 Ipad 2 

2012 Ipad 3 Ipad Mini LTE OMBAMA II

 -Square Started to take off
 -Iphone 5. IOS6
 -Windows Phone 7 8
-Windows 8 Visual Studio 2012 SQL2012


2013-2020 The LTE Tablet Years-Speed is not the problem anymore
-Multitouch we have mastered it Not and issues anymore
-Electronic payments like Hong Kong Tokyo Octupus system.
-France Paris is completely wired underground
-New Mumba is coming online
-Shanghai becoming the new york city
-London get a newer Airport

2013-2020 LTE Years Longer Battery Life

2013 LTE Roll out windows 2008 Rollout
2014 
2015 Windows 2008 reach 600 Million Units or so
2016 New President Replacing OBAMA
My Lexus Reach 100k Time to Change for a new Car.
Electric car like Tesla Everywhere old Tesla 50k instead of 70k
2017 Electric Panel and LED Screen becomes a commodity
2018
2019
2020

2021
2022
2023 Mobile Industry will finally change
-7 days battery life hopefully.
-Coming work Screen is everywhere
-White Board is Interactive.
-Coming Home Screen are interactive everywhere
-Mobile Computing for clothes and shoes will take a leap.
-Stuff like Tron and back to the future will be more adopted by future generation.
2024

Friday, March 30, 2012

Training for Technologies 2012-2016

I'm starting to revamp my technologies skillset. Stuff I need to continue to learn and train. Mastering these skills set and staying up to dates are essential skill set to have in this tech industries.

-Mobile Development
-Understanding of Game Development
-ASP.NET 4.5
-AJAX XML
-PhoneGap
​-Javascript
-Microsoft SQL Azure,
-Microsoft Windows Azure.
-Microsoft Windows Server 2012
-Microsoft Windows 8
-Microsoft Windows Phone 7.5 SDK
-Microsoft Visual Studio 2012
-Microsoft Office 365
-Microsoft Sharepoint 2010


Tuesday, March 13, 2012

I got to study this set of Javascript code. It's the heart of communication between the Phonegap and ASP.NET web service.

Sim4All Blog


$(document).ready(function () {
document.addEventListener("deviceready", onDeviceReady, false);
});

// phonegap is initialised
function onDeviceReady() {
$("#welcomeMsg").append("...Ready");
}

function showAlert(msg) {
//alert(msg);
}

function showError(error, otherInfo) {
var element = document.getElementById('errorMessage');
element.innerHTML = "Errors: " + error.Message + "
" + (otherInfo ? otherInfo : "");
}

function getAjax() {
var jqxhr = $.ajax({
url: '../service1/',
//headers:
beforeSend: function (xhr) {
//xhr.overrideMimeType('text/plain; charset=x-user-defined');
},
dataType: 'json'
})
.done(function (data) {
var element = document.getElementById('ajaxCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) {
showError(error);
})
.always(function () { showAlert("complete"); });
}

function postAjax(parameters) {
var jqxhr = $.ajax({
url: '../service1/',
type: 'POST',
//headers:
//beforeSend: function (xhr) {
//},
dataType: 'json',
contentType: 'application/json; charset=utf-8',
data: '{ "Id":2, "StringValue": "jerry" }'
})
.done(function (data) {
var element = document.getElementById('postAjaxCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function login() {
var jqxhr = $.ajax({
url: '../login/',
type: 'POST',
//headers:
//beforeSend: function (xhr) {
//},
dataType: 'json',
contentType: 'application/json; charset=utf-8',
data: '{ "Username":"test", "Password": "test" }'
})
.done(function (data) {
var element = document.getElementById('loginCall');
element.innerHTML = "Login Succesfull ? " + data;
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function logout() {
var jqxhr = $.ajax({
url: '../login/logout',
type: 'POST',
//headers:
//beforeSend: function (xhr) {
//},
dataType: 'json',
contentType: 'application/json; charset=utf-8'
})
.done(function (data) {
var element = document.getElementById('logoutCall');
element.innerHTML = "Login Out Succesfull ? " + data;
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function getSingle(parameters) {
var jqxhr = $.ajax({
url: '../service1/88',
type: 'GET',
//headers:
beforeSend: function (xhr) {
//xhr.overrideMimeType('text/plain; charset=x-user-defined');
},
dataType: 'json',
contentType: 'application/json; charset=utf-8'
})
.done(function (data) {
var element = document.getElementById('getSingleCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function deleteSingle(parameters) {
var jqxhr = $.ajax({
url: '../service1/88',
type: 'DELETE',
//headers:
beforeSend: function (xhr) {
//xhr.overrideMimeType('text/plain; charset=x-user-defined');
},
dataType: 'json',
contentType: 'application/json; charset=utf-8'
})
.done(function (data) {
var element = document.getElementById('deleteSingleCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function updateSingle(parameters) {
var jqxhr = $.ajax({
url: '../service1/99',
type: 'PUT',
//headers:
beforeSend: function (xhr) {
//xhr.overrideMimeType('text/plain; charset=x-user-defined');
},
dataType: 'json',
contentType: 'application/json; charset=utf-8',
data: '{ "Id":99, "StringValue": "JERRY " }'
})
.done(function (data) {
var element = document.getElementById('updateSingleCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function identify(parameters) {
var jqxhr = $.ajax({
url: '../login/identify',
type: 'GET',
dataType: 'json',
contentType: 'application/json; charset=utf-8'
})
.done(function (data) {
var element = document.getElementById('identifyCall');
element.innerHTML = JSON.stringify(data, null, "\t");
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

function logViaForm() {
var jqxhr = $.ajax({
url: '../login.aspx',
type: 'GET',
dataType: 'html'
})
.done(function (data) {
var eventVal = $(data).find('#__EVENTVALIDATION').attr('value');
var viewState = $(data).find('#__VIEWSTATE').attr('value');
//build post data
var postData = { __VIEWSTATE: viewState, __EVENTVALIDATION: eventVal, UserName: "test", Password: "test", LoginButton: "Log In" };

var jqxhr1 = $.ajax({
url: '../login.aspx',
type: 'POST',
dataType: 'html',
contentType: 'application/x-www-form-urlencoded; charset=utf-8',
data: postData
})
.done(function (data1, status, jqxhr1) {
//this works but we will get an error dues to the redirect to the home.aspx
//TODO: need to handle that
var element = document.getElementById('logViaFormCall');
element.innerHTML = "Login Succesfull ! " + jqxhr1.status;
})
.fail(function (xhr, status, error) {
showError(error, "TODO: Works but need to handle redirect!!");

//but it really works!
var element = document.getElementById('logViaFormCall');
element.innerHTML = "Login Succesfull ! Verify that Authenticated AJAX calls work!";
})
.always(function () { showAlert("complete login"); });
})
.fail(function (xhr, status, error) { showError(error); })
.always(function () { showAlert("complete"); });
}

Daily Routine Schedule.

I need to get focus with my routine to reduce a lot of time wasting. Lately I feel my time is not as efficient as I like to. They say practice makes perfect. If you don't use it you'll loose it. But there is only 24hrs in a day. I need to stay busy and use time wisely.


Work hours. Monday-Friday 9:00AM-5:00PM 

-2hrs Coding Exercise. (8:00-10:00 AM) Friday, Sat, Sunday is best time
-2hrs Trading Weekday (6:00 - 8:30 AM) Should wrap up at 9:00AM latest
-1hr work out routine (3 days 6-8:00) On day not gaming.
-2hrs Gaming 5:00 - 8:00 PM (Wrap up at 8:30 latest)

Light Meal and Snacks More. Stay Hydrated.

-Breakfast Light Snacks
-Lunch Light Lunch
-Dinner  Light Dinner

Thursday, April 28, 2011

Big Company Should Never Sue Future Young Geniuses. Sony Vs. Geo Hotz.

Big company should never sue young geniuses of the world they should sue someone their own size instead. Why? Because one they’re young they got no money to pay you it just makes you look like a bully and really stupid in the community. Also it can damage your company brand you don’t want to offend the geniuses community because there are a lot of smart people out there that can really screw with your company if they really wanted to just for fun. Rather than trying to sue them you should try to hire them instead. Bring them to your company campuses woo them with benefits and salary to work for you. If you don’t then your competitor or other company will. Case in point  Johnny Lee Wii Remote. http://www.youtube.com/watch?v=Jd3-eiid-Uw Did Nintendo sue him because he hacked the Wii remote no. Microsoft we ended up bringing him to campus and hiring him on the spot. Microsoft did not sue these people when they started to hack the KINECT sensor. Modification and hacking of existing product is very crucial and essential for improvement and future innovation breakthrough. Look at the KINECT mod projects Microsoft did not discourage hacking of the sensor but rather encouraged it. http://redmondmag.com/articles/2011/03/21/microsoft-kinect-hacks.aspx

If there were no hacker or modder to tink around with devices and invention these projects would not come to be. Some of the greatest mind and inventor are tinker, hacker, modder Thomas Edison for example hacked the telegraph. So when Sony decided to sue Geo Hotz for hacking and moding their PSN system.
http://www.gadgetsdna.com/tro-issued-against-geohot-for-ps3-jailbreak/8363/


It really offended a lot people. For one thing he is only 21 he is not going to have money to pay your court case and lawyer fees. How can you sue the first person that unlock and jailbreak the very first iphone. http://en.wikipedia.org/wiki/George_Hotz When Sony decided to go through with the lawsuit they really pissed off and offended a lot of the hacker community. Now they are paying for it when their 77 million users credit card are hacked and being sold online. Look at the flood of stream of article about the latest breach. Just do a search on any search engine.
http://www.bloomberg.com/news/2011-04-28/sony-faces-lawsuit-regulators-scrutiny-over-playstation-user-data-breach.html


This is going to cost Sony millions if not billions to patch all 77 million account which has been compromised. The bottom line is don’t sue young geniuses especially when you know it does more damage to your company system and brand than good. Companies should learn from these events and should not continue with these practices of suing future young geniuses. I mean where would the world technology be today if it weren’t for these geniuses. In the beginning Gates and Zuckerberg were pirates, hackers, coders without them today there would be no Microsoft or Facebook. If you’re going to sue anybody make sure they’re big enough to pay you. So go line up your lawyers to sue people or company like Apple Amazon or the Gates and Zuckerberg of today if you dare you’ll just be a number on their list. When they get to the court room they will just toy with your lawyers and give them the run around.

Gates Deposition. United States VS. Microsoft
http://www.youtube.com/watch?v=tYLBA1Ldq6M
 


Zuckerberg Deposition
Do I have your full Attention? No.
http://www.youtube.com/watch?v=nMeYdSYCC7A&feature=related


Monday, January 10, 2011

Electronic Hardware Need to be Rightfully Price for Consumer Electronics. 2011-2012 The Tablet Years.

When a product that is hot sell well is because it's rightfully price. If you want your product to go mass penetratration then the key is to have a quality product with the right price. Epescially in Electronics since the models will get outddated every year. Product pricing have to make sense. 
  1. Flat Panel TV and Projects (Most expensive ticket items)
  2. Server computer (This cannot be more expensive than your TV Display unless it's a powerful machine)
  3. Desktop computer (Future will be Surface computer cannot be more expensive than server typically)
  4. Laptop computer (should not be more expensive than your desktop computers unless it's a luxury brand)
  5. Games Consoles cannot be more expensive than your laptop computers.
  6. Tablet or Slate computer cannot be more expensive than laptops and desktop computer ideally it should be cheaper than games consoles but that's not likely going to happen it prob around the same range.
  7. Smartphone cannot be more than tablet and other top computers etc...
 Today when you see a tablet that goes for a thousand dollar or more most likely the majority of consumer will wait and stay way until price drop. So 2011-2012 if it's all going to be about tablets then the price need to be around 250-600 anymore than this it's too pricy. We will see a whole new line of tablets coming out this year. The ideal specs should be 7hrs plus  battery, light and thin. No Fan strictly solid slate with instant on and off. Able to take anywhere outside readility even under direct sun light. Ipad is useless in the sun. Facetime camera for video skyping, HDMI input ideally plug into every tv for HD video streaming output. SD Card slot for your photo upload from your camera. Input device for docking for those that want it to turn into a laptop. Easy file transfer between the cloud, home network and work network make it seemless and painless today this is still a struggle for average joe consumer. The company that able to do these thing well will likely sell the most units. It's going to be interesting to see who will take the most units in the tablet arena. This is still new we will see.

  • Here is a case a really good tablet however too expensive ... Now it's crossing the laptop arena. It will prob drop next year. The main reason why it is expesnive is because of the Solid State Hard drive.
http://www.amazon.com/ASUS-Slate-EP121-1A010M-12-1-Inch-Tablet/dp/B004HKIIFI/ref=sr_1_3?ie=UTF8&qid=1294699130&sr=8-3