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