Seriously fuck Microsoft! This camera would work fine if MS didn’t default to making windows think your local power is 60Hz. We were suffering a lot of screen flicker with this camera making it almost unusable when the lights were on in the room.
After much searching I found you can fix it by running the Logitech Camera Settings app and choosing 50Hz under advanced settings.
But before finding that solution, found this: https://github.com/apankowski/linux-logitech-camera-flicker-fix. Thanks to Andrzej Pańkowski for pointing the way.
Author: Jason
-
Logitech BCC950 Camera Flicker
-
The resistance is federated
Great podcast about all the federated things we can use instead of the megacorps
Great podcast https://linuxlads.com/episodes/137/
-
We vote for Palestine
This site is great. Use it to send your local council election candidates an email asking them to take action for Palestine:
https://wevoteforpalestine.net
Free Palestine!
From The River To The Sea, Palestine Will Be Free
Stop the genocide.
-
TIL about lolcat CLI cat alternative. Create rainbow colouring effect
It makes beautiful output like this:
you can convert it to html by piping through aha too:
lolcat -f system-info.txt | aha > tmp.html
HTML output here.
-
D-Link DWM-312 v A1 internals
Photos of the internals of the D-Link DWM-312 Hardware version: A1.
-
D-Link Duds: The Case for Choosing Better Tech Brands
A few years ago I invested around AU$700 in a D-Link DWM-312 4G LTE Dual SIM M2M VPN Router for use as our fail-over for internet. It never worked at the time but it was not really necessary as we also had another option. Recently I tried to reinstate it. It’s terrible. the UI frequently breaks, and even when it does have connection, it would randomly crash and drop connection requiring a power cycle to restart it.
And sometimes it would take 2-3 power cycles before it would come back up.
Also no decent firmware updates either to fix it. It’s not like it was a cheap bit of hardware. I expect more for my money D-Link!
So – that’s it for me. No more D-Link devices.
My networking guy put me onto the Nokia 5g FastMile devices. I got a 5G-24W-A from Ebay for $165 delivered. I had a few issues getting it going due to the APN not being detected. Once I put the correct APN in, all was good.
-
Execute a script from MicroSIP on call answer
MicroSIP is a fine open source SIP VOIP soft phone. It mostly does exactly what one needs. However I wanted to make it open the browser and lookup the number of the inbound caller when you answer the phone.
It turned out to be trickier than expected as MicroSIP uses the old INI file format for passing in the command.
Upon reading the source, I saw that MicroSIP uses the function GetPrivateProfileString to read the ini file and this was never designed to cope with long strings with spaces in them.
I came up with a solution to use the good old 8.3 filename format in windows for the path names.
To discover the file names you can use
dir /X
. Edit the cmdCallAnswer line of the micrisip.ini file.cmdCallAnswer=C:\Users\foo bar\AppData\Local\Microsoft\WindowsApps\python.exe c:\Users\foo bar\launch_browser.py https://example.com/path
becomes something like:
cmdCallAnswer=
C:\Users\FOOBAR~1\AppData\Local\Microsoft\WindowsApps\python.exe c:\Users\FOOBAR~1\LAUNCH~1.PY https://example.com/path
Also, MicroSIP works perfectly well under wine too!
This is the script I wrote for launching the browser:
import sys import webbrowser def main(): if len(sys.argv) < 2: print("Usage: launch_browser.py <URL> [param1=value1] [param2=value2] ...") sys.exit(1) base_url = sys.argv[1] query_params = sys.argv[2:] # Construct the query string query_string = "".join(query_params) # Combine the base URL and query string full_url = f"{base_url}{query_string}" # Open the default web browser with the constructed URL webbrowser.open(full_url) if __name__ == "__main__": main()
I hope this helps someone and Free Palestine! Stop the genocide!
-
USB Battery pack 3d printed case
I had a USB Battery pack who’s case got smashed. so I designed and 3d printed a new case, and while I was at it, added a newer circuit board to it that has USB-C charging capability.
PCB: https://www.aliexpress.com/item/1005001965710528.html
The lid of the case is super-glued down. I was going to make it a screw closed lid but the design effort and sourcing of suitable screws was just too hard. If I ever need to open the case I’ll just 3D print a new case (probably with some enhancements).
-
##palestine on libera
Today with the help of two other members, elisa and xph I created ##palestine on the libera IRC network.
Drop by and say hello:
https://web.libera.chat/?channel=##palestine
or
-
updating discord .deb one-liner
Discord will often require you to install an update. When this happens it quits itself and auto downloads the latest .deb, but you end up with lots of sequentially numbered versions of the .deb so it’s fiddly to find and install the latest one.
I came up with this approach to apt install the most recent one:
sudo apt install \ $(find /home/jason/Downloads/ \ -name 'discord*.deb' -type f -printf '%T+ %p\n' | \ sort -r | head -1 | cut -d' ' -f2)
or you can build it into a bash function:
update-discord() { sudo apt install \ $(find /home/jason/Downloads/ -name 'discord*.deb' -type f -printf '%T+ %p\n' | \ sort -r | head -1 | cut -d' ' -f2) }
One could also consider deleting the .deb after successful install. That is an excercise left for the reader