HNHacker News
TopNewBestAskShowJobs

astronautas

197 karma · joined May 29, 2022

submissionscomments
astronautas··on Declarative database schema migrations – yay or nay?
cool!
astronautas··on Declarative database schema migrations – yay or nay?
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··on Uv's killer feature is making ad-hoc environments easy
Interesting, will check it out.
astronautas··on Uv's killer feature is making ad-hoc environments easy
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··on Uv's killer feature is pulling in local dependencies
see my reply above
astronautas··on Uv's killer feature is making ad-hoc environments easy
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··on Uv's killer feature is making ad-hoc environments easy
How about "A UV feature that intrigues me most"?
astronautas··on Uv's killer feature is making ad-hoc environments easy
uh, thanks I guess.
astronautas··on Uv's killer feature is making ad-hoc environments easy
Indeed, you're right ;).
astronautas··on Uv's killer feature is pulling in local dependencies
Neat!
astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
Fair points!
astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
call to external db, and then to llm with retrieved context.

also business rules, no?

astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
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··on Ask HN: Do you think Python will disappear for LLM inference?
can't disagree (a tradeoff).
astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
agree, it depends, always benchmark, but my question is rather generic i.e. I am looking for a perspective.
astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
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··on Ask HN: Do you think Python will disappear for LLM inference?
Good perspective. No-GIL should make things better (shared memory parallelism), but it's not bulletproof.
astronautas··on Ask HN: Do you think Python will disappear for LLM inference?
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··on Static search trees: faster than binary search
Cool! Thanks for the investigation.
astronautas··on Launch HN: Shaped (YC W22) – AI-Powered Recommendations and Search
Thanks, so it's connectors, nice differentiators. Seamless integrations are harder than it seems.
astronautas··on Launch HN: Shaped (YC W22) – AI-Powered Recommendations and Search
How does this compare to Vespa? If the key difficulty in scaling search is infra as you say, Vespa is an interesting alternative.
astronautas··on Why AI Infrastructure Startups Are Insanely Hard to Build
Data infra?
astronautas··on DuckDB Doesn't Need Data to Be a Database
Not a catalog though, still need to input s3 path...
astronautas··on DuckDB Doesn't Need Data to Be a Database
This
astronautas··on DuckDB Doesn't Need Data to Be a Database
I am confused...

It's a cool example, but really an antipattern. Nowadays everyone gets analysts want access to raw data, since they know which aggregations they need best, whereas data engineers stay away from pre-aggregating and focus on building self-service data access tooling. Win-win this way.

How about building a duckdb accessible catalog on top of s3? Like instead of read_parquet, you would select from tables, which themselves would be mapped to s3 paths aka external tables.

astronautas··on Show HN: SQL Polyglot
I've been recently toying around with dynamically switching between DuckDB and BigQuery on query time. So you have a layer of standard SQL in front, which uses sqlglot to translate it to compute-specific SQL. So e.g. you can use DuckDB for development or low to medium-sized datasets, and switch to BQ for big datasets.

In theory, it sounds great, but in practice you indeed lose database-specific operators, you should restrain from using database-specific optimisations, etc...

astronautas··on Show HN: Carton – Run any ML model from any programming language
True!
astronautas··on Show HN: Carton – Run any ML model from any programming language
Cool, thanks for sharing!
astronautas··on Show HN: Carton – Run any ML model from any programming language
Write a blog post then about this! I can tell you it is hardly a solved problem.
astronautas··on Show HN: Carton – Run any ML model from any programming language
eh, awesome! Seems this one, right? https://github.com/galeone/tfgo. Quite many stars.
Page 1 of 2Next →