Jeff Schaller

SOBotics

This room is dedicated to moderating content on Stack Overflow...
Aug 20, 2023 15:03
fair enough; thanks
Aug 20, 2023 15:01
Hi @Zoe! Sorry to dredge up ancient history here, but I'm trying to clean up Smokey's regexes and found your NAA on metasmoke.erwaysoftware.com/post/166907; in light of a similar user getting tp on metasmoke.erwaysoftware.com/post/169154, would you consider clearing (or updating) your feedback on the former?
Jan 19, 2023 11:55
@CodyGray thank you, sir - done!
Jan 19, 2022 16:54
@Natty hah! Hello inadvertent ping :)
Jan 5, 2022 15:45
and ... self-deleted. case closed :)
Jan 5, 2022 15:44
if they had self-answered with an actual answer, that could be voted on and case-closed
Jan 5, 2022 15:44
@cigien well, based on "No need to help anymore"
Jan 5, 2022 15:43
@cigien flagged the Q for closure as non-reproducible
Jan 5, 2022 12:54
firstworldanarchists, that was it
Jan 5, 2022 12:53
I remember seeing one like "First World Problems" but now I can't remember the other one, with people blatantly ignoring posted signs. Oh well
Jan 5, 2022 12:50
extinguishing the tiny flicker of hope I had for humanity; thanks! :)
Jan 5, 2022 12:48
@Zoe wait, math? and geography? oh my
Dec 29, 2021 21:39
... or don't :)
Dec 29, 2021 21:39
@Natty wishBD Natty
Dec 16, 2021 15:05
Please don't post identical comments on answers? :)
Dec 16, 2021 15:05
Please don't post identical comments on answers? :)
Dec 10, 2021 16:43
@Floern it appears to have been edited on-site ... twice now, so now I've flagged it
Dec 3, 2021 18:45
🌊🌊🌊
Nov 24, 2021 21:26
Nov 23, 2021 19:47
@BhargavRao guesses are free. I'm just happy to hear you're finding a good balance
 

Charcoal Test SO

Test results from various unofficial Charcoal clients. If you ...
Nov 1, 2022 13:37
fewer errors, at least :)
Nov 1, 2022 13:18
# watch earnbysellinginternetpack\.blogspot
Nov 1, 2022 12:53
right; thanks
Nov 1, 2022 12:52
I wasn't sure if commands would work in CHQ; almost tried it
Nov 1, 2022 12:51
### watch commercialroofingnow\.com
Nov 1, 2022 11:51
@Makyen nope, don't sweat it -- thank you, though!
Nov 1, 2022 11:39
np at all - bigger fish to fry :)
Nov 1, 2022 11:37
tied to the chat profile ID, I guess? it's ok :)
Nov 1, 2022 11:36
!!/watch vstmenia\.com
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
May 3, 2022 18:57
@AndrasDeak--СлаваУкраїні close enough for government work, yep! Thanks again for your guidance!
May 3, 2022 16:18
happy dance
May 3, 2022 16:01
np; you've helped -- thank you!
May 3, 2022 15:57
like falling off a log
May 3, 2022 15:56
thanks! I'll chew through those; looks like it's a mixture of dict and lists
May 3, 2022 15:54
captain caaaaaveman over here
May 3, 2022 15:54
not x.type() :)
May 3, 2022 15:54
oh. other way around: type(x)
May 3, 2022 15:53
hmmm! sounds useful. but: AttributeError: 'list' object has no attribute 'type'
May 3, 2022 15:51
I should learn more python; I don't even know what I'm dealing with :)
May 3, 2022 15:46
I'm looking for a particular ... "value" inside the structure and to then print all of its keys & values
May 3, 2022 15:46
if this is new ground, I can ask a question; I was just hoping that this was plowed already
May 3, 2022 15:45
whatever it is that yaml.safe_load gives back for arbitrary YAML files
May 3, 2022 15:45
above, I'm hard-coding my way into the structure, but I'd like to be smarter about it
May 3, 2022 15:44
you can see my caveman attempts at getting there
May 3, 2022 15:44
ugh, sorry for all the indents
May 3, 2022 15:44
                print "--> all"
                print yaml.dump(data)
                print "--> now just spec:selector:spec:containers"
                print yaml.dump(data['spec']['selector']['spec']['containers'])
                print "--> now just spec:selector:spec:containers:0:env"
                print yaml.dump(data['spec']['selector']['spec']['containers'][0]['env'])
May 3, 2022 15:44
meaning it assumed that every level had the same data type; it doesn't look like this object is simple like that
May 3, 2022 15:42
@AndrasDeak--СлаваУкраїні cabbages!
May 3, 2022 15:37
The first dozen hits on SO show dump() or simple recursion; stackoverflow.com/q/59006523/4957508 gets close but I admit that's at the far edge of my understanding of python
May 3, 2022 15:36
I'm trying to find a nice recursive function that searches the output of yaml.safe_load in a recursive way. I've used python to parse a moderately complicated YAML file that has a combination of nested objects and lists. Does such a thing exist?