HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jcul

no profile record

コメント

jcul
·25 日前·議論
Ah you're right, I misread it.
jcul
·25 日前·議論
I'm in Europe, but I had accepted that I had to do without. I hadn't heard of curve, going to check that out.
jcul
·25 日前·議論
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.
jcul
·29 日前·議論
Yeah it's quite strange. I was tapping trying to expand it. Tried landscape but it truncates at the same point (Firefox android).
jcul
·先月·議論
First version has a side effect of writing to small_numbers[0] always.

The compiler probability can't optimize that in the second version.

If it wrote unconditionally and incremented only in the if then I'd guess they would compile to the same thing.
jcul
·先月·議論
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.
jcul
·先月·議論
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.
jcul
·2 か月前·議論
Reminds me of that guy who started drinking water upside down to train his swallow muscles and cure his chronic heartburn.
jcul
·2 か月前·議論
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.
jcul
·2 か月前·議論
Or like me you disabled the usb port entirely before first unlock on grapheneos, and then break your screen :(
jcul
·2 か月前·議論
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.
jcul
·2 か月前·議論
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.
jcul
·2 か月前·議論
"pink" h? There's a way to enable colours?
jcul
·2 か月前·議論
There was some discussion on the GitHub issues about workarounds to disable it, even though it is baked in.

https://github.com/theori-io/copy-fail-CVE-2026-31431/issues...

https://github.com/theori-io/copy-fail-CVE-2026-31431/issues...
jcul
·2 か月前·議論
Yes, strongly agree.

This is HUGE news, I would have skimmed over "Copy Fail".

The blog post might be a better place to link to also, it has more details on the exploit.

https://xint.io/blog/copy-fail-linux-distributions

There are also some good threads on which distros are vulnerable and mitigations on the github page.

https://github.com/theori-io/copy-fail-CVE-2026-31431/issues
jcul
·2 か月前·議論
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
jcul
·3 か月前·議論
I would say 16 tablets would be closer to 6, or even 8 euro here.
jcul
·3 か月前·議論
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.
jcul
·3 か月前·議論
In Ireland you can buy acetaminophen in stores, gas stations etc.

For ibuprofen you need to go to a pharmacy.
jcul
·3 か月前·議論
libfaketime is cool for testing this kind of thing too.

Not as convenient for unit tests cause you have to run the test with LD_PRELOAD.