Notes to self: when deploying Google Cloud applications, if encounter the following "no such object" error, it is because the deployment process is looking for cache that doesnt exist.
To solve it, deploy with "--no-cache" parameter.
news from Clarence, stuff that doesn't matter
Notes to self: when deploying Google Cloud applications, if encounter the following "no such object" error, it is because the deployment process is looking for cache that doesnt exist.
To solve it, deploy with "--no-cache" parameter.
After some digging, seems like it is plagued by a recent bug. Waiting for Tumbleweed to include the patch.
[Fri Feb 23 16:23:24 2024] bluetoothd[9971]: segfault at 5600bf0628b5 ip 00005605de5743c1 sp 00007ffee8f18f70 error 4 in blu
etoothd[5605de552000+d6000] likely on CPU 7 (core 1, socket 0)
[Fri Feb 23 16:23:24 2024] Code: 41 83 2c 24 01 0f 85 1b ff ff ff 4c 89 e7 e8 96 f4 fd ff e9 0e ff ff ff 90 41 55 41 54 55 5
3 48 83 ec 08 48 8b 2a 48 8b 7a 08 <48> 8b 45 20 4c 8b ad 88 00 00 00 4c 8b 20 48 85 ff 74 19 c7 47 08
$ sudo coredumpctl info 9971
PID: 9971 (bluetoothd)
UID: 0 (root)
GID: 0 (root)
Signal: 11 (SEGV)
Timestamp: Fri 2024-02-23 16:23:24 PST (4h 2min ago)
Command Line: /usr/libexec/bluetooth/bluetoothd
Executable: /usr/libexec/bluetooth/bluetoothd
Control Group: /system.slice/bluetooth.service
Unit: bluetooth.service
Slice: system.slice
Boot ID: 153713284dde4d7cba57f31e2956690d
Machine ID: 5c42528e25094a3cb1af7e2c43a85357
Hostname: linux-lct7
Storage: /var/lib/systemd/coredump/core.bluetoothd.0.153713284dde4d7cba57f31e2956690d.9971.1708734204000000.zst (present)
Size on Disk: 138.1K
Message: Process 9971 (bluetoothd) of user 0 dumped core.
Stack trace of thread 9971:
#0 0x00005605de5743c1 n/a (bluetoothd + 0x463c1)
#1 0x00005605de55f4d0 n/a (bluetoothd + 0x314d0)
#2 0x00005605de55f5a8 n/a (bluetoothd + 0x315a8)
#3 0x00005605de569767 n/a (bluetoothd + 0x3b767)
#4 0x00007fc0b22daf30 n/a (libglib-2.0.so.0 + 0x5bf30)
#5 0x00007fc0b22dcb58 n/a (libglib-2.0.so.0 + 0x5db58)
#6 0x00007fc0b22dd42f g_main_loop_run (libglib-2.0.so.0 + 0x5e42f)
#7 0x00005605de5555dc n/a (bluetoothd + 0x275dc)
#8 0x00007fc0b1e2a1f0 __libc_start_call_main (libc.so.6 + 0x2a1f0)
#9 0x00007fc0b1e2a2b9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a2b9)
#10 0x00005605de5566b5 n/a (bluetoothd + 0x286b5)
ELF object binary architecture: AMD x86-64
While moving the music stream service from Tidal to Spotify on Home Assistant, I found I forgot how to get the playlist ID from Logitech Media Server (LMS).
Note to self: connect to LMS with "nc lms-address 9090" and issue the command "playlists 0 100 tags:E". The command doc is available at "lms-address:port/html/docs/cli-api.html"
Source available on Github.
Wikipedia has detailed description on the Knapsack problem and pseudo code on solving it. However, while implementing it with Elixir, seems that using simple recursion yields cleaner code. This is not the fastest way to solve the problem, but just easy to understand.
Basically, three return points within the recursion:
Found my old Turbo Pascal book on the bookshelf. Just so happen I was searching for a Windows program to prevent screen lock and found the open source Caffeine also written in Pascal.
Forked the repository and fired up Lazarus. Revised the UI a bit. Now it starts as a tray icon and can be controlled by the right-click menu.
Source code and executable available on github.
Overall not bad. Kind of nostalgic reading about the 70s. Will definitely see if can find the whole series.
Here is a review from Bing Chat:
The Sins of the Fathers is a gripping and gritty introduction to Matthew Scudder, a former cop turned private eye who operates in the dark and dangerous streets of New York City. Scudder is hired by a wealthy father to investigate the murder of his estranged son and his girlfriend (Bing's mistake. This should have been "his estranged daughter and her roommate"), but soon discovers that the case is more complex and twisted than it seems. The book is a masterful blend of mystery, suspense, and character study, as Scudder delves into the lives and secrets of the victims and their families, while also confronting his own demons and flaws. The Sins of the Fathers is a classic of hard-boiled fiction that will keep you hooked until the end.
This is part 1 of the notes on how to self-host Wyze Cam v3, without internet access, as a RTSP camera.
Here Part 1 will focus on preparing the network setup. Part 2 (TBC) will be on configuring the Wyze camera.
For testing purposes, I have a Home Assistant(HA) setup with several Zigbee devices running Zigbee2MQTT and Mosquitto.
To add NVR feature, I have since installed Frigate and added a Google TPU card for accelerating event detection. The IP cameras used are Wyze Cam v3 patched with custom firmware to output two RTSP streams (a lower resolution for preview and event detection, and a higher resolution for recording).
Here are some highlights of the original setup
A few things needed to be configured on the HA Linux machine.
EDIT 2024-06-02 A few changes on the device setup:
Now need to figure out what to do with this USB accelerator.
Encounter issues with Microsoft Edge a few days ago on OpenSUSE Tumbleweed running on Ryzen APU. All contents are rendered as background color.
Starting it from command line shows the "Skia shader compilation error" and is a know bug affecting chromium.
Running it with "--disable-gpu-driver-bug-workarounds" can resolve it. Or, just delete the folder "~/.config/microsoft-edge/Default/GPUCache".
Summary generated by ChatGPT:
"The Bullet That Missed" is the third book in the Thursday Murder Club series by Richard Osman. The book follows the Thursday Murder Club as they investigate a decade-old cold case that leads them to a local news legend and a murder with no body and no answers. Elizabeth, a member of the Thursday Murder Club, is visited by a new foe with a mission to kill or be killed. The book is about 400 pages long and has received positive reviews from critics and readers alike.