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
 
66%
+2 −0
Q&A Count the number of occurrences in a text string

@elgonzo mentioned correctly that the nice trick from @pnuts can not be applied if you are interested in the number of occurrences including overlapping ones. So, just in case someone is in need o...

posted 1y ago by Dirk Herrmann‭

Answer
66%
+2 −0
Meta Do we want a wiki (or similar) alongside Q&A?

There are a few ways to understand "wiki". Like wikipedia - an interlinked web of articles in a standardized format. Like SO's documentation project or Github wikis - a stripped down wiki that ...

posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Answer
66%
+2 −0
Meta Spreadsheets apps as end user development tool / spreadsheet formulas as a form of funtional programming

While I personally agree (take my upvote) I'd note that programming spreadsheet has multiple levels. Level 0: I use spreadsheet, sometimes with some functions, like count or sum of something condi...

posted 1y ago by LAFK‭  ·  edited 1y ago by LAFK‭

Answer
66%
+2 −0
Q&A Storing more bytes than a union member has, but less than the union size, with memcpy(3)

memcpy(&y.t, &x, sizeof(x)); is a bit fishy since it would have made more sense to copy into &y or &y.s. None of this is necessarily UB however. Regarding strict aliasing, it doesn...

posted 1y ago by Lundin‭  ·  edited 1y ago by Lundin‭

Answer
66%
+2 −0
Q&A Generating nested repeating values with JSON Generator

Hi, I'm trying to use the JSON Generator to create data with nested repeating values. I want to create 100 objects with an ID, Name, and Code. The Id is incremented from 0 to 99, but the Code (pr...

1 answer  ·  posted 1y ago by mcalex‭  ·  last activity 1y ago by __blackjack__‭

Question json loop
66%
+2 −0
Q&A How to prevent Visual Studio Code from opening an extra blank window?

I was able to fix this by deleting the ~/.config/VSCode/Workspaces folder. To figure this out, I: Backed up my VSCode folder to /var/tmp Deleted ~/.config/VSCode, after this VS Code stopped ...

posted 1y ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How can I return XML from BeforeSendRequest and AfterReceiveReply to the calling method in a thread-safe way?

We have a console application using the Azure WebJob SDK. The WebJob relies on a WCF service using SOAP, which it accesses through a DLL we wrote that wraps the auto-generated WCF types in somethin...

1 answer  ·  posted 1y ago by Celarix‭  ·  edited 1y ago by Alexei‭

66%
+2 −0
Q&A Are there other reasons why useEffect might not be defined apart from not importing it?

You need import all functions from the React library that you use. Add import {useEffect, useState} from 'react' to your file.

posted 1y ago by jmathew‭

Answer
66%
+2 −0
Meta Should I post a link to the Github repo for code reviews?

If it's so large that you must link the repo rather than reposting code, I think it is too large to reasonably expect anyone to review. Bored people will read a couple dozen lines, and point out a ...

posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A "Move symbol" refactor for Python in Visual Studio Codium

Is there a way to add support for "move symbol" in Python code for VS Codium? PyCharm can do this, but I am looking for a VSC solution. PyLance can do this, but PyLance itself is closed source, a...

0 answers  ·  posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

66%
+2 −0
Meta To transfer, or not to, that is the question: whether 'tis nobler to let it stay or to take arms against Stack Overflow's dominance of FAQ canonicals

Perhaps the best way to deal with your SO content is to note in a comment that the canonical answer is no longer maintained by the canonical author, and / or maybe change your username to "username...

posted 1y ago by ajekb78‭

Answer
66%
+2 −0
Q&A Log4j2 not looking for log4j.properties even with the system property set

I had been using log4j2.12.4 jars. When I switched to log4j2.20.0 jars, log4j2 correctly searched for and found the log4j configuration file.

posted 1y ago by tarhalda‭

Answer
66%
+2 −0
Q&A Log4j2 not looking for log4j.properties even with the system property set

I am migrating an application from Log4j1 to Log4j2 using the API bridge jar. All references to the log4j1.jar have already been removed. I set the system property in Websphere as a JVM argument -...

1 answer  ·  posted 1y ago by tarhalda‭  ·  edited 1y ago by Alexei‭

Question java log4j
66%
+2 −0
Q&A VS Code can't find node installation due to dynamically setting the PATH

I installed Node.js using NVS to manage my node installations. This works great, except that I haven't been able to figure out how to debug using VS Code. When trying to launch, I receive this err...

0 answers  ·  posted 1y ago by Moshi‭

66%
+2 −0
Q&A Redux Toolkit Issue with Managing States

I am all new with using Redux Toolkit, I followed the official documentation to setup the store: // store.ts import { configureStore, ThunkAction, Action, combineReducers } from '@reduxjs/toolkit...

0 answers  ·  posted 1y ago by boudagga.ma94‭

66%
+2 −0
Q&A Maven exec:exec fails to see executables

I am stumped at Maven exec plugin. Running mvn exec:exec -Dexec.executable="curl" (or "echo") works. But when running mvn exec:exec or mvn exec:exec@b (or @a) it fails saying The parameter 'exe...

1 answer  ·  posted 1y ago by LAFK‭  ·  last activity 10mo ago by mirabilos‭

66%
+2 −0
Code Reviews Writing a testable console program

Not using Rust myself I'll add to @InfiniteDissent's answer on: is there a better way to solve this problem altogether? Yes, there is, it's called a golden master test. Legacy code retreat t...

posted 1y ago by LAFK‭

Answer
66%
+2 −0
Q&A Does Snowflake NATURAL JOIN support outer-style join?

I like using NATURAL JOIN in Snowflake, because I find it more elegant than explicit join clauses. However, it appears that the natural join behaves similar to an inner join, in that null values o...

1 answer  ·  posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Question sql join snowflake
66%
+2 −0
Q&A Problems with Google Apps Script API JavaScript "How to... Execute function"

TL;DR: Use the versioned deployment id instead of the script id. After repeating the procedures, step by step multiple times, I tried adding the resource.devMode property to the Apps Script REST...

posted 1y ago by Wicket‭  ·  edited 1y ago by Wicket‭

Answer
66%
+2 −0
Q&A How do I find disjoint sets in a dataset

Your example is a bipartite graph in adjacency list format. The cars are nodes on the left, the people are nodes on the right. When a person "has" a car, there is an edge between the car and person...

posted 1y ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A Can I package a database other than SQLite with a Flutter app?

Flutter supports packaging a SQLite instance with a Flutter app using the Sqflite plugin. I do not like the speed of SQLite or the fact that it does not enforce column datatypes and want to use som...

0 answers  ·  posted 1y ago by tarhalda‭  ·  edited 1y ago by tarhalda‭

Question flutter database
66%
+2 −0
Q&A EF-core Find method doesn't include other entities

What you want would be called DbSet<>.Find() combined with eager loading of the related entities. According to the docs, eager loading is not mentioned and its sole purpose is to easily get a...

posted 2y ago by Alexei‭  ·  edited 1y ago by Sylvester‭

Answer
66%
+2 −0
Q&A How to inject environment configuration values when deploying an Angular application in Kubernetes or similar infrastructure?

I'm not quite sure I see what the issue is. As far as I can tell, you could continue to do exactly what you're doing now, you'd just do the token replacement on the bundle.js when a container is pr...

posted 2y ago by Derek Elkins‭

Answer
66%
+2 −0
Q&A Python Parallel plotting and and input reading

After moving the plotting while loop in the second edit inside with context manager and declaring stop_flag as a global variable inside fetch_input it worked as expected. Lessons learned: Use m...

posted 2y ago by kek‭  ·  edited 2y ago by kek‭

Answer
66%
+2 −0
Meta Deciding if a concept can be materialized to a tag

The sole purpose of tags should be to help classify posts into what they are roughly about. Being able to easily get the broad topic of posts is obviously useful in searches, but may also be usefu...

posted 2y ago by Olin Lathrop‭

Answer