Saturday, 4 August 2018

Messages

One of the ways many people use their mobile phones is text messaging. Apple “disguise” the differences between text messages and instant messages, that use the data network, is through their iMessage that uses either depending on your connection. However, text messaging has still some way to go yet.


If you use and Android phone then you are firmly in the Google messaging camp and iMessage doesn’t exist. One trick for android users is to get away from just using their phone keyboard when creating a text. You can go to Messages for Android located at; https://messages.android.com/ .


A number of people have done short YouTube videos to demonstrate how to do this. Search for “messages for web” on YouTube.



You need to be using the Google messages app for your texts. You also need to have a wifi connection connected to the phone and PC. After this go to the website and, from the messages app, click on the thrTee dots on the top right corner as if you changing settings. Then select “Messages for Web” to connect the website to your phone.


That’s it. You can now text from your PC!

Sunday, 15 July 2018

Andromeda

Surface_Phone_Concept_3
Andromeda is not just a galaxy far, far away. It is also a code word for new Microsoft products according to a number of well-known Microsoft bloggers and journalists. We don’t know what the product will look like but many of the bloggers are illustrating their articles with pictures of a possible two screen device with a digital pen.

Almost everything about Andromeda is speculation. However, it comes with a lot of anticipation because of the complete mess Microsoft made of the mobile phone market. Without a mobile device of some description, Microsoft is suffering from the fact that the mobile phone, running operating systems from Google or Apple, is dominating the market for personal technology. The switch to mobile phone usage as the primary computing device reduces the PC to a more minor position. Typically people now take a laptop out to do something that requires a keyboard – what we might call “real work” for want of a proper definition. Mobile is more than just a piece of hardware. It has become an ecosystem. Your mobile device becomes an entry point to music, books, films, banking and even paying for parking or bus tickets. Microsoft has effectively got no presence in a technology many consumers use daily.

Microsoft started in PC operating systems by having the bold ambition of putting a PC on every desk. It largely succeeded. In mobile, which is a PC in every pocket, it is almost nowhere. From 30% of the mobile market OS in about 2006 it now has effectively 0%. More than a decade of decline with a couple of blips in Windowsphone.

Many enthusiasts who used Windowsphone, including me, were forced off the platform as Microsoft simply abandoned the market. The only official word being a couple of tweets from Microsoft employees. Since 2016 Microsoft product enthusiasts have been wondering if Microsoft would try to get back into mobile.

Andromeda is apparently it. In a rather confusing name drop, the word Andromeda refers to both some possible hardware product and also some software.

The software looks to be something called Windows Core OS. It probably won’t have that name in the future but it is Windows 10. Strategically Microsoft wants to get rid of the sort of Windows that dates back almost 30+ years. The Microsoft Windows of today has been built on code that runs WIN32. The name for applications that most people associate with Windows for decades. These applications allow developers a lot of control over the PC and, as well as the powerful applications this allows, this also has let in the malware and viruses that have plagued Windows. Microsoft would like to move towards a mobile apps application model where people get software from an online store run by Microsoft. The apps would be touch-friendly and curated. The Microsoft Store on Windows 10 offers this but the model makesthe most sense in some future world where WIN32 traditional applications don’t exist. This brings us to Windows Core OS.

Windows Core OS is Windows 10. However, it’s Windows 10 that only runs these modern touch-friendly applications. It does have the ability to access WIN32 but in a controlled way. It has components so the operating system will include extra pieces that can add a function – like making phone calls. It is that last bit that people are getting excited about. Will Andromeda, the hardware device, be some kind of phone.

Microsoft has had some success in hardware making premium priced tablets and laptops under the “Surface” brand. A Surface is characterised by being an aspirational device deliberately highly priced to allow Microsoft hardware partners to innovate at a lower price. Microsoft fans have added rumours about Andromeda software to Andromeda hardware and called it the Surface Phone.

In reality, most informed journalists are talking about a dual screen mobile device running Windows Core OS and an ARM-based chipset. Whether it will really make calls or just have an internet connection is unclear. It is likely to be focused on note-taking, Continuum, and possibly mixed reality. It’s not certain to ever be released as a real product and if it does eventually become available for purchase if it contains the “Surface” name it will be way more expensive than a phone. Current opinion is we may see it in late 2019. This is also the date when Windowsphone support ends too.

Saturday, 9 June 2018

Microsoft does Git



This week Microsoft announced it was buying GitHub for $7.5 billion. Many computer users won't have even heard of GitHub or know why Microsoft might want it. However, it's probably one of the most significant acquisitions made by CEO Satya Nadella because it genuinely breaks the link between his vision of Microsoft and his predecessors.
Git was originally a bit of software devised by Linus Torvalds the creator of Linux. He created it to manage version control in the Linux operating system. Version control is how software developers keep track of changes they make while creating software. It is also used elsewhere in areas of change management and during the life-cycle of documents. The idea is that if you make a change you need to document what the change is, who made it, when and also how to go back to a previous edition. Torvald's created Linux but many people wanted to contribute. So he created a tool called "Git". It has no specific meaning.
Git was open source. So anyone can create a version for themselves and use it within its license conditions. It was "free" in the sense of "freely usable". GitHub is one place where Git is used. A user of GitHub can create a repository of software that he is working on, manage changes, allow contributions from others and essentially run an entire software development project. Other services running on Git exist but GitHub is the largest.
Microsoft, when run by Bill Gates and Steve Ballmer, didn't like Linux. Ballmer famously referred to Linux as a "cancer". His objection was primarily because Microsoft made money from licensing software. People paid Microsoft a fee to use Windows. Windows that comes on a computer is not free. Someone paid for it and it's included in the price. The idea that people could download Linux, install it on a PC and pay nothing undermined that model. In practice few normal users would know how to install Linux or use it so the danger was tiny in a world that people expect help and support from their computer supplier. In the PC world the reality was that Linux was not much of a threat. Many servers ran Linux and Unix operating systems but Microsoft had 90% of the PC operating systems.
The world changed when applications were delivered over the web and the most popular mobile phones didn't run Windows. Developers of applications began to use more and more open source tools and use things that were not Windows. Their code was stored in places like GitHub. This was the very opposite of Microsoft wanting developers to run their tools and work on their services.
When Satya Nadella took over Microsoft started a journey towards recognizing the changes that meant Windows was now just one possible operating system that coders could choose. That journey included moving Windows own code to a private repository on GitHub.
The purchase of GitHub is really a bigger message. The message is that Windows is not the only game Microsoft plays. Microsoft is friendly to Linux, Android and anything else coders want to work with. The new Microsoft is not a Windows only Microsoft. They have just spent $7.5 billion to deliver that message to coders.

Sunday, 13 May 2018

Nested VMs in Azure

Azure is Microsoft's cloud environment that it likes to sell to business. The cloud is a name designed to conjure up nebulous space that is just there and available for people who need business computing. It's a little like making a sausage - it's nice to eat but you really don't want to know how it is made.
Azure consists of a number of services you can rent and pay for by the minute, hour, month or year. You don't need to go buy a large room, electrical power, lots of servers from Dell or HP, software etc up front. Instead, your Azure subscription pays for what you need.
If you work for a company that has a Microsoft developer subscription (MSDN) then you get some free credit each month to learn about Azure and set up some of your own Azure services. Usually, this is for self-education and building custom solutions.
One thing you can do is create virtual machines. Azure is a number of large data centres in the US, Europe, Asia and elsewhere. Microsoft puts in lots of servers, routers, power and internet connectivity for you to rent. When you decide you need a Windows server you just choose one from a menu and it starts running a couple of minutes later and starts charging your account. In reality, you haven't rented a physical server for yourself you are just one of a number of users of the server. It is a virtual server running inside some hardware. Since it's virtual Microsoft can move it inside the datacentre as required invisibly to keep everyone working 24/7.
The problem with the MSDN subscription is that it's never enough to run all the things you want. In the non-Azure world, you can spread your resources by virtualising your own servers in HyperV. Running servers inside servers. They don't know they are running on another server and it gives you more flexibility. On Azure, it would also hit your budget less.
Azure is a virtual environment. If I was to do the same as a real data centre I would run a virtual computer in Azure. It would then run HyperV that would have virtual servers running in it. What we call nested VMs in Azure. With some configurations, Azure lets you do this.
The first step is to create a Windows 10 Pro machine on Azure with 32gb of memory, 8 cores and a second 1tb hard disk. You have to use slow HDDs rather than SSDs to keep within budget. Once done add HyperV to the machine.
Using the guidelines you need to create a virtual switch so you can create a network of static IP addresses that your HyperV VMs are going to live in.
Create a virtual machine and make sure it's off. I am assuming you are going to create a Windows 2012 or 2016 server.
If the name of the server is "server1" then run the following command in PowerShell as an admin.
Set-VMProcessor -VMName server1 -ExposeVirtualizationExtensions $true
This just allows the vms to be nested.
Get-VMNetworkAdapter -VMName server1 | Set-VMNetworkAdapter -MacAddressSpoofing On
This gets the network adaptor to fake mac addresses.
Next you need to create a virtual switch that does Network Address Translation (NAT)
New-VMSwitch -Name VmNAT -SwitchType Internal
New-NetNat –Name LocalNAT –InternalIPInterfaceAddressPrefix “192.168.0.0/24”
I am going to use the 192.168.0.0 for my servers on my HyperV VMs running on my big Windows 10 Pro Azure machine. The virtual switch itself gets the address 192.168.0.1.
You can confirm the adaptors by running this command
Get-NetAdapter
You will get an output showing all the interfaces. Look for the "ifindex" column to get the ifindex for the switch you just created. You will need that for the next command.
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex 25
Replace "25" with the actual ifindex number you got from running the Get-NetAdapter command.
Each VM you create needs to have a static address and use the gateway at 192.168.0.1.
If you want your first server to be a Windows Domain Controller then after you get it running you need to do this on your first VM in Powershell.
Set-ExecutionPolicy Unrestricted
This is very bad for proper non-test environments. The execution policy should be "RemoteSigned" or "Restricted" but it doesn't matter for testing. If you want better security use "RemoteSigned".
Add-WindowsFeature -name ad-domain-services -IncludeManagementTools
This command adds in Active Directory.
Install-ADDSForest -DomainName "example.local" -ForestMode 5 -DomainMode 5
Change "example.local" to the actual domain you want to create. You get to create some domain recovery passwords that usually dont matter a lot in test environments that you delete later. They do matter in real production. Note them down.


That's it. Nested VM complete. Domain controller ready for your virtual domain inside a Windows 10 PC running on Azure. I haven't covered everything but the main thing is to know that this is all possible.

Sunday, 29 April 2018

Neverware





After hardware and software we now have Neverware.

It's a marketing thing. Neverware isn't a computer science concept but it is an idea that is based on the Chromebook. Chromebook's are Google's idea of cloud computing. You have a laptop, and most of them are laptops, which is little more than a browser. Traditional PCs rely on an operating system that can stand alone in the world. Traditional PCs can connect to networks but are defined by having access to applications that function on their own. They can store significant amounts of data without an Internet connection. They can do real work, play music and play games without needing to connect to anything.

A Chromebook is the opposite. It has a minuscule operating system. The operating system is primarily there to run the Google Chrome web browser and connect to Google services on the Internet. No internet connection means it can do very little. There are grey lines. Chromebooks can store some stuff and do have some offline capability. However, these abilities are seen as complementing what is expected to be an "always online" experience with occasional disconnection.

While Chromebooks can be bought in retail stores there is inevitably an open source project to reproduce the experience. This is called Chromium. Chromium was started by Google to provide open source code that feeds into the propriety Google technology around Chrome and Chromebooks.

Back to Neverware. Neverware is a version of Chromium that allows almost anyone to convert a laptop to Chrome OS. In effect turn old laptops that might be heading for recycling into usable devices you grandmother might like. If you have an old laptop running Windows Vista or something equally as unloved you can create a USB installation kit and turn it into a Chromebook. It will even boot from the USB so you can have a "PC on a USB stick".

You can literally buy an old laptop suitable for conversion for under £50 on ebay. With Chromebooks starting at £199 new giving an old laptop a Chromebook conversion with Neverware might be just the thing to revive an old PC.

Monday, 2 April 2018

Why Windows isn't the future


Windows isn't the future and Microsoft have said so.

Yes, Microsoft has abolished the Windows and Devices Group. In a structural re-organisation Terry Myerson, the head of Windows is departing from Microsoft. Myerson's job is also going. Windows client development is now being put in with Windows server and Azure cloud services. Windows "experiences", the user interface and how we actually interact with our PCs is being put in the hands of Joe Belfiore.

In one way this is really just a Microsoft internal re-organisation that isn't going to affect how I use my computer next week. On the other hand, this is kind of revolutionary. For the first time in about 30 years, Windows is being demoted to a sub-part of Microsoft. It's not going away but Microsoft now earns the most money from businesses via cloud services, server products and Office software. The largest growth being in subscription-based Office 365.

Myserson was formally chief of the Windowsphone division and took over Windows itself to overcome the negative reaction to Windows 8. As consumers have moved to phones as their primary computing device, only turning to PCs to get real work done, Microsoft's failure in the mobile phone market has pushed it out of consumer services. Closing down the phone business, Groove Music (formally Xbox Music, Zune), and anything that might attract consumers is the rebranding of Microsoft as for business only.  If you want consumer services then look to Google, Apple, Spotify and the like.

Windows itself is now receiving "S Mode". Microsoft wants a Windows for consumers that run Microsoft Store apps and not random software downloaded from the web. If an app isn't in the Store then it can't be installed. Google products are not currently in the Store so the Chrome browser is out and Edge is in. Web apps using PWA will be available and older apps prepared for Store distribution. The new simpler managed Windows experience will be like mobile phone experiences. A Windows that doesn't run Windows application software.

Business can opt out of "S Mode" and get regular Windows. They already use Systems Center to manage software or Intune. The latest idea is Microsoft 365 where Microsoft bundle cloud Office with Windows licensing as a service subscription for business. The first step to enterprise services management in Microsoft's cloud.

Windows, as it is now, will be de-emphasised. It won't go away for years but the re-organisation confirms the trend. Microsoft is looking for a way to move away from Windows after 30 years of it being central to its strategy for making money.

Meanwhile, as if to say exactly the opposite, Windows 10 1803 update comes out in April 2018. However, it really just confirms that Windows is now just a service with OS updates delivered regularly instead of buying a new version every three years in a box or on a DVD.

Something called Windows will still exist in the future but it will not be the thing that leads Microsoft's development process.

Saturday, 24 February 2018

Google without Gmail


It might seem crazy but you can have Google services without Gmail.

Gmail is the Google Email service that scans your incoming mail so you can receive relevant adverts. You can find stuff with Google search by "Googling" but to pay for the "free service" you are the product. You are sold to advertisers, your searches are monetised, the results are prioritised to fit Google's business needs.

That's the deal. Google services paid for by advertising. Some people do have a moral stance on this and don't use Google but others want to just use services that are genuinely useful.

The problem with signing up with Google is you will often get an unwanted and unnecessary email address. Windowsphone users that have moved to Android probably only need the Google Play Store to download apps. Most everything else they use is in Microsoft apps - including email. Although, to be fair to Google, the Maps and Photos apps are pretty great!

What people don't realise is you can actually sign up for Google services with other email addresses such as Outlook.com, Hotmail or Yahoo.

Just go to sign up for Google without Gmail and use any email address you have. You can even use a work email address if the only thing you want to do is sync your browser bookmarks in Google Chrome.

Another legitimate reason for having an extra Google account might be a teacher wanting a YouTube channel for showing videos created for students that are separate from their regular account. There could be many others.

If you have a reason to tie Google services to another account. This could be the way to do it.