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
 
50%
+0 −0
Q&A How to prevent Visual Studio Code from opening an extra blank window?

I've not seen the problem myself, but I did find a mention of the "workbench.editor.enablePreview" setting possibly influencing this. Can you try setting this to false, and see if it makes a diffe...

posted 1y ago by jcarr‭

Answer
50%
+0 −0
Q&A Library that is platform-specific via selective compilation?

The general mechanism you describe has been in use since there were cross-compilers and libraries that were meant to provide the same application interface on different platforms. Your specific ex...

posted 1y ago by Olin Lathrop‭

Answer
50%
+0 −0
Q&A Queries to count points lying on arbitrary line

Since you didn't mention memory, I'll assume O(N^2) is acceptable. Setup pseudocode: for every p1, p2: ln = line(p1, p2) points_on_line[ln.m, ln.c] += [p1, p2] If there are at least ...

posted 1y ago by matthewsnyder‭

Answer
50%
+1 −1
Q&A How to migrate after SQLalchemy schema changes?

When I set up my object mappings with SQLalchemy, everything works well enough. It even creates the tables for me if they don't exist. However, if I decide to add/remove columns (aka fields) from ...

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

50%
+0 −0
Q&A How to move Rancher Desktop virtual disk file to another location?

I am using Rancher Desktop as an alternative to Docker Desktop. After using docker for a while I have noticed that C:\Users\user\AppData\Local\Docker\wsl\data\ext4.vhdx has grown quite a bit (20GB+...

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

50%
+0 −0
Q&A How to move Rancher Desktop virtual disk file to another location?

It seems that the file can be moved if rancher data is exported unregistered from WSL and reimported in a new location. The process is very similar to the one used for Docker Desktop. Example for ...

posted 1y ago by Alexei‭

Answer
50%
+0 −0
Meta interface and interface-type tags

Yes, I have added that tag. I tried to create a tag to match the "interface when working with objects" concept. I am not happy with interface-type because it suggests typeof(ISomeInterface), but I...

posted 2y ago by Alexei‭

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

Note: this is mainly based on Build your Angular App Once, Deploy Anywhere article. Read this article, especially the drawbacks section. The basic idea is to create and read a configuration file t...

posted 2y ago by Alexei‭

Answer
50%
+1 −1
Q&A Rest service doesn't find @GET Method (Jersey Rest service in Gradle).

I have to implement a JSON based REST web service for querying literature. Ordinary users should be able to query data and process it in their clients. The "main user" can adapt database entries vi...

0 answers  ·  posted 2y ago by Gagamelius‭  ·  edited 2y ago by Alexei‭

50%
+0 −0
Q&A How to compress columns of dataframe by function

Conceptually, applying a function along an axis of a DataFrame (i.e., applying it to each row or column) inherently produces a Series: a two-dimensional result is collapsed to a one-dimensional res...

posted 1y ago by Karl Knechtel‭

Answer
50%
+0 −0
Q&A How to compress columns of dataframe by function

Since pandas uses numpy for these computations under the hood, I would have suggested to use df.mean(keepdims=True), but apparently this has been explicitly disabled by pandas. However, after look...

posted 1y ago by mr Tsjolder‭  ·  edited 1y ago by mr Tsjolder‭

Answer
50%
+1 −1
Q&A How to resolve a "ValueError: dimension 't' already exists as a scalar variable" arising when I am using xarray.Dataset.assign_coords()?

I have the following xarray Dataset: d: <xarray.Dataset> Dimensions: (x: 79, y: 63, t: 1) Coordinates: * x (x) float64 0.9412 1.882 2.824 3.765 ... 71.53 72.47 73.41 74.35 * ...

1 answer  ·  posted 1y ago by Ivan Nepomnyashchikh‭  ·  last activity 1y ago by mr Tsjolder‭

Question python xarray
50%
+1 −1
Meta On self-answered questions, is it inappropriate to mark my own answer "Works for me" immediately?

On the contrary, I think that it is appropriate and recommended practice. That way you (the poster of the question) can pick your own answer as the "official" one, since these post often (ought to...

posted 1y ago by Lundin‭

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

Snowflake's NATURAL JOIN follows the SQL standard in that it is simply an (inner) equi-join with implied column names. (This is discouraged as it's safer and clearer to just explicitly write the jo...

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

Answer
50%
+2 −2
Q&A Slicing a dictionary using a string variable

I am working on adding uncertainty to some of my dynamics within a larger Monte Carlo simulation. As a way to perform multiple operations on each value, I decided to make and use a new function to ...

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

Question python
50%
+1 −1
Meta The way I tried to mark up code did not work. What is the right way to do it?

The way I tried to mark up code did not work. What is the right way to do it? The line break after the first signal is ignored. Some languages use a hash as a comment. Here, it bolds the line, ac...

1 answer  ·  posted 12mo ago by TecBrat‭  ·  last activity 12mo ago by TecBrat‭

50%
+0 −0
Q&A Escape both reserved characters and curly braces in a URI in Spring Boot

We ended up using the old java.net.URLEncoder . More specifically, we used URLEncoder.encode(string, Charsets.UTF_8). We use it to encode the values for the query parameter, and then build a URL ...

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

Answer
50%
+1 −1
Q&A Angular Testing fails with Service.method is not a function

I'm trying to write a spec test for a (correctly working) Angular component, but it errors when calling a service method with: TypeError: _this.myService.getSomeData is not a function The service...

0 answers  ·  posted 1y ago by mcalex‭

Question angular this testing
50%
+1 −1
Q&A Running a bash command with a Key Combination in Gnome [closed]

Is there a way in Ubuntu to run a given bash command for a given Key combination in Gnome (42.9)? I run an Ubuntu in Hyper-V and after a while the normal Keyboard layout change doesn't work (maybe...

0 answers  ·  posted 1y ago by Arpad Horvath‭  ·  closed 1y ago by Alexei‭

Question linux gnome
50%
+0 −0
Q&A Which .NET project can programmatically validate a cell's value out of the box based on Excel data validation constraints?

Here's a list of popular Excel .NET projects that don't have this functionality: Has built-in cell validation? Open XML SDK no* NPOI no* EPPlus no? (see section 3. be...

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

Answer
50%
+0 −0
Q&A Drop-down values in Excel cells are not specified in Data Validation rules and global search didn't find them in workbook, so where do they come from?

It took a day and a half, but found it: 1. LEFT column's valid values, Assessed and Pending Started with the left column, because if it is not set, then the right column is "inactive", so it clea...

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

Answer
50%
+0 −0
Q&A How do I get the min/max axis values in Chart.js?

I'd like to get the minimum and maximum values of the axes on a Chart.js 4.4.0 plot. When the plot is created, these values must be calculated somewhere. However, reading through the Chart.js doc...

1 answer  ·  posted 1y ago by CavanWright‭  ·  last activity 1y ago by Ullallulloo‭

Question chart.js
50%
+0 −0
Q&A What is a Crossfilter group?

From reading about the Crossfilter data manipulation library for JavaScript, I take it that "groups" are an important concept in its operation. However, the Crossfilter documentation does not ever...

0 answers  ·  posted 1y ago by CavanWright‭

Question crossfilter
50%
+1 −1
Q&A Best practices to write functions for both execution modes in Tensorflow, eager and graph mode

Tensorflow functions should typically work on both eager and graph tensors. This means that you can just use the following implementation: def lin_to_db(x: float | tf.Tensor) -> tf.Tensor: ...

posted 1y ago by mr Tsjolder‭

Answer
50%
+0 −0
Q&A Best practices to write functions for both execution modes in Tensorflow, eager and graph mode

I regularly run into the problem that I have a Python function that I want to use in both, eager and graph execution mode. I therefore have to adjust the code so that it can handle both situations....

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