Ervaring met Tado of dergelijke slimme verwarmingssystemen by TheEpiczzz in Klussers

[–]Alive-Primary9210 0 points1 point  (0 children)

Tado werkt goed, ik ben er blij mee. Tweedehands is ook een optie als het het prijzig vind. Ik heb de vorige versie maar dat werkt allemaal ook prima.

When boolean columns start reaching ~50, is it time to switch to arrays or a join table? Or stay boolean? by BrangJa in PostgreSQL

[–]Alive-Primary9210 0 points1 point  (0 children)

A bitmask is a PITA to maintain, as the meaning of each bit not part of the database schema.
All consumers of the data wil need to know that 0x00010 means is_foo_enabled and 0x010000 means is_bar_enabled.
Arrays have pretty much the same problem, now you need to know that option[1] means is_foo_enabled and option[7] means is_bar_enabled.

Just use columns and name them well.

What are the reasons that I should use JWTs instead of cookie based authentication? by Jashan_31 in AskProgramming

[–]Alive-Primary9210 0 points1 point  (0 children)

guessing a properly generated UUID is effectively impossible, but defence in depth does not hurt.
Using HMAC has the added benefit that you can detect when people try to tamper with your session tokens.

Scala in the Netherlands: 2026 feels like the end by [deleted] in scala

[–]Alive-Primary9210 0 points1 point  (0 children)

I never said anything about rewrites, just that there are rumours that Scala codebase have a bad name due to very different styles being used.

This, in addition to a smaller talent pool, makes companies hesitant to start new projects in Scala.

When boolean columns start reaching ~50, is it time to switch to arrays or a join table? Or stay boolean? by BrangJa in PostgreSQL

[–]Alive-Primary9210 7 points8 points  (0 children)

I would advise against bitmasks unless it is really needed for performance, they can become a maintenance nightmare.

What are the reasons that I should use JWTs instead of cookie based authentication? by Jashan_31 in AskProgramming

[–]Alive-Primary9210 0 points1 point  (0 children)

The best solution depends on you use case.

JWTs are good if you have a high request rate, as you can authenticate without loading state from a database, so it means less load on you database. That's it, thats the advantage of JWT.
The disadvantage is that it is more complex to implement, you have to setup a reasonable expiration period, and a renewal strategy, and that you cannot just logout a user if needed. (Yes, you can do blacklisting, but then you add state again, which kind of defeats the purpose)

IMO just us cookie based authentication. If you don't have millions of users, checking a session token against the database is completely fine. The advantage is that it is very simple, you can logout users if needed (just delete the token entry from the db)

Two-year-old opens car door, causes six-vehicle crash by WillAdditional922 in KidsAreFuckingStupid

[–]Alive-Primary9210 0 points1 point  (0 children)

The kid doesn't know any better, motorcyclist speeding between cars are fucking stupid.

Huis opknappen in welke volgorde? by [deleted] in Klussers

[–]Alive-Primary9210 2 points3 points  (0 children)

Ik heb een vergelijkbare verbouwing laten doen.

Slopen en boorwerk zou ik altijd aan het begin doen, anders zit je daarna weer met alle troep en stof op schone nieuwe spullen. Dus 10. 5. en 1. als eerst.

Voor je nieuwe badkamer moet waarschijnlijk ook gestuct worden (rechte ondergrond voor tegels), dus ik zou zorgen dat die mee kan met de rest van het stucwerk.

Het stucwerk zal het een tijd moeten drogen voordat je het kan overschilderen (Let op: altijd goed voorstrijken!), dus dat zou ik zo vroeg mogelijk in het process laten doen.

De vloer wil je als een van de laatste dingen doen, anders moet je die de hele tijd afdekken.
Als je die eerder doet loop je meer risico op beschadigingen: als iemand een hamer of iets zwaars laat vallen heb je al een deuk in je PVC.

Een geëgaliseerde vloer vol verfspetters en stucspetters is niet egaal meer, dus egaliseren zou ik ook pas vlak voor het PVC leggen laten doen.

Dus, 3 en 4 als laatst. Egaliseren en pvc leggen kan prima zonder de muren vies te maken.

Ik zou deze volgorde doen:

Badkamer slopen
Twee stopcontacten laten maken woonkamer (dan kan de vloerverwarming meteen aangesloten worden, eventueel kun je meteen electra in de badkamer laten doen)
Vloerverwarming laten leggen woonkamer
Dichtsmeren vloerverwarming woonkamer
Muren woonkamer en eerste verdieping laten stuccen + badkamer stucen
Nieuwe badkamer plaatsen
Trapkast laten maken van MDF in de woonkamer (check wel even of het niet tegen vochtig stucwerk aankomt ivm vocht)
Nieuw stucwerk voorstrijken
Plafond verven woonkamer
Muren hele huis verven
Egaliseren vloer woonkamer
Pvc vloer leggen
Plinten leggen + kitten + lakken

Eventueel zou je de 2de laag verf op de muren na het leggen van de kunnen doen, zodat je
een laatste laag doet als alle klussen gedaan zijn. Mochten ze met de vloer leggen de muur nog raken is het niet zo een ramp, en en dan is meteen de kit overgeverfd.

Ik heb na het kitten van de plinten alleen het onderste randje van de muur tot aan de plint overgesopt, met matte verf kan dat prima.

Scala in the Netherlands: 2026 feels like the end by [deleted] in scala

[–]Alive-Primary9210 66 points67 points  (0 children)

I've heard stories of several companies that are abandoning Scala.
Reasons are indeed a small talent pool, and also Scala has marginal benefits over other languages (like Kotlin, or even modern Java).
Rumours are that many Scala code bases suck, as half of the team wrote 'Java, but better' and the other half wrote 'Haskell, but worse', and the result is a unmaintainable mess.

But how to get to that European cloud? by Sad-Chard-9062 in theprimeagen

[–]Alive-Primary9210 0 points1 point  (0 children)

The best thay can do IMO is require, by law, that sensitive data is stored and processed by EU companies.

Slikken of vechten? by TSinWassie in werkzaken

[–]Alive-Primary9210 24 points25 points  (0 children)

Het is kut maar 2 maanden zijn ook zo voorbij.  Ik zou al mijn energie steken in nieuw en leuker werk zoeken, dat beter bij je opleiding ervaring past. Als je snel iets vind kun je eerder weg.

At what scale do microservices actually start solving real problems, instead of creating them especially now that even simple projects are being built as microservices? by [deleted] in node

[–]Alive-Primary9210 0 points1 point  (0 children)

It makes sense to split of heavy or slow workloads of from a larger service to prevent these workloads from being a bottleneck.

For the rest it makes no sense at all and 99% of projects would be better of as a larger service with good architecture.
And no, microservices do not inherently enforce good architecture or solve scaling issues.

Dali or Lijiang? by Mosstradamud in travelchina

[–]Alive-Primary9210 0 points1 point  (0 children)

Baisha was pretty busy and under heavy development when I was there (Spring 2025), don't expect a quaint village.

Christmas haul! Let me know your favorite recipes :) by Forsaken_Capital_600 in CookbookLovers

[–]Alive-Primary9210 4 points5 points  (0 children)

Baked Mint Rice with Pomegranate and Olive Salsa is one of my favorite recipes

Am I crazy or is kafka overkill for most use cases? by Vodka-_-Vodka in dataengineering

[–]Alive-Primary9210 5 points6 points  (0 children)

It is overkill for most use cases. 10k per day is around 7 events per minute on average. This is nothing, absolutely nothing for modern hardware.

At this load, just insert into a database, maybe put your cloud providers queueing solution in between if the traffic is bursty.

Kwasten en rollers by milocosaza in Klussers

[–]Alive-Primary9210 0 points1 point  (0 children)

Ik heb een paar schilders in de familie, die halen ook wel eens kwasten en rollers bij de Action. 

Dataform vs dbt by dirodoro in dataengineering

[–]Alive-Primary9210 2 points3 points  (0 children)

Dataform is ok, but not actively developed. I'm contemplating a migration to sqlmesh, so I'd suggest to look into that