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.7k posts
 
50%
+3 −3
Meta Questions easily answered by studying a beginner-level book

I would have a separation between what is on-topic / offtopic and what is worth upvoting or downvoting. Thus for the specific case of questions showing no research, but are on-topic, I would consi...

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

Answer
50%
+2 −2
Q&A How can you modify your server code to make it accept any port numbers instead of just one which is the one you predefined?

Is there any way where I can modify the original server code so that it accepts any port number instead of the predefined one (i.e., port number 8989)? Port number will be entered in the command li...

0 answers  ·  posted 3y ago by hamburgersarecool‭  ·  edited 3y ago by Alexei‭

Question c sockets port winsock2
50%
+1 −1
Q&A Data structure implementation with Linked lists.

struct listNode{ char data; struct listNode *nextPtr }; Computer, when I tell you that any region of memory is a struct called listNode, that means that the region of memory contains ...

posted 3y ago by r~~‭

Answer
50%
+0 −0
Q&A Why would a form value inserted with value property won't be effective?

It works fine for me. Here's a minimal working example: <!DOCTYPE html> <html> <body> <form> <input type="text" name="field" id="field" value="old value"> <i...

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

Answer
50%
+1 −1
Q&A How to fire the change event for an input field?

I have added some input to an input field element this way: const inputFiled = document.querySelector("#example"); inputField.value = "X"; I want to fire a change event for that field right af...

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

50%
+1 −1
Q&A Tracking what users are searching in a content management system

I have a website with a search box. Running search queries in that search box creates frontend/dynamic search result webpages in which search results based on a search query can appear. Let's ass...

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

50%
+2 −2
Q&A Manipulate a web browser to hide a certain HTML element in a certain website by a single action

Before I publish a new webpage in my website (in the content management system itself), I zoom in from say 100% zooming to 500% zooming and then re-read it, as a nice way to check for typos. The p...

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

50%
+0 −0
Q&A Manipulate a web browser to hide a certain HTML element in a certain website by a single action

An alternative to creating a userscript is to use a bookmarklet. This is a bookmark that contains an executable snippet of Javascript code. When you click on it, that code will get executed in th...

posted 3y ago by bta‭

Answer
50%
+0 −0
Q&A How to mock LazyCache when performing unit testing?

LazyCache provides CachingService as a concrete implementation of the IAppCache. When unit testing simply instantiate the tested service using CachingService: var testInstance = new FooService(ne...

posted 3y ago by Alexei‭

Answer
50%
+1 −1
Q&A How to temporarily disable a MySQL user?

Sometimes I will need to temporarily lock out other MySQL users when I am making large structure changes and want to make sure that nobody else is inputting or changing the data. The other use case...

2 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Charlie Brumbaugh‭

Question mysql
50%
+1 −1
Q&A Count the number of occurrences in a text string

If I have some text in a cell, how can I find the number of times another piece of text appears in it? For example, suppose A1 contains Peter Piper picked a peck of pickled peppers.. pick occurs 2...

2 answers  ·  posted 4y ago by pnuts‭  ·  last activity 1y ago by Dirk Herrmann‭

50%
+0 −0
Q&A How to calculate the Hamming weight of a binary string?

A presently unanswered question on Stack Overflow asks: Does there exist a popcount function in libreoffice calc? and clarifies that "I often use BASE(A1;2;8) to show a number in binary".

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

50%
+4 −4
Q&A Is concatenation a logical AND?

As a person with no significant background in mathematics and computer science I thought that concatenation and AND are logically identical if not very similar because both add something to somethi...

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

50%
+0 −0
Meta How can I fill in tag information?

There is a privilege to add the information to the tags: https://github.com/codidact/qpixel/blob/047a8d92073559fb10ebead89df8ce686f1a3dc4/app/views/tags/show.html.erb#L36-L39 https://github.com/cod...

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

Answer
50%
+1 −1
Q&A Should a salt be stored in the same database as the hash?

The issue with using two separate databases is you need to: store both access strings back up both databases manage both databases keep both databases patched By the time you have done that, th...

posted 4y ago by Ringi‭

Answer
50%
+3 −3
Q&A What is the worst code you ever saw?

The worst code I ever saw was when I was called in to finish the work of a consultant who had left the company for greener pastures. The feature had been in development for 4 months, and was, accor...

posted 4y ago by meriton‭

Answer
50%
+0 −0
Q&A Is it possible to rebuild a STL file from gcode?

I have a couple of 3d example projects in gcode for my printer but the printer bed has a couple of bumps in the center (where things are printed by default) and in order to print the objects I woul...

0 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Moshi‭

Question gcode stl-format
50%
+2 −2
Q&A Having trouble adding include directories

I'm trying to set up a simple test project, to unit test a change I'm working on. The change is to a file inside some existing project. I've tried to set up the includes as the original has it, but...

1 answer  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by Hyperlynx‭

Question c++ cmake
50%
+0 −0
Q&A How to automatically run Entity Framework Core migrations for an application which uses a user with read/write rights on certain tables?

Migrations are applied during the application startup (initialization) only when the application is not accessible yet. One way to go is to leave the existing user as it is and define a designated ...

posted 4y ago by Alexei‭

Answer
50%
+0 −0
Q&A How to drop all stored procedures from a MySQL database

I need to drop all of the stored procedures from my MySQL database before I recreate them. How can I do so?

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 4y ago by Peter Mortensen‭

50%
+0 −0
Q&A How much memory is allocated for a MySQL VARCHAR variable in a stored procedure?

This answers your questions, not what I suspect to be real issue. According to the specifications a VARCHAR(100) will need actual data stored length + 1. So, the actual size would have mattered if...

posted 4y ago by Alexei‭

Answer
50%
+0 −0
Q&A In MySQL is there a limit to the number of keys in a IN() clause?

I'll readily admit I'm not too familiar with MySQL specifically, but personally, I would try to avoid listing all the primary key values in an ad-hoc query. What I would rather do personally is to...

posted 4y ago by Canina‭

Answer
50%
+0 −0
Q&A Unable to `mount` overlayfs in Docker container when inside a LXC with a ZFS pool

Summary The TL;DR is that, as long as ZFS is being used as the underlying file system, mount commands on top of that will not work. It's simply not supported. I was also able to confirm this over ...

posted 4y ago by ghost-in-the-zsh‭

Answer
50%
+1 −1
Q&A Running remote scripts (cloud scripts) locally --- valid and securely as possible

I use CentOS with Bash and I would like to download, execute and delete the executed downloaded file (running a remote/cloud script locally). I often prefer to load my own shell scripts from my ow...

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

50%
+0 −0
Q&A Creating a Right-To-Left, primarily-backend, HTML-PHP contact form

I host my website on a PaaS-modeled, shared hosting environment by SiteGround which is quite a well known hosting company with (as I believe) well-venerated email servers. I am trying to create ...

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

Question php html contact-form