HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Lemaxoxo

no profile record

Submissions

Pub Quiz Flashcards

maxhalford.github.io
2 points·by Lemaxoxo·2 ay önce·0 comments

Lower your warehouse costs via DuckDB transpilation

maxhalford.github.io
1 points·by Lemaxoxo·4 ay önce·0 comments

Text classification with Python 3.14's ZSTD module

maxhalford.github.io
12 points·by Lemaxoxo·5 ay önce·1 comments

comments

Lemaxoxo
·2 ay önce·discuss
Right, I get that usecase. You have to crunch numbers that sit somewhere, and store the outputs in the same place. DuckLake is great for that. But where does this DuckDB client-server setup fit in?
Lemaxoxo
·2 ay önce·discuss
+1

I can't think of many use cases for this and Arrow Flight, other than moving data around.
Lemaxoxo
·5 ay önce·discuss
That's very cool, thanks for sharing. Our of curiosity, did you ever get to run on a Twitter/X stream of political tweets?
Lemaxoxo
·5 ay önce·discuss
You are correct. To be fair I wasn't focused on comparing the runtimes of both methods. I just wanted to give a baseline and show that the batch approach is more accurate.
Lemaxoxo
·5 ay önce·discuss
Author here. Thank you very much for the comment. I will take a look. This is a great case of Cunningham's law!
Lemaxoxo
·5 ay önce·discuss
Author here. Thanks for your comment!

Compression algorithms may have been supporting incremental compression for a while. But as some have pointed out, the point of the post is that it is practical and simple to have this available in Python's standard library. You could indeed do this in Bash, but then people don't do machine learning in Bash.
Lemaxoxo
·5 ay önce·discuss
Ok that makes sense! On my side I can get away with using it through WASM. But your performance needs won't allow that.
Lemaxoxo
·5 ay önce·discuss
I'm curious because I have a similar use case for a querying frontend. Did you consider using https://github.com/tobymao/sqlglot? If so, what was missing to justify writing your own parser?
Lemaxoxo
·5 ay önce·discuss
Hello HN. 5 years ago I posted an article about text classification via data compression. I got helpful and educative comments in response. Now that Python have shipped zstd in 3.14, I thought it would be time to revisit this approach. The throughput figures are much better. This means you can do baseline machine learning with Python's standard library!
Lemaxoxo
·6 ay önce·discuss
https://maxhalford.github.io/