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.6k posts
 
37%
+1 −3
Q&A Cannot write multipart message to byte array [closed]

I'm trying to write a MIME message to the console. ByteArrayOutputStream out = new ByteArrayOutputStream(); MimeMultipart replyMsg = mdnCreator.createMDNData(); replyMsg.writeTo(out); out.close...

0 answers  ·  posted 3y ago by artaxerxe‭  ·  closed 3y ago by Alexei‭

36%
+2 −5
Q&A What are the disadvantages of using static methods in Java?

I was using static method few moments ago. But I noticed that I was returning a variable using that static method. According to the article, Static is a keyword that identifies the class-related...

4 answers  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by hkotsubo‭

Question java static class
36%
+2 −5
Q&A What problem does innerHTML solves?

I understand that innerHTML does all the following actions: It makes the element we work on (or even the entire DOM tree that we work on if that element is <body>) to be copy-pasted into a...

1 answer  ·  posted 3y ago by deleted user  ·  edited 3y ago by deleted user

Question javascript
36%
+2 −5
Q&A What is the main difference between event delegation to other event handling patterns in JavaScript?

I define a software event as any state of a program to which we can probably respond. In JavaScript, how does event delegation differs from more simple and probably more common event handling patt...

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

36%
+2 −5
Q&A What makes people able but unwilling to contribute to FOSS projects? [closed]

Suppose someone has the requisite knowledge and skillset to contribute to a FOSS project, they have the free time to do so and they are aware of the project. Yet, they decide not to contribute. Thi...

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

Question open-source
36%
+2 −5
Q&A What is the point of triggering CI/CD with an empty git commit?

The reason this practice exists is because CIs suck. The frameworks/services themselves suck, and the way people write the configs also suck, and the two combine to create a mega-suck. A CI is sup...

posted 12mo ago by matthewsnyder‭  ·  edited 12mo ago by matthewsnyder‭

Answer
35%
+4 −9
Q&A Find the name of the student with the top mark, display their name and mark

I have a CSV file like this: name,surname,score Moon,Walko,148 Jerald,Gryder,150 I need to find the highest score. My attempt: namespace test { class Program { string[...

2 answers  ·  posted 3y ago by InPut‭  ·  last activity 1y ago by NetMage‭

Question c# csv
33%
+1 −4
Q&A How to call a function from ruby-on-rails (HTML)?

Let I have a button <button type="button" onclick = "myfunction()" class="collapsible">Expand content</button> And, I have a JS function. function collapse() { var coll = docu...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by Kevin M. Mansour‭

33%
+1 −4
Q&A Did functional programming predated Object oriented programming or rather the opposite?

By "functional" I don't mean "procedural" (i.e. I don't mean to programming which is done solely or primarily with these data structures commonly known as "functions" but are actually procedures), ...

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

33%
+0 −2
Q&A Is the concept of a PHP lint feasible?

Just use PDT version of Eclipse.

posted 3y ago by nelson777‭

Answer
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 3y ago by Neel_Gupta‭  ·  last activity 3y ago by hoverhell‭

Question python numpy
33%
+0 −2
Q&A Is there a problem in making Captcha an HTML builtin with an attribute setting which type of Captcha

Many web login and contact form features could be set as standard HTML builtins without the need to develop and backend and/or (non HTML) frontend for them, for example: Select field Input Date...

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

33%
+0 −2
Q&A What are the disadvantages of using static methods in Java?

If it were always better to use static, the language would have been designed to always assume static, or at least default to static. That the language defaults to making methods not static indicat...

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

Answer
33%
+0 −2
Q&A Why comma is expected for auto_increment?

query = "CREATE TABLE "+TABLE+" ("+COLUMN1+" INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, "+COLUMN2+" VARCHAR(255), " + COLUMN3+" VARCHAR(255), "+COLUMN4+" TEXT, "+ COLUMN5+" VARCHAR(255)...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

33%
+0 −2
Q&A How to break line in XML?

How to break line in XML? I was trying to follow the answer. But, It wasn't helpful for me. I had tried <br/> and <br />. None of them works. <?xml version="1.0" encoding="UTF-8"?&g...

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

Question xml line-breaks
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 3y ago by CodeFarmer‭

Answer
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 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 3y 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 3y 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 3y ago by dumplings‭  ·  edited 2y ago by Alexei‭

Question c file-handling
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 How can I write an egrep (grep -E) regexp that matches lines containing two stanzas in arbitrary order?

This doesn't answer the question in full generality, but the assumption made seems reasonable to me: match lines containing (x1=y2;|c5=c6;) twice. I.e. ^(([^;]+; )*(x1=y2;|c5=c6;) ?){2}

posted 4y ago by Peter Taylor‭

Answer
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 4y ago by Charlie Brumbaugh‭  ·  last activity 4y 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 4y ago by obround‭  ·  edited 4y 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 4y ago by .                                                .‭  ·  edited 4y ago by .                                                .‭

Answer