Monday, July 30, 2018

Installing the new Insider Preivew of Windows 10 - 2

Please review the updates at the end of this post in bold.

Installed the new Insider Preview of Windows 10 today. The new version is:
Build 17713.rs5_release.18076-1551



The old version was:
Build 17692.rs_prerelease_flt.180625-1624



The new release has the same kind of enhancements as the previous:

The previous version had many problems and I hope at least some of them have been fixed.

http://hodentek.blogspot.com/2018/03/more-problems-with-windows-10-insider.htmlhttp://hodentek.blogspot.com/2018/03/more-problems-with-windows-10-insider.html



Updated 7/30/2018

Feedback Hub is empty 
Microsoft Store cannot be opened.
You click in All Programs nothing happens.
Type and search in Search Charm|Cortana nothing happens
Tried Cortana as well. She repeats the same question, again and again.
The AI features need improvement. There is no spelling error in Cortana and the best the AI can find a match is Cortland.



Once a blogger dashboard is open in Microsoft Edge Beta, it cannot be closed.







Saturday, July 28, 2018

Test drive July 18, 2018 Update to Power BI

You can download Power BI Desktop from link shown at the end , or get it from Microsoft Store (Search for Power BI in Windows Store).



Power BI is Microsoft's Business Intelligence software that allows you turn out eye-catching reports from a variety of data sources offering superb visualization. What is more? It is updated every month to bring in new functionalities; improve existing ones and offering new data connectivity options.

I downloaded from Windows store and it looks like there are two versions of Power BI. I chose the first option.


The full name of the product I installed is the following:


These are the new features of the July 2018 update:


Modeling
Composite models (preview)

Reporting
New visual header with more flexibility and formatting
Wallpaper formatting
Theming update – more visual and page control (preview)
Tooltips for table and matrix
Turn tooltips off for visuals
Slicer accessibility
Formatting pane improvements
Stepped line support for line and combo charts
Turn off combo chart data labels for individual series
Sorting experience improvement

Analytics
Distribution factor insights

Custom visuals
Power BI certified category
Disabling specific organizational visual
Visio custom visual generally available
Mapbox custom visual generally available
DataText Box custom visual
China Scatter Map custom visual

Data Connectivity
IBM DB2 DirectQuery connector (preview)
Improvements to Web By Example connector
Support for importing multiple custom tables
Automatic completions for specifying sample values
Exposure of attribute selectors in HTML.Table function
SAP HANA – Default values for variables in Variable Input experience


Download link & feature summary and  here.



Friday, July 27, 2018

Beware! C# template files may missing in Visual Studio Community 2017

Recently installed Visual Studio Community 2017 with the following details:

Microsoft Visual Studio Community 2017 
Version 15.7.5
VisualStudio.15.Release/15.7.5+27703.2042
Microsoft .NET Framework
Version 4.7.03062 

I tried to run a previously well designed project by loading the project and failed. I noticed a number of errors such as these:

The UI elements can still be seen in the XAML view in the MainPage.xaml and the same elements in the MainPage.xaml.cs are getting to be unrecognized by red wiggly (does not exist in the current context). some fifty errors CS0103 error

Also the CS1061 error that the MainPage does not contain a definition for 'initialize Component' accepting first argument of type 'MainPage' could be found.

I could not fathom the reason and spent about 6 hours.

Then I resorted to recreate the app from scratch by creating a new C# project and noticed that the C# language related templates were missing. I am not sue if my errors are related to the missing templates!


I tried to reinstall Visual Studio from within the IDE, but I had really installed all the necessary items.



I believe the Visual Studio 15.7.5 I installed does not have the templates.

Looks like this is by design. You can choose C# as the language for the templates as described here:

3-D animation in Power Point


I have a subscription for Microsoft Office 365 products and presently I have the Version 1806 (Build 10228.20134 Click-to-run).

With this launched, I can see under the Insert | Illustrations group 3D Models. After you insert the model you can highlight it and click the Animations Menu item which brings up the  3-D animation related  'ribbon' displaying the various effects possible.

You can create your own 3D-Model using the Paint 3D program on most Windows 10 computers; or use models created by others in the Gallery which is accessible from Paint 3D.

You can then animate the models and even add regular animation as well.

Here is an example of 3D animations on Your tube:




Wednesday, July 25, 2018

Visual Studio Community 2017: App testing Simulator is misbehaving

The Simulator for testing apps is not working. It can be launched but you cannot exit. You may exit the development environment by closing Visual Studio but the simulator hangs around.

Apps open in the simulator does not work, or work sporadically.

Here are details of OS and the Visual Studio versions in which this was noted:



Here is the abandoned Simulator:



I will be upgrading to the next version of Visual Studio Community 2017 shown here:





Install IronPython 2.7.8 on Windows 10


You can get the program from this site. I downloaded the .msi file for installing IronPython from this site.




It is easy once you have the .msi file. These are some screen shots.



Once installed you should find it in All Programs as shown.


You can launch from the above. 


Parsing XML with Python 3.7

Let us start with an XML Document. Here is my XML Document saved to my computer as MyStudents.xml.


XMLParsing_0

Launch Python 3.7.0b5(x64bit) and do an import using the xml.etree.ElementTree module by importing it like,



XMLParsing_1

>>> import xml.etree.ElementTree as ET


Now you can use ET as shown here:

XMLParsing_2

Now you can get the 'root' of XML Document as in:


XMLParsing_3.jpg

You use the tag attribute of the root to get the tag.

The 'root' has children which are the four students with their ID's.

You can get all of the children as shown in the code shown below.


How is XML Documents parsed in R?
Read here.

Also here.


Parsing using JSON:


Sunday, July 22, 2018

IronPython: Python programming for .NET Framework

Python is the object oriented, Open source programming language that has become very popular because of a large support group as well as best suited for AI and Machine learning. Some say it is even more powerful than Matlab (numerical computing environment and programming).

.NET Framework is Microsoft's code foundation with Common Language Runtime and a huge class library that connects all Microsoft products.

If there is something that works with both with .NET leveraging Python and Python leveraging Python then one can have the best of both.

Well, IronPython is supposed to embody this important role. This is what on finds on IronPython site

"IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily"

You can download IronPython 2.7.x from here.

IronPython is dubbed the Python programming for the .NET Framework.

Thursday, July 19, 2018

Problem installing mysql-python on Windows 10 (x64)

I tried to install mysql-python using 'pip' from the scripts directory of Python 37.


PipMysql_0

I got the following error failing to compile:
------------
C:\Users\Owner\AppData\Local\Programs\Python\Python37\Scripts>pip3.7 install mysql-python
Collecting mysql-python
  Downloading https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip (108kB)
    100% |████████████████████████████████| 112kB 595kB/s
Installing collected packages: mysql-python
  Running setup.py install for mysql-pythonerror
    Complete output from command c:\users\owner\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Owner\\AppData\\Local\\Temp\\pip-install-mp58q1_3\\mysql-python\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Owner\AppData\Local\Temp\pip-record-f1y77nfx\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    copying _mysql_exceptions.py -> build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\__init__.py -> build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\converters.py -> build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\connections.py -> build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\cursors.py -> build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\release.py -> build\lib.win-amd64-3.7\MySQLdb
    copying MySQLdb\times.py -> build\lib.win-amd64-3.7\MySQLdb
    creating build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\__init__.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\CR.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\ER.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\FLAG.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\REFRESH.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    copying MySQLdb\constants\CLIENT.py -> build\lib.win-amd64-3.7\MySQLdb\constants
    running build_ext
    building '_mysql' extension
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -Ic:\users\owner\appdata\local\programs\python\python37\include -Ic:\users\owner\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\cppwinrt" /Tc_mysql.c /Fobuild\temp.win-amd64-3.7\Release\_mysql.obj /Zl
    _mysql.c
    _mysql.c(42): fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
-----------------------------
I followed up on this suggestion (http://www.voidcn.com/article/p-qxepvobu-bt.html) to install a file downloaded from the indicated site:

MySQL_python-1.2.5-cp27-none-win_amd64.whl

I again tried pip install with this downloaded file. It failed with the following:


It appears that the versions are so many, to get a proper set is not easy. This is one thing I find with Open Source software often.

Monday, July 16, 2018

Art Show by Tomita's students in Honolulu - July 15 to August 26, 2018

Come and participate in the Water Color exhibition (Art Show) by students of Honolulu artist, Tom Tomita. All the exhibits are creations of his students.




Make yourself free on July 22 between 5:00 pm to 7:pm to attend the reception. The works will be on exhibit from July 15 to August 26.

Here is the location of the exhibits: The Honolulu Country Club Gallery


The Country Club building:


Follow this link to know more about Tom:

Wednesday, July 11, 2018

Stay productive tips and Windows 10 Pro Insider Preview

Recently this build was applied to my computer and it did take quite bit of time. I am not sure how much change it made to my resources.


Microsoft Edge has been enhanced. There are lots of great stuff and the productivity tips are many. There is nice web page that explains each of the following with gifs (may be):

Here is a list of the productivity related new items:
     
One click to fill forms
Mark up PDFs and e-books
Reading made easier

Print what matters

Browse on your phone and continue on your PC
Mute tabs
Have the web read out loud to you
Read e-books in the browser
Translate websites instantly--Download Translation Extension
Customize with extensions
Use your touchpad like a touchscreen
 I liked this one
Swipe to go back or forward
Keyboard shortcuts
Get notifications from websites
Use mouse gestures to close tabs and more
Earn rewards for using Microsoft Edge
Save money with Cortana
Get instant answers as you search
Read without distractions
Write on the web
Add notes to sites
Clip and share anything
 Clipped image has unknown format, cannot be opened  
Cast your content
 Does not discover the TV
Browse longer without a charge
Get helpful tips from Cortana
Ask Cortana anything
Save creative ideas from around the web with Pinterest
Instant access to all your Office files  -- You need an extension
Get a Focused inbox with Outlook.com

You may think that productivity has increased, but actually it has decreased because the computer has become very sluggish. I tried to check out the above and I had browser freezing up, or printer menu not coming up; the Cast to devices not showing and many more.

DMCA.com Protection Status