HackerTrans
TopNewTrendsCommentsPastAskShowJobs

astronautas

no profile record

Submissions

[untitled]

1 points·by astronautas·vor 8 Monaten·0 comments

Declarative database schema migrations – yay or nay?

1 points·by astronautas·vor 9 Monaten·4 comments

[untitled]

1 points·by astronautas·vor 9 Monaten·0 comments

[untitled]

1 points·by astronautas·vor 9 Monaten·0 comments

[untitled]

1 points·by astronautas·vor 11 Monaten·0 comments

[untitled]

1 points·by astronautas·vor 11 Monaten·0 comments

[untitled]

1 points·by astronautas·vor 11 Monaten·0 comments

Should we replace Spark with DuckDB?

valatka.dev
6 points·by astronautas·letztes Jahr·0 comments

FOSDEM 2025 has exceeded my expectations

valatka.dev
20 points·by astronautas·letztes Jahr·0 comments

Wheel - a surprisingly good model package format

valatka.dev
2 points·by astronautas·letztes Jahr·0 comments

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

valatka.dev
502 points·by astronautas·vor 2 Jahren·417 comments

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

valatka.dev
2 points·by astronautas·vor 2 Jahren·0 comments

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

2 points·by astronautas·vor 2 Jahren·19 comments

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

astronautas.github.io
3 points·by astronautas·vor 2 Jahren·0 comments

Let's build a Bloom filter. Part 1

astronautas.github.io
1 points·by astronautas·vor 3 Jahren·0 comments

comments

astronautas
·vor 9 Monaten·discuss
cool!
astronautas
·vor 9 Monaten·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
·letztes Jahr·discuss
Interesting, will check it out.
astronautas
·letztes Jahr·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
·vor 2 Jahren·discuss
see my reply above
astronautas
·vor 2 Jahren·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
·vor 2 Jahren·discuss
How about "A UV feature that intrigues me most"?
astronautas
·vor 2 Jahren·discuss
uh, thanks I guess.
astronautas
·vor 2 Jahren·discuss
Indeed, you're right ;).
astronautas
·vor 2 Jahren·discuss
Neat!
astronautas
·vor 2 Jahren·discuss
Fair points!
astronautas
·vor 2 Jahren·discuss
call to external db, and then to llm with retrieved context.

also business rules, no?
astronautas
·vor 2 Jahren·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
·vor 2 Jahren·discuss
can't disagree (a tradeoff).
astronautas
·vor 2 Jahren·discuss
agree, it depends, always benchmark, but my question is rather generic i.e. I am looking for a perspective.
astronautas
·vor 2 Jahren·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
·vor 2 Jahren·discuss
Good perspective. No-GIL should make things better (shared memory parallelism), but it's not bulletproof.
astronautas
·vor 2 Jahren·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
·vor 2 Jahren·discuss
Cool! Thanks for the investigation.
astronautas
·vor 2 Jahren·discuss
Thanks, so it's connectors, nice differentiators. Seamless integrations are harder than it seems.