Re: [GTALUG] TIL: rtcwake / wakealarm

2021-04-12 Thread Stewart C. Russell via talk
On 2021-04-12 9:28 a.m., D. Hugh Redelmeier via talk wrote:
> 
> I always thought that shutting down a Pi really left it on.  That's one 
> reason some people like Pi power supplies with a switch.  To what 
> extent is that true?

It does: it just leaves the processor halted. So the other peripheral
chips are still drawing power.

> How much power is saved?  I delayed sending this message, hoping to add 
> information about this but I'm just not getting to the experiments.

Not much, but then, a Raspberry Pi doesn't draw much even running flat
out. There are fancy Raspberry Pi add-ons that provide a proper
logic-controlled shutdown and poweroff, but they typically cost about
the same as a Raspberry Pi, or about two year's energy cost for running
a Raspberry Pi 4B flat out.

cheers,
 Stewart
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


[GTALUG] [GTALUG-Announce] Meeting Tomorrow

2021-04-12 Thread hi--- via talk


# Windows subsystem for linux with Evan Leibovitch

After one too many times fighting with PulseAudio and video drivers and having
printers and scanners that will NEVER work with Linux, I gave up my dual boot
laptop and desktop and have loaded Win 10 on both.

Turns out, things run faster too, even open source apps like Handbrake which
take advantage of the GPU to do its video decoding while Linux can't do that.

But the story is not done. I installed Windows Subsystem for Linux and now have
a fully running Kubuntu as a VM when I want it. And there are some interesting
tools such as Windows Terminal in which you can have a Linux terminal shell
next to a tab with Windows PowerShell.

# Lightning talks

This is GTALUG's version of an un-conference, a loosely structured short talks
emphasizing the informal exchange of information and ideas between participants,
rather than following a conventionally structured GTALUG meetings.  If you
already have a topic in mind please send an email to speak...@gtalug.org to
be added to the list of scheduled talks.

## Location

Join Zoom Meeting:
https://us02web.zoom.us/j/84001023881?pwd=Tk9DNnB0OXZibTJUT2hUR2taeGY2dz09

Meeting ID: 840 0102 3881

Passcode: 688539

Find your local number: https://us02web.zoom.us/u/kdNFVrX48s

## Schedule

* 7:30 pm - Meeting and presentation.

# Code of Conduct

We want a productive happy community that can welcome new ideas, improve every
process every year, and foster collaboration between individuals with differing
needs, interests and skills.

We gain strength from diversity, and actively seek participation from those who
enhance it. This code of conduct exists to ensure that diverse groups
collaborate to mutual advantage and enjoyment. We will challenge prejudice that
could jeopardise the participation of any person in the community.

The Code of Conduct governs how we behave in public or in private whenever the
Linux community will be judged by our actions. We expect it to be honoured by
everyone who represents the community officially or informally, claims
affiliation or participates directly. It applies to activities online or
offline.

We invite anybody to participate. Our community is open.

Please read more about the GTALUG Code of Conduct here:
https://gtalug.org/about/code-of-conduct/.

If you have any questions, comments, or concerns about the GTALUG Code of
Conduct please contact the GTALUG Board @ bo...@gtalug.org.
---
GTALUG Announce mailing list
annou...@gtalug.org
https://gtalug.org/mailman/listinfo/announce
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] TIL: rtcwake / wakealarm

2021-04-12 Thread Lennart Sorensen via talk
On Fri, Apr 09, 2021 at 10:23:10PM -0400, Stewart C. Russell via talk wrote:
> This may be old news to many of you, but today I learned you can have
> the computer's real time clock boot your machine at a specific time. The
> more proper way seems to be to use the 'rtcwake' command, but you can
> also do it by writing the timestamp of the startup time to
> /sys/class/rtc/rtc0/wakealarm
> 
> Some more details of the /sys method -
> https://www.raspberrypi.org/forums/viewtopic.php?f=63=309093=1849326=ca7a14f7d160f929378be4691b1aed9e#p1849291

Yes many PCs have had an option for the RTC to turn on the machine
(could even configure it in the BIOS to always turn on the computer at
a certain time for you).  I have never used it (I don't tend to turn
the computer off in the first place).

No idea how many other platforms support it although I suspect not very
many.  I didn't think the raspberry pi even had a concept of software
power control, which would make the RTC doing anything rather unlikely,
although if it is just sleeping that would be a different story.
Although suspend and sleep have often been rather hit or miss in my
experience.

-- 
Len Sorensen
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


[GTALUG] DoorDash drivers game algorithm to increase pay - BNN Bloomberg

2021-04-12 Thread Russell Reiter via talk
As cyber awareness continues to permiate all layers of society, game theory
has a real world practicality for marginalized workers.

"Dashers" game "Tonys Casino". A tip is a UML construct, TIP To Insure
Prompt (service).

In the hospitality industry only the Maître d'hôtel received the tip in
advance. It was a handshake transfer, flying under the equitable doctrine
of "first come first served". It was done by wealthy people in order to
jump the que and get the best combination of table and server, while the
rest of the reservations lineup waited their turn.



https://www.bnnbloomberg.ca/businessweek/doordash-drivers-game-algorithm-to-increase-pay-1.1586591

Russell
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] TIL: rtcwake / wakealarm

2021-04-12 Thread D. Hugh Redelmeier via talk
| From: Stewart C. Russell via talk 

| 
https://www.raspberrypi.org/forums/viewtopic.php?f=63=309093=1849326=ca7a14f7d160f929378be4691b1aed9e#p1849291

Intereresting.  Thanks.

I always thought that shutting down a Pi really left it on.  That's one 
reason some people like Pi power supplies with a switch.  To what 
extent is that true?

How much power is saved?  I delayed sending this message, hoping to add 
information about this but I'm just not getting to the experiments.

Most PCs seem to have a firmware (BIOS) setting for when to wake up.  
I've never thought that useful since it required shutting the OS down and 
going into the firmware setup menu.

The rtcwake(8) command was explored by Giles on a PC.  It's available on 
my desktop.  The manpage refers to nvram-wakeup, but I don't see that on 
my system (fedora).  It seems to be part of debian.

There are a lot of things under /sys/class/rtc/rtc0 on my desktop.  I 
haven't searched for any documentation that might exist.

On a related topic:

Windows PCs seem to enter sleep mode when they haven't done anything for  
a certain amount of time.

My Linux boxes don't, as far as I've noticed.

Except for one Dell desktop box supplied with Ubuntu.  It does this too.

How does one configure conventional Linux to do this?

(I could probably spelunk systemd on that Dell system to see what's going 
on but I fear entering a Labyrinth and never coming out.)

Oh:

systemd-hibernate-resume (8) - Resume from hibernation
systemd-hibernate-resume-generator (8) - Unit generator for resume= kernel 
parameter
systemd-hibernate-resume@.service (8) - Resume from hibernation
systemd-hibernate.service (8) - System sleep state logic
systemd-suspend-then-hibernate.service (8) - System sleep state logic
systemd-sleep.conf (5) - Suspend and hibernation configuration file
systemd-suspend-then-hibernate.service (8) - System sleep state logic
systemd-suspend.service (8) - System sleep state logic

I haven't read these yet or looked for an over-arching document.
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk