Better HN
topnewbestaskshowjobs
Log inSign up

Lemaxoxo

265 karma · joined Mar 15, 2018 (8y ago) · 53 submissions

https://maxhalford.github.io/bio/
Submissions

1.

Pub Quiz Flashcards(maxhalford.github.io ↗)

2 points · by Lemaxoxo · 6mo ago · discuss

comment 6mo ago · link · parent

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?

comment 6mo ago · link · parent

+1

I can't think of many use cases for this and Arrow Flight, other than moving data around.

4.

Lower your warehouse costs via DuckDB transpilation(maxhalford.github.io ↗)

1 points · by Lemaxoxo · 8mo ago · discuss

comment 9mo ago · link · parent

That's very cool, thanks for sharing. Our of curiosity, did you ever get to run on a Twitter/X stream of political tweets?

comment 9mo ago · link · parent

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.

comment 9mo ago · link · parent

Author here. Thank you very much for the comment. I will take a look. This is a great case of Cunningham's law!

comment 9mo ago · link · parent

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.

comment 9mo ago · link · parent

Ok that makes sense! On my side I can get away with using it through WASM. But your performance needs won't allow that.

comment 9mo ago · link · parent

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?

comment 9mo ago · link · parent

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!

12.

Text classification with Python 3.14's ZSTD module(maxhalford.github.io ↗)

12 points · by Lemaxoxo · 9mo ago · 1 comment

comment 10mo ago · link · parent

https://maxhalford.github.io/

comment 1y ago · link · parent

Op here. I tried what the font a bit but didn't mention it in the article. I didn't get good results with it. Although it's probably a good idea to ask it for a guess, and feed that to the LLM too.

15.

Do LLMs Identify Fonts?(maxhalford.github.io ↗)

8 points · by Lemaxoxo · 1y ago · 1 comment

comment 1y ago · link · parent

Nice! I wrote about something similar for rectangular layouts: https://maxhalford.github.io/blog/dynamic-on-screen-keyboard...

comment 3y ago · link · parent

Cheers! Mainly a couple of things:

- I don't like to have to put {{ ref('source') }} everywhere. I think the tool should parse dependencies automatically. I wrote more about this here: https://maxhalford.github.io/blog/dbt-ref-rant/ - I don't like the idea each .sql file has to have an associated .yml file. It feels better to have everything in one place. For instance, with lea you can add a @UNIQUE tag as an SQL comment to unit test a column for uniqueness.

Moreover, although dbt brought a shift in the way we do data (which is great) it's very straightforward under the hood. It boils down to parsing queries, organizing them in a DAG, and processing said DAG. dbt feels bloated to me. Also, it seems to me some of the newer cool features are going to be put behind a paywall (e.g. metric layers)

comment 3y ago · link · parent

Hey there HN. lea is a tool we developed over the past year at Carbonfact. Carbonfact is a platform that helps fashion brands decarbonize. We believe in doing this in a data-driven way, and lea is a cornerstone for us.

19.

Lea: Minimalist Alternative to Dbt(github.com ↗)

13 points · by Lemaxoxo · 3y ago · 4 comments

20.

Answering “Why did the KPI change?” using decomposition(maxhalford.github.io ↗)

2 points · by Lemaxoxo · 3y ago · discuss

comment 3y ago · link · parent

Hey, great work. Do you think this algorithm would be amenable to be done online? I'm the author of River (https://riverml.xyz) where we're looking for good online clustering algorithms.

comment 3y ago · link · parent

Thank you so much for this! It's very generous of you to have taken the time.

comment 3y ago · link · parent

Thanks, I wasn't aware.

comment 3y ago · link · parent

Do you have some data/resources on this? I'm a total snowflake at this, but I'm willing to learn.

comment 3y ago · link · parent

That's too bad, I would have expected it to work out of the box. Other than rewriting the query in a different way, I'm not sure I see an easy workaround. Are you still working on this?

comment 3y ago · link · parent

Hehe I was wondering if someone would catch that. Rest assured, I know the difference between online and stochastic gradient descent. I admit I used stochastic on Hacker News because I thought it would generate more engagement.

comment 3y ago · link · parent

Isn't that the point of common table expressions (CTEs)?

comment 3y ago · link · parent

I agree. Databases are going to be here for a long time, and we're barely scratching the surface of making people productive with them. dbt is just the beginning.

comment 3y ago · link · parent

I'm watching it, it's really good. Montana makes a great point: you can move data to the models, or move the models to the data. Data is typically larger than models, so it makes sense to go with the latter.

comment 3y ago · link · parent

Postgres has excellent support for WITH RECURSIVE, so I see no reason why it wouldn't. However, as I answered elsewhere, you would need to set some stateful stuff up if you don't want the query to start from scratch when you re-run it.
12