Better HN
topnewbestaskshowjobs
Log inSign up

ocharles

1,013 karma · joined Apr 4, 2010 (16y ago) · 200 submissions

[ my public key: https://keybase.io/ocharles; my proof: https://keybase.io/ocharles/sigs/Y-VS6LzrOymRE0X5OtcbxGcmUDLT5J-FmfpyqWSNs_w ]
Submissions

comment 1mo ago · link · parent

I felt old seeing this posted again, but I think I feel even older due to the lack of comments saying "I remember this"!

comment 3mo ago · link · parent

You can learn how to build an LLM from scratch while doing all of those things...

comment 5mo ago · link · parent

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.

comment 7mo ago · link · parent

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?

comment 11mo ago · link · parent

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

comment 11mo ago · link · parent

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

comment 1y ago · link · parent

So - exceptions are for invariant violations? I'm essentially trying to work out what it is that makes something "exceptional"

comment 1y ago · link · parent

What enclosure houses the JBOD?

comment 1y ago · link · parent

I'm curious how much this costs to run. I.e., how much are you paying for electricity?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

This keeps getting parroted but it's flawed/overly idealistic/frankly naive. An awful of children are, unfortunately, poorly parented. This is not a new phenomenon, nor something we seem to be improving. OTOH, exposure to extreme material for young children is increasing, and has consequences beyond that child. Exposure to extreme pornography leads to a warped view of sex which affects everyone this child might have sexual encounters with. Exposure to extreme violent material leads to the murder of other innocent children.

I don't know where I stand on this legislation - my gut is that it's too heavy handed and will miss the mark. But I think we need to stop saying this falls solely on parents. The internet is far too big, and parenting is far too varied for this to work. I wish it would, but it won't. There simply aren't enough parents that care enough.

comment 1y ago · link · parent

Because we know the implications of poor quality food, and we also know those who would buy it have no choice but to buy the cheapest. So, no thanks. I'd much rather the state intervene here and keep this crap out. This "let consumers choose" argument is tiring when consumers don't have the ability to choose. They are just trying to survive

comment 1y ago · link · parent

Because of the volume of documents, or because of some cognitive change at that age?

comment 2y ago · link · parent

Honestly there's way more there, and you get consistent solid speeds. Find a provider with a lot of retention and you can find almost all mainstream media regardless of it's age. (Public) torrents tend to track what's popular and quickly fade. The masses seem to favour low size encodes too, so if you're looking for more quality (and again, public trackers) you're usually much more out of luck.

15.

Total immersive obsession: the man on a mission to record every bird in Ireland(theguardian.com ↗)

1 points · by ocharles · 2y ago · discuss

comment 2y ago · link · parent

> On what timeline? Per hour? Per day?

Surely a pinch of critical thinking answers this? 4 deliveries a day isn't going to pay a daily minimum wage. If it did, then we wouldn't have this situation - surely most riders manage more than one delivery every 2 hours and make more than the minimum wage!

comment 2y ago · link · parent

Is Whoop maybe more what you're looking for? I don't think that has a display at all

comment 2y ago · link · parent

Sleep isn't the metric to track here, there are much better things to analyze such as HRV. For reducing drinking you shouldn't be doing that because of your sleep, you should be doing it because of your overall health. If you care about future health, take blood tests, weigh yourself, evaluate your physical fitness.

comment 2y ago · link · parent

Very hard to answer without knowing what your goal is. Do you want to be a practitioner of DL, or do you want to be a researcher?

comment 3y ago · link · parent

For those who won't bother to RTFA: the trains run cooler than other trains, so they are taking advantage of the difference such that the net result is the same temperature in tunnels, but the interior of trains can be cooler.

comment 3y ago · link · parent

You might like https://github.com/martinvonz/jj, which gives an alternative frontend to Git.

comment 3y ago · link · parent

As I understand it, the point is that these models while they are _trained_ on identifying cats or cars, because they have soon so much variation during training have internalised very different concepts to help come up with "its a cat". The idea then is to take all of these pre-trained weights that let you build this classifier, but then add your own custom head on the front of this network. This saves you doing a huge amount of training for what is essentially feature extraction - that part is already done. All you need to do is just add a bit more training that works out how to use these learnt features. I could be way off the mark, but that's how I understand it.

comment 3y ago · link · parent

Yea, it needs to go fully off screen too!

comment 3y ago · link · parent

I have the 9 and it's a fairly good phone, but seems to have a hard time working with UK phone networks. I get patchy 4G, not sure I've ever seen 5G, and there seems to be a very magic combination of settings that allows me to actually make and receive calls (turning of VoLTE, and a bunch of other things need to be on or off). A shame, because otherwise I love the form factor and other features.

comment 3y ago · link · parent

The book "Beautiful Code", maybe?

comment 3y ago · link · parent

The analogous command here is `jj split -i`, which interactively splits the current commit (which is your working copy).

comment 3y ago · link · parent

Yea, just GitHub repos. In fact just a single repo (work's mono repo) for now, but that's where I spend the majority of my day.

comment 3y ago · link · parent

Nice to see this posted here. I switched over to it about 2-3 weeks ago, and I haven't looked back. It took a lot of mental rewiring, but I really enjoy the workflow `jj` provides. There's no longer a time to think about what's being committed, because all file changes automatically amend the working copy commit. Of course, sometimes you don't want this, so you have things like the ability to split a commit into two, moving commits, etc. But having _everything_ operate on commits is really nice! Other niceities that I like:

- `jj log` is awesome for getting an overview of all your branches. If, like me, you have a lot of work in progress at once, this provides a great map

- Conflict resolution is really cool, as you can partially resolve conflicts, and then switch branches. Conflicts are also tracked specially, but I haven't done too much with this yet.

- The abbreviated changeset ids are really handy. I often will just `jj log` (or in my case just `jj` as that's the default), notice a changeset I want to rebase, then run `jj rebase -s qr -d master`. `qr` here is an abbreviated changeset id for a branch/commit, and usually much quicker than typing the branch name out! This will probably change when clap gets updated to support dynamic tab-completion though.

comment 3y ago · link · parent

Very nice, but what's the upgrade story on these kind of things? Like if there's a bug in any of these, you've got to basically manually watch the repository and manually copy bug fixes back over
1234567