What do you think about ORMs?
- 1 Post
- 92 Comments
please explain why do you justify killing people in ukraine
Yes. (to the first 5 questions)
It’s both content and art.
I feel like it would be easier to help with the original problems that led to these unusual choices.
You can change the sorting to show the new posts. You can also change the list to show posts from all communities from all federated instances (except from banned ones). I mostly find very recent posts.
fxdave@lemmy.mlto
Technology@lemmy.world•Apple quietly released this year's BEST laptopEnglish
211·2 months agoDownvoting because the title says “best” and I disagree. Apple products have a bunch of drawbacks, I wouldn’t buy them even if the hardware is strong and efficient.
I don’t think it’s ADD. There’s a book called ‘thinking fast and slow’. In that book the psychologist separates the mind functions into two systems. System 1 is for intuition, no effort, fast thinking. System 2 needs effort, slow, but precise. What happens here is that simply people are trying to be efficient with their thinking and they use less system 2 which is required for reading.
Mostly dictatorship. I have no problems with russian people.
I was talking about a hypothetical scenario in which Russia became socialist again. I could use our autonomy for useful things.
It’s the post description
The other traits and our autonomy.
As a Hungarian, No thanks, we don’t want russian soldiers again in our country. Can’t we agree on socialism without involving Russia?
A mod has just removed it.
All I can say is that I’m using .ml and I don’t support this.
Will keep my eyes open. Thanks.
I have seen socialist posts. And I seriously don’t know what’s your problem with that. Are you a burgoise who want to enslave the working class? In case of this, I can understand your problem. Otherwise, I think you are just uninformed and you have never read Karl Marx.
I’m pro-ukraine btw.
The guy is a socialist who belives in democracy. Russia and China is a shame on socialism.
You mean socialist? That does not mean Putin supporter. Do you know any case when someone stated pro-putin or anti-ukraine stance?
fxdave@lemmy.mlto
Programming@programming.dev•Comprehension Debt: The Ticking Time Bomb of LLM-Generated Code
58·3 months agoI used claude code to migrate a small rust project from raw sql to an ORM. It was next level. In a timespan of a small bug fix I could rewrite the data model. It tested the code, it fixed the errors, I was amazed. I reviewed every change, so I could spot problems like migration would fail with prod data. I wrote a new prompt to fix that and it fixed.
For anybody new to claude code: It’s a tui app where you can log in and write prompts for the project in the current directory. The way it works, it searches files in the project based on the prompt, and it locates the related code sections. So it gathers the context pretty well. It can suggest changes, it can suggest running CLI commands, it can read its output. It reacts to itself. You can accept or intercept and correct it anytime.
I ran it in docker just in case.
In summary, this is a real deal, but of course the code needs to be reviewed. Sometimes, it produces, simply put, unmaintainable code, that shouldn’t be used. Works or not, it should move.







I use prisma ORM with kysely Query Builder. Prisma has its own schema language that we write with great IDE support and provides a parser to generate type-safe clients. It gives you the ts client generator by default. But for example, kysely also needs types and somebody wrote a prisma-kysely generator, which generates types for kysely based on the prisma schema. Prisma since then also have Typed SQL (type-safe raw sql). (Although, I haven’t tried that yet.) So prisma can cover that missing 9% of cases, and there maybe 1% left for untyped raw sql.
Do you think Lutra can replace that 9+1% of cases? Or would it be also useful to write migrations in Lutra?