!bClXsReyeEQZkxlUjI:matrix.org

Gavin's Programming

91 Members
6 Servers

Load older messages


SenderMessageTime
6 Jul 2021
@_discord_781728658766561350:t2bot.io/sbin/fsck.xfs#0001 corl 16:38:02
10 Jul 2021
@_discord_834345583392194570:t2bot.ioboatboat joined the room.04:44:40
12 Jul 2021
@_discord_355014877405904896:t2bot.ioUltrahalf#1014 changed their display name from Ultrahalf to Ultrahalf#1014.06:08:39
@_discord_783982235774222367:t2bot.ioStrange_Matter joined the room.22:31:36
17 Jul 2021
@_discord_781728658766561350:t2bot.io/sbin/fsck.xfs#0001 changed their display name from /sbin/agetty#5320 to /sbin/fsck.xfs#5320.20:47:30
18 Jul 2021
@_discord_603325839005974575:t2bot.ioCore changed their display name from Philip_#3145 to Core#3145.13:32:23
@_discord_603325839005974575:t2bot.ioCore changed their profile picture.13:32:29
20 Jul 2021
@_discord_603325839005974575:t2bot.ioCore changed their profile picture.23:36:22
21 Jul 2021
@_discord_260496295259537410:t2bot.ioRandoragon so i'm writing a library in c89, aiming for decent portability. I like to use size_t for all kinds of sizes where it makes sense, because it seems like the correct way and improves readability, but there's always the issue of printing, because c89 printf does not yet have %z, so you have to use %u or %lu depending on the hardware. How do people usually cope with this?
Should I just do something like
#define SIZE_T_FMT "%lu"

and use SIZE_T_FMT everywhere to make it easily adjustable, or is there a better way?
09:34:54
@_discord_260496295259537410:t2bot.ioRandoragon it would be nice to be able to automate this, but unfortunately there is no SIZE_MAX in c89, the only way to obtain it is through (size_t)(-1), which is not a compile-time constant, so it can't be used in preprocessor logic 09:38:21
@_discord_500001759188746280:t2bot.ioHumm#6716
the only way to obtain
wrong
16:28:05
@_discord_500001759188746280:t2bot.ioHumm#6716 sizeof(size_t) exists 16:28:32
@_discord_500001759188746280:t2bot.ioHumm#6716 you could use that at runtime or do a macro for the formatting verb or just cast to unsigned long 16:32:52
@_discord_603325839005974575:t2bot.ioCore changed their profile picture.19:51:13
@_discord_603325839005974575:t2bot.ioCore changed their display name from Core#3145 to Core.19:51:20
@_discord_260496295259537410:t2bot.ioRandoragon oh yeah, of course 20:21:24
@_discord_260496295259537410:t2bot.ioRandoragon can't believe i didn't think of that 20:21:37
@_discord_260496295259537410:t2bot.ioRandoragon thank you 20:21:40
24 Jul 2021
@_discord_396072638578950145:t2bot.iojackgc123 joined the room.15:47:33
27 Jul 2021
@_discord_781728658766561350:t2bot.io/sbin/fsck.xfs#0001 changed their profile picture.17:53:29
29 Jul 2021
@_discord_202708659287883777:t2bot.ioMisterSpaceBorg joined the room.20:17:36
@_discord_461980943729688616:t2bot.ioGavinok#4195 https://github.com/carp-lang/Carp 21:24:47
@_discord_515313851693137921:t2bot.ioGalacticColourisation#5721 oooooo 22:44:43
@_discord_515313851693137921:t2bot.ioGalacticColourisation#5721 better be based on scheme smh 22:45:02
@_discord_515313851693137921:t2bot.ioGalacticColourisation#5721 oh it looks more commonish 22:48:49
@_discord_515313851693137921:t2bot.ioGalacticColourisation#5721 * oh it looks more commonish 22:48:52
@_discord_747907321291604218:t2bot.iothiago-ribeiro joined the room.23:46:45
2 Aug 2021
@_discord_781728658766561350:t2bot.io/sbin/fsck.xfs#0001 changed their display name from /sbin/fsck.xfs#5320 to /sbin/fsck.xfs#0001.06:54:20
@_discord_459915826020220928:t2bot.iohagom joined the room.22:08:22
4 Aug 2021
@_discord_519185051653767177:t2bot.iokarchnu joined the room.12:01:04

There are no newer messages yet.


Back to Room List