{ "guild": { "id": "743031115207540836", "name": "Everyone's Programming Server", "iconUrl": "https://cdn.discordapp.com/icons/743031115207540836/1d4d00866818b8f61051002dd9f3167a.png?size=512" }, "channel": { "id": "1216216123830440118", "type": "GuildPublicThread", "categoryId": "1022562971743948963", "category": "help", "name": "Trying to fread and fwrite to a file in C", "topic": null }, "dateRange": { "after": null, "before": null }, "exportedAt": "2025-02-26T20:34:02.226337-05:00", "messages": [ { "id": "1216216123830440118", "type": "Default", "timestamp": "2024-03-09T21:48:40.124-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "This is what im trying to achieve, but im having trouble freading and fwriting correctly, with the correct positions as well", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216216124027441192", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216216124027441192/image.png?ex=67c07b48&is=67bf29c8&hm=d8d0169a647cab368a5111b9e26b21d37f1ab1793418bd46180839e58419ace5&", "fileName": "image.png", "fileSizeBytes": 75012 }, { "id": "1216216124262191184", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216216124262191184/image.png?ex=67c07b48&is=67bf29c8&hm=1361044b13d0c7bffa60bc2ccd0a303d8c83f5c485f8a85683d253e30f4f2f35&", "fileName": "image.png", "fileSizeBytes": 48480 }, { "id": "1216216124488945735", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216216124488945735/image.png?ex=67c07b48&is=67bf29c8&hm=12cbff0be94475f3d3bf5c32c44c0324fffb83af7617dc4636a91327743897b8&", "fileName": "image.png", "fileSizeBytes": 43498 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216216201932439755", "type": "Default", "timestamp": "2024-03-09T21:48:58.745-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "This is my code thus far:", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216216201622065332", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216216201622065332/debug.c?ex=67c07b5a&is=67bf29da&hm=591ae20e23f82d23029be0a1316d9c3aa4d63344a7199640090c5af4cffa08bf&", "fileName": "debug.c", "fileSizeBytes": 5031 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216216376998498426", "type": "Default", "timestamp": "2024-03-09T21:49:40.484-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "In contrast to the sample here, my positions seem to be wrong, not sure what im doing wrong \uD83D\uDE26\nim guessing its because of my createcontacts function, because its also affecting my read contacts (where i fread)", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216216376738316429", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216216376738316429/image.png?ex=67c07b84&is=67bf2a04&hm=9d0fb78a8c005ec162b6bedc3738b1ae1bbdc381d2b6e73260df288478768960&", "fileName": "image.png", "fileSizeBytes": 13623 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE26", "code": "frowning", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f626.svg" } ] }, { "id": "1216216482632040620", "type": "Default", "timestamp": "2024-03-09T21:50:05.669-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "@Help-C", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216217470910857357", "type": "Reply", "timestamp": "2024-03-09T21:54:01.293-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "unrelated to the bug but please note you might want to use size_t for the offsets in files or alternatively include stdint.h and use uint64_t, since 32bit ints arent large enough for modern file sizes quite often and long may give you a 32bit int", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216216376998498426", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216217895197999205", "type": "Default", "timestamp": "2024-03-09T21:55:42.451-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i also dont quite understand how you use that offset", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218006107979817", "type": "Default", "timestamp": "2024-03-09T21:56:08.894-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "are you expecting the struct to map to the previously manually written items?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218052807364748", "type": "Default", "timestamp": "2024-03-09T21:56:20.028-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that wont work unless your struct is set to have no padding, which it isnt right now", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218191458467840", "type": "Default", "timestamp": "2024-03-09T21:56:53.085-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(the compiler will add hidden empty space between your items in the struct to align them. so if you write these items in-order into your file like that, then seek back by the size of the struct, you seek back more than your items in many cases due to the padding)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218533449699460", "type": "Default", "timestamp": "2024-03-09T21:58:14.622-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "After each run we are supposed to store the position and yeah fseek to the position as well so we can correctly fwrite, in my case im attempting to do so by scanning the input from the user, ftelling the position, then fwriting, and so on but the positions are causing issues as you've already noticed \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216218561538949261", "type": "Reply", "timestamp": "2024-03-09T21:58:21.319-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "I'm confused, what's the output supposed to look like compared to what you're getting?", "author": { "id": "770728067550150708", "name": "uelsam", "discriminator": "0000", "nickname": "Sammy", "color": "#E67E22", "isBot": false, "roles": [ { "id": "743482290180587614", "name": "Moderator", "color": "#E67E22", "position": 89 }, { "id": "802264469832597526", "name": "Trial moderator", "color": "#992D22", "position": 88 }, { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "800385754219937792", "name": "CodeCom Participant", "color": "#E91E63", "position": 72 }, { "id": "874858515838148608", "name": "Music", "color": "#2ECC71", "position": 66 }, { "id": "746976912181821511", "name": "Help-JS", "color": null, "position": 58 }, { "id": "854548376393089044", "name": "User-Made Challenge Ping", "color": null, "position": 51 }, { "id": "854547959445323806", "name": "Official Challenge Ping", "color": "#525252", "position": 50 }, { "id": "814614879045812324", "name": "Poll Ping", "color": null, "position": 49 }, { "id": "849178678701064203", "name": "pog a conversation starter", "color": "#E74C3C", "position": 48 }, { "id": "831902814950522900", "name": "Stream Ping", "color": null, "position": 47 }, { "id": "849032245279850506", "name": "Announcement Ping", "color": null, "position": 46 }, { "id": "878363922099490846", "name": "Misc Access", "color": "#009BFF", "position": 14 }, { "id": "928781011641311265", "name": "Project: argon-assistant", "color": "#9B59B6", "position": 13 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/770728067550150708/a17f51e52db621ec6f652cad191b0491.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216216376998498426", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216218652404219944", "type": "Default", "timestamp": "2024-03-09T21:58:42.983-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "`contact.empIdPosn - sizeof(contact)` generally i dont understand your substraction here", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218749237989467", "type": "Default", "timestamp": "2024-03-09T21:59:06.07-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "your ftell() is already before you write the struct so why substract again? it doesnt seem to be at the start of the struct either, though. so it's a little confusing", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218868964524092", "type": "Default", "timestamp": "2024-03-09T21:59:34.615-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "in terms of positions, it should be this: \n\nand in terms of writing and reading, i should get this once i fread ( using my readContacts function, but instead, i recieive this when i try to fread after fwriting)", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216218868406685806", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216218868406685806/image.png?ex=67c07dd6&is=67bf2c56&hm=4296a7acd179a1d5a1f2adf95086901ec8c8fa66ba4d99328c3bf32e35662335&", "fileName": "image.png", "fileSizeBytes": 75012 }, { "id": "1216218868767260722", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216218868767260722/image.png?ex=67c07dd6&is=67bf2c56&hm=172d5abb933b44fcb93579c58beb2a360300d0de60334567ce0fa5f434c4f3c4&", "fileName": "image.png", "fileSizeBytes": 87117 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216218989525602376", "type": "Default", "timestamp": "2024-03-09T22:00:03.359-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so yeah when i try to fread, i get this", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216218989261226054", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216218989261226054/image.png?ex=67c07df3&is=67bf2c73&hm=a5601420cb9b9732d379962f0275dac54c73c56d250a20d90ad14ce1b633edcd&", "fileName": "image.png", "fileSizeBytes": 13257 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219004151009432", "type": "Default", "timestamp": "2024-03-09T22:00:06.846-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and you seem to be fwrite()ing all struct items manually then the struct again", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219016977186926", "type": "Default", "timestamp": "2024-03-09T22:00:09.904-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so that's kind of confusing as well", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219019451826206", "type": "Default", "timestamp": "2024-03-09T22:00:10.494-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so my createContacts seems to be off", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219060317196318", "type": "Reply", "timestamp": "2024-03-09T22:00:20.237-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "Yeah im confused ngl", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216219016977186926", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216219094148452402", "type": "Default", "timestamp": "2024-03-09T22:00:28.303-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's like you're writing things twice, then seeking back to the start of where you wrote twice *plus* another size of the struct which is also quite confusing", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219207147196426", "type": "Default", "timestamp": "2024-03-09T22:00:55.244-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and writing out the struct is probably not what you want anyway due to the padding", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219233462255789", "type": "Default", "timestamp": "2024-03-09T22:01:01.518-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "open to any suggestions, tried debugging with print statments etc, but no luck \uD83D\uDE14", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE14", "code": "pensive", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f614.svg" } ] }, { "id": "1216219317348339782", "type": "Reply", "timestamp": "2024-03-09T22:01:21.518-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i can remove those print statements if need be, just for testing", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216219207147196426", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216219319411802183", "type": "Default", "timestamp": "2024-03-09T22:01:22.01-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "well why dont you fix what i suggested? e.g. not seek back more than your ftell, and not write twice", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219514572771329", "type": "Default", "timestamp": "2024-03-09T22:02:08.54-05:00", "timestampEdited": "2024-03-09T22:02:39.041-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "```\n struct contact contact = {empIdPosn, firstNamePosn, lastNamePosn, emailPosn, 0};\n fwrite(&contact, sizeof(contact), 1, fptr);\n```\nlike, why do this when you just wrote all those data points right above? why dump that struct into your file there and duplicate everything? and that struct will have padding so you're writing junk memory between the struct members to the file as well", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219656818524370", "type": "Default", "timestamp": "2024-03-09T22:02:42.454-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so i should ommit that too", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219691404492890", "type": "Default", "timestamp": "2024-03-09T22:02:50.7-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "well unless you can explain why you do that", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219712334331905", "type": "Default", "timestamp": "2024-03-09T22:02:55.69-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you shouldn't guess but think about what you want to do", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219778742485104", "type": "Default", "timestamp": "2024-03-09T22:03:11.523-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "do you want this written to your file twice? then write it twice. what do you want to write in what order and how often? think about that first", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219868957900830", "type": "Default", "timestamp": "2024-03-09T22:03:33.032-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i did it because i was trying to seek to the beginning of a contact and take first struct member position - size of struct to receive location of the original unitialized struct", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219890856362014", "type": "Default", "timestamp": "2024-03-09T22:03:38.253-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but ig that didnt work out", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219936142131221", "type": "Default", "timestamp": "2024-03-09T22:03:49.05-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you already use ftell(). that gives you the point before you wrote anything", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216219985836245033", "type": "Default", "timestamp": "2024-03-09T22:04:00.898-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you dont need to use any struct sizes or substract any struct sizes to get back to that via fseek() later", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220110033784902", "type": "Default", "timestamp": "2024-03-09T22:04:30.509-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if i dont utilize the posns at all, like here per say, i get a unused var error", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216220109815812157", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216220109815812157/image.png?ex=67c07efe&is=67bf2d7e&hm=d04e705c5e31d1f5a54a3f0fa2653602458ac48f90a9fe28407240a7d7dccacc&", "fileName": "image.png", "fileSizeBytes": 3444 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220165197271170", "type": "Default", "timestamp": "2024-03-09T22:04:43.661-05:00", "timestampEdited": "2024-03-09T22:05:01.723-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "basically i dont understand why this code:\n```\n struct contact contact = {empIdPosn, firstNamePosn, lastNamePosn, emailPosn, 0};\n fwrite(&contact, sizeof(contact), 1, fptr);\n printf(\"Record.next = %ld\\n\", contact.next);\n\n\n // Seek back to the beginning of the contact record and overwrite it with the initialized struct\n fseek(fptr, contact.empIdPosn - sizeof(contact), SEEK_SET);\n\n fwrite(&contact, sizeof(contact), 1, fptr);\n```\nisnt just:\n```\n\n // Seek back to the beginning of the contact record and overwrite it with the initialized struct\n fseek(fptr, empIdPosn, SEEK_SET);\n```\nedit: sorry, typo", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220297426894959", "type": "Default", "timestamp": "2024-03-09T22:05:15.187-05:00", "timestampEdited": "2024-03-09T22:05:18.78-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "ohh", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220350510010540", "type": "Default", "timestamp": "2024-03-09T22:05:27.843-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "wait and why do you overwrite the struct again anyway? weird", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220412539699231", "type": "Default", "timestamp": "2024-03-09T22:05:42.632-05:00", "timestampEdited": "2024-03-09T22:07:34.128-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "anyway you cant write the struct into the file like that due to padding. you need to write the individual members always like you already do above", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220585164538008", "type": "Default", "timestamp": "2024-03-09T22:06:23.789-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "basically, writing a struct with members a, b, c via fwrite(&my_struct, sizeof(my_struct), 1, my_file); wont just write out a, b, c in that order", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220677263327342", "type": "Default", "timestamp": "2024-03-09T22:06:45.747-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it will write out a, possibly random junk, b, possibly random junk, c, possibly random junk in that order", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216220941173133394", "type": "Default", "timestamp": "2024-03-09T22:07:48.668-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "structs basically contain hidden spacing between members", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216221030163546253", "type": "Default", "timestamp": "2024-03-09T22:08:09.885-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i hope some of this is helpful. i would rewrite your code more if i was more clear on what exactly you wanted to do", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216221118663229530", "type": "Default", "timestamp": "2024-03-09T22:08:30.985-05:00", "timestampEdited": "2024-03-09T22:08:39.908-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "i dont mind clarifying", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216221154625323091", "type": "Default", "timestamp": "2024-03-09T22:08:39.559-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "your use of ftell() looks solid btw", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216221242978205796", "type": "Default", "timestamp": "2024-03-09T22:09:00.624-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if you use fseek() later you get back exactly to where you were with that ftell(), without any `- sizeof(...)` substractions being needed, just dont use those", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216221456434991116", "type": "Default", "timestamp": "2024-03-09T22:09:51.516-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "do you already have enough hints to fix some things? if yes do that and ask me for how to proceed once you did that. i can help more then, if needed", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216221521681322097", "type": "Default", "timestamp": "2024-03-09T22:10:07.072-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if this makes things clearer, im trying to implement this:", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216221520821620756", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216221520821620756/image.png?ex=67c0804e&is=67bf2ece&hm=60af0b946d840aaa81f0282ea964b2f2c534ffd3174aff8e864bc1903959c1c9&", "fileName": "image.png", "fileSizeBytes": 74257 }, { "id": "1216221521417076797", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216221521417076797/image.png?ex=67c0804f&is=67bf2ecf&hm=ffd3046dd157d536795dcff7697dffbe794752c83365a56480b69012ca22b4c7&", "fileName": "image.png", "fileSizeBytes": 252223 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216221561070293124", "type": "Reply", "timestamp": "2024-03-09T22:10:16.463-05:00", "timestampEdited": "2024-03-09T22:10:21.968-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "yeah will do ty", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216221456434991116", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216221792222318714", "type": "Default", "timestamp": "2024-03-09T22:11:11.574-05:00", "timestampEdited": "2024-03-09T22:12:06.841-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "ah. well since it has 4 positions to store, you would e.g. want to use ftell() 4 times to collect all those postions", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216221928373751828", "type": "Default", "timestamp": "2024-03-09T22:11:44.035-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and when you write the structures to a file, just do fwrite(&my_struct.a, sizeof(mystruct.a), 1, my_file); for first member a, then the same for member b, then for member c, etc. and you avoid the padding issue", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222085366681742", "type": "Default", "timestamp": "2024-03-09T22:12:21.465-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "hopefully that should help you fix some of the problems", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222378498195517", "type": "Default", "timestamp": "2024-03-09T22:13:31.353-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for what it's worth, i think you need to write the offsets first", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222558278385745", "type": "Default", "timestamp": "2024-03-09T22:14:14.216-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "imagine if you look at the file without any other information. what do you need first to do anything? you'll need to know how long the first record is, which is in your positions structure. but you didnt write that first, you did the fwrite() for empIdString first", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222628696686686", "type": "Default", "timestamp": "2024-03-09T22:14:31.005-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "can we go abit slower with the fixes, apologies this is just alot to take in for me lol", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222825476522135", "type": "Default", "timestamp": "2024-03-09T22:15:17.921-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ill try fixing the positions first, mayb thats a start", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222914513342615", "type": "Default", "timestamp": "2024-03-09T22:15:39.149-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so you'll want to collect all the strings from the user, but *not* write them yet, *then* store your positions in your struct. you can do that by just using string length math: e.g. firstNamePosN would be the empIdPosN + strlen(empIdString)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216222979424522260", "type": "Default", "timestamp": "2024-03-09T22:15:54.625-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "although i'll have to say i find the way the task is worded to start with kind of nonsensical to start with", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216223021459570799", "type": "Default", "timestamp": "2024-03-09T22:16:04.647-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "seems like it would make more sense to just store the data item length and not the offsets", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216223164963618867", "type": "Default", "timestamp": "2024-03-09T22:16:38.861-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(and using long for offsets isnt a good idea in modern code)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216223538189439026", "type": "Reply", "timestamp": "2024-03-09T22:18:07.845-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like so?\n```c\nchar choice[10];\n do {\n int empId;\n char *firstName = calloc(100, sizeof(char));\n char *lastName = calloc(100, sizeof(char));\n char *email = calloc(100, sizeof(char));\n\n printf(\"Enter your employee Id: \");\n scanf(\"%d\", &empId);\n getchar(); // Consume the newline character left by scanf\n\n char empIdString[50];\n sprintf(empIdString, \"%d\", empId);\n\n // Calculate positions based on string lengths\n long empIdPosn = ftell(fptr);\n fwrite(empIdString, strlen(empIdString) + 1, sizeof(char), fptr);\n\n printf(\"Employee Id posn = %ld\\n\", empIdPosn);```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216222914513342615", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216224826625359962", "type": "Default", "timestamp": "2024-03-09T22:23:15.032-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ok the assignment seems to imply the data needs to come *before* the struct which is kind of nonsensical", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216224853149880360", "type": "Default", "timestamp": "2024-03-09T22:23:21.356-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "who made that assignment? \uD83D\uDE06", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216224937136881715", "type": "Default", "timestamp": "2024-03-09T22:23:41.38-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "lol i wish i knew", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225020062203944", "type": "Default", "timestamp": "2024-03-09T22:24:01.151-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but yeah just trying to grind it out atp", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225031076581406", "type": "Default", "timestamp": "2024-03-09T22:24:03.777-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you cant read it back like that, ever. because you wont know where the struct is", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225150693802205", "type": "Default", "timestamp": "2024-03-09T22:24:32.296-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "which line are you referring to", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225182117531728", "type": "Default", "timestamp": "2024-03-09T22:24:39.788-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like the one fwrite", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225184487440464", "type": "Default", "timestamp": "2024-03-09T22:24:40.353-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "or", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225254326669333", "type": "Default", "timestamp": "2024-03-09T22:24:57.004-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "well it seems like they want to write you the actual data first, then the struct with the data offsets", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216225293409456188", "type": "Default", "timestamp": "2024-03-09T22:25:06.322-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that makes no sense, you would want to write the data offsets first, then the actual data", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226498382397612", "type": "Default", "timestamp": "2024-03-09T22:29:53.61-05:00", "timestampEdited": "2024-03-09T22:30:34.793-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "```\n do {\n int empId;\n char *firstName = calloc(100, sizeof(char));\n char *lastName = calloc(100, sizeof(char));\n char *email = calloc(100, sizeof(char));\n\n printf(\"Enter your employee Id: \");\n scanf(\"%d\", &empId);\n getchar(); // Consume the newline character left by scanf\n\n size_t offsetFirstName = strlen(empid);\n printf(\"Please enter your first name: \");\n fgets(firstName, 100, stdin);\n firstName[strcspn(firstName, \"\\n\")] = 0; // Remove the newline character\n\n size_t offsetLastName = offsetFirstName + strlen(firstName);\n printf(\"Please enter your last name: \");\n fgets(lastName, 100, stdin);\n lastName[strcspn(lastName, \"\\n\")] = 0; // Remove the newline character\n\n size_t offsetEmail = offsetLastName + strlen(firstName);\n printf(\"Please enter your email: \");\n fgets(email, 100, stdin);\n email[strcspn(email, \"\\n\")] = 0; // Remove the newline character\n \n size_t offsetNext = offsetEmail + strlen(email);\n \n size_t startPosN = ftell(fptr);\n\n struct contact contact;\n size_t sizeStructMembers = sizeof(contact.empidPosN) +\n sizeof(contact.firstNamePosN) + sizeof(contact.lastNamePosN) +\n sizeof(contact.emailPosN) + sizeof(contact.next);\n contact.empIdPosn = startPosN + sizeStructMembers;\n contact.firstNamePosN = startPosN +sizeStructMembers + offsetFirstName;\n contact.lastNamePosN = startPosN +sizeStructMembers + offsetLastName;\n contact.emailPosN = startPosN +sizeStructMembers + offsetEmail;\n contact.next = startPosN +sizeStructMembers + offsetNext;\n```", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226513934880788", "type": "Default", "timestamp": "2024-03-09T22:29:57.318-05:00", "timestampEdited": "2024-03-09T22:30:56.497-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "```\n // Write out struct at file pos 0:\n fwrite(&contact.empIdPosN, sizeof(contact.empIdPosN), 1, fptr);\n fwrite(&contact.firstNamePosn, sizeof(contact.firstNamePosn), 1, fptr);\n fwrite(&contact.lastNamePosn, sizeof(contact.lastNamePosn), 1, fptr);\n fwrite(&contact.empIdPosN, sizeof(contact.empIdPosN), 1, fptr);\n\n // Write out all members:\n fwrite(empId, strlen(empId), 1, fptr);\n fwrite(firstName, strlen(firstName), 1, fptr);\n fwrite(lastName, strlen(lastName), 1, fptr);\n fwrite(email, strlen(email), 1, fptr);\n\n //getchar(); // Consume the newline character left by scanf\n } while (strcmp(choice, \"Yes\") == 0);\n```", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226556871966792", "type": "Default", "timestamp": "2024-03-09T22:30:07.555-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i think you would want to do something like this? maybe", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226696349356042", "type": "Default", "timestamp": "2024-03-09T22:30:40.809-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "sorry still had some typo in it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226729006333952", "type": "Default", "timestamp": "2024-03-09T22:30:48.595-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh so i see your trying to get the length of the name first", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226732080894022", "type": "Default", "timestamp": "2024-03-09T22:30:49.328-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i didnt test it, but just to give you an idea", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226745548800100", "type": "Default", "timestamp": "2024-03-09T22:30:52.539-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "before scanning", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226853380161536", "type": "Default", "timestamp": "2024-03-09T22:31:18.248-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "well you need to get the user input first, then compute the offsets, then write it out only once you know the offsets. then you also wont need to seek around", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216226923357933678", "type": "Default", "timestamp": "2024-03-09T22:31:34.932-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i mean you can do it via seeking but it just makes everything more complicated", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216227020275716166", "type": "Reply", "timestamp": "2024-03-09T22:31:58.039-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah user input first, i just meant it looks like u tried to get the length first", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216226853380161536", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216227063351087245", "type": "Default", "timestamp": "2024-03-09T22:32:08.309-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "unless were looking at a diff message or smth", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216227063497756793", "type": "Default", "timestamp": "2024-03-09T22:32:08.344-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yup", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216227139666575450", "type": "Default", "timestamp": "2024-03-09T22:32:26.504-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "no you're right. i compute the length first without any use of ftell(), then set it all up, then write", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216227168741363782", "type": "Default", "timestamp": "2024-03-09T22:32:33.436-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ftell() is only used to figure out where the entire record starts", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216227248026288158", "type": "Default", "timestamp": "2024-03-09T22:32:52.339-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i mean this is just one way to do it, i figured it was faster than continuing to try to explain it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216227300681453578", "type": "Default", "timestamp": "2024-03-09T22:33:04.893-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and you still have to do the reading part so this is only half of it \uD83D\uDE04 so there's stuff left to do", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216227372496453642", "type": "Default", "timestamp": "2024-03-09T22:33:22.015-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(also i didnt test the code so if i messed up some minor thing dont come at me \uD83D\uDE29 but i hope it shows a useful approach)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE29", "code": "weary", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f629.svg" } ] }, { "id": "1216227918343049280", "type": "Default", "timestamp": "2024-03-09T22:35:32.155-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "is this useful to understand what approach might work? if not lemme know", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216228109003522199", "type": "Default", "timestamp": "2024-03-09T22:36:17.612-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah it is, ty", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216228164758409276", "type": "Reply", "timestamp": "2024-03-09T22:36:30.905-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i would never lol, always appreiciate a helping hand", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216227372496453642", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216228209075425371", "type": "Default", "timestamp": "2024-03-09T22:36:41.471-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but at this for hours, banging my head at a wall", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216228254310993990", "type": "Reply", "timestamp": "2024-03-09T22:36:52.256-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but yeah in terms of reading", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216227300681453578", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216228446246801419", "type": "Default", "timestamp": "2024-03-09T22:37:38.017-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216228446435278858", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216228446435278858/image.png?ex=67c086c2&is=67bf3542&hm=5cc587b8941ca4eff92d5a2272c508443f53cea08fa1d84058bac9f25a042bb2&", "fileName": "image.png", "fileSizeBytes": 99006 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216228503758831646", "type": "Default", "timestamp": "2024-03-09T22:37:51.729-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "im just fseeking, fgets, removing \\n, and printing", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229333220200518", "type": "Default", "timestamp": "2024-03-09T22:41:09.488-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "right! you are reading the struct first, so that aligns with the order i suggested to write it with above code", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229381891035257", "type": "Default", "timestamp": "2024-03-09T22:41:21.092-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "to avoid the padding issue, just do fread() like i did fwrite() for each struct member separately", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229457765990472", "type": "Default", "timestamp": "2024-03-09T22:41:39.182-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "other than that, it looks like your reading code should actually work with how i suggested to write it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216229465655607396", "type": "Default", "timestamp": "2024-03-09T22:41:41.063-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ohhh as opposed to doing it in a while loop?", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229506566848584", "type": "Default", "timestamp": "2024-03-09T22:41:50.817-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you can still do a while loop", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229588649381930", "type": "Default", "timestamp": "2024-03-09T22:42:10.387-05:00", "timestampEdited": "2024-03-09T22:42:41.438-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "while (1) { and then do the ~4 fread() calls for the separate struct members but just check the fread() return value and `break` if you reached end of file", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216229807314960486", "type": "Default", "timestamp": "2024-03-09T22:43:02.521-05:00", "timestampEdited": "2024-03-09T22:43:11.941-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "and then after that, do what your code already does with fread and fseek for the actual data. that looks fine and like it'll work", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216230098714365972", "type": "Default", "timestamp": "2024-03-09T22:44:11.996-05:00", "timestampEdited": "2024-03-10T00:02:48.68-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "~~for what it's worth, it seems like scanf supports specifying the maximum digits. if this was a real world program you would want to add that in to avoid buffer overruns~~ oop only relevant for the other direction int -> str digits, oopsie", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216230223750893588", "type": "Default", "timestamp": "2024-03-09T22:44:41.807-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(of course checking the fwrite() return values would be the next step to avoid data loss on I/O error, but that seems like a less severe issue than corrupting your entire program if someone enters too many digits for the employee id)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216230296866000976", "type": "Default", "timestamp": "2024-03-09T22:44:59.239-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "just to point out best coding practices if this wasnt just a test assignment", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233248594853899", "type": "Reply", "timestamp": "2024-03-09T22:56:42.986-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ok good news sorta", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216226513934880788", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216233342903783545", "type": "Default", "timestamp": "2024-03-09T22:57:05.471-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i attempted to print out the positions to ensure that the contacts function is correct", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216233342718971985", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216233342718971985/image.png?ex=67c08b51&is=67bf39d1&hm=7f64705bb0b2c52279f55c592b67beb9fe7c3043cdf8583794cb74bd9c7dc6c0&", "fileName": "image.png", "fileSizeBytes": 10697 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233398482243584", "type": "Default", "timestamp": "2024-03-09T22:57:18.722-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "getting much closer", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216233398268461157", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216233398268461157/image.png?ex=67c08b5e&is=67bf39de&hm=35f56341f1f10846347a9e1102e58538bfbd16cc9bb4bf48da012f63b09b35a1&", "fileName": "image.png", "fileSizeBytes": 75012 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233401179177040", "type": "Default", "timestamp": "2024-03-09T22:57:19.365-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "then b4", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233428320522250", "type": "Default", "timestamp": "2024-03-09T22:57:25.836-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "starting point looks good", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233620956774470", "type": "Default", "timestamp": "2024-03-09T22:58:11.764-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "maybe this approach would work\n```c\n struct contact contact;\n size_t startPosN = ftell(fptr);\n\n // Calculate positions based on the lengths of the strings\n contact.empIdPosn = startPosN;\n contact.firstNamePosn = contact.empIdPosn + strlen(empIDStr) + 1;\n contact.lastNamePosn = contact.firstNamePosn + strlen(firstName) + 1;\n contact.emailPosn = contact.lastNamePosn + strlen(lastName) + 1;\n contact.next = contact.emailPosn + strlen(email) + 1;\n\n // Write out struct at file pos 0:\n fwrite(&contact, sizeof(contact), 1, fptr);\n\n // Write out all members:\n fwrite(empIDStr, strlen(empIDStr) + 1, 1, fptr);\n printf(\"Employee Id posn = %ld\\n\", contact.empIdPosn);\n\n fwrite(firstName, strlen(firstName) + 1, 1, fptr);\n printf(\"First name posn = %ld\\n\", contact.firstNamePosn);\n\n fwrite(lastName, strlen(lastName) + 1, 1, fptr);\n printf(\"Last name posn = %ld\\n\", contact.lastNamePosn);\n\n fwrite(email, strlen(email) + 1, 1, fptr);\n printf(\"Email position: %ld\\n\", contact.emailPosn);\n\n // Reset file position to the end of the record\n fseek(fptr, 0, SEEK_END);\n\n } while (strcmp(choice, \"Yes\") == 0);\n```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233756818669678", "type": "Default", "timestamp": "2024-03-09T22:58:44.156-05:00", "timestampEdited": "2024-03-09T22:58:52.916-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "basically finding the positions based off of the length of the string + the previous member, if that makes sense", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233858337603795", "type": "Default", "timestamp": "2024-03-09T22:59:08.36-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that works but would reintroduce the struct padding", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216233898900586598", "type": "Default", "timestamp": "2024-03-09T22:59:18.031-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "struct padding however is not portable so it's not a good idea", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216234037459554365", "type": "Default", "timestamp": "2024-03-09T22:59:51.066-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "basically it would work but it would be considered a bad approach in the real world outside of very narrow use cases. certainly bad for a database", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216234143814520894", "type": "Default", "timestamp": "2024-03-09T23:00:16.423-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "also you need to keep the struct size itself in mind for the offsets if you write the struct first", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216235001503285318", "type": "Reply", "timestamp": "2024-03-09T23:03:40.912-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "isnt the \"40\" offset in here the size of the struct? it would make sense if it was, at least. or why do they expect this to show up as 40? your current code doesnt seem to take the struct size into account", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216233398482243584", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216236128781205574", "type": "Reply", "timestamp": "2024-03-09T23:08:09.676-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yes its the size of the struct", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216235001503285318", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216236185521881108", "type": "Default", "timestamp": "2024-03-09T23:08:23.204-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "each struct member is of size 8 since its datatype is long", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216236222947790868", "type": "Default", "timestamp": "2024-03-09T23:08:32.127-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "since theres 5 members, 5 x 8 = **40**", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216236285967077478", "type": "Default", "timestamp": "2024-03-09T23:08:47.152-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "does that make sense", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216236486845010031", "type": "Default", "timestamp": "2024-03-09T23:09:35.045-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yes", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216236533481213985", "type": "Default", "timestamp": "2024-03-09T23:09:46.164-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(it seems like it has no padding then *in this case*, but you basically cant rely on that)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216236636489125999", "type": "Default", "timestamp": "2024-03-09T23:10:10.723-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "the compiler is allowed to add padding so you shouldnt write real world code that relies on there not being any", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216239165080080445", "type": "Reply", "timestamp": "2024-03-09T23:20:13.586-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "my current implementation is the string method that was suggested iirc", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216235001503285318", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216239358470783086", "type": "Default", "timestamp": "2024-03-09T23:20:59.694-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "print debugging rn to see why the padding here is a problem, i think its messing up the count to the next posns", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216239358244294766", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216239358244294766/image.png?ex=67c090eb&is=67bf3f6b&hm=fc3b0180d44459f7b25eeb813926316d3aafb49eca733ee1badfc4654d090d3d&", "fileName": "image.png", "fileSizeBytes": 67286 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216239521570488371", "type": "Default", "timestamp": "2024-03-09T23:21:38.58-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "im thinking of it like this", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216239521386074234", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216239521386074234/image.png?ex=67c09112&is=67bf3f92&hm=f277290a0e3e68de39b9a258c563d2911b8caadd6cec0a30c0bab4ae3a4a6747&", "fileName": "image.png", "fileSizeBytes": 125412 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216239563609997322", "type": "Default", "timestamp": "2024-03-09T23:21:48.603-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "the size of an int is 4. so it should be 44", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216239600062697554", "type": "Default", "timestamp": "2024-03-09T23:21:57.294-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but its 42 \uD83E\uDD14", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83E\uDD14", "code": "thinking", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f914.svg" } ] }, { "id": "1216239663065468948", "type": "Default", "timestamp": "2024-03-09T23:22:12.315-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "can you show your current code? maybe i can spot where it goes awry", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216240709636591687", "type": "Default", "timestamp": "2024-03-09T23:26:21.837-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah fs", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216241076923535390", "type": "Default", "timestamp": "2024-03-09T23:27:49.405-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216241076600311858", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216241076600311858/createContactsA2.c?ex=67c09285&is=67bf4105&hm=978a25842d32af6b3b197a0e115b28c8746ef9daaef829597694c4196ca5500d&", "fileName": "createContactsA2.c", "fileSizeBytes": 3504 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216241185593495592", "type": "Default", "timestamp": "2024-03-09T23:28:15.314-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "the print statements towards the end is just me accessing the members to see the positions", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216241253302145054", "type": "Default", "timestamp": "2024-03-09T23:28:31.457-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "to then compare with this sample output given", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216241253134504027", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216241253134504027/image.png?ex=67c092af&is=67bf412f&hm=959cbb980924b32db2af0beada0db52f95a12059942b65b39d4b7f7ae67473f2&", "fileName": "image.png", "fileSizeBytes": 64630 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216243528959524907", "type": "Reply", "timestamp": "2024-03-09T23:37:34.016-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you seem to be writing empIdPosn twice, is that intended? probably meant to be \"next\" instead", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216241253302145054", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216243828059672748", "type": "Default", "timestamp": "2024-03-09T23:38:45.327-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it could be that empIdPosn is int which depending on your compiler could be 32bit int, but long might be 64bit depending on your compiler, and maybe that would be part of the byte difference", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216243829854703696", "type": "Default", "timestamp": "2024-03-09T23:38:45.755-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "where are you referring to", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216243874809380954", "type": "Default", "timestamp": "2024-03-09T23:38:56.473-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "```\n fwrite(&contact.empIdPosn, sizeof(contact.empIdPosn), 1, fptr);\n fwrite(&contact.firstNamePosn, sizeof(contact.firstNamePosn), 1, fptr);\n fwrite(&contact.lastNamePosn, sizeof(contact.lastNamePosn), 1, fptr);\n fwrite(&contact.empIdPosn, sizeof(contact.empIdPosn), 1, fptr);\n```", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244062336581754", "type": "Default", "timestamp": "2024-03-09T23:39:41.183-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it seems like you would wanna write emailPosN instead, and possibly also contact.next which you arent writing right now", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244070880383136", "type": "Default", "timestamp": "2024-03-09T23:39:43.22-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i think it has to do with this portion\n```c\n struct contact contact;\n size_t sizeStructMembers = sizeof(contact.empIdPosn) +\n sizeof(contact.firstNamePosn) + sizeof(contact.lastNamePosn) +\n sizeof(contact.emailPosn) + sizeof(contact.next);\n contact.empIdPosn = startPosN + sizeStructMembers;\n //contact.firstNamePosn = startPosN +sizeStructMembers + offsetFirstName;\n contact.firstNamePosn = sizeof(int) + contact.empIdPosn;\n contact.lastNamePosn = startPosN +sizeStructMembers + offsetLastName;\n contact.emailPosn = startPosN +sizeStructMembers + offsetEmail;\n contact.next = startPosN +sizeStructMembers + offsetNext;```\n\n\nbecause i tried literally just fname pos = id pos + sizeof int , as shown above, and got this", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244134399053915", "type": "Default", "timestamp": "2024-03-09T23:39:58.364-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216244134197596160", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216244134197596160/image.png?ex=67c0955e&is=67bf43de&hm=836528e2f14e6a8f593adee970d54fa5bbe03d1f52c15b6a016b629926150dbe&", "fileName": "image.png", "fileSizeBytes": 12127 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244166145871892", "type": "Default", "timestamp": "2024-03-09T23:40:05.933-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i see 44 now for the first name posn", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244210462752808", "type": "Default", "timestamp": "2024-03-09T23:40:16.499-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "after just doing sizeof(int) + contact.empid posn", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244233803927633", "type": "Default", "timestamp": "2024-03-09T23:40:22.064-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "since an int is 4 bytes", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244354583363675", "type": "Reply", "timestamp": "2024-03-09T23:40:50.86-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh shoot yeah youre right", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216243874809380954", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216244384173920327", "type": "Default", "timestamp": "2024-03-09T23:40:57.915-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "why did i write id twice", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244396199252018", "type": "Default", "timestamp": "2024-03-09T23:41:00.782-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "my brain is fried rn", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244476452929586", "type": "Default", "timestamp": "2024-03-09T23:41:19.916-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it happens \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216244518811340800", "type": "Default", "timestamp": "2024-03-09T23:41:30.015-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "good coders still do silly mistakes, they just get better at finding them", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216244627535822959", "type": "Reply", "timestamp": "2024-03-09T23:41:55.937-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "does this fix seem viable", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "reference": { "messageId": "1216244210462752808", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216244667293630474", "type": "Default", "timestamp": "2024-03-09T23:42:05.416-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "worked for first name, ig ill try it for the rest", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244828497641543", "type": "Default", "timestamp": "2024-03-09T23:42:43.85-05:00", "timestampEdited": "2024-03-09T23:44:01.335-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "~~contact.firstNamePosn = startPosN +sizeStructMembers + offsetFirstName; < yeah this is wrong because offsetFirstName is actually the offset of *after* the first name~~ oop no it isnt", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244915554750524", "type": "Default", "timestamp": "2024-03-09T23:43:04.606-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i probably named it badly, lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216244955614281758", "type": "Default", "timestamp": "2024-03-09T23:43:14.157-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like, it's actually offsetAfterFirstName", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216245110182772796", "type": "Default", "timestamp": "2024-03-09T23:43:51.009-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh nvm it isnt actually, shoot \uD83D\uDE04 that was wrong, sorry", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216245195742515291", "type": "Default", "timestamp": "2024-03-09T23:44:11.408-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216245222099517450", "type": "Default", "timestamp": "2024-03-09T23:44:17.692-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ah oops, i see the problem now nvm \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216245250461401178", "type": "Default", "timestamp": "2024-03-09T23:44:24.454-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDC40", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC40", "code": "eyes", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f440.svg" } ] }, { "id": "1216245272275845150", "type": "Default", "timestamp": "2024-03-09T23:44:29.655-05:00", "timestampEdited": "2024-03-09T23:45:18.138-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "size_t offsetFirstName = strlen(empIDStr); this should be = sizeof(empId)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216245272569450606", "type": "Default", "timestamp": "2024-03-09T23:44:29.725-05:00", "timestampEdited": "2024-03-09T23:44:32.946-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "is the whole logic is just adding onto the previous position with how many bytes youre working with is", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216245350340231228", "type": "Default", "timestamp": "2024-03-09T23:44:48.267-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i accidentally made it the size of the employee id as a string, but you're writing the employee id as a raw binary int", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216245407815041035", "type": "Default", "timestamp": "2024-03-09T23:45:01.97-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so the offset needs to be the size of the raw binary int, not the number as a string length", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216245708055908463", "type": "Reply", "timestamp": "2024-03-09T23:46:13.553-05:00", "timestampEdited": "2024-03-09T23:46:27.986-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "yeah i mean you dont need to *actually* fwrite() and then ftell() for every entry, but instead like i did you can just make a mental model of what you're going to write out in which order and then add up the sizes in advance. basically predicting what you're going to write", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216245272569450606", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216245880747851856", "type": "Default", "timestamp": "2024-03-09T23:46:54.726-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and of course you shouldnt accidentally write strlen(empIDStr) instead of sizeof(empId) like i did and make the offsets all wrong \uD83D\uDE06 haha", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216245994468016169", "type": "Default", "timestamp": "2024-03-09T23:47:21.839-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for the others strlen() is fine since you actually write the strings to the file for those. but for the id you arent, so there it's wrong", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216246197006897202", "type": "Default", "timestamp": "2024-03-09T23:48:10.128-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "noted \uD83D\uDC4D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216246196830474280", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216246196830474280/image.png?ex=67c0974a&is=67bf45ca&hm=3481e03f57ed3cfc701784cc7b4c56117e7a5a8c07553483ee5cc442a735dbbb&", "fileName": "image.png", "fileSizeBytes": 85177 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" } ] }, { "id": "1216246237125148782", "type": "Default", "timestamp": "2024-03-09T23:48:19.693-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "fixed, testing time \uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216246360010129478", "type": "Default", "timestamp": "2024-03-09T23:48:48.991-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "sizeof(empId)!", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216246424006823946", "type": "Default", "timestamp": "2024-03-09T23:49:04.249-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if you do strlen(empId) it will try to find a null terminator in your int which will do all sorts of funny stuff and possibly crash", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216246444265312407", "type": "Default", "timestamp": "2024-03-09T23:49:09.079-05:00", "timestampEdited": "2024-03-09T23:49:11.815-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "oooooh right, cant get the lenght of an int :smh:", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216246467367538719", "type": "Default", "timestamp": "2024-03-09T23:49:14.587-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "silly me \uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216246501404053524", "type": "Reply", "timestamp": "2024-03-09T23:49:22.702-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yep", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216246424006823946", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216246610606952468", "type": "Default", "timestamp": "2024-03-09T23:49:48.738-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's fine, you seem to have a fairly good grasp on how coding works already \uD83D\uDE0A just takes a bit of practice to get to a working code layout faster, you'll get there", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216246713610797167", "type": "Default", "timestamp": "2024-03-09T23:50:13.296-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and C is famously a bit finnicky. lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216247227203453068", "type": "Default", "timestamp": "2024-03-09T23:52:15.746-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "we are getting so close, i think i need to add a + 1 to each of the offset first name, last name, and email to account for the null char", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216247227001864252", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216247227001864252/image.png?ex=67c0983f&is=67bf46bf&hm=a4a57e30fb794bbb62bb087f8f25edded8364637621ba23f8dd8f8ba34f368ce&", "fileName": "image.png", "fileSizeBytes": 6327 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216247267686744124", "type": "Default", "timestamp": "2024-03-09T23:52:25.398-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "cause as of rn im just off by one \uD83D\uDE06", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216247347621658744", "type": "Default", "timestamp": "2024-03-09T23:52:44.456-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216247347374198846", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216247347374198846/image.png?ex=67c0985c&is=67bf46dc&hm=6da8ec2e8882594ca0a610e5dbea444178f0ce92e1fe122e105c38f22c57684b&", "fileName": "image.png", "fileSizeBytes": 50443 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216247725469732987", "type": "Default", "timestamp": "2024-03-09T23:54:14.542-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "hooray \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216247725323059211", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216247725323059211/image.png?ex=67c098b6&is=67bf4736&hm=5bb2fb39ecd300d0be100cbc165bd848925e8dd1532e1ecbfdfef8081a64f605&", "fileName": "image.png", "fileSizeBytes": 11153 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216247778926268466", "type": "Default", "timestamp": "2024-03-09T23:54:27.287-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh wait", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216247805211971714", "type": "Default", "timestamp": "2024-03-09T23:54:33.554-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "email posn is off by one, should be 55", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83E\uDD14", "code": "thinking", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f914.svg" }, "count": 1, "users": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216249359184691231", "type": "Default", "timestamp": "2024-03-10T00:00:44.05-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "shouldnt it be 67? if last name was at 50", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216249585777905674", "type": "Default", "timestamp": "2024-03-10T00:01:38.074-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "your offsetEmail is accidentally using strlen(firstName)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216249604455272579", "type": "Default", "timestamp": "2024-03-10T00:01:42.527-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "instead of strlen(lastName)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216249791164710973", "type": "Reply", "timestamp": "2024-03-10T00:02:27.042-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "also scratch that, would only be relevant for scanning strings or sprintf'ing numbers but not scanf for numbers, so that's not a concern. i mixed those up", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "reference": { "messageId": "1216230098714365972", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216250830609711114", "type": "Reply", "timestamp": "2024-03-10T00:06:34.865-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "Wang from the example is 4 chars, plus the null /0 so 5 in total, 50 + 5 = 55", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216250829875707984", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216250829875707984/image.png?ex=67c09b9a&is=67bf4a1a&hm=aa20314db8f119ce4fdab0a3643070fb99496631e57a052fd4f8aeef9cdad0cd&", "fileName": "image.png", "fileSizeBytes": 88050 }, { "id": "1216250830382956625", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216250830382956625/image.png?ex=67c09b9a&is=67bf4a1a&hm=03220fcdf3562db3f9492b155aabe1927e16f53b6d8c5e1da244b454d91f1b37&", "fileName": "image.png", "fileSizeBytes": 11997 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216249359184691231", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216250888776319040", "type": "Default", "timestamp": "2024-03-10T00:06:48.733-05:00", "timestampEdited": "2024-03-10T00:06:52.236-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDE2D we making progress slowly but surely", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216251872990724156", "type": "Reply", "timestamp": "2024-03-10T00:10:43.388-05:00", "timestampEdited": "2024-03-10T00:10:54.637-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "oopsie yes i added the email length itself, i mixed it up \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216250830609711114", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216251941928177705", "type": "Default", "timestamp": "2024-03-10T00:10:59.824-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "easy to mix it up \uD83D\uDE06", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216252896153309204", "type": "Default", "timestamp": "2024-03-10T00:14:47.329-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "no worries \uD83D\uDE05", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE05", "code": "sweat_smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f605.svg" } ] }, { "id": "1216253245354410085", "type": "Default", "timestamp": "2024-03-10T00:16:10.585-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "testing rn, i find it so weird how when i add the + 1 in my fwrite statement, the positions are wrong \uD83D\uDE06 \nbut when i add the + 1 in the offset calculations, its correct", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216253308814229706", "type": "Default", "timestamp": "2024-03-10T00:16:25.715-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216253308365312090", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216253308365312090/image.png?ex=67c09de9&is=67bf4c69&hm=3e255f58ee6f7e2f08a41392b03f170260211cc03be6987d8e760d9b78a41e95&", "fileName": "image.png", "fileSizeBytes": 12286 }, { "id": "1216253308629422120", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216253308629422120/image.png?ex=67c09de9&is=67bf4c69&hm=1af45cca293a2b3f9693deaec64ab1c77dd787f16f11bfac5baa6a9e7c5d1355&", "fileName": "image.png", "fileSizeBytes": 23080 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216253321665445968", "type": "Default", "timestamp": "2024-03-10T00:16:28.779-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this is when it works", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216253372693479434", "type": "Default", "timestamp": "2024-03-10T00:16:40.945-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and it doesnt work when i , lets say add + 1 here \uD83D\uDE06", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216253465039208468", "type": "Default", "timestamp": "2024-03-10T00:17:02.962-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216253464825561118", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216253464825561118/image.png?ex=67c09e0e&is=67bf4c8e&hm=419abbad2d44307b823d9393475b93740f11b5846d3768ac7d38f1fbef99714d&", "fileName": "image.png", "fileSizeBytes": 33397 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216253525512818718", "type": "Default", "timestamp": "2024-03-10T00:17:17.38-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "anyways, onto reading now, create contacts is finally working", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216254775310417930", "type": "Reply", "timestamp": "2024-03-10T00:22:15.355-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you were spot on with this lol , if i dont deal with the padding issue and fwrite seperately it doesnt read it properly \uD83D\uDE06", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216254775054700727", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216254775054700727/image.png?ex=67c09f47&is=67bf4dc7&hm=4f732f651213e27fd2e5a8124b1b1361b8128d79b0867e615085e002aa3078ed&", "fileName": "image.png", "fileSizeBytes": 19971 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216229381891035257", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216256915898765463", "type": "Reply", "timestamp": "2024-03-10T00:30:45.711-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that is strange, there shouldnt be any +1 needed in the offsets", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216253245354410085", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216257172883640371", "type": "Default", "timestamp": "2024-03-10T00:31:46.981-05:00", "timestampEdited": "2024-03-10T00:31:53.165-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "unless they would want you to actually write out the null terminators into the file. while that's sometimes done, if you have the offsets where everything ends like you do here, it isnt needed", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258112399609858", "type": "Reply", "timestamp": "2024-03-10T00:35:30.979-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oops, seems like the positions are correct for the first contact, but the second one not so much", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216256915898765463", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216258182050091008", "type": "Default", "timestamp": "2024-03-10T00:35:47.585-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216258181886640218", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216258181886640218/image.png?ex=67c0a273&is=67bf50f3&hm=bc1d16bcb6f33084bd3e5a0bb2ac034daa59ea72ef51634000065a17ecf89f62&", "fileName": "image.png", "fileSizeBytes": 23851 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258242980741181", "type": "Default", "timestamp": "2024-03-10T00:36:02.112-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so the next pointer is bugged?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258268750413854", "type": "Default", "timestamp": "2024-03-10T00:36:08.256-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258290435096597", "type": "Default", "timestamp": "2024-03-10T00:36:13.426-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "we need to set it to the next contact id", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258329999839252", "type": "Default", "timestamp": "2024-03-10T00:36:22.859-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\\", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216258329790120068", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216258329790120068/image.png?ex=67c0a296&is=67bf5116&hm=bc2ec119877d6f9720ba7c1dac8d0977952e4f19d8c1a7f82378f60d9fee0154&", "fileName": "image.png", "fileSizeBytes": 75472 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258343136395385", "type": "Default", "timestamp": "2024-03-10T00:36:25.991-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so like the second 1", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258356952567919", "type": "Default", "timestamp": "2024-03-10T00:36:29.285-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "should start at 73", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258382479097946", "type": "Default", "timestamp": "2024-03-10T00:36:35.371-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "record.next", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258415597457438", "type": "Default", "timestamp": "2024-03-10T00:36:43.267-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "we can use fseek i think", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258591447846932", "type": "Default", "timestamp": "2024-03-10T00:37:25.193-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "after this finishing fwriting of course :\n```\n // Write out struct at file pos 0:\n fwrite(&contact.empIdPosn, sizeof(contact.empIdPosn), 1, fptr);\n fwrite(&contact.firstNamePosn, sizeof(contact.firstNamePosn), 1, fptr);\n fwrite(&contact.lastNamePosn, sizeof(contact.lastNamePosn), 1, fptr);\n fwrite(&contact.emailPosn, sizeof(contact.emailPosn), 1, fptr);\n\n // Write out all members:\n fwrite(empIDStr, strlen(empIDStr), 1, fptr); \n printf(\"Employee Id posn = %ld\\n\", contact.empIdPosn); // just for testing\n\n fwrite(firstName, strlen(firstName), 1, fptr); \n\n printf(\"First name posn = %ld\\n\", contact.firstNamePosn); // just for testing\n\n\n fwrite(lastName, strlen(lastName), 1, fptr);\n\n printf(\"Last name posn = %ld\\n\", contact.lastNamePosn); // just for testing\n\n fwrite(email, strlen(email), 1, fptr);\n\n printf(\"Email position: %ld\\n\", contact.emailPosn); // just for testing\n\n printf(\"Record.next = %ld\\n\", contact.next); // just for testing```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258797962530989", "type": "Default", "timestamp": "2024-03-10T00:38:14.43-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you could output ftell()'s value before you wrote the members and after you wrote them", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216258820959899680", "type": "Default", "timestamp": "2024-03-10T00:38:19.913-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "which should output 40 and 73 i suppose", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216259012711153745", "type": "Default", "timestamp": "2024-03-10T00:39:05.63-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ok but now you're writing out the employee id as a string, not a raw int", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216259046081036318", "type": "Default", "timestamp": "2024-03-10T00:39:13.586-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and you're not writing out contact.next itself in the initial struct", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216259061021016156", "type": "Default", "timestamp": "2024-03-10T00:39:17.148-05:00", "timestampEdited": "2024-03-10T00:40:49.681-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "i suspect that might be related", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216259222879338517", "type": "Default", "timestamp": "2024-03-10T00:39:55.738-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this writes the string: fwrite(empIDStr, strlen(empIDStr), 1, fptr); which is X bytes where X is the length of the string, whereas this writes the raw int: fwrite(&empId, sizeof(empId), 1, fptr); which depending on your compiler is likely 4 bytes", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216259323945156618", "type": "Default", "timestamp": "2024-03-10T00:40:19.834-05:00", "timestampEdited": "2024-03-10T00:40:24.597-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "and after fwrite(&contact.emailPosn, sizeof(contact.emailPosn), 1, fptr) you lack fwrite(&contact.next, sizeof(contact.next), 1, fptr);", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216259532544806923", "type": "Default", "timestamp": "2024-03-10T00:41:09.568-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you could also use a hex editor to check what's actually written in the file. that should help figuring such things out without just staring at the code", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216260968527691886", "type": "Default", "timestamp": "2024-03-10T00:46:51.933-05:00", "timestampEdited": "2024-03-10T00:47:19.717-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "```c\n\n\n // Write out struct at file pos 0:\n fwrite(&contact.empIdPosn, sizeof(contact.empIdPosn), 1, fptr);\n fwrite(&contact.firstNamePosn, sizeof(contact.firstNamePosn), 1, fptr);\n fwrite(&contact.lastNamePosn, sizeof(contact.lastNamePosn), 1, fptr);\n fwrite(&contact.emailPosn, sizeof(contact.emailPosn), 1, fptr);\n fwrite(&contact.next, sizeof(contact.next), 1, fptr); // added\n\n\n // Write out all members:\n fwrite(&empId, sizeof(empId), 1, fptr); // empId fixed\n printf(\"Employee Id posn = %ld\\n\", contact.empIdPosn); // just for testing\n\n fwrite(firstName, strlen(firstName), 1, fptr); \n\n printf(\"First name posn = %ld\\n\", contact.firstNamePosn); // just for testing\n\n\n fwrite(lastName, strlen(lastName), 1, fptr);\n\n printf(\"Last name posn = %ld\\n\", contact.lastNamePosn); // just for testing\n\n fwrite(email, strlen(email), 1, fptr);\n\n printf(\"Email position: %ld\\n\", contact.emailPosn); // just for testing\n\n printf(\"Record.next = %ld\\n\", contact.next); // just for testing```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216260995756855387", "type": "Default", "timestamp": "2024-03-10T00:46:58.425-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that should do the trick", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216261043588960318", "type": "Default", "timestamp": "2024-03-10T00:47:09.829-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "looks better, yes", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216261130062921851", "type": "Default", "timestamp": "2024-03-10T00:47:30.446-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this reminds me, i also have to implement save/load for my tomb raider classic style level format soon \uD83D\uDE06 so i'll be doing almost the same stuff in a few hours or so", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE0E", "code": "sunglasses", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60e.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216261256042778664", "type": "Default", "timestamp": "2024-03-10T00:48:00.482-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "sounds really cool! \uD83D\uDD25 \uD83D\uDE05", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, { "id": "", "name": "\uD83D\uDE05", "code": "sweat_smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f605.svg" } ] }, { "id": "1216261433382404186", "type": "Default", "timestamp": "2024-03-10T00:48:42.763-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "thanks \uD83D\uDE04 \uD83D\uDE04 i hope it will be, *once it works* :pensive_cow_guy: lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" }, { "id": "1039346544220065822", "name": "pensive_cow_guy", "code": "pensive_cow_guy", "isAnimated": false, "imageUrl": "https://cdn.discordapp.com/emojis/1039346544220065822.png" } ] }, { "id": "1216262079284248576", "type": "Default", "timestamp": "2024-03-10T00:51:16.758-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "thats odd", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216262079057498133", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216262079057498133/image.png?ex=67c0a614&is=67bf5494&hm=bcea654a575f228d7bfea9e019210595cbe228b4ca5fe1dad8a59dc9465f1981&", "fileName": "image.png", "fileSizeBytes": 22294 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216262173366419551", "type": "Reply", "timestamp": "2024-03-10T00:51:39.189-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "even after making this change it still isnt poitning to the next contact", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "reference": { "messageId": "1216260968527691886", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216262601604993088", "type": "Default", "timestamp": "2024-03-10T00:53:21.289-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "maybe i should \nfseek(fptr, newContact.empIdPosn - sizeof(newContact), SEEK_CUR); or smth like that", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216262624019218523", "type": "Default", "timestamp": "2024-03-10T00:53:26.633-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "to point to the next contact", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216262673696559157", "type": "Default", "timestamp": "2024-03-10T00:53:38.477-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "hmm", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216264526538997801", "type": "Default", "timestamp": "2024-03-10T01:01:00.229-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "where is it pointing to?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216264631983669359", "type": "Default", "timestamp": "2024-03-10T01:01:25.369-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "is 73 the value of it?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216264946946543726", "type": "Default", "timestamp": "2024-03-10T01:02:40.462-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i dont think you should need to subtract anything", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216264958275489825", "type": "Reply", "timestamp": "2024-03-10T01:02:43.163-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "after creating the second contact it points back to 40 for the ID \uD83D\uDE14", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216264526538997801", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE14", "code": "pensive", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f614.svg" } ] }, { "id": "1216264978516934716", "type": "Default", "timestamp": "2024-03-10T01:02:47.989-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but it shuld be this", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216264978299097089", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216264978299097089/image.png?ex=67c0a8c7&is=67bf5747&hm=dcc5e65a323b8ce1abfbd699584232eb0526ea0e66ddd8f38e8288db2f249bbf&", "fileName": "image.png", "fileSizeBytes": 56193 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265006916829224", "type": "Default", "timestamp": "2024-03-10T01:02:54.76-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "maybe we pos.next after the first contact in the file", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265038915043368", "type": "Default", "timestamp": "2024-03-10T01:03:02.389-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "show code \uD83D\uDE2E \uD83D\uDE2E", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2E", "code": "open_mouth", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62e.svg" } ] }, { "id": "1216265040760410232", "type": "Default", "timestamp": "2024-03-10T01:03:02.829-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "would that mayb do the trick", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265074151395348", "type": "Default", "timestamp": "2024-03-10T01:03:10.79-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's probably just a small oversight", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265107513020506", "type": "Default", "timestamp": "2024-03-10T01:03:18.744-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216265107256905809", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216265107256905809/image.png?ex=67c0a8e6&is=67bf5766&hm=630f548d50b8ec2f19634440b9e40f7f65cd647ab847c89170545fe607cd1f76&", "fileName": "image.png", "fileSizeBytes": 126157 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265264459415552", "type": "Default", "timestamp": "2024-03-10T01:03:56.163-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "okay so what you see output when writing via that printf at the end, is that correct or already wrong?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265298244538378", "type": "Default", "timestamp": "2024-03-10T01:04:04.218-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like is it only wrong after fread()ing it again, or already before writing?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265435964506122", "type": "Default", "timestamp": "2024-03-10T01:04:37.053-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh im not even freading rn, i just happen to make 2 contacts", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265451475042314", "type": "Default", "timestamp": "2024-03-10T01:04:40.751-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "to see if the positions are right", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265479539261591", "type": "Default", "timestamp": "2024-03-10T01:04:47.442-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and the first was, but second wasnt", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265543024250951", "type": "Default", "timestamp": "2024-03-10T01:05:02.578-05:00", "timestampEdited": "2024-03-10T01:05:09.228-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "so moving on to readContacts wouldnt be good if this isnt wokring with multiple contacts", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265551400407101", "type": "Default", "timestamp": "2024-03-10T01:05:04.575-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "the + 1 look wrong to me", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265574540251187", "type": "Default", "timestamp": "2024-03-10T01:05:10.092-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so maybe that's related", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216265672309346365", "type": "Default", "timestamp": "2024-03-10T01:05:33.402-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "unless you want to be writing with null terminators but then you have to also + 1 down with the actual fwrite calls or it'll go out of sync", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216266041408229467", "type": "Default", "timestamp": "2024-03-10T01:07:01.402-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "removing the + 1's seems to still make the next contact id start at 40 \uD83E\uDD14", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216266041089331270", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216266041089331270/image.png?ex=67c0a9c5&is=67bf5845&hm=a4af4202cc1537c3ebbc9326ce556b7cdf3ed5f524ad829c474cc38506af4596&", "fileName": "image.png", "fileSizeBytes": 76540 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83E\uDD14", "code": "thinking", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f914.svg" } ] }, { "id": "1216267622354518046", "type": "Default", "timestamp": "2024-03-10T01:13:18.329-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "0hh what if i", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216267652641718313", "type": "Default", "timestamp": "2024-03-10T01:13:25.55-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "set position.next after the email\nthen use next for the second contacts id\nso instead of just id = sizeof(struct)\nits id = pos.next + sizeof(struct)", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216267982271942676", "type": "Default", "timestamp": "2024-03-10T01:14:44.14-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "contact.next = ftell(fptr) + sizeof(struct contact);", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216268033962676356", "type": "Default", "timestamp": "2024-03-10T01:14:56.464-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "// Use position.next for the second contact\nfseek(fptr, contact.next, SEEK_SET);", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216268180327104635", "type": "Reply", "timestamp": "2024-03-10T01:15:31.36-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that doesnt make sense since you're writing the struct's members (!= struct with padding) but then also your actual data so this is off in multiple ways", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216267982271942676", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216268273520218172", "type": "Default", "timestamp": "2024-03-10T01:15:53.579-05:00", "timestampEdited": "2024-03-10T01:16:02.66-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "can you show me the *entire* code? \uD83D\uDE04 i just researched if there are situations where fwrite() doesnt update ftell() but there dont seem to be any so the basic approach should work", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216268310862364744", "type": "Default", "timestamp": "2024-03-10T01:16:02.482-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah sure", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216268365178605619", "type": "Default", "timestamp": "2024-03-10T01:16:15.432-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i'm sure it's just another small oversight still, the approach should work as it is now", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216268770306162689", "type": "Reply", "timestamp": "2024-03-10T01:17:52.022-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i also implemented your suggestion with the readcontacts too while trying to fix the pointer issue rn \uD83D\uDE05", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216268770096713838", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216268770096713838/debug.c?ex=67c0ac4f&is=67bf5acf&hm=e1d4eb905e2604135151c93a46b1181aff907a453104b1fabbafd8b6596d0fee&", "fileName": "debug.c", "fileSizeBytes": 6223 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216268273520218172", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE05", "code": "sweat_smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f605.svg" } ] }, { "id": "1216268798630432848", "type": "Default", "timestamp": "2024-03-10T01:17:58.775-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "feel free to have a look at that too after", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216270547898470480", "type": "Reply", "timestamp": "2024-03-10T01:24:55.833-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "are you calling create_contact() multiple times?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216268770306162689", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216270642630885497", "type": "Default", "timestamp": "2024-03-10T01:25:18.419-05:00", "timestampEdited": "2024-03-10T01:26:54.064-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "apparently file mode a+ will cause all fwrite()s to be forced to the end of the file, but on some systems the fread()/ftell() position might still be at the start of the file (i just looked this up since file pointers and positions can be finicky \uD83D\uDE04 \uD83D\uDE04 )", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216270721823674461", "type": "Default", "timestamp": "2024-03-10T01:25:37.3-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so if you called it on a non-empty file that would explain why it would then show the wrong positions again", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216270923993448468", "type": "Default", "timestamp": "2024-03-10T01:26:25.501-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "what you want to do is probably add fseek(fp, 0, SEEK_END); right after opening the file, before any ftell/fwrite, to make sure you're at the end not only with where it writes but the file position in general", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216271180504371221", "type": "Default", "timestamp": "2024-03-10T01:27:26.658-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ohhh ic\nyeah for reference this is how im calling my functions", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216271180147720312", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216271180147720312/contactsA2.c?ex=67c0ae8e&is=67bf5d0e&hm=19cc1eb165bffa1ca7d820dd033e93812aabe0cf6fb5f0fadc4d62206458e798&", "fileName": "contactsA2.c", "fileSizeBytes": 2658 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216271289451548702", "type": "Default", "timestamp": "2024-03-10T01:27:52.633-05:00", "timestampEdited": "2024-03-10T01:27:55.47-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "basically createcontacts is called again if the user clicks 3", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216271296334401627", "type": "Default", "timestamp": "2024-03-10T01:27:54.274-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ok yes that would explain everthing. ftell() is probably always returning 0 right now, no matter if the file is empty or not", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216271334473207818", "type": "Default", "timestamp": "2024-03-10T01:28:03.367-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "exactly", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216271371395665981", "type": "Reply", "timestamp": "2024-03-10T01:28:12.17-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this should fix it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "reference": { "messageId": "1216270923993448468", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216271526186324098", "type": "Default", "timestamp": "2024-03-10T01:28:49.075-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "C is full of pitfalls \uD83D\uDE05 as evidenced by me having to research it, i didnt know this without looking it up either \uD83D\uDE02 but at least i remembered sometimes weird stuff happens with append modes", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE05", "code": "sweat_smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f605.svg" }, { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216271712346177557", "type": "Default", "timestamp": "2024-03-10T01:29:33.459-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh like so?\n```c\n// Function to create contact records in a binary file\nvoid createContacts(char *fileName) {\n/* this function takes a filename as its only parameter and stores employee records in it*/\n FILE *fptr = fopen(fileName, \"a+\");\n fseek(fptr, 0, SEEK_END);\n....................```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216271760358375468", "type": "Reply", "timestamp": "2024-03-10T01:29:44.906-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ikr \uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216271526186324098", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216271846706774106", "type": "Reply", "timestamp": "2024-03-10T01:30:05.493-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "after checking that opening the file succeeded, but yes", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216271712346177557", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216271920140517447", "type": "Default", "timestamp": "2024-03-10T01:30:23.001-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like, `if (!fptr)` check is always a good idea", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216272424153120789", "type": "Default", "timestamp": "2024-03-10T01:32:23.167-05:00", "timestampEdited": "2024-03-10T01:32:28.486-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "you might think i have to be very bored this weekend to deep dive into someone's code like that *and you would be correct* \uD83D\uDC80 \uD83D\uDE02", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC80", "code": "skull", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f480.svg" }, { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216272629074362429", "type": "Default", "timestamp": "2024-03-10T01:33:12.024-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if you didnt then i think i wouldve been finished \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216272765271801937", "type": "Reply", "timestamp": "2024-03-10T01:33:44.496-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah tbh when i started out with C a decade ago, i was lucky to have someone help me too. it's easy to trip over really dumb minor stuff because C is so ass-backward sometimes \uD83D\uDE06", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216272629074362429", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216272765846421576", "type": "Default", "timestamp": "2024-03-10T01:33:44.633-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "files are my weak point", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216272830602149928", "type": "Default", "timestamp": "2024-03-10T01:34:00.072-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so i'm glad to get somebody up to speed to pass on the knowledge lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDCAF", "code": "100", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4af.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216272979638353940", "type": "Default", "timestamp": "2024-03-10T01:34:35.605-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i dont think any modern language would design an append mode this way \uD83D\uDE06 it's just kind of an outdated weird design", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216273148769603677", "type": "Default", "timestamp": "2024-03-10T01:35:15.929-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "looks like it worked sorta", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273154159149206", "type": "Default", "timestamp": "2024-03-10T01:35:17.214-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216273153974603847", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216273153974603847/image.png?ex=67c0b065&is=67bf5ee5&hm=ba433804baf9b6736c680b3d8a49bbdeb72306aa22a7591f7a34273d69d601a0&", "fileName": "image.png", "fileSizeBytes": 59768 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273220949512202", "type": "Default", "timestamp": "2024-03-10T01:35:33.138-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "except the numbers are in the 2000's", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273275068350534", "type": "Default", "timestamp": "2024-03-10T01:35:46.041-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "maybe you tried this 100 times? lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273296862085150", "type": "Default", "timestamp": "2024-03-10T01:35:51.237-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and the file is now giant \uD83D\uDE04 might wanna try wiping it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216273401597919282", "type": "Default", "timestamp": "2024-03-10T01:36:16.208-05:00", "timestampEdited": "2024-03-10T01:36:20.277-05:00", "callEndedTimestamp": null, "isPinned": false, "content": "spot on \uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216273409156059176", "type": "Default", "timestamp": "2024-03-10T01:36:18.01-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like it's currently not gonna clean up the file if you exit the entire program and rerun, so you probably have all the old attempts still in that file", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273441892732998", "type": "Default", "timestamp": "2024-03-10T01:36:25.815-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216273441666236507", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216273441666236507/image.png?ex=67c0b0a9&is=67bf5f29&hm=ef1b4237a9c2676f99f73ad208da57e2a8111e7ab37312a3bf5592bc113a046f&", "fileName": "image.png", "fileSizeBytes": 47865 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273451489427524", "type": "Default", "timestamp": "2024-03-10T01:36:28.103-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yeah its full rn", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273460930674738", "type": "Default", "timestamp": "2024-03-10T01:36:30.354-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "gonna delete it", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273497999802448", "type": "Default", "timestamp": "2024-03-10T01:36:39.192-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "https://tenor.com/view/nichijou-cat-anime-satisfied-full-gif-17661316", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [ { "title": "", "url": "https://tenor.com/view/nichijou-cat-anime-satisfied-full-gif-17661316", "timestamp": null, "description": "", "thumbnail": { "url": "https://images-ext-1.discordapp.net/external/fktaaPPY07ZYCjqxdWUFm4TiPPqxNUa6H3CmzY9rLLQ/https/media.tenor.com/VYZcXikRhbcAAAAe/nichijou-cat.png", "width": 640, "height": 480 }, "video": { "url": "https://images-ext-1.discordapp.net/external/JgB1B1Ae0DbTyoNAxQuDPE5ZbpIapMe9O_8rOpWBrwU/https/media.tenor.com/VYZcXikRhbcAAAPo/nichijou-cat.mp4", "width": 640, "height": 480 }, "images": [], "fields": [], "inlineEmojis": [] } ], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216273824937410650", "type": "Default", "timestamp": "2024-03-10T01:37:57.14-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "wow", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216273824660717578", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216273824660717578/image.png?ex=67c0b105&is=67bf5f85&hm=80bcbcb5893ae2b94906dbe7f47813fa5805cb9a72b23ed16fbbce459f85c86a&", "fileName": "image.png", "fileSizeBytes": 23341 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273839806480495", "type": "Default", "timestamp": "2024-03-10T01:38:00.685-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "im in awe rn \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216273886283436164", "type": "Default", "timestamp": "2024-03-10T01:38:11.766-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "pointer is finally moving on properly", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273898925064282", "type": "Default", "timestamp": "2024-03-10T01:38:14.78-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "to the next contact", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273954948386846", "type": "Default", "timestamp": "2024-03-10T01:38:28.137-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "nice \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216273963496247366", "type": "Default", "timestamp": "2024-03-10T01:38:30.175-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "just a slight number difference", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216273963303436298", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216273963303436298/image.png?ex=67c0b126&is=67bf5fa6&hm=c0913014d9bbace279c676ded2c5c710f480d4c6ae06940c8a309f41a369be25&", "fileName": "image.png", "fileSizeBytes": 118077 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216273966092517386", "type": "Default", "timestamp": "2024-03-10T01:38:30.794-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "well done", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4F", "code": "clap", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44f.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216274044958281748", "type": "Default", "timestamp": "2024-03-10T01:38:49.597-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "is the +1 still in there?", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274060451909782", "type": "Default", "timestamp": "2024-03-10T01:38:53.291-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "on some of the strlen()s", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274073584140288", "type": "Default", "timestamp": "2024-03-10T01:38:56.422-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that might be part of it", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274126801600542", "type": "Default", "timestamp": "2024-03-10T01:39:09.11-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh yeah true", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274169268801627", "type": "Default", "timestamp": "2024-03-10T01:39:19.235-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i put them here instead now", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216274168778330222", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216274168778330222/image.png?ex=67c0b157&is=67bf5fd7&hm=0a5dfc936d20216e47895e66b481708b383b91857f6e5204f491be75f9024c64&", "fileName": "image.png", "fileSizeBytes": 31341 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274231541760071", "type": "Default", "timestamp": "2024-03-10T01:39:34.082-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ill try placing the +1's at the top with the offsets", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274250294624386", "type": "Default", "timestamp": "2024-03-10T01:39:38.553-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "mayb that'll fix it", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274290601623622", "type": "Default", "timestamp": "2024-03-10T01:39:48.163-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if you're meant to write with null terminator then yes, you would put +1 into the fwrite like that **AND** with the offsets above", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274329210196068", "type": "Default", "timestamp": "2024-03-10T01:39:57.368-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if you're meant to write without null terminator, it wouldnt go in either place", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216274402128302140", "type": "Default", "timestamp": "2024-03-10T01:40:14.753-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so whether you put it or not, do it the same for the offset and the write", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216277709978734612", "type": "Default", "timestamp": "2024-03-10T01:53:23.406-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216277709760499862", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216277709760499862/image.png?ex=67c0b4a3&is=67bf6323&hm=0693ab4e042f8dd1640d50de32004a92bbe7d4ae947a149046a802b2e05cb6dc&", "fileName": "image.png", "fileSizeBytes": 81470 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216277730967031808", "type": "Default", "timestamp": "2024-03-10T01:53:28.41-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "we used to pray for times like this", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216277746557124618", "type": "Default", "timestamp": "2024-03-10T01:53:32.127-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "god did \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216277822755180574", "type": "Reply", "timestamp": "2024-03-10T01:53:50.294-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "IDENTICAL, FINALLY \uD83D\uDD25", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216277822486609950", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216277822486609950/image.png?ex=67c0b4be&is=67bf633e&hm=f2c5a27eafb1cf60195b588cad6f3d797211d253a5258435fb1ed656b3b885ad&", "fileName": "image.png", "fileSizeBytes": 101119 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "reference": { "messageId": "1216277709978734612", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" } ] }, { "id": "1216278053353820291", "type": "Default", "timestamp": "2024-03-10T01:54:45.273-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "off to reading contacts !!!!!!!!!! LETS GOOOOOOOOOOOOOOOOOOOOOOOOOOO", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216278214507368558", "type": "Reply", "timestamp": "2024-03-10T01:55:23.695-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "nice \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216278053353820291", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216278845041283113", "type": "Reply", "timestamp": "2024-03-10T01:57:54.026-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "as weird as it sounds, adding brackets with the extra 1s , plus your tip about adding the 1s to the fwrite at the very end did the trick", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216278844844015667", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216278844844015667/image.png?ex=67c0b5b1&is=67bf6431&hm=3366aaeed90a3e41391b3b1cc4b6fd41f0630e8143aa94fd4b1e43d58d60fbec&", "fileName": "image.png", "fileSizeBytes": 25618 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216278214507368558", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216278883880534088", "type": "Default", "timestamp": "2024-03-10T01:58:03.286-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh well", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216278888569770004", "type": "Default", "timestamp": "2024-03-10T01:58:04.404-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "we move", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216279109316120576", "type": "Default", "timestamp": "2024-03-10T01:58:57.034-05:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "nice \uD83D\uDE0A apparently whoever made the assignment expected you to write null terminators then", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE07", "code": "innocent", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f607.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216279589081448569", "type": "Default", "timestamp": "2024-03-10T03:00:51.419-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "Yup!", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216279837300363315", "type": "Default", "timestamp": "2024-03-10T03:01:50.599-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "your tip for freading the members seperately seems to be helping abit , i noticed i dont see junk anymore when i test", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216279836952363118", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216279836952363118/image.png?ex=67c0b69e&is=67bf651e&hm=5a38445397d3ec4b065b62ea0db7526cd2f605663b3330444d02a1074d811803&", "fileName": "image.png", "fileSizeBytes": 113085 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216279980099633162", "type": "Default", "timestamp": "2024-03-10T03:02:24.645-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "nice \uD83D\uDE0A", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216282102451142656", "type": "Default", "timestamp": "2024-03-10T03:10:50.653-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this is where im at", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216282102060814366", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216282102060814366/readContactsA2.c?ex=67c0b8ba&is=67bf673a&hm=aa9ef4df78fa315a57db69e24a3906ded1a29231650dd2043294de00d02e45f1&", "fileName": "readContactsA2.c", "fileSizeBytes": 2629 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216282125616021525", "type": "Default", "timestamp": "2024-03-10T03:10:56.176-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "good news is im not getting junk", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216282148877766766", "type": "Default", "timestamp": "2024-03-10T03:11:01.722-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but my output is", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216282148689018942", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216282148689018942/image.png?ex=67c0b8c5&is=67bf6745&hm=8c47d91351a368525948233e6a78c50e61bf43fb8c70bb32e0327914299f97b1&", "fileName": "image.png", "fileSizeBytes": 20750 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216282155609624586", "type": "Default", "timestamp": "2024-03-10T03:11:03.327-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "empty", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216283252860653608", "type": "Reply", "timestamp": "2024-03-10T03:15:24.932-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "fascinating \uD83D\uDE04 \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216282148877766766", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216283463179833454", "type": "Default", "timestamp": "2024-03-10T03:16:15.076-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "sizeof(empIDString) is going to be... 8 i think? on a 64bit system", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216283483488387084", "type": "Default", "timestamp": "2024-03-10T03:16:19.918-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so that's not what you want for fgets length", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216283514895597740", "type": "Default", "timestamp": "2024-03-10T03:16:27.406-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "you probably want 100 since that's how large your buffer is", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216283890856104017", "type": "Default", "timestamp": "2024-03-10T03:17:57.042-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "also it seems like fgets() might not stop at a null byte. so it'll just run over and do whatever, maybe", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216284033110118440", "type": "Default", "timestamp": "2024-03-10T03:18:30.958-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh true", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216284085043859567", "type": "Default", "timestamp": "2024-03-10T03:18:43.34-04:00", "timestampEdited": "2024-03-10T03:20:06.227-04:00", "callEndedTimestamp": null, "isPinned": false, "content": "you probably want to do something like fread() and e.g. for the first name, something like contact.lastNamePosn - contact.firstNamePosn as length for reading. instead of fgets() i mean", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216284191801737246", "type": "Default", "timestamp": "2024-03-10T03:19:08.793-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and you're storing empId as an int not as a string, so the first fgets() should instead be fread(&my_int, sizeof(my_int), fptr) for some int and not a string \uD83D\uDE0A", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216284218938884157", "type": "Default", "timestamp": "2024-03-10T03:19:15.263-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that's what i spotted so far", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216285186090598560", "type": "Default", "timestamp": "2024-03-10T03:23:05.85-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "```c\n// Reading the contact structure from file\nwhile (fread(&contact, sizeof(struct contact), 1, fptr)) {\n // Read the employee ID as an integer\n int empId;\n fread(&empId, sizeof(empId), 1, fptr);\n printf(\"Employee ID: %d\\n\", empId);\n\n // Calculate the length for reading the first name\n size_t length = contact.lastNamePosn - contact.firstNamePosn;\n\n // Allocate a buffer for the first name\n char* firstName = malloc(length + 1); // +1 for the null terminator\n if (firstName == NULL) {\n printf(\"Memory allocation failed\\n\");\n break;\n }\n\n // Move to the position of the first name\n fseek(fptr, contact.firstNamePosn, SEEK_SET);\n\n // Read the first name\n fread(firstName, length, 1, fptr);\n firstName[length] = '\\0'; // Ensure null-termination\n printf(\"First name: %s\\n\", firstName);\n\n // Free the allocated memory\n free(firstName);\n\n // Repeat similar steps for last name and email\n}```", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216285230516666440", "type": "Default", "timestamp": "2024-03-10T03:23:16.442-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "this what u meant?", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216287853529665566", "type": "Reply", "timestamp": "2024-03-10T03:33:41.817-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yup that looks very good", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216285230516666440", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216290711138467840", "type": "Default", "timestamp": "2024-03-10T03:45:03.124-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "phew", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216290733112299541", "type": "Default", "timestamp": "2024-03-10T03:45:08.363-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "ok heres where im at", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216290763789308015", "type": "Default", "timestamp": "2024-03-10T03:45:15.677-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216290763449827328", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216290763449827328/readContactsA2.c?ex=67c0c0cb&is=67bf6f4b&hm=49c0c8ea3a6ff0a74df5c28b18684d05980a59bb5e57e451f634248b3be776f1&", "fileName": "readContactsA2.c", "fileSizeBytes": 3194 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216290833691836496", "type": "Default", "timestamp": "2024-03-10T03:45:32.343-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "time to test", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216290949593038919", "type": "Default", "timestamp": "2024-03-10T03:45:59.976-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oh wait i dont need the calloc statements", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216290962347659414", "type": "Default", "timestamp": "2024-03-10T03:46:03.017-04:00", "timestampEdited": "2024-03-10T03:46:10.026-04:00", "callEndedTimestamp": null, "isPinned": false, "content": "anymore for reading, cause were mallocing", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216291359363825684", "type": "Default", "timestamp": "2024-03-10T03:47:37.673-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "wow", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [ { "id": "1216291358982275172", "url": "https://cdn.discordapp.com/attachments/1216216123830440118/1216291358982275172/image.png?ex=67c0c159&is=67bf6fd9&hm=f7217732c5bc29e759ca5b7244c5c4b550480efa2d8af51826fa61f4eef0fe76&", "fileName": "image.png", "fileSizeBytes": 14892 } ], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216291410614157322", "type": "Default", "timestamp": "2024-03-10T03:47:49.892-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "im speechless", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216291783936446494", "type": "Reply", "timestamp": "2024-03-10T03:49:18.899-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "https://tenor.com/view/clapping-applause-bravo-thats-great-maids-gif-15408321", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [ { "title": "", "url": "https://tenor.com/view/clapping-applause-bravo-thats-great-maids-gif-15408321", "timestamp": null, "description": "", "thumbnail": { "url": "https://images-ext-1.discordapp.net/external/Y4E-VDk62BOGDXrFT0aOLGXuE-KojkkhkNzcHGEBB50/https/media.tenor.com/Wc2j3bqzbf8AAAAe/clapping-applause.png", "width": 640, "height": 356 }, "video": { "url": "https://images-ext-1.discordapp.net/external/5mnRF44hVAOhlG7R00kDLL0aE8LGZLtVXnGS5dUndSo/https/media.tenor.com/Wc2j3bqzbf8AAAPo/clapping-applause.mp4", "width": 640, "height": 356 }, "images": [], "fields": [], "inlineEmojis": [] } ], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "❤️", "code": "heart", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/2764.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216291410614157322", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216292003491348543", "type": "Default", "timestamp": "2024-03-10T03:50:11.245-04:00", "timestampEdited": "2024-03-10T03:50:16.114-04:00", "callEndedTimestamp": null, "isPinned": false, "content": "now if you want extra polish, add the missing free() statements \uD83D\uDE04 i saw some missing in the write function where you allocate the buffers for user input for each record, then write it, then just let the pointers go out of scope without free()", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216292084667912222", "type": "Default", "timestamp": "2024-03-10T03:50:30.599-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it wont break the program but it'll leak over time", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216292609220415560", "type": "Reply", "timestamp": "2024-03-10T03:52:35.662-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for sure! \uD83D\uDC4D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216292003491348543", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" } ] }, { "id": "1216292694058340393", "type": "Default", "timestamp": "2024-03-10T03:52:55.889-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "freeing memory applies to any allocation we use right? whether its realloc, calloc,or malloc", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216293149136388136", "type": "Default", "timestamp": "2024-03-10T03:54:44.388-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "```c\n // Write out all members:\n fwrite(&empId, sizeof(empId), 1, fptr); \n printf(\"Employee Id posn = %ld\\n\", contact.empIdPosn); // just for testing\n\n fwrite(firstName, strlen(firstName) + 1, 1, fptr); \n\n printf(\"First name posn = %ld\\n\", contact.firstNamePosn); // just for testing\n fwrite(lastName, strlen(lastName) + 1, 1, fptr);\n printf(\"Last name posn = %ld\\n\", contact.lastNamePosn); // just for testing\n fwrite(email, strlen(email) + 1, 1, fptr);\n printf(\"Email position: %ld\\n\", contact.emailPosn); // just for testing\n printf(\"Record.next = %ld\\n\", contact.next); // just for testing\n\n free(firstName);\n free(lastName);\n free(email); ``` \uD83D\uDC4D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" } ] }, { "id": "1216293669808640021", "type": "Reply", "timestamp": "2024-03-10T03:56:48.526-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "any heap allocation yes, including realloc/calloc/malloc. but excluding alloca and some other more cursed functions \uD83D\uDC80 lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216292694058340393", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDC80", "code": "skull", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f480.svg" } ] }, { "id": "1216295987702927390", "type": "Default", "timestamp": "2024-03-10T04:06:01.155-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "searchcontacts is nice cause the logic is rlly similar", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216296013275332638", "type": "Default", "timestamp": "2024-03-10T04:06:07.252-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if (empid == key)", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216296039594852372", "type": "Default", "timestamp": "2024-03-10T04:06:13.527-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "then we found my contact", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216296045345243277", "type": "Default", "timestamp": "2024-03-10T04:06:14.898-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216296532123586570", "type": "Default", "timestamp": "2024-03-10T04:08:10.955-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i did a refactor while we talked", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216296547474735174", "type": "Default", "timestamp": "2024-03-10T04:08:14.615-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i finally got it to compile", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216296579133214780", "type": "Default", "timestamp": "2024-03-10T04:08:22.163-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it crashes \uD83D\uDE2D \uD83D\uDE2D send thoughts and prayers", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216297036488507422", "type": "Reply", "timestamp": "2024-03-10T04:10:11.205-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDE2D \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216296579133214780", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216297180743209111", "type": "Reply", "timestamp": "2024-03-10T04:10:45.598-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for the tomb raider classic?", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216296532123586570", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216297216457834576", "type": "Default", "timestamp": "2024-03-10T04:10:54.113-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "if u need anything, literally anything that could help", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216297262934786108", "type": "Default", "timestamp": "2024-03-10T04:11:05.194-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "please ask, id be willing to help in any way i can", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216298295857778718", "type": "Reply", "timestamp": "2024-03-10T04:15:11.462-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "yes \uD83D\uDE04 or the engine for that, it lives here: https://codeberg.org/Spew3D/Spew3D", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [ { "title": "Spew3D", "url": "https://codeberg.org/Spew3D/Spew3D", "timestamp": null, "description": "A one-header file retro 3D toolkit for C. You link and add in SDL2, and then this toolkit gets you high-level image handling, 2D, 3D, sound, and more. STILL UNFINISHED!", "thumbnail": { "url": "https://images-ext-1.discordapp.net/external/gABpgr43BdGY5jczYtE6kATPx5vmME0SmHBb-fbNWUY/https/codeberg.org/repo-avatars/4bd38b437d70130aa36b63033a125c7df5cf21f934946258ed19c20be8b95a73", "width": 492, "height": 492 }, "images": [], "fields": [], "inlineEmojis": [] } ], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216297180743209111", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216298335569182821", "type": "Default", "timestamp": "2024-03-10T04:15:20.93-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's fine i just need to debug it \uD83D\uDE2E", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2E", "code": "open_mouth", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62e.svg" } ] }, { "id": "1216298467182510200", "type": "Default", "timestamp": "2024-03-10T04:15:52.309-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "SDL2's polygon drawing function is a dum-dum-dum and i need to wrap it to split up polygons if they repeat the texture so that it still shows up: https://github.com/libsdl-org/SDL/issues/9238 and while doing that i just now refactored the code to depend less on SDL2 in general", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216298509427408896", "type": "Default", "timestamp": "2024-03-10T04:16:02.381-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i wanna make SDL2 for graphics optional so i can do cursed things like a terminal renderer later \uD83D\uDE04 \uD83D\uDE04 \uD83D\uDE04", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216298619171508224", "type": "Default", "timestamp": "2024-03-10T04:16:28.546-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like, in a way where it would run if your machine had legit no GPU/no desktop libs installed, at least on linux", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216298776629870632", "type": "Default", "timestamp": "2024-03-10T04:17:06.087-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "the game probably wont be fully open source in the end but the engine is \uD83D\uDE0A", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216299166503014450", "type": "Reply", "timestamp": "2024-03-10T04:18:39.04-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "looks so cool \uD83D\uDD25", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216298295857778718", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" } ] }, { "id": "1216299186459381800", "type": "Default", "timestamp": "2024-03-10T04:18:43.798-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "thanks ❤️ ❤️", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216299219879727225", "type": "Default", "timestamp": "2024-03-10T04:18:51.766-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "85 followers, make that 86 \uD83D\uDD25 ❤️", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" } ] }, { "id": "1216299378088869958", "type": "Default", "timestamp": "2024-03-10T04:19:29.486-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "hz is me \uD83D\uDE05", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE05", "code": "sweat_smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f605.svg" } ] }, { "id": "1216299387823591424", "type": "Default", "timestamp": "2024-03-10T04:19:31.807-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "oooo on github? i dont even use that too much anymore \uD83D\uDE06 mostly just to contribute to stuff that's only on github", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216299466966040596", "type": "Default", "timestamp": "2024-03-10T04:19:50.676-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i have mirrors for all the important projects on github tho, so people can find them", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216299499824349204", "type": "Default", "timestamp": "2024-03-10T04:19:58.51-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but issue tracker etc is on codeberg only", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDCAF", "code": "100", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f4af.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216299597249380422", "type": "Default", "timestamp": "2024-03-10T04:20:21.738-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "cool!!", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216300220611297300", "type": "Reply", "timestamp": "2024-03-10T04:22:50.359-04:00", "timestampEdited": "2024-03-10T04:23:04.583-04:00", "callEndedTimestamp": null, "isPinned": false, "content": "thanks \uD83D\uDE04 \uD83D\uDE04 i'm currently implementing cycling the textures in the level editor and might start dynamic lights and multiple floors today as well (and maybe finish)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216299597249380422", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" } ] }, { "id": "1216300221227864136", "type": "Default", "timestamp": "2024-03-10T04:22:50.506-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "Gave +1 Rep to **@q1z** (current: `#28` - `1`)", "author": { "id": "204255221017214977", "name": "YAGPDB.xyz", "discriminator": "8760", "nickname": "Banner.xyz", "color": "#E91E63", "isBot": true, "roles": [ { "id": "814516079061762098", "name": "Role Bots", "color": null, "position": 86 }, { "id": "745163596568199269", "name": "BOTS", "color": "#E91E63", "position": 45 }, { "id": "808438816162578483", "name": "YAGPDB.xyz", "color": null, "position": 24 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/204255221017214977/a_f745fbd1c07799ac4ec443e988e2b766.gif?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216300393802235944", "type": "Default", "timestamp": "2024-03-10T04:23:31.651-04:00", "timestampEdited": "2024-03-10T04:23:39.102-04:00", "callEndedTimestamp": null, "isPinned": false, "content": "although depending on how long the workaround for that annoying SDL2 bug takes me, the rest might be pushed back a bit \uD83E\uDD14", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83E\uDD14", "code": "thinking", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f914.svg" } ] }, { "id": "1216300667921236021", "type": "Reply", "timestamp": "2024-03-10T04:24:37.006-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that sounds so cool omg \uD83D\uDE2D \uD83D\uDD25", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216300220611297300", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" }, { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" } ] }, { "id": "1216300705846005810", "type": "Default", "timestamp": "2024-03-10T04:24:46.048-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "good luck, hope you absolutely crush it", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216301037942739044", "type": "Reply", "timestamp": "2024-03-10T04:26:05.226-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "what's your plan with C? anything you look forward to coding \uD83D\uDE2E", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216300705846005810", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2E", "code": "open_mouth", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62e.svg" } ] }, { "id": "1216301146327748650", "type": "Default", "timestamp": "2024-03-10T04:26:31.067-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "(i'm assuming you plan to do something more elaborate than employee records one day)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216301843542573158", "type": "Reply", "timestamp": "2024-03-10T04:29:17.296-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for sure", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216301146327748650", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216301858172178563", "type": "Default", "timestamp": "2024-03-10T04:29:20.784-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "\uD83D\uDE02", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE02", "code": "joy", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f602.svg" } ] }, { "id": "1216301863733952512", "type": "Default", "timestamp": "2024-03-10T04:29:22.11-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "hopefully", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216302024447103026", "type": "Reply", "timestamp": "2024-03-10T04:30:00.427-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "as of rn C is what my past two teachers have been walking us through", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216301037942739044", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216302132010160138", "type": "Default", "timestamp": "2024-03-10T04:30:26.072-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so ive been trying to grasp as much as i can to get the fundamentals down", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216302261840646294", "type": "Default", "timestamp": "2024-03-10T04:30:57.026-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "im a fan of web development tho so i tried learning abit of javascript and things like that", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216302291087527976", "type": "Default", "timestamp": "2024-03-10T04:31:03.999-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but havent gone too far with it", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216302380237455390", "type": "Default", "timestamp": "2024-03-10T04:31:25.254-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "there are frameworks that will let you combine C and javascript fwiw \uD83D\uDE2E which can be useful", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2E", "code": "open_mouth", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62e.svg" } ] }, { "id": "1216302424017469500", "type": "Default", "timestamp": "2024-03-10T04:31:35.692-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "so you can do like, stuff that needs to be faaaaaaaaast in C and the UI in javascript", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216302932086095903", "type": "Default", "timestamp": "2024-03-10T04:33:36.825-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "for my game i will combine horse64 and C \uD83D\uDE0A", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216303118065733662", "type": "Default", "timestamp": "2024-03-10T04:34:21.166-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "sounds awesome, i did not know that \uD83D\uDE32", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE32", "code": "astonished", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f632.svg" } ] }, { "id": "1216303167562715186", "type": "Default", "timestamp": "2024-03-10T04:34:32.967-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "havent heard of horse64 either, assuming its a language", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216303228031991869", "type": "Reply", "timestamp": "2024-03-10T04:34:47.384-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's the language i'm making \uD83D\uDE06 see the other channel here lol", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216303167562715186", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE06", "code": "laughing", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f606.svg" } ] }, { "id": "1216303342578307095", "type": "Default", "timestamp": "2024-03-10T04:35:14.694-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but it's highlevel like js or python, so for low level stuff i keep using C", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216303414238117888", "type": "Default", "timestamp": "2024-03-10T04:35:31.779-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "thats sick", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216303447167598662", "type": "Reply", "timestamp": "2024-03-10T04:35:39.63-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "like this?\nhttps://www.google.com/search?q=emscripten&rlz=1C1VDKB_enCA1020CA1020&oq=Emscripten&gs_lcrp=EgZjaHJvbWUqBwgAEAAYgAQyBwgAEAAYgAQyBwgBEAAYgAQyBwgCEAAYgAQyBwgDEAAYgAQyBwgEEAAYgAQyBwgFEAAYgAQyBwgGEAAYgAQyBwgHEAAYgAQyBwgIEAAYgAQyBwgJEAAYgATSAQgxOTI3ajBqOagCALACAA&sourceid=chrome&ie=UTF-8", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [ { "title": "\uD83D\uDD0E emscripten - Google Search", "url": "https://www.google.com/search?q=emscripten&rlz=1C1VDKB_enCA1020CA1020&oq=Emscripten&gs_lcrp=EgZjaHJvbWUqBwgAEAAYgAQyBwgAEAAYgAQyBwgBEAAYgAQyBwgCEAAYgAQyBwgDEAAYgAQyBwgEEAAYgAQyBwgFEAAYgAQyBwgGEAAYgAQyBwgHEAAYgAQyBwgIEAAYgAQyBwgJEAAYgATSAQgxOTI3ajBqOagCALACAA&sourceid=chrome&ie=UTF-8", "timestamp": null, "description": "", "thumbnail": { "url": "https://images-ext-1.discordapp.net/external/CZVZC-Ar-8HZ6DguuH5lhFYpLKYRC0vS7jt6GDOhZuo/https/www.google.com/images/branding/product/1x/gsa_ios_250dp.png", "width": 250, "height": 250 }, "images": [], "fields": [], "inlineEmojis": [] } ], "stickers": [], "reactions": [], "mentions": [ { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" } ], "reference": { "messageId": "1216302380237455390", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216303664738598912", "type": "Reply", "timestamp": "2024-03-10T04:36:31.503-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "that one compiles your C into javascript, that's less useful. more for like when you have a big C codebase and don't have the time to rewrite it with web tech fully, so you just use that", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216303447167598662", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [] }, { "id": "1216303720594145371", "type": "Default", "timestamp": "2024-03-10T04:36:44.82-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "but e.g. you can use Qt and then QtWebkit or something", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216303792950345828", "type": "Default", "timestamp": "2024-03-10T04:37:02.071-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "and then run half of your application inside js inside the QtWebkit thing, but C or C++ outside and pass data back and forth", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDC4D", "code": "thumbsup", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f44d.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [] }, { "id": "1216303891923075072", "type": "Default", "timestamp": "2024-03-10T04:37:25.668-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "it's a common thing for mobile apps in particular", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216303898009276497", "type": "Default", "timestamp": "2024-03-10T04:37:27.119-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "really nice meeting you ellie, im learning so much \uD83D\uDE2D", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2D", "code": "sob", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62d.svg" } ] }, { "id": "1216303930460344370", "type": "Default", "timestamp": "2024-03-10T04:37:34.856-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "never heard of this ever", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216304008113815663", "type": "Default", "timestamp": "2024-03-10T04:37:53.37-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "they often use java or C/C++ outside for the system interactions, and then just show a web browser widget basically where the actual UI runs inside as a local thing (not as a remote website)", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216304131392671795", "type": "Reply", "timestamp": "2024-03-10T04:38:22.762-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "nice to meet you too \uD83D\uDE04 \uD83D\uDE0A", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ], "reference": { "messageId": "1216303898009276497", "channelId": "1216216123830440118", "guildId": "743031115207540836" }, "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE04", "code": "smile", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f604.svg" }, { "id": "", "name": "\uD83D\uDE0A", "code": "blush", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f60a.svg" } ] }, { "id": "1216304224028201020", "type": "Default", "timestamp": "2024-03-10T04:38:44.848-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "i mean this is a server for learning \uD83D\uDE2E \uD83D\uDE2E so i'm sure others can tell you lots of useful things as well", "author": { "id": "404169756631891968", "name": "ellieoopsie", "discriminator": "0000", "nickname": "Ellie", "color": "#A6AEFF", "isBot": false, "roles": [ { "id": "743482969359908968", "name": "Level 3", "color": "#A6AEFF", "position": 79 }, { "id": "746976140937396224", "name": "Helper", "color": "#6F0035", "position": 76 }, { "id": "848201437573152790", "name": "Highly Active", "color": "#A26D27", "position": 73 }, { "id": "743031248452321310", "name": "Language Maker", "color": "#2ECC71", "position": 64 }, { "id": "746976713959014460", "name": "Help-Python", "color": null, "position": 60 }, { "id": "746976986777255937", "name": "Help-C", "color": null, "position": 57 }, { "id": "1069778726457450557", "name": "Help-HTML/CSS", "color": null, "position": 52 }, { "id": "1028692458353213490", "name": "Project: horse64", "color": "#9B59B6", "position": 5 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/404169756631891968/8e9c547efa80758e9dff94d616c49d45.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [ { "emoji": { "id": "", "name": "\uD83D\uDD25", "code": "fire", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f525.svg" }, "count": 1, "users": [ { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" } ] } ], "mentions": [], "inlineEmojis": [ { "id": "", "name": "\uD83D\uDE2E", "code": "open_mouth", "isAnimated": false, "imageUrl": "https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f62e.svg" } ] }, { "id": "1216304469101510819", "type": "Default", "timestamp": "2024-03-10T04:39:43.278-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "100%", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] }, { "id": "1216304483198435379", "type": "Default", "timestamp": "2024-03-10T04:39:46.639-04:00", "timestampEdited": null, "callEndedTimestamp": null, "isPinned": false, "content": "tysm", "author": { "id": "817084059020296203", "name": "q1z2377", "discriminator": "0000", "nickname": "q1z", "color": "#A6D5FF", "isBot": false, "roles": [ { "id": "743483193721749564", "name": "Level 2", "color": "#A6D5FF", "position": 78 } ], "avatarUrl": "https://cdn.discordapp.com/avatars/817084059020296203/d15529af28a16836f98d82eca7a1d384.png?size=512" }, "attachments": [], "embeds": [], "stickers": [], "reactions": [], "mentions": [], "inlineEmojis": [] } ], "messageCount": 408 }