Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for ggorlen‭

Type On... Excerpt Status Date
Edit Post #293105 Post edited:
clarify
7 days ago
Edit Post #293105 Post edited:
tweak
7 days ago
Edit Post #293105 Post edited:
clarify
7 days ago
Edit Post #293105 Initial revision 7 days ago
Answer A: Tackling net::ERR_NAME_NOT_RESOLVED and timeout error on browser object creation when using Puppeteer
To fix `TypeError: Cannot read properties of undefined (reading 'close')`, remove the `const` in the following code, which ensures your `let browser` outside the block will be assigned in the common case when `browser.launch()` doesn't throw: ```diff - const browser = await puppeteer.launch({ + ...
(more)
7 days ago
Edit Post #289578 History hidden:
Detailed history before this event is hidden because of a redaction.
over 1 year ago
Edit Post #289578 Post edited:
Roll back poor edit that uses incorrect markdown bulleting and messes with my original style intent
over 1 year ago
Comment Post #289579 Thanks! Your explanation makes sense. I'd accept this as the answer, but I'm still hoping to see a version that works with a fairly minimal adjustment using the builtin `walk`, without defining my own function. Is there such a straightforward solution, or would it be enough of a hassle that this appr...
(more)
over 1 year ago
Edit Post #289578 Post edited:
clarify
over 1 year ago
Edit Post #289578 Initial revision over 1 year ago
Question Replace leaf arrays with joined strings in a nested structure in jq
Consider the following arbitrarily-nested JSON as input to a jq filter: ```bash echo '[{"foo": [1, 2]}, {"bar": [{"baz": ["foo", "baz"]}]}]' | jq '.' ``` My goal is to join leaf arrays into strings: ```json [{"foo": "12"}, {"bar": [{"baz": "foobaz"}]}] ``` The following filter produce...
(more)
over 1 year ago
Comment Post #286125 Both of these URLs produce screen captures for me, with the small modification `browser = ` rather than `const browser = ` so that it's in scope of the `finally`. The DEBUG output amount depends on the site's behavior. if the site is loading resources that return 403s, that seems fine as long as it f...
(more)
over 2 years ago