User Tools

Site Tools


workshops:20200629_discussions

Table of Contents

29th June 2020 Discussion

Mick

Mick had a crashed HDD: backup/recovery using TIMESHIFT rsync and supports btrfs after checking SMART system logs logs had shown it had used all available error sectors….. disk had no reserve 20% space that SSD's need.

new LTSP Unix server project.

remote access - reverse VNC session…..

type this on the technical computer end…. 9:16

Mick vncviewer -listen

port forward 5500 to your notebook through the home firewall

On the CLIENT's machine type this:

sudo apt-get –yes install x11vnc; x11vnc -connect sudo mlug-au.org

as a comparison to dwservice.net - reverse-vnc is POINT-to-POINT….. and could be wraped in an SSL encryption.

systemD auto-mounts for a variety of on-the-fly access situation.

NetFLIX would benefit from blackVPN but downloading Lathe manuals is no big deal ….. the data is encrypted so who would know…..

Rpi and brewing beer

- Indian Pale Ales are the go.

 PS:  after 10 years of fermentation, there is NO YEAST in Glenfiddich

Danny/Michael

Unhappiness of using DOCKER

but Mick has a trick of using a thin Debian 8 set of libraries with DOCKER to get a primitive set of old DOCKER tools up and running. useful for running a LEGACY system

use this set of scripts to assist.

https://pastebin.com/C9cuwp4g

Journal files need to be samller than the default 4GB!!! So set it down to something nice like 100M

Change in /etc/systemd/journald.conf

  SystemMaxUse=100M

/var/log/

Bob - experience in having to rebuild his whole system after a disaster…..

ANSIBLE scripts are the go, for rebuilding all your favourite tools again….

AND export your 'installed' packages to have a list of things to rebuild later….

My scripts to cheat off:

https://github.com/map7/ansible_recipes

SNAP

FLATPAK

https://medium.com/@uncertainquark/how-to-install-flatpak-apps-on-ubuntu-20-04-lts-6c3f632cc605

https://ubuntu.com/appliance

OpenHAB huge range of supported equipment that can be interfaced

https://www.openhab.org/

Danny

PLEX

Mick

https://plex.tv

Apple changing architecture - so what will be the ramifications of 'architectures' around the world….. even the impact on RPi for instance…

https://www.apple.com/newsroom/2020/06/apple-announces-mac-transition-to-apple-silicon/

Cupertino, California — In a historic day for the Mac, Apple today announced it will transition the Mac to its world-class custom silicon to deliver industry-leading performance and powerful new technologies.

https://www.parallels.com/au/products/desktop/http

“across multiple OSes in a virtual machine for Mac”

https://www.darlinghq.org/

 Darling goes MAC to LINUX.......
 but is there a way of doing the reverse???                 LINUX to  MAC   scenario......   Danny  compiles everything JAVASCRIPT first and transfers....

Danny is compiling gcc code under LINUX …. into binaries to run under WINE (compile the assets under WINE)

WINE runs a Windows app on Linux darlinghq runs a OSx app on Linux

but what allows you to prepare an app ON a Linux, that is targeted for OS-x ?

Mick suggests: https://github.com/tpoechtrager/osxcross

WHAT IS THE GOAL OF OSXCROSS?

The goal of OSXCross is to provide a well working OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux).

but will OSXCROSS support the transition the Mac to its world-class custom silicon

Cross compiling Rust from Linux to macOS

https://wapl.es/rust/2019/02/17/rust-cross-compile-linux-to-macos.html

AJ query:

text-to-Speech solutions anyone?

'Festival' from 2002!

(SayText “hello dave, you don't want to do that dave”)

install male or female Amercian voices…..

mbrola-en1mbro mbrola-us1

$ festival

Festival Speech Synthesis System 2.5.0:release December 2017 Copyright (C) University of Edinburgh, 1996-2010. All rights reserved.

clunits: Copyright (C) University of Edinburgh and CMU 1997-2010 clustergen_engine: Copyright (C) Carnegie Mellon University 2005-2017 hts_engine: All rights reserved. For details type `(festival_warranty)' festival> (SayText “hello dave, you don't want to do that dave”) shared memfd open() failed: Function not implemented shared memfd open() failed: Function not implemented #<Utterance 0x7f721ff44830> festival> (SayText “hello dave, you really sound like SHIT”) shared memfd open() failed: Function not implemented shared memfd open() failed: Function not implemented #<Utterance 0x7f722002c4f0>

Danny's utilisation of GOOGLE TRANSLATE and then output as SPEECH is another solution. The simple solution:

`#!/bin/bash say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols “ http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en ”; } say $*`

CRONTABS that push a VOICE MESSAGE

Mick

echo 'hello' | espeak

AJ try espeak

$ echo 'in promulgating your esoteric cogitations, beware of platidunious ponderosities' | espeak

shared memfd open() failed: Function not implemented shared memfd open() failed: Function not implemented

$ echo “hello dave, you don't want to do that dave” | espeak -p 10 -s 80

sh

  1. p <integer>

Pitch adjustment, 0 to 99, default is 50

  1. s <integer>

Speed in words per minute, default is 160

This is an alternative to 'Hi Google' ……

https://mycroft.ai/ https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/get-mycroft/picroft https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/basic-commands

Default Skills installed with Mycroft

Alarms

Hey Mycroft, set an alarm for two hours

Hey Mycroft, set an alarm for 3pm

workshops/20200629_discussions.txt · Last modified: 2020/06/30 09:09 by admin