Free certification and Training from Microsoft HTML5, CSS, JS

Free certification and Training from Microsoft HTML5, CSS, JS

Get a free voucher for 70-480 Programming in HTML5 with JavaScript and CSS3.

Share on Facebook

.Net developer? Get ready for your world to change. Node.JS is hitting the MS space.

An article that will wake you up “The Post .NET era”  this isn’t to say that things are “set in stone”.  The only thing I can say about Microsoft at this time is that I am completely unsure what their future holds.

I will start by providing real world examples. However, first you need to download Web Essentials for Visual Studio 2012

After you need to download Typescript.
If you want to play a little, they have a  lap around Typescript
Get it, learn it, love it. we don’t know where we are headed, don’t be left behind.

Look for Node on Azure and Node on Windows.

If you want to learn Node for Azure you can get to the link here.

A link to Node.js website can be found here

To run Node as a windows service you can find the link to the Non-Sucking Service Manager here.  Yes that is the real name.

Could this be the start of the Madness?

Share on Facebook

Math and incrementing. (Examples)

Recently Chris Eargle (Telerik bad-mojo) kicked my butt with some very simplistic (though unexpected results) from incrementing within multi part math problems.

This stuff is pretty basic, but you never think to do it until it comes up in as a
user group question.    Essentially — or ++ before the variable in/decrements then uses.  However if you do variable and then — or ++ then it will do the math then in/decrements

var a = 2.0;
 var b = 4.0;
 var c = 3.0;
 var d = 5.0;
 var total1 = 0.0;
 var total2 = 0.0;
 Console.WriteLine("----- TOP ---");
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(a-- + b++);");
 Console.WriteLine((a-- + b++));
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++c - ++d);");
 Console.WriteLine((++c - ++d));
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("a--");
 Console.WriteLine(a--);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("--a");
 Console.WriteLine(--a);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("--a * a++");
 Console.WriteLine(--a * a++);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("++c - ++d * a++");
 Console.WriteLine(++c - ++d * a++);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
Console.WriteLine("FirstTry--");
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++c * --d) / ++b - (++a * d++) - a-- / b");
 Console.WriteLine((++c * --d) / ++b - (++a * d++) - a-- / b);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
Console.WriteLine("++c");
 Console.WriteLine(++c);
 //Take each part in order of operation.
 Console.WriteLine("(++c * --d)");
 Console.WriteLine((++c * --d));
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++a * d++) ");
 Console.WriteLine((++a * d++) );
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("a-- / b");
 Console.WriteLine(a-- / b);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++c * --d) / ++b");
 Console.WriteLine((++c * --d) / ++b );
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++a * d++) - a-- / b");
 Console.WriteLine((++a * d++) - a-- / b);
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("SecondTry--");
 Console.WriteLine(String.Format("a:{0} b:{1} c:{2} d:{3}", a, b, c, d));
 Console.WriteLine("(++c * --d) / ++b - (++a * d++) - a-- / b");
 Console.WriteLine((++c * --d) / ++b - (++a * d++) - a-- / b);
Console.ReadKey();
RESULTS:
----- TOP ---
 a:2 b:4 c:3 d:5
 (a-- + b++);
 6
 a:1 b:5 c:3 d:5
 (++c - ++d);
 -2
 a:1 b:5 c:4 d:6
 a--
 1
 a:0 b:5 c:4 d:6
 --a
 -1
 a:-1 b:5 c:4 d:6
 --a * a++
-- Here it is most obvious.  Starts at -1 Decrements to -2 
then multiplies -2 * -2 to get 4, then re-increments 
to bring a back to -1  
 4
 a:-1 b:5 c:4 d:6
 ++c - ++d * a++
 12
 a:0 b:5 c:5 d:7
 FirstTry--
 a:0 b:5 c:5 d:7
 (++c * --d) / ++b - (++a * d++) - a-- / b
 -0.166666666666667
 a:0 b:6 c:6 d:7
 ++c
 7
 (++c * --d)
 48
 a:0 b:6 c:8 d:6
 (++a * d++)
 6
 a:1 b:6 c:8 d:7
 a-- / b
 0.166666666666667
 a:0 b:6 c:8 d:7
 (++c * --d) / ++b
 7.71428571428571
 a:0 b:7 c:9 d:6
 (++a * d++) - a-- / b
 5.85714285714286
 a:0 b:7 c:9 d:7
 SecondTry--
 a:0 b:7 c:9 d:7
 (++c * --d) / ++b - (++a * d++) - a-- / b
 1.375
Share on Facebook

Visual Studio Spell chekr err checkAR. Oh I mean Checker.

http://visualstudiogallery.msdn.microsoft.com/7c8341f1-ebac-40c8-92c2-476db8d523ce

 

A must have for any fast typist.

Thank you Sergey!

Share on Facebook

Back on it –With Java? Ewww… Oh wait its android.

Have to spin up on yet another new technology.  Just finished a Windows 8 store application, now getting ready to take a stab into the Android and IPhone world.

Let’s get started on Installation:

Two paths you can take.   You can let the android install take over or you can customize your environment.

http://developer.android.com/sdk/index.html

From there you can use the Android SDK Manager to Download what you need.

– OR – (Custom)

http://www.java.com/en/download/win8.jsp?locale=en

Java Developer SDK (JDK)
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

http://www.eclipse.org/downloads/

http://developer.android.com/sdk/installing/installing-adt.html  to install the ADT for Eclipse.

Download the ADT Plugin


  1. Start Eclipse, then select Help > Install New Software.
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK.If you have trouble acquiring the plugin, try using “http” in the Location URL, instead of “https” (https is preferred for security reasons).
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
  8. When the installation completes, restart Eclipse.
Share on Facebook