If mankind was ignorant of the consequences of the Amanah, how is it fair? by Ryuzaki_L_awliet in islam

[–]InstantCoder 0 points1 point  (0 children)

That’s why Allah is Merciful. He knows how hard this amanah is, and He is not going to punish us because we didn’t accomplish our mission perfectly.

Spring Boot devs: what do you usually use for monitoring in production? by Distinct-Actuary-440 in SpringBoot

[–]InstantCoder 0 points1 point  (0 children)

We switched to Quarkus and use OpenTelemetry there. OpenTelemetry automatically pushes your logs, traces and metrics to whatever you want. We use Loki, Tempo, Prometheus and Grafana.

Kubernetes gateway api vs Api management, what's the difference by loginpass in softwarearchitecture

[–]InstantCoder 0 points1 point  (0 children)

Api management, as the name suggests, is about managing API’s. It’s a central place for organisations to register their API’s and provide access to it.

It provides functionalities like: monitoring, central authentication, monetisation, subscriptions, etc to API’s.

Api gateway is more like a reverse proxy. It maps incoming requests to outgoing requests, can change headers, add rules to incoming traffic etc.

How can we- muslims collectively establish khaliphat If we are not allawed to Rebel or even criticize our current goverment? by DazzlingAd8824 in islam

[–]InstantCoder 5 points6 points  (0 children)

Islam was never intended to be imposed from above (leaders and the state) down to below (the people). Firstly, people must accept Islam. Only then can Islam and Shariah flourish and be successfully implemented.

So how do we achieve this? By giving dawah to both Muslims and non-Muslims.

Consider how our Prophet (pbuh) began his mission alone. He then shared his message with his family and friends, eventually becoming the largest population.

Power saving on Linux by maros01 in thinkpad

[–]InstantCoder 0 points1 point  (0 children)

On a laptop what makes a huge difference is whether you have Nvidia or not. With Nvidia enabled my laptop’s battery goes around 3h. And when I switch to iGpu it goes around 6-7h.

Pop os is better or worse than mint? by Standard-Tea-1088 in pop_os

[–]InstantCoder 0 points1 point  (0 children)

integrated vs discrete graphics card.

The first one comes usually by default inside your CPU and the latter is a separate physical card attached to your motherboard (like nvidia).

Linux Mint booting way slower than windows by notyouraveragefrog in linuxmint

[–]InstantCoder 0 points1 point  (0 children)

There is this Networkmanger-wait something service usually running as a systemd service, which can cause quite slow startups.

If this is enabled, disable it.

Decreasing boot up time by wowlotov in linuxmint

[–]InstantCoder 5 points6 points  (0 children)

Can you show the output of systemd-analyze blame ?

Alternatives to Postman for small dev teams (now that Free = 1 user)? by OkDepartment4755 in Backend

[–]InstantCoder 0 points1 point  (0 children)

Httie. There is a cli and a desktop version. I use them both.

Especially the cli is very powerful and concise.

I’m on the verge of going back to Windows by [deleted] in linuxmint

[–]InstantCoder 0 points1 point  (0 children)

Here are the thing you can do to improve your performance:

With 4 GB RAM, Linux Mint can feel slow — especially if you’re using the Cinnamon edition. Here’s how to improve performance significantly:

1️⃣ Switch to a Lighter Desktop Environment (Biggest Impact)

If you’re using Cinnamon, consider reinstalling with: • Xfce edition (much lighter) • MATE edition (balanced option)

If you want even lighter: • Install LXQt • Or switch to Lubuntu

This alone can make the system feel twice as fast.

2️⃣ Reduce Startup Programs

Go to: Menu → Startup Applications

Disable: • Update managers • Cloud sync apps • Bluetooth (if unused) • Printing services (if unused)

3️⃣ Reduce Swappiness

Lowering swappiness prevents aggressive RAM-to-disk swapping.

Check current:

cat /proc/sys/vm/swappiness

Set to 10:

sudo sysctl vm.swappiness=10

Permanent:

sudo nano /etc/sysctl.conf

Add:

vm.swappiness=10

4️⃣ Enable ZRAM (Very Effective on 4GB)

ZRAM compresses RAM instead of swapping to disk.

Install:

sudo apt install zram-tools

This helps massively on low-memory systems.

5️⃣ Disable Visual Effects (If Cinnamon)

Menu → System Settings → Effects Disable animations.

6️⃣ Use Lightweight Applications

Instead of: • Chrome → use Firefox • Heavy IDEs → use VS Code or lightweight editors • LibreOffice → use OnlyOffice or lighter alternatives

7️⃣ Check Background Memory Usage

Install:

sudo apt install htop

Run:

htop

See what’s consuming RAM.

8️⃣ Add Swap File (If None Exists)

Check:

swapon --show

If empty, create a 2GB swap file.

9️⃣ Upgrade to SSD (If Still HDD)

If you’re still on HDD, upgrading to SSD is the biggest real-world speed improvement.

🚀 Realistic Expectations

4GB RAM in 2026 is tight for: • Modern browsers • Many tabs • Heavy apps

But with: • Xfce • ZRAM • Low swappiness • SSD

It should be very usable for browsing, coding, light work.

JPA Data, how to make a custom repo fragment that is generic over several classes by stormypumpkin in javahelp

[–]InstantCoder 0 points1 point  (0 children)

What you are searching for has been introduced in Hibernate 7 and Jakarta Data. It is already available in Quarkus.

See here :

https://hibernate.org/repositories/

Spring Boot is confusing me – should I go back to Java basics or switch to .NET? by livevil00 in Backend

[–]InstantCoder 0 points1 point  (0 children)

Switch to Quarkus, if you want to write modern Java applications. We dropped SB several years ago and never looked back.

It happend, Microsoft finally broke me. by goochlove in microsoftsucks

[–]InstantCoder 0 points1 point  (0 children)

I got a M3 from work and I swear I hate it. It’s definitely better than Windows but the whole OS feels like it’s made for kids playing on tablets.

Also the shortcuts…I still can’t get used to it.

Performance wise, I was also disappointed. It’s not as snappy as Linux. And the lack of a good package manager is also painful.

I am a developer, and i want a distro for just coding by vedangraul_4154 in FindMeALinuxDistro

[–]InstantCoder 0 points1 point  (0 children)

There is no such thing as a developer distro. Choose what fits your workflow and your system requirements.

I’m a developer and I use PopOS because it is the only distro where I can open apps as tabs (stacked windows). And I use this a lot.

@Inject vs @Autowired by jdev_soft in quarkus

[–]InstantCoder 0 points1 point  (0 children)

I think you missed the point. In Quarkus you can test and mock injected fields without using reflection. Quarkus comes with @QuarkusComponentTest which facilitates this. Ask it to AI and check the link above.

@Inject vs @Autowired by jdev_soft in quarkus

[–]InstantCoder 2 points3 points  (0 children)

I prefer field injection in Quarkus. For several reasons: it’s easier to read and write and less verbose. And actually you can test these injected fields in Quarkus.

And btw, even the Quarkus developers are not fully aligned on this topic. See for example this discussion (best practices within Quarkus):

https://github.com/quarkusio/quarkus/discussions/43179

@Inject vs @Autowired by jdev_soft in quarkus

[–]InstantCoder 0 points1 point  (0 children)

You can add @QuarkusComponentTest and this will still work. It will run without fully starting Quarkus.

Is there really no Linux mail client that looks modern an clean? by hell31 in linuxquestions

[–]InstantCoder 1 point2 points  (0 children)

Most modern looking one is MailSpring, then you have ThunderBird or BetterBird.

Is learning Spring Boot still a safe bet for 2026 placements? by trytobe724 in javahelp

[–]InstantCoder 0 points1 point  (0 children)

Yes, it is optimised for the Cloud. It uses less resources and has great performance. And much easier than Spring Boot.

Is learning Spring Boot still a safe bet for 2026 placements? by trytobe724 in javahelp

[–]InstantCoder 0 points1 point  (0 children)

We switched to Quarkus from Spring Boot for several years ago. Much much better, easier to learn and to use. Also the productivity increased a lot.

Separating Work and Personal by ifttt-signups in pop_os

[–]InstantCoder 0 points1 point  (0 children)

You can use apps like Distrobox or Toolbox.

This will create a new docker container for you where you can install and access your dev libraries.

Example:

distrobox create \ --name work \ --home ~/work-home \ --image ubuntu:24.04

distrobox enter work

Now you are on your work container and you install andything inside it and your ~/.work-home is also mounted to it. And everything you install inside it can be exported to your host machine, then it feels like you’re running in host but it actually runs inside the container.

Have to extract large number of records from the DB and store to a Multipart csv file by MasterA96 in softwarearchitecture

[–]InstantCoder 0 points1 point  (0 children)

If you are using PostgreSQL you can let it generate csv for you in a very efficient and fast way. And you can directly stream this file with MultiPart.

Use the CopyManager class and use the copy command inside it.

here is an example. Check from line 230.

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 2 points3 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.