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%
+0 −0
Q&A How to set update-crypto-policies to LEGACY in Dockerfile

Also to do this automatically do this in your dockerfile- RUN sed -i 's/SECLEVEL=2/SECLEVEL=0/g' /etc/crypto-policies/back-ends/opensslcnf.config just replace the file name for the rest of the fi...

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

Answer
50%
+0 −0
Q&A Migrating HTML strings to a more secure alternative

Our team will have to migrate an old application to use a new tech stack. One of the features involves the usage of HTML editors which serialized the content as HTML and I am able to see valid HTML...

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

Question html markdown
50%
+2 −2
Q&A Alternative to Google Adsense [closed]

I'm starting a small site with some online tools. Tried to include Google Adsense but I initially got rejected because the site was still on construction. Yet I've seen in the forums that they are...

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

50%
+0 −0
Q&A Console scripts in virtual environment do not output to terminal in git bash

A summary of the comment thread with jmathew: The simplest workaround is to use winpty, i.e. write: $ winpty black version.py The reason this works is that the Python build that I am using and...

posted 3y ago by boudewijn21‭

Answer
50%
+0 −0
Q&A MediaWiki JavaScript way to view the history of a page

I wish to view the revision-history-webpage of a webpage in MediaWiki without the conventional button to do so (I've disabled that button for aesthetic reasons). Please disable the MediaWiki View ...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

50%
+1 −1
Q&A Why does a keydown event is listened only once?

The following code (credit for user:hkotsubo) moves the user to another page if Alt+Shift+E are pressed together. window.addEventListener('DOMContentLoaded', () => { let domain = window.loca...

0 answers  ·  posted 3y ago by deleted user

50%
+0 −0
Q&A How to uncollapse an entire link tree with JavaScript?

This data tree is comprised of clickable buttons and I want to expose all branches, in a single action, instead of clicking each vertical arrow button anew. I have tried the following code which d...

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

Question javascript html
50%
+1 −1
Q&A Recursion without a procedure ("function") in JavaScript

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 3y ago by deleted user  ·  edited 3y ago by Alexei‭

50%
+0 −0
Q&A In angular-imask how do I get the IMask class?

Using Angular-IMask, I'm programatically updating the field that has IMask. So I'm getting the error: "Element value was changed outside of mask. Syncronize mask using mask.updateValue() to work p...

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

50%
+0 −0
Q&A Using single xml file two activities in android

I want use single layout xml file for two different activities in android. Is it possible? How can I do it?

0 answers  ·  posted 3y ago by akshayshelke‭

50%
+1 −1
Q&A How to grant privileges to a user on a database specifically (i.e. not globally) in PHPMyAdmin?

In PHPMyAdmin 5.1.1 I have created a user account and a database with the same name and granted all privileges to the user on that database. I have exported the database to a backup file, deleted ...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

Question database
50%
+1 −1
Q&A Separate digits of a number in groups with different sizes

I found a way how to fix it after I debug. It was only using the last used row because there was nothing to check that I want to edit only the current row. That's why I decide to use at for index,...

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

Answer
50%
+0 −0
Q&A Add single element for multiple keys to map

(merge m1 (zipmap ks (repeat itm))) Demonstration: $ clj Clojure 1.10.3 user=> (def m1 {:a 1 :b 2}) #'user/m1 user=> (def itm 3) #'user/itm user=> (def ks [:c :d :e]) #'user/ks u...

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

Answer
50%
+0 −0
Q&A Add single element for multiple keys to map

(apply assoc m1 (interleave ks (repeat itm))) Demonstration: $ clj Clojure 1.10.3 user=> (def m1 {:a 1 :b 2}) #'user/m1 user=> (def itm 3) #'user/itm user=> (def ks [:c :d :e]) #'...

posted 3y ago by NoahTheDuke‭

Answer
50%
+0 −0
Q&A How to to make a store tree view cart

I am building an MVC cart system. I have the MERCHANTS table and the PRODUCTS table. A merchant (store) can have one or more products, everything works fine but what I want is to display products b...

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

Question php mysql pdo treeview
50%
+1 −1
Q&A iframe tag is vertically scrollable although I would expect it to vertically stretch 100%

I have an iframe tag to which I didn't set height so it has a default height which is 150px (at least in Google Chrome). As a consequence, the iframe appears partially in such a way that constant ...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

Question javascript css iframe
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