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

jt-hill

no profile record

投稿

Thoughts on OpenAI acquiring Astral and uv/ruff/ty

simonwillison.net
86 ポイント·投稿者 jt-hill·4 か月前·24 コメント

You don't hate Python. You hate other people's Python.

jt-hill.com
8 ポイント·投稿者 jt-hill·4 か月前·6 コメント

How does AI detection work?

pangram.com
1 ポイント·投稿者 jt-hill·4 か月前·1 コメント

Decimal Is Sometimes Wrong

jt-hill.com
10 ポイント·投稿者 jt-hill·8 か月前·3 コメント

Show HN: Credkit – Easier Loan Modeling

github.com
1 ポイント·投稿者 jt-hill·9 か月前·1 コメント

コメント

jt-hill
·29 日前·議論
Always read the PKGBUILD. Always read the updates diffs. It’s that easy.
jt-hill
·2 か月前·議論
> I have no idea if it works or not because I haven’t yet tried running it.

This should have been disclosed in the first paragraph
jt-hill
·3 か月前·議論
Wow it just keeps going. Extremely thorough.
jt-hill
·4 か月前·議論
This is a relief in many ways. With Fivetran’s acquisitions of both dbt labs and Tobiko, I was expecting the end of the open source data ecosystem.
jt-hill
·4 か月前·議論
Astral was always going to have to find some way to sustain itself financially. They weren’t going to just make the best free tools in the ecosystem forever. uv is sufficiently entrenched as infrastructure that I’m sure it’ll take no time for a community fork to show up if they do anything stupid with it.
jt-hill
·4 か月前·議論
Ruff solves this. You should not be manually fiddling with indentations in 2026.
jt-hill
·4 か月前·議論
Hah, thanks. Believe it or not I proofread it like three times but my mental autocorrect is just really aggressive.
jt-hill
·4 か月前·議論
I keep making this argument elsewhere on the Internet, so I thought it would be nice to make my point all in one place. Python is good now, if you weren't paying attention.
jt-hill
·4 か月前·議論
Related recent discussion: https://news.ycombinator.com/item?id=47202864
jt-hill
·8 か月前·議論
Thanks! And you're right this is true for storage and at the transaction level where nothing smaller than, e.g., a penny is allowed to move or exist in the first place. But when you're working with interest rates and the main calculations involve multiplying by numbers < 1, you still have to figure out rounding.
jt-hill
·8 か月前·議論
Author here. I thought was doing what I was supposed to do by using Decimals heavily in my credkit[0] Python library, but I did some testing and discovered it wasn't worth the pain for me. Test code [1] is available for the curious.

The moral of the story is that "best practices" are not a substitute for using your brain.

[0]: https://github.com/jt-hill/credkit

[1]: https://gist.github.com/jt-hill/839e1a6c51d28cbcb8fc69e61431...
jt-hill
·9 か月前·議論
I work in credit risk and needed to model consumer loans in Python. I couldn't find a tool that made it easy to model simple loans either individually or at the pool level, so I decided to make my own.

It's early (v0.2.0) but works end-to-end and can produce an amortization schedule from loan characteristics

Up next are the actual credit risk features I wanted from the start.

Feedback welcome!