HackerTrans
トップ新着トレンドコメント過去質問紹介求人

mchav

130 カルマ登録 10 か月前

投稿

[untitled]

1 ポイント·投稿者 mchav·9 日前·0 コメント

[untitled]

1 ポイント·投稿者 mchav·9 日前·0 コメント

Show HN: Sabela – A Reactive Notebook for Haskell

sabela.datahaskell.com
46 ポイント·投稿者 mchav·27 日前·5 コメント

Pandas feels clunky coming from R. What about Haskell?

mchav.github.io
26 ポイント·投稿者 mchav·3 か月前·7 コメント

Interpretable models with boosting, symbolic regression and e-graphs

mchav.github.io
1 ポイント·投稿者 mchav·3 か月前·0 コメント

What category theory teaches us about dataframes

mchav.github.io
190 ポイント·投稿者 mchav·3 か月前·65 コメント

Show HN: Sabela – A Reactive Notebook for Haskell

datahaskell.org
3 ポイント·投稿者 mchav·4 か月前·0 コメント

Show HN: Using an LLM as a "semantic regularizer" for feature engineering

medium.com
1 ポイント·投稿者 mchav·6 か月前·0 コメント

Learning better decision trees – LLMs as Heuristics for Program Synthesis

mchav.github.io
1 ポイント·投稿者 mchav·6 か月前·0 コメント

State of Haskell Survey 2025

surveymonkey.com
3 ポイント·投稿者 mchav·7 か月前·0 コメント

Haskell IS a great language for data science

jcarroll.com.au
6 ポイント·投稿者 mchav·7 か月前·0 コメント

Comparing xeus-Haskell and ihaskell kernels

datahaskell.org
13 ポイント·投稿者 mchav·8 か月前·8 コメント

Welcome to DataHaskell

datahaskell.org
6 ポイント·投稿者 mchav·8 か月前·2 コメント

[untitled]

1 ポイント·投稿者 mchav·10 か月前·0 コメント

コメント

mchav
·5 日前·議論
Great feature. Although I’m starting to get annoyed by obvious signs of LLM writing like no X, no Y etc.
mchav
·25 日前·議論
A combination of vegalite and a custom plotting library with SVG output.
mchav
·3 か月前·議論
I think the original author picked this example to broadly illustrate how easy it is to make ad hoc changes to your query without worrying about lot about implementation details. Polars, for example, converges on a similar API and gives you the flexibility. You can iterate then refactor easily later to what you consider good practice.
mchav
·4 か月前·議論
Had always hoped for something like this since the days of Spark and Frameless. Better late than never.

Now hoping to build a bunch of Neuro symbolic AI on top of this.
mchav
·4 か月前·議論
No but something is in the works! We are building reactive notebooks that we will eventually give export capabilties.

You can try it from https://www.datahaskell.org/ under "try out our current stack"
mchav
·4 か月前·議論
Author here: Would have loved to but this is round about my wedding anniversary. Will ask some Haskell friends to submit though.
mchav
·4 か月前·議論
Author here. At the time I worked in fraud detection and we needed to automate file generation for our BRMS. Initially created this to experiment with “models as dataframe expressions” and Haskell is great for DSL-like stuff. That work is still on going: https://github.com/DataHaskell/symbolic-regression and dataframe has a native sparse oblique tree implementation.

As it’s grown it’s been pretty cool to have transparent schema transformations instead of every function mapping a statement a dataframe you can have function signatures like:

``` extract :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int, Column "comments" T.Text] -> TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int] -- body of extract

transform :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int] -> TypedDataFrame [Column "price" Double, Column "quantity" Int] -- body of transform

clean :: TypedDataFrame [Column "price" (Maybe Double), Column "quantity" Int, Column "comments" T.Text] -> TypedDataFrame [Column "price" Double, Column "quantity" Int] clean = transform . extract ```

But you can also do the simple thing too and only worry about type safety if you prefer:

``` df |> D.filterWhere (country_code .==. "JPN") |> D.select [F.name name] |> D.take 5 ```

Being able to work across that whole spectrum of type safety is pretty great.
mchav
·7 か月前·議論
RE Jupyter not having advanced features.

Yeah it's a bummer. It seems that notebooks that support these sort of "reactive" workflows are custom built around that model. Marimo, Pluto.jl, and observable are mostly language specific. Creating one would be non trivial.

Do you have your approach documented (tutorial style) anywhere?
mchav
·7 か月前·議論
The rule of thumb is somewhere between 5 and 10x difference. Which is large if you're going to do anything heavy but for most practical purposes it's fine. Roughly the difference between C and Python.