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
 
60%
+1 −0
Q&A Scanner fails when executing Java with admin rights (sudo) in Eclipse in Linux

I've finally managed to get it working without using a wrapper for java. It has to do with filesystem capabilities in Linux. To let java list and select network interfaces, as well as analyse and ...

posted 4mo ago by aura-lsprog-86‭

Answer
60%
+1 −0
Q&A Scanner fails when executing Java with admin rights (sudo) in Eclipse in Linux

(Brought over from SE.) The problem I have followed this procedure in order to run Java applications as root when needed from Eclipse (as I use Xubuntu, for instance, when using jnetpcap to cap...

1 answer  ·  posted 4mo ago by aura-lsprog-86‭  ·  edited 4mo ago by aura-lsprog-86‭

Question java linux Eclipse sudo jnetpcap
60%
+1 −0
Q&A How can I set a private class instance variable to the File object used by an unmarshaller?

(Brought over from SE) The problem I'm coding a Java Swing application dealing with XML files, so I'm using JAXB in order to marshal classes into documents and unmarshal the other way around. ...

1 answer  ·  posted 4mo ago by aura-lsprog-86‭  ·  last activity 4mo ago by aura-lsprog-86‭

Question java event-handling callback jaxb
60%
+1 −0
Q&A Android CameraPreview not rendering for MLKit barcode analyis on MAUI custom control

I have a QR code which needs to read through Google's ML kit for Android since Zxing.MAUI doesnt read it. I followed the code in ml-kit/vision/barcode-scanning/android and VinayByte/mlkit-qr-code-s...

1 answer  ·  posted 4mo ago by carpeltunnel‭  ·  last activity 4mo ago by carpeltunnel‭

Question c# android mobile .net-maui
60%
+1 −0
Q&A Get global gitconfig path

With help from hkotsubo in the comments, it seems you can follow the behavior described by Git's documentation. This will work until they change it, at least for your *Nixes and *BSDs: path="${XDG...

posted 4mo ago by Michael‭

Answer
60%
+1 −0
Q&A How to do function composition in Spring Cloud Stream when using classes

I'm working on a proof of concept for a Spring Cloud Stream application. I want to define my processing logic using classes that implement Function, Consumer, or Supplier. I understand that Spring...

0 answers  ·  posted 6mo ago by ɯıpɐʌ‭  ·  last activity 4mo ago by Monica Cellio‭

Question spring-boot spring-cloud spring-cloud-stream
60%
+1 −0
Q&A Dynamically do something after a useState variable has been set?

This depends largely on what "do something" you want to do, in response to a state change. If you just need to re-compute some other state: Write that as additional code in the component funct...

posted 5mo ago by bignose‭  ·  edited 5mo ago by bignose‭

Answer
60%
+1 −0
Q&A Access denied to read SQS queue just created

OK, I found the issue. It was to do with the tags. It seems that you can't have a Condition based on ResourceTags for the ReceiveMessage and SendMessage operations - the ResourceTag selector may on...

posted 3y ago by Darvids0n‭

Answer
60%
+1 −0
Q&A Tackling net::ERR_NAME_NOT_RESOLVED and timeout error on browser object creation when using Puppeteer

Used to work with PhantomJS. Want to upgrade to Puppeteer. Started with some code: "use strict"; const puppeteer = require("puppeteer"); const capture = async () => { let browser; try {...

1 answer  ·  posted 3y ago by sbirl‭  ·  last activity 6mo ago by Alexei‭

Question node.js puppeteer timeout
60%
+1 −0
Q&A MediaWiki JavaScript way to view the history of a page

I couldn't access the history due to having $wgActions['history'] = false; # Complete history lockup; In the web application root's LocalSettings.php file. After I have commented this command,...

posted 3y ago by deleted user

Answer
60%
+1 −0
Q&A How to access the visual editor from JavaScript in MediaWiki?

In MediaWiki 1.36.1 with Skin:Timeless, the following JavaScript code doesn't work. I get in browser console: Your skin is incompatible with VisualEditor. See https://www.mediawiki.org/wiki/Exte...

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

Question javascript mediawiki
60%
+1 −0
Q&A How to uncollapse the first and second tiers of a link tree in JavaScript?

According to the documentation, the hasAttribute method expects only one argument (the attribute's name), and it tells only if that attribute is present, regardless of its value. Hence, the return ...

posted 3y ago by hkotsubo‭

Answer
60%
+1 −0
Meta How can I fill in tag information?

You need the "Edit Tag" ability. It's requirements may vary from site to site and are detailed at https://software.codidact.com/abilities/edit_tags

posted 3y ago by Trilarion‭

Answer
60%
+1 −0
Q&A How to submit form data with Ajax?

See the first example in this section: const form = new FormData(document.getElementById('login-form')); fetch('/login', { method: 'POST', body: form }); To adapt this example to your c...

posted 3y ago by r~~‭  ·  edited 3y ago by r~~‭

Answer
60%
+4 −2
Q&A Regarding the implementation of data structures.

Since this is pretty clearly a homework exercise, and the point of those is for you to learn, I'm going to be evil and not spoon-feed the answer to you. However, I will give you some pointers. Fi...

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

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

One way to do this is to launch a Task at application startup as soon as possible (the DI is configured). The only hard part is to make DI available in the prewarm functionality. The following imp...

posted 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A Are there references in C?

This question most often comes up in relation to C++. That language has something that is called reference in the standard. They work like pointers, with a few differences. They have to be initi...

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

Answer
60%
+1 −0
Q&A Preloading some data at application startup as fast as possible

I am caching some very static information (changes once per day) in my ASP.NET Core application. This is normally done when needed ("lazy"). One such cache item is a 50K list of items that are tak...

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

Question asp.net-core caching prefetch
60%
+1 −0
Q&A How can the Caesar cipher be implemented in Java?

The formulas for encryption and decryption require a positive value of the modulo operation. However, this is not guaranteed for all implementations of the modulo operator. For instance, in Python ...

posted 3y ago by Holden‭

Answer
60%
+1 −0
Q&A Comparing two excel files with Python based on changes

Here's what I'd do, hope it still helps someone: import pandas as pd t1 = [123,456,789,101,133] t1_descr = ['Description' + str(i) for i in t1] table1 = pd.DataFrame({'name': t1, 'descripti...

posted 3y ago by ibmx‭

Answer
60%
+1 −0
Q&A DST disrupting rsync twice a year

Solved this æons ago actually... [Assumes Bash shell]. If the DST difference is for instance an hour (or 60 minutes, or 3600 seconds), change: --modify-window=3 To: --modify-window=$((3 + 60...

posted 3y ago by .                                                .‭

Answer
60%
+1 −0
Q&A Python looping 300 000 rows

I’m struggling to get timeit working correctly but this is faster in my limited tests: l = [123456789, 23456789012, 34567890123] result = [0, 0, 0] for idx, row in enumerate(l): i = f"{r...

posted 3y ago by NoahTheDuke‭

Answer
60%
+1 −0
Q&A What solutions available for a CMS-agnostic contact form?

Besides the aforementioned solutions, Web components might be useful (can be reused in multiple contexts). Examples: in Drupal in ButterCMS in Backdrop CMS in WordPress However, if your fo...

posted 3y ago by Alexei‭

Answer
60%
+4 −2
Q&A Separate digits of a number in groups with different sizes

I have a list of 11-digit numbers stored in one single column in Excel, and I need to separate the digits according to this pattern: 2-2-1-3-3. Example: 00002451018 becomes 00 00 2 451 018. How c...

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

Question python string number-formatting
60%
+1 −0
Q&A How to show XML in browser?

XSL and XSLT is a good way to provide a theme or stylesheet to XML files including RSS and Atom feeds. By the way Atom is so much better than RSS and RSS as a feed standard sucks. I think there wa...

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

Answer