HN user

jcul

799 karma

[ my public key: https://keybase.io/jackculhane; my proof: https://keybase.io/jackculhane/sigs/eIDmNI59fKl08Jq1AmAWWd_TfK6ttWLEgZwSBKu2PzM ]

@jcul:matrix.org

meet.hn/city/ie-Cork

Posts3
Comments480
View on HN

I tried opencode and pi recently.

Having come from Claude code, I was a bit shocked that both seem to allow edits by default with no confirmation dialog.

One IIRC allows you to enable it in config and the other needs a plugin.

I've seen a lot of code that just assumes fread / fwrite succeeded without bothering to check the return value...

But in this case if the code was calling fread 65536 times in a loop and getting 64KiB each time it wouldn't be good either!

Sounds like the parent comment had to fix this with the internal cache thing to speed up the small freads. I think they meant the easy fix would have been swapping the args in the original / caller code.

Magnesium has a crazy effect on my sleep, very very noticeably deeper.

Not necessarily more restful, but deep and I don't remember anything. With B6 it's deep but more interspersed with vivid dreams.

I take zinc with them too, my own zma stack basically. I'm not sure the zinc has a direct effect on sleep, I take it for testosterone benefits.

These made me realize that legal vitamins and supplements can have much more than a subtle effect.

It made me laugh to think of C implementers being adversarial! It can feel that way.

I haven't really used modern C, not sure if it's evolved as much as modern C++, which I feel is a joy to use, and a lot safer. But then I've been writing C++ for decades.

I feel like C evolved from basically syntax sugar for assembly, so that's where all the footguns come from, rather than being actually adversarial.

If you've ever done the wim hof breathing method, it is a very intense experience.

Basically hyperventilation + long breath holds. Probably similar to what free divers do without the mammalian dive reflex due to the cold water. Or like a dangerous game kids used to do when I was in school where you hyperventilate and then have someone press on your chest until you pass out.

But anyway, I'm not sure if the science would back it up, but Wim Hof describes it as over oxygenating the blood and then stopping and letting CO2 ramp up or something. Whether it is significantly dropping the CO2 or increasing oxygen during the hyperventilation phase, isn't it kind of the same thing? Adjusting the ratio.

Anecdotally, when I was doing it regularly I seemed to not get sick at all.

Scrcpy v4.0 2 months ago

Or like me you disabled the usb port entirely before first unlock on grapheneos, and then break your screen :(

I think Chernobyl was a big factor in European sentiment towards nuclear power too, in the 80s / 90s.

I grew up in the 90s and didn't even fully understand what it was, but I remember the fear around it. I remember people in Ireland worrying about Sellafield nuclear power plant in the UK and talking about things like wind direction if there was an incident. And the government posting out iodine tablets to homes.

It's a very good book, I haven't read it since I was a kid.

The title is unfortunate, and doesn't really reflect the book IMO.

It sounds like a seedy way to manipulate people and get what you want.

I think a more appropriate title would be "Treat people with kindness and decency and your life will probably be better as a result." Or "A manual for interacting with fellow humans".

I need to reread it actually.

Edit: It has been decades since I read it, but that is my recollection of it at least.

Reminds me of the Beatles lyric:

I'm fixing a hole where the rain gets in

And stops my mind from wandering

Where it will go

Yeah, I lived in the UK before and it's a bit mad.

You can't buy antihistamines either, only in pharmacies and they are quite expensive. I remember you could get them in Tesco or Asda for like £2.

The whole idea of colour and light frequency is fascinating.

These are just frequencies of light, but the subjective experience of them is so much more.

And the whole thing of my perception of "red" or what I call "red" could be very different to someone else's subjective perception. But we would both call it red and associate it with the same thing, fire, love, heat, danger etc.

You know you can just paste mermaid into excalidraw?

It has a mermaid WYSIWYG editor and once the diagram is inserted you can edit it, move objects, add text just like you had drawn it directly in excalidraw.

I usually enter mermaid and then move things around to my liking rather than drawing from scratch.

You can also paste csv in, it's been a while since I've done it but I think it even generates a chart.

It's such a great piece of software IMHO.

Calibre web support, opds catalogue, wallabag, ssh. And it supports so many file formats.

I'd imagine the built in reader has improved a lot over the years, but at the time reading technical pdfs on it was not feasible. KOReader allowed me to rotate to landscape and reflow the pdf text.

I almost got the Clara BW for Christmas, I thought my Clara HD was dead, wasn't sure if it was the battery or screen but it was failing to properly clear and update the screen. Someone actually bought the BW for me but I ended up returning it after I managed to recover the Clara HD.

I was kind of looking forward to the waterproofing, but seems my old one is not yet ready to give up.

+1 for Kobo.

I've had my Kobo Clara HD for almost 8 years and I still use it daily with KOReader. It's so easy to install KOReader and it's really repairable. I replaced the SD card at one point, and another time I thought it was broken or needed a new battery but came back to life after reseating cables.

Before that I had a kindle and you had to jump through a lot of hoops to install KOreader, and I remember you had to be careful not to upgrade the firmware so it could be jailbroken.

Like I said I've had the Kobo for 8 years, so I hope this is still the case.

That four part blog was one of the most entertaining things I've read this year, thanks.

Really in the spirit of "hacker" news IMO.

I get the motivation, it's less avoiding the 1.50 per month and more like a challenge to work around it!

Really interesting.

Forgive my ignorance, but I thought Israel's "iron dome" offered a very effective defense.

Is this just from short distance missiles from neighbouring countries?

This article seems to indicate it's very difficult to achieve a high success rate against multiple missiles.

Admittedly I probably need to read up on this more.