03:38 <+bridge> [ddnet] What is the maximum packet size for a client to have no problems with a DDNet based server? 04:12 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/8d7442e328282bce902aa0c9667da5529a7b392e/src/engine/shared/network.h#L58 04:12 <+bridge> [ddnet] what are you doing? 🙂 04:13 <+bridge> [ddnet] is aarch64 not supported? do you mean that you want to have binaries on ddnet.org? 04:18 <+bridge> [ddnet] I want to limit with my own firewall the pps/bps per IP and the maximum packet length 04:18 <+bridge> [ddnet] If it is higher, the IP will be blocked for a while 04:22 <+bridge> [ddnet] the link I sent above gave the answer btw. 1400 bytes of UDP payload 04:25 <+bridge> [ddnet] Ty thx 07:17 <+bridge> [ddnet] If you try to avoid ddos attacks those are usually spoofed ips with proper teeworlds packets so that wouldn’t be filtered \:( 07:17 <+bridge> [ddnet] What about dummy’s multiple clients. Or multiple users sharing the same ip? 07:17 <+bridge> [ddnet] (@Yek) 08:19 <+bridge> [ddnet] 1400 is close to the MTU 08:19 <+bridge> [ddnet] https://en.wikipedia.org/wiki/Maximum_transmission_unit 09:28 <+bridge> [ddnet] https://www.nvidia.com/en-us/geforce/news/dota-2-geforce-rtx-nvidia-reflex-support-available-now/ 09:28 <+bridge> [ddnet] Is thisntrue 09:36 <+ChillerDragon> https://zillyhuhn.com/cs/.1667637271.png 09:36 <+ChillerDragon> maffs nerd 09:37 <+ChillerDragon> also congrats on being top1 active githubber i follow ryo! You make up 90% if my feed while being only 1 of my 26 followed dudes 09:37 <+ChillerDragon> of 09:40 <+bridge> [ddnet] haha 13:56 <+bridge> [ddnet] https://t.me/+PEc8FSRwFiFiYzc0 13:59 <+bridge> [ddnet] ``` 13:59 <+bridge> [ddnet] if(s_SelectionPopupContext.m_Entries.size() == 1) 13:59 <+bridge> [ddnet] { 13:59 <+bridge> [ddnet] s_SelectionPopupContext.m_pSelection = &*s_SelectionPopupContext.m_Entries.begin(); 13:59 <+bridge> [ddnet] } 13:59 <+bridge> [ddnet] ``` 13:59 <+bridge> [ddnet] 13:59 <+bridge> [ddnet] Does this result in undefined behaviour? `m_Entries` is a `std::set`. I'm want to get a pointer to the first element. As you can see I ensure that there is exactly one element in the set and the set will not be modified in the meantime, so taking a pointer should be fine. But if I dereference the iterator with `*`, doesn't this create a temporary copy of the entry that I would then take the address of with `&`? In that case the 13:59 <+bridge> [ddnet] 13:59 <+bridge> [ddnet] I could also do the following, which should definitely work, as it uses a reference to the string, albeit it looks a bit odd: 13:59 <+bridge> [ddnet] 13:59 <+bridge> [ddnet] ``` 13:59 <+bridge> [ddnet] if(s_SelectionPopupContext.m_Entries.size() == 1) 13:59 <+bridge> [ddnet] { 13:59 <+bridge> [ddnet] for(const auto &Entry : s_SelectionPopupContext.m_Entries) 13:59 <+bridge> [ddnet] { 13:59 <+bridge> [ddnet] s_SelectionPopupContext.m_pSelection = &Entry; 13:59 <+bridge> [ddnet] } 13:59 <+bridge> [ddnet] } 13:59 <+bridge> [ddnet] ``` 14:00 <+bridge> [ddnet] dereferncing doesn't automatically create a copy. You just have to be carefuly to only dereference valid pointers, not null pointers for example 14:01 <+bridge> [ddnet] the first version looks fine to me, just copies it into the new target object 14:01 <+bridge> [ddnet] I think the *& might even just get removed during the first optimization pass 14:02 <+bridge> [ddnet] you mean &* 14:02 <+bridge> [ddnet] That too, but even from a standard perspective seems fine 14:02 <+bridge> [ddnet] ok, thanks 14:02 <+bridge> [ddnet] Oh actually maybe not now that I think about it. The * is probably overloaded here 14:03 <+bridge> [ddnet] Anyway, first one is indeed sane 14:03 <+bridge> [ddnet] You can try adding some copy constructors that print something when the object is copied to verify that copy is only done when expected 14:04 <+bridge> [ddnet] Or you could delete the copy constructor if you dont use it 14:04 <+bridge> [ddnet] The entries are `std::string`, so can I even do that? 14:04 <+bridge> [ddnet] Assigning to a reference is a good example where the object is definitely not copied 14:04 <+bridge> [ddnet] Then nope 😄 14:05 <+bridge> [ddnet] if m_pSelection is a `std::string&` 14:05 <+bridge> [ddnet] ok, then set gdb breakpoints on them 😄 14:05 <+bridge> [ddnet] but anyway, should be fine 14:05 <+bridge> [ddnet] It's a `std::string *`, because I also need it to be a `nullptr` when it's empty 14:05 <+bridge> [ddnet] wouldnt ub sanitizer show its ub or smth? 14:06 <+bridge> [ddnet] ub sanitizer doesn't detect all ub 14:06 <+bridge> [ddnet] ah too bad 14:06 <+bridge> [ddnet] :BASED: 14:06 <+bridge> [ddnet] the standard library is full of undefined behavior btw 14:06 <+bridge> [ddnet] rly? 14:07 <+bridge> [ddnet] well and lot of ppl rely on that right 14:07 <+bridge> [ddnet] thats why the std cant be updated 14:07 <+bridge> [ddnet] Now that I think about it a bit. Why do you think the * will create a copy anyway? 14:07 <+bridge> [ddnet] It'll just be a normal lvalue 14:09 <+bridge> [ddnet] Heard it from here a while ago I think: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1705r1.html#stdLibraryUB 14:10 <+bridge> [ddnet] I thought the copy is already created when dereferencing. I'm not really familar with different value types, I'm coming from a Java world 14:12 <+bridge> [ddnet] Searching through the standard 😄 14:12 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1038440643191640195/screenshot-20221105141205.png 14:12 <+bridge> [ddnet] Oh, I see. Yeah I guess Java does do that 14:13 <+bridge> [ddnet] I think this is even intended, no? The point is to allow implementations to optimize agressively iirc 14:13 <+bridge> [ddnet] Yes, of course 14:13 <+bridge> [ddnet] fewer branches 14:29 <+bridge> [ddnet] and more security issues 14:55 <+bridge> [ddnet] Game mode does not allow dummy 15:13 <+bridge> [ddnet] huh? https://github.com/swarfey/tw-chatonly is gone 15:15 <+bridge> [ddnet] kekw 15:15 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1038456618838392863/image.png 15:22 <+bridge> [ddnet] @deen how is it fixed ? 15:22 <+bridge> [ddnet] Sad I will still try xdp to see if with specific filters it does something against an attack 15:22 <+bridge> [ddnet] 😿 15:23 <+bridge> [ddnet] By removing the wrongly added integration test files from updater json: https://update.ddnet.org/update.json 15:24 <+bridge> [ddnet] ah okay 🙂 15:24 <+bridge> [ddnet] log doesn't say which error triggered the "error updating" UI 15:25 <+bridge> [ddnet] the 404s triggered it 15:25 <+bridge> [ddnet] old file missing "error" is ignored 15:26 <+bridge> [ddnet] lol even the username 15:26 <+bridge> [ddnet] yeah 15:26 <+bridge> [ddnet] I guess since no one reported it before you, and this was already in 16.3, only few people are still using the ingame updater 15:26 <+bridge> [ddnet] @Swarfey hi ^ 15:27 <+bridge> [ddnet] maybe he wanted to disappear 15:27 <+bridge> [ddnet] :justatest: 15:27 <+bridge> [ddnet] updating manually, i always end up overwritting some settings file 15:27 <+bridge> [ddnet] like settings_ddnet.cfg and storage.cfg 15:28 <+bridge> [ddnet] most people use steam updater 15:28 <+bridge> [ddnet] i use portage 15:29 <+bridge> [ddnet] the gentoo guru maintainer is pretty fast btw 15:29 <+bridge> [ddnet] on the same day 15:29 <+bridge> [ddnet] oh 15:29 <+bridge> [ddnet] i say this but its still 16.4 f 15:29 <+bridge> [ddnet] https://github.com/gentoo-mirror/guru 15:29 <+bridge> [ddnet] time to become the maintainer 15:30 <+bridge> [ddnet] 15:30 <+bridge> [ddnet] what its here 15:31 <+bridge> [ddnet] since its github anyone can make a pr 15:31 <+bridge> [ddnet] so no official maintainer 15:31 <+bridge> [ddnet] thats nice i guess 15:31 <+bridge> [ddnet] "Big Pineapple" updated to 16.5 kek 15:31 <+bridge> [ddnet] 15:54 <+bridge> [ddnet] @Ryozuki You could also try submitting it for official repo: https://wiki.gentoo.org/wiki/Submitting_ebuilds 15:55 <+bridge> [ddnet] Example submission 😉 https://bugs.gentoo.org/206287 16:05 <+bridge> [ddnet] Hello 👋 16:05 <+bridge> [ddnet] Hi aral.sama 16:07 <+bridge> [ddnet] How are you? 16:07 <+bridge> [ddnet] (@deen) 16:08 <+bridge> [ddnet] How are you deen? 16:09 <+bridge> [ddnet] fine, you? 16:10 <+bridge> [ddnet] Great 16:10 <+bridge> [ddnet] I'm fine 👍 16:10 <+bridge> [ddnet] (@deen) 16:10 <+ChillerDragon> ?xd 16:14 <+bridge> [ddnet] Every one here is programmer? 16:14 <+ChillerDragon> No im pro gamer 16:15 <+bridge> [ddnet] Oh ... 16:15 <+bridge> [ddnet] Good 16:15 <+bridge> [ddnet] (<@749222324980416602_=5bquakenet=5d=20=43hiller=44ragon>) 16:17 <+bridge> [ddnet] I'm not programmer. 16:17 <+bridge> [ddnet] But i think you are 16:17 <+ChillerDragon> no proof 16:18 <+ChillerDragon> @Ryozuki wanna game together on the among-sus server? https://github.com/gentoo-mirror/guru/tree/master/games-server/among-sus 16:20 <+ChillerDragon> So guru is the aur of gentoo? 16:21 <+ChillerDragon> gentoo user repository user? 16:22 <+ChillerDragon> maybe gentoo user repository unoffical? 16:22 <+bridge> [ddnet] .... how old are you? 16:22 <+bridge> [ddnet] (<@749222324980416602_=5bquakenet=5d=20=43hiller=44ragon>) 16:22 <+ChillerDragon> double digits already 16:25 <+bridge> [ddnet] 🫠 16:25 <+bridge> [ddnet] (<@749222324980416602_=5bquakenet=5d=20=43hiller=44ragon>) 16:28 <+bridge> [ddnet] I'm not goon know English language 16:28 <+bridge> [ddnet] So I need a few for Ripley you pm 16:29 <+bridge> [ddnet] 😂😂 you understand what I said? 16:35 <+bridge> [ddnet] Anyone still have the 16.1 debugging symbols for #5463? 16:35 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/5463 16:36 <+bridge> [ddnet] @Not Keks https://developer.nvidia.com/performance-rendering-tools/reflex 16:36 <+bridge> [ddnet] are they gone? 16:36 <+bridge> [ddnet] or was it a nightly 16:36 <+bridge> [ddnet] They were deleted because they took up lots of space 16:36 <+bridge> [ddnet] lol 16:37 <+bridge> [ddnet] @deen lets only delete nightly symbols i guess ^ 16:37 <+bridge> [ddnet] our releases dont happen too often 16:37 <+bridge> [ddnet] Reporter said version 16.1 16:38 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1038477304000692416/DDNet-16.1-win64-steam-symbols.tar.xz 16:38 <+bridge> [ddnet] jupstar the archiver 16:38 <+bridge> [ddnet] it been in my download dir xD 16:38 <+bridge> [ddnet] i've 2 more for 16.1 XD 16:38 <+bridge> [ddnet] Nice 16:40 <+bridge> [ddnet] real question is, why do we need this? 16:40 <+bridge> [ddnet] why isnt lowest latency the default? 16:40 <+bridge> [ddnet] windows problems 16:41 <+bridge> [ddnet] but its an sdk 16:41 <+bridge> [ddnet] so i assume its for profiling? 😄 16:42 <+bridge> [ddnet] xd 16:42 <+bridge> [ddnet] idk 16:42 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1038478538774433973/image.png 16:43 <+bridge> [ddnet] @Not Keks dota has this boost mode 16:43 <+bridge> [ddnet] Also the 32 bit one? 16:44 <+bridge> [ddnet] no 😄 16:44 <+bridge> [ddnet] but his crash report should be 64bit 16:45 <+bridge> [ddnet] Then it's probably not exactly version 16.1, at least I can't find any symbols for those addresses 16:46 <+bridge> [ddnet] did you use the old parse? 16:46 <+bridge> [ddnet] or is our current compatible 16:46 <+bridge> [ddnet] I'm just using gdb and `info symbol 0x...` 16:46 <+bridge> [ddnet] The current one should also work but it doesn't entirely work on windows 16:47 <+bridge> [ddnet] The address at the end should also be correct, if you calculate AddrPC - base offset it equals the last number 16:47 <+bridge> [ddnet] ``` 16:47 <+bridge> [ddnet] addr2line -e DDNet.exe 000000000051576F 16:47 <+bridge> [ddnet] /home/deen/isos/ddnet/ddnet-source/src/game/editor/layer_tiles.cpp:54 16:48 <+bridge> [ddnet] 16:48 <+bridge> [ddnet] ``` 16:49 <+bridge> [ddnet] what's the one after that? 16:49 <+bridge> [ddnet] that one is in ```CTile CLayerTiles::GetTile(int x, int y) 16:49 <+bridge> [ddnet] { 16:49 <+bridge> [ddnet] return m_pTiles[y * m_Width + x]; 16:49 <+bridge> [ddnet] } 16:49 <+bridge> [ddnet] ``` 16:49 <+bridge> [ddnet] ``` 16:49 <+bridge> [ddnet] addr2line -e DDNet.exe 00000000005193DB 16:49 <+bridge> [ddnet] /home/deen/isos/ddnet/ddnet-source/src/game/editor/layer_tiles.cpp:441 16:49 <+bridge> [ddnet] 16:49 <+bridge> [ddnet] ``` 16:49 <+bridge> [ddnet] ``` 16:49 <+bridge> [ddnet] addr2line -e DDNet.exe 00000000005193DB 16:49 <+bridge> [ddnet] /home/deen/isos/ddnet/ddnet-source/src/game/editor/layer_tiles.cpp:441 16:50 <+bridge> [ddnet] 16:50 <+bridge> [ddnet] addr2line -e DDNet.exe 000000000050B3B5 16:50 <+bridge> [ddnet] /home/deen/isos/ddnet/ddnet-source/src/game/editor/editor.cpp:2632 16:50 <+bridge> [ddnet] 16:50 <+bridge> [ddnet] 16:50 <+bridge> [ddnet] ``` 17:06 <+bridge> [ddnet] @Learath2 @Not Keks https://www.edn.com/tsmc-approaching-1-nm-with-2d-materials-breakthrough/ 17:06 <+bridge> [ddnet] lol 17:06 <+bridge> [ddnet] > TSMC approaching 1 nm with 2D materials breakthrough 17:06 <+bridge> [ddnet] > Researchers at MIT, NTU, and TSMC have discovered that 2D materials combined with semi-metallic bismuth (Bi) achieve extremely low resistance, overcoming the challenge of realizing 1-nm chips. Source: National University of Taiwan 17:07 <+bridge> [ddnet] how do they call it after 1nm 17:07 <+bridge> [ddnet] do they start to count the atoms? xD 17:07 <+bridge> [ddnet] xd 17:07 <+bridge> [ddnet] .2 nanometers per atom 17:08 <+bridge> [ddnet] u need at least 3 i think 17:08 <+bridge> [ddnet] for a logic gate 17:16 <+bridge> [ddnet] Well whenever we talk about these we remember that those measures really dont mean what they used to mean when we were at 65nm 😄 17:17 <+bridge> [ddnet] well even if the transistor itself is the only part at 1nm its still probs very efficient 17:18 <+bridge> [ddnet] but in the article they seem to use a different material 17:18 <+bridge> [ddnet] https://en.wikipedia.org/wiki/Quantum_tunnelling 17:19 <+bridge> [ddnet] "Tunneling occurs with barriers of thickness around 1–3 nm and smaller." 17:19 <+bridge> [ddnet] "Quantum tunneling limits the minimum size of devices used in microelectronics because electrons tunnel readily through insulating layers and transistors that are thinner than about 1 nm." 17:34 <+bridge> [ddnet] i want a picture like this: 17:34 <+bridge> [ddnet] https://qph.cf2.quoracdn.net/main-qimg-bc6b9a278b5e4d2f36a303415072bac8-lq 17:34 <+bridge> [ddnet] 17:34 <+bridge> [ddnet] for every process advancement 😄 17:44 <+bridge> [ddnet] Looks like trade secrets to me 17:53 <+bridge> [ddnet] Ty for telling, i have no idea why its gone 17:54 <+bridge> [ddnet] I didnt even get any mail 17:56 <+bridge> [ddnet] I have backups, still needed? 17:57 <+bridge> [ddnet] No, @Not Keks also had a relevant one and a confirmed that the issue was already fixed 17:57 <+bridge> [ddnet] No, @Not Keks also had a relevant one and I confirmed that the issue was already fixed 18:02 <+bridge> [ddnet] ok, great. 18:18 <+bridge> [ddnet] @Not Keks real 18:18 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1038502700800819290/RDT_20221105_1818242586511559544857242.jpg 18:22 <+bridge> [ddnet] lel 18:44 <+ChillerDragon> how is da tw srv package called in apt? 18:45 <+ChillerDragon> teeworlds-server 18:45 <+ChillerDragon> https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=teeworlds&searchon=names 18:55 <+ChillerDragon> omagawd did ubuntu name the binary teeworlds-server? not teeworlds_srv? 19:00 <+bridge> [ddnet] ddnet-server is also called like this 19:00 <+bridge> [ddnet] 19:00 <+bridge> [ddnet] probs same maintainer xd 19:01 <+bridge> [ddnet] so when i press CTRL + c and then CTRL + v, and rename DDNet to teeworlds. Can i call it a day? 19:01 <+bridge> [ddnet] perfect 19:12 <+ChillerDragon> i ended up doing a bunch of if statements checking what is installed on the system 19:13 <+ChillerDragon> renaming ddnet to teeworlds would break my test cuz i dont support ddnet 19:13 <+ChillerDragon> YET 19:14 <+bridge> [ddnet] r u working on diamond again? 19:14 <+ChillerDragon> da 19:14 <+ChillerDragon> i think this is the most useful project i have written in my whole life xd 19:14 <+ChillerDragon> ok its written in ruby... but still :D 19:15 <+ChillerDragon> imo ruby is python without annoying tabs. change my mind. 19:16 <+ChillerDragon> Its all practice to properly understand the protcol and port ddnet to 0.7! 19:18 <+bridge> [ddnet] the best thing about python is uninstalling it, so i agree 19:18 <+ChillerDragon> xd 19:18 <+ChillerDragon> wowow py hater 19:18 <+ChillerDragon> whats ur script lang of choice then? typescript? 19:18 <+ChillerDragon> lua? 19:18 <+ChillerDragon> bash pog? 19:18 <+bridge> [ddnet] lua is second worst 19:18 <+ChillerDragon> xd 19:19 <+bridge> [ddnet] bash is legendary yes 19:19 <+ChillerDragon> daaa! 19:24 <+ChillerDragon> Yo soydev jopstar thanks for vscode config! but when vimrc for ddnet? https://github.com/ddnet/ddnet/pull/6012 19:24 <+bridge> [ddnet] u have to ask our neofetch, neovim, neorust, neoworld expert ryozoozki 19:24 <+ChillerDragon> tru 19:24 <+ChillerDragon> i actually was thinking about switching to neovim 19:25 <+ChillerDragon> since i wrote all da ruby code in vim and my config is kinda vanilla 19:26 <+ChillerDragon> do u even know the soydev meme? 19:26 <+ChillerDragon> https://www.urbandictionary.com/define.php?term=Soydev 19:27 <+bridge> [ddnet] except for macbook, this is me xD 19:27 <+ChillerDragon> xxxxxxxxxxxD 19:27 <+ChillerDragon> > by ArchUser1001 June 2, 2020 19:27 <+ChillerDragon> omg just noticed xd 19:27 <+bridge> [ddnet] ok the second deifintion sounds completly different 19:28 <+bridge> [ddnet] that doesnt suit me so well anymore 19:28 <+ChillerDragon> oh wow there is more 19:28 <+ChillerDragon> lemme read 19:28 <+ChillerDragon> ye those soys big on js and electron 19:30 <+bridge> [ddnet] i bet he uses rust too 💀 22:36 <+bridge> [ddnet] Just don't care about what IDE/language you use and get things done. I've seen people be productive with anything from LFS+nano on a 10" netbook to full-blown Visual Studio + Windows on a 24 core workstation 22:52 <+bridge> [ddnet] use notepad++ without file search 22:52 <+bridge> [ddnet] good training 23:37 <+bridge> [ddnet] write code on paper and assume it wouldn't compile anyway so you're not missing out