00:55 < bridge> im lost 00:55 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149115736615305226/session.log?ex=64fa54ed&is=64f9036d&hm=640b187b8291f5646302083c0f9f4dc007432739b34f726f48dc6d001ddbe483& 01:49 < bridge> ryo do u know why all my VTs are frozen and showing the openrc init console 01:49 < bridge> and when i disable the desktop manager i am booted back into said frozen VT 01:52 < bridge> *display manager 02:12 < bridge> Lol shit 02:12 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149135147120201738/IMG_3615.jpg 02:13 < bridge> You think i would havw this issue if inwent X570 02:14 < bridge> You think i would have this issue i went with X570 02:18 < bridge> Im pretty sure my CPU has those lanes 02:29 < bridge> You think i would have this issue if i went with X570 02:29 < bridge> Sorry chiller for the edits damn 03:56 < bridge> ah should i use LVM for my raid or my motherboard’s feature 04:15 < bridge> im going to see if wayland will cooperate 07:24 < bridge> You think i would have this issue if i went with X670 07:47 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149219267389165689/ima_80b88f5.png 07:47 < bridge> axaxax Heinrich being troled by a fellow bot 07:54 < bridge> chiller fix my xorg 08:18 < bridge> no 08:18 < bridge> read logs idk 08:19 < bridge> logs are sad 08:19 < bridge> u must have done smth wront 08:19 < bridge> likely 08:19 < bridge> but what idk 08:19 < bridge> did u add the flag as i said 08:19 < bridge> which 08:19 < bridge> didt kernel 08:19 < bridge> dist 08:19 < bridge> yeah 08:19 < bridge> i think that just re-emerges the gpu driver anyway 08:19 < bridge> and i dont think its a driver issue 08:19 < bridge> cuz works fine on root 08:19 < bridge> sudo emerge @modules-rebuild 08:20 < bridge> what 08:20 < bridge> root works fine with desktop? 08:20 < bridge> did u rly add ur user to the video group 08:20 < bridge> or search if u need to be in a group 08:20 < bridge> yea 08:20 < bridge> added to group 08:21 < bridge> groups ewan 08:21 < bridge> wheel audio video users plugdev 08:22 < bridge> these stupid logs are entirely inconclusive. gnome doesn't log without systemd afaict and gdm/x logs have the same contents 08:22 < bridge> and their contents are... some error about my xbox controller, and nothing else 08:22 < bridge> i sent earlier 08:23 < bridge> gdm log (same as x log) 08:24 < bridge> i followed the non-root xorg wiki page to a tee 08:24 < bridge> looked at the gnome and x pages and they don't seem to have anything relevant 08:25 < bridge> what are ur global use flags again 08:26 < bridge> did u follow https://wiki.gentoo.org/wiki/GNOME/Guide#OpenRC 08:26 < bridge> Yes 08:26 < bridge> Hold on a moment 08:27 < bridge> `USE="elogind dist-kernel -qt5 -kde gtk gnome -systemd fish X wayland screencast lm-sensors contrib mount alsa pipewire pulseaudio xinerama opengl vulkan udev fontconfig vorbis opus vdpau bluetooth lvm readline"` 08:30 < bridge> do u sort ur use flags 08:30 < bridge> by non root u mean when u login from ur display manager right 08:30 < bridge> yea 08:30 < bridge> https://wiki.gentoo.org/wiki/Display_manager 08:30 < bridge> elogind should be running bcs it's enabled as a service in openrc but i can't know for sure because i can't access a shell until i'm logged in 08:30 < bridge> u most likely have smth wrong with the DM then 08:31 < bridge> which one u using 08:31 < bridge> DM? gdm 08:32 < bridge> i could try swapping it for lightdm or smth 08:32 < bridge> did u flw this 08:32 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149230590697144320/Screenshot_2023-09-07-08-31-49-251_org.mozilla.firefox.jpg 08:32 < bridge> Yes 08:32 < bridge> wait a sec i do another rep 08:32 < bridge> xdd 08:32 < bridge> Lol 08:32 < bridge> Tech support at gym 08:32 < bridge> amazing 08:35 < bridge> :gigachad: 08:35 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149231327305015367/IMG_20230907_083417.jpg 08:35 < bridge> GL 08:35 < bridge> the conf part too 08:35 < bridge> ? 08:35 < bridge> Yes 08:36 < bridge> ``` 08:36 < bridge> root@machine ~# cat /etc/conf.d/display-manager 08:36 < bridge> # We always try and start the DM on a static VT. The various DMs normally 08:36 < bridge> # default to using VT7. If you wish to use the display-manager init 08:36 < bridge> # script, then you should ensure that the VT checked is the same VT your 08:36 < bridge> # DM wants to use. 08:36 < bridge> # We do this check to ensure that you haven't accidentally configured 08:36 < bridge> # something to run on the VT in your /etc/inittab file so that 08:36 < bridge> # you don't get a dead keyboard. 08:36 < bridge> CHECKVT=7 08:36 < bridge> 08:36 < bridge> # What display manager do you use ? 08:36 < bridge> # [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ] 08:36 < bridge> # NOTE: If this is set in /etc/rc.conf, that setting will override this one. 08:36 < bridge> DISPLAYMANAGER="gdm" 08:36 < bridge> ``` 08:36 < bridge> maybe try another 08:36 < bridge> ssdm 08:36 < bridge> which is lightest 08:36 < bridge> ssdm or lightdm 08:36 < bridge> try ssdm first 08:36 < bridge> its the one in the guide 08:36 < bridge> lightest is no DM at all, like me 08:36 < bridge> i think lightdm is unmaintained 08:36 < bridge> er sddm 08:37 < bridge> o rly 08:37 < bridge> i used lightdm for a while 08:37 < bridge> i made my own greeter 08:37 < bridge> or maybe it was xdm 08:37 < bridge> idj 08:37 < bridge> idk 08:37 < bridge> sddm is kde 08:40 < bridge> holy shit 08:40 < bridge> it was actually gdm 08:40 < bridge> ?????? 08:41 < bridge> ly is nice 08:41 < bridge> xd 08:42 < bridge> did u try ssdm or another 08:42 < bridge> https://github.com/fairyglade/ly 08:42 < bridge> https://wiki.gentoo.org/wiki/GNOME/GDM 08:42 < bridge> @mpft did u flw this at all 08:42 < bridge> maybe not 08:43 < bridge> actually yeah 08:43 < bridge> looks familiar 08:43 < bridge> you mean me? Then yes I've tried a few of them but they were kinda slow and I didn't like the design 08:43 < bridge> Grant permissions for gdm to access the X server: 08:43 < bridge> user $xhost +SI:localuser:gdm 08:43 < bridge> i meant ewan but nice to know 08:43 < bridge> before going without DM i tried a terminal one 08:43 < bridge> but i prefer none 08:43 < bridge> maybe it was ly 08:44 < bridge> so you just have a script to start your gui? 08:44 < bridge> i've never seen this article in my life 08:45 < bridge> its called xinitrc 08:45 < bridge> but ye 08:45 < bridge> dont be usin that 08:45 < bridge> use .xinit with startx 08:45 < bridge> securer or something 08:45 < bridge> according to the internet 08:45 < bridge> a script that sets dbus, ssh agent and startx 08:45 < bridge> or is the file called xinitrc. i dont remember 08:45 < bridge> .xinit is .xinitrc 08:45 < bridge> bruv 08:46 < bridge> . 08:46 < bridge> i got it 08:46 < bridge> how comfy 08:46 < bridge> my setup is mostly following the Gentoo guide for non dm 08:46 < bridge> i got my wayland fractional scaling and everything 08:46 < bridge> excellent 08:46 < bridge> ur using wayland? 08:46 < bridge> did u setup audio 08:46 < bridge> use pipewire not pulse 08:47 < bridge> i set up pipewire 08:47 < bridge> (im pretty sure) 08:47 < bridge> good ur modern 08:47 < bridge> i got a news about it 08:47 < bridge> and followed the instructions 08:47 < bridge> now 08:47 < bridge> hard to tell in gnome shell cuz it does both 08:47 < bridge> install rustup 08:47 < bridge> xd 08:47 < bridge> its needed trust me 08:48 < bridge> so anything that needs a bash compatible shell will use the /bin/sh symlink right 08:48 < bridge> do u have gcc 08:48 < bridge> so $SHELL can be a non bash compat 08:48 < bridge> yea i have gcc 08:48 < bridge> i guess 08:48 < bridge> need fish shell 08:49 < bridge> how 2 delete pkg 08:49 < bridge> if u followed guide for term it will work tm 08:49 < bridge> ok so u need to understand 08:49 < bridge> how portage works 08:49 < bridge> and what --oneshot means 08:49 < bridge> listening 08:49 < bridge> whenever u emerge smth without oneshot 08:49 < bridge> it will be added to the world file 08:49 < bridge> pkgs there are kept if u use --depclean 08:50 < bridge> with oneshot they are not added to world 08:50 < bridge> oneshot is useful in some cases 08:50 < bridge> do i remove it from world file and then depclean? 08:50 < bridge> the pkg 08:50 < bridge> to remove from file u do 08:50 < bridge> emerge --ask --deselect dksndbhe 08:50 < bridge> then depclean 08:51 < bridge> u usually one want pkgs in world file that are binaries u use or libraries u use directly, e.g to build ddnet urself without portage 08:51 < bridge> Now tell me what `dksndbhe` means xdd 08:51 < bridge> i think is spam 08:51 < bridge> this allows u to not have duplicate depa and to portage to manage deps with more freedom 08:51 < bridge> thanks for coming to my ted talk 08:52 < bridge> cool 08:52 < bridge> so are dependency pkgs for directly requested pkgs oneshotted 08:52 < bridge> and that' why it's depclean 08:53 < bridge> nooo 08:53 < bridge> ug 08:53 < bridge> its like this 08:54 < bridge> u founs X on github and u wanna build it urself 08:54 < bridge> without portage 08:54 < bridge> u need Y library 08:54 < bridge> u install that library without oneshot because u need it kept 08:54 < bridge> oneshot is useful when big upgrades happen 08:54 < bridge> anyway u should read about portage 08:55 < bridge> https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet 08:55 < bridge> i will 08:55 < bridge> soon 08:55 < bridge> So oneshot is used for compilation dependencies mostly? 08:55 < bridge> this is ur bible 08:55 < bridge> ye, but portage manages comp deps for u anyway 08:55 < bridge> let me see again 08:56 < bridge> gdm not working even after that command 08:56 < bridge> might just use startx 08:56 < bridge> i miss windose 08:56 < bridge> https://forums.gentoo.org/viewtopic-t-1079934-start-0.html 08:56 < bridge> oneshot best practices forum 08:56 < bridge> how 2 go back to startx/xinit 08:57 < bridge> add to end of profile or what 08:57 < bridge> oh god 08:57 < bridge> it's 1 am 08:57 < bridge> startx init is more complex and requires u to know what u doing more or less 08:57 < bridge> use another dm 08:57 < bridge> h 08:58 < bridge> is it not just this 08:58 < bridge> https://wiki.gentoo.org/wiki/Xorg/Guide#Using_startx 08:59 < bridge> i guess 08:59 < bridge> but look at gnome 08:59 < bridge> Good morning mister otherworld 09:00 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149237796096180233/Screenshot_20230907-090016.png 09:01 < bridge> bible 09:01 < bridge> lmfao? 09:08 < ChillerDragon> watf 09:08 < bridge> he's a man of god 09:08 < ChillerDragon> cursed homescreen 09:09 < ChillerDragon> Ewan still xorg broken? 09:09 < ChillerDragon> go buy gnome pro it comes with Wayland license included 09:13 < bridge> xorg working 09:13 < bridge> gdm not working 09:13 < bridge> Gentoo issues 09:14 < bridge> xorg working the whole time it seems 09:14 < bridge> never occured to me that gdm would be the problem and not log it 09:15 < ChillerDragon> gdm bloat 09:16 < ChillerDragon> edg-l left #edlang 09:16 < ChillerDragon> :c 09:16 < ChillerDragon> CherryEx elo UwU 09:16 < bridge> words 09:18 < bridge> man my computer takes a long time to reboot 09:18 < bridge> is it waiting for disk self checks or something 09:20 < bridge> chiller its cuz i dont y 09:20 < bridge> use bouncer 09:21 < bridge> bouncer? 09:21 < bridge> benny the bouncer 09:22 < bridge> irc 09:25 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149244057906860072/IMG_3620.jpg 09:26 < bridge> this is really something 09:26 < ChillerDragon> xd 09:26 < bridge> it's beautiful 09:26 < ChillerDragon> yea lightdm less bloat 09:27 < bridge> it is also not working though 09:27 < bridge> what if sddm is the only one that works 09:27 < bridge> ugly ass display manager 09:27 < ChillerDragon> did you try bdsm? 09:27 < bridge> not in a while 09:27 < ChillerDragon> xd 09:27 < bridge> prostate issues 09:27 < bridge> you know 09:27 < ChillerDragon> lol 09:35 < bridge> i wonder how i can get my VTs to stop freezing 09:40 < bridge> epic 09:40 < bridge> maybe ur missing smth 09:41 < bridge> likely 09:43 < bridge> how does it freeze bte 09:43 < bridge> and by VT u mean ur terminal or the tty 09:44 < bridge> when dm opens all VTs but the one the dm/de is on go to the same screen (what i see on boot, openrc init stuff) 09:45 < bridge> and they're all unresponsive to input 09:45 < bridge> no cursor blink either 09:45 < bridge> when dm opens, all VTs but the one the dm/de is on go to the same screen (what i see on boot, openrc init stuff) 09:48 < bridge> now somethinge lse is broken 09:48 < bridge> by VT u mean tty then??? 09:48 < bridge> sure 09:48 < bridge> whatever 09:48 < bridge> i should have many ttys 09:48 < bridge> each bound to a vt 09:48 < bridge> how can a tty go to the "same screen" 09:48 < bridge> whay does that meam 09:48 < bridge> mean 09:48 < bridge> all vts on the same tty 09:48 < bridge> ???? 09:49 < bridge> how can a tty be on the same tty 09:49 < bridge> what do u want from me 09:49 < bridge> i asked u if a vt is a tty 09:49 < bridge> im just confused by what u sayin 09:49 < bridge> i press ctr alt f1 it shows me the same thing as if i pressed ctrl alt f5 or snth 09:49 < bridge> and what is that same thing 09:49 < bridge> a login ? 09:50 < bridge> no not a login 09:50 < bridge> the openrc init text shit 09:50 < bridge> make screen shot xd 09:50 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149250440207290389/IMG_3621.jpg 09:51 < bridge> this 09:51 < bridge> if dm/de uses vt 7, this is on 1-6 09:51 < bridge> no blinking cursor, unresponsive to keyboard input 09:52 < bridge> hmm 09:52 < bridge> and now sddm is taking me into a black screen with a x shaped mouse pointer. great 09:52 < bridge> odd 09:52 < bridge> somehow i broke something 09:52 < bridge> xd 09:52 < bridge> without doing anything 09:53 < bridge> interesting how u get so many problems 09:53 < bridge> when i did it i had no issues 09:54 < bridge> yea 09:55 < bridge> https://wiki.gentoo.org/wiki/LVM 09:55 < bridge> did u flw this properly 09:55 < bridge> use flags and all 09:55 < bridge> brb 09:55 < bridge> Yes 10:07 < bridge> Fuck 10:07 < bridge> im just gonna re-emerge all the shit involved 10:07 < bridge> and go to bed 10:20 < bridge> Ewan reminds me that I only have minor issues compared to other ppl 10:21 < bridge> I think I'm gonna install gentoo just to flex on ewan 10:21 < bridge> Kys 10:21 < bridge> ... 10:21 < bridge> 😃 10:22 < bridge> 😘 10:22 < bridge> back 10:22 < bridge> that deescalated quickly 10:22 < bridge> @mpft whats ur firefox version btw 10:22 < bridge> No I added a 😃 so he knows it’s a joke 10:22 < bridge> Dunno 10:22 < bridge> check it 10:22 < bridge> pls 10:23 < bridge> 102.15.0esr 10:23 < bridge> oh u got esr 10:23 < bridge> Why u ask 10:23 < bridge> i thought u didnt sync 10:23 < bridge> cuz i have 107 10:23 < bridge> I see 10:24 < bridge> can u show 10:24 < bridge> dmesg output 10:26 < bridge> it's pretty big bro 10:26 < bridge> what uwanna see 10:26 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149259389140733972/message.txt 10:26 < bridge> idc 10:26 < bridge> i send it all 10:26 < bridge> just have it 10:26 < bridge> Still didn't get your setup done? 😭 10:26 < bridge> i was so close 10:26 < bridge> i had gnome working in sddm 10:27 < bridge> but then a gamma ray flipped a bit in my computer and broke it 10:27 < bridge> Did you follow the gnome under openrc guide? Gnome is pretty tied to systemd nowadays and you need some tinkering 10:28 < bridge> Yes 10:29 < bridge> have you asked chat gpt 10:30 < bridge> No 10:30 < bridge> It would just say install systemd or@smth 10:31 < bridge> imagine using gentoo, but then also gnome xd 10:31 < bridge> Wdym by that 10:31 < bridge> kinda ironic xd 10:31 < bridge> How 10:31 < bridge> It’s not a minimalist distro. It’s just super flexible 10:31 < bridge> i dunno, gnome is made for ppl that want easy as possible. 10:31 < bridge> at least to me 10:31 < bridge> 10:31 < bridge> feels like a tablet WM 10:32 < bridge> GNOME ui makes sense to me tbh 10:32 < bridge> @mpft so what is the issue anyway? 10:32 < bridge> Gentoo is peak Software and then.. 10:32 < bridge> that too XD 10:32 < bridge> If something is working, then stops working, it's almost always something you've done 😄 10:32 < bridge> Eyoo 10:32 < bridge> I have an idea 10:33 < bridge> Some misconfigurations that I can’t identify are making it so that GDM can’t start X as a non-root user (yes I looked at the article) 10:33 < bridge> Then ryo proposed it could be GDM’s fault, so I installed SDDM as a test and it worked as ewan 10:33 < bridge> Then I went to get lightdm which i prefer to sddm and it broke again 10:33 < bridge> i wouldnt be surprised if chillerdragon sooner or later starts x11 for DDNet and kills it afterwards again.. because bloat 10:33 < bridge> Do you people think making the pitch of different sounds like hammering and stuff a little bit random to add variety would sound cool? 10:33 < bridge> Like in mc 10:34 < bridge> where is it used there? for cows? 10:34 < bridge> i think for static material it would suck (e.g. footsteps) 10:37 < bridge> I'll try it when I'm hime 10:37 < bridge> I'll try it when I'm home 10:37 < bridge> Basically for everything 10:44 < ChillerDragon> wat even is x11 for ddnet 10:44 < bridge> Anyone here has seen spoofing that worked with sv_vanilla_antispoof 1? Asking for @discovd 10:45 < ChillerDragon> whats @discovd? 10:45 < ChillerDragon> is that a name? 10:45 < bridge> AAR 10:45 < bridge> yes 10:45 < ChillerDragon> i have yet to reproduce spoofing in 0.6.3 :D 10:46 < ChillerDragon> what did discovd discover? 10:46 < ChillerDragon> spoofing that affects vanilla clients on ddnet servers? 10:46 < bridge> the pitching must be pretty weak then ^^ 10:46 < bridge> @deen does that mean existing clients getting something spoofed into their connection, or connection spam from random IP addresses? 10:47 < bridge> because the former isn't protected against by `sv_vanilla_antispoof 1` 10:47 < bridge> @jupeyy_keks sometimes a sheep goes meeeh and sometimes it goes moeoooh 10:47 < bridge> (I've seen something similar-ish by just using proxies and connecting until established, the timeout duration is long enough that the server gets filled) 10:48 < bridge> @jupeyy_keks sometimes a sheep goes määäh and sometimes it goes möööh 10:48 < bridge> yeah, that's true, but that's also kinda realistic considering it's a "voice" 10:48 < bridge> but metal hammered on other metal will probably sound the same xd 10:49 < bridge> Well maybe grenade launcher should sometimes do blöp and sometimes blop 10:50 < bridge> i'd find it interesting for tee noises 10:50 < bridge> *high pitch tee screaming intensifies * 10:50 < bridge> *high pitch tee screaming intensifies* 10:50 < bridge> female tee UH 10:50 < bridge> male te uhhhh 10:51 < bridge> Yeah 10:51 < bridge> But I’d sooner say it was a gamma ray 10:51 < bridge> :justatest: 10:51 < bridge> I Don wanna introduce that issue to ddnet 10:51 < bridge> I don wanna introduce that issue to ddnet 10:52 < bridge> tw sx mod?!? 10:52 < bridge> the xxx module 10:52 < bridge> XD 10:53 < bridge> Fix my gdm 10:53 < bridge> I give u ssh access 10:53 < bridge> Better be fixed when i wake up 10:53 < bridge> post it here 10:53 < bridge> Lol 10:53 < bridge> Free for all 10:53 < CherryEx> Why not 10:54 < bridge> I’d have to port forward bro 10:54 < bridge> Too much work 10:54 < ChillerDragon> dont post it here! lerato will wipe your drive 10:54 < bridge> :pepeW: 10:54 < bridge> I'll secretely install arch 10:54 < bridge> Good luck 10:54 < bridge> SSH daemon doesn’t have that kind of lifespan 10:54 < bridge> Without rebooting xddd 10:55 < ChillerDragon> if you manage to install arch via ssh thatd be pro 10:55 < bridge> I don't think it's possible though 10:55 < ChillerDragon> only noobs need to reboot 10:55 < bridge> I can see it happening with one of those arch install scripts. You just have to get everything right the first time 10:55 < ChillerDragon> ez linux kernel hotreloading 10:59 < bridge> I did that on a vps 10:59 < bridge> no problem ;) 11:00 < bridge> of a provider that didn't offer arch support 11:00 < bridge> nice 11:00 < bridge> what do they do when you break it 11:01 < bridge> god damn it heinrich not again 11:01 < bridge> Connection spam from random IPs 11:01 < bridge> Do we have any protection for that? 11:02 < bridge> it's simply VPN IPs, but not spoofed 11:03 < bridge> at least on my server i banned the IPs that connected and the attack stopped 11:06 < bridge> we don't have protection from clients being able to receive packets on those IP addresses 11:06 < bridge> for clients that cannot receive packets on those IP addresses, connection establishment should be impossible 11:07 < bridge> I was afk, don't think I did anything(?) 11:07 < bridge> Surely the host was upset when you bricked your VM for the 4th time before getting the arch install right 11:08 < bridge> I didn't brick it IIRC 11:08 < bridge> why would they care? xd 11:09 < bridge> on my vps i can install a new OS or reset the current one the whole day if i have nothing better to do xd 11:10 < bridge> I did this with devuan 11:12 < bridge> You just re-image it from their web panel. Atleast that's how I did it until I got it working 11:28 < bridge> marmare is robyte v2 11:32 < bridge> marmare is robyte for editor xd 11:50 < bridge> i guess CXXFLAGS='-march=native -mtune=native' 11:50 < bridge> i add this locally 11:50 < bridge> xd 11:50 < bridge> there is a cmake-kit.json next to workspace. u could create a new kit, that is e.g. called "Max Perf" 11:50 < bridge> true 11:50 < bridge> @jupeyy_keks btw u use llvm right 11:50 < bridge> did u try this 11:51 < bridge> clang -O3 -mllvm -polly 11:51 < bridge> it enabled the polly optimizer 11:51 < bridge> https://polly.llvm.org/docs/UsingPollyWithClang.html 11:51 < bridge> https://polly.llvm.org/index.html 11:51 < bridge> gentoo llvm doesnt come with poly for my sadness 11:52 < bridge> Automatic OpenMP code generation 11:52 < bridge> 11:52 < bridge> To automatically detect parallel loops and generate OpenMP code for them you also need to add -mllvm -polly-parallel -lgomp to your CFLAGS. 11:52 < bridge> 11:52 < bridge> clang -O3 -mllvm -polly -mllvm -polly-parallel -lgomp file.c 11:52 < bridge> i didnt use polly, but i tried openmp for some stuff. 11:52 < bridge> 11:52 < bridge> But it didn't really do anything noticeable 11:52 < bridge> this works with openmp too 11:52 < bridge> but polly is a polyhedral optimizer 11:52 < bridge> LLVM Framework for High-Level Loop and Data-Locality Optimizations 11:52 < bridge> Polly can also exploit OpenMP level parallelism, expose SIMDization opportunities. 11:53 < bridge> i should try some day 11:53 < bridge> ye 11:53 < bridge> on my debian vps it has polly 11:53 < bridge> did u run benchmarks xd 11:54 < bridge> nah 11:54 < bridge> we should have benchmarks 11:54 < bridge> but its hard 11:55 < bridge> if we have benches that can run headless 11:55 < bridge> im willing to provide daily runs 11:55 < bridge> on my server 11:55 < bridge> so we see change over time/commits 11:55 < bridge> would be funny to look at 11:55 < bridge> 11:55 < bridge> but yeah kinda annoying to do.. wanted to do once. but lost motivation 😄 11:56 < bridge> even if we find 3 fps loss somewhere. i'd be way too lazy to check if it's worth it xd 11:56 < bridge> and to be relatively good, u also need different hardware 11:57 < bridge> xd 11:57 < bridge> nah we just need latest processor 11:57 < bridge> and a 4090 11:58 < bridge> tru 11:59 < bridge> @discovd you can try that ^ 12:03 < bridge> @jupeyy_keks does vulkan always make a 1.1 context 12:03 < bridge> or can it make 1.3 12:04 < bridge> 2023-09-07 12:03:05 I gfx: Created Vulkan 1.1 context. 12:04 < bridge> 2023-09-07 12:03:05 I gfx: GPU vendor: NVIDIA 12:04 < bridge> 2023-09-07 12:03:05 I gfx: GPU renderer: NVIDIA GeForce RTX 3080 12:04 < bridge> 2023-09-07 12:03:05 I gfx: GPU version: Vulkan 1.3.242 (driver: 535.104.5.0) 12:04 < bridge> we should use latest shiniest stuff 12:04 < bridge> :justatest: 12:04 < bridge> vulkan like opengl is downward compatible 12:04 < bridge> 12:04 < bridge> but it requests a 1.1 context.. if the driver decides to do 1.3 instead that's probably not forbidden 12:05 < bridge> what exactly does `m_MixingRate` do in sound.cpp? 12:05 < bridge> I think no one touched this code in ten years 12:05 < bridge> oh yeah 12:05 < bridge> i checked that code some time ago 12:05 < bridge> xd 12:05 < bridge> sound is untouched barring 1 change to fix a race condition iirc 12:06 < bridge> xD 12:06 < bridge> soon voice chat in tw 12:06 < bridge> u should first update 12:06 < bridge> soon proximity chat in tw 12:06 < bridge> the wave lib we use 12:06 < bridge> forgot the name 12:06 < bridge> of the lib 12:07 < bridge> wavpack 12:07 < bridge> yeah pls change the format to smth more common xD 12:07 < bridge> i think the 16 bit requirement is kinda annoying to use 12:07 < bridge> there's no newer version of the exact library we use AFAIK 12:07 < bridge> robyte mentioned it 12:07 < bridge> we already include support opus, I think 12:07 < bridge> we already include support for opus, I think 12:08 < bridge> https://discord.com/channels/252358080522747904/293493549758939136/1138489285809541180 12:08 < bridge> lets switch to vorbis 12:08 < bridge> higher quality 12:08 < bridge> https://github.com/dbry/WavPack/blob/master/doc/WavPack5PortingGuide.pdf 12:08 < bridge> what you should know is, that we do mixing our own 12:08 < bridge> wavpack tiny decoder's latest version is 4.40 AFAICT 12:08 < bridge> what about simply using sdl audio 12:08 < bridge> we use sdl_audio already 12:08 < bridge> does it support reading file formats? 12:08 < bridge> https://libsdl.org/projects/SDL_mixer/ 12:09 < bridge> i multiplied mixing rate by 1.5x and now my game froze,.... 12:09 < bridge> Due to popular demand, here is a simple multi-channel audio mixer. 12:09 < bridge> It supports 8 channels of 16 bit stereo audio, plus a single channel of music. It can load FLAC, MP3, Ogg, VOC, and WAV format audio. It can also load MIDI, MOD, and Opus audio, depending on build options (see the note below for details.) 12:09 < bridge> interesting 12:10 < bridge> sdl always had support libs 12:10 < bridge> it also has sdl image 12:10 < bridge> https://wiki.libsdl.org/SDL2_image/FrontPage 12:10 < bridge> This is a simple library to load images of various formats as SDL surfaces. 12:10 < bridge> 12:10 < bridge> It can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on build options (see the note below for details.) 12:10 < bridge> we already use SDL_sound though 12:10 < bridge> i think SDL_sound is from sdl itself 12:10 < bridge> but it doesnt mix for u 12:11 < bridge> oh 12:11 < bridge> its a lib? 12:11 < bridge> sdl mixer looks more updated 12:11 < bridge> i cant do that because ips are keep changing 12:12 < bridge> maybe try to find an online VPN IP list and ban all (but over external software, bcs ddnet's banning system is extremly unefficient) 12:12 < bridge> are you sure it's IP spoofing and not just an attacker with a lot of available IP addresses? 12:12 < bridge> ahh mixing rate is default 48000 12:12 < bridge> that makes sense 12:13 < bridge> i dont think its spoofed ip its proxy or vpn i think because we have protection with device mikrotik and much 12:13 < bridge> can u send me a link? 12:13 < bridge> google.com 12:13 < bridge> `MACRO_CONFIG_INT(SndRate, snd_rate, 48000, 5512, 384000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Sound mixing rate")` 12:13 < bridge> this mf here 12:14 < bridge> yeah, it's basically your speakers sample rate 12:31 < bridge> it works XDD 12:32 < bridge> wait ill send vid 12:33 < bridge> haha this is fun 12:33 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149291408692359219/2023-09-07_12-32-58.mp4 12:37 < bridge> yo wtfff 12:37 < bridge> XDD 12:37 < bridge> 😂 12:37 < bridge> slowing down is even more fun 12:38 < bridge> XDDD 12:38 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149292529687216148/2023-09-07_12-37-42.mp4 12:38 < bridge> this is genius 12:41 < ChillerDragon> anyone ever had trouble with increasing the bash_history size? Mine seems capped at 2k lines ._. my `HISTSIZE` and `HISTFILESIZE` are both over 9k and set in /etc/bash.bashrc ~/.profile and ~/.bashrc `histappend` is on 12:41 < bridge> just use fish 12:41 < bridge> ^^ 12:41 < bridge> should be no problem to increase history size though 12:42 < bridge> oh, you have a problem with it, sorry 12:42 < bridge> nvm 12:44 < ChillerDragon> i like bash :c 12:46 < ChillerDragon> who even is @discovd and what is he doing? 12:48 < bridge> teeworlds ASMR 12:48 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149295010676744242/2023-09-07_12-46-23.mp4 12:48 < bridge> it just segfaulted at the end 12:48 < bridge> The turkish community seems to be just attacking eachothers servers all day 12:51 < ChillerDragon> he is turk? 12:52 < bridge> ye 12:52 < ChillerDragon> ah hi 12:52 < ChillerDragon> what are you hosting? 12:52 < bridge> hi 12:52 < bridge> ddnet server 12:52 < ChillerDragon> official ddnet turk servers? 12:52 < ChillerDragon> i see 12:52 < bridge> nah deen is not accepting 12:52 < ChillerDragon> inofficial turk ddnet servers 12:52 < ChillerDragon> why does deen even care about you then? 12:52 < ChillerDragon> so nice of deen :) 12:53 < ChillerDragon> leak some ip or server name 12:53 < ChillerDragon> i wanna check it out 12:53 < bridge> just search arx3000 or turkey in internet on ddnet 12:54 < ChillerDragon> got it 12:54 < ChillerDragon> ah only 1 server 12:54 < bridge> ye 12:54 < ChillerDragon> i cant connect ffs 12:54 < ChillerDragon> did you activate some firewall? 12:54 < bridge> nah u need to wait 12:54 < ChillerDragon> is it a feature? :D 12:54 < ChillerDragon> or attack? 12:54 < bridge> nah because of attack 12:54 < ChillerDragon> rip 12:54 < bridge> seems like a nice community 12:55 < ChillerDragon> turkey moment 12:55 < ChillerDragon> @Learath2 have you tried fixing ddos for ddnet servers? 12:55 < ChillerDragon> there seems to be a problem with it on turkey servers 12:56 < bridge> turk hosts are broken 12:56 < bridge> xD 12:56 < ChillerDragon> @Learath2 have you tried putting kaspersky into ddnet server? 12:56 < ChillerDragon> oh its the host? 12:56 < ChillerDragon> rip turks .-. 12:58 < bridge> have u tried turning it off and on again 12:58 < bridge> who 13:01 < ChillerDragon> all 13:01 < ChillerDragon> its a universal fix to all problems 13:02 < ChillerDragon> @Learath2 have you tried turning the ddos off? 13:03 < bridge> where are the sounds actually played? 13:03 < bridge> i cant find it 13:03 < bridge> check grenadeexplosion 13:03 < bridge> or smth like that 13:04 < bridge> yea there are Play and PlayAt functions in client/sound.cpp 13:04 < bridge> but they dont really call anything. 13:04 < bridge> maybe some update function plays all of the sounds when neccessary 13:05 < bridge> ```cpp 13:05 < bridge> if(g_Config.m_SndGame) 13:05 < bridge> m_pClient->m_Sounds.PlayAt(CSounds::CHN_WORLD, SOUND_PLAYER_AIRJUMP, 1.0f, Pos); 13:05 < bridge> ``` 13:05 < bridge> honestly we should change this 13:05 < bridge> and put the if inside playatr 13:05 < bridge> so we never forget 13:05 < bridge> actually let me pr this 13:05 < bridge> where is the actual call to SDL? 13:07 < bridge> @teero777 iirc 13:07 < bridge> it works with a callback 13:08 < bridge> ```cpp 13:08 < bridge> static void SdlCallback(void *pUnused, Uint8 *pStream, int Len) 13:08 < bridge> { 13:08 < bridge> (void)pUnused; 13:08 < bridge> #if defined(CONF_VIDEORECORDER) 13:08 < bridge> if(!(IVideo::Current() && g_Config.m_ClVideoSndEnable)) 13:08 < bridge> { 13:08 < bridge> Mix((short *)pStream, Len / sizeof(short) / 2); 13:08 < bridge> } 13:08 < bridge> else 13:08 < bridge> { 13:08 < bridge> mem_zero(pStream, Len); 13:08 < bridge> } 13:08 < bridge> #else 13:08 < bridge> Mix((short *)pStream, Len / sizeof(short) / 2); 13:08 < bridge> #endif 13:08 < bridge> } 13:08 < bridge> ``` 13:08 < bridge> this is the callback given to sdl 13:08 < bridge> mix does the work 13:08 < bridge> ```cpp 13:08 < bridge> // Set 16-bit stereo audio at 22Khz 13:08 < bridge> Format.freq = g_Config.m_SndRate; 13:08 < bridge> Format.format = AUDIO_S16; 13:08 < bridge> Format.channels = 2; 13:08 < bridge> Format.samples = g_Config.m_SndBufferSize; 13:08 < bridge> Format.callback = SdlCallback; 13:08 < bridge> Format.userdata = NULL; 13:08 < bridge> 13:08 < bridge> // Open the audio device and start playing sound! 13:08 < bridge> m_Device = SDL_OpenAudioDevice(NULL, 0, &Format, &FormatOut, 0); 13:08 < bridge> ``` 13:09 < bridge> here is the sdl call with callback 13:09 < bridge> im such a pro 13:09 < bridge> joking 13:09 < bridge> ah ok cool 13:21 < bridge> monthly contribution done 13:21 < bridge> gg 13:22 < bridge> this actually fixes a place where that config wasnt checke 13:22 < bridge> d 14:09 < bridge> @heinrich5991 according to the variable description 14:09 < bridge> snd_game is for game sounds 14:09 < bridge> snd_enable is for all sounds 14:10 < bridge> i guess game sounds means hammer? xd 14:10 < bridge> but the fact not all call sites had this, is a bug, and more reason for this change 14:11 < bridge> OH wait 14:11 < bridge> i am chanbging snd_game 14:11 < bridge> im blind 14:12 < bridge> my brain is off today 14:14 < bridge> Not anymore ;) 14:14 < bridge> true sadge 14:23 < bridge> https://www.reddit.com/r/playrust/comments/16bmqz6/can_i_mute_rust_programing_language_in_google/ 14:23 < bridge> > Posted by 14:23 < bridge> > u/ZheDoktor 14:23 < bridge> > 21 hours ago 14:23 < bridge> > Can I mute "rust programing language" in google? 14:23 < bridge> > Question 14:23 < bridge> > 14:23 < bridge> > I swear to god everytime im trying to look for anything related to rust the stupid programing language pops up. Is there a way to blacklist it from searches or something? Cuz its darn annoying. 14:23 < bridge> > 14:23 < bridge> > Also to moderators. While the content is not technicaly rust related i believe it is important to find a solution so more people can find stuff related to game. 14:23 < bridge> ironic 14:25 < bridge> xd 14:27 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149319997315878952/rapidsave.com_stereotype-4wc8p8dfzgjb11.mp4 14:27 < bridge> :justatest: 14:28 < bridge> weeb 14:28 < bridge> @learath2 14:28 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149320238949748876/1hh6h9i083jb1.png 14:38 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149322710074273893/RDT_20230907_1437538677709919733815028.jpg 14:38 < bridge> Im looking at @Ryomura 14:38 < bridge> xd 14:38 < bridge> uwu 14:38 < bridge> @ryozuki 14:38 < bridge> @learath2: when anime pfp 14:38 < bridge> Im looking at ~~@Ryomura~~ 14:39 < bridge> its a true legend 14:39 < bridge> look at gh 14:39 < bridge> @teero777 u messed 2 pings today btw xd 14:44 < bridge> @patiga can u update vek dep to 0.16 in twmap or reexport it? 15:07 < ChillerDragon> is anyone running a big endian system here? 15:10 < bridge> No 15:11 < ChillerDragon> :c 15:11 < ChillerDragon> how can i test some endiannessiness then 15:11 < bridge> Why 15:11 < ChillerDragon> i wanna know if my code works on big endian 15:12 < ChillerDragon> and by my code i mean code i found on stackoverflow 15:12 < ChillerDragon> i am certified copy paste engineer 15:13 < bridge> Ok good luck. Are you working with binary data or what 15:13 < ChillerDragon> im planning to 15:13 < ChillerDragon> right now im just printing binary 15:13 < bridge> In which language 15:14 < ChillerDragon> x86 15:14 < ChillerDragon> idk is that a language= 15:14 < bridge> Yeah why not xd 15:15 < bridge> Maybe use a serialize lib, so u dont have to care 15:15 < ChillerDragon> i will just swap the broken code 15:16 < ChillerDragon> assume the dude on so used big endian 15:16 < ChillerDragon> and nobody else is using it 15:16 < ChillerDragon> so its gonna work epic 15:16 < bridge> Good idea 16:31 < bridge> how can i fix this :D? 16:31 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149351133702271087/image.png 16:31 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149351259296505886/image.png 16:33 < bridge> <_voxeldoesart> i dont think we can 16:34 < bridge> Have u applied a ip ban list now? 16:34 < bridge> Share some of their ips 16:35 < bridge> I want to know if they are known vps ips(or whatever) 16:35 < bridge> let me check 1 min 16:38 < bridge> ChillerDragon: x86 is always little endian 16:38 < bridge> but endianness in the token stuff is such a red herring 16:38 < bridge> you simply reproduce the bytes you got on the wire 16:38 < bridge> there is no endianness here 16:41 < bridge> where? 16:41 < bridge> 2023-09-07 10:41:00 I net_ban: #40 '92.204.135.37' banned for 525598 minutes (Follow the server rules. Type /rules into the chat.) 16:41 < bridge> 2023-09-07 10:41:00 I net_ban: #41 '103.108.229.109' banned for 525598 minutes (Follow the server rules. Type /rules into the chat.) 16:41 < bridge> 2023-09-07 10:41:00 I net_ban: #42 '176.33.107.133' banned for 525598 minutes (Follow the server rules. Type /rules into the chat.) 16:41 < bridge> 2023-09-07 10:41:00 I net_ban: #43 '178.249.214.203' banned for 525598 minutes (Follow the server rules. Type /rules into the chat.) 16:41 < bridge> 2023-09-07 10:41:00 I net_ban: #44 '91.90.44.22' banned for 525598 minutes (Follow the server rules. Type /rules into the chat.) 16:41 < bridge> @heinrich5991 16:41 < bridge> @discovd dont share ips 16:42 < bridge> common sense pls xd 16:42 < bridge> for this 16:42 < bridge> u can dm him 16:44 < bridge> @ryozuki what did I miss? 16:44 < bridge> Ah messed 16:44 < bridge> Not missed xd 16:45 < bridge> can't even read 16:45 < bridge> not sure if sharing IP addresses is bad, but I removed them for now 16:45 < bridge> 3/5 were marked as proxies for me btw 16:47 < bridge> share ur ip then :brownbear: 16:48 < bridge> 1.1.1.1 this is mine :gigachad: 16:48 < bridge> note that the above wasn't tied to any names 16:49 < bridge> but here: 95.89.10.229. currently in saarbrücken 16:49 < bridge> you could probably get my IP address easily, you host wiki.ddnet.org after all 16:51 < bridge> does cloudflare share ips 16:51 < bridge> i guess ye 16:51 < bridge> it does 16:51 < bridge> well its it would be hard to pinpoint u 16:51 < bridge> no 16:51 < bridge> a) I have a wiki account 16:51 < bridge> Why 16:51 < bridge> It's bot ips 16:51 < bridge> ok ok i retire what i said 16:51 < bridge> dont kill me 16:52 < bridge> b) you can send a link in this channel in a conversation with me 16:52 < bridge> just wanted to be cautious xd 16:52 < ChillerDragon> @heinrich5991 oh boi im far from reaching tokens :D 16:52 < bridge> thanks 16:52 < bridge> Ah thanks 16:52 < ChillerDragon> im just trying to print 0x41 not as 14 :D 16:52 < ChillerDragon> but that works now 16:52 < bridge> ChillerDragon: there is no big endian x86 16:52 < ChillerDragon> ye saw that 16:52 < ChillerDragon> sounds good 16:53 < ChillerDragon> not sure what the SO dude was using then 16:53 < ChillerDragon> maybe he didnt test his code 16:53 < bridge> link? 16:53 < ChillerDragon> https://stackoverflow.com/a/18879886/6287070 16:53 < ChillerDragon> it works fine on my machine but only if i swap it 16:53 < ChillerDragon> then 0x41 prints 41 16:53 < ChillerDragon> but out of the box it prints 14 16:53 < bridge> @discovd have you read this 16:54 < bridge> With a public vpn list or similar. You could probably prevent just 16:54 < bridge> Most 16:54 < ChillerDragon> im now down the rabbit hole on how big the sockaddr struct is :D 16:54 < bridge> good luck 16:54 < ChillerDragon> seems like on my system its 16 byte 16:54 < ChillerDragon> tw allocates 128 16:54 < ChillerDragon> https://github.com/ruby/ruby/blob/630e49010cd91e97ce49d315b00d4ece193ebe82/ext/socket/rubysocket.h#L240 16:54 < ChillerDragon> and ruby adds additional 2048 padding 16:54 < ChillerDragon> isnt darwin mac? 16:54 < bridge> it depends on what you do 16:55 < bridge> yes 16:55 < ChillerDragon> does ddnet run on SunOS? 16:55 < ChillerDragon> 2048 seems a bit big 16:55 < ChillerDragon> im doing a recvfrom() 16:55 < bridge> 16 byte is too few for even an ipv6 address with port 16:55 < bridge> month of august 16:55 < ChillerDragon> ah true 16:55 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149357246829047878/image.png 16:55 < ChillerDragon> im going with 128 full tw style then 16:56 < bridge> I'd do some research 16:56 < bridge> how large is `sockaddr_inet` and `sockaddr_inet6`? 16:58 < ChillerDragon> i guess that depends on your system? 16:59 < ChillerDragon> https://zillyhuhn.com/cs/.1694098780.png 17:00 < ChillerDragon> wot heinrich did you just leak your ip? 17:00 < ChillerDragon> time to spoof heinrich axaxax 17:01 < ChillerDragon> heinrich check irc dms 17:02 < Ryozuki> what u sayin in dms 17:03 < Ryozuki> btw chiller do u have OTR 17:04 < bridge> no, must be the same on all amd64 linux systems 17:05 < ChillerDragon> ryo i discussed sensitive heinrich leak in dms xd 17:05 < ChillerDragon> idk OTR 17:05 < Ryozuki> meh the otr plugin for weechat is 5y old 17:05 < Ryozuki> and python 2 17:06 < Ryozuki> OTR allows us to chat in encrypted manner but that later no one can prove you were you when saying that stuff 17:06 < Ryozuki> wanted to try chatting with you 17:06 < Ryozuki> otr = off the record 17:06 < bridge> no one can prove cryptographically from the application protocol* 17:07 < Ryozuki> https://en.wikipedia.org/wiki/Off-the-Record_Messaging 17:07 < bridge> if someone trusted observes you sending messages, then they obviously have proof that you sent messages 17:07 < Ryozuki> The primary motivation behind the protocol was providing deniable authentication for the conversation participants while keeping conversations confidential, like a private conversation in real life, or off the record in journalism sourcing. This is in contrast with cryptography tools that produce output which can be later used as a verifiable record of the communication event and the identities of 17:07 < Ryozuki> the participants. The initial introductory paper was named "Off-the-Record Communication, or, Why Not To Use PGP".[1] 17:08 < Ryozuki> would be fun if u could make weechat scripts in rust 17:08 < Ryozuki> or wasm 17:08 < Ryozuki> Language: Guile (4) · Javascript (2) · Lua (8) · Perl (89) · Python (233) · Python2-compatible (207) · Python2-only (57) · Python3-compatible (176) · Python3-only (26) · Ruby (27) · Tcl (6) 17:08 < Ryozuki> it supports those rn 17:10 < bridge> I'm not sure we have a good way to do APIs in wasm yet 17:10 < bridge> for stuff as simple as string passing, e.g. 17:16 < bridge> Greetings! It's kinda off-topic but instead of just asking to ask I'll just ask ;). 17:16 < bridge> 17:16 < bridge> I'm trying to make my own CAD, but not for consumers, just for me. 17:16 < bridge> I have found that Opencascade kernel to be what I want to work with (OCCT kernel) as it's the only FOSS kernel. 17:16 < bridge> OCCT is written in C++ (for ryozuki reading there're no "working" rust bindings except for this `https://github.com/bschwind/opencascade-rs` which is a work in progress) 17:16 < bridge> 17:16 < bridge> I have completed this `https://dev.opencascade.org/doc/overview/html/occt__tutorial.html` which is basically like hello world for using the OCCT kernel to create a model. 17:16 < bridge> 17:16 < bridge> I want to interact with the application mainly via code AKA code-only/code-first. 17:16 < bridge> zogtib told be to interface it with Lua. 17:16 < bridge> My problem is I don't know where to start 😅 17:16 < bridge> Any proposals are welcome :). 17:17 < bridge> xd 17:17 < bridge> sadly idk anything about CAD 17:18 < bridge> if you know a good way to do that btw, I'd be interested @ryozuki 17:18 < bridge> btw 17:18 < bridge> i have to research 17:19 < bridge> don't worry I just want to interface a cpp application with another prob interperted language 17:19 < bridge> https://docs.rs/wasmtime/latest/wasmtime/ 17:20 < bridge> > As an embedder of WebAssembly you can also provide WebAssembly modules functionality from the host by creating host-defined functions, memories, globals, etc, which can do things that WebAssembly cannot (such as print to the screen). 17:20 < bridge> The way I am doing it atm is writting cpp code and then compiling it and manually linking stuff which is what I want to avoid 17:20 < bridge> whis i had more time to do stuff 17:21 < bridge> wish* 17:21 < bridge> but when i do i just play dota 17:21 < bridge> smh 17:21 < bridge> so making the host-wasm functionality is easy i think, what i want to know is how to define for example a library/interface for a language that compiles to wasm 17:23 < bridge> i guess in rust u would use extern 17:23 < bridge> ```rs 17:23 < bridge> #[link(wasm_import_module = "mod")] 17:23 < bridge> extern { fn foo(); } 17:23 < bridge> ``` 17:24 < bridge> ah 17:24 < bridge> if u use wasm bindgen its probs 17:24 < bridge> ``` 17:24 < bridge> #[wasm_bindgen] 17:24 < bridge> extern { 17:24 < bridge> fn alert(s: &str); 17:24 < bridge> } 17:24 < bridge> ``` 17:25 < bridge> https://github.com/rustwasm/wasm-pack 19:09 < bridge> is there a german that knows about "and one" here? 19:13 < bridge> we usually speak german in germany 19:15 < bridge> its a german group 19:15 < bridge> that makes german music 19:15 < bridge> but some are in english 19:15 < bridge> which is how i got hooked up 19:15 < bridge> https://en.wikipedia.org/wiki/And_One 19:51 < bridge> nope xd 20:23 < bridge> neither 21:16 < bridge> nope 21:20 < bridge> fix my gdm 21:22 < bridge> maybe u shouldnt use gentoo as your first distro lmao 21:23 < bridge> what 21:24 < bridge> maybe u should experiment around with a working out of box distro first 21:25 < bridge> wdym first 21:25 < bridge> maybe u should experiment second 21:25 < bridge> this is not second 21:25 < bridge> this is like 21:25 < bridge> sixth 21:25 < bridge> but u tried linux for real right 21:26 < bridge> not VM or the windows shit thing 21:26 < bridge> i dunno, last month u were still windows fan boy xD 21:26 < bridge> i used arch for 2 years 21:26 < bridge> why u got so many problems then 21:26 < bridge> but well u should use ur arch xp for it 21:26 < bridge> i told u gamma rays 21:26 < ChillerDragon> who wants to teach me assembly? xd 21:26 < bridge> o/ 21:26 < bridge> i dont know too 21:26 < bridge> xd 21:26 < bridge> well i learnt a bit 21:26 < bridge> chillerdragon: let's go 21:27 < bridge> nasm 21:27 < ChillerDragon> ok 21:27 < bridge> x86 assmebly? 21:27 < ChillerDragon> yes 21:27 < bridge> use nasm to learn x86-64 21:27 < ChillerDragon> i got a label 21:27 < ChillerDragon> pointing to memory 21:27 < ChillerDragon> i guess 21:27 < ChillerDragon> my wording is ass 21:27 < ChillerDragon> and now i want to load the first byte of that into rax 21:27 < bridge> https://cs.lmu.edu/~ray/notes/nasmtutorial/ 21:28 < bridge> ```nasm 21:28 < bridge> 21:28 < bridge> global _start 21:28 < bridge> 21:28 < bridge> section .text 21:28 < bridge> _start: mov rax, 1 ; system call for write 21:28 < bridge> mov rdi, 1 ; file handle 1 is stdout 21:28 < bridge> mov rsi, message ; address of string to output 21:28 < bridge> mov rdx, 13 ; number of bytes 21:28 < bridge> syscall ; invoke operating system to do the write 21:28 < bridge> mov rax, 60 ; system call for exit 21:28 < bridge> xor rdi, rdi ; exit code 0 21:28 < bridge> syscall ; invoke operating system to exit 21:28 < bridge> 21:28 < bridge> section .data 21:28 < bridge> message: db "Hello, World", 10 ; note the newline at the end 21:28 < bridge> ``` 21:28 < bridge> idk how to trigger highlight 21:28 < bridge> ```asm 21:28 < bridge> section .bss 21:28 < bridge> udp_recv_buf resb 1400 21:28 < bridge> ``` 21:29 < ChillerDragon> how do i move the first byte of udp_recv_buf into rax? 21:29 < bridge> u will hit a problem if u use 64bit and use a modern gcc (if u call C libs, which u will inveitable do) due to relocations or smth 21:29 < ChillerDragon> and then the second etc 21:29 < ChillerDragon> i dont use any c bloat 21:29 < ChillerDragon> i just syscall into linux c bloat 21:29 < bridge> u will cuz making syscalls is not better 21:29 < ChillerDragon> hm 21:30 < bridge> my guess is 21:30 < bridge> u need to load udp_recv_buf address 21:30 < bridge> and i guess just 1 byte 21:30 < bridge> u probs use a lower register or smth 21:30 < bridge> im not much experienced either 21:30 < ChillerDragon> so lea? 21:30 < ChillerDragon> or the [ 21:30 < ChillerDragon> idk the diff yet 21:30 < bridge> i think its [] 21:31 < ChillerDragon> you can mov and specify size i think 21:31 < bridge> mov rax,label_name 21:31 < bridge> Labels in NASM are automatically treated as addresses. 21:31 < bridge> lea = get address 21:31 < ChillerDragon> omg 21:31 < ChillerDragon> i got 04 21:31 < ChillerDragon> looks legit 21:31 < ChillerDragon> 04 is average first tw protocol byte 21:31 < bridge> pro 21:31 < bridge> fagging pro style 21:32 < bridge> uh 21:32 < ChillerDragon> cuz i know it all by heart 21:32 < bridge> what did u do 21:32 < bridge> xDD 21:32 < bridge> typical chiller 21:32 < ChillerDragon> i did `mov byte rax, [udp_recv_bug] 21:32 < ChillerDragon> thnaks ryowo 21:32 < bridge> wait 21:32 < bridge> try without [] 21:32 < bridge> im curious 21:32 < bridge> TIL mov byte 21:32 < ChillerDragon> without i get ED 21:32 < ChillerDragon> that cant be 21:32 < bridge> i see 21:32 < ChillerDragon> its funny how asm seems to let you do everything 21:33 < ChillerDragon> i think i fucked my stack earlier on hello world 21:33 < bridge> u can do the other way too 21:33 < bridge> mov [var], eax 21:33 < ChillerDragon> but still less crashes than c 21:33 < bridge> ye in asm u need to manage ur stack 21:33 < bridge> the good thing is 21:33 < bridge> if ur a pro 21:33 < bridge> and some function doesnt need a stack prepared 21:33 < bridge> u can skip it 21:33 < ChillerDragon> ong 21:33 < bridge> i made new user joe and it worked for him 21:33 < ChillerDragon> [buf+1] 21:33 < bridge> cuz u know when to not comform to a call ABI 21:33 < ChillerDragon> gives me 00 21:33 < bridge> perks of asm 21:33 < ChillerDragon> 00 is totally legit 2nd byte 21:33 < ChillerDragon> holy shit 21:34 < bridge> cursed user, maybe ur bash_profile is broken 21:34 < ChillerDragon> dood 21:35 < bridge> yea 21:35 < bridge> i just nuked ewan 21:35 < bridge> and made a new ewan 21:35 < bridge> and i'm in 21:38 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149428533790253186/image.png 21:39 < ChillerDragon> nice 21:39 < ChillerDragon> where is that from 21:42 < bridge> https://cs.lmu.edu/~ray/notes/nasmtutorial/ 21:42 < bridge> i sent it already 21:42 < ChillerDragon> ah nice i didnt scrol that far xd 22:03 < bridge> guys xorg fixed 22:03 < ChillerDragon> pro 22:03 < bridge> honestly elated 22:03 < bridge> the wayland oversampling looks good but i still wish you could opt out 22:04 < bridge> firefox looks almost identical to if i set the pixel ratio to 1.5 w no scaling 22:04 < bridge> Cosmic rays, go 22:04 < bridge> but its a little blurry 22:07 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1149435698710057050/image.png 22:07 < bridge> ryo ur pkg broken 22:07 < bridge> i want a refund 22:10 < bridge> it's just masked 22:10 < bridge> refund 22:10 < bridge> https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package 22:12 < bridge> ``` 22:12 < bridge> The following keyword changes are necessary to proceed: 22:12 < bridge> (see "package.accept_keywords" in the portage(5) man page for more details) 22:12 < bridge> # required by ddnet (argument) 22:12 < bridge> =games-action/ddnet-17.2.1 ~amd64 22:12 < bridge> ``` 22:12 < bridge> never seen ~ before 22:24 < bridge> ```x86asm 22:24 < bridge> global _start 22:24 < bridge> section .text 22:24 < bridge> 22:24 < bridge> stdout equ 1 22:24 < bridge> 22:24 < bridge> _start: 22:24 < bridge> mov r8, 1 ; initial line length 22:24 < bridge> mov r9, 0 ; chars written 22:24 < bridge> mov rdi, buffer 22:24 < bridge> 22:24 < bridge> line: 22:24 < bridge> mov byte [rdi], '*' 22:24 < bridge> inc rdi 22:24 < bridge> inc r9 22:24 < bridge> cmp r9, r8 ; check if number of written stars is same as needed 22:24 < bridge> jne line 22:24 < bridge> 22:24 < bridge> lineDone: 22:24 < bridge> mov byte [rdi], `\n` 22:24 < bridge> inc rdi 22:24 < bridge> inc r8 22:24 < bridge> mov r9, 0 22:24 < bridge> cmp r8, maxlines 22:24 < bridge> jng line 22:24 < bridge> 22:24 < bridge> print: 22:24 < bridge> mov byte [rdi], `\n` 22:24 < bridge> inc rdi 22:24 < bridge> mov byte [rdi], `\0` 22:24 < bridge> inc rdi 22:25 < bridge> such a pro 22:25 < bridge> stars 22:25 < bridge> no C deps 22:25 < bridge> cuz c bad 22:25 < bridge> actually 22:25 < bridge> i probs dont need the \0 22:25 < bridge> cuz this is not c 22:25 < bridge> yeah it works 22:25 < bridge> actually if i use rdx instead of rdi i save a instruction 22:26 < bridge> https://gist.github.com/edg-l/63cba75c38a61b1b55052ea07bd84b26#file-triangle-nasm 22:26 < bridge> final 22:28 < bridge> nah dont use this 22:29 < bridge> do 22:29 < bridge> games-action/ddnet ~amd64 22:29 < bridge> so u can update ddnet 22:29 < bridge> xd 22:29 < bridge> i have this 22:29 < bridge> `games-action/ddnet **` 22:29 < bridge> so i use the latest git commit 22:57 < bridge> oic 22:57 < bridge> in the accept_keywods file 23:43 < bridge> @chairn are you perhaps around?