00:29 < bridge> http://github.com/headshot2017/ddnet-nds 09:44 < bridge> ``` 09:44 < bridge> Entering user space 09:44 < bridge> Program in 0x400000 09:44 < bridge> User code selector: 0x23 09:44 < bridge> User data selector: 0x1b 09:44 < bridge> Entering program 09:44 < bridge> syscall 1 rdi=0x1 rsi=0x400024 rdx=0x1c r10=0x2 r8=0x2 r9=0x2 09:44 < bridge> sys_write called: fd=1, buf_ptr=0x400024, count=28 09:44 < bridge> Hello from x86_64 assembly! 09:44 < bridge> syscall 60 rdi=0x0 rsi=0x3fd rdx=0x3f8 r10=0xffffffff80009e70 r8=0x4 r9=0x7b616d7f767f367f 09:44 < bridge> User called exit with status: 0 09:44 < bridge> ``` 09:44 < bridge> pog 10:18 < bridge> Hello, developers i want to create a community on the browser server. how do i do this? 10:20 < bridge> For some reason I don't have my logo on my server. I want to create one. Can you tell me how? 10:25 < bridge> what the hack is a browser server? 10:25 < bridge> what the heck is a browser server? 10:26 < bridge> that's like community 10:26 < bridge> AFAIK there are some rules in order to become a community. Not every single server can become one, I believe you need at least 6 servers which are almost all time available, but my memory might be wrong 10:27 < bridge> oh 10:27 < bridge> i have some server 70 10:27 < bridge> Please create a ticket, you might have to bargain with deen 10:27 < bridge> okay 10:30 < bridge> D: At least I can't find 70 servers (are they named 'browser' or with some chinese/asian (sorry :justatest: ) symbols)? 10:31 < bridge> they're false in time 10:31 < bridge> they're trun off in time 10:31 < bridge> you mean currently turned off ig 11:13 < bridge> looks like i need to implement context switching now 11:54 < ws-client> **** hi developas 11:54 < ws-client> **** anyone here good at html programming? 11:54 < ws-client> **** https://github.com/user-attachments/assets/a0841380-8dad-4eed-890f-f70d556026a0 11:54 < ws-client> **** what is wrong with my closing p tag? 11:55 < bridge> 404 11:56 < ws-client> **** ono did github patch it? 11:56 < ws-client> **** https://github-production-user-asset-6210df.s3.amazonaws.com/20344300/474439249-a0841380-8dad-4eed-890f-f70d556026a0.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20250805%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250805T095605Z&X-Amz-Expires=300&X-Amz-Signature=ecbd383caec28d0ca2a4f8675ab3acfe3cf29a135457a3cdb87fcd65cfc38c39&X-Amz-SignedHeaders=host 11:59 < bridge> pre shouldn't be in a paragraph 12:00 < ws-client> **** says who? 12:00 < ws-client> **** the html commitee or wat 12:00 < bridge> yes 12:00 < ws-client> **** watfak 12:00 < bridge> pre is a block element 12:00 < ws-client> **** send link 12:01 < bridge> https://webmasters.stackexchange.com/a/18153 12:01 < ws-client> **** SO also good thanks. I was hoping spec but lemme read 12:02 < ws-client> **** html is so hard wtf 12:02 < ws-client> **** when we coded a html side in school 30 years ago it seemed so easy 12:02 < ws-client> **** side????? 12:13 < bridge> chillerdragon: https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element 12:13 < ws-client> **** thanks 12:14 < bridge> here treesitter defines the tags https://github.com/tree-sitter/tree-sitter-html/blob/3af1bfd3a7e843c502e66025ca8ff2ae75cabf7f/src/tag.h#L284-L289 12:14 < ws-client> **** thats epic thanks @milkeeycat ! 12:27 < bridge> "I'm not afraid of AI that passes the Turing test. I'm afraid of one that fails on purpose." 12:27 < bridge> :justatest: 12:35 < ws-client> **** <:justatest:572499997178986510> 14:26 < bridge> I guess this works good enough. 14:26 < bridge> Essentially if we are trying to get the remainder of the fully incremented value and the value from the lookup table, but the remainder equals to the incremented value (itself), then it can be assumed that we reached over the increment amount, so we can return x 14:26 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1402266452450607125/image.png?ex=689349e7&is=6891f867&hm=14f810466a09ffb7b1fc989375f7e71e601bcb8ec25ec336b8435e11a2a840eb& 14:27 < bridge> value 5 [equals to the amount of increments x has as an example] will return the same way as if it was overshot 14:27 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1402266813701685378/image.png?ex=68934a3d&is=6891f8bd&hm=06d2ea371b4226c118b4a401e13d573b4391b960c60a15b9654f5b076579e838& 14:28 < bridge> wouldnt you want != Math::increment(x) ? 14:28 < bridge> 14:28 < bridge> that way you detect when the value is actually larger than what can be handled 14:28 < bridge> wouldnt you want `!= Math::increment(x)` ? 14:28 < bridge> 14:28 < bridge> that way you detect when the value is actually larger than what can be handled 14:29 < bridge> No, since this way, whether we have the exact increment amount requested, or whenever we overshoot it, it will return the right value faster 14:29 < bridge> ah i see 14:29 < bridge> this if condition is a lot better, than just let it calculate on an increment of 5, while also requesting 5 increments 14:30 < bridge> basically asking for the same increments 14:30 < bridge> i wonder if you could just do `Math::ROUND_UP_LIST.len() <= amount` xd 14:31 < bridge> I mean I could, but I don't think any math function needs 10 to the power of 10 or above 14:31 < bridge> so you dont limit it to a set increment 14:31 < bridge> fair 14:31 < bridge> also who the hell would increment a float value up to 10 increments? I'm just giving options 14:31 < bridge> xd 14:32 < bridge> the max I should do it like 6, that one seems reasonable, but oh well 10 it is 14:39 < bridge> huh, is `(int)(-1.8f)` is a `-1` right? :justatest: 15:38 < ChillerDragon> how do you rate my marketing idea to rebrand printers to "2D printer"? 15:43 < bridge> 2d nowadays = bad 15:43 < bridge> more D = good 15:51 < bridge> some servers use Score instead of Time on tab how can i make like that too? 15:57 < bridge> GAMEINFOFLAG_TIMESCORE 16:04 < bridge> https://github.com/ddnet/ddnet/issues/9845 16:04 < bridge> bump 16:12 < bridge> 2025-08-05 17:02:41 I chat/whisper: ← Ctgtg: bro, check out this client: ***cli� �ent.xyz nice 16:13 < bridge> 3 player krx wow 16:13 < bridge> кто из модеров рус? 16:22 < ws-client> **** @avolicious GER3 has some lag spikes today 16:22 < ws-client> **** @lol1333_909 which server? 16:25 < bridge> Ctgtg leave 16:25 < ws-client> **** yes but which server were you playing on @lol1333_909 16:33 < bridge> no, because it would be rounding upwards, not downwards 16:33 < bridge> so it's -2 16:57 < bridge> I just use floor now 16:58 < bridge> I just found an editor crash bug, if you manage to delete and then move an envelope int he same frame 16:58 < bridge> I just found an editor crash bug, if you manage to delete and then move an envelope in the same frame 17:04 < bridge> ```bash 17:04 < bridge> Run clang-format -version 17:04 < bridge> clang-format version 10.0.1 17:04 < bridge> src/game/editor/references.cpp: error: missing newline at EOF 17:04 < bridge> Error: Process completed with exit code 1. 17:04 < bridge> ``` 17:04 < bridge> 17:04 < bridge> beatiful 17:16 < bridge> cool, mingw test failed due to invalid nanoseconds. I guess this was not on me 18:08 < bridge> ``` 18:08 < bridge> [ RUN ] Time.Nanoseconds 18:08 < bridge> D:/a/ddnet/ddnet/src/test/time.cpp:28: Failure 18:08 < bridge> Expected: (Time1) < (Time2), actual: 25134700ns vs 25134700ns 18:08 < bridge> ``` 18:08 < bridge> ```cpp 18:08 < bridge> TEST(Time, Nanoseconds) 18:09 < bridge> { 18:09 < bridge> const std::chrono::nanoseconds Time1 = time_get_nanoseconds(); 18:09 < bridge> std::this_thread::sleep_for(std::chrono::microseconds(1)); 18:09 < bridge> const std::chrono::nanoseconds Time2 = time_get_nanoseconds(); 18:09 < bridge> EXPECT_LT(Time1, Time2); 18:09 < bridge> } 18:09 < bridge> ``` 18:09 < bridge> Can the performance counter really be so imprecise that it doesn't update the nanoseconds after sleeping for 1 µs? 18:21 < bridge> Yes 18:22 < bridge> CPUs generally cannot really meassure in nanoseconds (they approximate) 18:22 < bridge> And ofc also microseconds 18:22 < bridge> Additionally this is inside a VM ig 18:31 < bridge> it's really sus, that Time1 and Time2 are rounded by 2 digits here, this screams imprecision 18:56 < bridge> Microseconds are doable but expensive and not doable using normal clock functions 18:56 < bridge> (literally count cycles om) 18:58 < bridge> and even then not fully reliable when the frequency changes... 19:13 < bridge> @chillerdragon its 2.5d because it prints ontop of the paper 19:14 < bridge> make a report, we can ban even if they leave up to an amount of time 19:14 < bridge> #✉-create-a-ticket 19:23 < bridge> o does rcon not know about dummies 19:28 < bridge> As I wrote on github, what's the purpose of this test? For me this looks really useless only testing std:: logic 19:30 < bridge> nevermind it does test some time logic 19:32 < bridge> Also gives function coverage at least for the unit test 19:32 < bridge> https://app.codecov.io/gh/ddnet/ddnet 19:35 < bridge> i dunno i read once that CPU are only kinda reliable at around 300 us 19:35 < bridge> 19:35 < bridge> under it it's completely approximated. which does not always mean it's bad.. just a different process. 19:35 < bridge> 19:35 < bridge> but i dont have the source anymore 19:36 < bridge> it probably doesn't help, that it's a runner in some vm 19:57 < ws-client> **** @Solly (bun bun) does ddnet censor voldemort? look closely at the whisper message. I have the feeling this cheater was not on ddnet servers 20:16 < bridge> Some do some doing 20:16 < bridge> Don't 20:36 < bridge> Hm, the core clocks usually have a sub ns period, so there is at least something ticking fast enough in there. I think the "high precision timer" we get access to is usually the tsc, so it should be around the same precision? 21:59 < bridge> chillor i need ur honest opinion on starship shell 22:01 < bridge> it doesn't seem to be a shell, just a prompt 22:01 < bridge> you could use whatever shell you are used to 22:03 < bridge> oh right my bad i meant prompt 22:03 < bridge> it seems fancy but is it really needed 22:04 < bridge> it seems cool 22:04 < bridge> i don't like the use of nerdfont symbols/emojis in prompts but that seems to be the world we live in now 22:04 < bridge> if it's fast and unified across shells it could be really handy 22:04 < bridge> i hate writing prompt functions 22:04 < bridge> but also hate the defaults 22:04 < bridge> not needed but i used it for a long time, its just eyecandy (and can give important information like active branch, language etc 22:05 < bridge> its really helpful on nix, where its able to display information like your active rust compiler xd 22:05 < bridge> not needed but i used it for a long time, its just eyecandy (and can give important information like active branch, used language etc) 22:06 < bridge> yea. i've been using pure but i might switch to this since the fish port kinda sucks 22:18 < bridge> I dunno, I'd ping chairn, but dunno if he knows that for desktop CPUs 22:18 < bridge> Guess I'd need to ask doctor gpt 22:23 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1402386458093944862/image.png?ex=6893b9aa&is=6892682a&hm=0c062be48264c2d930f3ca35768ec859f6cfe2c0e8ba3c6683b91f9be88e39a3& 22:23 < bridge> pog 22:27 < bridge> What is this 22:30 < bridge> kernel to play ddnet 22:30 < bridge> Good idea 22:34 < bridge> my x86_64 kernel made in rust 22:34 < bridge> That's cool 22:35 < bridge> term receives input from an async queue 22:35 < bridge> Isn't rust an annoying language to write an OS in? 22:35 < bridge> no, its epic, amazing 22:35 < bridge> way better than c 22:36 < bridge> The os should only allow programs written in rust 22:36 < bridge> u cant rlt enforce that xd 22:37 < bridge> anyway i go sleep 22:37 < bridge> gn 23:10 < bridge> @learath2 educate this man on C 23:18 < bridge> He is beyond salvation 23:39 < bridge> Another poor soul lost.