2019 Newsletter: 24/38 — PreviousNext — (Attach.)

Sydney Harbour
WEEKLY NEWSLETTER 13 - 18 MAY 2019

Hello and Welcome,

Meetings This Week:

Programming - Tuesday May 14th - 5:30 pm (6:00 pm meeting start) - 8:00 pm

The April meeting notes can be read at : https://­sites.google.com/­site/­progsig/­home.

Seeya' Tuesday ...

Regards,

Steve OBrien

Web Design - Saturday May 18th - 1:30 pm (2:00 pm meeting start) - 4:00 pm

Hi everyone,

Hope you all had a good Easter break; our next meeting is next Saturday, the 18th May.

Last time we had a look at the Sitepoint course on Bootstrap 4. See the report on our site:

Go to: https://­sydneypc.com/­webdesignsig/­reports/­march19.html.

So, we will continue with how Bootstrap organises content using cards and look at forms.

Steve South
Web Design Leader

Meetings Next Week:

Tuesday Forum - Tuesday May 21st - 9:30 am (10:00 am meeting start) - 12 noon
Digital Photography - Friday May 24th - 9:30 am (10:00 am meeting start) - 12 noon

Meetings This Month:

31 2019/05/04 - 14:00-17:00 - 04 May, Saturday - Penrith Group
32 2019/05/10 - 09:30-12:30 - 10 May, Friday - Friday Forum
33 2019/05/10 - 12:30-15:30 - 10 May, Friday - Communications
34 2019/05/14 - 17:30-20:30 - 14 May, Tuesday - Programming
35 2019/05/18 - 13:30-16:30 - 18 May, Saturday - Web Design
36 2019/05/21 - 09:30-12:30 - 21 May, Tuesday - Tuesday Forum
37 2019/05/24 - 09:30-12:30 - 24 May, Friday - Digital Photography
38 2019/05/28 - 17:30-20:30 - 28 May, Tuesday - Main Meeting

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ASCCA News:

“ASCCA Training Program 2019”:

Here are the ASCCA courses available for the months of May, June and July 2019.

ASCCA Training Program 2019 - Designed for mature-aged people:

May (page 2)

  • †Mobile Facebook Basics
  • Borrow eBooks & AudioBooks from Public Libraries
  • Spreadsheets / Excel
  • Intro. to 'The Cloud'

June (page 3)

  • Photobooks
  • Transport Apps
  • Google Photos
  • Google Apps (Drive, Play, Maps, Office, etc)

July (page 4)

  • Skype
  • eBay and Gumtree
  • Photo editing with GIMP
  • Advanced Gmail
  • Android Smartphones Basics

†A typical course:

ASCCA Course 9 - Mobile Facebook Basics 2 x 2 hours in 2 sessions.

This course is about the smartphone and tablet version of the Facebook and Messenger apps. It is very similar on Android and Apple devices. Learn the difference between the Home Page and the Timeline; how to get the privacy settings right; adding friends; making posts; uploading photos and using Messenger. You must have created a Facebook account before you come. Let us know if you need help setting it up before the session.

Thursday 2 May AND
Thursday 9 May

Time: 10.00 am — 12.30 pm
Members $32
Seniors Card $60
All Others $80

[ This course has already been held, unfortunately — Ed. ]

ASCCA
Empowering Australian seniors through technology

Level LG | 280 Pitt Street | Sydney | NSW | 2000
P: (02) 9286 3871 | W: www.ascca.org.au
E: markyoung@ascca.org.au
FB: www.facebook.com/ASCCAau

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Tech News:

“The new Edge browser can't run Google Earth yet”:

Showing Google Earth not running in the new Edge browser yet
Google Earth in Edge.

Apparently, the new Edge browser hasn't caught up with Google Earth yet.

It might be because of the "User Agent" that Edge presents to websites. To find out what that string is, go to the "whoishostingthis" page to find out.

Running under the Vivaldi browser on Windows 7, my User Agent is:

“Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.105 Safari/537.36 Vivaldi/2.4.1488.38”

Edge on Windows 10 gives a very similar string:

“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3782.0 Safari/537.36 Edg/76.0.153.0”

Edg? Very interesting...

More likely is that the Chromium Engine that Microsoft uses doesn't have some advanced "Google Earth feature" included yet.

Ed.

“Microsoft PM Explains Why Chromium Edge Can't Run Google Earth”:

See the Bleeping Computer article by Sergiu Gatlan May 2, 2019 04:59 PM.

As Microsoft Edge Product Manager Eric Lawrence explained in a Twitter thread following user reports, the issue stems from the fact that the Chromium-based Edge browser does not ship with the Portable Native Client (PNaCl) component, the architecture-independent version of Native Client (NaCl) which was used by Google when converting Earth into a web app during 2017.

Additionally, Lawrence said that while Google promised to remove "support for PNaCl in the first quarter of 2018 everywhere except inside Chrome Apps and Extensions" back in May 2017, they failed to keep up with their deprecation timelines.

Google updated their company-wide UA sniffer code last week to recognize Chromium-based Edge as its own browser instead of lumping it in with "Chrome." Some Google products have an explicit allow-list of supported browsers, and those products didn't all update their allow-list to say "Oh, and new Edge is fine too." In the case of Meet/Docs/etc, this led to a false "Yo, your browser is lame. Go away" message.

In the obscure case of Google Earth, it actually led to a better block experience, because the new Edge is, in this one obscure way (no pnacl) *truly* not compatible with this legacy site (which was supposed to be rewritten in Web Assembly).

Read more

“Good news for the Raspberry Pi”:

The bad news first — Raspberry Pi's version of the Chrome browser, called Chromium, will not run YouTube videos.

On the other hand, the Raspberry Pi has a built-in program, omxplayer, which will display .mp4 files in full HD mode.

An enterprising coder, Saleem Almajed, has written the program youtube-dl (presumably meaning YouTube DownLoad). See his iSmooth Blog for the full technical details.

Youtube-dl can extract the YouTube information, given the video's URL (such as in this cat video - https://­www.­youtube.­com/­watch?­v=80UWsHtRvsI) and then passing the data to omxplayer, making a very nice Hi-Res video, especially if the Raspberry Pi is connected to a large screen via HDMI.

You first call "youtube-dl YouTube-URL" on the Linux command line. After a few seconds you get a multi-line character string which you then have to feed into omxplayer by carefully copying and pasting it onto the command line.

It all sounds very complicated, but here's a simplifying script of mine, below, which only needs the YouTube URL. The feeding of the output to omxplayer is handled by the script itself.

Here is the output from "youtube-dl -g -f 22 https://www.youtube.com/watch?v=80UWsHtRvsI":

https://r7---sn-hufvjvgx-ntqe.­googlevideo.com/videoplayback?­id=o-AKxzMIbuYTzIUUcOC9-­ikhxUd8rGW7pg2PsjD1SKsvMW&itag=22&
source=youtube&requiressl=yes&mm=31­%2C29&mn=sn-hufvjvgx-ntqe%2C­sn-ntq7yned&ms=au%2Crdu­&mv=m&pl=19&ei=-KbVXJq9AsSO3LUPouS-4AM&
initcwndbps=1133750&mime=video%2F­mp4&ratebypass=yes&dur=702.055&­lmt=1538196847043876&­mt=1557505675&fvip=2&c=WEB&txp=5531432&
ip=218.215.7.47&ipbits=0&expire=­1557527384&sparams=ip%2Cipbits%2C­expire%2Cid%2Citag%2C­source%2Crequiressl%2Cmm%2Cmn%2Cms%2C
mv%2Cpl%2Cei%2Cinitcwndbps%2C­mime%2Cratebypass%2Cdur%2Clmt&signature=­52125A2BDF4B95BDDE4F9866C5AED4D836ABB7C9.­57231D0950F3
574259D0981BA20B9A1517F78C2F&key=yt8

And here is the script which simplifies everything:

#!/bin/bash
echo
echo -n 'YouTube video: "'
echo -n $1 | sed "s/^.*=//"
echo \"
echo
omxplayer -o local -b `youtube-dl -g -f 22 $1`

Now all you have to do is enter "yt https://www.youtube.com/watch?v=80UWsHtRvsI" where yt is the name of the script, above.

The key to this code is the use of the back-tick (`) characters on the last line. This means "execute the program within the back-ticks and substitute the output onto the command line", thus making the omxplayer line look as if the long character string output has been copy and pasted onto the line itself.

This is something that mere Microsoft DOS commands cannot do.

Anyway, something for all the Pi hobbyists, engineers, and geeks to try out.

PS:

Why is it called Raspberry Pi?

The "Raspberry" is an homage to early computer companies being named after fruit, like Apple, Tangerine Computer Systems, Apricot Computers, and Acorn (which inspired the microcomputer's design). The "Pi" derives from the original idea to make a small computer to run only the Python programming language.

When was Raspberry Pi launched?

The first commercially available Raspberry Pi unit was launched on February 19, 2012, and sales started ten days later. This version could run Linux-based desktop operating systems, and featured 256MB of RAM, one USB port, but no Ethernet port. This was named the Model A.

Seems a long time ago now — Ed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Bob Backstrom
~ Newsletter Editor ~

Information for Members and Visitors:

Link to — Sydney PC & Technology User Group
All Meetings, unless specifically stated above, are held on the
1st Floor, Sydney Mechanics' School of Arts, 280 Pitt Street, Sydney.
Sydney PC & Technology User Group's FREE newsletter — SubscribeUnsubscribe
Go to Sydney PC & Technology User Group's — Events Calendar
Changing your e-mail address? Please e-mail your new address to — newsletter@sydneypc.com
DISCLAIMER: This Newsletter is provided "As Is" without warranty of any kind.
Each user or reader of this Newsletter assumes complete risk as to the accuracy and subsequent use of its contents.