Microsoft is building a quantum computer that may never work

Microsoft is working on a quantum computer that uses what are called “non-abelian anyons,” a quasiparticle that physicists aren’t sure even exist. Quantum computers promise to perform calculations at unfathomably faster rathes than today’s computers. Although other companies are using more realistic, proven materials in their work to create the machine, Microsoft is hopeful that its unique approach will pay dividends as the resultant machine should be less susceptible to external interference. The company has nearly 40 people working on the project, as quantum computing is seen as well worth…

Read More

Convert Hex Color Code to Brush/SolidColorBrush in XAML App

microsoft xamarin heros c# iOS Android UWP

To set the background color of an object in .NET XAML, you will need to set the Brush object type. To create a Brush object from a hexadecimal color code, use the following. //input ex: #dcdcdc public static Windows.UI.Xaml.Media.SolidColorBrush GetColorFromHex(string hexaColor) { return new Windows.UI.Xaml.Media.SolidColorBrush( Windows.UI.Color.FromArgb( 255, Convert.ToByte(hexaColor.Substring(1, 2), 16), Convert.ToByte(hexaColor.Substring(3, 2), 16), Convert.ToByte(hexaColor.Substring(5, 2), 16) ) ); } Happy coding!

Read More

Nadella: ‘Windows is the most open platform there is’

When Satya Nadella became CEO of Microsoft in 2014, he asked what the company’s place in the world is, and how it could make the biggest contribution. What he kept coming back to was that the company builds things that empower people to build their own things. When he looked at Microsoft, he saw software that could be a force to "democratize and empower people." Nadella articulated what that vision means for the future of Azure, Windows, Office, Cortana, Linkedin, and more during his keynote address – on a telepresence…

Read More

Microsoft research works on “touching” virtual reality objects

Microsoft Research has presented a new way to interact with virtual reality by touch. As haptic solutions for virtual reality, NormalTouch and TextureTouch 3D haptic shape controllers are able to explore the virtual space with just your finger. Currently, the controller only supports the index finger, but who knows what else could be developed with further innovations. The 3D objects are tracked in virtual reality with the Optitrack system and presented through the Oculus Rift headset.  The NormalTouch renders the surface of virtual objects by using a flat platform that…

Read More

Microsoft warns iOS isn’t as secure as you think

Microsoft has warned customers that iOS is no more secure than Android, contradicting commonly held beliefs about the relative security of the two platforms. The company said that recent attacks targeting iOS prove it’s as vulnerable as Android. Brad Anderson, Microsoft’s corporate vice president for enterprise and client mobility, set out his views in a company blog post last week. He used the Pegasus iOS spyware, revealed last month, as an example of severe vulnerabilities present in iOS. Pegasus is capable of monitoring everything a user does on their device,…

Read More

Microsoft to launch new Surface PC at October 26th event

Microsoft is holding a special Windows 10 and Surface event in New York City later this month. The software giant has started emailing out invites to an event on October 26th, and Microsoft is expected to make some Xbox-related announcements at the event, alongside new Surface hardware and some details on the company’s next Windows 10 software update. Microsoft’s event isn’t expected to be as large, or involve as much hardware. Surface-branded keyboards and a mouse have started leaking ahead of Microsoft’s event, and the company is widely expected to…

Read More

$.ajax No ‘Access-Control-Allow-Origin’ header is present on the requested resource with WebAPI

I want to get data from a WebAPI with jquery $("#btnSend").click(function () { $("#sending").show(); $.ajax({ type: ‘GET’, url: ‘/Report/SendEmail?quote=18’, crossDomain: true, success: function (msg) { if (msg == ‘True’) { alert(‘Email sent to the client’); } $("#sending").hide(); }, error: function (request, status, error) { $("#sending").hide(); } }); }); and it produce ‘No Access-Control-Allow-Origin’ header is present on the requested resource error. The solution is to add in the result of the WebAPI the following code: Response.Headers.Add(“Access-Control-Allow-Methods”, “GET, POST”); Response.Headers.Add(“Access-Control-Allow-Headers”, “accept, authority”); Response.Headers.Add(“Access-Control-Allow-Credentials”, “true”); Happy coding!

Read More

Multi Step Form with Progress Bar using jQuery and CSS3

Got long forms on your website ? Break them up into smaller logical sections and convert it into a multi-step form with a cool progress bar. Could work for lengthy processes like registration, checkout, profile fillups, 2-factor authentication logins, etc. The form has 3 fieldsets containing the 3 different sections of the form. The fieldsets are absolutely positioned and only the first one is visible by default. Moving to the next section fades out the current fieldset using jQuery .animate() and brings in the next fieldset from the right. The…

Read More