Better HN
topnewbestaskshowjobs
Log inSign up

jt-hill

320 karma · joined Nov 5, 2023 (3y ago) · 40 submissions

jt-hill.com
Submissions

1.

A New Crop of Solar Panels Is the U.S.'s Best Hope of Catching China(nytimes.com ↗)

4 points · by jt-hill · 1mo ago · discuss

comment 1mo ago · link · parent

Welcome to the deepfates program

comment 5mo ago · link · parent

Always read the PKGBUILD. Always read the updates diffs. It’s that easy.

comment 6mo ago · link · parent

> 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

comment 7mo ago · link · parent

Wow it just keeps going. Extremely thorough.

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

8.

Thoughts on OpenAI acquiring Astral and uv/ruff/ty(simonwillison.net ↗)

86 points · by jt-hill · 8mo ago · 24 comments

comment 8mo ago · link · parent

Ruff solves this. You should not be manually fiddling with indentations in 2026.

comment 8mo ago · link · parent

Hah, thanks. Believe it or not I proofread it like three times but my mental autocorrect is just really aggressive.

comment 8mo ago · link · parent

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.

12.

You don't hate Python. You hate other people's Python.(jt-hill.com ↗)

8 points · by jt-hill · 8mo ago · 6 comments

comment 8mo ago · link · parent

Related recent discussion: https://news.ycombinator.com/item?id=47202864

14.

How does AI detection work?(pangram.com ↗)

1 points · by jt-hill · 8mo ago · 1 comment

comment 12mo ago · link · parent

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.

comment 12mo ago · link · parent

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...

17.

Decimal Is Sometimes Wrong(jt-hill.com ↗)

10 points · by jt-hill · 12mo ago · 3 comments

comment 1y ago · link · parent

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!

19.

Show HN: Credkit – Easier Loan Modeling(github.com ↗)

1 points · by jt-hill · 1y ago · 1 comment

comment 1y ago · link · parent

I highly recommend this one too. It completely solved my issues with FOMO/compulsive refreshing

comment 1y ago · link · parent

Classic mistake theory vs conflict theory. Just being right is not a good enough reason for someone to believe you. They have to believe you’re on their side.

comment 1y ago · link · parent

Tbf I don’t think the parent meant all Lexuses (Lexes? Lexi?) are soulless, just theirs. But the brand has its fans.

comment 1y ago · link · parent

> No one will look at it and feel stirred by its beauty

Except for the Toyota nerds who will want to come talk to you about the LFA. Ask me how I know!

comment 1y ago · link · parent

I’m sympathetic to the desire to recapture the electricity of early Twitter, but I’m reminded of the famous quote that “a man cannot step in the same river twice.”

I’m on Bluesky too, and it’s alright, but the internet has changed, the world has changed, and I have changed. It can’t ever be quite the same experience.

comment 1y ago · link · parent

This makes me think of The Sort, coined by the venerable patio11.

The types soft skills it takes to to be effective in the kinda crappy jobs described by the author can command much better remuneration in any number of other roles, and society has gotten much better at efficiently allocating that human capital.

comment 1y ago · link · parent

Wait, this is Andy Weir? Like, that Andy Weir? Like, The Martian and Project Hail Mary Andy Weir? I had no idea.

comment 1y ago · link · parent

It's funny, I instantly recognized that iconic atrium when they used it in Severance and my poor wife had to suffer through an explanation of the history of Bell Labs when she was just trying to watch her TV show.

comment 1y ago · link · parent

I agree that holding the line and failing the whole class if the whole class deserves it is the only hope universities have of breaking the feedback loop, but the author seems to think that represents an insurmountable coordination problem.

comment 1y ago · link · parent

I remember this frustration clearly. It's valuable to be challenged and struggle and overcome, but the value of a perfect GPA is a lot more salient.
12