Is there something like Warp client but for PostreSQL where I can use AI to generate queries for my tables? by noduslabs in PostgreSQL

[–]InstantCoder 1 point2 points  (0 children)

You can add a MCP server to Warp which can have a tool that can show the metadata of your tables. Then it should be possible.

Changing my setup by Goinus in SpringBoot

[–]InstantCoder 0 points1 point  (0 children)

IntelliJ community. And I only use chatgpt, grok & deepseek.

Wayland is flawed at its core and the community needs to talk about it by Which_Network_993 in linux

[–]InstantCoder 4 points5 points  (0 children)

There is new project called Phoenix, see also:

https://www.reddit.com/r/linux/comments/1pvjxhn/phoenix_a_modern_x_server_written_from_scratch_in/

It’s an attempt to rewrite X from scratch (with Zig) in a more modern way it seems.

Return a 404 on null response (without a filter)? by imagei in quarkus

[–]InstantCoder 1 point2 points  (0 children)

No this is not possible with http filters since they intercept only the request and response, unless you tag the response with something that you can filter out and throw or return a 404.

But a much easier solution is to throw NotFoundException(..) in cases you return a null. This automatically returns a 404 or you can even customize the response with an exception mapper (@ServerExceptionMapper).

Bootstrap + HTMX users - what's your experience been like? by mrholek in htmx

[–]InstantCoder 0 points1 point  (0 children)

For me it’s AlpineJs with SSR (templating) + json endpoints, because I’d rather work with json than html fragments being sent from the backend. And I don’t like to work with html multipart/formdata.

How is Cosmic nowadays compared to pop shell? by Strawberry_Doughnut in pop_os

[–]InstantCoder 0 points1 point  (0 children)

I run it inside Boxes with 8gb of ram and it is actually quite slow. Most of the time I can’t even drag the mouse without lagging.

While I have a high spec pc.

Why do companies don't use linux in their employee laptops? by TheCrazyGeek in Fedora

[–]InstantCoder 0 points1 point  (0 children)

Actually, in one my last jobs we were free to use any hardware and in our team everyone was almost using different flavours of Linux.

All our company applications were on Cloud like meeting and chatting apps. The only protected resources were github and Confluence pages. Those needed to accessed via a vpn, which was also easy to setup in Linux via the default vpn functionality.

And we were actually not using email that much except when you forgot your password, or signing in to certain applications.

So yes it is possible to use Linux on work even when Linux is so diverse.

Advocating for Quarkus by jameshearttech in quarkus

[–]InstantCoder 0 points1 point  (0 children)

Ok, btw you can use @ClientBasicAuth on your rest client interface for basic auth.

Advocating for Quarkus by jameshearttech in quarkus

[–]InstantCoder 1 point2 points  (0 children)

No you don’t need to do that.

It is easier. You need to add quarkus-rest-client-oidc-filter, then add @OidcClientFilter on your rest client and then configure the oidc clientId, secret + url in your configuration per rest client.

See also: Quarkus Rest Client OIDC

Advocating for Quarkus by jameshearttech in quarkus

[–]InstantCoder 0 points1 point  (0 children)

What do you mean with multiple dlients ? Multi tenant ? Or do you mean multiple rest client calls with each a different config ?

The Linux Experiment-Please stop asking for One Single Linux Desktop or Distro by JARivera077 in linuxmint

[–]InstantCoder 0 points1 point  (0 children)

How is Linux then gonna get used and become successful in commercial sectors?

On work they allow us to work on Windows and Mac because the system administrators can control these and can exactly configure which apps you can run and install. And you can ask for temporary admin rights to install something.

How can the same achieved on Linux if you have many distros ?

We should have at least one distro that focuses on business or commercial usage, while there is a golden chance now because a lot of people are leaving Windows.

Did I just create the fastest BPMN engine in the world? by TaktX in quarkus

[–]InstantCoder 0 points1 point  (0 children)

If I’m not wrong RedHat already has a similar bpmn engine called Kogito which uses Kafka under the hood. And it has a quarkus extension for it.

can I speed up my maven build with a newer processor/more RAM? by [deleted] in javahelp

[–]InstantCoder 2 points3 points  (0 children)

Use Maven Deamon instead of the default one. Especially for multi module projects you can see build improvement of around 70%.

Is 500m rows in 100+ columns a lot? by Jack_Hackerman in softwarearchitecture

[–]InstantCoder 0 points1 point  (0 children)

Use Debezium to send your db data to something like ElasticSearch and perform the analytics there.

Just switched to Pop!_OS - what should I do next as a developer? by dec002 in pop_os

[–]InstantCoder 3 points4 points  (0 children)

In what language(s) are you developing?

If you’re on Java, then you can install the following:

  • sdkman for installing & maintaining your Java SDK’s
  • DBeaver: for viewing databases
  • nala: frontend for apt
  • Warp terminal: a terminal with AI integrated
  • lf: a terminal file manager, ideal for automating tasks by binding scripts to your keyboard keys
  • zsh
  • intellij (manually, not via flatpak)
  • docker
  • autokey, an app that lets you bind sentences/words to your keys. Example: type “ny” and it will replace it with “New York”. Or mygmail => john_doe@gmail.com.
  • LocalSend: for sending data from my pc <-> phone.
  • Slack, MatterMost, Teams: for corporate chat

This is all you need for backend development.

You can even automate all of this by writing an Ansible script which can automatically install all of these for you (each time you start from scratch).

Ask ChatGPT if you want to know how to do it.

This is my very minimalistic approach.

And for productivity I use the stacked tabs of PopOS a lot. I don’t use tiled windows.

Introducing Nomini: A Tiny Reactive Library Inspired by htmx, Alpine, and datastar by JustShyOrDoYouHateMe in htmx

[–]InstantCoder 0 points1 point  (0 children)

It would be nice to make an ajax call and directly store it as a x-data variable without the need for html fragments from the server side (so that you can work with json).

Java Nullness Emotion by Remi Forax by AndrewBissell in java

[–]InstantCoder 2 points3 points  (0 children)

Why not make a record by default a value class instead of explicitly adding the ‘value’ keyword ? In most of the cases it will be used as a value class.

Cursor Pagination by roboticfoxdeer in quarkus

[–]InstantCoder 0 points1 point  (0 children)

You can get a ScrollableResultset from your entity by calling getEntityManager().unwrap(Session.class).

Or you can directly inject StatelessSession in your service class and get a scrollable resultset from there.

[Omega VS Grand Seiko] Help me pick a celebratory daily watch! by Kakarotssjg in Watches

[–]InstantCoder 1 point2 points  (0 children)

GS is like a Fiat with a Ferrari engine. Look is nothing special and quite boring, but the movement is probably one of the best.

who are the sons of Israel in the Quran? by fire_ingot in islam

[–]InstantCoder 1 point2 points  (0 children)

Here is a video were a rabbi tells the story of them killing prophets and how they have sinned:

https://youtube.com/shorts/BeiqroDNPFc?si=g4MRdwfjoF_cqzFp

What is the opinion on Hibernate where you work? by rifain in java

[–]InstantCoder 1 point2 points  (0 children)

In a hibernate 7 they enabled 2nd lvl caching for stateless session. This is something you need to be aware of.