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 |
---|---|---|---|---|
Comment | Post #293542 |
That would have been my preference, but the reality is that many organizations today operate on a polyglot platform. The use of multiple programming languages and frameworks complicates the development process even further — and unfortunately, this is the case for this platform. (more) |
— | 17 days ago |
Edit | Post #293539 | Initial revision | — | 17 days ago |
Question | — |
Best practices for designing a central gateway/hub for microservices communication I'm currently working on an architecture for a microservices-based platform and I would like to get some feedback in this regard — best way to handle integrations between the internal microservices and external services. Current Approach Currently, each microservice integrates directly with the... (more) |
— | 17 days ago |
Edit | Post #293412 |
Post edited: Clarify guidance for preventing the re-run of successful jobs in a given pipeline |
— | about 1 month ago |
Comment | Post #293412 |
That's correct — those are the workflows. However, the third option is not allowed because it overlaps with the second one.
But the question is more general, and not tied to any workflow in particular. I'm just looking for a built-in option to disable or prevent a specific job from running again a... (more) |
— | about 1 month ago |
Comment | Post #293412 |
This may be different for each team, but in my case, specifically regarding applications and services, each commit represents a significant piece of work and serves as a release candidate. When these commits are finally merged into the `main` branch, each will be treated as a potential release.
Th... (more) |
— | about 1 month ago |
Edit | Post #293412 | Initial revision | — | about 1 month ago |
Question | — |
How to disable jobs in GitLab CI after they are successfully executed I'm working with GitLab CI. The pipelines I'm designing contain several jobs that, once executed successfully, there shouldn't be any reason to retry/rerun them. This is an example: ```yaml default: # Cache set up image: docker.io/library/eclipse-temurin:21-jdk-alpine stages: - verifi... (more) |
— | about 1 month ago |
Edit | Post #293337 | Initial revision | — | about 2 months ago |
Question | — |
Labels and annotations not merging for specific resources in overlays I'm trying to implement bases and overlays for some Kubernetes configurations that I have, but I'm running into an issue where labels and annotations are not being applied correctly to some specific resource files. Basically, I have a base configuration consisting of `configmap.yaml`, `service.yam... (more) |
— | about 2 months ago |
Edit | Post #293158 | Initial revision | — | 3 months ago |
Question | — |
Unable to configure enhanced route discovery in Apache Camel I'm currently working with Apache Camel in a Quarkus application. I would like to configure the application to not discover any routes by default, and only include those defined in specific packages using the `include-patterns` configuration. ```yaml quarkus: camel: routes-discovery: ... (more) |
— | 3 months ago |
Edit | Post #293134 | Initial revision | — | 3 months ago |
Question | — |
How to do function composition in Spring Cloud Stream when using classes I'm working on a proof of concept for a Spring Cloud Stream application. I want to define my processing logic using classes that implement `Function`, `Consumer`, or `Supplier`. I understand that Spring Cloud Stream allows for function composition using function beans, and declaring them with `spr... (more) |
— | 3 months ago |
Edit | Post #292653 |
Post edited: |
— | 6 months ago |
Edit | Post #292653 | Initial revision | — | 6 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) |
— | 6 months ago |
Edit | Post #292647 |
Post edited: Udate the question to include examples of SQL scripts |
— | 6 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) |
— | 6 months ago |
Edit | Post #292647 | Initial revision | — | 6 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) |
— | 6 months ago |
Edit | Post #292547 | Initial revision | — | 7 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) |
— | 7 months ago |
Edit | Post #292479 | Initial revision | — | 7 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) |
— | 7 months ago |
Edit | Post #292319 | Initial revision | — | 7 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) |
— | 7 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) |
— | 9 months ago |
Edit | Post #291880 | Initial revision | — | 9 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) |
— | 9 months ago |
Edit | Post #291501 | Initial revision | — | 10 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) |
— | 10 months ago |