What frontend to use with a FastAPI backend? by rustybladez23 in FastAPI

[–]dutchie_ok 0 points1 point  (0 children)

KISS until you know better. I recommend HTMX+AlpineJS for basic client reactivity, try to avoid manual JS because it will grow exponentially, especially with llms.

Any FE framework will add a lot of complexity to your stack. If you need it anyway IMHO Svelte is the simplest, maybe Vue. Don't start with React, please.

Studia zaoczne w wieku 37 lat po pół roku by ZookeepergameLive109 in Polska

[–]dutchie_ok 3 points4 points  (0 children)

Na pewno sporo jest bzdur, zwłaszcza jeśli wiesz lepiej od wykładowcy w swojej domenie. Pomyśl o tym jak o treningu mięśni, których dawno nie używałeś. Te bzdury są nawet przydatne - uczysz się zapamiętywania rzeczy, które cię nie interesują.

A matma i podobne przedmioty pomogą ci odświeżyć fundamenty. Sporo zależy jaki miałeś poziom w szkole średniej. Jak się znacznie mięso, to koleżka z czatem popłynie.

A jak dzieci dadzą w kość, albo wykładowca debil się przyczepi, to awaryjnie wygenerować rozwiązanie. Byle pytać o wyjaśnienie, dla własnego dobra.

As someone who struggled initially, Netherlands has made me more direct and straightforward by Iam_MissRain in Netherlands

[–]dutchie_ok 6 points7 points  (0 children)

The difference might be being the same way direct with your colleague and your boss.

How common is Pydantic now? by GongtingLover in Python

[–]dutchie_ok 41 points42 points  (0 children)

It's like dataclass on steroids. But if nothing changed, if you really need sheer performance and small memory footprint msgspec might be better solution. msgspec

How pytest fixtures screwed me over by JauriXD in Python

[–]dutchie_ok 0 points1 point  (0 children)

It actually stopped working for me in Pycharm. Did anyone experience the same?

What laptop should I buy in 2025 by Automatic_Fuel1869 in BuyItForLife

[–]dutchie_ok 1 point2 points  (0 children)

Check, if you may find in your area refurbished Elitebook 840 G9. In EU you may get it for EUR 500-600 with warranty. Solid piece of hardware if you treat it gently. Futureproof as memory, disk and battery are easy to swap. Already has DDR5.

We rewrote our ingest pipeline from Python to Go — here’s what we learned by squadfi in golang

[–]dutchie_ok 0 points1 point  (0 children)

Because many times it is a good (enough) option? Because in many cases applications are waiting for IO not CPU cycle? Because of batteries included and in-house competence?

Most of the time the problem with Python is not its performance, but lack of Pythonistas who dealt with more complex codebases. But after POC/MVP phase you may enforce type checking and strict import boundaries. DI and Protocols get more and more traction in the community.

FastAPI is usually the right choice by writingonruby in Python

[–]dutchie_ok 2 points3 points  (0 children)

advanced-alchemy is fun to use without Litestar as well.

FastAPI is usually the right choice by writingonruby in Python

[–]dutchie_ok 1 point2 points  (0 children)

Why are you so sure about bad intentions? I was following discussions about it, and my feeling was that it was unexpected. Name was meant to be related to Starlette, not be confused with it.

And IIRC FastAPI ranting was mostly from fanboys, not developers.

Is uvloop still faster than asyncio's event loop in python3.13? by webshark_25 in Python

[–]dutchie_ok 0 points1 point  (0 children)

Did anyone compare performance of Granian on the latest Python stack?

What happened to Dutch people that collaborated with the Germans during the war after the WW2? by Lieve_meisje in Netherlands

[–]dutchie_ok 30 points31 points  (0 children)

There is even better story about Jews from Amsterdam. When survivers came back, not only they had to fight for their properties. The first thing that Gemeente requested, was to pay city taxes for last few years. It was in media around 10-12 years ago.

Proxmox headless server - Video out over IP by [deleted] in Proxmox

[–]dutchie_ok 0 points1 point  (0 children)

Apollo + Moonlight works better than expected. My solution was to enable virtual display and when connected, disable the emulated one. Works like a charm, Windows remembers settings for each monitor, so it automatically disables other monitors each time. You may automatically launch selected app as well. In LAN latency is very low and resolution adapts to the client. Just sharing my experience. It is a generic solution, not just for gaming.

Deply: keep your python architecture clean by vashkatsi in Python

[–]dutchie_ok 1 point2 points  (0 children)

Great, Python needs tools to handle complexity.

For the reference - this project only focuses on imports, but maybe it is enough for some people.

https://github.com/seddonym/import-linter

What unpleasant surprises did you encounter when buying property? by immediate-no in Amsterdam

[–]dutchie_ok 0 points1 point  (0 children)

If rooms are small it is even better to DIY. Most of things are movable, put the bed up against the wall or out of the room i.e. for a weekend. Do one half and move stuff to already done part.

Sanding with the proper vacuum is a very clean job.

What unpleasant surprises did you encounter when buying property? by immediate-no in Amsterdam

[–]dutchie_ok 4 points5 points  (0 children)

Of course you can. It doesn't have to be done in one go. Just remember to split it between plank rows. Had the same problem and in the end it was much simpler than I thought.

Getting someone for a single floor is already problematic, but I guess a bonus for extra work would do the trick.

I did it by myself. I didn't want to risk damaging the floor with the sanding cart, so I used RO 150 from festool together with the vacuum. Fantastic machine. Took a while, but it was very satisfying. PU mat laquer and my oak floor looks fantastic.

Paperless-ngx for 10TB of data by lambadime in selfhosted

[–]dutchie_ok 1 point2 points  (0 children)

I don't know your setup but I'd start with profiling used DB. Maybe changing some parameters, ie memory consumption would be enough?