2025/02/26

Newest at the top

2025-02-26 21:57:15 +0100Everything(~Everythin@46-133-48-141.mobile.vf-ua.net) (Quit: leaving)
2025-02-26 21:40:56 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) todi
2025-02-26 21:39:20 +0100Guest0(~Guest0@2a00:20:0:8685:7afd:8c7b:235a:df44) (Client Quit)
2025-02-26 21:38:49 +0100Guest0(~Guest0@2a00:20:0:8685:7afd:8c7b:235a:df44)
2025-02-26 21:37:27 +0100misterfish(~misterfis@84.53.85.146) misterfish
2025-02-26 21:33:00 +0100ft(~ft@p3e9bc68d.dip0.t-ipconnect.de) ft
2025-02-26 21:31:34 +0100ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2025-02-26 21:25:54 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 252 seconds)
2025-02-26 21:22:03 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-26 21:21:45 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-26 21:17:10 +0100justsomeguy(~justsomeg@user/justsomeguy) justsomeguy
2025-02-26 21:12:20 +0100weary-traveler(~user@user/user363627) user363627
2025-02-26 21:12:05 +0100hgolden(~hgolden@2603:8000:9d00:3ed1:6ff3:8389:b901:6363) hgolden
2025-02-26 21:10:28 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 272 seconds)
2025-02-26 21:09:01 +0100lxsameer(~lxsameer@Serene/lxsameer) (Ping timeout: 244 seconds)
2025-02-26 21:05:24 +0100hseg(~gesh@46.120.20.40) (Ping timeout: 272 seconds)
2025-02-26 21:04:18 +0100hgolden(~hgolden@2603:8000:9d00:3ed1:6ff3:8389:b901:6363) (Remote host closed the connection)
2025-02-26 21:01:50 +0100chiselfuse(~chiselfus@user/chiselfuse) chiselfuse
2025-02-26 21:01:16 +0100misterfish(~misterfis@84.53.85.146) (Ping timeout: 244 seconds)
2025-02-26 21:00:43 +0100caconym(~caconym@user/caconym) caconym
2025-02-26 21:00:39 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-02-26 21:00:02 +0100caconym(~caconym@user/caconym) (Quit: bye)
2025-02-26 20:59:30 +0100vanishingideal(~vanishing@user/vanishingideal) (Remote host closed the connection)
2025-02-26 20:58:10 +0100chiselfuse(~chiselfus@user/chiselfuse) (Remote host closed the connection)
2025-02-26 20:55:51 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-02-26 20:54:48 +0100zungi(~tory@user/andrewchawk) (Ping timeout: 264 seconds)
2025-02-26 20:54:34 +0100acidjnk_new(~acidjnk@p200300d6e7283f80fcc6edffa39079b3.dip0.t-ipconnect.de) acidjnk
2025-02-26 20:53:58 +0100pavonia(~user@user/siracusa) siracusa
2025-02-26 20:53:55 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-02-26 20:53:52 +0100 <dolio> Or use the variable length array at the end of a struct or something.
2025-02-26 20:52:29 +0100 <dolio> Yeah, I can't find that, so I guess that doesn't work. You have to put all your structures in a union.
2025-02-26 20:51:46 +0100 <EvanR> I thought this was this "hope my struct defined the same way for the first 16 bytes" will work if pointer to it is casted, which is use in the sockets API
2025-02-26 20:50:28 +0100 <EvanR> yes unions work
2025-02-26 20:47:29 +0100tccq(~user@user/tccq) (Remote host closed the connection)
2025-02-26 20:45:37 +0100 <dolio> Normally if you access the portion of a union that wasn't used to build it, it's undefined behavior, but there's special dispensation for structs.
2025-02-26 20:44:46 +0100 <dolio> I don't know if you can do it with pointers. But you can put all the structs with the same prefix in a union, and access the members of the prefix via any of the union disjuncts.
2025-02-26 20:40:24 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 265 seconds)
2025-02-26 20:39:19 +0100misterfish(~misterfis@84.53.85.146) misterfish
2025-02-26 20:37:21 +0100misterfish(~misterfis@84.53.85.146) (Ping timeout: 248 seconds)
2025-02-26 20:36:21 +0100sprotte24(~sprotte24@p200300d16f39ea0090c1360b4b7260ad.dip0.t-ipconnect.de)
2025-02-26 20:35:41 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-26 20:33:11 +0100Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla
2025-02-26 20:29:33 +0100 <monochrom> Yeah I think I saw the Linux Itanium-based one.
2025-02-26 20:28:43 +0100 <EvanR> it might seem intuitive that structs which differ by being a prefix of another is compatible but its not
2025-02-26 20:28:03 +0100 <EvanR> casting a pointer to an incompatible type is undefined behavior
2025-02-26 20:27:15 +0100 <dolio> I don't really feel like finding it, though.
2025-02-26 20:27:03 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 245 seconds)
2025-02-26 20:26:57 +0100 <EvanR> I was also pretty sure xD
2025-02-26 20:26:43 +0100 <dolio> No, that part is in there, I'm pretty sure.
2025-02-26 20:26:35 +0100 <EvanR> it's a folk practice