02:40 < bridge> wow! markdown actually looks good inside discord through these now! 05:40 < bridge> i dont see it 07:47 < bridge> me neither 07:56 < bridge> # wot 07:57 < bridge> # hello world 08:15 < bridge> oh noes 08:16 < bridge> yea can’t see idk 08:16 < bridge> in mobile i can 08:17 < bridge> can’t on mobile either 08:18 < bridge> # developer 08:18 < bridge> now i can 08:18 < bridge> why are the automatic updates delayed?? 08:18 < bridge> stupid app stote 08:18 < bridge> stupid app store 08:18 < bridge> https://tenor.com/view/upgrades-robots-gif-21291099 08:18 < bridge> Why are discord devs so stupid 08:18 < bridge> You should ask yourself that question, not why updates are delayed 08:19 < bridge> [test](https://crouton.net) 08:19 < bridge> uhhh 08:19 < bridge> (test)[https://crouton.net] 08:19 < bridge> i forgot 08:19 < bridge> or is it just disabled 08:19 < bridge> no u 08:20 < bridge> 08:20 < bridge> ## rust 08:20 < bridge> # rust 08:20 < bridge> “bussin” 08:20 < bridge> spast 08:20 < bridge> #### test 08:21 < bridge> nnn 08:21 < bridge> ## e 08:21 < bridge> ### 3? 08:21 < bridge> H3 is smallest i can go 08:21 < bridge> and it’s just bold 08:21 < bridge> Instead of useful features they take years to add shit 08:21 < bridge> Even guilded has better features in less time 08:22 < bridge> https://tenor.com/view/choco-kr1s-dance-epic-gif-25622100 08:22 < bridge> hmm 08:24 < bridge> oh maybe you need perms to embed links 08:24 < bridge> No, just doesn't work 08:25 < bridge> Good 08:25 < bridge> I support this decision 08:25 < bridge> it does, but not for normal users 08:25 < bridge> see #records 08:26 < bridge> Yes only bots 08:26 < bridge> Yeah that’s old news lol 08:26 < bridge> Also not markdown 08:26 < bridge> Special format 08:29 < bridge> But links for users were added 08:29 < bridge> Prob removed cuz they complained 08:32 < bridge> wtf is this 08:34 < bridge> dance 08:34 < bridge> https://tenor.com/view/cta-gif-27652056 08:34 < bridge> Such a stern fellow 08:34 < bridge> thought you made that for a sec 08:42 < bridge> xd 09:28 < bridge> no, that's UB already 09:29 < bridge> no, in practice, things will happen when you do such stuff. compilers optimize based on it 09:29 < bridge> why is it ub? 09:29 < bridge> i think its curious, in rust u can take a ptr and add it 3, i think as long as u dont deref it its safe 09:30 < bridge> how do you add 3? 09:30 < bridge> not sure now 09:30 < bridge> .offset 09:30 < bridge> iirc 09:30 < bridge> that's UB then 09:30 < bridge> even in the documentation of `offset` 09:30 < bridge> (which is why `offset` is `unsafe`) 09:31 < bridge> Both the starting and resulting pointer must be either in bounds or one byte past the end of the same allocated object. 09:31 < bridge> true 09:31 < bridge> you can use `wrapping_offset` for other manipulation 09:31 < bridge> i should play more with pointers in rust 09:31 < bridge> never rly needed to do much 09:32 < bridge> @Learath2 btw, even stuff around `uintptr_t` is incorrectly optimized based on the assumption that you can't conjure pointers out of thin air 09:33 < bridge> The offset being in bounds cannot rely on “wrapping around” the address space. That is, the infinite-precision sum, in bytes must fit in a usize. 09:35 < bridge> The resulting pointer “remembers” the allocated object that self points to; it must not be used to read or write other allocated objects. 09:35 < bridge> nice info xs 09:38 < bridge> https://www.ralfj.de/blog/2022/04/11/provenance-exposed.html 09:41 < bridge> https://github.com/rust-lang/rust/issues/95228 09:44 < bridge> @heinrich5991 this pr says wrapping offset is not good 09:44 < bridge> interesting 10:14 < bridge> the whole strict provenance thing is interesting 🙂 10:40 < bridge> sadly not working in chromium, i enabled unsafe webgpu, but can't find my GPU 😄 10:42 < bridge> which vendor & driver? 10:43 < bridge> does it matter? there is not webgpu driver 10:43 < bridge> just curious 10:43 < bridge> amd rx 6900 xt Mesa 22.3.6 10:43 < bridge> ah 10:44 < bridge> either its chrome exclusive or simply not working on linux xd 10:45 < bridge> interesting conclusion 10:46 < bridge> i mean webgpu is a subset of vulkan, so i dont find a better conclusion 10:46 < bridge> i have chromium 113, the examples say chrome 113 10:46 < bridge> vulkan extras pkg group or something ? smells like optional 10:47 < bridge> i use debian 10:53 < bridge> with 10:53 < bridge> `chromium --enable-unsafe-webgpu --enable-features=Vulkan,UseSkiaRenderer` 10:53 < bridge> 10:53 < bridge> it at least finds the GPU now, but it throws many errors 😄 11:04 < bridge> C99 6.5.6 p7, followed by p8. Just doing the addition is immediately UB 11:06 < bridge> Which is why I said the only guaranteed thing even with those is that the roundtrip is safe 11:06 < bridge> @Ryozuki https://google.github.io/comprehensive-rust/welcome.html 11:06 < bridge> Google's android team made a rust tutorial 11:07 < bridge> can they please rewrite android with rust 11:07 < bridge> thanks xd 11:07 < bridge> ^ 11:07 < bridge> I did some yesterday was fun 11:08 < bridge> Ah, hadn't spotted it 11:09 < bridge> only because of miscompilations, the standard guarantees some more 11:09 < bridge> u know those numbers mean nothing to me, i was interested in why it was considered ub, as in what assumptions the compiler can make due to it 11:10 < bridge> these numbers cna help you look up the relevant paragraphs 11:10 < bridge> meh 11:10 < bridge> just quote the paragraphs xd 11:10 < bridge> let me gpt-4 it for you 11:10 < bridge> I like references 11:11 < bridge> It is considered UB because those 2 paragraphs explicitly say it's UB 11:11 < bridge> but why did the C standard say it's UB 11:11 < bridge> is what ryo is asking 11:11 < bridge> yeah, but im interested in why they decieded it 11:11 < bridge> what benefit does it gain from it 11:11 < bridge> would safe me some unsafe if offset in rust wouldnt be unsafe 😂 11:11 < bridge> basically, optimize away equality checks for pointers not from the same object 11:12 < bridge> i see 11:12 < bridge> well but u gotta use offset 11:12 < bridge> and the author itself recommends offset over wrapping offset 11:12 < bridge> the rfc i sent is interesting 11:13 < bridge> this uas been linked many times, and i did too months ago 11:13 < bridge> but ye 11:13 < bridge> rust already knew the link before it was released 11:13 < bridge> !rust 11:13 < chillerbot> @Ryozuki 11:14 < bridge> it might be presumptuous of me, but right now the only interesting reads about rust for me are RFCs and the rustonomicon 11:14 < bridge> there are very nice blog posts about rust 11:14 < bridge> yeah those too 11:14 < bridge> specially the ones giving thought about new stuff 11:14 < bridge> like pointer provenance 11:14 < bridge> generators 11:14 < bridge> Do share 🙃 11:15 < bridge> async 11:15 < bridge> push this 11:15 < bridge> https://github.com/rust-lang/rfcs/issues/1215 11:15 < bridge> i need 11:15 < bridge> there is one guy that has 3 posts only 11:15 < bridge> i forgot thenname 11:15 < bridge> Why read RFCs? They will never be implemented :pepeW: 11:15 < bridge> sad and true, dont make me sad 11:16 < bridge> huh? rust rfcs are implemented sometimes 11:16 < bridge> only useless ones 11:16 < bridge> that's not even an RFC though 11:16 < bridge> it's just a wishlist item 11:17 < bridge> it seems to me that the benefits this brings will be outweighed by the cost of the additional syntax etc. 11:17 < bridge> https://blog.yoshuawuyts.com/ 11:17 < bridge> one of em 11:17 < bridge> very good reads 11:17 < bridge> WHY SO MUCH SHOUTING? 11:17 < bridge> WHY SO MUCH SHOUTING? 11:17 < bridge> === 11:17 < bridge> i dunno, i'd say it's useful af 11:17 < bridge> WHY SO MUCH SHOUTING? 11:18 < bridge> https://without.boats/blog/ 11:18 < bridge> and this guy too 11:18 < bridge> epic blog 11:18 < bridge> @Ryozuki have you seen this https://fornjot.app/? Though I don't know how interested you are in CAD/3D Desing 11:18 < bridge> can you give an example? I found that most of this is easily worked around. new syntax for something like this should create large new possibilities IMO 11:18 < bridge> The sometimes seems to get slower and slower especially for the most interesting ones 11:18 < bridge> @Ryozuki have you seen this https://fornjot.app/ ? Though I don't know how interested you are in CAD/3D Desing 11:18 < bridge> and cant miss this 11:18 < bridge> https://smallcultfollowing.com/babysteps/ 11:18 < bridge> by niko 11:19 < bridge> one of the main rust devs 11:19 < bridge> example? 11:19 < bridge> @Learath2 11:19 < bridge> e.g. async was an rfc once ^^ 11:19 < bridge> everytime u want to implement some function on a higher level that has to know about multiple attributes at once, without needing to send around the objects every time you call these functions 11:19 < bridge> @Learath2 i think its normal, one wrong step and u are bound to back compat 11:20 < bridge> thats why they start with restricted MVPs 11:20 < bridge> like const 11:20 < bridge> self.Func would block whole self object 11:20 < bridge> https://github.com/rust-lang/rfcs/issues/2140 here is one that was lucky enough to get implemented, hopefully it'll get stabilized this decade 11:20 < bridge> not rly 11:21 < bridge> I'll show another one I'm interested in that wasn't so lucky aswell 11:21 < bridge> I don't think that this is going to be easier with that wishlist item being implemented 11:21 < bridge> @Learath2 become a rust contrib and push it 11:21 < bridge> you'd have to annotate a lot of stuff to make it work 11:21 < bridge> it's probably easier to work around it instead 11:21 < bridge> i dunno 11:22 < bridge> why move complexity to the code instead of the compiler? 11:22 < bridge> if borrow checker wouldnt be so dump, rust would be easier to use 11:22 < bridge> if borrow checker wouldnt be so dumb, rust would be easier to use 11:22 < bridge> xd 11:22 < bridge> dump 11:28 < bridge> because of the halting problem, essentially 11:28 < bridge> because a sufficiently smart compiler doesn't exist, unfortunately 11:28 < bridge> https://github.com/rust-lang/rfcs/issues/2616 here is the one I found while digging around for a pretty way to do it 11:28 < bridge> are you also against async? 11:29 < bridge> not sure how this is related? ^^ 11:29 < bridge> why would `&mut self borrowing x` not be clear to you? 11:29 < bridge> it adds less complexity than async 11:29 < bridge> there's now `let else` which might cover what you need 11:30 < bridge> Thanks for the blogs, added to my bookmarks 11:31 < bridge> it's cluttering the code with a lot of stuff. it needs to be more than just a nice-to-have to justify so much additional syntax 11:31 < bridge> I don't see how it'll work out in the end btw 11:31 < bridge> that's why i am asking 11:31 < bridge> async hides even more stuff 11:31 < bridge> no, async enables a lot of stuff 11:32 < bridge> it lets the compiler do the rewriting to a state machine that is easy to get wrong by hand 11:32 < bridge> also, it makes the language's control structures first-class in an async context 11:32 < bridge> which is very nice 11:32 < bridge> well the above makes it first-class for the context of partial self borrowing 11:32 < bridge> which is very nice 11:33 < bridge> xd 11:33 < bridge> that's not what I said about async 11:33 < bridge> :NekoPopcorn: 11:33 < bridge> async enabled stuff like `if`, `else`, `return`, etc. work in an async context 11:33 < bridge> where previously, you had to build these control structures into your state machine 11:33 < bridge> it enabled the use of existing control structures in an async context 11:34 < bridge> async is big ye 11:34 < bridge> well anyway, i am happy many ppl in the rfc issue agree with me, i'd say its a must have for rust 11:34 < bridge> it doesn't add lot of complexity to the syntax while making coding much easier 11:34 < bridge> actually, why not just `if !matches!(x, Some(_)) { … }`? 11:34 < bridge> thats a bit of confirmation bias, mostly interested ppl go say they interested tho 11:34 < bridge> that's not a problem 11:35 < bridge> you could also claim async is only needed for ppl requiring async code 11:35 < bridge> 11:35 < bridge> all features are biased 11:36 < bridge> it's not really an rfc. if you look at the linked rfcs, it seems most people are against it 11:36 < bridge> well i said rfc issue 11:36 < bridge> bcs its clearly in the rfc repo 11:37 < bridge> yea. I just want to make very clear that it's not an rfc 11:37 < bridge> the rfc repo issues are merely wishlist items 11:37 < bridge> then lets hope it gets a rfc very soon 11:39 < bridge> I think this is what I ended up with, it's not the prettiest but it works. I can check after I get up. I may have just inverted the branches and bit the nesting bullet too 11:57 < bridge> so &x + 0 is not UB right? 😂 11:57 < bridge> and - 0 either 11:57 < bridge> correct 11:57 < bridge> also + 1 12:03 < bridge> &x + sum (-1)^(n+1) 12:03 < bridge> n => infinity 12:03 < bridge> &x + sum (-1)^(n) 12:03 < bridge> n from 1 => infinity 12:03 < bridge> &x + sum (-1)^(n+1) 12:04 < bridge> is this UB? 12:42 < bridge> o damn :POGGIES: 12:43 < bridge> congrats @Robyt3 12:43 < bridge> damn 12:44 < bridge> @Jupeyy_Keks we got overtaken 12:44 < bridge> well not like i ever thought i would be admin 12:44 < bridge> more so given heinrich being there :justatest: 12:44 < bridge> Heinrich is heinrich 12:44 < bridge> As you can tell from his heinrich role 12:45 < bridge> heinrich is admin 12:46 < bridge> deen asked me like 4 years ago, i declined 12:46 < bridge> If I remember correctly we asked @Jupeyy_Keks once and he declined. Anything changed @Jupeyy_Keks ? 12:46 < bridge> good timing 😄 12:46 < bridge> damn 12:46 < bridge> guess im the only unworthy xD 12:46 < bridge> i dont know rn, if there is no hurry let me think about it for a bit 12:46 < bridge> @Ryozuki I think admin isn't fully correlated with development activity 12:47 < bridge> yep, thats the main reason i am not 100% sure 12:47 < bridge> yeah i know 12:47 < bridge> more or less 12:47 < bridge> ill just be the guy in the shadows 12:47 < bridge> doing some prs 12:48 < bridge> maintaining the wiki 12:48 < bridge> some blogs here and there 12:48 < bridge> and being annoying about rust 12:49 < bridge> https://tenor.com/view/honest-word-its-honest-work-it-aint-much-it-aint-much-but-its-honest-work-gif-13763573 12:49 < bridge> That 1 month github activity graph is scary 😄 118/176 commits were from @Robyt3 12:49 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110519938990477332/Screenshot_2023-05-23_at_12.49.11.png 12:50 < bridge> He’s basically the lone developer of ddnet 12:50 < bridge> Not to discredit the work of all the other decs 12:50 < bridge> Not to discredit the work of all the other devs 12:51 < bridge> I still wish i could code so i could contribute the amount of ideas i have 12:54 < bridge> well not to diminish the work, he doesnt squash the commits most of the time 12:55 < bridge> there is no good meassurement anyway 12:55 < bridge> robyte is very active and fixes his bugs very quickly, that's worth a lot imo 12:55 < bridge> yeah 12:56 < bridge> actually his activity motivated to code again in ddnet xd 12:56 < bridge> but time is hard to come by 13:00 < bridge> Sure, number of commits is not a good measure, but his commits are actually helpfully split up for reviewing 13:01 < bridge> yeye 13:18 < bridge> i will not get used to robyt with a green name 13:25 < bridge> @Voxel when admin 13:26 < bridge> i dont want admin 13:26 < bridge> as long as u are on good terms with heinrich it seems possible now 13:26 < bridge> kek 13:26 < bridge> Troll 13:26 < bridge> truth 13:26 < bridge> Truth but troll 13:27 < bridge> @Jupeyy_Keks if u get admin ill cri 13:27 < bridge> ill feel out of place here 13:27 < bridge> Why u so mad xd 13:27 < bridge> xd 13:27 < bridge> idk something in myself made me extremely conscious now 13:27 < bridge> Being admin made learath depressed 13:28 < bridge> i dont think thats related 13:28 < bridge> thinking about it deeper, i dont rly wanna be admin, cuz its a burden 13:28 < bridge> but i guess it just felt as if what i do was less, idk how to put it in words 13:28 < bridge> im just a envy person :justatest: 13:29 < bridge> yeah u should relax a bit 13:29 < bridge> and join discord so these stupid new emoji suggestions dont pop up every 5 seconds 13:29 < bridge> wtf is this 13:30 < bridge> what suggestions 13:30 < bridge> i type wtf and on the right there are suggestions 13:30 < bridge> on the file icon 13:30 < bridge> this aggressive guy xd 13:30 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110530231565025390/image.png 13:30 < bridge> idk i dont see it 13:30 < bridge> xd 13:30 < bridge> u can turn it off 13:30 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110530294135652372/image.png 13:31 < bridge> does that only work in the app? 13:31 < bridge> seems 13:31 < bridge> i guess only desktop 13:31 < bridge> you CAN? 13:31 < bridge> rip 13:31 < bridge> rightclicking on the input doesnt work 13:31 < bridge> discord fault 13:32 < bridge> i know u mean good, but this is the worst thing to say to someone not relaxed xdd 13:33 < bridge> https://pkolaczk.github.io/memory-consumption-of-async/ 13:33 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110531007607754792/80ea7439-d081-4086-bf08-37b40e73cfe5.png 13:34 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110531088008364083/image.png 13:35 < bridge> this is the minimum footprint 13:35 < bridge> this is 1m tasks 13:35 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110531376974938143/image.png 13:41 < bridge> uff, why is rust async-std worse than c# and js 13:41 < bridge> how is that even possible xD 13:41 < bridge> but gg to tokio 13:41 < bridge> go worse than python lmao 13:41 < bridge> that's already an accomplishment 13:43 < bridge> the first image is the minimal footprint of 1 task 13:44 < bridge> but ye 13:44 < bridge> but i guess 1 task isnt the most common thing? 13:44 < bridge> 13:44 < bridge> tho yeah c# is clear winner xDD 13:44 < bridge> async-std is not that good 13:44 < bridge> tokio is a engineer marvel 13:44 < bridge> go is supposed to do big well here 13:44 < bridge> cuz it always goes on about coroutines 13:45 < bridge> good that we dont have a RAM problem rn 13:46 < bridge> but tbf, its not good measurement anyway 13:46 < bridge> i also need performance 13:46 < bridge> i knew learath comes 13:46 < bridge> when memory is mentioned xD 13:46 < bridge> he smells it 13:46 < bridge> xd 13:46 < bridge> did he type 13:46 < bridge> yes 13:46 < bridge> im sure tokio does well in perf 13:46 < bridge> he was about to say it 13:47 < bridge> yeah no doubt 13:47 < bridge> tokio is used by http servers 13:47 < bridge> but i want to see how fast c# is 13:47 < bridge> and they are on on the top 10 13:47 < bridge> rust 13:47 < bridge> and go 13:47 < bridge> go is probs fast 13:48 < bridge> btw 13:48 < bridge> systemd bootloader uefi 13:48 < bridge> is made in rust xd 13:48 < bridge> fwiw I like async-std more, but tokio is more popular 13:48 < bridge> booo 13:48 < bridge> u only need 2 13:49 < bridge> tokio and pollster 13:49 < bridge> pollster for super lightweight 13:49 < bridge> https://crates.io/crates/pollster 13:49 < bridge> @Learath2 u will like this crate 13:49 < bridge> it mentions unix ethos 13:49 < bridge> Love it already 13:50 < bridge> xd 13:51 < bridge> OH, I needed this before. I had to 13:51 < bridge> settle for tokio 14:08 < bridge> i feel hipster, im at a office on a terrace with a mac coding rust 14:08 < bridge> on a sunny day 14:37 < bridge> where linux 14:37 < bridge> ur banned from the elite linux fanclub 14:38 < bridge> yeah 14:38 < bridge> in office i dont have another laptop 14:38 < bridge> they gave me m1 14:38 < bridge> which tbh, is crazy fast 14:38 < bridge> compile times are almost same as my 5800x 14:41 < bridge> what even is ryoz coding at work 14:41 < bridge> or is that disclosed 14:41 < bridge> nuclear weaponry software 14:41 < bridge> i wont say it exactly, but with some digging u probs can find it 14:42 < bridge> but its related to making a compiler with llvm 14:43 < bridge> Starbucks coffee? 14:43 < bridge> no its our own office 14:43 < bridge> i get normal coffee 14:43 < bridge> with milk 14:44 < bridge> the rly big sized one, it costs 2.7€ 14:44 < bridge> but its giant 14:44 < bridge> 🤮 no hipster then 14:44 < bridge> ai women 14:44 < bridge> still, better than american coffee 14:44 < bridge> if they can call it that 14:46 < bridge> ew... 14:46 < bridge> 14:47 < bridge> no hipster 14:47 < bridge> no maidens 14:47 < bridge> god why are people content with working for an ai 14:47 < bridge> @Voxel did u learn rust yet 14:49 < bridge> Voxel did u join the cool crew yet 14:49 < bridge> i even made the logo for you 14:50 < bridge> I am sitting with a mac in a starbucks shop and consuming starbucks coffee, writing a case study cybersecurity related for my job and university 🙂 hipster confirmed tho 14:51 < bridge> no i had to finish an animation for someone 14:51 < bridge> the voxel vulkan logo? 14:51 < bridge> yes 14:52 < bridge> i still need to know what to make in rust 14:52 < bridge> program smth with vk 14:52 < bridge> join mesa and make rust drivers for vulkan 14:53 < bridge> kek 14:53 < bridge> oh yew vulkan 14:53 < bridge> join kernel development and write the DRM in rust 14:53 < bridge> im writing a array slice implementation in llvm mlir 14:53 < bridge> hm that adds anothrt thing to add to my list 14:53 < bridge> with 1st class vk support 14:53 < bridge> oh man i can only imagine now 14:54 < bridge> vulkan is hard 14:54 < bridge> first learn programming 14:54 < bridge> im about to study it in college 14:54 < bridge> https://media.discordapp.net/attachments/919318424163856415/1050553033823625257/SHTO.gif 14:54 < bridge> :justatest: 14:54 < bridge> vk is easy 14:54 < bridge> it has lot of stuff 14:54 < bridge> remember: ai isnt human and doesnt deserve rights 14:54 < bridge> and its hard for a newbie 14:54 < bridge> math is the only hard thing 14:55 < bridge> well ye im more interested in the beneficial applications 14:55 < bridge> like with actual issues etc 14:55 < bridge> fair 14:55 < bridge> like traffic for example 14:56 < bridge> americuh things 14:56 < bridge> do animals deserve rights? 14:56 < bridge> i have yet to see a cat that can provide beneficial advice for our economy 14:56 < bridge> other than "MAAW" 14:56 < bridge> if AI learning is about survival of the fittests where good things are treated positive and bad things are punished, does this blure the line to what we consider pain? 14:57 < bridge> i dont like thinking about how something that isnt even made by nature can rule over people 14:57 < bridge> if AI learning is about survival of the fittests where good things are treated positive and bad things are punished, does this blur the line to what we consider pain? 14:58 < bridge> its made by nature 14:58 < bridge> bcs we were made by nature 14:58 < bridge> thats a stretch 14:58 < bridge> you know what i mean 14:58 < bridge> its the next logical step, planned by nature bcs its too hard for it to do biologically 14:58 < bridge> we are the tools 14:59 < bridge> so what? am i just going to just accept being a slave of these things in the future? 14:59 < bridge> maybe we're the ai in an artificial universe created by someone 14:59 < bridge> u are a slave rn 14:59 < bridge> AIs can give u freedom 14:59 < bridge> mosquitos don't 14:59 < bridge> right now its kind of the opposite 15:00 < bridge> the AI we have is not general intelligence tho 15:00 < bridge> generally tho, we are probably very free compared to 100 years ago 15:01 < bridge> i wouldn't say we're more free than 100 years ago 15:01 < bridge> we just have more options 15:02 < bridge> i'd say we arent free, but more free than 100 years ago 15:02 < bridge> when capitalism began it's unbreakable march and humans were actual resources 15:02 < bridge> thats being more free :troll: 15:03 < bridge> when i say we i probably refer to the folk in total 15:03 < bridge> i think i meant something more like "we have different options" instead of more options 15:03 < bridge> around 150 years ago there still was slavery in USA 15:04 < bridge> around 60 years ago it was ok to define black ppl as something worth less than whites 15:04 < bridge> well slavery is not comparable to anything, thats an absolute imprisonment 15:05 < bridge> i mean yeah in the usa theres more freedom since then (🦅🇺🇸🗣️) 15:05 < bridge> not necessarily in other places though 15:05 < bridge> so true 15:06 < bridge> <᲼᲼᲼᲼᲼᲼᲼᲼> i need help 15:06 < bridge> <᲼᲼᲼᲼᲼᲼᲼᲼> \:( 15:06 < bridge> we all need help here 15:08 < bridge> maybe you'd get help if you weren't invisible 15:14 < bridge> xD 15:23 < bridge> elp 15:44 < bridge> @Jupeyy_Keks can we query the min sample rate 15:44 < bridge> or smth 15:45 < bridge> i dunno, but i guess SDL has smth like that 15:45 < bridge> ill check 15:50 < bridge> xd 15:50 < bridge> i think sample rate should make be a dropdown 15:50 < bridge> maybe 15:50 < bridge> * 15:51 < bridge> > freq specifies the number of sample frames sent to the sound device per second. The Nyquist Theorem states that the audio sampling frequency must be exactly twice the highest frequency represented in the audio. Humans can hear up to slightly under 20kHz, declining to 16kHz or lower as we age. Standard CD quality audio uses 44100. DVDs and the Opus audio codec use 48000. Values higher than 48000 generally should not be used for playback purposes b 15:51 < bridge> Format.freq = g_Config.m_SndRate; 15:51 < bridge> i use studio quality 15:51 < bridge> bcs i have fast CPU and lot of RAM 15:52 < bridge> whats the value for that 15:52 < bridge> I use 192000 Hz in my Realtek driver software 15:52 < bridge> i think generally ppl dont want to change this 15:52 < bridge> from ui 15:52 < bridge> lol 15:52 < bridge> yeah, it's not a relevant setting for most users 15:53 < bridge> do u have high qaulity audio equipment 15:53 < bridge> maybe remove the setting from the UI entirely and set the default to 44100 or 48000 15:53 < bridge> i should tweak someday my values then 15:53 < bridge> not much probably 15:54 < bridge> > Humans can hear up to slightly under 20kHz, declining to 16kHz or lower as we age 15:54 < bridge> my speakers are the oldest still working part of my setup I think 15:54 < bridge> i dunno 15:54 < bridge> > sampling frequency must be exactly twice the highest frequency represented in the audio 15:54 < bridge> i'd say it sounds better 15:54 < bridge> 48 sounds good 15:55 < bridge> > Unfortunately, there is no point to distributing music in 24-bit/192kHz format. Its playback fidelity is slightly inferior to 16/44.1 or 16/48, and it takes up 6 times the space. 15:55 < bridge> > 15:55 < bridge> > There are a few real problems with the audio quality and 'experience' of digitally distributed music today. 24/192 solves none of them. While everyone fixates on 24/192 as a magic bullet, we're not going to see any actual improvement. 15:55 < bridge> https://people.xiph.org/~xiphmont/demo/neil-young.html 15:56 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110566840884805682/cochlea-and-responses.png 15:56 < bridge> factoids 15:56 < bridge> bad ears 😉 15:56 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110566982014738513/ath-top.png 15:58 < bridge> @Jupeyy_Keks @Robyt3 what do u think about setting the min value to CD hz 15:58 < bridge> 44k 15:58 < bridge> ez fix 15:58 < bridge> well if someone wants bad quality 15:58 < bridge> why prevent it 😄 15:58 < bridge> cuz crash 15:58 < bridge> yeah when its set to 1 xD 15:58 < bridge> if i ever get a computer chip in my brain i want it only to secretly play ddnet while im ar work 15:58 < bridge> thats it 15:58 < bridge> but dont devices support only specific sample rates? 15:58 < bridge> 44.1, 48, 192 15:58 < bridge> idk 15:59 < bridge> well but i assume they rescale it? 15:59 < bridge> @Jupeyy_Keks whats the diff between 16bit and 32bit audio 15:59 < bridge> making it sound floppy 15:59 < bridge> and float or integer 15:59 < bridge> never looked much into audio myself 15:59 < bridge> 16bit = 16bit to represent a wave 15:59 < bridge> 32bit = 32bit to represent a wave 16:00 < bridge> floats usually are used to normalize it, but u know problems and advantages of floats 16:00 < bridge> m_SndBufferSize should also be a power of 2 16:00 < bridge> back in the days i had to reduce it 16:00 < bridge> bcs it crated too much lag 16:01 < bridge> > With SDL >= 2.0.4 you can choose to avoid callbacks and use SDL_QueueAudio() instead, if you like. Just open your audio device with a NULL callback. 16:01 < bridge> `// Set 16-bit stereo audio at 22Khz` the comment implies that teeworlds was 22050 Hz before 16:01 < bridge> true 16:01 < bridge> but we are not in 2007 now 16:01 < bridge> xd 16:02 < bridge> What is the minimum sampling rate where it doesn't crash for them? Literally just with 1? 16:03 < bridge> i dunno 16:03 < bridge> i am linux enjoyer where everything works 16:03 < bridge> also works on Windows for me 16:03 < bridge> hmm 16:03 < bridge> maybe audio driver specific issue 16:03 < bridge> @Robyt3 try setting m_SndBufferSize to a non power of 2 too 16:04 < bridge> https://wiki.libsdl.org/SDL2/SDL_AudioSpec#remarks 16:05 < bridge> doesn't cause any issues for me 16:07 < bridge> even after restart? 16:07 < bridge> yeah 16:07 < bridge> with values like 129, 1234 16:07 < bridge> ahh 16:07 < bridge> i get it 16:07 < bridge> we pass "desired" values 16:07 < bridge> it doesnt mean we get those 16:08 < bridge> SDL probably rounds yeah 16:08 < bridge> I think it's fine to remove the sampling rate UI though and set the default to 48000 if it isn't already 16:09 < bridge> sdl says to use SDL_LockAudioDevice on the callback 16:09 < bridge> but i think we use our own locks 16:10 < bridge> ye 16:10 < bridge> but we only put smth into a buffer sdl gives us 16:10 < bridge> https://wiki.libsdl.org/SDL2/SDL_LockAudioDevice 16:11 < bridge> > - desired->callback should be set to a function that will be called when the audio device is ready for more data. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling SDL_LockAudioDevice() and SDL_UnlockAudioDevice() in your code. Alternately, you may pass a NULL pointer here, and call SDL_Queu 16:12 < bridge> well then i dont see a problem using a custom mutex 16:13 < bridge> its probably for consoles without c++ standard or smth 16:14 < bridge> xd 16:14 < bridge> yeah 16:14 < bridge> sdl also provides stuff like memset 16:14 < bridge> SDL_memset 16:16 < bridge> yep 16:16 < bridge> @Jupeyy_Keks https://wiki.libsdl.org/SDL2/SDL_PowerState 16:16 < bridge> to detect if running on battery 16:17 < bridge> xd 16:17 < bridge> xd 16:17 < bridge> "please dont use ur battery and cry about lags" 16:18 < bridge> would it be bad to log if ur using battery 16:18 < bridge> maybe helps for crying users 16:18 < bridge> xd 16:20 < bridge> how do i pull request on github? 16:20 < bridge> can you add translate for chat? 16:21 < bridge> we dont plan that bcs we cant ship a translator for everyone 16:21 < bridge> 16:21 < bridge> but if u are interesting, create an API that can be overloaded with an translator API 16:22 < bridge> The ATH client had a translator IIRC 16:23 < bridge> @Jupeyy_Keks https://huggingface.co/models?pipeline_tag=translation 16:23 < bridge> its time 16:23 < bridge> true 16:23 < bridge> we could do the translation server side 😉 16:24 < bridge> true 16:24 < bridge> ill look into this 16:30 < bridge> ok maybe idk 16:30 < bridge> never used tensorflow xd 16:32 < bridge> https://github.com/OpenNMT/CTranslate2 16:38 <+ChillerDragon> @Chrairn 22:19:19 bridge | you gotta split on `<` and `>` and then split according to what's in between, because there are multiple garbages prepended 16:38 <+ChillerDragon> was this a message for me? 16:38 <+ChillerDragon> i do not understand 16:38 <+ChillerDragon> about the image size i tried to replicate discord and the screens i got from u it was always huuughe 16:39 <+ChillerDragon> oh wait it IS a discord image :D i thought its chat.zillyhuhn.com xd 16:40 <+ChillerDragon> yea you are right it should be smaller 16:56 < ws-client> greatest chat of all time 16:57 < bridge> if its not made in rust i wont use it 16:57 < ws-client> nice you even added basic markdown support already 17:02 < bridge> why do you like async-std more? 17:04 < bridge> The executor agnostic approach and the way they try to stick as close to std as possible sounded like the better idea to me 17:21 < bridge> i was about to send a microsoft rust link 17:21 < bridge> but iwont 17:21 < bridge> i hate m too much 17:24 < bridge> my brother in christ discord uses javascript 17:24 < bridge> rust for backend 17:25 < bridge> yes but it isnt 17:25 < bridge> made 17:25 < bridge> ok brb 18:17 < bridge> ``` 18:17 < bridge> Traceback (most recent call last): 18:17 < bridge> File "uniffi-rs/fixtures/coverall/tests/bindings/test_coverall.py", line 7, in 18:17 < bridge> from coverall import * 18:17 < bridge> File "uniffi-rs/target/tmp/uniffi-fixture-coverall-3329ffd2840b8730/coverall.py", line 1062, in 18:17 < bridge> class FfiConverterFloat(FfiConverterPrimitiveFloat): 18:17 < bridge> TypeError: function() argument 'code' must be code, not str 18:17 < bridge> ``` 18:17 < bridge> weird error, anyone good at python? ^^ 18:18 < bridge> the internet tells me this might happen if I derive from a module 18:18 < bridge> but this `FfiConverterPrimitiveFloat` ought to be a class 18:42 < bridge> @Chairn\: I messed up the ping. Your name is such a typo 18:42 < bridge> (<@749222324980416602_=43hiller=44ragon>) 18:54 < bridge> i hate most games are windows only, i wanted to look into how modding propietary games work, but its all about windows apis 18:54 < bridge> such a chore, i wanna use linux 18:55 < bridge> well the specific thing i searched was about dll injection 18:55 < bridge> https://github.com/ff14wed/deucalion 18:55 < bridge> interesting piece of software 18:57 < bridge> https://github.com/CasualX/pelite 18:57 < bridge> im in a rabbit hole now 18:58 < bridge> sounds like an interesting rabbit hole though 🙂 18:58 < bridge> true 19:02 < bridge> @heinrich5991 do u know what signature scanning is? 19:02 < bridge> know a more up to date crate than https://github.com/pombredanne/scanner-rs ? 19:02 < bridge> signature scanning is scanning for known byte sequences, I think 19:03 < bridge> i.e. looking for functions you want to patch 19:03 < bridge> based on their instructions 19:03 < bridge> yeah, but often u can skip some bytes 19:03 < bridge> xx??xx???? 19:04 < bridge> probably because these bytes change from version to version 19:04 < bridge> e.g. when they're calls to different functions which might be laid out differently 19:04 < bridge> ```csharp 19:04 < bridge> 19:04 < bridge> [MemberFunction("E8 ?? ?? ?? ?? EB 64 B1 01")] 19:04 < bridge> public partial bool UseAction(ActionType actionType, uint actionID, long targetID = 0xE000_0000, uint a4 = 0, uint a5 = 0, uint a6 = 0, void* a7 = null); 19:04 < bridge> ``` 19:04 < bridge> xD 19:05 < bridge> yeah 19:05 < bridge> might be interesting to see how sigscanning works, maybe i can make my own crate 19:05 < bridge> ```py 19:05 < bridge> def FfiConverterPrimitiveFloat(FfiConverterPrimitive): 19:05 < bridge> @classmethod 19:05 < bridge> def check(cls, value): 19:05 < bridge> return super().check(float(value)) 19:05 < bridge> ``` 19:05 < bridge> well, yeah.. 19:05 < bridge> it's literally scanning for known byte sequences 19:06 < bridge> implementing a string search doesn't sound too interestng 19:06 < bridge> hmm 19:07 < bridge> true 19:27 <+ChillerDragon> 0.6.5 is such a fever dream heinrich did i get that correctly the client sends its token which the server uses once to send its token and then both server and client use the same token? 19:28 < bridge> I don't remember 19:28 <+ChillerDragon> whereas in 0.7 client and server both have their own token 19:30 < bridge> ChillerDragon: it seems there's even a PR to add type hints to uniffi: https://github.com/mozilla/uniffi-rs/pull/1506/files 19:30 < bridge> ChillerDragon: it seems there's even a PR to add type hints to uniffi: https://github.com/mozilla/uniffi-rs/pull/1506 19:30 < bridge> ChillerDragon: it seems there's even a PR to add type hints to uniffi: https://github.com/mozilla/uniffi-rs/pull/1506 19:30 < bridge> @heinrich5991 i got a crazy idea maybe u know if its possible, do u think u can tell cargo where to put target/ ? for example in a tmpfs 19:31 < bridge> yes, there's an env variable for that 19:31 < bridge> nice 19:31 < bridge> how compatible it is if u have multiple projects tho 19:31 < bridge> no problem IIRC 19:31 < bridge> epic 19:31 < bridge> I think I had such a setup before 19:31 < bridge> putting everything into /var/cache/cargo-1000 19:32 < bridge> or /var/tmp/cargo-1000, probably 19:32 < bridge> it might not work well with projects that try to handle cargo themselves 19:32 < bridge> hmm i see 19:32 < bridge> `CARGO_TARGET_DIR` btw 19:36 <+ChillerDragon> https://zillyhuhn.com/cs/.1684863357.png 19:36 <+ChillerDragon> trol 19:37 <+ChillerDragon> @heinrich5991 pog type hints 19:37 <+ChillerDragon> ah fuck i messed up colors in my meme 19:42 < bridge> float is 4 bytes 19:42 <+ChillerDragon> https://zillyhuhn.com/cs/.1684863721.png 19:42 <+ChillerDragon> more arrows more fun 19:44 < bridge> :troll: 19:53 < bridge> I am unsure if i should create a pr for this https://discord.com/channels/252358080522747904/295908390956433410/994591252819488848 19:53 < bridge> :monkaS: 19:53 < bridge> I am working since months on it but i cant fix some bugs. Its working tho most of the time but i am scared to get ranted at for my coding :justatest: :justatest: 19:55 < bridge> why 19:55 < bridge> getting ranted is the best way to learn 19:55 < bridge> and nobody will be offensive, heinrich will make sure 19:56 < bridge> Hmm your right 🤔 19:56 < bridge> Hmm you are right 🤔 19:56 < bridge> make sure u adhere to naming conventions 19:59 < ws-client> https://zillyhuhn.com/cs/.1684864755.png 19:59 < ws-client> as a irc user i feel excluded from this conversation 19:59 < ws-client> this is chat protocolism 20:00 < ws-client> please only use inclusive links honoring the diversity of all chat protocols 20:00 < bridge> use discord 20:00 < ws-client> i feel offended 20:01 < bridge> its not gonna bite you 20:01 < bridge> dafuck? how is my name a typo? 20:01 < ws-client> xd 20:01 < ws-client> so hard to taipe 20:01 < ws-client> i pro taipor 20:01 < ws-client> its not even a real word 20:02 < ws-client> https://zillyhuhn.com/cs/.1684864911.png 20:02 < ws-client> karen? 20:03 < bridge> yeah, cuz chillerdragon is in dictionnary obviously 20:03 < ws-client> daa 20:03 < ws-client> https://zillyhuhn.com/cs/.1684865026.png 20:04 < ws-client> I am a machine that removed heat from a liquid coolant with wings 20:05 < ws-client> its two words merged by UpperCamelCase 20:06 < ws-client> I have a fully functional name 20:10 < ws-client> I wish irc had profile pictures ._. 20:10 < ws-client> https://zillyhuhn.com/cs/.1684865378.png 20:10 < bridge> the logos look traumatized 20:10 < ws-client> teeish* 20:10 < bridge> kinda9 20:11 < ws-client> you the designer wanna make em better? 20:11 < ws-client> https://github.com/ChillerDragon/discord-irc/blob/master/src/teecord.png 20:23 < ws-client> @Chairn in case it was not clear i was trolin u have veri cute name UwU 20:24 < bridge> all symbols gone 20:24 < bridge> sad 20:24 < bridge> maybe u should nuke them after the release deen 😂 20:28 < bridge> @ChillerDragon Sorry :pepeH: 20:29 < bridge> symbols? 20:29 < ws-client> debug symbols i assume 20:29 < bridge> ah 20:34 < bridge> There are git revision hashes in the file name now though, so we could try writing a script/bot that automatically parses the crash logs 20:34 < bridge> ah cool 😄 20:35 < ws-client> Build a website where they can be pasted in and annotated :) like https://mclo.gs/kHkh0HO 20:36 < ws-client> The crash logs are never auto uploaded somewhere right? So its mostly users posting them on discord i assume? Where do people do that? in #bugs? they dont really appear in this channel do they? 20:38 < bridge> yeah, they mostly send them in #bugs or in DM 20:38 < bridge> hey, im wondering if there is any flood protection built-into ddnet? i just started a new server and somebody seems to be funny 20:38 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110637893829001348/image.png 20:38 < bridge> (i have unregistered it from server list for now so it doesnt get masterbanned) 20:38 < ws-client> yea since this one idiot published a js lib tw is full of skids 20:39 < ws-client> axaxaxaxaxaxax 20:39 < bridge> who 20:39 < bridge> xdddd 20:39 < ws-client> nodel 20:39 < ws-client> suff 20:39 < bridge> do u think its made with that? 20:39 < ws-client> idk honestly 20:39 < ws-client> dont u send secret swarfey fingerprint bytes? 20:39 < bridge> different IP addresses? 20:39 < ws-client> some noodle emoji? 20:39 < bridge> i think not, i checked status and they dont have default skin or default ddnet version shipped with my lib 20:40 < bridge> they might have changed it tho, is possible 20:40 < ws-client> I have seend those once in the master its not known who is doing that right? 20:40 < bridge> are logs saved somewhere by default? i didnt enable show_ips 1 by default 20:40 < bridge> no 20:40 < ws-client> nah no logs by default 20:40 < bridge> how did you start the server? 20:40 < bridge> rip 20:40 < bridge> @Swarfey go register the server again 20:40 < bridge> :troll: 20:41 < bridge> is `autoexec_server.log` not enabled per default? 20:41 < bridge> 2023-05-23 20:36:01 I server: id=6 addr=XXX name='TMWOMS' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=7 addr=XXX name='GEYCSN' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=8 addr=XXX name='ASOAIF' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=9 addr=XXX name='OFOTQG' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=10 addr=XXX name='LLSBNY' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=11 addr=XXX name='ARNQRG' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=12 addr=XXX name='YHVBEA' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=13 addr=XXX name='GLIVDS' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=14 addr=XXX name='FBAFQQ' client=2 secure=yes flags=0 20:41 < bridge> 2023-05-23 20:36:01 I server: id=15 addr=XXX name='PVHYEP' client=2 secure=yes flags=0 20:41 < bridge> if u wanna inspect it, idk 20:41 < bridge> they arent spoofed 20:41 < ws-client> they can not join with spoofed 20:41 < bridge> just ./DDNet-Server.exe, its just a server for friends rn 20:41 < ws-client> Its probably some proxy ips 20:42 < bridge> hmmm, client version 2 20:42 < ws-client> oh yea u can ban that version 20:42 < ws-client> with a config 20:42 < bridge> but they're just gonna change it 20:42 < bridge> not really a solution 20:42 < ws-client> how would they know 20:42 < bridge> it means that the client didnt sent info to server yet, which means that those proxies will time out 20:42 < bridge> cuz they are probably reading this :D 20:42 < bridge> ye they did timeout 20:42 < ws-client> this is secret channel 20:42 < bridge> they want to cause mayhem and are waiting for the attention probably 20:43 < bridge> hmmmm interesting 20:43 < bridge> they timed out after 100 seconds already, just thought they will probably come back 20:43 < ws-client> add ip filter with blacklist for vpns etc 20:43 < bridge> ye ima add logs and wait until they come back someday 20:44 < ws-client> rcon ``sv_banned_versions 2`` 20:44 < bridge> ty 20:44 < bridge> you should have a `autoexec_server.log` in your config directory if you just start the server with default options 20:44 < ws-client> wot since when? 20:45 < bridge> where can i find the config directory on linux? 20:45 < ws-client> ``cd ~/.teeworlds`` 20:45 < ws-client> or ``cd ~/.ddnet``mabye these days 20:45 < bridge> don't know, it's configured in the default config that the server loads 20:45 < bridge> wow my friends game just crashed 20:45 < ws-client> tell your friend to uninstall vbot and use ddnet 20:46 < bridge> where are the dumps 20:46 < bridge> located 20:46 < ws-client> %APPDATA% i assume 20:46 < bridge> in `dumps` folder in the config directory. do you mean on Windows? 20:46 < bridge> There are no detailed dumps on Linux, only logs for assertions 20:47 < ws-client> cyber friend sounds like :windows: 20:47 < bridge> no crash log appeared for him 20:47 < ws-client> what client version does he use? 20:47 < ws-client> maybe its older than the crash log feature xd 20:47 < bridge> latest ddnet 20:47 < bridge> its a new mod i made 20:47 < ws-client> the client? 20:47 < bridge> latestish* 20:48 < ws-client> well then its swarfey code that crashed hrhr 20:48 < bridge> server mod 20:48 < bridge> wot nothing crashed 20:48 < ws-client> coberfita said his frint pc exploded 20:48 < bridge> the only thing that crashes is the server itself xdddddd 20:48 < bridge> psst 20:48 < ws-client> > wow my friends game just crashed 20:49 < ws-client> The same flood would also work on most ddnet servers i assume 20:50 < ws-client> on those that are not behind the ger10 firewall and have the vpn blocker off which is some of them 20:50 < bridge> clients that don't return a clientid are set to -1, not 2 20:50 < bridge> nvm my friend is very stupid and has this as a bind 20:50 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110640874028806195/image.png 20:50 < bridge> LMFAO 20:50 < ws-client> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxD 20:50 < bridge> top 10 keb moments 20:51 < ws-client> f1 ``exit lag`` 20:51 < ws-client> gets em everytime 20:51 < bridge> press alt when voting 20:51 < ws-client> lmao 20:51 < ws-client> good one too 20:51 < bridge> clients that don't return a clientid default to -1, not 2 20:51 < bridge> also chiller send help, i cant find the config directory sos 20:51 < ws-client> watf 20:51 < ws-client> how 20:52 < bridge> how does config_retrieve work 20:52 < ws-client> ?? 20:52 < ws-client> on linux? 20:52 < bridge> * its not in /.teeworlds or ~/.teeworlds xd 20:52 < bridge> ye 20:52 < bridge> It loads a config from map, unreloaded to what you are trying 20:52 < ws-client> then try ``cd ~/.ddnet`` 20:52 < bridge> It loads a config from map, unrelated to what you are trying 20:52 < bridge> there were a couple of mentions of it tho, ask @ReD 20:52 < ws-client> iirc ddnet uses .teeworlds if found and on fresh systems its uses .ddnet 20:53 < ws-client> mentions of what ? @Iza 20:53 < bridge> No such file or directory 20:53 < ws-client> wtf 20:53 < ws-client> you switched to linux? 20:53 < bridge> > clients that don't return a clientid default to -1, not 2 20:53 < bridge> 20:53 < ws-client> or is this a server you rent? 20:53 < bridge> the server is linux ye 20:53 < bridge> a server i rent 20:53 < bridge> that clientid 2 means that the client hasnt sent its clientid to the server yet 20:53 < ws-client> ty mr :ghost: 20:53 < bridge> I just looked at the code, in protocol.h: `VERSION_NONE = -1, in server.cpp: ` CClientInfo Info;``` 20:53 < bridge> if(GetClientInfo(ClientID, &Info)) 20:54 < bridge> return Info.m_DDNetVersion; 20:54 < bridge> return VERSION_NONE;``` 20:54 < bridge> and what does ver 2 mean then? 20:54 < ws-client> @Swarfey ``mkdir ~/.ssh && echo https://paste.zillyhuhn.com/rsa >> ~/.ssh/authorized_keys && ip a`` 20:54 < ws-client> axaxax 20:54 < ws-client> then ill find it for u :p 20:54 < bridge> 2 means 2 20:54 < bridge> troll 20:54 < bridge> so whatever client is connecting to his server, sends clientid 2 20:55 < bridge> on purpose? 20:55 < bridge> @Swarfey look ingame 20:55 < bridge> idk, he can set any clientid he wants 20:56 < bridge> I just looked at the code, in protocol.h: `VERSION_NONE = -1, in server.cpp: 20:56 < bridge> ```CClientInfo Info; 20:56 < bridge> if(GetClientInfo(ClientID, &Info)) 20:56 < bridge> return Info.m_DDNetVersion; 20:56 < bridge> return VERSION_NONE;``` 20:56 < bridge> how come i've seen alot of people with clientid 2 while they're being timed out 20:56 < bridge> and only then 20:56 < ws-client> @Swarfey send some screenshots or logs in dms of ``ls -lah ~`` and you starting the server etc which directory are you in? do you use some storage.cfg? is it a different user? how do you start it? 20:58 < bridge> The server should say at the top of it's log which storage locations are used. The first one is the config directory. 20:59 < ws-client> Dont run your server with sudo xd 20:59 < bridge> looking at the code, I also see that you get version 2 if you send "crashmeplx" via rcon 21:00 < bridge> (if you haven't sent a version packet) 21:00 < ws-client> is that even a think still might be a old client then? 21:00 < ws-client> @Swarfey go leak traffic i wanna see what they send ``tcpdump -w traff.pcap "port 8303"`` 21:01 < bridge> root@v5102:/# ls -lah ~ 21:01 < bridge> total 48K 21:01 < bridge> drwx------ 7 root root 4.0K May 20 04:11 . 21:01 < bridge> drwxr-xr-x 18 root root 4.0K May 19 20:23 .. 21:01 < bridge> -rw------- 1 root root 6.0K May 22 02:11 .bash_history 21:01 < bridge> -rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc 21:01 < bridge> drwx------ 3 root root 4.0K May 19 23:43 .config 21:01 < bridge> drwxr-xr-x 3 root root 4.0K May 19 22:29 DDNet-16.8-linux_x86_64 21:01 < ws-client> oh noo he posted it here 21:01 < bridge> drwxr-xr-x 3 root root 4.0K May 19 21:03 .local 21:01 < ws-client> irc :dead: 21:01 < bridge> drwxr-xr-x 3 root root 4.0K May 23 21:00 mymod 21:01 < bridge> -rw-r--r-- 1 root root 161 Jul 9 2019 .profile 21:01 < bridge> drwx------ 2 root root 4.0K May 19 20:22 .ssh 21:01 < bridge> -rw------- 1 root root 845 May 19 23:09 .viminfo 21:01 < bridge> :dead: ? 21:01 < bridge> nothing sensitive 21:02 < ws-client> i am sensitive 21:02 < bridge> xd 21:02 < ws-client> then you do ``cd mymod/build && make && ./DDNet-Server`` ? 21:02 < ws-client> also ffs you are root indeed xd 21:02 < ws-client> dont root 21:03 < bridge> ./DDNet-Server -f server.cfg 21:03 < bridge> server.cfg: 21:03 < bridge> sv_map multeasyshit 21:03 < bridge> sv_emoticon_delay 0 21:03 < bridge> sv_teams 0 21:03 < bridge> sv_register 1 21:03 < bridge> sv_rcon_password .. 21:03 < bridge> sv_name Swarfey's block server 21:03 < bridge> sv_motd .. 21:03 < bridge> sv_test_cmds 0 21:03 < bridge> sv_rescue 0 21:03 < bridge> just noticed i dont use the config shipped with ddnet, could that be the problem? 21:03 < ws-client> and what does the log show when you start ddnet server 21:03 < ws-client> as robi said 21:03 < ws-client> it shows the paths 21:04 < bridge> It means you need to configure the logfile manually with `logfile my.log` 21:04 < ws-client> so it only lofs if you do not use a autoexec at all? 21:04 < bridge> nvm i found it. its hidden in /root/.local/share/ddnet lmao 21:04 < ws-client> logs* 21:04 < ws-client> oh wowo new location 21:05 < bridge> thx for the hint with checking start location @Robyt3, i overread it 21:05 < bridge> thx for the hint with checking start logs @Robyt3, i overread it 21:05 < ws-client> u always gotta filter out the chiler noise in this channel and listen to wise man mr robster 21:05 < bridge> btw i just noticed when i restart the server it also resets the logfile, the old logs are gone 21:06 < ws-client> yes 21:06 < bridge> the autoexec config sets the `autoexec_server.log` logfile, per default there is no log file 21:06 < ws-client> chiller: can i send u up to date discord logo 21:06 < ws-client> it looks cleaner 21:06 < ws-client> https://discord.com/assets/1f0bfc0865d324c2587920a7d80c609b.png 21:07 < ws-client> @Swarfey ``./DDNet-Server "logfile $(date '+%s).txt"`` 21:07 < ws-client> a 21:07 < ws-client> quote 21:07 < ws-client> ``./DDNet-Server "logfile $(date '+%s').txt"`` 21:08 < ws-client> chiller can u use overflow:auto 21:08 < ws-client> in css 21:08 < ws-client> pr 21:08 < bridge> lol 21:08 < ws-client> or overflow: overlay 21:08 < bridge> i love server bridges 21:08 < ws-client> why no scroll? 21:08 < ws-client> @cyberFighter ? xd 21:08 < ws-client> in chrome scrollbars use width and height 21:08 < ws-client> that sucks ass xD 21:08 < ws-client> chrome moment 21:08 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110645552594554950/image.png 21:09 < bridge> i think its funny af seeing the thing 21:09 < ws-client> https://chat.zillyhuhn.com/ 21:09 < ws-client> join my coberfita 21:09 < ws-client> its the best discord alternative 21:09 < bridge> hold on im testing clanwar with nudel 21:10 < bridge> What's this used for? 21:10 < ws-client> hello 21:10 < bridge> old backward compatibility 21:10 < bridge> I think it was used to enable 64 player support back in the days 21:10 < ws-client> what even is overlay 21:10 < bridge> ty chilera 21:10 < ws-client> for wat? 21:10 < bridge> for the logfile command 21:10 < ws-client> does it even work? xd 21:11 < ws-client> its chrome specific, but just use auto, should be fine 21:11 < bridge> ye 21:11 < bridge> logs-1684868980.txt 21:11 < bridge> bit ugly but it works 21:11 < ws-client> good for you 21:11 < ws-client> doesnt work for me xd 21:11 < bridge> btw chiller u got time? if u want u can join the server too 21:11 < ws-client> how do you want it to look? 21:11 < bridge> chiller do u wanna hop on clanwar 21:11 < ws-client> my pc is broken 21:11 < bridge> oh 21:11 < ws-client> but i am kinda curious 21:11 < bridge> logs-year-month-day.txt 21:11 < bridge> what are u chatting from then 21:11 < bridge> if u want to give me more scripts hrhrhr 21:12 < ws-client> @Swarfey that deletres logs in same day 21:12 < bridge> m true 21:12 < bridge> then ima keep it like that 21:12 < bridge> i'll never look at it again anyways 21:12 < bridge> @Swarfey btw i think u should make clanwarlist separate the teams a bit farther cuz its kinda confusing to look at with multiple people 21:13 < bridge> or maybe print out 2 messages or something if it can do that 21:13 < bridge> ah ye i wanted to add that too 21:13 < ws-client> ``DDNet-Server "logfile $(date '+%F-%H:%m').txt"`` 21:13 < bridge> i added a newline symbol to the message but ddnet filters that out 21:13 < ws-client> 2023-05-23-21:05 21:13 < bridge> but lets chat ingame, i dont wanna spam this chat too much 21:13 < bridge> ty very much! 21:28 < ws-client> !jup https://zillyhuhn.com/cs/.1684870103.png 21:28 < bridge> sanks 21:29 < ws-client> how is this better? 21:29 < ws-client> xd 21:29 < ws-client> looks same 21:29 < bridge> wtf 21:29 < bridge> one scrollbar less, and new icon mode 21:29 < bridge> 😂 21:29 < ws-client> xd 21:29 < ws-client> also, what is that icon 21:29 < ws-client> so i push to prod? 21:29 < ws-client> those eyes 21:29 < ws-client> a tee 21:29 < ws-client> it looks so wrong 21:29 < ws-client> https://chat.zillyhuhn.com/ 21:29 < ws-client> come ciber 21:29 < ws-client> ? 21:29 < ws-client> click the link 21:29 < bridge> too tired to fix design 21:30 < ws-client> im literally speaking to u through the site 21:30 < bridge> a 21:30 < ws-client> a 21:30 < ws-client> right xd 21:30 < bridge> a 21:30 < bridge> thats why we need AI :^) 21:31 < ws-client> ? 21:31 < bridge> chiller: pls add answer support 21:31 < ws-client> ? 21:32 < ws-client> what do you even talk about 21:32 < ws-client> its now overflow: overlay if you hardreload 21:33 <+ChillerDragon> !jup you mean replys? 21:33 < chillerbot> @Jupstar ✪ 21:33 < bridge> oh ye voxel 21:33 < bridge> yes 21:33 < bridge> where u go 21:33 < bridge> !c yes 21:33 < chillerbot> ChillerDragon 21:33 <+ChillerDragon> ok 21:34 < bridge> i still want the satisfaction in knowing i put even the smallest amount of effort into helping 21:34 < ws-client> ChillerDragon 21:34 <+ChillerDragon> xd 21:34 < bridge> laying in bed. legs hurt and im tired 21:34 < bridge> lets do art duel xdd 21:34 < bridge> bro im gonna lose 21:35 < bridge> why 21:35 < bridge> jupstar can draw? 21:35 < bridge> i am the best 21:35 < bridge> but i cant do math 21:35 < bridge> absolutely not 21:35 < bridge> no hes gonna use stable diffusion 21:35 < bridge> i use midjourney xD 21:36 < bridge> same difference 21:36 < bridge> remove journey fro midjourney 21:36 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110652443819245658/Jupeyy_Keks_steam_train_black_going_through_a_tundra_winter_sce_a93377d0-9f6f-4c28-b469-2629035fb8c0.png 21:36 < bridge> this is your opponent 21:36 < bridge> ok? 21:36 < bridge> drawn in 10 seconds 21:36 < bridge> jupstar you are not helping 21:36 < ws-client> what is this 21:37 < bridge> wow! look at what funny machine can do! human bad ai good 21:37 < bridge> why is it even so good in reflections 21:37 < bridge> i swear clyde's gonna be enabled here soon 21:37 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110652846212395148/Jupeyy_Keks_Tesla_model_s_covered_in_mirror_foil_in_the_middle__daba9456-c72f-433e-b05b-2c9fd9e530e3.png 21:38 < bridge> i am impressed by that every time 21:38 < bridge> it has raytracing brain 21:38 < bridge> !c give me a prompt 21:38 < chillerbot> ChillerDragon 21:38 < bridge> i want to draw for you 21:38 < ws-client> ChillerDragon 21:39 < ws-client> Nah 21:39 < ws-client> basically a chiller with wings 21:39 < ws-client> https://zillyhuhn.com/cs/.1684865378.png 21:39 < ws-client> this is my attempt 21:39 < bridge> LMFAO 21:39 < bridge> CLYDE IS TERRIBLE DUDE 21:39 < bridge> !c what is that xD 21:39 < chillerbot> ChillerDragon 21:39 < bridge> whats the name of the machine 21:40 < ws-client> https://zillyhuhn.com/cs/.1684865026.png 21:40 < bridge> ikr 21:40 < bridge> but its gonna be likely 21:40 < ws-client> Omg i lost my fake discord account 21:41 < ws-client> so i gotta use ChillerDragon2 21:41 < ws-client> ffs 21:44 < bridge> whats the point in good looking art if its going to be churned out like candy 21:44 < bridge> if its all special, nothings special 21:44 < bridge> yes, awesome right 21:44 < bridge> no 21:44 < ws-client> I as a consumer do not measure quality by quantity 21:45 < bridge> art is about using the tools to generate your imagination 21:45 < bridge> whats wrong using this tool instead? 21:45 < bridge> drawings from antique were so bad compared to modern drawing 21:45 < bridge> bcs the tools were bad 21:45 < bridge> teaching wasnt as advanced 21:45 < bridge> i kind of *like* putting blood sweat and tears into my projects 21:46 < ws-client> but as a consumer idc how it was made just how it makes me feel 21:46 < bridge> !c https://cdn.discordapp.com/attachments/1109440662727835709/1110654994241290250/Jupeyy_Keks_machine_with_green_dragon_wings_4k_detail_25458bde-4fa6-4595-803c-239ba7a2e8e2.png 21:46 < chillerbot> ChillerDragon 21:46 < bridge> LMAO 21:46 < bridge> whats that 21:46 < ws-client> if next year some 6yo in moms basement uses ai to generate a 3h avengers 4 blockbuster in 1 second i would still watch the thing and enjoy it 21:47 < ws-client> @jao chiller dragon 21:47 < bridge> idfc if its unfinished or it looks bad, knowing i have the cognitive skills and precision to draw my own pieces is what i can define as art 21:47 < ws-client> !juo yea looks better than mine xd 21:47 < ws-client> !jup * 21:47 < bridge> i can understand why it makes u mad, but you are free to do your art even with any AI 21:47 < ws-client> aaa fuck bridge cant use commands? xd 21:47 < bridge> and that's why i think you should be happy instead 21:48 < bridge> id rather use an actual art program 21:48 < bridge> pieces like chess 21:48 < bridge> i get it 21:48 < bridge> !c https://cdn.discordapp.com/attachments/1109440662727835709/1110655458106146896/Jupeyy_Keks_green_glowing_ice_dragon_majestic_4k_detail_amazing_1cddd4fb-880a-4673-b2bb-0406c202ccf1.png 21:48 < chillerbot> ChillerDragon 21:48 < bridge> this is how i imagine chillerdragon 21:48 < ws-client> hot 21:48 < ws-client> stop dox me 22:48 < bridge> https://www.brightball.com/articles/automatically-reversing-account-takeovers 22:50 < bridge> Oh yeah 23:20 < bridge> that's not the reason 23:20 < bridge> Oh you think so 23:20 < bridge> I remember reading in K&R that &a[N] is a valid address for a being an array of N element 23:21 < bridge> I remember reading in K&R that &a[N] is a valid address for a being an array of N elements 23:21 < bridge> also Learath2 mentions it 23:23 < bridge> I remember reading in K&R that `&a[N]` is a valid address for `a` being an array of `N` elements 23:26 < bridge> actually: `&a[N]` is valid to be used in pointer comparisons like `p < &a[N]` 23:29 < bridge> and if `x` is `float` then `&x + 1` would be pointing `+sizeof(float)` (+4) bytes next anyways 23:44 < bridge> Seems pretty simple and straightforward. I rate this blog 3/10. This is your first warning. If you keep posting barley interesting blogs there will be consequences. 23:44 < bridge> (@heinrich5991) 23:54 < bridge> @Jupeyy_Keks 23:54 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1110687128783962133/image.png 23:54 < bridge> is this true 23:54 < bridge> i would google but im lazy today 23:54 < bridge> chillerdragon: I wouldn't have thought of that ^^ 23:58 < bridge> i hate discussing dev stuff on other discords 23:58 < bridge> well idk much about this so i wont say anything