Wednesday, May 15, 2013

VPN establishment capability from a remote desktop is disabled - Hyper-V

I have a virtual machine created on Hyper-V in windows 8, I noticed that when I connect to the machine using the remote desktop connection I can't establish a VPN connection using Cisco AnyConnect  and I receive this error: "VPN establishment capability from a remote desktop is disabled". But I can establish the connection if connected to the VM using the Hyper-v Manager.

Update: Check this post by devhammer: http://devhammer.net/cisco-anyconnect-and-hyper-v---connect-to-a-vpn-from-inside-a-vm-session

Wednesday, April 17, 2013

0.1 + 0.2 != 0.3


After more than 13 years experience with JavaScript I just discovered that:

0.1 + 0.2 != 0.3

read this article to understand: http://yuiblog.com/blog/2009/03/10/when-you-cant-count-on-your-numbers/

but :

(0.1 * 10 + 0.2 * 10) / 10 = 0.3