Re: [GTALUG] End of independent web browsers
On Tue, 14 Jan 2020 21:59:42 -0500 Christopher Browne via talk wrote: > The material takes somewhat extreme position, but it's curious that there > are only 3 "content decryption modules" out there, Widevine (Google), > Fairplay (Apple) and PlayReady (Microsoft), all of the vendors having > expressed some reluctance to license to small fry. (Apple being > uninterested in sublicensing.) Christopher, I worked for fifteen months at Christie Digital on one of their new digital movie projectors. One critical design requirement was that the movie feed from the internet was to be decrypted inside a protected enclosure. The projector operator was to have no access to a functional version of the movie other than by watching the screen. I use Google Chrome to watch YouTube and Netflix. I try to use Firefox for everything else. I cannot see people spending big bucks to produce Free Movies as per the GPL. If somebody wants to communicate with the outside world, they need to use public domain tools like HTML. -- Howard Gibson hgib...@eol.ca jhowardgib...@gmail.com http://home.eol.ca/~hgibson --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] Any experience with "Linux on Windows"?
Here are different ways (chronologically encounted) to get "Linux" environment in Windows: 1. Busybox for Windows - it's single binary, available in x32 and x64 version. - has "ncat", but no "ssh". 2. Cygwin - full Linux utilities (like sed, awk, bash, etc) compiled on Windows. - I don't use this anymore because I found better solutions (see below). 3. Git Bash for Windows - part of Git for Windows. - has "ssh", but no "ncat". 4. WSL (Windows Subsystem for Linux) - currently Ubuntu 18.04 from Windows Store. This my main terminal at work. - has full command-line Ubuntu environment, but slightly slimmed down to make sense for Windows OS. - can run Windows programs, if you're on Windows filesystem. Very convenient. - can run Linux program anywhere. 5. Hyper-V - unlike VirtualBox or VMware, you can't mount "shared directory". But, you can use scp or WinSCP to/from WSL. I don't use VirtualBox or VMware anymore. -- William Park On Tue, Jan 14, 2020 at 07:53:31PM -0500, Paul King via talk wrote: > Hi > > I have been running dual boot into Windows and Linus for decades, but > had a major problem with the latest Windows 10 in dual booting with > Ubuntu. Apparently, I have heard (can't locate the source) booting > into Linux can no longer be done on the latest major upgrade to > Windows 10. And this was my direct experience when a Windows 10 > upgrade this past September all but bricked by computer, rendering 50% > of my storage inaccessible. I tried to check the boot area, and fix > the situation with a Windows disk then a Linux disk, which rendered > both systems unbootable. The problem pretty much solved itself when I > downgraded to Windows 7, not touching Linux. > > Whether it boots or not may be moot, since Windows has offered many > Linux distros to run in a windowed environment on top of Windows 10, > kind of like VLC. That is to say, you go to the Microsoft Store, > download a Linux distro, and it will install as a Windows application > under Windows 10. Sample link: > https://www.microsoft.com/en-ca/p/ubuntu-1804-lts/9n9tngvndl3q?activetab=pivot:overviewtab > > The link points to a copy of Ubuntu 18.04 LTS. I can see from the > offerings, you can also install Debian, Suse, Fedora, and something > called "Pengwin". Beware: some of these cost money, sometimes a fair > chunk of it. > > It begs the question also as to how different are these distros from > Cygwin? Sounds like these are just different attempts to duplicate > what Cygwin is doing. BTW, Cygwin itself is not offered at the > Microsoft store. > > Anyone have experiences with these weird versions of Linux running on > Windows? I would like to hear about it. Any experience with how it > would look with a dual monitor? > > Paul King > > --- Post to this mailing list talk@gtalug.org Unsubscribe from this > mailing list https://gtalug.org/mailman/listinfo/talk --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
[GTALUG] End of independent web browsers
The material takes somewhat extreme position, but it's curious that there are only 3 "content decryption modules" out there, Widevine (Google), Fairplay (Apple) and PlayReady (Microsoft), all of the vendors having expressed some reluctance to license to small fry. (Apple being uninterested in sublicensing.) https://boingboing.net/2020/01/08/rip-open-web-platform.html https://blog.samuelmaddock.com/posts/the-end-of-indie-web-browsers/ Google seems, marginally, the "good guys" here, licensing their CDM to various web browsers we know, but I'd not assume too much "goodness.". It's not good to need to be so dependent upon their good graces.a I'd never heard of these three technology names until today. --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] Any experience with "Linux on Windows"?
On 2020-01-14 07:53 PM, Paul King via talk wrote: It begs the question also as to how different are these distros from Cygwin? Sounds like these are just different attempts to duplicate what Cygwin is doing. BTW, Cygwin itself is not offered at the Microsoft store. I believe the current version is a full kernel install. --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] Any experience with "Linux on Windows"?
On Tue, Jan 14, 2020 at 07:53:31PM -0500, Paul King via talk wrote: > Anyone have experiences with these weird versions of Linux running on > Windows? I would like to hear about it. Any experience with how it would > look with a dual monitor? The real payoff is supposed to come Real Soon Now -- probably April:in WSL 2, the Linux kernel itself will receive system calls, running on a trimmed down version of the Hyper-V hypervisor, hosting files on a virtual ext4 disk. It will be sort of like running VirtualBox, but outside the Box. Right now there is a layer that translates kernel calls into Windows calls. It works surprisingly well. I have been running Debian-on-Windows (Win10 Pro) for a few months now. It doesn't run X11. There are complicated workarounds for this, but since I do most of my work at the console, it doesn't bother me. YMMV. Otherwise apt-get works as you'd expect, and so far everything runs very smoothly; WSL 1 uses an older, conservative version of Debian stable, and I haven't been tempted to run testing. (Well, okay, I've been tempted, but so far I haven't given in.) Have WSL take over the whole screen and it's very much like running Debian from the console normally. It's pretty easy to share files between WSL and Windows: the normal windows drive is automagically mounted at /mnt/c/. Then you just read/write to it. On the whole the integration is rather good. I haven't tried pushing the limits, mostly because I haven't needed to. Windows 10 Pro seems to be one of the occasional "solid" releases of Windows -- I haven't had it crash on me yet, or even misbehave, and things work more or less as you'd expect. However, I don't really know anything about Windows; this is the first time I've even tried it since Win 3.1, so I'm no expert. WSL 1 runs fine (in terminal/console mode) on a second monitor. It's easy and seamless to go from the Linux environment to Windows, and vice-versa. -- Peter King peter.k...@utoronto.ca Department of Philosophy 170 St. George Street #521 The University of Toronto (416)-946-3170 ofc Toronto, ON M5R 2M8 CANADA http://individual.utoronto.ca/pking/ = GPG keyID 0x7587EC42 (2B14 A355 46BC 2A16 D0BC 36F5 1FE6 D32A 7587 EC42) gpg --keyserver pgp.mit.edu --recv-keys 7587EC42 signature.asc Description: PGP signature --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] Any experience with "Linux on Windows"?
On 2020-01-14 07:53 PM, Paul King via talk wrote: Hi I have been running dual boot into Windows and Linus for decades, but had a major problem with the latest Windows 10 in dual booting with Ubuntu. Apparently, I have heard (can't locate the source) booting into Linux can no longer be done on the latest major upgrade to Windows 10. And this was my direct experience when a Windows 10 upgrade this past September all but bricked by computer, rendering 50% of my storage inaccessible. I tried to check the boot area, and fix the situation with a Windows disk then a Linux disk, which rendered both systems unbootable. The problem pretty much solved itself when I downgraded to Windows 7, not touching Linux. I have no problem booting into openSUSE. However, there is an issue where W10 doesn't fully shut down the drive, so that it can boot faster. There's a setting that has to be changed, thought I don't recall the details at the moment. You should be able to Google for it though. Whether it boots or not may be moot, since Windows has offered many Linux distros to run in a windowed environment on top of Windows 10, kind of like VLC. That is to say, you go to the Microsoft Store, download a Linux distro, and it will install as a Windows application under Windows 10. Sample link: https://www.microsoft.com/en-ca/p/ubuntu-1804-lts/9n9tngvndl3q?activetab=pivot:overviewtab The link points to a copy of Ubuntu 18.04 LTS. I can see from the offerings, you can also install Debian, Suse, Fedora, and something called "Pengwin". Beware: some of these cost money, sometimes a fair chunk of it. It begs the question also as to how different are these distros from Cygwin? Sounds like these are just different attempts to duplicate what Cygwin is doing. BTW, Cygwin itself is not offered at the Microsoft store. Anyone have experiences with these weird versions of Linux running on Windows? I would like to hear about it. Any experience with how it would look with a dual monitor? Those W10 Linux installations are command line only, no desktop. --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
[GTALUG] Text of my slides
Chris’ Intro to Kubernetes Christopher Browne GTALUG, January 2020 The Agenda A wee intro to k8s (because kubernetes is really long to type!) Some major components A progression of service evolution Chris’ crazy batch jobs, and my challenges Some useful tools k8s Originally a Google project called “Borg” It’s all about orchestrating the running of services in containers The “Borg” metaphor… Robotic services, lots of them, with sub- and sub-sub-services. Launched automatically. Relaunched on failure. Spread across a series of Borg Kubes. If one Kube blows up, there’s more! Kubernetes is a Greek word meaning “helmsman” or “pilot”; the one that steers a ship It uses Docker (usually); it’s the “opposite side” Major Components Starts with a Container system Docker, containerd, cri-o, rtklet, frakti, AWS Firecracker, gVisor, … Alternatives claim to be faster or more secure… are they??? Etcd - distributed key/value store for configuration DNS server - automatically managing hostnames inside the cluster Kube Proxy - maintains network rules so outside hosts can get at services inside the cluster Less Visible Components Kube API server - used to control node activities Kube scheduler - launches and destroys Pods Node controller - monitors each node (am I alive?) Replication Controller - add/drop Pods based on policy Endpoint Controller - connects Pods to form Services Visible or not, the Real Point of Kubernetes is to have the clusters self-monitoring and self-administering. A Progression of Sorts of Services Pods - a set of related containers sharing storage + IP Multiple containers so you add extra services via extra containers Use fluentd to aggregate collect logs, forward to ElasticSearch CronJob so a process runs periodically Job (run the thing once, more or less) DaemonSet (so each node has an instance of a service pod) ReplicationController - obsolesced ReplicaSet - obsolesced Deployment defining a ReplicaSet StatefulSet (needs stable network or storage) More Sophisticated Services Operators (think: “system operators”) PostgreSQL Operator Deploy multiple replica nodes (sync and async replication) Run backups using pgBackRest (including to S3) Automated failover via distributed consensus subsystem Automated recovery based on replicas or backups Component for managing users and permissions Capability to scale up by cloning DB clusters Sets up pgBouncer for connection pooling Includes health monitoring componentshttps://github.com/operator-framework/awesome-operators Yaml, Yaml Everywhere Manifests about how the pods in your services are configured, are written in YAML Configuration to pass to the pods, also YAML You are in a maze of twisty YAMLs, all nearly the same… I think I want an engine for generating YAML way more automatically (you’ll see why later…) Well, that’s why they have Helm - http://helm.sh Lots of systems use the Go language system for templating {{- if (.Files.Glob “myfile.conf”) }} {{ (.Files.Glob “myfile.conf”).AsConfig | indent 2 }} Configuration Pains Some things are painful… Twisty maze of YAML, Almost the same… Environment Variable Overlay Don’t call a config element PGPORT or PGHOST or PGDATABASE It’s kinda like running within a cron job... My Job Journey The stuff I build tends to be shell scripts running SQL queries Not a great fit for being an “endpoint” or a “service” Best fit appears to be k8s “Jobs” I have activities split into a series of job steps that pretty much need to be run serially, one after another The “best fit” isn’t to run a bunch of k8s Jobs, either No dependency system provided No indication that this is an area to expect much evolution So, I wrote 2 shell scripts as a “batch job controller” Receives a list of job steps to be run, JOBSTEPS Verifies that the steps are all valid (abort if not) Iterates across the steps in JOBSTEPS, in order: echo “start $step” > $LAUNCHMARKFILE Poll, waiting for the step to indicate it is done via seeing “done” in $JOBSTATEFILE job-controller.sh gets run by 1 container in the Job pod, logging as it goes Run-controller.sh Job-controller.sh Batch-job.sh Job-runner.sh There are a couple dozen containers, one per job step. Each runs via: job-runner.sh my-step-name [immediate] job-launcher function in batch-job.sh: Grabs configuration, turns it into a set of environment variable values Wait Loop; watch until $LAUNCHMARKFILE contains “start my-step-name”, It’s my turn now :-) Run the logic for this job step echo “done” > $JOBSTATEFILE to launch the next step A little Column A, a Little Column B... This Job pod has (at the moment) 22 containers Boy, that’s a lotta YAML!!! That’s a lotta containers!!! Some aspects are pretty clean Each job step gets its own distinct STDOUT logging It’s easy to identify which step is which At any given time, only one container is busy; others are lazy There’s only one Pod There’s only one container definition, used by all 22 containers Using one Pod means all the containers have easy
[GTALUG] Any experience with "Linux on Windows"?
Hi I have been running dual boot into Windows and Linus for decades, but had a major problem with the latest Windows 10 in dual booting with Ubuntu. Apparently, I have heard (can't locate the source) booting into Linux can no longer be done on the latest major upgrade to Windows 10. And this was my direct experience when a Windows 10 upgrade this past September all but bricked by computer, rendering 50% of my storage inaccessible. I tried to check the boot area, and fix the situation with a Windows disk then a Linux disk, which rendered both systems unbootable. The problem pretty much solved itself when I downgraded to Windows 7, not touching Linux. Whether it boots or not may be moot, since Windows has offered many Linux distros to run in a windowed environment on top of Windows 10, kind of like VLC. That is to say, you go to the Microsoft Store, download a Linux distro, and it will install as a Windows application under Windows 10. Sample link: https://www.microsoft.com/en-ca/p/ubuntu-1804-lts/9n9tngvndl3q?activetab=pivot:overviewtab The link points to a copy of Ubuntu 18.04 LTS. I can see from the offerings, you can also install Debian, Suse, Fedora, and something called "Pengwin". Beware: some of these cost money, sometimes a fair chunk of it. It begs the question also as to how different are these distros from Cygwin? Sounds like these are just different attempts to duplicate what Cygwin is doing. BTW, Cygwin itself is not offered at the Microsoft store. Anyone have experiences with these weird versions of Linux running on Windows? I would like to hear about it. Any experience with how it would look with a dual monitor? Paul King --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Re: [GTALUG] Re-implementing xbattbar in Python
On Sun, Jan 12, 2020 at 10:53:16AM -0500, Giles Orr via talk wrote: > That's not the worst of it: I thought "why did he use 'perlcompat' > just for 'die' and 'getopts'?" So I replaced those commands with the > Python equivalents and removed the library. Only to discover that > "x11utils" requires "perlcompat". Seriously? And "pip3" doesn't even > know it's a dependency so you have to install it by hand. Kinda > unimpressive. x11utils and perlcompat did appear like they were by the same author, and I guess they are. Seems like they are modules written by a perl fan that is having issues getting used to python. Looks like the same person did x11utils, perlcompat, xpymon, xpywm, xpylog and a few other things. -- Len Sorensen --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk