●● IRC: #techbytes @ FreeNode: Tuesday, December 22, 2020 ●● ● Dec 22 [00:50] *rianne_ has quit (Ping timeout: 246 seconds) [00:50] *liberty_box has quit (Ping timeout: 264 seconds) [00:51] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [00:52] *liberty_box (~liberty@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes ● Dec 22 [01:20] *rianne_ has quit (Quit: Konversation terminated!) [01:22] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes ● Dec 22 [05:06] *GNUmoon2 has quit (Remote host closed the connection) [05:07] *GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon) has joined #techbytes [05:49] *GNUmoon2 has quit (Ping timeout: 240 seconds) ● Dec 22 [07:00] *GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon) has joined #techbytes [07:56] Techrights-sec2 \better today? [07:56] schestowitz Recovery seems to be faster than I hoped. But I lose like 3 hours per day on extra sleep. [07:56] Techrights-sec2 The stimulus plan in congress is so weak that it looks like its only [07:56] Techrights-sec2 pupose is to carry riders such as the 'felony streaming' section and [07:56] Techrights-sec2 other 'coypright' cartel abuses. ● Dec 22 [08:00] schestowitz mintpress fetcher fails to fetch headlines, puts 0s there instead [08:17] *Condor has quit (Ping timeout: 264 seconds) [08:36] Techrights-sec2 Ok, mintpress is updated. It should show the titles correctly starting tomorrow [08:44] Techrights-sec2 Not a word about copyright cartels: [08:44] Techrights-sec2 https://www.wsws.org/en/articles/2020/12/22/pers-d22.html [08:44] Techrights-sec2 it's almost like the bill was not about stimulus [08:44] -TechBytesBot/#techbytes-www.wsws.org | As the oligarchs make trillions, Congress offers a pittance for the jobless - World Socialist Web Site [08:44] schestowitz I just saw 3 articles about it; truly disturbing, even more tax breaks for oligarchs. Failed Nation. [08:45] schestowitz I will attempt to get back to exercise today. My legs were in pain yesterday, I had to write articles from bed and not from the chair. Much better today. I might power down the pi later to reassemble it. [08:52] schestowitz https://www.mintpressnews.com/no-joe-dont-roll-out-the-red-carpet-for-torture-enablers/273796/ [08:52] -TechBytesBot/#techbytes-www.mintpressnews.com | No, Joe, Dont Roll out the Red Carpet for Torture Enablers [08:54] schestowitz https://www.mintpressnews.com/chris-hedges-biden-systems-managers-of-empire-returning-to-power/273786/ [08:54] -TechBytesBot/#techbytes-www.mintpressnews.com | Chris Hedges: Biden and the systems managers of empire are returning to power ● Dec 22 [09:46] Techrights-sec2 It was basically SOPA back again but as a rider. Like the PATRIOT act, no [09:46] Techrights-sec2 one read it or could have even had time to read it. [09:46] Techrights-sec2 Those kind of bills ought to be null and void. [09:46] Techrights-sec2 The process to become eligble for a vote needs to include a long lead-in time [09:46] Techrights-sec2 for evaluation. [09:46] Techrights-sec2 There wasn't even time to call or write congress. [09:46] Techrights-sec2 By the tiem the single source from which all the other articles are derived, [09:47] Techrights-sec2 The Hollywood Reporter, wrote about it, the vote was over. [09:47] Techrights-sec2 That one article wasn't even on the front page for more that a very short time. [09:47] Techrights-sec2 There were a few all-too-late articles today. Maybe the authors of those [09:47] Techrights-sec2 coould be enticed to look at the EPO, especially since it affects both [09:47] Techrights-sec2 sides of the pond. Crap that happens on one sie nearly automatically gets [09:47] Techrights-sec2 deployed on the other side in the name of "harmonization". [09:47] schestowitz UPC in a nuthsell, with swpats in it. There was another such trick recently in NDAA. [09:48] schestowitz lost 2+ kg in 1.5 days ● Dec 22 [10:07] Techrights-sec2 https://www.newsweek.com/republicans-democrats-voted-against-stimulus-why-1556574 [10:07] Techrights-sec2 Again no mention of the riders in the bill. [10:07] -TechBytesBot/#techbytes-www.newsweek.com | Republicans, Democrats Who Voted Against Stimulus Bill Explain Why [10:07] schestowitz symptom of rogue country that quit caring about people [10:07] schestowitz starting to work on pi now [10:09] Techrights-sec2 Ok. Be sure all power is disconnected, and double check the pin order before connecting any GPIO. [10:22] schestowitz need quick advice: GPIO connects to a sort of extender, in turn connects to HAT, on top of that goes BLINKT, with the text BLINKT being upright and consistent with the text on the HAT. Correct? [10:23] schestowitz and I am guessing that soldering would be done along the middle part, if only I had the equipment at this time [10:25] schestowitz BLINKT pins cannot be inserted all the way in, only about 80%, but I guess that should be enough? [10:31] Techrights-sec2 Yes, that's enough. The rounded corners go on the outward edge [10:32] schestowitz Same as what I did last month, before removing the whole thing, wrongly assuming I'd get equipment after the lockdown. I will try to screw the housing now, I was never happy about it being so 'naked' with dust [10:32] schestowitz btw, lxer is down again, 3rd or 4th time in 10 days. What was the link about? [10:33] Techrights-sec2 The one HAT which goes underneath the Blinkt unit does act somewhat as a dust cover. [10:33] Techrights-sec2 It was about EOL of a kernel version. I think Linux 5.9 or something. [10:33] schestowitz Ah, that would be the article from Marius. I saw them linking to it last night ● Dec 22 [11:36] schestowitz The Pi is back up now, no issues. The LED module is connected. Can you run whatever it is you run on these (I checked the python script in /bin but it complained) so I can see lights? Those points towards me now, the Pi is vertical now. [11:58] schestowitz File "/usr/lib/python3/dist-packages/blinkt.py", line 76, in show [11:58] schestowitz GPIO.setup(DAT, GPIO.OUT) [11:58] schestowitz RuntimeError: Not running on a RPi! [11:59] *rianne_ has quit (Quit: Konversation terminated!) ● Dec 22 [12:00] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [12:01] *rianne_ has quit (Read error: Connection reset by peer) [12:01] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [12:04] Techrights-sec2 python3-blinkt - Python library for the Pimoroni Blinkt! [12:04] Techrights-sec2 It needs the above package. [12:04] Techrights-sec2 If the Ethernet port is facing you and the microSD card away from you, [12:04] Techrights-sec2 then the rounded corners go on the right. [12:11] schestowitz python3-blinkt is already the newest version (0.1.2). [12:14] Techrights-sec2 I'll log in and take a look. [12:18] Techrights-sec2 Ok. I get the same. It is strange. I'll look into it. [12:18] Techrights-sec2 Are you in the group 'gpio' ? [12:22] Techrights-sec2 Can you add me to gpio? [12:22] Techrights-sec2 usermod -aG gpio xxxxxxxxxxx [12:23] Techrights-sec2 There are some RPi4B issues with early models, maybe. [12:23] Techrights-sec2 But that should not be an early model. [12:28] Techrights-sec2 Are they lit? [12:28] Techrights-sec2 Excellent! [12:28] Techrights-sec2 I have other patterns in the demo script, but as mentioned you have more experience [12:28] Techrights-sec2 programming algorithms and probably programming in general so mods should be easy [12:28] schestowitz Do you have the script for downtime check handy? IIRC, it did lights with triggers [12:29] Techrights-sec2 I'm not sure of a way in python to have the lights stay on after the script [12:29] Techrights-sec2 quits but that is probably obly a good thing [12:29] Techrights-sec2 That was on the openbsd system with raw GPIO. [12:29] Techrights-sec2 But I will upload those simpler scripts. [12:30] schestowitz Maybe I can reuse those. BTW, the reason I have many typos is that the ytalk screen is attached to a machine with a keyboard I can barely reach. Sometimes I dump whole lines from my main keyboard, as if the case now. [12:32] schestowitz I can see the scripts now in the homedir/bin [12:34] schestowitz I would rather wait for a bit to see what we need to monitor after site migration [12:34] schestowitz maybe no systemd anymore, who knows... [12:34] Techrights-sec2 Sure. [12:34] Techrights-sec2 They're in ~/bin/ now, please mv rather than cp, so that I know you have them. [12:34] Techrights-sec2 Then they might be a little too customized. [12:34] Techrights-sec2 Yep. That's them. [12:34] Techrights-sec2 They're rather simple and use HTTP only, nothing about the backend of the [12:34] Techrights-sec2 services. If a copy of a Blinkt script goes into /usr/local/bin/ then the monitor script(s) could be used to call it as ne [12:34] Techrights-sec2 eded. [12:35] Techrights-sec2 Yay! Hopfully free of systemd. [12:35] Techrights-sec2 \ [12:35] schestowitz The case became stronger after centosgate [12:37] Techrights-sec2 Yes, but one could always see the end game from day one, both in regards to the IBM [12:37] Techrights-sec2 purchase of RH and with the bullshit that poettering and his cabal pulled [12:37] Techrights-sec2 on the greater community. [12:37] Techrights-sec2 Something really odd went on that it was accepted. There were only a few write [12:37] Techrights-sec2 ups of the decision being made by 1 person on the Debian TC and he didn't even pick anything from among the first three runo [12:37] Techrights-sec2 ff choices. [12:38] Techrights-sec2 By the way, if you have speakers they can be plugged into the 3.5mm jack and do [12:38] Techrights-sec2 audio alarms. that's what I have on the Pi here now but some of them are [12:38] Techrights-sec2 a little too quiet. However, that's probably better than blasting the sound [12:38] Techrights-sec2 at odd times. [12:39] schestowitz Let's start with simple and build up from there, I did consider the speakers this morning when I put the bits and screws [12:41] schestowitz Messing a bit with the LEDs now... [12:42] schestowitz can use colour to display load status when I am in bed and cannot see the screen/tmux [12:43] Techrights-sec2 There are three type of random pattern in the script, with varying color depth. [12:43] Techrights-sec2 Fewer colors is much more distinct. [12:43] Techrights-sec2 yes, ant the brightness can be adjusted. [12:44] schestowitz Yes, I just did that [12:44] Techrights-sec2 There is a sunrise/sunset module somwhere [12:46] schestowitz rianne loves the light shows I hack together [12:46] schestowitz but I really ought to get back to TM postings [12:47] schestowitz TR won't be a priority today because of recovery and migration. One xmas project down, 2 to go... [12:54] Techrights-sec2 Nice. There's a surprising amount that can be done with 8 LEDs and RGB color. [12:54] Techrights-sec2 The back story for the board is that it was used for system monitoring. [12:54] schestowitz I have made it bed-facing, right next to my alarm clock which is over 20 years old and still working (NEC) [12:57] *rianne_ has quit (Quit: Konversation terminated!) [12:57] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [12:58] Techrights-sec2 I used to use my watch when I needed an alarm. I used to have very keen hearing. [12:59] schestowitz I've not tested all the modes, the alarm clock has display, radio, and alarm that turns on the radio with snooze button [12:59] schestowitz Sometimes you realise tech does not advance as much as the hype and marketing ● Dec 22 [13:01] Techrights-sec2 Oh. Clock radios are good. [13:01] Techrights-sec2 For a few years I used a small light on a timer, not so much to wake up, but [13:01] Techrights-sec2 more to simulate sunrise and to indicate when I should get ready to go to work. [13:01] Techrights-sec2 No tech in many areas has not advanced. [13:02] Techrights-sec2 I think some areas have only changed because of the wasteful amount of computing [13:02] Techrights-sec2 power that can be thrown at problems now. [13:02] Techrights-sec2 *cough*ai*cough* [13:02] Techrights-sec2 *cough*statistics*cough* [13:02] Techrights-sec2 There are net radios so you could similuate a clock radio with the Pi if [13:02] Techrights-sec2 there are external speakers. [13:04] schestowitz Maybe we can talk about it over mumble and record (voice), using no ID [13:05] schestowitz for some videos with browser showing, I'm still training to improve [13:09] Techrights-sec2 Sure we can talk but I'd prefer to avoid recording for now. [13:09] Techrights-sec2 I'm in mumble now if you'd like to test it for a few minutes. [13:09] Techrights-sec2 When idling mumble server uses almost no resources. [13:10] schestowitz I can imagine; the issue is, input/output for audio was a struggle for me. Side story: it started when I realised I could not download a Downfall video I had made, so I tried to record from the screen. [13:11] schestowitz I plugged in headphones and mics and stuff, old ones too, to no avail. So at the moment I stick to lousy webcams and laptop mic. [13:12] schestowitz I'm sure that with some mixer it's possible to somehow blend in folks over mumble ... but it's well outside my ballpark and can be hours of errors, time down the drain (as happened last week) [13:13] Techrights-sec2 There are a lot of mics out on the market. Having a good one improves [13:13] Techrights-sec2 the understandability and makes it more pleasant to listen to. [13:13] Techrights-sec2 Obviously there was a huge run on them in the spring, but I think [13:13] Techrights-sec2 most stores have restocked by now. [13:17] schestowitz rianne says she'll practice python on the pi with the LEDs [13:18] Techrights-sec2 https://www.techdirt.com/articles/20201221/09573745928/congress-once-again-sells-out-to-hollywood-sneaks-case-act-felony-str [13:18] Techrights-sec2 eaming-bill-into-government-funding-omnibus.shtml">Congress (Once Again) Sells Out To Hollywood: Sneaks CASE Act And Felony [13:18] Techrights-sec2 Streaming Bill Into Government Funding Omnibus [13:18] -TechBytesBot/#techbytes-www.techdirt.com | Congress (Once Again) Sells Out To Hollywood: Sneaks CASE Act And Felony Streaming Bill Into Government Funding Omnibus | Techdirt [13:18] Techrights-sec2 Yep. CASE (similar to SOPA) was snuck in way uner the radar. Most [13:18] Techrights-sec2 articles today don't even mention copyright, let alone the damage. [13:19] Techrights-sec2 Cool. It's a fun python project. [13:19] Techrights-sec2 Most of the RPi periperals are I2C or SPI underneath it all. [13:19] Techrights-sec2 So knowing that demystifies a lot. ● Dec 22 [16:47] *rianne_ has quit (Read error: Connection reset by peer) [16:47] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [16:50] *rianne_ has quit (Client Quit) [16:50] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes ● Dec 22 [17:04] *Akee has quit (Quit: Bye, loosers !) [17:04] *Akee (~Akee@217.ip-137-74-196.eu) has joined #techbytes ● Dec 22 [19:17] *rianne_ has quit (Ping timeout: 256 seconds) [19:17] *liberty_box has quit (Ping timeout: 260 seconds) [19:24] *rianne_ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [19:25] *liberty_box (~liberty@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [19:58] schestowitz The LEDs are our xmas lights now [19:58] schestowitz ./run-blinkt.py flashed_bar 250 255 255 0.0001 [19:59] schestowitz You can run this on the pi to wake us up [19:59] schestowitz I'm pretty sure it would ● Dec 22 [20:20] Techrights-sec2 Ok, but I'd prefer to use it sparingly. [20:21] schestowitz maybe I can think of better use cases. I've just studied the python code. It's very simple. Rianne will fork it. [20:22] Techrights-sec2 Sure, it's available for any use. It's just someting I put together a while back [20:22] Techrights-sec2 to see what I could do with visual notifications. [20:22] Techrights-sec2 I expect there is a lot more that can be done. [20:22] schestowitz I didn't know you wrote it! [20:23] Techrights-sec2 I had some more complex scripts for a while that played morse code, albeit slowly [20:23] Techrights-sec2 I found that "TM" or "TR" were easily distinguished. [20:24] Techrights-sec2 Yes, but it's really simple and on top of that just theme and variation on [20:24] Techrights-sec2 that simplicity. I'm not even sure it is correct style for Python3 [20:25] Techrights-sec2 One thing I left out was an alpha channel for the color. [20:25] Techrights-sec2 That would make it easier to pick a color and then and intensity. [20:25] Techrights-sec2 Currently it is done by RGB values only. [20:25] schestowitz can add a new mode or modes, based on existing one/s [20:26] Techrights-sec2 Yes, I started with one and then figured out others. [20:26] schestowitz uploading video now [20:27] schestowitz uploads are so slow, take over an hour per video [20:27] Techrights-sec2 There are other Blinkt python examples online but I like this one [20:27] Techrights-sec2 How manh bps for the upload? [20:28] schestowitz 20kb/sec at the moment. Maybe it's throttled due to ipfs here [20:28] Techrights-sec2 I did a backup of the last two day's dumps and that took over an hour. ● Dec 22 [21:08] *bumperSteff has quit (K-Lined) [21:14] *GNUmoon2 has quit (Ping timeout: 240 seconds) ● Dec 22 [22:03] *GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon) has joined #techbytes [22:51] *rianne__ (~rianne@host81-154-173-106.range81-154.btcentralplus.com) has joined #techbytes [22:51] *rianne_ has quit (Read error: Connection reset by peer)