00:02 <+bridge> [ddnet] `// trying to set client name can delete the player object, check if it still exists` 00:02 <+bridge> [ddnet] how? @deen 00:38 <+bridge> [ddnet] @deen I actually don't know how to make this correctly without it being very ugly 00:38 <+bridge> [ddnet] hm 00:39 <+bridge> [ddnet] I'm also wondering if we can just assume the asan headers to be there 00:39 <+bridge> [ddnet] it's one more dependency I guess 00:41 <+bridge> [ddnet] or if you know more preprocessor magic than me you can give it a try 00:41 <+bridge> [ddnet] hm, now that I think about it that branch there is there even if no asan, which is bad too 00:42 <+bridge> [ddnet] yeah, might want to ifdef that away entirely 00:42 <+bridge> [ddnet] ah, you're inside of a macro already, fun 😄 00:43 <+bridge> [ddnet] Tell me if I should try to fix it up (probably tomorrow) 00:43 <+bridge> [ddnet] why do you need to make sure you don't poison the same twice? 00:44 <+bridge> [ddnet] The first poison is to poison the entire pool, couldn't find another way to do it 00:44 <+bridge> [ddnet] I did make an attempt, if you want to take a look, not very pretty though 00:45 <+bridge> [ddnet] ah 00:46 <+bridge> [ddnet] using a global static initializer? 00:47 <+bridge> [ddnet] i think that's the cleanest way 00:50 <+bridge> [ddnet] @deen um, idk how 00:51 <+bridge> [ddnet] I pushed the ugly mess I came up with, if you don't like it I guess you can try tomorrow 00:52 <+bridge> [ddnet] `static int dummy = (some_function(), 0);` is what I've seen a few times 00:52 <+bridge> [ddnet] (packed up into a macro) 00:53 <+bridge> [ddnet] Yeah but asan works with shadow memory, it's not actually initializing the pool itself with sth from what I know 00:53 <+bridge> [ddnet] might be wrong though 00:55 <+bridge> [ddnet] I'll push my version 00:57 <+bridge> [ddnet] ``` 00:57 <+bridge> [ddnet] To enable continue-after-error, compile with -fsanitize-recover=address and then run your code with ASAN_OPTIONS=halt_on_error=0. 00:57 <+bridge> [ddnet] ``` 00:57 <+bridge> [ddnet] i use that 00:57 <+bridge> [ddnet] is that too bad? 00:57 <+bridge> [ddnet] oh ok 00:59 <+bridge> [ddnet] problem is when you use-after-free with heap memory we could be doing an illegal access, causing the os to kill us 01:00 <+bridge> [ddnet] mh, thought it recovers it 01:06 <+bridge> [ddnet] Pushed, good night 01:08 <+bridge> [ddnet] Oh, don't merge that though 01:08 <+bridge> [ddnet] It looks good but it's missing one thing 01:09 <+bridge> [ddnet] needs an alignas(8) somewhere 01:09 <+bridge> [ddnet] but I'm just way too tired actually 01:10 <+bridge> [ddnet] so it'll have to wait :/ 01:10 <+bridge> [ddnet] nice do we upgrade to c++17 now? \:D 01:10 <+bridge> [ddnet] maybe\_unused 01:10 <+bridge> [ddnet] oh, right 01:10 <+bridge> [ddnet] yeah right lets upgrade xdd 01:11 <+bridge> [ddnet] \_\_has\_include() also c++17 01:11 <+bridge> [ddnet] mh not even just alignas, it needs to be padded :/ 01:11 <+bridge> [ddnet] I don't actually know how to :/ 01:40 <+bridge> [ddnet] Ok, I know how, but idk how to do it pretty 😛 01:40 <+bridge> [ddnet] I'll pass out, night 01:46 <+bridge> [ddnet] night 07:46 <+bridge> [ddnet] good morning 07:46 <+bridge> [ddnet] :bluekitty: 14:25 <+bridge> [ddnet] image.png 14:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/905447608150032434/image.png 14:25 <+bridge> [ddnet] [Jupstar ✪](https://matrix.to/#/@jupeyy:matrix.org)\: sort by stars drag the sub forks with in the sorting. Sort by highest plus dif when stars are same. Any wishes left? 14:26 <+bridge> [ddnet] lol, thats actually amazing \:D 14:26 <+bridge> [ddnet] thansk \:) 14:26 <+bridge> [ddnet] was a pain in the ass to drag the sub forks with in sorting 14:28 <+bridge> [ddnet] https://github.com/ChillerDragon/ChromeGithub 14:28 <+bridge> [ddnet] 14:28 <+bridge> [ddnet] in case anyone wants to go through the effort of instaling it 14:31 <+bridge> [ddnet] just leave a todo someday 14:31 <+bridge> [ddnet] might be interesting for bigger projects \:D 14:53 <+bridge> [ddnet] sadly github caps everything it can including hughe fork networks 14:54 <+bridge> [ddnet] image.png 14:54 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/905454887419150387/image.png 14:57 <+bridge> [ddnet] these diffs \:o 14:58 <+bridge> [ddnet] just linux things 14:58 <+bridge> [ddnet] on a completly different lvl 15:15 <+bridge> [ddnet] i dont use chrome 15:15 <+bridge> [ddnet] so i wont install it 15:25 <+bridge> [ddnet] btw does plasma per sec 0 mean always plasma? 15:25 <+bridge> [ddnet] 15:25 <+bridge> [ddnet] e.g. 50 plasma per second would already be every tick 15:28 <+bridge> [ddnet] now with my change it does 15:28 <+bridge> [ddnet] previously it was division by 0, so who knows 15:28 <+bridge> [ddnet] we can also make 1 the minimum 15:28 <+bridge> [ddnet] yeah i dunno how it even end up being 0, but i dont want to break anything xD 15:29 <+bridge> [ddnet] i had it set to 0 in my config, not sure why 15:29 <+bridge> [ddnet] ah so its only on local server? \:D 15:30 <+bridge> [ddnet] yes 15:30 <+bridge> [ddnet] I don'T know if mappers used it 15:30 <+bridge> [ddnet] good ^^ 15:30 <+bridge> [ddnet] at least we had no crashes in the last days on official servers, finally 15:31 <+bridge> [ddnet] sounds great, good asan found some stuff 15:35 <+bridge> [ddnet] more than i wanted 😄 15:36 <+bridge> [ddnet] true, but the more stable it is now, the easier it is to revert future bugs without breaking everything xD 15:51 <+bridge> [ddnet] @deen here? 15:51 <+bridge> [ddnet] hi 15:52 <+bridge> [ddnet] How do you start the discord bot? 15:52 <+bridge> [ddnet] I don't 15:53 <+bridge> [ddnet] It seems to have no parent, so I'm guessing you use a systemd script or sth 15:53 <+bridge> [ddnet] `nohup target/release/ddnet-discordbot &` probably 15:53 <+bridge> [ddnet] ah I see 15:57 <+bridge> [ddnet] If only the bot wouldn't break every 10 minutes 😛 15:58 <+bridge> [ddnet] @deen before merging the pool poison thing you also need to pad the objects to multiple of 8 bytes :/ 15:59 <+bridge> [ddnet] I thought you said you know how to do that 😉 15:59 <+bridge> [ddnet] The C++17 switch didn't work anyway 16:00 <+bridge> [ddnet] Um, I do, let me try 16:09 <+bridge> [ddnet] @deen does that look acceptable? 16:43 <+bridge> [ddnet] @Ryozuki\: yea true i also use firefox haha how to write firefox extensions? 16:44 <+bridge> [ddnet] @Learath2 is there actually a `send_or_paste` function or did you make that function up? ^^ 16:46 <+bridge> [ddnet] chillerragon: something like that feels like it can just be a userscript 16:46 <+bridge> [ddnet] and userscripts can also be used as extensions directly in some browsers 16:50 <+bridge> [ddnet] @Patiga it should be somewhere in the moderator cog iirc 16:55 <+bridge> [ddnet] idk about user scripts i always used bookmarklets to directly run javascript. But a chrom extension is also only one js file and a manifest json 16:59 <+bridge> [ddnet] @Learath2 I don't see such a function, but I guess checking manually is fine too 17:00 <+bridge> [ddnet] `cogs/admin.py:L36` @Patiga 17:02 <+bridge> [ddnet] oh nice, was looking for such a function in the discord api docs, didn't know cogs where local 17:03 <+bridge> [ddnet] tho I don't think you can use it from there, so you might need to just copy it over 😛 17:04 <+bridge> [ddnet] oh damn it actually uses a paste website 17:04 <+bridge> [ddnet] 😄 17:05 <+bridge> [ddnet] hm I think I'd rather send a txt file if its too long 17:07 <+bridge> [ddnet] well I host the paste site too 17:07 <+bridge> [ddnet] but a txt file would work too 17:15 <+bridge> [ddnet] @ChillerDragon https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension 17:15 <+bridge> [ddnet] looks like its kinda the same 17:16 <+bridge> [ddnet] https://rustacean.net/more-crabby-things/animated-ferris.gif 17:38 <+bridge> [ddnet] yea idk why i thought its a chrome extension just stole it from a years old project. Seems like firefox has the same format and publishing to firefox is actually free while googles store is paid \:c 17:38 <+bridge> [ddnet] (@Ryozuki) 17:41 <+bridge> [ddnet] lol 17:46 <+bridge> [ddnet] https://www.instagram.com/kevingeeschmidt/ 17:55 <+bridge> [ddnet] @Learath2 is rate limiting the reason why you ended up using the self-hosted paste service? 17:56 <+bridge> [ddnet] Nope I already had one, why use someone elses :P 17:56 <+bridge> [ddnet] I think my ddnet-discordbot is no longer doing what is supposed to coz of rate limiting :< 17:57 <+bridge> [ddnet] ok nvm 18:10 <+bridge> [ddnet] @Learath2 again took much longer than I anticipated. I think I did the stuff right, also tested it in my private server (not all branches, though hopefully enough) 18:10 <+bridge> [ddnet] got dinner now, will check on it later 18:43 <+bridge> [ddnet] github ceo retires 18:43 <+bridge> [ddnet] https://github.blog/2021-11-03-thank-you-github/ 18:43 <+bridge> [ddnet] :monkalaugh: 18:43 <+bridge> [ddnet] https://news.ycombinator.com/item?id=29095747 18:45 <+bridge> [ddnet] > 18:45 <+bridge> [ddnet] > TheRealDunkirk 6 minutes ago | parent [–] 18:45 <+bridge> [ddnet] > 18:45 <+bridge> [ddnet] > I'll take the "con" side. A lot of the core Rubyists left for Shopify after the sale, and I'm sure Nat had a contract to stay on for X amount of time, where Microsoft would make no major changes. Now that this is expiring, I fully expect Microsoft to start making changes with the site that will appeal to large corporations, at the expense of what I would prefer, as an individual user. I guess time will tell. 18:45 <+bridge> [ddnet] :monkaS: 18:46 <+bridge> [ddnet] corpo time 18:47 <+bridge> [ddnet] cyberpunk world when? 18:47 <+bridge> [ddnet] the only good thing this guy did was defend youtube-dl when google tried to take it down 18:49 <+bridge> [ddnet] > 18:49 <+bridge> [ddnet] > scrubs 2 hours ago | prev | next [–] 18:49 <+bridge> [ddnet] > 18:49 <+bridge> [ddnet] > If I read another piece of American corporate crap --- plastic, formulaic, always-be-selling --- I'm gonna throw up on my keyboard. The write-up is rife with stock phrases, and vapid emotionalism. Somewhere when the rest of us are busy there's a room somewhere where people get the cheat-sheet, fill-in-the-blank training that produces this junk. Look the guy probably had some success and met some great people. So why in the hell can't you 18:49 <+bridge> [ddnet] xdd 18:50 <+bridge> [ddnet] 😛 18:50 <+bridge> [ddnet] optix 21:30 <+bridge> [ddnet] @Ryozuki was going to watch 5cm per second today but netflix only had italian and japanese subtitles. My japanese isnt good enough yet :D 21:31 <+bridge> [ddnet] i can dm you if u want 21:31 <+bridge> [ddnet] netflix sucks 21:31 <+bridge> [ddnet] they dont even stream u at real quality 22:08 <+bridge> [ddnet] https://github.com/fokkonaut/F-Client/runs/4098111954?check_suite_focus=true 22:08 <+bridge> [ddnet] what is this issue while building on macOSß 22:08 <+bridge> [ddnet] what is this issue while building on macOS? 22:13 <+bridge> [ddnet] rename stuff from version to version.txt or so 22:15 <+bridge> [ddnet] was the fix on ddnet IIRC 22:25 <+bridge> [ddnet] okay i'll try, thx 22:53 <+bridge> [ddnet] Worked, thanks!