News for hackers. Stuff that matters.

jt-hill

Re:Imp is a full port of DSPy to the BEAM on Sunday September 27, 2026 @11:38PM (#49873318)
Welcome to the deepfates program
Always read the PKGBUILD. Always read the updates diffs. It’s that easy.
Re:From Rust to Ruby on Wednesday May 27, 2026 @05:29PM (#48301004)
> 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

Re:Good CTE, Bad CTE on Tuesday March 31, 2026 @12:02PM (#47589400)
Wow it just keeps going. Extremely thorough.
Re:Linux Foundation Welcomes SQLMesh Project on Wednesday March 25, 2026 @04:30PM (#47522752)
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.
Re:Astral to Join OpenAI on Thursday March 19, 2026 @02:40PM (#47443909)
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.
Re:You don't hate Python. You hate other people's Python. on Monday March 16, 2026 @10:13AM (#47399340)
Ruff solves this. You should not be manually fiddling with indentations in 2026.
Re:You don't hate Python. You hate other people's Python. on Monday March 16, 2026 @09:27AM (#47398741)
Hah, thanks. Believe it or not I proofread it like three times but my mental autocorrect is just really aggressive.
Re:You don't hate Python. You hate other people's Python. on Monday March 16, 2026 @08:51AM (#47398331)
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.
Re:How does AI detection work? on Monday March 02, 2026 @11:11AM (#47219860)
Re:Decimal Is Sometimes Wrong on Friday November 28, 2025 @03:35PM (#46082531)
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.
Re:Decimal Is Sometimes Wrong on Friday November 28, 2025 @03:01PM (#46082241)
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...

Re:Show HN: Credkit – Easier Loan Modeling on Sunday October 12, 2025 @10:13PM (#45564063)
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!

Re:Optimizing My Hacker News Experience on Monday May 12, 2025 @12:30PM (#43964838)
I highly recommend this one too. It completely solved my issues with FOMO/compulsive refreshing
Re:How to Win an Argument with a Toddler on Tuesday April 15, 2025 @12:29PM (#43695177)
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.
Re:But what if I want a faster horse? on Friday April 11, 2025 @09:45AM (#43653730)
Tbf I don’t think the parent meant all Lexuses (Lexes? Lexi?) are soulless, just theirs. But the brand has its fans.
Re:But what if I want a faster horse? on Friday April 11, 2025 @09:01AM (#43653297)
> 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!

Re:Mastodon Exit Interview on Friday April 11, 2025 @08:50AM (#43653199)
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.

Re:Are people bad at their jobs or are the jobs just bad? on Wednesday April 02, 2025 @10:54PM (#43564181)
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.

Re:The Egg (By Andy Weir) on Monday March 31, 2025 @08:24AM (#43534158)
Wait, this is Andy Weir? Like, that Andy Weir? Like, The Martian and Project Hail Mary Andy Weir? I had no idea.
Re:Bell Labs Holmdel Complex on Monday March 31, 2025 @08:21AM (#43534133)
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.
Re:The average college student today on Sunday March 30, 2025 @10:20PM (#43530103)
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.
Re:The average college student today on Sunday March 30, 2025 @10:11PM (#43530027)
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.
Re:The average college student today on Sunday March 30, 2025 @10:01PM (#43529949)
Goodhart's Law in action

Older »