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
 
71%
+3 −0
Q&A Why is spacy word vectors showing unexpected similar words?

Why is spacy word vectors showing unexpected similar words? Here is the code I am using: import spacy import numpy as np nlp=spacy.load('en_core_web_md') with open ('data/us.txt') as f: ...

0 answers  ·  posted 3mo ago by Asia‭  ·  edited 3mo ago by celtschk‭

Question python-3 spacy word-vectors
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 12d ago by Franck Dernoncourt‭

Question python azure
71%
+3 −0
Meta Initial List of Tags

As far as I can tell, there are no tags yet for the main Q&A. I suggest setting an initial group of tags which help organize questions. Two groups I think would be particularly helpful are lang...

1 answer  ·  posted 4y ago by manassehkatz‭  ·  last activity 4y ago by Alexei‭

Question discussion status-completed
87%
+12 −0
Q&A For scripting what are the pros and cons of command line arguments versus capturing input at the start?

Let's say I have a script that needs the user to set X number of variables at the start. One can either Pass the arguments in on the command line. Start the program and then have the user input...

6 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 2y ago by Dirk Herrmann‭

Question software-practices command-line-interface
66%
+2 −0
Q&A Keras image_dataset_from_directory - how image size works

I am using tf.keras.preprocessing.image_dataset_from_directory. According to the documentation, the related image_size parameter is the Size to resize images to after they are read from disk. How...

0 answers  ·  posted 4y ago by Guilherme Costa‭  ·  edited 4y ago by Alexei‭

Question keras tf.keras
75%
+4 −0
Q&A Unable to `mount` overlayfs in Docker container when inside a LXC with a ZFS pool

Summary/Context I'm currently working to improve performance and throughput of our automation infrastructure, most of which is a combination of Bash/Shell scripts, Python scripts, Docker, Jenkins,...

1 answer  ·  posted 4y ago by ghost-in-the-zsh‭  ·  last activity 4y ago by ghost-in-the-zsh‭

Question linux bash docker lxc zfs
90%
+18 −0
Q&A Does the location of an import statement affect performance in Python?

When writing Python-based apps (e.g. Django, Flask, etc.), it's often the case that import statements can be found all over the place, often more than once for the same module. For example, you can...

1 answer  ·  posted 4y ago by ghost-in-the-zsh‭  ·  last activity 4y ago by ghost-in-the-zsh‭

Question python python-internals
57%
+2 −1
Q&A Jenkins failed to delete a file - why? How to prevent?

We are using Jenkins to run our system tests on a regular schedule. The Jenkins job downloads some python scripts from Perforce, runs them and compares the outputs with known-good results. The pro...

2 answers  ·  posted 4y ago by anatolyg‭  ·  last activity 2y ago by anatolyg‭

Question jenkins
75%
+7 −1
Q&A How to choose backend technology for my project?

I am planning to build a "Customer Management Portal" as a hobby project using technologies like HTML,CSS,JavaScript,JAVA,JDBC,Oracle Database.The description of the portal is: 1)Customer details ...

3 answers  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by Matthewericfisher‭

Question backend
75%
+4 −0
Q&A How to prompt a user for an expanded variable in Bash?

I work with CentOS operating system and my only shell is Bash. I want to create a script which prompts a user with a question like "What is your web application root?" The user should answer dire...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by Someone‭

Question python perl linux variable-assignment bash
33%
+1 −4
Q&A Convert .npy files in a directory to images (.png)

I have around 20,000 .npy files in a directory. That main directory has no subfolders:- Main_dir | |--1.npy |--2.npy |--3.npy |--........ The absolute file paths are stored ...

2 answers  ·  posted 4y ago by Neel_Gupta‭  ·  last activity 4y ago by hoverhell‭

Question python numpy
66%
+2 −0
Meta Editing tags failed?

I edited the tags of my very first Codidact question: https://software.codidact.com/posts/281486 Someone proposed the "python" tag. Since I am working with C++, I removed the "multithreading" tag...

1 answer  ·  posted 4y ago by Silicomancer‭  ·  last activity 4y ago by Monica Cellio‭

Question bug feature-request
70%
+5 −1
Q&A How do I get the error message out of a requests exception?

I'm trying to log error messages from Requests exceptions. Example: try: make_web_request() except RequestException as ex: logging.error(ex) Example output: ERROR : ('Connection abo...

2 answers  ·  posted 4y ago by ajv‭  ·  last activity 4y ago by hoverhell‭

Question python http-request
70%
+5 −1
Q&A Freeing sub-process resources?

I'm using Python to invoke another program in a sub-process. I've noticed my memory sometimes gets so large as to crash the system, and I'm wondering if I'm not correctly cleaning up the memory som...

0 answers  ·  posted 4y ago by Hyperlynx‭  ·  edited 4y ago by Patol75‭

Question python memory-management subprocess resources memory-leaks
77%
+5 −0
Code Reviews Counting Sundays without Python datetime module

The problem You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was a Monday. Thirty days has September, April, June and November. All t...

1 answer  ·  posted 4y ago by justanotherpilgrim‭  ·  edited 3y ago by hkotsubo‭

Question python date
81%
+7 −0
Code Reviews Detecting balanced parentheses in Python

The problem Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets are closed by ...

5 answers  ·  posted 4y ago by justanotherpilgrim‭  ·  last activity 1y ago by Dirk Herrmann‭

Question python
84%
+9 −0
Q&A What is a good modern language to use for a Business Rules project?

This is a rather vague question, but I'm trying to solve a specific problem and I'm inexperienced in most of the potential solutions, so please forgive the inherent ambiguity. I have access to a d...

3 answers  ·  posted 3y ago by Sigma‭  ·  last activity 2y ago by matthewsnyder‭

Question business-rules
22%
+0 −5
Q&A Are the terms "property" and "method" practical in programming languages other than JavaScript? [closed]

I would say that the terms "property" and "method" are basic in JavaScript programming (at least in the context of web/front), but are they basic or common in other programming languages such as C,...

0 answers  ·  posted 3y ago by deleted user  ·  closed 3y ago by Alexei‭

Question terminology
66%
+2 −0
Q&A Unable to use pyttx3 (libespeak.so.1: cannot open shared object file: No such file or directory)

from tkinter import * from tkinter import messagebox, filedialog import pyttsx3 import PyPDF2 import os import webbrowser root = Tk() # root.geometry("500x500") root.title("Audio Book") ...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Alexei‭

Question python-3 pyttx3 pyaudio
62%
+3 −1
Q&A Are there practical reasons for designing a method-only class/object?

Are there practical reasons for designing/implementing a method(s)-only class/object? Follow-up background notes: This question is for languages that are not exclusively Object-Oriented, for exam...

3 answers  ·  posted 3y ago by CodeFarmer‭  ·  last activity 3y ago by hkotsubo‭

Question software-practices oop
37%
+1 −3
Q&A What's the better way to deal with deprecated feature?

It's a very old question came to my mind. Whenever I start building some applications for Android using Android Studio. In every update, lots of tools get deprecated. I know I can use deprecated "t...

0 answers  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Anonymous‭

Question android deprecated
80%
+6 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

I've just dived into pygame and written a little game in it, of which I'd like a review (it's my first try of pygame). However I'm not sure if it is a good fit for the site, and if so, how exactly ...

2 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Peter Taylor‭

Question discussion scope code-reviews
20%
+0 −6
Q&A Adding support on mathematical expressions

MarkFuncs has really gotten huge progress, at least in my eyes, and now, I want to make math possible in the language. Background MarkFuncs is a programming language that I have been working on f...

0 answers  ·  posted 3y ago by General Sebast1an‭  ·  edited 3y ago by Lundin‭

Question python interpreted-language language-design math
75%
+4 −0
Code Reviews A class to access dicts using attribute syntax

I've written a class that allows to access dictionary entries of arbitrary dicts with appropriate string keys through attribute access syntax on an instance of the class. My questions are: Is...

3 answers  ·  posted 3y ago by celtschk‭  ·  last activity 10mo ago by mudskipper‭

Question python hashmap
87%
+12 −0
Q&A How do I support tab completion in a python CLI program?

I spend a lot of time writing CLI tools in Python, and I would like to support tab-completion in a style similar to Git. For example, subcommands should be tab-completable, options should expand ba...

1 answer  ·  posted 3y ago by ajv‭  ·  last activity 3y ago by hkotsubo‭

Question python shell command-line-interface tab-completion