HN user

dwagnerkc

21 karma

http://linkedin.com/in/dwagnerkc https://github.com/davidwagnerkc https://www.kaggle.com/davidwagnerkc

Posts2
Comments17
View on HN

Same. I found this because I got my piano tuned yesterday and it bothers me it can't sound that wonderful every day - bothered me even more that it did not seem to exist as a commercial project or DIY solution. I'm in KC so might try to connect, maybe even get it for my Kawai!

they came for the speed but stayed for the API

This is exactly how I would describe my experience. When I talk to others about polars now I usually quickly mention its fast up front, but then mostly talk about the API, its composability, small surface area, etc. are really what make it great to work with. Having these same semantics backed by eager execution, query optimized lazy API, streaming engine, GPU engine, and now distributed auto-magical ephemeral boxes in the sky engine just make it that much better of a tool.

If you want to try it out. Can lazily load from HF and apply filtering this way.

  df = (
    pl.scan_parquet('hf://datasets/minimaxir/mtg-embeddings/mtg_embeddings.parquet')
    .filter(
        pl.col("type").str.contains("Sorcery"),
        pl.col("manaCost").str.contains("B"),
    )
    .collect()
)

Polars is awesome to use, would highly recommend. Single node it is excellent at saturating CPUs, if you need to distribute the work put it in a Ray Actor with some POLARS_MAX_THREADS applied depending on how much it saturates a single node.

I have spent probably over 100 hours now fiddling with data using polars and it is just so enjoyable to use. The interface is the real magic here.

This was captured well in their company announcement blogpost [0]:

A strict, consistent and composable API. Polars gives you the hangover up front and fails fast, making it very suitable for writing correct data pipelines.

[0] https://pola.rs/posts/company-announcement/

I would add Prefix + z for temporarily maximizing/minimizing pane to the full windows is very useful.

Config doesn't have to be very complicated, I've used this for a while.

  set -g mouse on                # allow mouse
  set -g history-limit 999999999 # unlimited history
  set -sg escape-time 0          # vim esc response faster

Great idea. Just FYI on mobile home page looks good and even the tutorials look good, but the Explore page was offset so as to be unreadable. Also feel like Explore page should put top 5 examples at the top instead of random test examples.

Will definitely try it out.

Our great mail mystery has finally been solved!

~50 hair tie packets, ~5 beanies, a scarf, and some makeup.

My wife sometimes wears the light blue beanie they sent and the scarf. I still hear her say "I need a hair tie. Can't find one anywhere" every couple of days. Keep 'em coming guys.