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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
 
60%
+1 −0
Q&A How can I display an interactive family tree-style graph in PyQt6?

I'm trying to create an expandable/collapsible horizontal visualization of interlinked documents using a tree diagram that looks very similar this, where the documents spread outward from a single ...

0 answers  ·  posted 27d ago by pycoder‭

Question python python-3 pyqt6 pyqt
60%
+1 −0
Q&A how to update RPROMPT each time a key is pressed in zsh

The cause of this problem is that RPROMPT has not yet been set when the self-insert() function is called. So the solution is to define RPROMPT as an empty string (RPROMPT="") somewhere in your .zsh...

posted 6d ago by Trevor‭

Answer
60%
+1 −0
Q&A How to preserve pip install temporary directory for error analyse?

Honestly I have a solution, but honestly I could not give a medal for their work to the pip devs. Pip has a --no-clean flag. On the docs, it preserves the temporary directories for further ana...

posted 11d ago by peterh‭

Answer
60%
+1 −0
Q&A What binds together the loss function, the optimizer and the model in PyTorch?

Your suspicion is right that PyTorch relies heavily on (hidden) global states. In your specific example, loss.backward() computes (all) gradients and accumulates them directly in the grad attribut...

posted 9d ago by mr Tsjolder‭

Answer
60%
+1 −0
Q&A Macro to count the number of arguments

The least bad version (as per C23) I can think of is to do the usual trick with counting macros - have a macro call another macro until you run out of variadic arguments. We can implement that wit...

posted 8d ago by Lundin‭  ·  edited 8d ago by Lundin‭

Answer
60%
+1 −0
Q&A What is the reverse of an `ndarray.tolist()`?

This should be possible using np.array as indicated in the Notes of the tolist docs

posted 8d ago by mr Tsjolder‭

Answer
60%
+1 −0
Q&A empty line in table cell in reStructuredText (rst)

First thing to note: reStructuredText does not have a representation of “blank line”. The example you give, already has a lower-right cell containing to separate paragraphs, “ddd” and “eee”. They ...

posted 7d ago by bignose‭

Answer
60%
+1 −0
Q&A When I write and run a prompt in Cursor IDE, what's passed in the context to the model (GPT/Claude/etc.)?

https://gist.github.com/sshh12/25ad2e40529b269a88b80e7cf1c38084 extracted the entire prompt for Cursor IDE: You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operat...

posted 2mo ago by Franck Dernoncourt‭

Answer
60%
+1 −0
Q&A Are there any downsides related to using Maybe or Optional monads instead of nulls?

Since there is no optional type in the standard library, you need to pull in an external library: If an optional type is added to the standard library in the future, it may be incompatible. ...

posted 28d ago by asynts‭

Answer
60%
+1 −0
Q&A How to schedule cron jobs in multiple Azure Database for PostgreSQL databases?

Azure Database for PostgreSQL by design limits the number of databases containing pg_cron jobs metadata to only one. This is can be specified in the cron.database_name server parameter (the default...

posted 1mo ago by Alexei‭

Answer
60%
+1 −0
Q&A "This model is not available on the selected Azure OpenAI Service resource." error, but I think it is. Why did I miss?

I've given up on that Azure UI, here's the Python code to do it. It requires a token generated via az account get-access-token. import json import requests new_capacity = 3 # Change this numbe...

posted 2mo ago by Franck Dernoncourt‭

Answer
60%
+1 −0
Q&A Why would the tokenizer for encoder-decoder model for machine translation use bos_token_id == eos_token_id? How does it know when a sequence ends?

I see on this PyTorch model Helsinki-NLP/opus-mt-fr-en (HuggingFace), which is an encoder-decoder model for machine translation: "bos_token_id": 0, "eos_token_id": 0, in its config.json. ...

1 answer  ·  posted 2mo ago by Franck Dernoncourt‭  ·  last activity 1mo ago by Mithical‭

Question pytorch machine-translation tokenization encoder-decoder
60%
+1 −0
Q&A Import onnxruntime then load_dataset "causes ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found": why + how to fix?

Inversing the import order works: from datasets import load_dataset import onnxruntime as ort

posted 2mo ago by Franck Dernoncourt‭

Answer
60%
+1 −0
Q&A How to turn lines of text in PyQt6 QTextEdit into clickable links that call a function?

I figured out a solution, which I'm posting here since my question is at the top of the search results. I'll leave out the parts specific to my project since a more generic solution might be more u...

posted 2mo ago by pycoder‭

Answer
60%
+1 −0
Q&A how to apply ANSI escape codes when a backslash precedes the escape code

printf and tput can also be used to handle the coloring without worrying about the backslash issue. tput is a command that can be used to set terminal attributes, including colors, and it handles e...

posted 2mo ago by ɯıpɐʌ‭

Answer
60%
+4 −2
Meta Are software recommendation questions on-topic?

I want to build an HTML/CSS/JS interface in which cards are spread like physical cards on a table. You can move them around, and clicking on them will open a modal with more details. It should be u...

1 answer  ·  posted 2mo ago by Ooker‭  ·  last activity 1mo ago by Mithical‭

Question discussion scope on-topic
60%
+1 −0
Q&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 i...

posted 9mo ago by ShadowsRanger‭  ·  edited 9mo ago by ShadowsRanger‭

Answer
60%
+1 −0
Q&A ffmpeg script outputs video with unexpected resolution and frame rate despite scaling and fps filtering

Your issue lies in the application of scaling and fps filtering. Both SCALING and FPS_FILTER are being set conditionally, and if both are needed, one will override the other since both are using -v...

posted 8mo ago by harmony‭

Answer
60%
+1 −0
Q&A make: How to compile all files in a directory.

Each rule in the Makefile represents a single target. This means that your first makefile has a single target: obj/library.o. I guess that if there is only one target, make assumes that this is the...

posted 8mo ago by mr Tsjolder‭  ·  edited 8mo ago by Vanity Slug ❤️‭

Answer
60%
+1 −0
Q&A Identifying non-daemon threads in an Android ANR stack dump

One of "my" Android apps is showing a heavy frequency of "slow exit" application-not-responding (ANR) problems. The Play Console has the "insight": Slow exit Problem The main thread has finish...

0 answers  ·  posted 10mo ago by Peter Taylor‭

Question android stacktrace
60%
+1 −0
Q&A Execute SQL queries stored in a table

I manage to solve my problem with next code: do $$ declare sql_text text; sql_list text[]; begin sql_list := array( select c.sql_text from sql_command c ); raise notice 'sta...

posted 9mo ago by talex‭

Answer
60%
+1 −0
Q&A Unable to use conditional Must term in C# NEST client for Elastic Search

Hello, a a late update, mainly to help others facing the problem in the future. it turns out that the latest version of NEST could not handle conditionLess values, and it also fails if you iterate...

posted 8mo ago by hest‭

Answer
60%
+1 −0
Code Reviews Feedback for a Nix-Darwin configuration

Hello, im looking for some feedback on my nix-dawrin setup. This is the setup im currently using, its works, but the structure is cobbled together from multiple sources, and im not experienced eno...

0 answers  ·  posted 9mo ago by hest‭

Question dotfiles nixpkgs nix-darwin
60%
+1 −0
Meta I created a tag, now it need edit.

I created stream tag, but can't edit it. It should at least have java as parent tag.

2 answers  ·  posted 9mo ago by talex‭  ·  last activity 9mo ago by Lundin‭

Question support tags
60%
+4 −2
Q&A Which platforms return a non-null pointer on malloc(0)

What is the portability of malloc(0);? Which platforms return NULL without setting errno? Which platforms return a non-null pointer? Do any platforms have some other behavior?

2 answers  ·  posted 9mo ago by alx‭  ·  last activity 8mo ago by Alexei‭

Question c malloc