HackerTrans
TopNewTrendsCommentsPastAskShowJobs

astronautas

no profile record

Submissions

[untitled]

1 points·by astronautas·قبل 8 أشهر·0 comments

Declarative database schema migrations – yay or nay?

1 points·by astronautas·قبل 9 أشهر·4 comments

[untitled]

1 points·by astronautas·قبل 9 أشهر·0 comments

[untitled]

1 points·by astronautas·قبل 9 أشهر·0 comments

[untitled]

1 points·by astronautas·قبل 11 شهرًا·0 comments

[untitled]

1 points·by astronautas·قبل 11 شهرًا·0 comments

[untitled]

1 points·by astronautas·قبل 11 شهرًا·0 comments

Should we replace Spark with DuckDB?

valatka.dev
6 points·by astronautas·السنة الماضية·0 comments

FOSDEM 2025 has exceeded my expectations

valatka.dev
20 points·by astronautas·السنة الماضية·0 comments

Wheel - a surprisingly good model package format

valatka.dev
2 points·by astronautas·السنة الماضية·0 comments

Uv's killer feature is making ad-hoc environments easy

valatka.dev
502 points·by astronautas·قبل سنتين·417 comments

Where async-io cripples, and the promise of No-GIL

valatka.dev
2 points·by astronautas·قبل سنتين·0 comments

Ask HN: Do you think Python will disappear for LLM inference?

2 points·by astronautas·قبل سنتين·19 comments

Why I am excited about No-GIL (and skeptical about asyncio)

astronautas.github.io
3 points·by astronautas·قبل سنتين·0 comments

comments

astronautas
·قبل 9 أشهر·discuss
cool!
astronautas
·قبل 9 أشهر·discuss
indeed, I was thinking about the same. How do you even escape the hatch with e.g. Atlas if your migrations folder is autogenerated? What if you modify /migrations but not your entities?
astronautas
·السنة الماضية·discuss
Interesting, will check it out.
astronautas
·السنة الماضية·discuss
Hey, I actually made a silly mistake in my post, indeed you first activate the environment and then install stuff in it. Fixed!

I disagree though it is activated immediately, or at least to me with venv I always have to activate it explicitly.
astronautas
·قبل سنتين·discuss
see my reply above
astronautas
·قبل سنتين·discuss
Sorry dang, didn't know the practice + got a bit emotional haha. I agree with the remark above, my message is rather on how easy it is to run python scripts with dependencies (without mutating the state.
astronautas
·قبل سنتين·discuss
How about "A UV feature that intrigues me most"?
astronautas
·قبل سنتين·discuss
uh, thanks I guess.
astronautas
·قبل سنتين·discuss
Indeed, you're right ;).
astronautas
·قبل سنتين·discuss
Neat!
astronautas
·قبل سنتين·discuss
Fair points!
astronautas
·قبل سنتين·discuss
call to external db, and then to llm with retrieved context.

also business rules, no?
astronautas
·قبل سنتين·discuss
I agree Python is hardly replacable. Btw, I only mean inference, not training. Training imho should stay pure Python, you can achieve mega throughout with it for batch processing.
astronautas
·قبل سنتين·discuss
can't disagree (a tradeoff).
astronautas
·قبل سنتين·discuss
agree, it depends, always benchmark, but my question is rather generic i.e. I am looking for a perspective.
astronautas
·قبل سنتين·discuss
Sure, but what about non AI / business logic pre and post? Think RAG calls, guardrails, ...? Or do they fly compared to LLM inference itself?
astronautas
·قبل سنتين·discuss
Good perspective. No-GIL should make things better (shared memory parallelism), but it's not bulletproof.
astronautas
·قبل سنتين·discuss
Indeed, my point was that Go and Rust could lead optimizing the non-AI code, which often begs to be coupled with AI code (think guardrails).

Also, what's the benefit of Python then in this case? Ergonomically, Go isn't shabby, Rust is another story though.
astronautas
·قبل سنتين·discuss
Cool! Thanks for the investigation.
astronautas
·قبل سنتين·discuss
Thanks, so it's connectors, nice differentiators. Seamless integrations are harder than it seems.