Ok, I’ll write this down. I face this issue from time to time, and then after some searching and reading, I found the solution (again!) and I realize I’ve been done this before.
So, I’m installing Tensorflow on Windows with the amazing single command
# Requires the latest pip pip install --upgrade pip # Current stable release for CPU and GPU pip install tensorflow
And then I get this error
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow
So, I decided to see what’s happened and I realize that I only have installed Python 3.8. And there is no official TF version for Python 3.8. So, I need to downgrade Python to 3.7.
Time to install earlier Python version
and then, try to install TensorFlow again. Now, it’s installing
and after installation, test current TF version
So, remember: Using the latest Python version, does not warranty to have all the desired packed up to date. Specially with TensorFlow.
I’ve been using the Connect App for several years. It’s super useful when you need to share your Android screen to your Windows device, or any other device sharing screen scenario.
However, today I realized that I don’t have my Connect app installed in my Windows 10
I don’t know why, maybe one of the Insider Builds remove the App, or any other crazy ideas. Moving on, I put my focus to figure out how to install this app. I really need it!
There is not much information about how to install this, but I found that I had the [Projecting to this PC] feature in Windows 10. Which was disabled for me.
So, browsing the additional features, I found [Wireless Display]. That should be the one:
Warning, after the install time, is also REBOOT time! Windows being Windows.
And, now I had the connect App up and running to rock some Hololens demos
Greetings @ Toronto
A while ago, I wrote about the awesome [Mouse without Borders] application. This app is extremely useful, and it’s becoming very handy in scenarios like the Avanade Toronto Innovation Center.
In our Innovation Center, we have plenty of different machines, and it wasn’t a good moment when I realize that this is how the App Settings looks in a Windows 10 machine with some DPI customization.
I don’t have a lot of Windows Presentation Experience, however I know that we can solve this via some configuration / manifest changes for the App. I look up for the application folder [C:\Program Files (x86)\Microsoft Garage\Mouse without Borders], and I opened the [MouseWithoutBorders.exe.manifest] file with Visual Studio Code.
Lucky for me, the section that I needed to add it was already there. It was commented, so I un-commented this, save the file and restart the application. Of course, you need elevated privileges to do this.
5 seconds later my Settings windows was finally amazing again!
Greetings @ Burlington
Mouse without Borders, https://www.microsoft.com/en-us/garage/profiles/mouse-without-borders/
Download Mouse without Borders, https://www.microsoft.com/en-us/download/details.aspx?id=35460
El Bruno, Mouse without borders, a Must Have App if you work with 2 or more computers https://elbruno.com/2019/10/30/windows10-mouse-without-borders-a-musthave-if-you-work-with-2-or-more-computers/
Somehow, I didn’t know this one, shame on me!
If you work with 2 computers, is a must have. In example, at home I have a power gaming computer for AI and Mixed Reality. I work with 2 monitors, my ergonomic Microsoft keyboard and my Logitech MX Master 2S mouse. I perform most of the work on my main computer, however from time to time, I need to switch to my laptop.
Thanks to the Microsoft Garage team, in 10 minutes I can easily share my mouse and keyboard from my main computer to my laptop just moving the mouse between desktops. As a bonus, I can also share clipboard, and tons of other amazing features.
Mouse without Borders is a product that makes you the captain of your computer fleet by allowing you to control up to four computers from a single mouse and keyboard. This means that with Mouse without Borders you can copy text or drag and drop files across computers.
See references for more official information and download
Greetings @ Burlington
I’m very careful with my disk space, however my C: drive in Windows 10 started to claim about low space. I got 3 disks on my machine, 2 SSDs and a regular one; and I always check to install all my software on my D: drive. So, that’s why running low space on C: was shocking.
So, I did a small check on the apps and contents using a lot of disk and I found 2 main sources
Every time a new version of Windows 10 is released, and I build a Windows 10 App, I get a new Windows SDK. Each one is around 2GBs, I got almost 20, so make your numbers.
Note: There is a cool feature to find usage space of installed apps by this, out of the box in Windows Settings.
The second one was related to .Net Core. I had a lot of versions installed, and every time I get a new update on Visual Studio 2019, it seems that I’m updating also my .Net Core SDKs. Right now, I only care about .Net Core 3, so it was time to uninstall all the others.
The official documentation ” How to remove the .NET Core Runtime and SDK” (see references) wasn’t very helpful. However, it was a good source to learn more about dotnet command, specially this one:
C:\> dotnet --list-sdks
This command list all the installed SDKs, and with a little of PowerShell scripting I manage to uninstall almost everything. Once I started this path, I also realize that the
command was not working, so a little search pointed me into an old article from Scott Hanselman, where he did a similar script to remove old .Net Core versions (see references).
The final script is
You can also get the ps1 file directly from GitHub here https://github.com/elbruno/Blog/tree/master/20191016%20Uninstall%20NetCore%20Versions
And a warning, the script will list all the installed dotnet sdks
And then, when the uninstall process start, we will require to confirm each uninstall action. Not very user friendly, but it get the work done!
Final advice is to repair the .Net Core 3 version, just in case something is missing.
Greetings @ Burlington
3 years ago, I wrote a post where I listed some of the Insider Programs at Microsoft.
This was on 2016 November, and I added in the list Windows Insider, Office Insider, Visual Studio Insider, the almost dead Skype Insider and more.
Now thanks to Scott Hanselman (@shanselman) I found an official resource with all the Insider Programs at Microsoft.
Up to today, we can find Bing, Edge, Office, Skype (still!), Visual Studio, Visual Studio Code, Windows and Xbox. Super cool!
Greetings @ Burlington
Quick post today, and mostly a reminder on how to create a Virtual Environment in Python in Windows 10. I’ve been doing this mostly in my Mac and my Raspberry Pi, and I always forget how to do this on Windows, so … I’ll write this post to have this
Download the installers from the official Python source (see references). I usually install it on the root of my C: hard drive and name it with the version. In example: c:\Python37_64 folder.
Remember to also add this folder and the Scripts folder to the Environment Variables.
Note: Once you start to install tools which uses Python, your OS becomes a nightmare. You will have your own installed python, the version installed with Visual Studio, the one with Visual Studio Code, another one for Anaconda.
I’m not sure if this is a best practice or not, but I usually remove all the other versions and keep mines in the root of the C: drive.
Ok, let’s go on.
Let’s install virtualenv and the wrapper
pip install virtualenv virtualenvwrapper
For a new virtual environment named “testEnv”, open a command prompt and navigate to the python folder. Then run the command
python -m virtualenv testEnv
After a couple of seconds, the virtual Environment will be installed, and you can use it by run the [activate.bat] script. In this example
So the full command sequence is similar to this one
Now you have your virtual environment up and running and you may want to start to add your own packages or tools. Like in example: Numpy or to list the installed packages
Finally, you may leave the virtual environment with the command
Greetings @ Toronto
Easy-to-install: our versatile installer walks you through the process, and takes less than ten minutes
Resolute: content is blocked in non-browser locations, such as ad-laden mobile apps and smart TVs
Responsive: seamlessly speeds up the feel of everyday browsing by caching DNS queries
Lightweight: runs smoothly with minimal hardware and software requirements
Robust: a command line interface that is quality assured for interoperability
Insightful: a beautiful responsive Web Interface dashboard to view and control your Pi-hole
Versatile: can optionally function as a DHCP server, ensuring all your devices are protected automatically
Scalable: capable of handling hundreds of millions of queries when installed on server-grade hardware
Modern: blocks ads over both IPv4 and IPv6
Free: open source software which helps ensure you are the sole person in control of your privacy
I setup this in an extra Raspberry Pi 3 that I have at home, and keep it running for the last couple of days. I was in shock when I realized that aprox 30% of my internet traffic is … not so good.
One of the cool features of PiHole, os that you can work with their logs. So I decided to apply some very powerful Machine Learning algorithms to detects anomalies and strange behaviors.
In the meantime, I decided to read the logs, and make some filters just using Excel. And I found a lot of very strange urls. Today I’ll share some of the Microsoft ones.
So, in example, do you know what does this set of urls have in common?
They are all Microsoft endpoints ! It seems that Windows 10 is sending a lot of diagnostic and other type of data. Lucky for us, most of this endpoints are well explained for each one of the Windows 10 versions. So, in example, I don’t use a lot of UWP apps, and it seems to me that the localization service does not need to send a lot of information, from a FIXED PC.
I decided to add some of this domains to the blacklist of domains and so far, so good. Windows is still working amazing, I enabled some of the urls so I can use also Visual Studio and Azure DevOps, and my user experience is still the same (with 30% less of traffic!)
So, I may want to also write about some domains I found other chatty devices uses like my Amazon Alexa, my Roku, and more … maybe in the next post! And kudos to the PiHole team!
Greetings @ Burlington
The first time I was doing a demo and connecting my MacBook Pro to a projector, I found out that the screen settings and configuration in a MacOS are completely different to the usual Windows experience. And, IMHO, not in a good way.
In Windows, when you are working with 2 or more screens (monitors / projectors) you have the chance to define specific settings for each one. This settings include orientation, resolution, and more.
MacOS display runs at its native resolution, which is the best resolution designed for the display. To change the resolution, you need to open System Preferences and select displays. Then in the [Display section], we can change the resolutions by selecting the [Scaled] option.
So far, so good. Each option also shows a “Looks like resolution …” options which is great. But, not good enough. Before a demo for a client or a user group, I like to dry run my presentations and demos using a custom resolution. You never know, which hardware is going to be at your final destination.
After testing a couple of apps, I finally found a very good one with the features I need:
Disable Monitor, https://github.com/Eun/DisableMonitor
Disable Monitor allows me to quickly change any screen resolution with 2 clicks; it also lock the screens and detect monitors.
Simple and easy. Happy coding!
Greeting @ Toronto
My posts on experiences in Mac from a Windows user