02:09 <+bridge> [ddnet] screen size, integrated gamepad, the amd gpu inside it is probably far beyond whatever they could shove inside a smartphone 07:37 <+bridge> [ddnet] What's the tee weight and height 07:41 <+bridge> [ddnet] i imagine the size of a tee is canonically like, the size of a cat 08:03 <+bridge> [ddnet] no i think bigger 08:16 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022753331757731910/unknown.png 08:19 <+bridge> [ddnet] i was thinking in the middle 08:19 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022754111067799592/unknown.png 08:20 <+bridge> [ddnet] but the big one is cool cuz then u can like 08:21 <+bridge> [ddnet] lol 08:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022754574160891994/unknown.png 08:21 <+bridge> [ddnet] (SurrealDB) 08:22 <+bridge> [ddnet] didn't know github issue raid existed lmao, why are there always retarded people 08:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022754738535665674/unknown.png 08:22 <+bridge> [ddnet] but the big one is cool cuz then u can like https://cdn.discordapp.com/attachments/692544608823148588/1022754828050497579/unknown.png 08:22 <+bridge> [ddnet] ./gitraid github.com/reitw/bombay 99999 08:22 <+bridge> [ddnet] oop wrong window 08:23 <+bridge> [ddnet] :pepeH: 08:24 <+bridge> [ddnet] ./masterban fng 08:24 <+bridge> [ddnet] abuse 08:28 <+bridge> [ddnet] :feelsamazingman: let's goo, can't wait to see a r1 by ryo using steam deck 09:36 <+bridge> [ddnet] Yesterday i tried opening ddnet on deck 09:36 <+bridge> [ddnet] The screen touch was offset by a lot 09:37 <+bridge> [ddnet] And couldnt click buttons rip 09:37 <+bridge> [ddnet] Will investigate further 10:04 <+bridge> [ddnet] :pepebooming: 10:09 <+bridge> [ddnet] does installing 1000+ fonts worth? :justatest: don't ask why I need that many. 10:09 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022781675907858483/Annotation_2022-09-23_090840.png 10:09 <+bridge> [ddnet] and only 300mb in size 10:30 <+bridge> [ddnet] We use relative mouse mode 10:30 <+bridge> [ddnet] Rip 10:37 <+bridge> [ddnet] In character.cpp under src/game/client/prediction/entities how to get the position where the tee spawns ? 10:39 <+bridge> [ddnet] Or is this possible? 11:19 <+bridge> [ddnet] ddnet crashes on startup after windows and gpu driver updates 11:20 <+bridge> [ddnet] what render? 11:20 <+bridge> [ddnet] open gl 3.3.0 11:21 <+bridge> [ddnet] can u try vulkan? 11:21 <+bridge> [ddnet] can u change it via settings_ddnet? 11:21 <+bridge> [ddnet] i cant even get to the main menu 11:21 <+bridge> [ddnet] yeah you can 11:21 <+bridge> [ddnet] whats it called? 11:22 <+bridge> [ddnet] lemme see 11:22 <+bridge> [ddnet] gfx_backend "Vulkan" 11:22 <+bridge> [ddnet] works 11:23 <+bridge> [ddnet] nice 11:23 <+bridge> [ddnet] it didnt exist in his normal settings.cfg btw just fyi 11:23 <+bridge> [ddnet] had to write it in, ye 11:24 <+bridge> [ddnet] yeah it's for ddnet only 11:24 <+bridge> [ddnet] well hes on ddnet 11:24 <+bridge> [ddnet] yeah 11:24 <+bridge> [ddnet] why was it on my settings.cfg then 11:24 <+bridge> [ddnet] basicly all OpenGL renderers are broken at this point 11:25 <+bridge> [ddnet] worked before updating the gpu driver and windows 11:25 <+bridge> [ddnet] win 10 21h2 build 19044.2075 11:25 <+bridge> [ddnet] amd radeon 6800 22.9.1 11:25 <+bridge> [ddnet] if any dev wants to take a look 11:26 <+bridge> [ddnet] (tested on 16.03 and newest) 11:26 <+bridge> [ddnet] 16.0.3 and 16.3.2 11:35 <+bridge> [ddnet] https://ddnet.org/news/amd-beta-opengl-crash/ 11:44 <+bridge> [ddnet] ah 13:10 <+ChillerDragon> yo rustians send rust code 13:11 <+ChillerDragon> i wanna do this ``(1..10).join(' ');`` 13:11 <+ChillerDragon> range of nums to space sperated string 13:21 <+bridge> [ddnet] I'm trying to find the code that is executed when a player is being spawned, but with no luck. I need to know when a specific player gets respawned to reset some info. Any help would be appreciated. 😉 13:29 <+bridge> [ddnet] Ccharacter has a respawn func 13:29 <+bridge> [ddnet] But ddnet might just teleport the char 13:30 <+bridge> [ddnet] <3mk_Ya_SFA7> @Ryozuki @Not Keks 13:37 <+bridge> [ddnet] I can't seem to find it. I want it client side not serverside 13:41 <+bridge> [ddnet] I thought of something hackish 13:44 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/master/src/game/client/components/effects.cpp#L162 13:45 <+bridge> [ddnet] Maybe this? 13:46 <+bridge> [ddnet] yeah something like ththis but this runs for every tee. I think the server doesn't send which teeid respawned so it's imposible 13:46 <+bridge> [ddnet] `(1..100).map(|x| x.to_str()).collect().join(' ')` maybe? 13:47 <+bridge> [ddnet] What do u want to do? 13:50 <+bridge> [ddnet] I need the ID of the player that is being respawned 13:50 <+bridge> [ddnet] I need the ID of the player that is being respawned, not just the position of the new spawn 13:58 <+bridge> [ddnet] ok this work thanks tho 😉 13:58 <+bridge> [ddnet] ok this worked thanks tho 😉 14:01 <+ChillerDragon> @Learath2 ye good hint thanks i bruteforced the compiler and ended up with this xd ``(1..100).map(|x| x.to_string()).collect::>().join(" ");`` 14:01 <+ChillerDragon> it didnt wanna let me join str slices 14:02 <+bridge> [ddnet] Huh didn't just collect() work? Weird that the compiler couldnt infer that one 14:02 <+ChillerDragon> na 14:02 <+ChillerDragon> da bitsh didnt want 14:02 <+ChillerDragon> and when i told him vec he was like there aint no join on that 14:03 <+bridge> [ddnet] Also can't have &str there. You need an owned type 14:04 <+ChillerDragon> bash: https://zillyhuhn.com/cs/.1663934567.png 14:04 <+bridge> [ddnet] I bet you can do even better than collecting first 14:04 <+ChillerDragon> rust: https://zillyhuhn.com/cs/.1663934585.png 14:04 <+bridge> [ddnet] I'm just not smort enough 14:04 <+ChillerDragon> bash > rust 14:04 <+ChillerDragon> change my mind 14:05 <+ChillerDragon> heinrich said bash syntax is bad because of quotes 14:05 <+ChillerDragon> but look at this xd 14:05 <+bridge> [ddnet] lmao I can now see how Rust is easy. Imagine having to get a buffer and just put the numbers into it, so much complicated!!! 14:08 <+bridge> [ddnet] Something with intersperse and fold should probably have better performance and memory characteristics 14:08 <+ChillerDragon> wot 14:08 <+ChillerDragon> now you just use random words to sound smart 14:10 <+bridge> [ddnet] Like `(1..100).map(|x| x.to_string()).intersperse(" ").fold(String::new(), |x, y| x + y):` 14:11 <+bridge> [ddnet] Can maybe make it even better by using push_back 14:11 <+bridge> [ddnet] push_str 14:12 <+bridge> [ddnet] @heinrich5991 Is there a flag to disable Ipv4AndIpv6Work network test? It fails when building in Arch's clean chroot via makechrootpkg. 14:12 <+bridge> [ddnet] Why does it fail? 14:18 <+bridge> [ddnet] Btw, this bash comparison is not exactly fair since those aren't numbers to begin with, nor is that brace construction a zero cost iterator. 14:48 <+ChillerDragon> :p 14:48 <+ChillerDragon> then gimme a fair compairson 14:57 <+bridge> [ddnet] Rust is not an interpreted language. I doubt one exists. They have insanely different performance and memory characteristics 15:15 <+ChillerDragon> Did you just admit that there is no example where rust syntax can compete with bash? :D 15:15 <+ChillerDragon> love to hear that 15:16 <+ChillerDragon> Eventho i could think of some for example if statements 15:16 <+ChillerDragon> ``if [ 2 -gt 4 ]`` vs ``if 2 > 4`` 15:17 <+ChillerDragon> or incrementing a integert :D 15:17 <+ChillerDragon> ``i=$((i+1))`` vs ``i++;`` 15:22 <+bridge> [ddnet] @Learath2 I build any package in Arch using `makechrootpkg` a tool that wraps `makepkg` running everything in clean chroot. I believe it isolates somehow that network tests fail. I've seen this before when building another software. 15:23 <+bridge> [ddnet] The error message is: 15:23 <+bridge> [ddnet] 15:23 <+bridge> [ddnet] ``` 15:23 <+bridge> [ddnet] [ RUN ] Net.Ipv4AndIpv6Work 15:23 <+bridge> [ddnet] /build/ddnet/src/DDNet-16.4/src/test/net.cpp:42: Failure 15:23 <+bridge> [ddnet] Expected equality of these values: 15:23 <+bridge> [ddnet] net_socket_read_wait(Socket1, 10000000) 15:23 <+bridge> [ddnet] Which is: 0 15:23 <+bridge> [ddnet] 1 15:23 <+bridge> [ddnet] /build/ddnet/src/DDNet-16.4/src/test/net.cpp:43: Failure 15:23 <+bridge> [ddnet] Expected equality of these values: 15:23 <+bridge> [ddnet] net_udp_recv(Socket1, &Addr, &pData) 15:23 <+bridge> [ddnet] Which is: 0 15:23 <+bridge> [ddnet] 3 15:23 <+bridge> [ddnet] [ FAILED ] Net.Ipv4AndIpv6Work (10010 ms) 15:23 <+bridge> [ddnet] ``` 15:37 <+bridge> [ddnet] what u on about 15:37 <+bridge> [ddnet] `(0..100).map(|x| x.to_string()).join(" ")` works 15:38 <+bridge> [ddnet] oh wait 15:38 <+bridge> [ddnet] i had itertools 15:38 <+bridge> [ddnet] xD 15:38 <+bridge> [ddnet] honestly itertools is essential to me 15:57 <+bridge> [ddnet] ```rust 15:57 <+bridge> [ddnet] const fn length(n: usize, base: usize) -> usize { 15:57 <+bridge> [ddnet] let mut power = base; 15:57 <+bridge> [ddnet] let mut count = 1; 15:57 <+bridge> [ddnet] while n >= power { 15:57 <+bridge> [ddnet] count += 1; 15:57 <+bridge> [ddnet] if let Some(new_power) = power.checked_mul(base) { 15:57 <+bridge> [ddnet] power = new_power; 15:57 <+bridge> [ddnet] } else { 15:57 <+bridge> [ddnet] break; 15:57 <+bridge> [ddnet] } 15:57 <+bridge> [ddnet] } 15:57 <+bridge> [ddnet] count 15:57 <+bridge> [ddnet] } 15:57 <+bridge> [ddnet] 15:57 <+bridge> [ddnet] fn main() { 15:57 <+bridge> [ddnet] 15:57 <+bridge> [ddnet] // Initialize with the full capacity. 15:57 <+bridge> [ddnet] let mut data = String::with_capacity((0..100).map(|x| length(x, 10)).sum()); 15:57 <+bridge> [ddnet] 15:57 <+bridge> [ddnet] (0..100).for_each(|x| { 15:57 <+bridge> [ddnet] data.push_str(&x.to_string()); 15:57 <+bridge> [ddnet] data.push(' '); 15:57 <+bridge> [ddnet] }); 15:57 <+bridge> [ddnet] 15:58 <+bridge> [ddnet] dbg!(data); 15:58 <+bridge> [ddnet] } 15:58 <+bridge> [ddnet] ``` 15:58 <+bridge> [ddnet] tryhard version 15:58 <+bridge> [ddnet] https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2828adfd921e7bcbe4ea910d2e3d8fbb 16:01 <+bridge> [ddnet] Litle trolin project which is a bash script that generates rust code based on bash code \:D https://github.com/ChillerDragon/bash-to-rust 16:01 <+bridge> [ddnet] (@Ryozuki) 16:03 <+bridge> [ddnet] image.png 16:03 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022870740367851650/image.png 16:03 <+bridge> [ddnet] a wait missing panrenthrsi 16:03 <+bridge> [ddnet] ah ye no didnt help issue also not about parenthesis 16:03 <+bridge> [ddnet] I said 16:03 <+bridge> [ddnet] It uses the crate itertooks 16:03 <+bridge> [ddnet] Itertools 16:03 <+bridge> [ddnet] why you need length? \:D 16:03 <+bridge> [ddnet] It provides some rly useful iter utilities 16:04 <+bridge> [ddnet] On the tryhare version i sent? 16:04 <+bridge> [ddnet] also join has no space at the end 16:04 <+bridge> [ddnet] oh true 16:05 <+bridge> [ddnet] easy fix tho 16:05 <+bridge> [ddnet] i calculate the length with a const function, maybe its all const 16:05 <+bridge> [ddnet] its to know the final string length 16:05 <+bridge> [ddnet] to do only 1 allocation 16:05 <+bridge> [ddnet] instead of hundred 16:08 <+bridge> [ddnet] https://godbolt.org/z/WcMM86v44 16:08 <+bridge> [ddnet] the length thing is indeed const 16:08 <+bridge> [ddnet] compile time pog 16:09 <+bridge> [ddnet] 190 16:30 <+bridge> [ddnet] Has one too many ' ' at the end 😄 16:30 <+bridge> [ddnet] F 16:56 <+bridge> [ddnet] what does `count` line do? print count? 16:58 <+bridge> [ddnet] If it doesnt have a ; its the return value 16:58 <+bridge> [ddnet] From the current scope 16:58 <+bridge> [ddnet] You can also use return count; 17:02 <+bridge> [ddnet] ```rust 17:02 <+bridge> [ddnet] const fn length(n: usize, mut base: usize) -> usize { 17:02 <+bridge> [ddnet] let mut count = 1; 17:02 <+bridge> [ddnet] while n >= base { 17:02 <+bridge> [ddnet] count += 1; 17:02 <+bridge> [ddnet] if let Some(new_power) = base.checked_mul(base) { 17:02 <+bridge> [ddnet] base = new_power; 17:02 <+bridge> [ddnet] } else { 17:02 <+bridge> [ddnet] break; 17:02 <+bridge> [ddnet] } 17:03 <+bridge> [ddnet] } 17:03 <+bridge> [ddnet] count 17:03 <+bridge> [ddnet] } 17:03 <+bridge> [ddnet] ``` 17:03 <+bridge> [ddnet] works too 17:15 <+bridge> [ddnet] So I guess we are not allowed to open network sockets in the tests? You could disable the test until we figure out why by running it with `./testrunner --gtest_filter=-Net.Ipv4AndIpv6Work` 17:15 <+bridge> [ddnet] Or the GTEST_FILTER env variable if you can't pass parameters 17:33 <+bridge> [ddnet] @deen Want me to file an issue to keep track of it? I didn't open it because because I considered this a downstream issue. 18:41 <+bridge> [ddnet] Yes, you could assign it to heinrich5991, I think he added this test recently, maybe he has an idea how we can fix it better than disabling the test 21:38 <+bridge> [ddnet] what that question mark is doing exactly? 21:38 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022955188237107240/unknown.png 21:39 <+bridge> [ddnet] it's from color.h 21:39 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/master/src/base/color.h 21:40 <+bridge> [ddnet] is it an "or" statement for calculations, or something completely different? 21:40 <+bridge> [ddnet] It's called a "ternary statement" 21:40 <+bridge> [ddnet] ` ? : ` 21:41 <+bridge> [ddnet] ah 21:41 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022955791499669555/unknown.png 21:41 <+bridge> [ddnet] so something like this, but as a sign 21:41 <+bridge> [ddnet] weird, but I think I can implement that sign pretty easily too 22:05 <+bridge> [ddnet] how do u know if a recruiter on linkedin is not fake 22:05 <+bridge> [ddnet] apparently some recruiter from AWS talked to me 22:06 <+bridge> [ddnet] probs fake 22:08 <+bridge> [ddnet] anyone already noticed dark theme on the website is gone? 22:09 <+bridge> [ddnet] mustb e a problem with the domain change 22:09 <+bridge> [ddnet] for me white theme is gone xD 22:09 <+bridge> [ddnet] @deen ^^ 22:13 <+bridge> [ddnet] oh, so you got that pm to 22:13 <+bridge> [ddnet] oh, so you got that pm too 22:13 <+bridge> [ddnet] I already pm-d deen about it, the guy's an idiot 22:14 <+bridge> [ddnet] even i managed to track the website down and also 22:14 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022964177955979314/unknown.png 22:14 <+bridge> [ddnet] @Ryozuki is this the name of the "game" he advertized? 22:15 <+bridge> [ddnet] dude 22:15 <+bridge> [ddnet] AWS is not a game 22:15 <+bridge> [ddnet] its amazon 22:15 <+bridge> [ddnet] the company 22:15 <+bridge> [ddnet] linkedin is a place to search for real life jobs 22:15 <+bridge> [ddnet] why you always confuse things xd 22:15 <+bridge> [ddnet] who messaged you? 22:15 <+bridge> [ddnet] i wont say the name obviously 22:15 <+bridge> [ddnet] its from linkedin not discord 22:15 <+bridge> [ddnet] called "saitama"? 22:15 <+bridge> [ddnet] oh 22:15 <+bridge> [ddnet] then nvm 22:15 <+bridge> [ddnet] you literally dont read xd 22:16 <+bridge> [ddnet] wait no 22:16 <+bridge> [ddnet] the website's dns is linked with amazon's aws 22:16 <+bridge> [ddnet] so it's the same person probably if it happened within 20 minutes before now 22:16 <+bridge> [ddnet] so it's the same person probably if it happened within 20 minutes now before 22:16 <+bridge> [ddnet] so it's the same person probably if it happened within 20 minutes before 22:17 <+bridge> [ddnet] no its impossible 22:17 <+bridge> [ddnet] dude 22:17 <+bridge> [ddnet] stop trolling xD 22:17 <+bridge> [ddnet] :justatest: I ain't tho 22:17 <+bridge> [ddnet] you definitly never used linkedin 22:17 <+bridge> [ddnet] people dont use weeb names there 22:17 <+bridge> [ddnet] its real people 22:18 <+bridge> [ddnet] searching for jobs 22:18 <+bridge> [ddnet] in no way connected to this discord 22:18 <+bridge> [ddnet] I care about more about "recruiter from AWS" and "prob fake" 22:18 <+bridge> [ddnet] :fuckyousnail: 22:18 <+bridge> [ddnet] which happened to have a pm about a guy advertizing a game called "the mozi" and the link had connection with AWS 22:19 <+bridge> [ddnet] coincidentally 20 minutes before you get messages like these 22:19 <+bridge> [ddnet] no 22:19 <+bridge> [ddnet] i didnt get this message now 22:19 <+bridge> [ddnet] I sent info to Deen about it, he'll investigate whenever he's available 22:19 <+bridge> [ddnet] and its not about any game 22:19 <+bridge> [ddnet] its AWS themself 22:20 <+bridge> [ddnet] idk why i even argue 22:20 <+bridge> [ddnet] this is so stupid 22:20 <+bridge> [ddnet] and you believe it's a guy from AWS while you call it out as a fake? 22:20 <+bridge> [ddnet] so how's that work for ya? 22:20 <+bridge> [ddnet] good lord 22:21 <+bridge> [ddnet] i wont even explain myself 22:21 <+bridge> [ddnet] its not worth it 22:21 <+bridge> [ddnet] continue on 22:21 <+bridge> [ddnet] good then 22:23 <+bridge> [ddnet] could someone help me check something 22:23 <+bridge> [ddnet] all you need to do is to connect ger3 ddmax 2long map server (with client 16.4) 22:23 <+bridge> [ddnet] join a team lock the team and connect the dummy 22:23 <+bridge> [ddnet] thats it. 22:24 <+bridge> [ddnet] you will probably have connection problems 22:24 <+bridge> [ddnet] i checked this one two diffrent connections on one computer and happend to me everytime 22:25 <+bridge> [ddnet] probs smth to do with the ddos protection 22:26 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022967174966546503/screenshot_2022-09-23_22-25-25.png 22:40 <+bridge> [ddnet] @deen @Learath2 @heinrich5991 ok so confirmed, connecting a dummy on ger3 makes you timeout 22:40 <+bridge> [ddnet] join a team, lock a team, connect dummy = CP and timeout 22:40 <+bridge> [ddnet] just connecting a dummy without being in team only made me timeout once on 3 tries 22:40 <+bridge> [ddnet] checked on 16.4 haven't tried on 16.3 22:58 <+bridge> [ddnet] @fokkonaut ^ 22:59 <+bridge> [ddnet] @RafaelFF is there no loopback interface in your build environment? 23:24 <+bridge> [ddnet] check their profile 23:50 <+bridge> [ddnet] wait u timed me out aswell it seems 23:55 <+bridge> [ddnet] u timed me out aswell 23:55 <+bridge> [ddnet] btw i somehow survived the connection problems when connecting dummy 23:55 <+bridge> [ddnet] i just waited like 2-3 mins and it went away