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 ShadowsRanger
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Comment | Post #296420 |
Exactly, everytime I've asked something here that the AI couldn't solve instantly I've gotten my question closed for it being too broad. So I just don't see the point of the site, at least for the software part of it. (more) |
— | about 2 months ago |
| Edit | Post #296348 | Initial revision | — | 2 months ago |
| Question | — |
How to link an existing Odysee web wallet to the local `lbrynet` daemon for automated video publishing? I'm building an automated content pipeline that publishes daily video briefings from a headless Arch Linux server. The pipeline already works for other platforms (Bluesky, Mastodon, PieFed, Telegram) and I want to add Odysee as a primary video host. I have an Odysee account with an existing ch... (more) |
— | 2 months ago |
| Edit | Post #296286 | Initial revision | — | 3 months ago |
| Question | — |
How do I add tags to a PieFed post via the API? I'm automating posts to PieFed and I can't get tags/labels to actually show up on the created post. What I'm doing I'm POSTing to create a post with a body that includes hash-style tags, something like: ```text Some post body here #tag1 #tag2 #tag3 ``` Or sometimes I try passing ... (more) |
— | 3 months ago |
| Edit | Post #295816 | Initial revision | — | 6 months ago |
| Question | — |
What’s the point of Q&A sites anymore? Lately, whenever I consider asking a question on a site like Software Codidact, I end up just asking an LLM chatbot instead. Just thinking of the effort of distilling a minimal working example, formatting the post correctly, and anticipating the downvotes, is enough to have an aversion to the sit... (more) |
— | 6 months ago |
| Edit | Post #295540 |
Post edited: |
— | 7 months ago |
| Edit | Post #295540 |
Post edited: |
— | 7 months ago |
| Edit | Post #295540 |
Post edited: |
— | 7 months ago |
| Edit | Post #295540 | Initial revision | — | 7 months ago |
| Question | — |
How to scrape all thread links from a XenForo forum board? I'm trying to extract all thread links from a specific board on a XenForo forum (similar to this one: Creative Writing, specifically this one: NSFW Creative Writing), but a simple script I tried stops working on the second page. I'm using a JavaScript snippet that runs directly in the browser'... (more) |
— | 7 months ago |
| Edit | Post #294827 |
Post edited: |
— | 11 months ago |
| Edit | Post #294827 |
Post edited: |
— | 11 months ago |
| Edit | Post #294827 | Initial revision | — | 11 months ago |
| Question | — |
Python script using `gitignore_parser` doesn't respect `.gitignore` rules I'm using a Python script to merge code files: ```bash python codemerge.py --filters ".py" --output mergedcode.txt . ``` The script uses `gitignoreparser` to skip files in `.gitignore`. My `.gitignore` excludes `venv/`. However, the merged output still includes files from `venv` and other... (more) |
— | 11 months ago |
| Edit | Post #294811 |
Post edited: |
— | 11 months ago |
| Edit | Post #294812 | Initial revision | — | 11 months ago |
| Answer | — |
A: How to automatically get the release date of the latest Magic: The Gathering Standard set? This code uses the What's in Standard API to fetch all Standard-legal sets, filters to those already released, finds the most recent, and updates a local timestamp to track the latest Standard set. It automates detecting when a new Standard set enters rotation. ```python import requests impo... (more) |
— | 11 months ago |
| Edit | Post #294811 | Initial revision | — | 11 months ago |
| Question | — |
How to automatically get the release date of the latest Magic: The Gathering Standard set? I’m building a tool to check Magic: The Gathering deck legality in custom formats and want to update my formats with the same frequency as the Penny Dreadful format. Penny Dreadful updates when a new Standard-legal set is released but typically ignores smaller supplemental sets. Is there a pro... (more) |
— | 11 months ago |
| Edit | Post #294787 | Initial revision | — | 11 months ago |
| Answer | — |
A: How can I export a full Scryfall search to a CSV compatible with Moxfield collections? ✅ This will create a fully Moxfield-compatible CSV with all cards from a Scryfall search. ```python import requests import csv import time QUERY = "f:standard f:penny usd<=1" BASEURL = "https://api.scryfall.com/cards/search" PARAMS = { "q": QUERY, "unique": "cards", "for... (more) |
— | 11 months ago |
| Edit | Post #294785 | Initial revision | — | 11 months ago |
| Question | — |
How can I export a full Scryfall search to a CSV compatible with Moxfield collections? I’m trying to export cards from a Scryfall search so I can import them into a Moxfield collection. I’ve tried a simple script that dumps card names: Query Scryfall + dump card names for Moxfield import …but it only outputs card names, and Moxfield gives an error when I try to import it. A... (more) |
— | 11 months ago |
| Edit | Post #294747 |
Post edited: |
— | 11 months ago |
| Edit | Post #294747 |
Post edited: |
— | 11 months ago |
| Edit | Post #294747 |
Post edited: |
— | 11 months ago |
| Edit | Post #294747 |
Post edited: |
— | 11 months ago |
| Edit | Post #294747 |
Post edited: |
— | 11 months ago |
| Edit | Post #294747 | Initial revision | — | 11 months ago |
| Question | — |
How to get the community of a post from Lemmy API? I'm building a script for Lemmy that, given a user returns a list of communities sorted by engagement based on total votes and upvote percentage per community, to have an idea of other communities I could follow. This script is inspired by pythorhead's listpostvotes.py. How can I determine the... (more) |
— | 11 months ago |
| Edit | Post #294702 |
Post edited: |
— | 11 months ago |
| Edit | Post #294702 |
Post edited: |
— | 11 months ago |
| Edit | Post #294702 |
Post edited: |
— | 11 months ago |
| Edit | Post #294702 |
Post edited: |
— | 11 months ago |
| Edit | Post #294702 | Initial revision | — | 11 months ago |
| Question | — |
How to add a percent_jitter strategy to backoff Python package and pass extra args in the decorator? I'm trying to add a percent-based jitter function to the backoff package and use that modified package in my project instead of the PyPI release. Current jitter algorithm I want to implement (from Stack Overflow): https://stackoverflow.com/q/46939285 Proposed function: ```py def perc... (more) |
— | 11 months ago |
| Edit | Post #292684 |
Post edited: |
— | almost 2 years ago |
| Edit | Post #292684 |
Post edited: |
— | almost 2 years ago |
| Edit | Post #292684 | Initial revision | — | almost 2 years ago |
| Answer | — |
A: ffmpeg script outputs video with unexpected resolution and frame rate despite scaling and fps filtering This script applies filters dynamically based on the video's dimensions and frame rate. The audio handling is more sophisticated, checking and adjusting the bitrate separately. It's more flexible in codec selection, only converting when truly necessary. It uses glob patterns for file matching, po... (more) |
— | almost 2 years ago |
| Edit | Post #292683 |
Post edited: |
— | almost 2 years ago |
| Edit | Post #292683 |
Post edited: |
— | almost 2 years ago |
| Edit | Post #292683 | Initial revision | — | almost 2 years ago |
| Question | — |
ffmpeg script outputs video with unexpected resolution and frame rate despite scaling and fps filtering I'm having trouble with an ffmpeg script that's supposed to convert videos to a specific resolution and frame rate, but the output video has unexpected dimensions and frame rate. Here's my script and the issue: ```bash #!/usr/bin/env bash Constants MAXRESOLUTION=540 MAXFPS=15 MAXBITRATE... (more) |
— | almost 2 years ago |
| Edit | Post #291265 | Initial revision | — | over 2 years ago |
| Question | — |
How to write a bash function to sanitize filenames for Linux and Windows I'm trying to write a bash function that can sanitize filenames to make them compatible with both Linux and Windows file systems. The function should perform the following operations: 1. Replace invalid characters with similar valid ones (e.g., replace `` or `+` with `-` or ``, `?` with `¿`, e... (more) |
— | over 2 years ago |
| Edit | Post #290087 |
Post edited: |
— | almost 3 years ago |
| Suggested Edit | Post #290087 |
Suggested edit: (more) |
helpful | almost 3 years ago |
