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
 
50%
+1 −1
Q&A Should I cast to (void) when I do not use the return value

I saw at least one compiler (Codewarrior for HC12) warn me if I use a function without using it's return value. [...] Ye, for that's the right choice. [...] Other compilers (clang/gcc) do not is...

posted 4y ago by .                                                .‭

Answer
50%
+0 −0
Q&A A Conditional Formatting formula rule expected to apply to all cells is only affecting some

A very recently asked Q on Web Applications has no answer yet (and, in my opinion, is so badly written may not receive an answer at all promptly). However it does seem (in my interpretation) to rai...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question conditional-formatting google-sheets spreadsheet-formula
50%
+0 −0
Q&A Copy a sparse matrix with removal of blanks

A user of Web Applications gave the following as an example: https://docs.google.com/spreadsheets/d/1nPTBFXaIgpruPgNoWFSBUL2yKaibjeNJNExhnHVr8LE/edit#gid=0 and asked: How do I read a long ro...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question google-sheets spreadsheet-formula
50%
+0 −0
Q&A Merge a pair of columns where in each row one is blank, without a formula

A Q on Stack Overflow asks how to merge two columns where each row has only one populated cell. The example was from (on the left) to (on the right): a|b a 0| ...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question excel merge
50%
+2 −2
Q&A Conditionally format a pair of columns

A user of Web Applications asked "How should I fix the formula?" with reference to: =IF($K4<2,$K4) applied as a Conditional Formatting [CF] formula to J4:J8, where the desired (green fill) f...

1 answer  ·  posted 4y ago by pnuts‭  ·  edited 2y ago by Wicket‭

Question conditional-formatting google-sheets spreadsheet-formula
50%
+0 −0
Q&A TRUE/FALSE flags for alternating colouring by group

For use in connection with conditional formatting with alternating coloured fills in OpenOffice Calc, several years ago a user of Super User was applying this Ruby script: f = File.readlines("sha...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question openoffice-calc spreadsheet-formula
50%
+2 −2
Meta Community feedback: What type of questions can I ask here?

On-topic questions about best practices as long as enough detail is provided to answer using external references or expertise consensus I propose that this should be re-phrased: On-topic non-...

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

Answer
50%
+2 −2
Meta Site scope - draft proposal

Based on this proposal, I have created a designated section within the Help section: What type of questions can I ask here? This can evolve over time based on feedback provided by the community.

posted 4y ago by Alexei‭

Answer
50%
+0 −0
Q&A In a column, set populated cells to 1 and empty cells to 0

In an as yet unanswered Q from early this year a user of Stack Overflow asked: how to fill all non-empty cells of a column by 1 and the empty cells by 0. It's an xlsx file open with LibreOffice ...

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

Question libreoffice-calc spreadsheet-formula
50%
+1 −1
Meta Site scope - draft proposal

Questions with artificial requirements that have no practical use, including code obfuscation and code golf Questions with no practical use can and have always existed in some way. I could be pro...

posted 4y ago by Razetime‭

Answer
50%
+0 −0
Q&A Loss of precision when concatenating an exchange rate with a string

In response to a Q on Web Applications [WA] the asker self-answered with: =CONCATENATE("@ £/€ rate: ",text(J21,"0.00000")) The issue was that, with "in a cell J21 I have a set value 1.10000":. ...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

Question google-sheets concatenation spreadsheet-formula
50%
+2 −2
Q&A Mocking tempnam() with vfsstream

How do I mock tempnam() with vfsStream for code that uses it to create temporary files (for example, in a PHPUnit test)?

1 answer  ·  posted 4y ago by tyteen4a03‭  ·  last activity 4y ago by summea‭

Question php unit-testing mocking vfsstream
50%
+0 −0
Q&A STM32: read data in device sent by host over USB HID

In an STM32CubeIDE USB HID project for an STM32F103C8 board I can send data from the device to the host using the USBD_HID_SendReport() function, like so: USBD_HID_SendReport(&hUsbDeviceFS, (u...

0 answers  ·  posted 8mo ago by etale_cohomology‭

Question usb usb-hid stm32 libusb
50%
+0 −0
Q&A How to establish a relationship between HTML elements (tags)? (i.e., how can one element refer to another one)

I wouldn't try to create another single document from this. I'd rather create one document per version, store it along with the version date and provide means to show diffs between versions. Any W...

posted 8mo ago by GeraldS‭

Answer
50%
+0 −0
Code Reviews Github workflow for a C application

I don't see much duplication in your workflow file here. Is there a lot of boilerplate? Yes, but I believe that's expected for CI/CD workflow definitions and a result of using the workflow being d...

posted 8mo ago by zmzaps‭

Answer
50%
+0 −0
Q&A Why does Pip display "error: externally-managed-environment", and what can I do about it?

tl;dr: There's a few ways to bypass this: For all users on the machine: Get rid of /usr/lib/python3.foo/EXTERNALLY-MANAGED. To prevent your package manager from adding it back, replace it with a...

posted 9mo ago by matthewsnyder‭  ·  edited 9mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A ArgumentError: could not find a temporary directory

Hello, I am trying to build a docker image for contributing to the devdocs repository, however I am failing to get past the thor docs:download --all command. It fails with the below error: . is w...

1 answer  ·  posted 9mo ago by zmzaps‭  ·  last activity 9mo ago by zmzaps‭

Question ruby docker dev-container
50%
+0 −0
Q&A Why can't I run freshly-installed Python from the command line on Windows?

I tried installing Python on an old computer running Windows 8[1]. I know for a fact that there was never any previous installation of Python on the machine. The installation appeared to be success...

1 answer  ·  posted 10mo ago by Karl Knechtel‭  ·  last activity 10mo ago by Karl Knechtel‭

Question python windows installation command-line-interface
50%
+0 −0
Q&A How to make Box drive have the files prepared for access when I need it?

I have Box drive on Windows. I use it as a regular folder on the computer. I can store images there. When I store a small number of images (on the order of a couple hundreds) and I do not wait lon...

2 answers  ·  posted 9mo ago by Ivan Nepomnyashchikh‭  ·  last activity 1d ago by Preginund‭

Question python windows box-drive
50%
+0 −0
Q&A How to make Box drive have the files prepared for access when I need it?

A probable solution. I suspect, I have identified the culprit. It turns out that Box drive limits the number of characters the full file path can have. Note, not usual limit of 256 characters in t...

posted 9mo ago by Ivan Nepomnyashchikh‭  ·  edited 9mo ago by Ivan Nepomnyashchikh‭

Answer
50%
+0 −0
Q&A How to get conditional running cumulative sum based on current row and previous rows?

Use a collect_list collecting the values from all preceding rows up to the current row into a struct Then filter on that struct based on its value and the current row's threshold Use aggregate ...

posted 9mo ago by congusbongus‭

Answer
50%
+0 −0
Q&A How can I autocomplete variable names in prompts in Cursor?

It is currently not possible to autocomplete variable names in prompts in Cursor (source).

posted 3d ago by Franck Dernoncourt‭

Answer
50%
+0 −0
Q&A When I write and run a prompt in Cursor IDE, what's passed in the context to the model (GPT/Claude/etc.)?

When I write and execute a prompt in Cursor IDE, what specific information is included in the context that gets sent to the underlying language model (such as GPT or Claude)? E.g., does it include ...

0 answers  ·  posted 7h ago by Franck Dernoncourt‭  ·  edited 5h ago by Franck Dernoncourt‭

Question cursor-ai
50%
+0 −0
Q&A Call custom Lua function in Vimscript function

To fix this, create a table in the Lua file, add the function, and return the table: local M = {} function M.say_hello() return "Hello from lua/functions.lua!" end return M

posted 1mo ago by Matthias Braun‭

Answer
50%
+0 −0
Q&A Proguard induced : No enum constants for class while deserializing using jackson

I'm getting the following exception with deserializing a json file using jackson. Any tips on how to fix it? com.fasterxml.jackson.databind.JsonMappingException: No enum constants for class com.dp...

1 answer  ·  posted 1mo ago by Abbas Gadhia‭  ·  edited 1mo ago by Abbas Gadhia‭

Question jackson proguard