Better HN
topnewbestaskshowjobs
Log inSign up

bobson_dugnutt5

39 karma · joined Jul 28, 2026 (4mo ago) · 11 submissions

Submissions

comment 1mo ago · link · parent

Also reading DCC as a light read, and then reading At Swim-two-birds by Flann O'Brien as something a bit meatier. ASTB worth the read if you're looking for absurd meta fiction. Some parts I've found to be a bit of a slog, but it's short overall so worth the read

comment 2mo ago · link · parent

Lai Ka-Ying. Nominative determinism!

comment 2mo ago · link · parent

Thank you, your the only person to correctly interpret my comment :)

comment 2mo ago · link · parent

Really? You've written out all the ratios and thresholds manually. If a user wanted to change the set of thresholds the polars way is far superior. In what way do you consider this better?

comment 2mo ago · link · parent

Here are a couple reasons:

- much faster, multithreaded by default. Read in a big csv with it and see how it feels.

- no index/MultiIndex. Pandas special treatment of index always felt like more trouble than it was worth, so no need to reset_index() everywhere.

- expressions are very portable. At first using pl.col everywhere feels like a bit much, but you can define them anywhere and then apply them to a dataframe whenever you want.

- once internalized, the syntax makes much more sense and is far more consistent compared to pandas.

Of course all depends on what your use cases are. If performance is important then I'd strongly recommend trying it out. If you just use it to have a look at the odd dataframe, maybe not worth your time as much

comment 2mo ago · link · parent

What is it about polars syntax you don't like? The fact that is very verbose? At first I wasn't a fan, but over time I've grown to really like it. That never happened to me with pandas, always felt the syntax was messy

comment 2mo ago · link · parent

Fair point, but you can do something like

`df.select("x", y=pl.col.w/pl.col.z)`

comment 2mo ago · link · parent

I love polars. Did a lot of evangelizing in work to get people to give up pandas in favor of it.

comment 2mo ago · link · parent

https://beyondloom.com/blog/octojam.html looks like the game jams are no longer happening. Quite a sad post to read

comment 4mo ago · link · parent

I don't find this convincing at all. The actual interesting attempt at scientific theory of harmony in this could be distilled to a couple of lines, yet the author rambles endlessly in ways that don't add to the piece at all. I already knew his additions from traditional music theory already, so I can't really see what the purpose of this is.