Better HN
topnewbestaskshowjobs
Log inSign up

astronautas

197 karma · joined May 29, 2022 (4y ago) · 58 submissions

Submissions

comment 1y ago · link · parent

cool!

comment 1y ago · link · parent

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?

3.

Declarative database schema migrations – yay or nay?

1 points · by astronautas · 1y ago · 4 comments

4.

Should we replace Spark with DuckDB?(valatka.dev ↗)

6 points · by astronautas · 1y ago · discuss

5.

FOSDEM 2025 has exceeded my expectations(valatka.dev ↗)

20 points · by astronautas · 1y ago · discuss

6.

Wheel - a surprisingly good model package format(valatka.dev ↗)

2 points · by astronautas · 1y ago · discuss

comment 1y ago · link · parent

Interesting, will check it out.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

see my reply above

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

How about "A UV feature that intrigues me most"?

comment 1y ago · link · parent

uh, thanks I guess.

comment 1y ago · link · parent

Indeed, you're right ;).

comment 1y ago · link · parent

Neat!

15.

Uv's killer feature is making ad-hoc environments easy(valatka.dev ↗)

502 points · by astronautas · 1y ago · 417 comments

16.

Where async-io cripples, and the promise of No-GIL(valatka.dev ↗)

2 points · by astronautas · 1y ago · discuss

comment 1y ago · link · parent

Fair points!

comment 1y ago · link · parent

call to external db, and then to llm with retrieved context.

also business rules, no?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

can't disagree (a tradeoff).

comment 1y ago · link · parent

agree, it depends, always benchmark, but my question is rather generic i.e. I am looking for a perspective.

comment 1y ago · link · parent

Sure, but what about non AI / business logic pre and post? Think RAG calls, guardrails, ...? Or do they fly compared to LLM inference itself?
12