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
 
66%
+2 −0
Q&A What is the advantage of creating instances from a method rather than constructor?

Take the newly Temporal.PlainDate class as an example. New instances can be created via the constructor: new Temporal.PlainDate(year, month, day) new Temporal.PlainDate(year, month, day, calendar...

1 answer  ·  posted 3mo ago by Ooker‭  ·  last activity 3mo ago by Derek Elkins‭

Question javascript class
66%
+2 −0
Meta Do we want MathJax?

Based on the activity here and discussion in chat, I've enabled MathJax on this community. I don't know Mathjax myself, so as verification, I'm copying some Math I found in this Mathematics post: ...

posted 4mo ago by Monica Cellio‭

Answer
66%
+2 −0
Q&A How is `Temporal.PlainDate.from()` constructed?

Continuing from What is the advantage of creating instances from a method rather than constructor?, I want to construct a method that create a new instance of a class without using the constructor....

0 answers  ·  posted 3mo ago by Ooker‭  ·  edited 3mo ago by ArtOfCode‭

Question javascript constructor class
66%
+2 −0
Q&A Understanding "subprocess-exited-with-error" from Pip

This question is about the general case of subprocess-exited-with-error. It's intended to help you understand the situation if you get an error like this, and there are some common workarounds - ...

1 answer  ·  posted 3mo ago by Karl Knechtel‭  ·  last activity 3mo ago by Karl Knechtel‭

Question python pip
66%
+2 −0
Meta How to handle correct answers that also include spam?

I think this is a judgment call. If the answerer appears to be a human, you can caution them with How We Do Things Around Here and edit the answer. If they do it again (and this user has)...

posted 3mo ago by Michael‭

Answer
66%
+2 −0
Q&A Why force designation of a remote main branch?

These are my theories, but I'm not particularly excited about either of them. Something to see They need something to show when you visit the website's index. Otherwise, https://www.github.com/yo...

posted 3mo ago by Michael‭

Answer
66%
+2 −0
Meta How to handle correct answers that also include spam?

Blow it away if it's truly spam (the link is unrelated to the question topic). Any user who posts blatant spam should be disabled or deleted too. If the link is proplerly labeled and goes to a pr...

posted 3mo ago by Olin Lathrop‭

Answer
66%
+2 −0
Q&A Best practices for designing a central gateway/hub for microservices communication

I'm currently working on an architecture for a microservices-based platform and I would like to get some feedback in this regard — best way to handle integrations between the internal microservices...

3 answers  ·  posted 3mo ago by ɯıpɐʌ‭  ·  last activity 2mo ago by Alexei‭

Question architecture design-patterns system-design microservices
66%
+2 −0
Q&A Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both?

Does the Rate limit (Tokens per minute) of an Azure OpenAI instance corresponds to the input tokens, the output tokens or the sum of both? Crossposted at: https://serverfault.com/q/1176440/...

1 answer  ·  posted 3mo ago by Franck Dernoncourt‭  ·  edited 3mo ago by Franck Dernoncourt‭

Question azure azure-cognitive-services
66%
+2 −0
Q&A zsh - autocomplete with braces in the middle of a directory

I figured out a solution myself. I'm not a zsh expert so this may be improved, but it works. 1) make a custom completion file for the diff command The completion file that zsh uses for the diff ...

posted 2mo ago by Trevor‭  ·  edited 2mo ago by Trevor‭

Answer
66%
+2 −0
Q&A How can I resolve the 403 Forbidden error when deploying a fine-tuned GPT model in Azure via Python?

I follow Azure's tutorial on fine-tuning GPT. I'm stuck at the deployment phase. Code: # Deploy fine-tuned model import json import requests token = '[redacted]' subscription = '[redacted...

0 answers  ·  posted 3mo ago by Franck Dernoncourt‭

Question python azure
66%
+2 −0
Q&A Why does Azure Command-Line Interface (CLI) list no groups and no resources in my Azure account?

I have several resource groups and instances in my Azure account. Yet, the Azure Command-Line Interface (CLI) lists no groups and no resources in my Azure account: franck [ ~ ]$ az group list [] ...

1 answer  ·  posted 3mo ago by Franck Dernoncourt‭  ·  edited 3mo ago by Franck Dernoncourt‭

Question azure
66%
+2 −0
Q&A How to disable jobs in GitLab CI after they are successfully executed

I don't think there exists a straightforward solution. Likely you can achieve this with rules but you'll have to define and finetune them on each of the jobs. (template jobs may help a bit here.) ...

posted 4mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Understanding the `if __name__ == '__main__':` idiom

I've seen many examples of Python scripts that include a line that says: if __name__ == '__main__': Sometimes the following block contains a bunch of code, but other times it just makes a singl...

1 answer  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Karl Knechtel‭

Question python startup entry-point
66%
+2 −0
Q&A Why does `venv` seem to be missing or broken? Isn't it part of the standard library?

venv is indeed part of the standard library. However, some Linux distros modify Python to exclude some parts for various reasons, and venv might be among them. On Debian-based Linux distros you ...

posted 12mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A What does "parameterised type in the positive / negative position" mean in the context of invariant functors?

From PureScript's Data.Functor.Invariant documentation (emphasis mine): A type of functor that can be used to adapt the type of a wrapped function where the parameterised type occurs in both the...

1 answer  ·  posted 1y ago by toraritte‭  ·  last activity 1y ago by Derek Elkins‭

Question functional-programming purescript purely-functional
66%
+2 −0
Q&A Why does `pip` seem to be missing or broken? Isn't it part of the standard library?

I already know that the pip command might not correspond to the same Python that python runs. But in my case, it seems not to exist at all. I can't even run it as a Python module: $ python -m pip ...

1 answer  ·  posted 12mo ago by Karl Knechtel‭  ·  last activity 12mo ago by Karl Knechtel‭

Question python installation pip
66%
+2 −0
Q&A Why can't I use a library I just installed with Pip?

I tried installing package-installation-test[1] using Pip, and it appeared to be successful. But I can't use it as advertised, either by itself or by importing it from my code: Failed attempts ...

1 answer  ·  posted 1y ago by Karl Knechtel‭  ·  edited 1y ago by Karl Knechtel‭

Question python installation runtime-environment pip
66%
+2 −0
Q&A How can I access and use command-line arguments in Python?

At startup, Python loads the sys standard library module (without waiting for any code to import it) and sets up several useful values. Among these is sys.argv, which stores command-line arguments ...

posted 1y ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How can I access and use command-line arguments in Python?

In many other programming languages, the execution of code starts in a specifically named function (such as main) which is expected to have a specific signature, which allows that function to recei...

1 answer  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Karl Knechtel‭

Question python startup command-line-interface
66%
+2 −0
Q&A Understanding the `if __name__ == '__main__':` idiom

Whenever Python loads code from a .py file, that code gets its own namespace for global variables - so they're not truly global, but per-file values. (When you look at an imported module "from outs...

posted 1y ago by Karl Knechtel‭  ·  edited 1y ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A Android Studio IDE refuses to find my device

As per the troubleshooter I updated to the latest SDK Platform Tools (35.0.1) and it detected the device. The Xenial VM has 35.0.0 so I'm not convinced, but it's working.

posted 1y ago by JohnRando‭  ·  edited 1y ago by FractionalRadix‭

Answer
66%
+2 −0
Q&A Regex to get text outside brackets

First, we need to define some semantics. While it may not matter for your actual inputs, I propose that it should be valid for the output elements - the parts of the text found outside of brackets ...

posted 1y ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How do I trim a sorted list in Python?

Python has inbuilt list filtering syntax: l = [1,3,5,6,7,8] trimmed_list = [item for item in l if item > 4]

posted 1y ago by mellen‭

Answer
66%
+2 −0
Q&A Reinstall old Python libraries after update

The pip freeze command may output individual dependencies with format zipp @ file:///Users/abcxyz/work/recipes/ci_py311/zipp_1677907997878/work Using this output will not work (unless you happen ...

posted 1y ago by mudskipper‭

Answer