00:21 <+bridge> [ddnet] true 00:21 <+bridge> [ddnet] build a dyson sphere 00:22 <+bridge> [ddnet] https://www.youtube.com/watch?v=v3y8AIEX_dU 00:25 <+bridge> [ddnet] https://twitter.com/Nibellion/status/1572249922992504832 00:25 <+bridge> [ddnet] does anyone know if rtx works on amd 00:25 <+bridge> [ddnet] or is it completly gpu locked 00:29 <+bridge> [ddnet] If they are advertising with the RTX logo I'm guessing it's nvidia only 00:37 <+bridge> [ddnet] time to mod then 00:38 <+bridge> [ddnet] my amd gpu has raytracing cores 00:39 <+bridge> [ddnet] oh i think u can do rtx on 00:39 <+bridge> [ddnet] but its not on par with perfomance yet sadly 00:39 <+bridge> [ddnet] https://www.youtube.com/watch?v=l280ZCyTx0I 00:40 <+bridge> [ddnet] oh but they are running on 2k 00:40 <+bridge> [ddnet] 6600 xt is made for 1080 00:40 <+bridge> [ddnet] still not bad 00:40 <+bridge> [ddnet] 6600 xt outperforms outside rtx 00:41 <+bridge> [ddnet] I wonder if it depends on the game though. Does it even properly use the RT cores on AMD? 00:41 <+bridge> [ddnet] idk 00:55 <+bridge> [ddnet] @Chairn read through chapter one. I like the way you presented things and found it very digestible (though it is possible I felt so due to already being familiar with the material). Except for more english tips I have nothing to offer you 🙂 09:58 <+bridge> [ddnet] https://www.youtube.com/watch?v=C7WFwgDRStM 09:58 <+bridge> [ddnet] tf 12:43 <+bridge> [ddnet] Axum > actix > warp 12:43 <+bridge> [ddnet] So well designed 12:44 <+bridge> [ddnet] It shows they built on others ideas but improved 12:44 <+bridge> [ddnet] And sea-orm is awesome too 13:00 <+bridge> [ddnet] I released TwMap v0.8.0: https://gitlab.com/Patiga/twmap/-/releases/v0.8.0 13:01 <+bridge> [ddnet] License change to AGPL 3, lots of changes (sadly also breaking), support for automappers 13:01 <+bridge> [ddnet] listed all changes in the link above 13:03 <+bridge> [ddnet] Nice! 13:03 <+bridge> [ddnet] https://tenor.com/view/stallman-meme-extreme-gif-15311412 13:09 <+bridge> [ddnet] because of the many changes, I hope I don't have to do a breaking fix soon because I missed something major 😅 13:18 <+bridge> [ddnet] Reading the curl-multi pr 13:18 <+bridge> [ddnet] Mutexes rly should contain inside the data they guard 13:19 <+bridge> [ddnet] Its such a waste of time to figure out what they guard 13:19 <+bridge> [ddnet] And the names dont help 13:19 <+bridge> [ddnet] LoopL xd 14:02 <+bridge> [ddnet] @Ryozuki LoopL is only the the lock guard, I think 14:06 <+bridge> [ddnet] https://en.cppreference.com/w/cpp/thread/unique_lock 14:24 <+bridge> [ddnet] u mean SurrealDB? 14:24 <+bridge> [ddnet] No 14:25 <+bridge> [ddnet] In talking about axum 14:25 <+bridge> [ddnet] Idk what that is 15:12 <+bridge> [ddnet] my current stack for a api backend im doing 15:12 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022133122646691871/unknown.png 15:12 <+bridge> [ddnet] i should make a template or smth 15:17 <+bridge> [ddnet] watcha doing? 15:24 <+bridge> [ddnet] a modding hub for ff14 15:24 <+bridge> [ddnet] xd 15:28 <+bridge> [ddnet] If you have Gmail account and a Crypto wallet then you're qualified for this coin giveaway click on the link and thank me later 👉👉👉https://t.me/+6418gUGZ6qQ2YzE0 16:03 <+bridge> [ddnet] @gerdoe forgot to ping you for twmap release ^^ 16:07 <+bridge> [ddnet] @Ryozuki is it public btw? 16:07 <+bridge> [ddnet] Yes. There is one lock guarding everything that is cross thread inside CHttpRunner. Multiple unique_locks to make sure things get unlocked properly on unexpected early exits from blocks 16:10 <+bridge> [ddnet] Not right now 16:10 <+bridge> [ddnet] But idk if i wanna share that here 16:11 <+bridge> [ddnet] I only just started so there isnt anything tangible yet anyway 16:14 <+bridge> [ddnet] For the frontend ill use sveltekit 16:15 <+bridge> [ddnet] Cant get any more modern 16:20 <+bridge> [ddnet] Living on tbe cutting edge 😄 16:22 <+bridge> [ddnet] 16:41 <+bridge> [ddnet] https://tenor.com/view/programming-rust-c-lang-cpp-cplusplus-gif-26743262 16:42 <+bridge> [ddnet] @Learath2 lmao found this on discord gifs "anime programming" 16:43 <+bridge> [ddnet] Lol so true 16:50 <+bridge> [ddnet] I saw a funny thread on hn the other day 16:51 <+bridge> [ddnet] A c user on a rust related news, posted his project and said "find any memory related bugs" you wont find any 16:51 <+bridge> [ddnet] Dont need to say he got rekt 16:51 <+bridge> [ddnet] (his project was in C) 16:51 <+bridge> [ddnet] But he started putting excuses 16:51 <+bridge> [ddnet] On the bugs 16:51 <+bridge> [ddnet] It rly was funny 16:51 <+bridge> [ddnet] I would have never gotten rekted as he was. I'm built different 16:52 <+bridge> [ddnet] :BASED: 16:52 <+bridge> [ddnet] Like what? How do you even excuse a buffer overrun? 😄 16:52 <+bridge> [ddnet] He also blamed some stuff on libraries etc 16:52 <+bridge> [ddnet] And some commits where literally saying "fix double free" 16:53 <+bridge> [ddnet] I hope people didn't "rekt" him about things that are runtime constrained, calling an internal function with impossible values isn't fair criticism as long as he never calls them like such 16:53 <+bridge> [ddnet] And he said, yeah thats because it was before "production" 16:57 <+bridge> [ddnet] Anyway its also fun to see r/cpp 16:58 <+bridge> [ddnet] You can rly see how close minded those ppl are 16:58 <+bridge> [ddnet] Ok, now I'm on his side, wtf 16:58 <+bridge> [ddnet] They drive high on copium about ppl not using modern cpp 16:58 <+bridge> [ddnet] The language this guy uses doesn't remove the possibility of memory management errors, ofc he had to fix mistakes. Don't rust users make any mistakes on classes of mistakes possible in their language? 16:58 <+bridge> [ddnet] The thing is you cant make that mistake in rust 16:58 <+bridge> [ddnet] I know, that's why I said in the class of mistakes possible in their language 16:58 <+bridge> [ddnet] If a mistake is made and fixed, what is the issue? 16:58 <+bridge> [ddnet] There are proba more mistakes like that because they cant exist 16:58 <+bridge> [ddnet] In rust you cant have them at all 16:58 <+bridge> [ddnet] Thats the thinf 16:58 <+bridge> [ddnet] Thing 16:58 <+bridge> [ddnet] Cant you rly not see how good that is? 16:58 <+bridge> [ddnet] So the mere possibility of mistakes implies all C programs are wrong? Even if mistakes are fixed before the program ever hits production? 16:58 <+bridge> [ddnet] You said that 16:58 <+bridge> [ddnet] I just said it means there can always be more mistakes 16:58 <+bridge> [ddnet] And cve lists shows its real 16:58 <+bridge> [ddnet] Also it gives other devs more security 16:58 <+bridge> [ddnet] E.g your pr 16:58 <+bridge> [ddnet] I would be more confident about it being right if it was rust 16:59 <+bridge> [ddnet] I would only need to look for deadlocks 16:59 <+bridge> [ddnet] I don't quite get how a fixed mistake is an own. Sorry 17:00 <+bridge> [ddnet] Doesnt mean I don't understand the value of Rust's memory guarantees. I just don't get how one person making and catching a mistake they made has anything wrong with it 17:00 <+bridge> [ddnet] Not having the possibility to ever have that mistake > being possible to have the mistake 17:00 <+bridge> [ddnet] Its rly simple 17:01 <+bridge> [ddnet] @Learath2 cuz the guy on the thread dismissed everything about rust 17:01 <+bridge> [ddnet] It actually isn't that simple and that's why you use Rust instead of languages with much stricter guarantees 17:04 <+bridge> [ddnet] Ada has guarantees about deadlocks not existing, bounds checking, contracts, at the cost of performance. Haskell is provable at the cost of ergonomics. 17:04 <+bridge> [ddnet] These are general purpose languages. There are DSLs with even stricter guarantees that only allow you to do a very specific subset of things 17:05 <+bridge> [ddnet] Rust is just a great compromise. It trades off some ergonomics for memory safety 17:07 <+bridge> [ddnet] I honestly don't get these religious wars about programming languages. Most all of them have a place 17:07 <+bridge> [ddnet] C has no place anymore, outside niche compile targets 17:07 <+bridge> [ddnet] :BASED: 17:07 <+bridge> [ddnet] And when gcc lands not even that 17:07 <+bridge> [ddnet] :BASED: 17:07 <+bridge> [ddnet] how to trigger learath 2.0 17:08 <+bridge> [ddnet] This is why people dont really enjoy rust evangelists 17:08 <+bridge> [ddnet] What do you gain by "triggering" me? Ok gj, you annoyed me. What is tbe next step? 17:08 <+bridge> [ddnet] Im triggering u on purpose 17:08 <+bridge> [ddnet] xd 17:09 <+bridge> [ddnet] Do you think I'd be more or less open to Rust after you "trigger" me? 17:09 <+bridge> [ddnet] oh god 17:09 <+bridge> [ddnet] Cant even joke 17:09 <+bridge> [ddnet] I thought we were on the same page 17:09 <+bridge> [ddnet] But i guess not 17:09 <+bridge> [ddnet] Sry if inoffended you 17:10 <+bridge> [ddnet] i love how learath has to use quotation marks 17:10 <+bridge> [ddnet] Sry if i offended you 17:10 <+bridge> [ddnet] No I personally don't care. You can joke all you want. But a lot of the people that have been trying to sell me rust in the past have actually went that route 17:11 <+bridge> [ddnet] I dont talk to any c devs outside this channel like this 17:11 <+bridge> [ddnet] Cuz i know im a rust meme here 17:12 <+bridge> [ddnet] Anyway, the place of C in the current era is the universal interface. Since no one is going t get together to make a proper ffi, it'll just stay like that for a decade or two 17:12 <+bridge> [ddnet] Yeah 17:12 <+bridge> [ddnet] C is not a language 17:12 <+bridge> [ddnet] But a protocol 17:12 <+bridge> [ddnet] You are forced to speak 17:13 <+bridge> [ddnet] Honestly I've had a better time talking C even between rust code and rust code 17:13 <+bridge> [ddnet] hm? 17:14 <+bridge> [ddnet] I dont get what you mean 17:14 <+bridge> [ddnet] The complexities of modern languages don't deal well with how simple the underlying hardware is. It sends around bytes, it doesn't understand what a std::HashMap is 17:15 <+bridge> [ddnet] I mean I've had a better time exposing rust functionality through the ffi and consuming it through the ffi then trying to link together a rust binary and a rust library 17:15 <+bridge> [ddnet] Specifically when one was compiled with a different version of rust. There are some breaking changes you need to keep track of to do it properly 17:16 <+bridge> [ddnet] Even more specifically I was working on a plugin system of sorts 17:17 <+bridge> [ddnet] Ah probs 17:17 <+bridge> [ddnet] Did u do repr c 17:17 <+bridge> [ddnet] The struct layout is not guaranteed otherwise 17:17 <+bridge> [ddnet] Rust optimizes it 17:18 <+bridge> [ddnet] Yes, on the outside facing interface I did 17:18 <+bridge> [ddnet] Have u considered using wasm for that 17:18 <+bridge> [ddnet] Wasntime just got 1.0 17:18 <+bridge> [ddnet] Its a wasm runtime made in rust 17:18 <+bridge> [ddnet] That's what I'll be doing next time around. I honestly am just tired of dealing with plugins in native code 17:18 <+bridge> [ddnet] And they are sandboxed 17:19 <+bridge> [ddnet] A plus 17:19 <+bridge> [ddnet] I like lua, I like wasm. One of those would be what I go with next time around 17:19 <+bridge> [ddnet] https://news.ycombinator.com/item?id=32913533 17:19 <+bridge> [ddnet] wasm is better 17:19 <+bridge> [ddnet] you dont bind the person to a language 17:20 <+bridge> [ddnet] Or maybe I'll take a look at js. V8 isn't half bad performance wise either 17:20 <+bridge> [ddnet] i personally dont like lua 17:20 <+bridge> [ddnet] why 17:20 <+bridge> [ddnet] just use wasm 17:20 <+bridge> [ddnet] i read this as "wasntme" like the map 17:20 <+bridge> [ddnet] I actually kinda like there being a language pre-agreed on 😅 17:21 <+bridge> [ddnet] why? xd 17:21 <+bridge> [ddnet] i personally want to find a language with modding where u can use rust 17:21 <+bridge> [ddnet] lua is so boring 17:21 <+bridge> [ddnet] s / language / game 17:21 <+bridge> [ddnet] oof 17:21 <+bridge> [ddnet] You write stuff. My code runs the stuff. When there is a compiler inbetween that's one more part that might be introducing an error 17:22 <+bridge> [ddnet] I read it as wastetime 1.0 xD 17:22 <+bridge> [ddnet] Can't llvm target wasm? I thought it did 17:23 <+bridge> [ddnet] https://github.com/rhaiscript/rhai 17:23 <+bridge> [ddnet] Look I'm doing evangelism 17:23 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1022166212190421073/Screenshot_20220921_172321.jpg 17:23 <+bridge> [ddnet] Idk proba 17:23 <+bridge> [ddnet] Kek 17:24 <+bridge> [ddnet] Im sure i posted that image 17:24 <+bridge> [ddnet] Oh wait 17:24 <+bridge> [ddnet] Is this another sv 17:27 <+bridge> [ddnet] llvm can indeed target wasm 17:27 <+bridge> [ddnet] thing is heinrich is adding rust into the ddnet client; im really curious as to what rust updates to the game will be like besides memory management 17:29 <+bridge> [ddnet] Wdym by updates 17:29 <+bridge> [ddnet] I would have done this http multi in rust 17:30 <+bridge> [ddnet] But its hard to interweave the code probs 17:30 <+bridge> [ddnet] Idk how worth is adding rust here 18:30 <+bridge> [ddnet] Win up to $1000 in crypto trading when you invest with just the minimum of $50 18:30 <+bridge> [ddnet] Signup and start investing your crypto with. 18:30 <+bridge> [ddnet] 18:30 <+bridge> [ddnet] 18:30 <+bridge> [ddnet] 18:30 <+bridge> [ddnet] 💎NO STRESS 18:30 <+bridge> [ddnet] 💎NO REFERRAL NEEDED!! 18:30 <+bridge> [ddnet] 💎NO REGISTRATION FEE!! 18:30 <+bridge> [ddnet] 18:30 <+bridge> [ddnet] https://t.me/Stevecoldham001 18:35 <+bridge> [ddnet] Win up to $1000 in crypto trading when you invest with just the minimum of $50 18:35 <+bridge> [ddnet] Signup and start investing your crypto with. 18:35 <+bridge> [ddnet] 18:35 <+bridge> [ddnet] 18:35 <+bridge> [ddnet] 18:35 <+bridge> [ddnet] 💎NO STRESS 18:35 <+bridge> [ddnet] 💎NO REFERRAL NEEDED!! 18:35 <+bridge> [ddnet] 💎NO REGISTRATION FEE!! 18:35 <+bridge> [ddnet] 18:35 <+bridge> [ddnet] https://t.me/Stevecoldham001 18:52 <+bridge> [ddnet] It would actually be a good place to use rust 18:52 <+bridge> [ddnet] It's a totally separate module 19:08 <+bridge> [ddnet] Yeah 19:08 <+bridge> [ddnet] But poc is not merged 19:14 <+bridge> [ddnet] i wish it would motivate the rust devs around here, but probs not, except maybe heinrich himself 19:15 <+bridge> [ddnet] I only need to fix the damn macos 19:15 <+bridge> [ddnet] but I guess I need access to a macos machine for that 19:16 <+bridge> [ddnet] I need rust to produce a fat binary for the library 19:16 <+bridge> [ddnet] but that's not really supported, so I need to hack my way around that 19:16 <+bridge> [ddnet] https://github.com/rust-lang/cargo/issues/8875 19:16 <+bridge> [ddnet] Maybe you can ssh to my laptop and poke around at it? 19:17 <+bridge> [ddnet] if you'd allow me to do that, I'd be very interested 🙂 19:17 <+bridge> [ddnet] another bug I'm currently facing: 19:18 <+bridge> [ddnet] the https register connects via IPv6 (or at least re-uses IPv6 connections wherever they came from) even though it explicitly requests `CURL_IPRESOLVE_IPV4` 19:18 <+bridge> [ddnet] I stepped through it in the debugger to see that it really sets `CURL_IPRESOLVE_IPV4` 19:19 <+bridge> [ddnet] and I quickly looked at the documentation, it seems to indicate that `CURL_IPRESOLVE_IPV4` will **only** attempt IPv4 connections. comments in the curl source code suggest, that this also applies for reusing connections 19:25 <+bridge> [ddnet] aha! 19:26 <+bridge> [ddnet] https://github.com/curl/curl/commit/84d2839740ca78041ac7419d9aaeac55c1e1c729 19:30 <+bridge> [ddnet] checky checky check check <3 19:55 <+bridge> [ddnet] i mean there arent many rust devs here 19:55 <+bridge> [ddnet] i only know heinrich patiga me 19:55 <+bridge> [ddnet] and learath ocasionally 19:55 <+bridge> [ddnet] actually thats probs close to 30-40% of total devs xd 20:03 <+bridge> [ddnet] reitw too 20:03 <+bridge> [ddnet] theorically im getting the steam deck tomorrow 20:03 <+bridge> [ddnet] @Not Keks thanks to me kek 20:03 <+bridge> [ddnet] https://tenor.com/view/praise-praisethesun-darksouls-the-sun-gif-4970376 20:04 <+bridge> [ddnet] better learn OpenCL 20:17 <+bridge> [ddnet] Well i'm a very little beginner lmao 20:17 <+bridge> [ddnet] + I don't have a programmer soul lmao 20:17 <+bridge> [ddnet] I'm kinda bad, but I have fun 20:30 <+bridge> [ddnet] then change it, coding is best, coding is creation. 20:30 <+bridge> [ddnet] if you aren't a craftsmen then there is almost no alternative to coding to create useful stuff 😄 21:39 <+ChillerDragon> wait @heinrich5991 are you saying rust is not added into ddnet because of https://github.com/rust-lang/cargo/issues/8875 ? 21:40 <+ChillerDragon> for me it looks more like a nice to have than a actual blocker 21:43 <+bridge> [ddnet] I'm saying that a workaround for that bug needs to be found before rust can be added to ddnet, yes 21:43 <+ChillerDragon> but didnt the dude provide the workaround in the issue desc? 21:43 <+bridge> [ddnet] macos needs binaries to be compiled for amd64 and aarch64 21:44 <+ChillerDragon> doesnt it compile for both arch by default? 21:44 <+ChillerDragon> and then its running the lipo command 21:44 <+bridge> [ddnet] rust? no, see that bug 21:44 <+ChillerDragon> i mean mac 21:44 <+ChillerDragon> and for rust you can specify 21:44 <+bridge> [ddnet] yes 21:44 <+bridge> [ddnet] so you need to integrate that into cmakelists.txt 21:44 <+bridge> [ddnet] that hasn't happened yet 21:44 <+ChillerDragon> ye 21:44 <+ChillerDragon> a 21:45 <+ChillerDragon> yea i assume without testing thats pain 21:45 <+ChillerDragon> What about cross compile? 21:45 <+ChillerDragon> thats almost more important isnt it? 21:45 <+bridge> [ddnet] I haven't attempted to cross-compile to macos 21:46 <+ChillerDragon> is there even a lipo command for linux? 21:46 <+bridge> [ddnet] currently it's more important to compile on macos, that's how releases get built currently 21:46 <+bridge> [ddnet] yes, definitely 21:46 <+ChillerDragon> wait wot? 21:46 <+ChillerDragon> releases are build on mac? 21:46 <+ChillerDragon> ah wait since deen switched i guess? :D 21:46 <+bridge> [ddnet] yes, since code signing of fat binaries did not work under linux 21:47 <+ChillerDragon> macos moment 21:48 <+ChillerDragon> the only time i heard of code signing and fat binaries is while reading this book :D https://nostarch.com/art-mac-malware 21:48 <+ChillerDragon> i rly got disconnected to mac 21:48 <+ChillerDragon> not sure if i can recommend the book tho. Its okay. 22:41 <+bridge> [ddnet] nostarch is a really good book edition 22:42 <+bridge> [ddnet] Sometimes a bit too advanced (like the book about Malware Analysis) 22:42 <+bridge> [ddnet] Sometimes a bit too advanced (like the book about Malware Analysis), so hard to read and understand, requires some basic knowledge sometimes