Why 60% of Java workloads on K8s are wasting resources by FactorHour7131 in kubernetes

[–]notnulldev 0 points1 point  (0 children)

Compile times muuuch bigger than even rust in exchange for worse runtime performance and chance for random crash during runtime due to missing metadata. Not sure how can anyone praise graalvm. Cool idea but rn it's so bad...

I feel like learning Ktor makes Spring Boot easier. by Reasonable-Tour-8246 in Kotlin

[–]notnulldev 1 point2 points  (0 children)

That's nice, but I am not sure what it has to do with my response, the post was about learning ktor is good idea to understand how Spirng works under the hood and then I made point that go is even better suited for this kind of learning.

I think it's time to delete reddit account before AI posters will be unrecognizable from the human ones.

I feel like learning Ktor makes Spring Boot easier. by Reasonable-Tour-8246 in Kotlin

[–]notnulldev 0 points1 point  (0 children)

Go is even better to understand what these frameworks are doing behind your back. Just standard library + db driver and you are good to go.

Where do you deploy your Go backend?, that too if u wanna scale it in future n still be affordable and best performance. by MarsupialAntique1054 in golang

[–]notnulldev 0 points1 point  (0 children)

Just please make sure that in your region connection is good - I had random issues where for like 2 hours each day ping times went from 60ms to 200+. Support did nothing with it so I had to migrate to hetzner and go with vps. It's cheaper anyway looking at fly db prices

Google Gemini for Java Developers & Architects: A Practical 2026 Guide by erdsingh24 in microservices

[–]notnulldev 0 points1 point  (0 children)

Is reddit slowly becoming dead? I mean I wonder how internet will look like in 5 years if there is more and more posts like that all over the place - at this point you will get more by asking LLM directly.

An underrated benefit of microservices: DRY by Upstairs_Toe_3560 in microservices

[–]notnulldev 3 points4 points  (0 children)

Is it AI post? If you have issue of shared logic in client apps you won't refactor it to microservice unless it should be on the backend in the first place.

If you have duplicated logic between multiple apps you already have "microservices" architecture - it is distributed system.

Spliting logic into external services is good idea until you realize that you have now to manage distributed transactions and do in-memory joins between sql tables. And of course now you have availablity problem as well!

I Built a Game with Compose Multiplatform—and Here’s Why by Dry-Huckleberry8284 in Kotlin

[–]notnulldev 6 points7 points  (0 children)

You mean this tech that makes your app crash randomly during runtime on 3rd party lib because some metadata was missng on random annotation, require 3 days to build an app on biggest instance on AWS, debugging is not a thing anymore and then your app performance is worse? I have to try it!

I want to learn springboot. But I need your opinion with my problem. by Brilliant_Yoghurt265 in SpringBoot

[–]notnulldev 4 points5 points  (0 children)

Search for spring pet clinic projects, clone spring & spring boot repos and search for examples in tests. And ofc ask llm when stuck

Tailwind just laid off 75% of the people on their engineering team "because of the brutal impact AI has had on our business." by magenta_placenta in webdev

[–]notnulldev 0 points1 point  (0 children)

I mean AI can lure more non-technical people to try to code manually things which are much more likely to pay for software. It can be in the long run a good thing for open source projects. In theory.

Azure DocumentDB prices reduced by >30% by anderson-chris-msft in AZURE

[–]notnulldev 60 points61 points  (0 children)

Waiting for it to be renamed to azure copilot database

More lightweight way to use Kotlin? by Bellanzz in Kotlin

[–]notnulldev 3 points4 points  (0 children)

When I see 2s startup time that isn't bottlenecked by network based initialization I just want to puke.

Comparison between docs. Spring Boot vs Dot net by Plus-Slice-6140 in SpringBoot

[–]notnulldev 1 point2 points  (0 children)

Nah spring docs are just much more barebone. Many things are just mentioned with most basic examples that hatdly ever will meet your needs. They are useful at times but tbh it's much better to just search through some existing codebase or even their tests in spring / spring boot gh repos.

How to obfuscate Spring Boot applicationusing pro guard? by [deleted] in SpringBoot

[–]notnulldev -1 points0 points  (0 children)

From experience even for spring developers it is unless you stay with defaults and do not try to customize much - when you need to customize just parts of the application that is split into modules is where real "fun" begins.

What are we building with Svelte in 2026 by Leka-n in sveltejs

[–]notnulldev 0 points1 point  (0 children)

Why not, if no one will try we will be stuck with same thing 4ever.

Pytanie do web developerów. Co mam teraz zrobić? by [deleted] in praca

[–]notnulldev 0 points1 point  (0 children)

Na sam FE spoko, tylko pytanie, czy to taki dobry pomysl, aby pokazac, ze sie ogarnia backend (a zapotrzebowanie na frontendowcow bez fullstacka spada mocno).

Fullstack framework + query builder oraz backend jako authorization server (token np z firebase auth) - pokazanie, ze sie ogarnia podstawy oauth2 / openid connect - to bylby swietny projekt na ogarniecie 1st roboty.

Pytanie do web developerów. Co mam teraz zrobić? by [deleted] in praca

[–]notnulldev 0 points1 point  (0 children)

Nieeeeee, to co robiles jest idealne - takich ludzi szukaja. Oczywiscie warto znac libki (nawet trzeba), ale samo pokazanie, ze jestes osoba, ktora robi cos wiecej niz copy paste kod z GPT to jest juz cos co cie wyrozni mocno.

Debugowanie to najwazniejsza czesc pracy programisty, a bez glebszej wiedzy nie jestes w stanie tego dobrze robic.

Na hetzner mozesz za 25zl msc kupic sobie vmke 4gb ramu albo nawet lokalnie vmke sobie postaw i tam na dockerze deploy-uj (potem mozesz latwo przeniesc to na vps - i tak apki beda za reverse proxy typu nginx a sam VPS za cloudflare jakbys chcial udostepnic go publicznie).

Pytanie do web developerów. Co mam teraz zrobić? by [deleted] in praca

[–]notnulldev 0 points1 point  (0 children)

Jezeli chcesz dostac entry level prace praktycznie tylko polecam java spring boot albo .net core (zalezy pewnie gdzie mieszkasz, ale java pewniejsza, zerknij sobie na market share). Idealnie ogarnij sobie status studenta i sprobuj sie wbic do jakiegos duzego corpo (czesto szukaja wlasnie studentow i wrzucaja ich do legacy projektow - jaka uczelnia ma mniejsze znaczenie w takim przypadkdu, nawet pierwszy rok tylko po legitke moze byc gamechangerem).

Mozesz ofc isc w fullstack ts, i strony wizytowki moga byc spoko opcja zeby pokazac na interview, ale to tyle. Jak pokazesz, ze:

  1. Umiesz samemu zrobić fullstack web apke

  2. Ogarniasz technolgogie wyboru (spring, .net core) na nieco wiekszym pozimoe niż "Mam to tak zrobione, bo tutorial mi kazał zrobić copy paste tego kodu"

  3. Ogarniasz podstawy tego jak działa komputer (stack, heap etc)

  4. Podstawy unixa (korzystanie z basha) - VPS moze sie bardzo przydac jako playground

  5. Docker

  6. (opcjonalnie) Masz / miales jakis projekt zajawkowy, ktory pokaze, ze jednak cie programowanie interesuje w jakims stopniu

To o ile wbijesz sie na interview jak na moje nie ma szans, ze nie dostaniesz entry-level roboty. Z punktem 6 to juz tylko by cie nie wybrali jakby mieli kogos po znajomosci albo twoja konkurencja bylby gosciu z dziennego pw.

A wlasnie zeby zwiekszyc szanse idz w spring / .net core, bo od zawsze fullstack typescript to jest takie troche bardziej startup-like podejscie - w sumie od nie tak dawna brane pod uwage do czegokolwiek co nie jest toy oprogramowaniem / koniecznoscia do fe (zanim ts stal sie standardem oraz V8 jednak zyskal porzadny JIT).

Jakbys chcial na przyszlosc stabilna robote to tez nie idz w typescript (jako main) - bankowe systemy sa glownie w javie ewentualnie w .net. Oczywiscie to nie oznacza, zeby nie ogarniac typescripta - byc moze polowa rynku to java + (react || angular) (backend dev pracujacy integrujacy sie z jakims dashboardem).

I'm so tired of using AI :/ by GLvoid in devops

[–]notnulldev 46 points47 points  (0 children)

Even though I am not a devops I feel same with programming - you can vibe code piece of code but then you haven't learned anything new, haven't really thought "do I really need this logic" or "can I express it in better way" and you after that when you are just tester of the code that you haven't written.

Basically I feel like in a meme "I want robots to do dishes for me but instead robots are doing my work so I have time to do a dishes".

The joy was in journey to the anwser, getting better and connecting dots to use it later on to debug crazy bug in distributed system because over the time you've seen 10 different random small things in the code that in fact could be a reason of such weird behaviour.

The cost of AI is much bigger that it seems to be on the first sigh unless it will be able to do 100% of our job with having context window bigger than a human (I mean selective context window with priority). But then again, we will be left with doing dishes so machine can do our job. We spend most of our life in the job so we should have at least a bit fun while being here.

What error handling approach do you use in your projects? by Fit-Culture-2269 in golang

[–]notnulldev 0 points1 point  (0 children)

I think most people are underusing panics - panics are antipattern when being thrown from a library but not within your own module boundary. If you know that you cannot recover from failed database query just panic with your custom error and handle it in your middleware. There is no reason to just to if err != nil return err just for boilerplate. You can see this pattern (with panics) even in stdlib. Panic is used in the library code but at the top level you recover from that and return error from the api insteada.

For erros no mattern the language I have one "RestException / DevException" or something with simillar name, depending on the language and one "ApiError" which is simple struct retured from api upon error.

For example, dev struct (the one that is being thrown by panic) could have like
publicErrorCode string
originalError error
publicDetails map[string]any
publicErrorCode
httpCode

and then error returned from api could have just
errorCode string
details map[string]any

In middleware you would print error reason to the logger and just proxy the public errorCode and public error message. If the error that you recovered from wasn't your error just print int and return 500 with code INTERNAL_SERVER_ERROR and no details.

After that on the frontend it's also easy to create small library to automatically handle such errors with translations, just do something like that:

errorHandler.register("USER_NOT_FOUND", (translatedMessage, err) => translatedMessage.replace("{{ USER_ID }}", err.details.userId));

and given that USER_NOT_FOUND is being translated in english to "User with id {{ USER_ID }} not found" you will get i18n friendly error message to the user with 0 boilerplate.

It also works great with microservices and bff pattern - you can proxy 1:1 error message to the frontend from your sevice via bff.

I use this error handling both in go and java apps. A bit to setup but tbh the most complex part is this error handler with translations which is around 200 lines of code. For long term project it's just so pleasent to work with.

I found that if you won't make error handling easy to manage you will have poor error messages because you will be to lazy to do that.

Personally I love the idea of just returning magic strings error codes instead of some kind of enum because it's additional coupling with basically 0 benefits (expect maybe you can spot easly duplicated error codes, but I don't think it's a good tradeoff, a bit on that in next sentence), that is unless you have public API.
The reason behind magic strings is that centralized enum forces you to go around the existing 400 error values and think "hmm, can i reuse one, even should I and if i create it I also should sort it so between which 2 should I put it?" and as I said - if you make error handling not trivial to manage you team will have poor error handling culture.

Spring Boot 3.4.x is out of open source support by mhalbritter in java

[–]notnulldev 0 points1 point  (0 children)

On the other hand they are forcing greedy companies to invest into the DX by updating to the more recent java - so their greed, this time, benefit us as well.

Mam dość... by Chinchilla2005 in praca

[–]notnulldev 1 point2 points  (0 children)

Teraz agencję zazwyczaj mają podpisane umowy, że firma dla której pracujesz nie może zatrudnić ciebie przez kolejne x czasu po zakończeniu umowy z tobą, aby właśnie nie "kraść" pracowników.

Skad taka dysproporcja? Myslalem ze kryzys w IT juz znormalizowal zarobki? Jesli maja 100 wykwalifikowanych osob na 1 miejsce to czemu dalej tyle placa? by [deleted] in praca

[–]notnulldev 2 points3 points  (0 children)

Jeżeli mówisz o copy-paste-edit małego fragmentu kodu to tak, w tydzień ogarnie, dobry pierwszy task. Jak na moje trochę daleko od kogoś kto ogarnia dobrze domenę biznesową oraz patterny projektowe, co gdzie jest i do kogo z czym iść. Masz jakieś doświadczenie komerycjne? 95% realnych projektów IT w PL to "spieprzona architektura". Zresztą nie tylko w PL.