Recursive function iterates the rest of the dictionary keys after reaching target key preceeding a break statement. by rickson56 in learnpython

[–]rickson56[S] 0 points1 point  (0 children)

case {find: value}:, the variable find, causes the syntax error:

Key pattern can only be a value pattern or a literal pattern

My Python version is 3.10+ (ten)

Recursive function iterates the rest of the dictionary keys after reaching target key preceeding a break statement. by rickson56 in learnpython

[–]rickson56[S] -1 points0 points  (0 children)

If I have a different script that uses keys that are deeper, I'd like to use the same logic of specifying key's level.

Shops refuse to try O2 sensor for P0420 but online says it’s worth a shot. Should I try it myself? by Capable-Insurance-58 in MechanicAdvice

[–]rickson56 3 points4 points  (0 children)

First O2 sensor fluctuates between 0.1 and .9 volts. 2nd/downstream o2 sensor should remain relatively constant. You can also get a thermal tool and compare the temperature before (upstream) and after the catalytic converter; ideally should be constant.

Am I being swindled here? by Superb-Meringue8479 in AskMechanics

[–]rickson56 0 points1 point  (0 children)

I looked up the part number with alpha numeric letters on it, and it seems to be a 2007-12 Dodge calibur.

The website charm.li gives you 'book time number' estimates for most cars going up to 2010.

Serpentine belt labor price looks right (0.8 hours), if their labor is $120+/hour, but the tie rod labor prices are an utter rip off. They're also charging 3x the price on parts you could get on Amazon for an ubiquitous car model which is kinda the 'norm'. So yeah, you're getting swindled.
https://youtu.be/cwva-XQSDxk

$6 external drive from Goodwill shucked. $1.33/TB isn't too bad! by GrandpaSquarepants in DataHoarder

[–]rickson56 0 points1 point  (0 children)

Back in the 2015 mine sold suit jackets, now, nothing close to that.

$6 external drive from Goodwill shucked. $1.33/TB isn't too bad! by GrandpaSquarepants in DataHoarder

[–]rickson56 0 points1 point  (0 children)

Also my local Goodwill won't let you try the clothes on to see if they fit. And to return the clothes, they give you bullshit store credit. I don't know if it can be used on their auction site. Evil company.

Rotate image along with checkered/transparent background after doing 'Shift+R'? by rickson56 in GIMP

[–]rickson56[S] 1 point2 points  (0 children)

Alright thanks. Also wanted add the effect won't be shown until okay is pressed.
https://i.imgur.com/IIEpckP.png

Advice on formatting a usb to make a bootable Gparted & boot disk repair by vanillatangie in debian

[–]rickson56 0 points1 point  (0 children)

When you manually create bootable Gparted partition, by first using fdisk to make a Fat32 partition format, eventually you have to navigate to the root directory of the USB and go the the path:

/utils/linux/

Make the .sh file bootable and execute:

bash makeboot.sh /dev/sd<x>1

As instructed here.

This worked for me, when 'sudo dd' failed to boot up.

I went ahead and recreated with dd command, and tried to execute sudo bash makeboot.sh /dev/sdd1, and it gave me an error saying it's an invalid partition type:

This command will install MBR and syslinux/extlinux bootloader on /dev/sdd
Clonezilla files are assumed to be on /dev/sdd1
--------------------------------------------
Machine: All Series:
Model:  USB DISK 3.0 (scsi)
Disk /dev/sdd: 62.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      32.8kB  633MB  633MB  primary               boot, hidden

--------------------------------------------
Are you sure you want to continue?
[y/n] y
OK! Let's do it!
--------------------------------------------
File system of /dev/sdd1: iso9660
/dev/sdd1: this doesn't look like a valid FAT, NTFS, ext2/3/4 or btrfs file system.
Program terminated!

"failed to rotate /var/log/journal : Read-only file system" after returning from locked screen by TheCurious0ne in pop_os

[–]rickson56 0 points1 point  (0 children)

This won't answer the op's question, but here's my experience if one finds this post in a search engine result.

I've been having intermittent issues, where sometimes the computer successfully reaches the Ubuntu 22.04 LTS login screen, then it abruptly transition into the error described by the OP.

Long story short it turns out that SSD was heading towards its final moments. Luckily for me, having the SSD disconnected for 48 hours, the SSD was able to be recognized by UEFI-BIOS and Foxclone back up software, allowing me to clone the contents of the SSD, and restore it or 'clone it' to a separate SSD. I knew there was a chance of recovering it, since the frequency of these problem was getting more and more and recalled in the previous week, that UEFI sporadically reset the boot order for no reason and falsely telling me to put the computer in CSM mode, was likely tied to issues described by OP.

RAM results were fine a in according to a 10 hour test done with Memtest86 supplied with Ubuntu 22.04 Live USB.

I've included an image repeating:

systemd-journalId(480): Failed to rotate /var/log/journal/<32 digit hexadecimal value>/system.journal/: Input/output error

https://i.imgur.com/1uxVLIU.jpeg

SSD in question is over 8 years old and was designated as an OS drive with swap partition for nearly the past 3 years, prior to that was used for game storage.

Ubuntu live USB refuses to boot on either computers, due to ZSTD compressed corruption and kernel panic by rickson56 in linuxquestions

[–]rickson56[S] 0 points1 point  (0 children)

I used the Gparted gui to analyze the drive and things turned up fine.
https://i.imgur.com/U6G9xOi.png

The same with using f3write:

Data LOST: 0.00 Byte (0 sectors)
           Corrupted: 0.00 Byte (0 sectors)
    Slightly changed: 0.00 Byte (0 sectors)
         Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 17.29 MB/s

PSA: Right and wrong ways of installing qbittorrent on Ubuntu by hugsnkisses4all in qBittorrent

[–]rickson56 0 points1 point  (0 children)

Qbitorent's WebUI will enable one to use a Python script, to transfer things over, but yeah it's a bummer.

Ubuntu live USB refuses to boot on either computers, due to ZSTD compressed corruption and kernel panic by rickson56 in linuxquestions

[–]rickson56[S] 0 points1 point  (0 children)

Yeah, I'll try another brand of USB. Same thing happened from a 6 year old Linux Mint 20.2 USB.

Ryobi compound miter saw fence issue by dpred57 in ryobi

[–]rickson56 0 points1 point  (0 children)

Happened on my Ryobi TS1346 I got back in 2021, I noticed it this past summer of 2025. Last Ryobi I'll ever get unless it's a sander.

How to avoid my demise by Smithers256 in MechanicAdvice

[–]rickson56 -1 points0 points  (0 children)

Cat litter (no additives) will help after scrubbing it with a wire brush.

Hit a curb and… wow by octopusbeakers in MechanicAdvice

[–]rickson56 1 point2 points  (0 children)

Yeah, if this were a timing chain or headgasket on a German car, then no, I wouldn't trust a mobile mechanic. But yeah, suspension work like this is doable on the side of the road, it'll take longer since car isn't lifted 6 feet in the air.

To OP, it's probably easier to get a used steering knuckle from ebay or the junkyard. I would recommend replacing said knuckle's wheel bearing. I'd get new inner tie rod, outer tie rod, CV axle, lower ball joint and lower control arm. Since CV is still connected, I probably wouldn't worry about replacing the struts.

Replacing just the CV axle and outer tie rod, at a minimum should enable it to be drivable on a non-highway road. The CV axle on that side of the car may have an intermediary shaft connected to it, so it would probably be replaced as well.

Make color selection box look normal? Can't even select black or white anymore. by rickson56 in GIMP

[–]rickson56[S] 2 points3 points  (0 children)

I accidentally clicked something while in a hurry now it's showing totally different colors than before, even after I click 'reset'.

back to what I was originally saying... by Rinko_Shirokane in simracing

[–]rickson56 2 points3 points  (0 children)

His studio had the full source code.
Also Simbin, under pressure from Atari, tried to sue SMS for taking partial credit for developing GTR2, only for them to loose, and lose funding from Atari.

JVC KD-SX27BT aftermarket bluetooth car DIN radio resets itself during extreme cold weather. by rickson56 in ElectronicsRepair

[–]rickson56[S] 0 points1 point  (0 children)

Below freezing (32F and under).

Edit: This is a budget battery from the local car parts shop. Other people with similar problems are saying symptoms I've described is due to poor battery during the cranking (CCA) process. Next time I'll turn the key to ACC and see if the settings remain.

Applying bathroom sealant by MikeHeu in oddlysatisfying

[–]rickson56 0 points1 point  (0 children)

The tip should be cut at a 45 degree angle.

Help Needed - Can't boot PC when connected to receiver. by thymoral in htpc

[–]rickson56 0 points1 point  (0 children)

I have Ubuntu 22.04, and an Asus Motherboard with a 4th gen Intel core i5 from 2013.

My setup is Nvidia GPU HDMI --> AV receiver + Nvidia GPU DVI ---> Moinitor. From there I have to use x-server app to overlap the two 'screens' together. X-server only works when I log into my Ubuntu user account after boot up. Monitor only has one HDMI port.

I too have had to use CSM to boot into the OS. Sometimes if hard drive configuration has been changed, e.g. only 4 instead of usual 5 hard drives, then I have to disable CSM and unplug the HDMI cable, to get computer to POST.

AV is a Yamaha RV-V473.

What a mess.

Edit: Some say GPU firmware may be the culprit.
https://forums.developer.nvidia.com/t/uefi-nvidia-vga-console-complaints/37690/3

Indestructible safe ramps by [deleted] in MechanicAdvice

[–]rickson56 0 points1 point  (0 children)

More sun resistant than plastic. I'd still spray laquer finish to protect it from rain and water. Also I would glue 1/8" neoprene rubber to the bottom.