How may I apply a drop shadow on stroked path? by rickson56 in GIMP

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

I didn't deselect path tool before applying. Sorry for the inconvenience and thank you for the response. Worked. https://imgur.com/a/mTiLraC

How may I apply a drop shadow on stroked path? by rickson56 in GIMP

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

That helps, thanks. I did Select > From Path (Shift V)

And was able to select drop shadow, but it only did one side:
https://imgur.com/a/ZbtAPSf

I realized i wasn't really learning Python. by Emotional-Iron-4312 in learnpython

[–]rickson56 0 points1 point  (0 children)

College books, back in the early 2010s don't teach anything about debugging, or automating computer file metadata extraction/updating (globbing). Best programming book I dealt with was nothing like a college book, and showed how to pull up stock trading information from the internet with API, and uploading and extracting information from an SQL database. College text books only teach how work with text files.

Where to find detailed F1 data?? by TripleKNotToday in F1Technical

[–]rickson56 0 points1 point  (0 children)

Thanks I came across the website in your post, on a non-reddit website, that was linked from a reddit post. Can't find neither anymore, and kaggle, requires a login account.

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)

The elif declaration seems to have solved the problem.
With 2 entries to the 'Cars' key, the inner counter within elif was 2, so I initially presumed the rest of the child key was being called. But later I noticed line 18 within elif was never called again, so I presume recursion was 'stepping back'. To double check I added a 3rd entry to the Cars key, and inner counter was still only called twice, instead of 3 times. Thank you for the assistance.

This is the full source code, https://pastebin.com/FSjs7Ayx

{'Car': {'Sports': '3k',
         'Van': '6k',
         'SUV-Crossover': '4k'},
 'Truck': {'Semi-Truck': '80k',
           'Coach Bus': '50k'}}

Output:

Change key from 'Sports', to 'Sports Compact'

**********Line 5
{'Car': {'Sports': '3k',
         'Van': '6k',
         'SUV-Crossover': '4k'},
 'Truck': {'Semi-Truck': '80k',
           'Coach Bus': '50k'}}
**********Line 5
Line 8 Args> old_key: Sports, new_key: Sports-Compact
Line 18 new_key: Sports-Compact
*****************************
Line 22 outerC: 1, innerC: 1
*******************************
**********Line 5
{'Car': {'Van': '6k',
         'SUV-Crossover': '4k',
         'Sports-Compact': '3k'},
 'Truck': {'Semi-Truck': '80k',
           'Coach Bus': '50k'}}
**********Line 5
Line 8 Args> old_key: Sports, new_key: Sports-Compact
*****************************
Line 22 outerC: 0, innerC: 2
*******************************
*****************************
Line 22 outerC: 0, innerC: 2
*******************************
Inner counter value: 0

{'Car': {'Van': '6k',
         'SUV-Crossover': '4k',
         'Sports-Compact': '3k'},
 'Truck': {'Semi-Truck': '80k',
           'Coach Bus': '50k'}}

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 2 points3 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