HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ocharles

no profile record

comments

ocharles
·قبل 29 يومًا·discuss
A small diff /= a small change! They are completely separate things. Quite often a small diff is hours of actual work. Even in this case _finding_ those lines could have taken work - we don't really know.
ocharles
·قبل 3 أشهر·discuss
I don't think there's anything passive here - it's a very constructive and valid argument. Are we not here to have a discussion?
ocharles
·قبل 7 أشهر·discuss
We're a Haskell shop, so I usually just say "review the current commit. You're an experienced Haskell programmer and you value readable and obvious code" (because that it is indeed what we value on the team). I'll often ask it to explicitly consider testing, too
ocharles
·قبل 7 أشهر·discuss
I recently started using LLMs to review my code before asking for a more formal review from colleagues. It's actually been surprisingly useful - why waste my colleagues time with small obvious things? But it's also gone much further than that sometimes with deeper reviews points. Even when I don't agree with them it's great having that little bit more food for thought - if anything it helps seed the review
ocharles
·قبل 8 أشهر·discuss
So - exceptions are for invariant violations? I'm essentially trying to work out what it is that makes something "exceptional"
ocharles
·قبل 9 أشهر·discuss
What enclosure houses the JBOD?
ocharles
·قبل 9 أشهر·discuss
I'm curious how much this costs to run. I.e., how much are you paying for electricity?
ocharles
·قبل 10 أشهر·discuss
I write Haskell with Claude Code and it's got remarkably good recently. We have some code at work that uses STM to have what is essentially a mutable state machine. I needed to split a state transition apart, and it did an admirable job. I had to intervene once or twice when it was going down a valid, but undesirable approach. This almost one shot performance was already a productivity boost, but didn't quite build. What I find most impressive now is the "fix" here is to literally have Claude run the build and see the errors. While GHC errors are verbose and not always the best it got everything building in a few more iterations. When it later got a test failure, I suggested we add a bit more logging - so it logged all state transitions, and spotted the unexpected transition and got the test passing. We really are a LONG way away from 3.5 performance.