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
 
60%
+1 −0
Q&A Clone .git repo into current dir, without touching files

One way to do it is to simply clone the repo elsewhere and move the .git file to the current one.

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to put text next to my ImageIcon on a cell in a JTable

I have an application that works with a JTable, and in this JTable, I want each cell to have both an ImageIcon and some text. I see at this link, JTable supports ImageIcon OR text, but seemingly n...

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

60%
+1 −0
Q&A How can I schedule a later task in Python?

If systemd-run works for you, that is probably the simplest thing you can do here. Otherwise, you can use os.fork() from within Python to spawn a child that stays alive after the parent exits. If...

posted 1y ago by r~~‭

Answer
60%
+1 −0
Q&A Can't use tf.timestamp() from within @tf.function with XLA / jit_compile=True

I would like to use tf.timestamp() when it is available (eager mode and graph mode without XLA), and use 0. (or a better fallback if there is one) when it is not available (with XLA; @tf.function(j...

0 answers  ·  posted 1y ago by daniel_s‭

60%
+4 −2
Q&A How to speed up MySQL query?

I have a website about vacation villa rentals. Around 800 properties are listed. When i start a search, i get properties with my first query which filters type, style, area, no. of rooms, capacity ...

2 answers  ·  posted 1y ago by erenlerhakan‭  ·  last activity 1y ago by ArtOfCode‭

Question php mysql
60%
+1 −0
Code Reviews JSON log formatter

PEP 8 Four-space indentation is the community standard. There are many strategies for wrapping long lines; I have found that it's often best to just use temporary variables to avoid wrapping lines...

posted 1y ago by Karl Knechtel‭

Answer
60%
+1 −0
Meta Allow tagging answers with tools and version numbers

I asked a question on Meta about allowing tags for answers a while back. You might find the discussion there helpful. I'd still like to do something to support these use cases; it's not clear wha...

posted 1y ago by Monica Cellio‭

Answer
60%
+1 −0
Q&A How to set the cell color to a user defined value using NPOI from F#?

As far as I can tell (from F# at least), cell can only be colored using predefined NPOI.SS.UserModel.IndexedColors. From the available methods / properties, val it: ICellStyle = NPOI.XSSF.UserM...

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

Question f# excel NPOI
60%
+1 −0
Q&A What is the difference between `static let` and `static member` in F#?

Paraphrasing the F# language guide's let Bindings in Classes article: A let binding in a class creates a private field or function; to expose data or functions publicly, declare a property or a...

posted 1y ago by toraritte‭

Answer
60%
+1 −0
Q&A What is the difference between `static let` and `static member` in F#?

Taking the example from this Stackoverflow question: type Vector2D(dx : float, dy : float) = static let zero = Vector2D(0.0, 0.0) static let onex = Vector2D(1.0, 0.0) static let ...

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

Question f#
60%
+1 −0
Q&A What is the purpose of having underscored names and then defining a non-underscored alias to it?

Quoting here the 1999 C standard, as being close enough to "this century" while also being hella old. Source: ISO/IEC 9899:1999 7.19 Input/output <stdio.h> 7.19.1 Introduction 1...

posted 1y ago by aghast‭

Answer
60%
+1 −0
Q&A How to start creating a Giraffe web project and how to serve it?

I have to keep reminding myself that a Giraffe project plugs into the ASP.NET Core pipeline or is itself an ASP.NET Core application , so if I can't find answers to my questions in the Giraff...

posted 11mo ago by toraritte‭

Answer
60%
+1 −0
Q&A How to start creating a Giraffe web project and how to serve it?

Having some trouble with giraffe-template on Mac M1, so decided to set up a Giraffe project manually. Started following the Doing it manually section of the Giraffe README, but got stuck right away...

1 answer  ·  posted 11mo ago by toraritte‭  ·  last activity 11mo ago by toraritte‭

60%
+1 −0
Q&A How to group a flat list of attributes into a nested lists?

You could create a dictionary to map each attribute to its respective list of items. Then you get the dictionary values to create the final list. Something like this: import re pattern = re.comp...

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

Answer
60%
+1 −0
Q&A ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

sudo apt install sdkmanager Solved it for me. And then I had to run this to fix the licensing issues: sudo chmod -R 777 /usr/lib/android-sdk/ sdkmanager --licenses ./gradlew build sudo chmo...

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

Answer
60%
+1 −0
Meta Issue with the Monospace font [duplicate]

I was trying to ask a code review question but I have observed that it does not support the "Monospace font" for code excerpts properly. It is only considered partially and I see this particularly ...

1 answer  ·  posted 12mo ago by aditya98‭  ·  closed as duplicate 11mo ago by Alexei‭

60%
+1 −0
Q&A What are the prefixes like "md:" and "ds:" in SAML metadata?

The prefixes are explained in saml-metadata-2.0-os spec in section 1.1: "Notation" Prefix Explanation saml: This is the SAML V2.0 assertion namespace [SAMLCore]. The prefix is gen...

posted 12mo ago by Iizuki‭  ·  edited 12mo ago by Michael‭

Answer
60%
+1 −0
Q&A How to log first n lines of a stack trace in Java?

Throwable: ... Arrays.stream(throwable.getStackTrace()) .limit(yourIntLimit) .forEach(stackTraceElement -> log.error(stackTraceElement.toString())); ... ...

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

Answer
60%
+1 −0
Q&A How to log first n lines of a stack trace in Java?

How to log first n lines of a stack trace in Java?

2 answers  ·  posted 12mo ago by propatience‭  ·  last activity 12mo ago by hkotsubo‭

60%
+1 −0
Q&A Shortcut for inserting today's date in VS Code

Is there a way to easily insert today's date when editing a file in VS Code?

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

Question vs-code snippet
60%
+1 −0
Q&A How to use Ansible extract filter in map with an external dictionary

Ansible's extract filter is supposedly made for use in map, but at the time of writing the documentation doesn't actually show how to use it together with the map filter. The following outputs VAR...

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

Question ansible
60%
+1 −0
Q&A Alternatives to `EXPLAIN ANALYZE` for queries that won't complete

Note: I have limited experience with PostgreSQL, but extensive experience working with SQL Server, so not everything below might apply to PostgreSQL. I have a large and complex PostgreSQL query ...

posted 1y ago by Alexei‭

Answer
60%
+1 −0
Q&A How to use Ansible extract filter in map with an external dictionary

Turns out I wasn't far off. The dictionary mustn't be quoted. So the following works: - name: Extraction test vars: dictionary: one: 1 two: 2 key_list: - one ...

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

Answer
60%
+1 −0
Q&A How to validate Ansible role dictionary argument's "additionalProperties"

In JSON Schema one can use the additionalProperties key to validate properties whose names are not know. You can still impose restrictions on their type. How to do this in an Ansible role argument...

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

Question ansible
60%
+1 −0
Q&A Optimized representation for sets?

I need to do a lot of calculations involving sets. There are relatively few values in the "universe" of candidates that could appear in any of the sets, but potentially very many such sets (they mi...

1 answer  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Karl Knechtel‭