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
2.3k posts
 
33%
+0 −2
Q&A How do I find all the tables in a database that don't have a specific column?

I need to add one column with the same name to all of the tables in my database, how can I find which tables don't currently have a column with that name?

1 answer  ·  posted 3y ago by Charlie Brumbaugh‭  ·  last activity 3y ago by Charlie Brumbaugh‭

Question mysql
33%
+0 −2
Q&A Would a MySQL database run more efficiently with smaller varchar lengths?

A simple google search of VARCHAR size, showed that it is not an arbitrarily sized string, which means VARCHAR 150 and VARCHAR 2 would take up the same amount space. So, no-- I don't think there wo...

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

Answer
33%
+0 −2
Q&A Does using an Integer have any speed/performance benefits over a string in JSON

Let's start with this perl at https://www.json.org/json-en.html: A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used. That's an extremely imp...

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

Answer
33%
+0 −2
Q&A How to fire the change event for an input field?

from the MDN, "Depending on the kind of element being changed and the way the user interacts with the element, the change event fires at a different moment: When the element is :checked (by c...

posted 2y ago by bowl0stu‭

Answer
33%
+2 −6
Q&A Regarding the implementation of data structures.

I'm attempting a question to do with data structures, file streams & linked lists. The code isn't complete yet as I am still halfway working on it. I am required to use data structures in the d...

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

33%
+1 −4
Q&A How can I modify the code above to accept string as user input and use strcmp to compare with the contents of the text file & then delete that line?

I want to enter a string to compare with the text file, and if that word matches, then I want to delete that line containing that string. How can I modify the code below, since the code below take...

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

Question c file-handling
33%
+1 −4
Q&A How this recursive treewalker works?

Credit for User:Meriton for developing the following code (first published here). function replaceIn(e) { if (e.nodeType == Node.TEXT_NODE) { e.nodeValue = e.nodeValue.replaceAll("a", "");...

3 answers  ·  posted 2y ago by deleted user  ·  last activity 2y ago by hkotsubo‭

33%
+0 −2
Q&A Continuously read from piped input using Vim

Maybe passing the piped results through tail first would partially work. Use tail with the -f flag so that tail will continuously its contents. Example: <cmd> | tail -f | vim - I think yo...

posted 2y ago by CodeFarmer‭

Answer
33%
+1 −4
Meta Should I post a link to the Github repo for code reviews?

Total noob here and noob to this site. I've written a non-trivial program in Python. I'm the only one who see contradiction here? Anyway, posting link to GitHub repo is absolutely appropriate....

posted 2y ago by FoggyFinder‭

Answer
33%
+0 −2
Q&A Deep linking from another app isn't working for Amazon prime and disney+hotstar

It's not possible to send data to amazon prime and disney+hotstar. I was trying to send user to amazon prime when they click a (video) link (e.g. https://www.amazon.com/gp/video/detail/B01MSPI8JN/r...

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

33%
+0 −2
Q&A Where do I get rotatable images of solar system planets? [closed]

What I'm trying to do, because it's to provide a visually exciting set of results for a simulation package, is given a time, show what a planet looks like from a given angle. I've got SPICE and I'...

0 answers  ·  posted 1y ago by Fred Wamsley‭  ·  edited 1y ago by Alexei‭

Question graphics
33%
+0 −2
Q&A App crashes/ implementing picture in picture mode to timer

When I tried to emulate the app that I coded in the connected phone, it keeps closing due to crashes, is there any problem with my code? Also, I am trying to make a timer app with picture and pict...

0 answers  ·  posted 1y ago by dkdkjoi‭  ·  edited 1y ago by Alexei‭

Question android kotlin
33%
+0 −2
Q&A How to distinguish between single and multiple file media?

In a media manager I have database tables for files, media and collections. When a user is browsing a collection I want there to be links to see the metadata for single file media like books, movi...

2 answers  ·  posted 1y ago by filosoful‭  ·  last activity 1y ago by r~~‭

Question database
33%
+2 −6
Q&A How do I use an existing AI model to classify pornographic images? [closed]

In the last few months, AI has advanced considerably, notably in the area of generating images. We now have powerful models like DALL-E, Stable Diffusion, etc. These are quite competent at generati...

0 answers  ·  posted 10mo ago by matthewsnyder‭  ·  closed 10mo ago by Alexei‭

30%
+2 −7
Meta Don't close questions for lack of detail/confusion

tl;dr: When a question is unclear, don't close right away, especially if it's possible to discern what they are trying to ask. Instead, use comments and edit suggestions to work with the asker and ...

2 answers  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by Karl Knechtel‭

30%
+1 −5
Q&A Haskell revision question. [closed]

The answer for this question is that there is something wrong with the expression of the first guard of this function below: congratulations :: [(String, Int)] -> [String] congratulations [] =...

0 answers  ·  posted 1y ago by Anonymous‭  ·  closed 1y ago by Alexei‭

Question haskell
30%
+1 −5
Q&A How can software track [1] how many subscribers to subreddits, [2] if subreddit is private, [3] if submissions are restricted?

Master lists like 82 food subreddits and 128 tech subreddits don't indicate each's subscribers. if it's private. Sometimes moderators can make the sub private for several days, to clean i...

1 answer  ·  posted 3y ago by TextKit‭  ·  last activity 3y ago by r~~‭

Question reddit
30%
+1 −5
Q&A Explaining the result of an arithmetic expression in JavaScript

I misunderstand why the following code outputs -1 in console. x = 42; x = (x == 42) * -1 + (x != 42) * x; -1 Due to Type Coercion, the comparison of x to 42 yields true and is thus transl...

2 answers  ·  posted 2y ago by deleted user  ·  edited 2y ago by Alexei‭

28%
+0 −3
Q&A What is [{options}] in JavaScript?

I am trying to understand this code: const iframes = iFrameResize( [{options}], [css selector] || [iframe] ); The code can be found in this documentation. Is [{options}] an array of objects an...

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

28%
+0 −3
Q&A How to make this treewalker code having a regular for loop or a forEach() method?

Credit for User:Meriton for developing the following code (first published here). function replaceIn(e) { if (e.nodeType == Node.TEXT_NODE) { e.nodeValue = e.nodeValue.replaceAll("a", "");...

1 answer  ·  posted 2y ago by deleted user  ·  edited 2y ago by Alexei‭

28%
+0 −3
Q&A Why would a form value inserted with value property won't be effective? [closed]

In a website I didn't build, I want to put a value in an HTML input field element with JavaScript and to also use it as-putted. I can put it with the browser console this way: document.querySelec...

1 answer  ·  posted 2y ago by deleted user  ·  closed 2y ago by Alexei‭

28%
+0 −3
Q&A Data structure implementation with Linked lists.

Could someone explain this part of the coding for data structures & linked list? I actually got this code from a textbook but no matter how I read the textbook, I still don't get the concept &a...

1 answer  ·  posted 2y ago by hamburgersarecool‭  ·  last activity 2y ago by Alexei‭

28%
+0 −3
Q&A C++ exit code -1073740940 [closed]

What means the exit code -1073740940 in C++?

2 answers  ·  posted 2y ago by always_improve‭  ·  closed 2y ago by Alexei‭

Question c++ exit-code
28%
+0 −3
Q&A How to implement "Loss leader" marketing pattern in ecommerce websites? [closed]

Loss leader is a marketing pattern implemented in stores: A customer enters a store and while heading to some most desired expensive products far from entrance, that customer picks some products s...

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

Question e-commerce
28%
+0 −3
Q&A How would I go about chunk loading around player in a 3 dimensional cartesian coordinate space [closed]

So I am in the process of creating a voxel sandbox survival game (minecraft clone) in javaFX. I am at a point where I need to come up with a way to load the chunks in my surrounding given a render ...

1 answer  ·  posted 1y ago by cuzzo‭  ·  closed 1y ago by cuzzo‭

Question java javafx