00:37 < bridge> Which mod? :) 00:37 < bridge> Also btw the latest version is 0.7 not 0.6 :p 00:52 < bridge> Yes this is my second question, on 06 are more people, tho 07 is the latest version, but there are servers that are playable with 06 and 07 (idk is there some library or idk to include that this is possible?) what do you people think should i do? this is the mod: https://www.teeworlds.com/forum/viewtopic.php?id=5973 this is the mod 00:53 < bridge> Yes this is my second question, on 06 are more people, tho 07 is the latest version, but there are servers that are playable with 06 and 07 (idk is there some library or idk to include that this is possible?) what do you people think should i do? this is the mod: https://www.teeworlds.com/forum/viewtopic.php?id=5973 00:55 < bridge> Woah i didn’t know the mod. I’m such a 0.6 newfag 00:56 < bridge> If you want both 0.6 and 0.7 I recommend to base your code on ddnet. It’s servers support both versions. So that’s the only library there is. 00:57 < bridge> If it is team and instagib based I can recommend the ddnet-insta fork as a base to get you started 00:59 < bridge> https://github.com/ZillyInsta/ddnet-insta 00:59 < bridge> 00:59 < bridge> The current master branch sadly has a crashbug so you want to use the hotfix\_map\_reload branch 01:01 < bridge> BTW @heinrich5991 that crashbug‘s solution depends on wether a pr gets merged in ddnet that is marked as depends on \#7777 any chance we could merge or decline just that pr? Or somehow move forward \#7777? 02:46 < bridge> xd 02:48 < bridge> what about me doing teeframe for 0.6? 02:48 < bridge> :pepeW: 02:51 < bridge> how the server send to the client that someone is chatting? 02:52 < bridge> nvmd its on obj_character 02:52 < bridge> wait, the client known every other tee health, armor, ammo count? 03:01 < bridge> can u make windows builds of edlang 03:01 < bridge> bad for discovery when u only have linux build 03:23 < bridge> It sends 0 values unless it’s sent to the connection that owns the tee 03:24 < bridge> Nah He should Just openly brag about Linux Superiority and Hit everyone with the: try it Out with WSL2!!!! 03:24 < bridge> What about it? You do Teeframe for an outdated version. 03:24 < bridge> (joking btw) 03:26 < bridge> I think 03:26 < bridge> Not 100% sure 03:27 < bridge> I think spectators get the info too. Spectators and owners 03:48 < bridge> i think u can still build it on windows very easily 03:48 < bridge> but tbh i can see him cutting off windows support in the future 03:48 < bridge> which would be bad 03:49 < bridge> sorry again about your api key melon 03:50 < bridge> i used it a little bit but apparently it forgot or something lol 03:50 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211505498713489428/image.png?ex=65ee716b&is=65dbfc6b&hm=7bd86b5c341838e1fceee9a1485acabdaa81e879b8033664619331fc0674606c& 04:03 < bridge> :kek: no worries 04:10 < ws-client> @Ewan need windows download? Here you go https://downloads.teeworlds.com/solidfiles.com/17358/DDRace_Windows.rar 04:10 < ws-client> ddrace_windows.rar served by downloads.teeworlds.com lmao 04:15 < bridge> lol thanks 04:15 < bridge> but we were talking about edlang 04:15 < bridge> maybe u can't see the reply 04:16 < ws-client> @heinrich5991 does deprecated mean you are going to delete that directory? https://heinrich5991.de/teeworlds/maps//maps_deprecated_with_crc/ or just not update? 04:53 < bridge> it boots to desktop in like 15 seconds tho 05:10 < bridge> 05:10 < bridge> this is kinda rough tho 08:00 < bridge> i want to but its honestly hard and no win machine 08:00 < bridge> mingw is rly ez to use 08:00 < bridge> wait i forgot its rust 08:00 < bridge> xddd 08:00 < bridge> yeah 08:00 < bridge> cross compiling on rust is so ez though... 08:00 < ws-client> til this works in teeworlds ``./teeworlds teeworlds:127.0.0.1`` as an alternative to ``./teeworlds "connect 127.0.0.1"`` thats so weird 08:00 < bridge> ye the thing is not that 08:01 < bridge> testing? 08:01 < bridge> i havent tried but apparently i have to use the same llvm version as rust? but not sure 08:01 < bridge> also idk how the linker works 08:02 < bridge> i guess you have to have the language support it too 08:02 < bridge> i forgot 08:02 < bridge> should still be fine tbh 08:02 < bridge> https://gitlab.com/taricorp/llvm-sys.rs 08:02 < bridge> Windows 08:02 < bridge> You must use a version of Rust that uses the same compiler as you build LLVM 08:02 < bridge> with, either MSVC or MinGW. Fortunately, a mismatch like this will cause errors 08:02 < bridge> at compile-time when llvm-config provides options which are supported by only 08:02 < bridge> one of them, so if you're using the other it will cause the build to fail. 08:03 < bridge> weird shit 08:12 < bridge> bizarre 08:12 < bridge> chillerdragon why couldn't u import twlib.copy_tree as copy_tree? 08:15 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211572195906555964/IMG_4952.jpg?ex=65eeaf89&is=65dc3a89&hm=be9a9bf5d11b5fc55863f1c26b627588989542f8e5775b60ee5997a6a5683a28& 08:15 < bridge> soon we will see how quickly these 3 machines can work together to compile ddnet 08:22 < bridge> ima try to do edlang windows 08:30 < bridge> so american 08:30 < bridge> smol table 08:30 < bridge> table is big 08:30 < bridge> it just has topper 08:55 < bridge> Wtf that's some interesting layered setup 09:01 < bridge> Held up by clamps xddd 09:03 < bridge> Yea dude 09:03 < bridge> i can put my laptop and smaller keyboard behind the keyboard too 09:03 < bridge> under the main platform 09:03 < bridge> But you still have no mouse space xxd 09:04 < bridge> Are you playing high sens? 09:07 < bridge> Not really playing 09:13 < bridge> woah i hate windows 09:13 < bridge> such a dev hostile OS 09:20 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211588623842148412/GHNVGIhbMAAK9CV.png?ex=65eebed6&is=65dc49d6&hm=2d9e9c2356880c6bad939a0dc4c4f24edab18fdadf7fc47f7b21246769860510& 09:25 < bridge> Replace Dev with user 😬 09:27 < bridge> replace user with "" 09:28 < bridge> replace user with '08' 09:28 < bridge> replace user with (char)(08) 09:29 < bridge> replace user with (char)(8) 09:48 < bridge> https://alfter.us/2023/09/29/cheatsheet-install-debloated-windows-11-on-qemu/ 09:48 < bridge> @mpft im trying but i already hating myself 09:49 < bridge> @ryozuki what for? 09:50 < bridge> edlang for winshit 09:50 < bridge> uff 09:50 < bridge> :fuckyousnail: 09:50 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211596156300169306/image.png?ex=65eec5da&is=65dc50da&hm=22aeb946d31e10635593fb890994bdf89e2c84f3ad7ca5955ce2d810cc03ba60& 09:50 < bridge> I'd just install windows on a different drive 09:51 < bridge> Atleast that's what I do for gaming windows shit 09:51 < bridge> i dont want windows 09:51 < bridge> just doing this to compile 09:51 < bridge> i tried making my dockerfile but i suck 09:52 < bridge> Neither do I but if protondb says its impossible to emulate.... 09:52 < bridge> i dont play the game then 09:52 < bridge> What about GitHub actions? 09:52 < bridge> that will be when i get this working 09:52 < bridge> ci driven development is the worst 09:53 < bridge> tbh if this takes me more than some hours i will pass 09:53 < bridge> edlang for linux only 09:53 < bridge> But I really wanna play lost ark 09:53 < bridge> i thought you knew better than to install visual studio 09:53 < bridge> its rustup 09:53 < bridge> Just install mingw xd 09:53 < bridge> you're still using msvc 09:53 < bridge> and no i dont know better 09:53 < bridge> and i dont want to learn windows shit 09:54 < bridge> lol 09:54 < bridge> angry developer moment 09:54 < bridge> xd 09:54 < bridge> https://www.msys2.org/ 09:55 < bridge> Install mingw64 and cmake and you should be good to go 09:56 < bridge> no im definitly not good to go 09:56 < bridge> im not doing ddnet stuff 09:56 < bridge> Maybe already posted here, idk xd 09:56 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211597571055947787/IMG_20240226_090851_250.jpg?ex=65eec72b&is=65dc522b&hm=bdff9c96d1887961a2184c43bfc59f6024c5e0d82c36cc5509bf137734d153d8& 09:56 < bridge> tf? 09:57 < bridge> funny winget only has llvm 15 09:57 < bridge> more outdated cant be 09:57 < bridge> wdym 09:57 < bridge> why does that matter 09:58 < bridge> Compiler is compiler no matter what project it is xd. Except its not cpp 09:58 < bridge> msys2 is still good setup for rust 09:58 < bridge> yea 09:59 < bridge> u can get rust from msys repos or add your C:\Users\ryozuki\.cargo\bin to your MSYS path 09:59 < bridge> either in /etc/profile or ~/.profile or ~/.config/fish/config.fish if ur using a good shell 09:59 < bridge> then it's like linux ish 09:59 < bridge> it matters cuz it needs to match what llvm was compield with 09:59 < bridge> and as i said idc i dont wanna learn winshit 09:59 < bridge> you can't get a mingw build of llvm ? 10:00 < bridge> idk 10:00 < bridge> i definitly dont want to build llvm in a vm 10:01 < bridge> weak 10:02 < bridge> haha weak is using windows 10:02 < bridge> 🥱 10:12 < bridge> the connectionless stuff is only needed for lan servers nowadays. serverinfo for internet servers doesn't go through connless packets anymore 10:18 < bridge> where do I find this? 10:18 < bridge> https://ddstats.org/events 10:21 < bridge> ChillerDragon: currently just not update. what do you use it for? 10:22 < bridge> cool 🙂 source? 10:22 < bridge> I considered doing something like that for the client once, for live-updates of the serverlist 10:22 < bridge> check the link in the website 10:22 < bridge> https://github.com/edg-l/teeobserver 10:22 < bridge> or read it 10:23 < bridge> yes 10:26 < bridge> https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html 10:27 < bridge> Milkeye????? Wtffff actual useful commit huh ?? You sick or smth 10:31 < bridge> what about it? 🙂 10:31 < bridge> I use it for testing the fixes in the crates I depend on 10:31 < bridge> very useful for that 10:32 < bridge> yeah 10:32 < bridge> @mpft no edlang for windows for now 10:32 < bridge> what does it depend on? some LLVM shenanigans? 10:32 < bridge> just llvm library 10:32 < bridge> but its a pain 10:32 < bridge> rip 10:33 < bridge> distcc tricky to set up across OSes 10:33 < bridge> cuz the prebuilt llvm doesnt have llvm-config which is a tool it tells u the llvm version and library paths 10:33 < bridge> and llvm-sys depends on it 10:33 < bridge> and i dont want to waste more time on a propietary thing 10:33 < bridge> it makes me angry xD 10:33 < bridge> so to get llvm-config i would need to build llvm on windows myself 10:33 < bridge> = lose 2 hours 10:33 < bridge> Go See FISHYYYYYYYYYYYYS If angry ryo - they Help! 10:33 < bridge> ^^ 10:33 < bridge> Lmao my Phone autocorrected that 10:34 < bridge> I Just Typed fishies 10:34 < bridge> macos support is easy tho 10:34 < bridge> its just windows is so special 10:35 < bridge> do you even need support for anything other than ryoos? 😏 10:35 < bridge> for now ill only support FOSS operating systems 10:35 < bridge> nobody will use this anyway 10:36 < bridge> xd 10:36 < bridge> gotta check openbsd 10:36 < bridge> u never know 10:36 < bridge> well then my goal will be to make such a good programming language it will entice ppl to come to linux 10:36 < bridge> isnt that what windows does with games? 10:36 < bridge> :owo: 10:38 < bridge> https://discord.com/channels/252358080522747904/745926398140612678/1211381450587246672 10:38 < bridge> :KEKW: :gigachad: 10:43 < bridge> Did my pr just got merged in main repo? :santatrollet: 10:43 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211609513174769664/IMG_20240226_114248.jpg?ex=65eed24a&is=65dc5d4a&hm=4ac0d73ee85864ba41319cfe766c45b072c3c66c812f15d34bdec17063011ec8& 10:56 < bridge> 😄 10:57 < bridge> I thought u just edit to "contribute code" xd 10:58 < bridge> But having dev role feels good 11:00 < bridge> it's a lot harder for windows-exclusive game devs to target Linux than it is for you to target windows lol 11:00 < bridge> though i understand the frustration of having to compile stupid shit 11:01 < bridge> rn im compiling llvm-mingw on my old 6 core i5 because it doesn't have a build for my distro 11:03 < bridge> also congrats milkyboy 11:03 < bridge> I didn't code anything ;-; 11:06 < bridge> :trollet: 11:07 < bridge> if you feel bad about that, just change it? 😄 11:10 < bridge> Yea.. i should 11:12 < bridge> try to find out how to save teams on map change 11:12 < bridge> good feature but naive implementation sucks 11:49 < bridge> am I a dev then aswell :justatest: 11:53 < bridge> wait wait wait. you now have dev role?! 11:54 < bridge> yippee 11:54 < bridge> im still chilling as normal user 11:54 < bridge> ..... 12:15 < bridge> That didn't age well 12:15 < bridge> xd 12:15 < bridge> someone is feeling generous 12:16 < bridge> my ages since 2020 i suppose 12:17 < bridge> 😏 12:18 < bridge> Cool I have a Dev role now but I don't feel worthy yet. Guess I'll have to fix some things 12:19 < bridge> @blaiszephyr 12:32 < bridge> Write a tool for my ide that can auto fix it. Else its just style bitching 12:33 < bridge> fix\_style.py should be enough 12:33 < bridge> Conventions that are enforced theoretically are useful for programmers 12:33 < bridge> No ide integration needed 12:33 < bridge> I disagree 12:33 < bridge> Without ide support it still results in force pushes which slow down the working process 12:35 < bridge> https://doc.rust-lang.org/std/collections/struct.BTreeMap.html 12:36 < bridge> Not even rust follows its own rules 12:36 < bridge> Btree should be one word in their logic 12:36 < bridge> Send pic with tw open and I can include it in ma new YouTube video c: 12:36 < bridge> The module is also called like that 12:37 < bridge> @heinrich5991 statement 12:37 < bridge> For writing tests and documentation for the 0.6.4 protocol. I found it easier to work with crc maps for that. 12:38 < bridge> if you want permalinks, use the sha256 12:38 < bridge> I have a compilation of pcap files and python tests and html files etc where i would like to reference that this is downloading map xyz with crc so and so and it can be downloaded from this heinrich5991.de url 12:39 < bridge> but 0.6.4 uses crc 12:39 < bridge> then mention the sha256 of the maps that were downloaded 12:39 < bridge> to get a permalink 12:40 < ws-client> its more complicated to verify then https://chillerdragon.github.io/teeworlds-protocol/06/system_messages.html#NETMSG_MAP_DATA 12:40 < ws-client> here it sends a crc 12:40 < ws-client> crc is shorter to type creates shorter file names in my pcap collection 12:40 < ws-client> and i do not need to translate the sha to crc 12:40 < bridge> all the wrong reasons. if it motivates you, I can delete the crc endpoint 12:41 < ws-client> nah just keep one forever :p 12:41 < ws-client> its annoying to use sha when the whole thing is about crc 12:41 < ws-client> just feels wrong 12:42 < bridge> sha256 is just another file checksum 12:42 < bridge> (that is actually secure) 12:42 < ws-client> yes i understand 12:42 < ws-client> but its still additional complexity where i really do not want it 12:42 < ws-client> for no gains 12:42 < bridge> the gains are that people can actually verify they got the correct map 12:42 < ws-client> its fine i can just build my own crc mirror then i guess 12:43 < ws-client> crc is good enough for that in a sample map 12:43 < bridge> it's usual, even without any protocol shenanigans, to provide sha256 hashes of files 12:43 < ws-client> yes i know 12:43 < bridge> see e.g. https://ddnet.org/downloads/sha256sums.txt 12:43 < ws-client> but crc is baked into the protocol 12:43 < ws-client> so thats the interesting value 12:43 < bridge> and you can *additionally* specify the sh256 12:43 < ws-client> when i am documenting the protocl 12:43 < bridge> and you can *additionally* specify the sha256 12:44 < ws-client> then the url is still non obivious 12:44 < ws-client> because it does not match 12:44 < bridge> then build your own mirror, please 12:44 < ws-client> ye k 12:44 < bridge> I'm still in trouble about if I prefer blake2 or 3 vs sha3 12:44 < bridge> Chiller opinion? 12:45 < bridge> what do you want to optimize for? 12:45 < bridge> I heard blake3 is good for speed 12:45 < bridge> Yes 12:45 < bridge> But not standard 12:45 < ws-client> it didnt use it yet for anything was just thinking about doing so @heinrich5991 so from my side you can delete the crc folder but i always liked using that for testing etc. Espeically since many clients still only print crc in the logs 12:45 < bridge> But sha3 adaption sucks too 12:46 < ws-client> i dont even know blake 12:46 < bridge> So speed might be more convincing xd 12:46 < ws-client> i use sha1 mostly trololol 12:46 < ws-client> because it is installed on most systems 12:46 < bridge> you could use sha256 if you want to have a standard thing 12:46 < ws-client> ``sha1sum`` 12:46 < bridge> But I heard sha3 can be extremely fast too on fpga 12:46 < bridge> Old is always bad 12:46 < ws-client> sha256sum is always trouble on figuring out where to install it from and then you have to think about portability for other ppl 12:47 < ws-client> as someone who uses shell as their main language xd 12:47 < bridge> Only the newest of the newest is good enough 12:47 < bridge> soo, we should move to teeworlds 0.7 protocol? 12:47 < bridge> no, newest is not always best 12:47 < ws-client> now 12:47 < bridge> How is that new? 12:47 < ws-client> im ready 12:47 < bridge> It's like 10 years old 12:47 < ws-client> ipv6 12:48 < bridge> afaik NIST did not create a new hash function because the old one was obsolete 12:48 < bridge> But in case of it getting unstable 12:48 < ws-client> arbeitsbeschaffungsmaßnahme 12:48 < ws-client> some1 was bored and built new hash 12:48 < bridge> As backup 12:48 < bridge> yes. just like sha2 might be there if sha3 gets broken 12:49 < bridge> So Blake it shall be u say?😏 12:49 < ws-client> why do you need standard in your case? 12:49 < bridge> blake is also parallelizable 12:49 < bridge> so you can use all your cores to compute it 12:49 < bridge> I don't need it 12:49 < ws-client> if its fastest and u have a good lib in rust for it that you can ship to client and server it seems like the best fit for ddpg2 12:50 < bridge> It's just an pro argument 12:50 < bridge> Not a decision making argument 12:50 < bridge> OK boss 12:51 < ws-client> im so curious if u ever reach playable state 12:51 < ws-client> that would be crazy 12:51 < ws-client> ryo released a full programming language already axaxax 12:51 < ws-client> and there is no alpha rls of jupjapjapsti-net2 12:52 < bridge> Why should I not 12:52 < bridge> But only vanilla as first step 12:52 < ws-client> idk its big project 12:52 < bridge> But the engine is almost done 12:52 < ws-client> pog 12:53 < bridge> Vanilla itself is actually not lot of code 12:53 < bridge> I just hate it xd 12:53 < ws-client> rude 12:53 < bridge> But thanks to zwelf I have a new door open 12:53 < ws-client> wot 12:53 < ws-client> u use his lib? 12:53 < ws-client> isnt there license issues? 12:53 < bridge> I can break some tw "physics" without breaking ddnet physics 12:53 < ws-client> woah 12:54 < ws-client> 0.5 wall hammer 12:54 < bridge> And I explicitly don't mean core physics 12:54 < bridge> Yeah the way projectiles are handled and stuff 12:54 < bridge> It frustrats me a bit 12:54 < bridge> Not yet 12:55 < bridge> License is a kinda problem 12:55 < ws-client> lawyer jopsti moment 12:55 < bridge> I think it would be nice if ppl can still base mods based on ddnet physics 12:55 < bridge> But generally physics are completely separated 12:55 < bridge> So u could say it will simply not live in the main repo 12:56 < ws-client> this all sounds very annoying already 12:56 < bridge> I agree 12:56 < ws-client> BSD masterrace 12:56 < bridge> Easiest would be to not use copyleft 12:56 < ws-client> yes 12:56 < ws-client> using copyleft is supporting peophelia 12:56 < bridge> Xd 12:57 < ws-client> omg i typoed that word hard 12:57 < ws-client> probably for the better 12:57 < bridge> It's just so complicated to understand 12:57 < ws-client> ye 12:57 < bridge> Ofc proprietary is not better xd 12:57 < bridge> Or even worse 12:57 < ws-client> iirc BSD was literally created to not deal with any legal questions 12:58 < bridge> I'd like to have a citation for that 12:58 < ws-client> for what= 12:58 < bridge> > [iirc] BSD was literally created to not deal with any legal questions 12:58 < ws-client> "iirc" 12:58 < ws-client> idk where i heard that 12:58 < bridge> yes. do you remember correctly? 12:58 < bridge> I'm interested in that 12:58 < bridge> ok 12:58 < ws-client> usually not 13:01 < ws-client> I did a quick search didn't find anything. I think i heard that in some tech talk about one of the BSD operating systems like OpenBSD or FreeBSD 13:02 < ws-client> Something about the devs wanting to be let alone and just publish their code 13:05 < bridge> U could probably argue that using BSD license means you also care less about the legal consequences 13:05 < bridge> I doubt smone with BSD would try to sue u. Or is less motivated than a GPL guy 13:05 < bridge> afaik linux hasn't sued anyone 13:06 < bridge> Epyc 13:06 < bridge> couldn't find anything quickly using "linux epyc" or "linux epyc lawsuit" 13:07 < bridge> do you have a link? 13:07 < bridge> Epyc future human moment 13:07 < bridge> Try that 13:23 < bridge> Ddnet has a bsd build? 13:26 < bridge> lmao 13:27 < bridge> I am not a lawyer. But I’d say ddnets license is close to bsd 13:28 < bridge> Zlib license 13:29 < bridge> Thanks lawyer jopsti 13:29 < bridge> Whatever the diff between zlib and bsd is 13:36 < bridge> I think that's hard to say. Zlib is not very common. So I guess you'll not find many answers on that 13:44 < bridge> Chiller when are you gonna release chillerdragores16? 14:13 < bridge> @mpft got new speakers 14:13 < bridge> these have better lows im sure 14:13 < bridge> and they like 2x bigger xD 14:13 < bridge> awesome 14:13 < bridge> which speakers 14:13 < bridge> im sure u will say they bad 14:13 < bridge> @mpft i didnt know these speakers used cable directly 14:13 < bridge> to connect each other 14:14 < bridge> u know like bare cable 14:14 < bridge> yea 14:14 < bridge> i hope that isn't a problem for u 14:14 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211662558801690716/PXL_20240226_130329035.jpg?ex=65ef03b1&is=65dc8eb1&hm=e744d53acc852be5f61560f7c3901a53bb70c8b940633867733c1a114b1d0e85& 14:14 < bridge> nope it works 14:14 < bridge> oh you got actual monitors 14:14 < bridge> awesome 14:14 < bridge> what does that mean 14:14 < bridge> When go DM 14:14 < bridge> i also bought a table xD 14:14 < bridge> wanted to dabble a bit 14:14 < bridge> table looks cool 14:15 < bridge> no 14:15 < bridge> i mean dj one 14:15 < bridge> not the wood table 14:15 < bridge> xd 14:15 < bridge> uhh 14:15 < bridge> like a turntable? 14:15 < bridge> mixing table 14:15 < bridge> i thin its the name 14:15 < bridge> WTF 14:15 < bridge> u know 14:15 < bridge> idk bro 14:15 < bridge> its 100 € 14:15 < bridge> nothing fancy 14:15 < bridge> fotos? 14:16 < bridge> this one 14:16 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211662977892098048/PXL_20240226_130334154.jpg?ex=65ef0415&is=65dc8f15&hm=bad2cfbaab7726abbb2ec9ec1ed8476a5e97ca893d05d67540713af11dd33c2c& 14:16 < bridge> it works with mixxx 14:16 < bridge> oh like a cdj 14:17 < bridge> nice 14:17 < bridge> do you do any pro audio stuff already 14:17 < bridge> what do u consider pro audio stuff 14:17 < bridge> i mixed a bit before (or tried) 14:17 < bridge> with software 14:17 < bridge> mixxx 14:17 < bridge> i see 14:18 < bridge> @mpft looked before and made sure this table was full usb midi compliant or smth 14:18 < bridge> cool man 14:18 < bridge> so it works with linux 14:18 < bridge> nice 14:18 < bridge> ive never used mixxx before so idk 14:19 < bridge> i think its nice 14:19 < bridge> its open source 14:19 < bridge> i never mixed as like a standalone thing 14:19 < bridge> always other parts involved 14:19 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211663817600270386/image.png?ex=65ef04dd&is=65dc8fdd&hm=c0c4a2f853f73ad5eca9607e68b6f4cc4cee177d12ea972c6683a6bfaa25637f& 14:20 < bridge> i see 14:20 < bridge> i just use fl studio mixer 14:20 < bridge> it’s goated… 14:21 < bridge> isnt it more to produce music? 14:21 < bridge> idk but fl sutdio is propietary 14:21 < bridge> im a free software dj 14:21 < bridge> :gigachad: 14:22 < bridge> https://github.com/LMMS 14:29 < bridge> vile piece of software 14:33 < bridge> ```rust 14:33 < bridge> trait Trait { 14:33 < bridge> fn abs(self) -> Self; 14:33 < bridge> } 14:33 < bridge> 14:33 < bridge> impl Trait for i64 { 14:33 < bridge> fn abs(self) -> Self { 14:33 < bridge> 2 * self 14:33 < bridge> } 14:33 < bridge> } 14:33 < bridge> 14:33 < bridge> fn main() { 14:33 < bridge> let x = 42; 14:33 < bridge> println!("{}", x.abs()); 14:33 < bridge> println!("{}", x.abs()); 14:33 < bridge> println!("{}", x.abs()); 14:33 < bridge> } 14:33 < bridge> ``` 14:33 < bridge> New Rust riddle 🎉 with non-suggestive print calls: What will this program output? 14:34 < bridge> ah forget the second and third print for a sec 14:35 < bridge> 42 * 2 ? 14:35 < bridge> default int is i64 iirc 14:35 < bridge> or was it i32 14:35 < bridge> default is i32 14:35 < bridge> i32 ye 14:35 < bridge> so its 42 14:35 < bridge> xd 14:36 < bridge> and now ofc: not all print statements print the same xd 14:36 < bridge> or maybe print makes some cast 14:36 < bridge> ra says its i64 14:36 < bridge> well casts would need to be explicit in Rust 14:36 < bridge> im sure the print makes it change 14:36 < bridge> the infered type 14:37 < bridge> ```rust 14:37 < bridge> #![feature(prelude_import)] 14:37 < bridge> #[prelude_import] 14:37 < bridge> use std::prelude::rust_2021::*; 14:37 < bridge> #[macro_use] 14:37 < bridge> extern crate std; 14:37 < bridge> trait Trait { 14:37 < bridge> fn abs(self) -> Self; 14:37 < bridge> } 14:37 < bridge> impl Trait for i64 { 14:37 < bridge> fn abs(self) -> Self { 14:37 < bridge> 2 * self 14:37 < bridge> } 14:37 < bridge> } 14:37 < bridge> fn main() { 14:37 < bridge> let x = 42; 14:37 < bridge> { 14:37 < bridge> ::std::io::_print(format_args!("{0}\n", x.abs())); 14:37 < bridge> }; 14:37 < bridge> { 14:37 < bridge> ::std::io::_print(format_args!("{0}\n", x.abs())); 14:37 < bridge> }; 14:37 < bridge> { 14:37 < bridge> ::std::io::_print(format_args!("{0}\n", x.abs())); 14:37 < bridge> }; 14:37 < bridge> } 14:37 < bridge> 14:37 < bridge> ``` 14:38 < bridge> i think format args is compiler builtin 14:38 < bridge> Answer: 14:38 < bridge> || 84 42 42 || 14:39 < bridge> Relevant Rust issue (contains spoiler): 14:39 < bridge> ||https://github.com/rust-lang/rust/issues/121453|| 14:42 < bridge> damn 14:44 < bridge> awesome 14:44 < bridge> subscribed 14:44 < bridge> Oh, ||all 42|| would probably still make sense 14:44 < bridge> ye 14:44 < bridge> its a inference bug 14:45 < bridge> "bug" 14:45 < bridge> idk if they consider it a bug 14:45 < bridge> I guess the type infer cause first x.abs() call search abs method and Trait::abs is found. Once the type of x is inferred to be i64, then it will use core::num::abs. 14:45 < bridge> > I guess the type infer cause first x.abs() call search abs method and Trait::abs is found. Once the type of x is inferred to be i64, then it will use core::num::abs. 14:46 < bridge> imo this is clearly a bug ^^ 14:46 < bridge> Well I don't even understand why it's casted to i64 14:46 < bridge> u dont specify a type 14:46 < bridge> its never casted 14:46 < bridge> its infered 14:46 < bridge> I'd have expected i32::abs to be called 14:47 < bridge> it infers it to be i64 because it sees a possible trait method i think 14:47 < bridge> and then not and it uses i32 abs 14:47 < bridge> weird stuff 14:47 < bridge> idk 14:47 < bridge> it uses i64 abs after 14:47 < bridge> > It seems only the first call in a block will be resolved to Trait::abs and all the calls after in the same block to the latter. 14:48 < bridge> I still find that behavior weird 14:48 < bridge> yea, once iti s infered as i64, it uses i64::abs 14:48 < bridge> *its 14:48 < bridge> yea def a bug 14:48 < bridge> Before changing to i64 I expected it to search all i32 traits 14:48 < bridge> And then i32::abs would be found 14:49 < bridge> or, alternatively, the trait method all the way 14:49 < bridge> @patiga thanks for posting always interesting this kind of things 14:49 < bridge> and i quizzed my coworkers 14:49 < bridge> kek 14:49 < bridge> 👍 nice ^^ 15:28 < bridge> @mpft do u know any good dac/amp with rca out 15:29 < bridge> since this speakers have separate left right rca 15:29 < bridge> the fioo i have doesnt have rca 15:29 < bridge> what u think of Fosi Audio K5 Pro 15:32 < bridge> iFi ZEN DAC V2 looks good too 15:43 < bridge> ok got some already 16:52 < bridge> @milkeeycat ur time to shine 16:52 < bridge> 🧙‍♂️ 16:52 < bridge> I spent 3 hours in editor code and an ready to kms 16:52 < bridge> Yesterday you said tomorrow 16:53 < bridge> Stop giving up 16:53 < bridge> Nah, tomorrow xd 16:55 < bridge> U wanna help me? :owo: 16:55 < bridge> I know what the problem is, u just need to fix it 16:56 < bridge> https://tenor.com/view/dancing-ferris-rust-programming-gif-22216348 16:58 < bridge> *please don't touch editor code too much* 16:59 < bridge> I wrote more dbg_msg in that bich than in my entire life 16:59 < bridge> I wrote more dbg_msg's in that bich than in my entire life 17:00 < bridge> Is the convex hull our bezier curves always inside the time frame between two animation points? 17:00 < bridge> Is the convex hull of our bezier curves always inside the time frame between two animation points? 17:12 < bridge> :poggers2: 18:21 < bridge> what is this black magic. 18:21 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211724699671732324/image.png?ex=65ef3d91&is=65dcc891&hm=fdcd1ff080c556abcf53264319b85a61ca14bc2474298fc87121927457692e92& 18:21 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211724700636414072/image.png?ex=65ef3d91&is=65dcc891&hm=0429f308d80f23c30147e2d76fe01998677a15213be82b5080f46ab2fc8b09d9& 18:24 < bridge> ub? 18:27 < bridge> Maybe the vector already has capacity so it's not technically out-of-bounds of the underlying array, or it doesn't crash immediately if you only try to print from an invalid address 18:27 < bridge> if you working in scoreworker.cpp 18:27 < bridge> `if(w == Write::NORMAL){}` 18:27 < bridge> I always see it but never cant interpret it 100%. Is this something like Post trigger? like `NORMAL_SUCCEEDED` and `NORMAL_FAILED` are self explained 18:29 < bridge> this is cpp not js 18:30 < bridge> but to be fair im doing to too like that xD 18:31 < bridge> i can write to it as well 18:31 < bridge> ill call it a feature and go back to writing hello world in c++ 18:54 < bridge> Damn - should we bother ? 18:55 < bridge> lol gg wp 19:01 < bridge> @mpft https://www.youtube.com/watch?v=5QHVvJsn2Ug 19:01 < bridge> listen to this 20:07 < bridge> Did you know protobuf does not have fixed size array support? 20:08 < bridge> Why would anyone make a binary packing format and not have a way of including a fixed size array? 20:11 < bridge> With the release of electron, I think I just ended up on the wrong side of a multiverse split 20:17 < bridge> There is no u8 either, I simply do not get modern software at all nor do I get the mindset in which it is designed 20:21 < bridge> oh is that the: redirect players on map change thingie? 20:23 < bridge> i wish someone would finally update the script so it works with clang-format 19, clang-format 10, its not even supported by most package manager's anymore :OHNOOOO: 20:26 < bridge> We are trying to avoid large formatting commits and I think current clangformat also misformats some of our code 20:29 < bridge> what about just shipping ddnet with a standalone version of clang-format 10 that it refers to?, or will that interfere with IDE's ? 20:30 < bridge> https://github.com/muttleyxd/clang-tools-static-binaries this is where I refer people to and there is an AUR package that installs these into `/opt/` 20:30 < bridge> idk if i should refer to clang-format 10 as a stand-alone tool or a lib 20:30 < bridge> oh this is.. nice - thanks :D 20:34 < bridge> https://capnproto.org/ I found an alternative built by a person that is actually sane 20:34 < bridge> Not at all surprised that they work at cloudflare, seems to be the last bastion of good engineering these days 21:23 < bridge> we talked about this several times in this channel xd 21:23 < bridge> @learath2 the author made or used to do protobuf at google 21:23 < bridge> but was fired iirc 21:23 < bridge> idk 21:24 < bridge> He used to work in the protobuf team indeed 21:24 < bridge> He was probably too sensible for google 22:15 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1211783621342527519/GHQQCArWkAADRb_.png?ex=65ef7471&is=65dcff71&hm=40c4bab49ec2b79049b038440e88d94ecd5a73ad485da82ea605db33e6f1b908& 22:25 < bridge> youtube having hard time 22:25 < bridge> kek 23:51 < bridge> who is this memer 23:56 < bridge> lmao why? I forgot which one that was do you even know it? I think it got rejected. Only maps I’m working on these days are ChillerDragores2 and ChillerDragores6 23:59 < bridge> lmao