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.

Activity for ɯıpɐʌ‭

Type On... Excerpt Status Date
Edit Post #292653 Post edited:
about 2 months ago
Edit Post #292653 Initial revision about 2 months ago
Answer A: Json deserialization of enum, forbid int
This is something that could go really wrong. I remember using this, and it was fine initially, until the `enum` in question evolved, and the ordinals changed, so the values didn't correspond anymore to what the initial assumption was. Anyway, long story short, if you would like to prevent this sy...
(more)
about 2 months ago
Edit Post #292647 Post edited:
Udate the question to include examples of SQL scripts
about 2 months ago
Comment Post #292647 Indeed. I'll update the question to make this clear — I forgot to mention it and it's an important point.
(more)
about 2 months ago
Edit Post #292647 Initial revision about 2 months ago
Question SQL scripts referenced in persistence configuration must have each statement on its own line
I'm currently working on a Java application using `Jakarta Persistence` with `EclipseLink` and `PostgreSQL`. While setting up the application to test the database layer, the persistence configuration is done in such way to automatically create and initialize the database: ```xml ...
(more)
about 2 months ago
Edit Post #292547 Initial revision 2 months ago
Answer A: Map<?, Optional<T>> to Map<?, T>
Using `Optional` as a value in a `Map` will lead you to unnecessary complexity and confusion — as you can see. The primary intention of `Optional` is to serve as a return type, indicating that a value may or may not be present. To achieve what you are looking for, you need to unwrap the values:...
(more)
2 months ago
Edit Post #292479 Initial revision 2 months ago
Question Why is package.json needed for running a SvelteKit application?
I'm trying to containerize a SvelteKit application that uses the `@sveltejs/adapter-node`. The `Build and Deploy` section from the documentation recommends to build the application, and then run the application with: - the output sub-directory (`build`) - the `nodemodules` sub-directory - `pa...
(more)
2 months ago
Edit Post #292319 Initial revision 3 months ago
Question Spring Boot application not excluding Jdbi bean when running tests using WebFluxTest
I have a simple Spring Boot 3.x reactive application that exposes a RESTful API. The application uses Jdbi in the persistence layer, and the configuration for Jdbi is straightforward: ```java @EnableTransactionManagement @Configuration(proxyBeanMethods = false) @EnableJdbiRepositories(basePacka...
(more)
3 months ago
Comment Post #291880 I've tried that as well but I get a different error message. The original import (with the `.js` in the end) works fine in a Parcel project that I have. I'm guessing this issue may be because of Vite or Svelte/SvelteKit.
(more)
5 months ago
Edit Post #291880 Initial revision 5 months ago
Question Cannot use import statement outside a module when integrating Carbon Design System (Web Components) in Svelte
I'm working on a Svelte web application. The issue I'm having is when I'm trying to integrate the Carbon Web Components module. I installed the module using `npm install --save @carbon/web-components` — and generated the SvelteKit application using the default method (`npm create svelte@latest my-app...
(more)
5 months ago
Edit Post #291501 Initial revision 6 months ago
Answer A: Check if a file exists in Node.js
You can check if a file exists using the `fs` module. Besides the methods already mentioned, you can use `fs.stat(path[, options], callback)` [^1]. It's also asynchronous, and the callback returns two arguments `(err, stats)`. ```javascript import { stat } from "node:fs"; stat("/path/to/fil...
(more)
6 months ago