Sunday, January 31, 2016

What is HTML5 WebSocket?

If web pages use WebSockets protocol APIs than two-way communication with a remote host becomes possible. WebSockets interface supports full-duplex communication channel that operates through a single socket over the web.

HTML5 WebSocket reduces unnecessary web trafic and latency compared to (Ajax) polling and (Ajax) long-polling solutions used to simulate full-duplex connection by maintaining two connections.

Another nice feature of WebSocket is its ability to traverse firewalls and proxies. The communicaiton with a specific host and port are mediated by a tunneling connection to the proxy. WebSocket can detect the presence of proxy and all this happens automatically.

A HTTP connection switches to Websocket in a process called WebSocket handshake. The browser requests this handshake pointing to the WebSockets' site:

GET ws://echo.websocket.org/?encoding=text HTTP/1.1
Origin: http://websocket.org
Cookie: __utma=99as
Connection: Upgrade
Host: echo.websocket.org
Sec-WebSocket-Key: uRovscZjNol/umbTt5uKmw==
Upgrade: websocket
Sec-WebSocket-Version: 13


Here is a complete picture of the communication between web browser and an applicaiton through a WebSocket Server Gateway.

Read more here.

Monday, January 25, 2016

Where can I download Microsoft Network Monitor?


Microsoft Network Monitor has been replaced by Microsoft Message Analyzer that works with Windows 10.

This paragraph from Microsoft Documentation:
Microsoft Message Analyzer is a new tool for capturing, displaying, and analyzing protocol messaging traffic, events, and other system or application messages in network troubleshooting and other diagnostic scenarios. Message Analyzer also enables you to load, aggregate, and analyze data from log and saved trace files. It is the successor to Microsoft Network Monitor 3.4 and is a key component in the Protocol Engineering Framework (PEF) that was created by Microsoft to improve protocol design, development, implementation testing and verification, documentation, and support. With Message Analyzer, you can choose to capture local and remote traffic live or load archived message collections from multiple data sources simultaneously.

You can down load it from here:
After download run this file in the download
MessageAnaalyzer64.msi


MicrosoftMsgAnalyzer_02.jpg

Sunday, January 24, 2016

Is there a place to learn SQL Programming in Honolulu?

Yes. At the Honolulu Community College's PCATT.

Classes will be starting promptly on January 28. You still have time to register.

Register here: http://ce.uhcc.hawaii.edu/search/publicCourseSearchDetails.do?method=load&courseId=78659












What is NAT?

NAT is Network Address Translation. A network device such as a firewall or router assigns public address to one or more computers inside a private network.

In Home computers, for example, if you have a number of connected (wired/wireless) computers then each of them can have a public address. These computers can share resources like files/folders inside the private network. A router is involved in routing the traffic between them.

Here is an example of 3 computers (wi-fi) forming the internal network with the router as the default gateway.


NAT conserves the number of public addresses. In the example you would have required 3 public addresses to connect to Internet.
 

Saturday, January 23, 2016

What is a .nar file?

NAR extension refers to Nikon Capture Advanced Raw file.

You might have found it in the pictures you might have recently captured and saved to your Camera Roll. Perhaps you might not have associated these (.nar files) with the cute effect you might have observed. You click on one of these images and it comes to life briefly (Live Images)  before settling to a still that you have been used to all along. These are live pictures.

If you try to attach it with a message you will get two options, an image or a video. I sent it out to my wife to her iPhone 6S and she got a video. The video effect on iPhone 6S is Ok but not like it is on Windows 10 Phone Lumia 950. You have got to see it to know how it looks. This is developing area  of  rich capture.

Read all about it here:
http://allaboutwindowsphone.com/news/item/21078_Rich_Capture_finally_fixed_for.php

How is this done?
Briefly, a number of shots are taken successively and combined smartly to produce a file that produces this effect. The same idea is extended to provide a better illumination for the captured object than in the original.

Friday, January 22, 2016

Is it possible to access a Microsoft Report Server in Microsoft Edge?

What I have found so far is that you cannot access the Report Server using the Microsoft Edge browser.

Microsoft Edge, or simply Edge is the default browser in Windows 10. It is not designed to start with elevated permissions.

When you try to access Reporting Services Server  in the default Edge browser on Windows 10 and you end up with access denied message. The message as says , /  does not have sufficient permissions. One could use another browser such as Firefox but Reporting Services server cannot be accessed even when the browser is launched with elevated permissions. Firefox did not have problems in accessing the Report Server in SSRS 2012.



The way out for this in using the IE 11 browser that comes with Windows 10.

Is it possible to charge a car wirelessly?

It is possible. Electrical vehicles require battery charging. One of the main problems faced by the vehicle industry is that there are not enough battery charging stations. Batteries can be charged hooked up to power sources that convert alternating current to direct current, or they can be wirelessly charged.

You might have heard of Faraday's laws of induction and this is the principle used in quite a few of the recent things you have seen:

Wireless chargers for cell phones
Induction cooktops

RF Tags

In fact Induction heating has been in use for a long time in metallurgical industries and in Induction Motors for rotating machines and a linear type called Linear Induction Motor.

You may even be owning a smart phone battery charger that uses the induction principle. In order to adopt all formats of devices from different vendors you need a standard and standard exists for wire-less charging. There are two standards so far, the Qi Wireless Charging Standard and the A4WP standard. Do the standards cover all shapes and sizes? perhaps not. These standards not only cover the core functionality of transferring power by induction but also digital intelligence to some extent.

What about charging a car wirelessly? Well it appears to have been worked out as well. Will it be available for all electric cars? That needs to be seen.

Read these articles as well:
http://www.nydailynews.com/life-style/big-town/cutting-cord-hevo-power-takes-wireless-vehicle-chargers-spin-article-1.1726734

http://www.cnet.com/paid-content/news/cutting-the-cord-on-electric-vehicles/.