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.3k posts
 
50%
+0 −0
Q&A Should a salt be stored in the same database as the hash?

With bcrypt, the salt is stored in the same string as the hash. This is done so that you have everything you need to get that hash identifier if you know the password.[1] Wikipedia breaks down the ...

posted 4mo ago by Michael‭

Answer
22%
+0 −5
Q&A How to Select From Multiple images to display main product image? [closed]

Below are the links to code for my project. HTML CSS JavaScript I have created Magnifying Image which was successful now I am trying to add multiple images which can be display in main produc...

0 answers  ·  posted 4mo ago by abhishek27suvarna‭  ·  edited 2mo ago by CPlus‭

Question javascript html css
71%
+3 −0
Q&A Is it possible to obtain the unlock code from an unlocked Android device via the Android API or the developer command line tools?

I have an Android 10 device where the OS is unlocked but the bootloader is not. I can't obtain the unlock code through the normal channels because of bureaucratic incompetence. Given that the devi...

0 answers  ·  posted 4mo ago by Kevin Krumwiede‭  ·  edited 4mo ago by Alexei‭

Question android android-10
66%
+2 −0
Q&A What is the purpose of having a wrapper class for JarFile in Spring-boot-loader?

My question relates to Spring-boot-loader v2.6.15. For the purposes of this question, I will refer to Spring's custom JarFile class as CustomJarFile to avoid confusion. Context I am reusing so...

1 answer  ·  posted 4mo ago by Miss Skooter‭  ·  last activity 3mo ago by Miss Skooter‭

84%
+9 −0
Q&A How can one import two classes with the same name in Java8?

While other JVM languages, such as Groovy, Kotlin and Scala have Python-like import aliasing, Java does not. It's not possible to 're-name' imports, however, when you call a class from a package, ...

posted 4mo ago by tarhalda‭  ·  edited 3mo ago by tmpod‭

Answer
77%
+5 −0
Q&A How can one import two classes with the same name in Java8?

Some development tools provide an error message when a user tries to import two things (classes, packages) with the same name. Some programming languages offer a syntax to import one of those thing...

2 answers  ·  posted 4mo ago by tarhalda‭  ·  last activity 1mo ago by Michael‭

Question java java-8
60%
+1 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

According to my reading of the JSON Schema Spec, the answer is no. required array can contain elements which are not in the properties dictionary. The example schema in question seems to be valid....

posted 4mo ago by Iizuki‭  ·  edited 4mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

In a JSON schema, do the required properties need to be a subset of properties? E.g. is this a valid schema, even though cookies isn't mentioned in properties? { "type": "object", "properti...

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

Question json json-schema
80%
+6 −0
Q&A Git apply vs git am

Each of them has an analog to another Git command. But instead of objects in the repository, these take text file(s) created either by you or someone else. git apply Think of this as Applying a g...

posted 4mo ago by Michael‭  ·  edited 4mo ago by Michael‭

Answer
80%
+6 −0
Q&A Git apply vs git am

What are the differences between git apply and git am commands? Both seem to be used for applying patches to repositories. When should one be used over the other?

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Michael‭

Question git
66%
+2 −0
Code Reviews Detecting balanced parentheses in Python

Command-line timing Rather than using separate code for timing, I tried running the timeit module as a command-line tool. I wrote initial versions of the implementations based on the OP and hkotsu...

posted 4mo ago by Karl Knechtel‭

Answer
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 4mo ago by Karl Knechtel‭

Answer
71%
+3 −0
Q&A How to troubleshoot ModuleNotFoundError?

Root cause ModuleNotFoundError is a kind of ImportError. It occurs when Python code tries to use an absolute import, but can't find the named module - just as the name suggests. (Failed relative i...

posted 4mo ago by Karl Knechtel‭  ·  edited 4mo ago by Karl Knechtel‭

Answer
50%
+0 −0
Q&A What is a "sealed" type in F# and why doesn't the type test pattern operator (:?) work on it out of the `box`?

The F# language guide (see Signatures article) has a very sparse definition of what a "sealed" type is: Attribute Description [<Sealed>] For a type that has no abstract me...

0 answers  ·  posted 4mo ago by toraritte‭  ·  edited 4mo ago by toraritte‭

Question f#
50%
+0 −0
Q&A How to change the color of a cell to a user defined value while keeping its existing style using NPOI from F#?

Solved this by writing my own clone function: open System.Reflection let cloneCellStyle (cell: NPOI.XSSF.UserModel.XSSFCell) = let original = cell.CellStyle // printfn "ORIGINAL: %A"...

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

Answer
50%
+0 −0
Q&A How to change the color of a cell to a user defined value while keeping its existing style using NPOI from F#?

The answer provided in the How to set the cell color to a user defined value using NPOI from F#? thread solves the problem of how to set the right properties using F#, but it uses a new ICellStyle ...

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

Question f# excel NPOI
50%
+0 −0
Q&A How to set the cell color to a user defined value using NPOI from F#?

I failed to notice that a cell's CellStyle property returns the generic ICellStyle, which has to be cast down to NPOI.XSSF.UserModel.XSSFCellStyle in order to gain access to the FillBackgroundXSSFC...

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

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 4mo ago by toraritte‭  ·  last activity 4mo ago by toraritte‭

Question f# excel NPOI
66%
+2 −0
Q&A How to troubleshoot ModuleNotFoundError?

ModuleNotFoundError means that in running your program, Python attempted to import some module xyz but it was not present on your system. It could be that you forgot to install the module (forgot ...

posted 4mo ago by matthewsnyder‭  ·  edited 4mo ago by Karl Knechtel‭

Answer
75%
+4 −0
Q&A How to troubleshoot ModuleNotFoundError?

I ran some Python code and it crashed with ModuleNotFoundError. What is the general approach for dealing with these situations?

2 answers  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 4mo ago by Karl Knechtel‭

Question import python-3
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 4mo 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 4mo ago by toraritte‭  ·  last activity 4mo ago by toraritte‭

Question f#
50%
+0 −0
Q&A Does Socket.AcceptAsync throw SocketException for any transient reason?

The source code for the Socket.AcceptAsync class seems to be this one. The relevant code (the one related to exceptions being raised) is the following: private bool AcceptAsync(SocketAsyncEventAr...

posted 4mo ago by Alexei‭

Answer
50%
+0 −0
Q&A Does Socket.AcceptAsync throw SocketException for any transient reason?

I'm writing exception handling around a call to Socket.AcceptAsync in a loop. One of the exceptions it's documented to throw is SocketException, but the documentation is vague: An error occurred...

1 answer  ·  posted 4mo ago by Kevin Krumwiede‭  ·  last activity 4mo ago by Alexei‭

Question c# sockets
33%
+0 −2
Q&A module not found error, I need this speech directory for this project to work. [closed]

--- Here is the error message. Traceback (most recent call last): File "c:\Users\19185\Documents\GitHub\Chatty\Chatty\one_.py", line 3, in import azure.cognitiveservices.speech as speechsdk Mo...

0 answers  ·  posted 4mo ago by KunningFox‭  ·  closed 4mo ago by Alexei‭

Question python-3