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
 
50%
+0 −0
Q&A ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

ChromeOS Linux: Debian, how do I install Android SDK manager via command line? I wanted to try this repo https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer and I g...

1 answer  ·  posted 1y ago by propatience‭  ·  last activity 1y ago by propatience‭

Question android debian command-line-interface chrome-os android-sdk-manager
50%
+2 −2
Q&A How to group a flat list of attributes into a nested lists?

I have a flat list where each item is the key and value for an attribute. I want to transform this into a nested list where each attribute is a sublist. Example input: [ "attr1 apple 1", "a...

2 answers  ·  posted 1y ago by aditya98‭  ·  last activity 1y ago by matthewsnyder‭

Question python grouping list
50%
+0 −0
Q&A What guarantees does Bash make about order of :- Parameter Expansion when it is not in POSIX mode?

The documentation seems to me to hint that WORD will be expanded whether I want it to be, or not. I don't agree, because as quoted: (1) If PARAMETER is unset or null, the expansion of WORD ...

posted 1y ago by Quasímodo‭

Answer
45%
+3 −4
Q&A Create a list of Niven numbers in Python

There's this new challenge on Code Golf CD and I'm using Python to do it. A little bit of golfing already took place, so the code might look a bit messy for you. Anyway, I'm proud of what I've writ...

2 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by Dirk Herrmann‭

Question python function
44%
+2 −3
Q&A When I use the piecewise function I get more columns in the output

I have this code syms t y(t) = t*heaviside(t)*heaviside(1-t); x(t) = piecewise(0<=t<=1,1,t<0,0,t>1,0); l = -2:0.01:2; disp(y(l)); disp(x(l)); and in the output, I ge...

0 answers  ·  posted 2y ago by MissMulan‭  ·  edited 2y ago by Alexei‭

Question matlab piecewise-function
44%
+2 −3
Q&A Read all data from TCP stream in Rust

One way to do this, is: Set a read timeout on the TcpStream using set_read_timeout. This avoids a hanging client in case the server has stopped sending but left the connection open. Read from t...

posted 2y ago by Matthias Braun‭  ·  edited 2y ago by Matthias Braun‭

Answer
44%
+2 −3
Q&A How to properly use malloc?

There are several things to consider when calling the malloc(3) family of functions: nelem * sizeof(elem) or sizeof(elem) * nelem? Use the type or the pointer name in sizeof()? To cast or not ...

posted 2y ago by alx‭  ·  edited 2y ago by alx‭

Answer
44%
+2 −3
Q&A libicuin75.dll was not found

I have found the package here: https://packages.msys2.org/package/mingw-w64-x86_64-icu Also: https://github.com/msys2/MINGW-packages/issues/7556

posted 10mo ago by john1726‭  ·  edited 10mo ago by john1726‭

Answer
44%
+2 −3
Meta Text with many diacritic marks are not displayed correctly in posts

The solution here is as for many of these edge cases with weird Unicode: don't do that. The difference here is minor enough that I had trouble picking it out in your screenshots. Given that this i...

posted 4y ago by ArtOfCode‭

Answer
44%
+2 −3
Q&A Why often times data compression causes data loss?

I understand data compression as making data structures nearer (if they are mere machine code without any abstract representation) or representing them in less and less abstract computer languages ...

2 answers  ·  posted 4y ago by deleted user  ·  edited 4y ago by deleted user

Question data-structures compression data-loss
44%
+2 −3
Meta Questions easily answered by studying a beginner-level book

How to ask says: Do some research Before asking a new question, first take a look around. Has your question been asked before here on Software Development Codidact? You can do a search for keyw...

posted 3y ago by meriton‭  ·  edited 3y ago by meriton‭

Answer
44%
+2 −3
Q&A Delete all occurrences of a character in a webpage with vanilla JavaScript

Credit to user Zakk which exampled a solution here. document.body.innerHTML = document.body.innerHTML.replace(/x/g, '*'); Which I've adjusted to my particular need (a particular scope inside th...

posted 3y ago by deleted user  ·  edited 3y ago by Zakk‭

Answer
44%
+2 −3
Q&A Help me understand why python3 string.format() raises Attribute error [closed]

I'd like some help understanding why the third call to print() raises AttributeError: 'NoneType' object has no attribute 'format' from os import path import inspect def myfunction(): pri...

0 answers  ·  posted 4y ago by Greg‭  ·  closed 4y ago by Alexei‭

Question python string format attribute-error
44%
+2 −3
Q&A What is the latest, efficient way to create a login page in JAVA?

I am a noob Java programmer. I want to create a simple login page with just username and password. So I have to combine Java and HTML. While googling I found that Servlets do the job but people are...

1 answer  ·  posted 4y ago by aditya98‭  ·  last activity 4y ago by meriton‭

Question java
42%
+1 −2
Q&A How to add to the value of one cell an amount that depends upon the range of a different cell?

A user of Web Applications asked how to: +1 when the value is >=5, +2 when the value is >=10, +3 when the value is >=15, +4 when the value is >=20, +5 when the value is >=25...

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

Question google-sheets spreadsheet-formula
42%
+1 −2
Q&A How can I write an egrep (grep -E) regexp that matches lines containing two stanzas in arbitrary order?

I think such Regexp is way too much and would probably lead to future confusion. If you are using some kind of Bash, what about using the fact that the file can be sourced and use its assignations...

posted 4y ago by fedorqui‭

Answer
42%
+1 −2
Q&A Resources for learning Julia [closed]

I have decide to try out Julia. Is anyone aware of some good resources to get started with the language?

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

Question julia
42%
+1 −2
Q&A What might happen if I ignore warning?

#include <iostream> using namespace std; int linearSearch(int array[], int n, int key){ for(int i=0;i<=n;i++){ if(array[i]==key){ return i; } } } int main() { int ...

2 answers  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Lundin‭

Question c++ function compiler-warnings
42%
+1 −2
Q&A How do I filter an array in C?

No, I'm not trying to get the full program written completely in C by you guys. I only need some way to implement the functionalities of each function I found confusing. In this challenge in Code ...

2 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by Derek Elkins‭

Question c javascript array
42%
+1 −2
Q&A redirect to "main" code in Ruby using Ctrl

In Android Studio, when I click on a variable. It redirects me to where the variable was declared. Even, when coder writes lot of code than, it becomes hard to find "main" object by scrolling. Rub...

2 answers  ·  posted 4y ago by deleted user  ·  last activity 4y ago by ArtOfCode‭

Question ruby-on-rails go-to-definition
42%
+1 −2
Q&A How does PathData work?

I was dealing with random Path. I had written a code like this : <path android:pathData="M 5 100 75 50 50 92 100 10 50 50 50 50 30 30" android:fillColor="#FFFFFF"/> As we know, there's ...

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

Answer
42%
+1 −2
Q&A How to generate random objects at different locations on x, y, z axis

I have been trying to generate a random object on all three axis in different locations. However, Vector3 doesn't accept that many overloads e.g: Vector3 spawnPos = new Vector3(Random.Range(spawnL...

1 answer  ·  posted 2y ago by simonJN‭  ·  last activity 2y ago by deleted user

Question c# unity3d
42%
+1 −2
Q&A How to efficiently remove every occurrence of one string inside another

I've accidentally disabled my account hence I'm answering the questions that I've answered before again. Adding on to this, I feel like adding a comment, please do bear in mind that this code isn't...

posted 3y ago by VincentLeonarX‭  ·  edited 3y ago by VincentLeonarX‭

Answer
42%
+1 −2
Q&A Why OFFSET isn't working the way it is expected?

I had three data with where gender=female. I was trying to call those data with limit and offset (Since in future there might be more than 1000 data). SELECT * FROM `users` WHERE `gender`='Female'...

1 answer  ·  posted 2y ago by billy‭  ·  edited 2y ago by Alexei‭

Question mysql sql
42%
+1 −2
Q&A Program freezing in `post_comments_to_lemmy` function due to potential infinite loop

I'm experiencing an issue where my program appears to freeze when executing the post_comments_to_lemmy function. This function fetches comments from the GitHub API and posts them to a Lemmy instanc...

1 answer  ·  posted 2y ago by ShadowsRanger‭  ·  last activity 2y ago by __blackjack__‭

Question python