02:21 < bridge_> how do i make a tooltop 02:21 < bridge_> how do i make a tooltip 02:21 < bridge_> everthing i try jus dont work 02:23 < bridge_> trying to add tooltips here 04:12 < bridge> is this like another ddnet fork client 04:59 < bridge> im hosting a server but for some reason the random_map command gives me "no maps found on this server" even though there are maps and if I go to vote to change to a different map it loads it. 05:25 < bridge> im hosting a server but for some reason the random_map command gives me "no maps found on this server" even though there are maps and if I go to vote to change to a different map it loads it. (idk if this is the right place to ask_ 05:25 < bridge> im hosting a server but for some reason the random_map command gives me "no maps found on this server" even though there are maps and if I go to vote to change to a different map it loads it. (idk if this is the right place to ask) 09:06 < bridge> was about to ask a question about my code not working 09:06 < bridge> then i rubber duckied myself realising that last time that fixed it 09:07 < bridge> and i found the issue 09:07 < bridge> than you #developer channel for being my rubber ducky 09:09 < bridge> no it still doesnt work 09:10 < bridge> no it does i just didnt recompile 09:24 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361603062782885919/image.png?ex=67ff5b2b&is=67fe09ab&hm=ba47b60da50bd966e3bd0d06d24fb4e313fd26d3b85fab2aa06b834544ab0578& 09:24 < bridge> what failed my guy x-x 09:25 < bridge> shame ): 09:26 < bridge> another client to steal features from 09:26 < bridge> mwuhuhuhu 09:26 < bridge> @gody1604: I think it needs to know about the maps in the database. So that they also show up in the /mapinfo chat command 11:03 < bridge> rather old but still on point i guess 11:03 < bridge> https://sfconservancy.org/blog/2022/jun/30/give-up-github-launch/ 11:05 < bridge> I already host my own gitlab. This is an open source project, we can mirror it where-ever we want 11:05 < bridge> good morning ^^ 11:08 < bridge> If we switch then pls to smth fast like gitea. GitLab is really powerful, but also a downgrade compared to github imo 11:09 < bridge> why is that ? seems pretty equivalent to me, but im not a big user of any 11:12 < bridge> UI is worse, the analytics are worse 11:12 < bridge> When I hosted a gitlab instance you notice how bloated that software is. 11:12 < bridge> The runners are probably matter of getting used, but github has a lot of pre-built runners by community. 11:12 < bridge> white design is evil 11:13 < bridge> Also the fact that they require a phone number to login sucks 11:15 < bridge> gitea looks really clean. and the performance is also really nice. 11:15 < bridge> 11:15 < bridge> Basically a better github 11:15 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361631114636169347/image.png?ex=67ff754b&is=67fe23cb&hm=0074455e720f59bca58e21da561e2200f8b67cd1847bc2f8ee1540e1064d303b& 11:16 < bridge> gitlab as comparision 11:16 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361631263647338597/image.png?ex=67ff756f&is=67fe23ef&hm=03211a1e413e64096b46558ef8aef6a89652eb6d1e8c2b4fb8dea3bdeb669417& 11:29 < bridge> This is not true for self hosted, even tho I use it for MFA 11:29 < bridge> gitlab ui sux hard its hard af to find prs and issues 11:30 < bridge> if i see a project there i tend to get unmotivated to contribute 11:30 < bridge> pls use codeberg or a self hosted forgejo 11:30 < bridge> on the left? I use it all das at work without issues oO? 11:31 < bridge> Yeah but why should we self-host? xd 11:31 < bridge> I self hosted once, but the phone thing was on the real gitlab 11:31 < bridge> forgejo > gitea 11:32 < bridge> codeberg is a european non profit 11:32 < bridge> it uses forgejo 11:32 < bridge> True, I do it for private repos 11:33 < bridge> on the left? I use it all day at work without issues oO? 11:36 < bridge> Yeah gitlab official has not so great UI design 🙈 11:36 < bridge> Yeah codeberg is sick too 11:36 < bridge> But I just noticed they have a (beta) dark design 11:36 < bridge> At least smth 😂 11:50 < bridge> Hi developers what are you developing 11:51 < bridge> Ryo is enjoying holidays. 11:51 < bridge> I am struggeling with random stuff. 11:51 < bridge> 11:51 < bridge> What r you doin? 11:54 < bridge> @jupeyy_keks I just made finished durak and serverside translation 11:55 < bridge> :poggers2: 11:55 < bridge> Sick 11:56 < bridge> what are ya struggling with? 11:57 < bridge> Nothing specific, just thinking about code layout 12:43 < bridge> does anyone know any good C related irc channels/discord servers? 12:48 < bridge> \#\#C 12:49 < bridge> @jxsl13: we have lerato here what do you need 12:58 < bridge> trying to compile gitjub.com/marlam/msmtp on CentOS 7 (holy build box) 12:58 < bridge> trying to compile github.com/marlam/msmtp on CentOS 7 (holy build box) 13:00 < bridge> getting macro AM_GNU_GETTEXT not found, even tho, I compiled gettext manually 13:01 < bridge> only on centos 7 I get that error, on debian based systems I'm not getting that 13:02 < bridge> ``` 13:02 < bridge> configure.ac:46: warning: macro 'AM_GNU_GETTEXT' not found in library 13:02 < bridge> configure.ac:46: error: possibly undefined macro: AM_GNU_GETTEXT 13:02 < bridge> If this token and others are legitimate, please use m4_pattern_allow. 13:02 < bridge> See the Autoconf documentation. 13:02 < bridge> autoreconf: error: /usr/local/bin/autoconf failed with exit status: 1 13:02 < bridge> ``` 13:15 < bridge> #c in on libera 13:15 < bridge> It is a very no bullshit no stupid questions place though, not the nicest people but the very best usually 13:18 < bridge> Though this is not much of a C question. I haven't seen autohell in years 13:20 < bridge> the autostuff is the least of my problems xD one one of many 13:21 < bridge> might have found some clues, cuz I build all my external libraries and tools into /usr/local 13:21 < bridge> and my final result into a different PREFIX 13:22 < bridge> might be that some environment variable was set incorrectly pointing to a wrong folder and not seeing that I also included /usr/local/{lib,include} 13:22 < bridge> ._. 13:23 < bridge> it's generally fun building old software in old build environments 13:24 < bridge> are you using the correct version of automake? I remember that being an issue when I last compiled something that used it 13:25 < bridge> I'm building my own autoconf, if automake is part of that, don't remembrr exactly of it was 13:26 < bridge> if it was 13:26 < bridge> I think you also might need to call autogen.sh with a flag to make it find your self compiled gettext, unless you installed gettext properly 13:26 < bridge> seemingly not 13:28 < bridge> the weird thin is that on debian 7 and ubuntu 16.04 it works, so might have something to do with the preinstalled gettext or something along the lines on those. 13:28 < bridge> thing* 13:28 < bridge> but on centos 7 I also got a gettext installed, which is not found. 13:29 < bridge> will see in like 40 minutes 😄 13:29 < bridge> if my attemt at a fix works 13:29 < bridge> ``` 13:29 < bridge> autoreconf -i -I "$PREFIX/include" -I "$EXTERNAL_PREFIX/include" && 13:29 < bridge> ./configure --prefix=$PREFIX --without-msmtpd --with-tls=openssl --with-libidn --with-libgsasl --with-libsecret=no && 13:29 < bridge> make V=1 -j $CORES LIBS="-l:libgsasl.a -l:libgss.a -l:libidn.a -l:libntlm.a -ldl -lrt -lresolv" && 13:29 < bridge> make install 13:29 < bridge> ``` 13:29 < bridge> that's the msmtp build call 13:29 < bridge> with some additional C(PP)FLAGS and LD_FLAGS 13:46 < bridge> anyone know how to disable this? github keeps telling me my ddnet fork has CodeQL failing from time to time 13:46 < bridge> 13:46 < bridge> I don't want to disable all actions and I'm too scared to just delete the CodeQL workflow file 13:46 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361669046944403517/image.png?ex=67ff989f&is=67fe471f&hm=59ffa05d3e514d3709456365e569f98cea3c83078fd158318ec540ca2364ce95& 13:47 < bridge> rename the workflow file to .ymlx 13:47 < bridge> or something along the lines 13:52 < bridge> let's se eif building and pinning my own automake helps 👀 13:53 < bridge> there is no autogen.sh, you might mean ./configure 14:05 < bridge> heino is in all of the irc channels :kek: 14:29 < bridge> u should steal the scoreboard things 14:30 < bridge> ok, but I guess if that file is modified and I merge upstream will it bring it back? I think it's fine I guess because that file isn't touched often 14:44 < bridge> Oh, if the configure file is already created then it's not an automake version issue 14:45 < bridge> @art0007i wat ya doin? 14:45 < bridge> interesting 14:45 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361683819274436748/image.png?ex=67ffa661&is=67fe54e1&hm=6cfa893d296d001a7db448707a6c2a6ad72d73efe444e1602e2a81a3d877958f& 14:46 < bridge> updating my ddnet fork ig. but while im updating it i noticed that github has been emailing me about codeql stuff xd 14:46 < bridge> wow discord shares such information with all clients? XD 14:47 < bridge> also yeah funny that it knows how many seconds my clock is behind??? 14:48 < bridge> I'm guessing it's the message sent timestamp and message received timestamp 14:48 < bridge> it tells you the timestamp that the client sent the msg with 14:48 < bridge> well I've synced my time allegedly 14:48 < bridge> its not that its 8 seconds ahead, its that its x - network lag seconds ahead 14:48 < bridge> *at least* 8 seconds ahead 14:48 < bridge> yeah 14:49 < bridge> can we merge taters input prs plz 14:49 < bridge> me want to play game without dying due to packet loss 14:50 < bridge> I quite like time.is for checking my clock 14:50 < bridge> > The difference from Time.is was +0.008 seconds (±0.025 seconds). 14:50 < bridge> that's probably good enough, right? 14:50 < bridge> very 14:50 < bridge> `+0.006 seconds (±0.060 seconds).` 14:50 < bridge> idk how it knows that 14:51 < bridge> https://www.gnu.org/software/gettext/manual/html_node/AM_005fGNU_005fGETTEXT.html 14:51 < bridge> network latency fluctuation is what im guessing is the +- 14:51 < bridge> is 14:51 < bridge> I guess it does a thing similar to normal time servers, it just tries a few times 14:51 < bridge> to me it looks like my system clock is exactly the same 14:52 < bridge> do system clocks on windows and linux de's sync to the ms? 14:52 < bridge> For me it's consistently giving a bit under 10ms late 14:52 < bridge> For me it's consistently giving a bit under 10ms late on average 14:52 < bridge> thats close enuf 14:53 < bridge> i cant tell 14:53 < bridge> im on a 60hz panel = 16ms littlest delay so vsync means they switch at the same time if its 10ms 14:53 < bridge> they should stay exactly the same, the big issue is that one likes to store the local time and the other likes to store the UTC time 14:53 < bridge> wdym 14:53 < bridge> the local time is derived from utc time 14:53 < bridge> when setting the RTC 14:54 < bridge> the hardware rtc is in local time but that isnt used for anything 14:54 < bridge> (apart from remembering time after reboot) 14:54 < bridge> exactly, and one system sets it to UTC+0 and the other sets it to local time 14:54 < bridge> "system"? 14:54 < bridge> so tootltips didnt work so i make my own 14:54 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361686225118826697/DDNet_hUTnF8tvmn.png?ex=67ffa89e&is=67fe571e&hm=4ece1cc064f53d9aa2450da4e3b8547673c1749e19a183741bf22c0f9015b000& 14:55 < bridge> operating system 14:55 < bridge> not sure how im gonna make a pr out of this 14:55 < bridge> oh thats bad 14:55 < bridge> so if you don't have network, you shut down one OS, open another OS, your time will be off by some hours 14:55 < bridge> thats... annoying 14:55 < bridge> I'm not sure if it's an issue anymore but it used to be 14:55 < bridge> ur rtc should be in local time 14:56 < bridge> and also ntp will update it quite quickly anyway 14:56 < bridge> Why do you prefer this? 14:56 < bridge> because the rtc is dumb and old, its like setting a wall clock 14:56 < bridge> it doesnt know about time zones 14:57 < bridge> that's why it should be in a time zone that never changes 14:57 < bridge> our software isn't necessarily dumb and old so it can handle time zones easy 14:57 < bridge> os's arent dumb 14:57 < bridge> but the bios is 14:58 < bridge> and it has always been local time 14:58 < bridge> so it should stay that way 14:58 < bridge> to prevent... the issue your having 14:58 < bridge> if and when you also get a timezone param for the rtc then its fine to store in utc 14:59 < bridge> if and when you also get a timezone param (as a minutes offset and/or 3 digit code) for the rtc then its fine to store in utc 14:59 < bridge> you might already be able to 15:00 < bridge> If every OS agreed on UTC+0 there would not be any issue? 15:00 < bridge> is there a way to use automount and have it ask for the remote server password whether in nautilus or bash when you try to access it ? 15:00 < bridge> it's literally just a convention and I don't understand how local time is any better 15:00 < bridge> its too late now, so a breaking change is the only way for os's to cooportate 15:00 < bridge> timedatectl seems to set rtc to utc 15:01 < bridge> i assume windows then does it the old way 15:08 < bridge> hell yeah Arch Wiki is being based unlike you 15:08 < bridge> xd 15:08 < bridge> they shit so much on the Windows time handling lol 15:09 < bridge> https://github.com/ddnet/ddnet/pull/8432 15:09 < bridge> is this ever gtting merged? 15:12 < bridge> Looks fairly terrifying. I don't think anyone wants to be the person who broke the input handling for no reason 15:13 < bridge> have it run on a single server and see if it breaks 15:13 < bridge> idk if you can rerun teehistorian files, but is an option 15:14 < bridge> Why even risk it? That's probably why no one seems very interested in it 15:14 < bridge> because its a dependency of another pr which i very mcuh care about 15:14 < bridge> We run it on one server, it seems fine, 1 year later turns out it breaks some map that is played very little and also breaks teehistorian reproduction 15:14 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361691274708783195/image.png?ex=67ffad52&is=67fe5bd2&hm=b11307990d7d999e237a522dcbf44fd728184f17d3df290bed9ca041654a21f7& 15:15 < bridge> is there not a teehistorian replay of every official ddnet map 15:16 < bridge> I might take a look at it later this week but I will make 0 promises that I'll be merging it 15:17 < bridge> .~. 15:17 < bridge> i wish u the best of luck 15:24 < bridge> #8441 has a very uphill battle to be merged tbh, heinrich needed evidence and Tater's position on it was that other games do it 15:24 < bridge> https://github.com/ddnet/ddnet/pull/8441 16:46 < bridge> `2b542f3f-e8a1-42c4-b0a2-55b667cb2979.teehistorian: Teehistorian(Item(UnknownType(-14)))` 16:46 < bridge> More teehistorian oddities 17:29 < bridge> ``` 17:29 < bridge> local:8/7263/100%/0.0s Error: Teehistorian(Item(UnknownType(-19))) 17:29 < bridge> local:8/19734/100%/0.0s Error: Teehistorian(Item(UnknownType(-12))) 17:29 < bridge> local:6/26637/100%/0.0s Error: Teehistorian(Item(UnknownType(-344))) 17:29 < bridge> local:8/31073/100%/0.0s Error: Teehistorian(Item(UnknownType(-48))) 17:29 < bridge> ``` 17:29 < bridge> Even more, I wonder how this ever happens even 17:29 < bridge> Has to be some sort of failed write or cosmic ray or something 18:15 < bridge> github copilot in vs kinda nice 18:16 < bridge> ye sometimes its rly annoying if u use autocompletion tho 18:16 < bridge> like a real autocompletion? 18:16 < bridge> seemed to be fine with tab to complete 19:12 < bridge> can you ask Copilot to refactor a complex function (successfully)? 19:15 < bridge> define "complex" 19:15 < bridge> if you just blindly accept any sort of autocompletion, probably not 19:15 < bridge> it did help me write a lot of pseudo code before tho 19:16 < bridge> its a cardinal sin that i cant play without lag on solo or /team with dummy since in theory i could just send all inputs with repeats 2 minutes later 19:17 < bridge> could it be used for cheating? 19:17 < bridge> replay botting can only be done well in good network conditions i pressume 19:17 < bridge> this would make that untrue 19:18 < bridge> cheaters ruin everything 19:18 < bridge> just like... i dont care about your good time, even if it is legit i dont keep track of it, youre just ruining the game for everyone else 19:18 < bridge> ):< 19:19 < bridge> bun is mad 19:21 < bridge> bunbunbunbunbun 19:22 < bridge> yes i am mad 19:22 < bridge> cheaters suck 19:22 < bridge> go touch grass 19:34 < bridge> Not sure what you mean, also just started using it 19:35 < bridge> But other Ai, I've used chatgpt/deepseek and you can ask him what can be reactored or what are some good practices you can apply and it should tell you 19:35 < bridge> I wouldn't trust ai's refactoring as a whole 19:36 < bridge> Taking advice, asking about parts of code that doesn't require much context is generally fine 19:38 < bridge> #10068 19:38 < bridge> https://github.com/ddnet/ddnet/pull/10068 19:39 < bridge> are these valid reviews: 19:39 < bridge> ```cpp 19:39 < bridge> private: 19:39 < bridge> CSkinContainer *m_pSkinContainer; 19:39 < bridge> bool m_Favorite; 19:39 < bridge> bool m_SelectedMain; 19:39 < bridge> bool m_SelectedDummy; 19:39 < bridge> std::optional> m_NameMatch; 19:39 < bridge> char m_ListItemId; 19:39 < bridge> char m_FavoriteButtonId; 19:39 < bridge> char m_ErrorTooltipId; 19:39 < bridge> }; 19:39 < bridge> 19:39 < bridge> class CSkinList 19:39 < bridge> { 19:39 < bridge> friend class CSkins; 19:39 < bridge> 19:39 < bridge> public: 19:39 < bridge> std::vector &Skins() { return m_vSkins; } 19:39 < bridge> int UnfilteredCount() const { return m_UnfilteredCount; } 19:39 < bridge> void ForceRefresh() { m_NeedsUpdate = true; } 19:39 < bridge> 19:39 < bridge> private: 19:39 < bridge> std::vector m_vSkins; 19:39 < bridge> int m_UnfilteredCount; 19:39 < bridge> bool m_NeedsUpdate = true; 19:39 < bridge> }; 19:39 < bridge> 19:39 < bridge> class CSkinLoadingStats 19:39 < bridge> { 19:39 < bridge> public: 19:44 < bridge> The question might at least be valid, but the answer is just that I used getters there for encapsulation. The getter can't be const because the caller of this function should call non-const function on it. Stats members are all public because caller is supposed to modify them and adding a getter and setter for every variable is not useful. 19:44 < bridge> yeah I asked AI what to do and it's generated code was bs and it's advises not helpful 19:45 < bridge> thought it was either an issue of missing specialization of chatgpt or that the AI was bad for this usecase in general 19:46 < bridge> Also, there is a getter but no setter for `std::vector`. If the member was public you could replace the entire variable variable. 19:46 < bridge> Also, there is a getter but no setter for `std::vector`. If the member was public you could replace the entire variable value. 19:46 < bridge> is `...Skins() = ...` not valid? 19:47 < bridge> (or .clear(), then add everything from your new one) 19:47 < bridge> I've have no idea if that's legal, but I don't think I would accept it in a review 19:48 < bridge> it does appear to be legal 19:53 < bridge> are all the nocases okay? 19:55 < bridge> and whats the point of this 19:55 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361761752827695174/image.png?ex=67ffeef6&is=67fe9d76&hm=d06a3ff5db93bf82d146e584d0db946ae924976b30a2d5f638ad2d4813601506& 19:55 < bridge> `x_` is not utf8 19:55 < bridge> and this searches the whole string 19:55 < bridge> and now X_SPEC is also a special skin 19:58 < bridge> @robyt3 my PR is ready again, should be fine now :owo: 20:00 < bridge> As it should. Not all filesystems are case sensitive so`x_spec` and `X_SPEC` were already the same skin for some players. 20:00 < bridge> As it should. Not all filesystems are case insensitive so`x_spec` and `X_SPEC` were already the same skin for some players. 20:00 < bridge> The more you ask it, the more it hallucinates 20:01 < bridge> It only checks if the string starts with the prefix though. But I didn't want to add another function to check for a UTF-8 prefix more efficiently. 20:14 < bridge> It doesn't need to be utf8 does it? 20:14 < bridge> It only checks the first part if it matches 20:15 < bridge> Assuming there are no other upper base X characters that map to the same lower case :justatest: 20:15 < bridge> But you are probably right, maybe I just did it for consistency 20:16 < bridge> Assuming there are no other upper case X characters that map to the same lower case :justatest: 20:17 < bridge> @robyt3 could you merge #10036 20:17 < bridge> https://github.com/ddnet/ddnet/pull/10036 20:17 < bridge> idk why only approved 20:19 < bridge> I approve and don't merge immediately to let others chime in 20:20 < bridge> theres not enough mainatiners, noone else chimes in 20:20 < bridge> But 1-2 weeks without complaints are enough for me, and it's only changing prediction so no need to share the blame :greenthing: 20:21 < bridge> and #1000 #9902? 20:21 < bridge> https://github.com/ddnet/ddnet/pull/1000 20:21 < bridge> https://github.com/ddnet/ddnet/pull/9902 20:21 < bridge> this are only demo's prediction 20:21 < bridge> and #10000 #9902? 20:21 < bridge> 10000, not 1000 20:24 < bridge> or laser door prediction 20:42 < bridge> @alw5 lmfao 20:42 < bridge> y'all insane 20:43 < bridge> i was wondering that you we're joking about this 20:44 < bridge> na 20:44 < bridge> its good 20:44 < bridge> i want in the official game! 20:45 < bridge> i mean, the future itself is absurd easy 20:45 < bridge> :Deadge: 20:45 < bridge> why? 20:45 < bridge> its not bad 20:45 < bridge> my pr's got rejected like 20:45 < bridge> 100500 times 20:46 < bridge> so i lost all the motivation pr in ddnet 20:46 < bridge> well wp in fixing my code i suppose @alw5 20:47 < bridge> yea 20:47 < bridge> lotta fixes needed 20:48 < bridge> @stormaxd make editor prs 20:48 < bridge> 0% decline rate i swear 20:48 < bridge> i try one 20:48 < bridge> if reject 20:48 < bridge> +you will make me happy which is really important 20:48 < bridge> i'll leave the ddnet 20:48 < bridge> bet 20:48 < bridge> bet 20:49 < bridge> souly happy = good day 20:50 < bridge> making me happy is one of the objectives of this game 20:50 < bridge> along with finishing the maps and getting points 22:17 < bridge> which one r u gonna try 22:18 < bridge> there's a lot of thing in editor which is bugged hell 22:21 < bridge> Alr matter asf question, which is the safest way to save config files? 22:21 < bridge> crypt? 23:10 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1361810890940350675/Gof5HMKWYAA_WLq.jpg?ex=68001cb9&is=67fecb39&hm=9570727547b2bcc081cae00f9d79cf8dfa1bc03e02b04ec7f1e78b1e98bb1dd0& 23:28 < bridge> C is the mountain 23:55 * bridge in the square hole