Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-07-06 00:00:00Z and 2023-07-07 00:00:00Z
Avatar
Could there exist a pair of numbers (a, b) such that a + b causes twos complement overflow but a subsequent - a doesn’t cause overflow?
Avatar
i don’t think that’s possible
Avatar
you are pretty much asking if there is a number a where (a + b) - a != b
01:38
the two’s complement part seems irrelevant unless it behaves in a way other than what i know
Avatar
Avatar
Learath2
Could there exist a pair of numbers (a, b) such that a + b causes twos complement overflow but a subsequent - a doesn’t cause overflow?
what @Ewan is saying. two's complement signed integers behave the same as unsigned integers modulo 2^bits, so you're essentially asking if there are a, b such that (a+b)-a ≠ b (mod 2^bits), which is impossible
Avatar
Yeah, that's what I thought too, but someone told me there could be one
08:48
Just wasn't sure enough
Avatar
Avatar
Voxel
this was taken from a marvel movie forgot which one did tony stark code in fucking javascript LOL
time travel found in javascript justatest
09:50
Also, would be cool if he did a unique version of javascript in lore (edited)
Avatar
The Visual Computer - Surface defect detection of industrial products has become a promising area of research. Among the existing defect detection algorithms, most of the CNN-based methods can...
09:52
ddnet being academic
Avatar
ConfigEntry { description: "At which FPS the videorecorder should record demos.", entry_type: Int { max: 1000, min: 1, default: 60, value: None, }, flags: CFGFlags( SAVE | CLIENT, ), name: "cl_video_recorder_fps", symbol: "ClVideoRecorderFPS", },
10:10
pog pog
Avatar
Can you actually also set a custom resolution ? (edited)
Avatar
Avatar
Ryozuki
ConfigEntry { description: "At which FPS the videorecorder should record demos.", entry_type: Int { max: 1000, min: 1, default: 60, value: None, }, flags: CFGFlags( SAVE | CLIENT, ), name: "cl_video_recorder_fps", symbol: "ClVideoRecorderFPS", },
awesome
Avatar
Avatar
Teero
Can you actually also set a custom resolution ? (edited)
in fullscreen i think you can only pick what the backend returns as supported
10:19
which should pretty much be every common resolution at every common fps at every common bit depth
Avatar
Sad. Would be cool to be able to record at higher res like 4k even if you don't have a monitor like that
10:24
On Linux I can just make myself a 4k desktop at will but on windows this would be a useful feature
Avatar
Contribute to edg-l/teeconfig development by creating an account on GitHub.
10:27
wip
10:27
gotta make it load the actual ddnet settings now xd
10:27
oh its private
10:27
sec
10:28
ChillerDragon: ^
10:29
its rly alpha tho
10:29
gotta make the actual binary too xd
Avatar
Avatar
Teero
Sad. Would be cool to be able to record at higher res like 4k even if you don't have a monitor like that
does it not support your resolution
Avatar
Avatar
Ewan
does it not support your resolution
it does but I would like a native feature for rendering at higher resolutions than your screen supports (edited)
Avatar
I don’t think your graphics card would agree to that
10:42
without some refactoring beyond just the resolution settings
10:43
why would you want that, anyway? maybe the demo rendering stuff would be helpful for you
Avatar
Avatar
Ewan
why would you want that, anyway? maybe the demo rendering stuff would be helpful for you
yes i ment only for demo rendering. not for usual gameplay
Avatar
@Ryozuki safe code
Avatar
that’s how i write bitfield enums idk about you lol
Avatar
Avatar
Ravie
@Ryozuki safe code
its safe
Avatar
both is fine. in the code snippet its a bit awkward because the numbers aren't aligned and the last entry suddenly messes up the amount of digits
Avatar
Avatar
Ryozuki
its safe
prone to human error tho especially if u don't align it
Avatar
its still safe
11:56
memory safe
11:59
there
11:59
i made it pretty
11:59
11:59
changed it now to u16 too
11:59
less space
Avatar
we need a rust troll emote
Avatar
ChillerDragon BOT 2023-07-06 12:19:41Z
pog ryo
Avatar
so many mosquito bites all over my ankles
Avatar
ChillerDragon BOT 2023-07-06 13:03:06Z
xd
Avatar
Avatar
fokkonaut
so many mosquito bites all over my ankles
deserved
Avatar
Avatar
Ravie
we need a rust troll emote
nuh uh
Avatar
Avatar
Voxel
nuh uh
glad to hear you're volunteering to make it!
Avatar
who said that
Avatar
you by replying to me
Avatar
gonna sleep again
Avatar
@Learath2 do u use qemu?
14:15
and when u do, do u use just cli
14:15
or a graphical program
14:15
if so, which?
14:16
i hope there is one without gtk or qt
Avatar
Why not like Pi-versioning? Look how nice all the 1s align: A = 0b1, B = 0b10, C = 0b100, D = 0b1000, santatrollet
santatrollet 2
Avatar
Avatar
Ryozuki
@Learath2 do u use qemu?
Not with any regularity. I did mess around with it before in cli tho
Avatar
somehow compiled it and qemu-system-x86_64 runs with gtk i think xd
14:28
-nographics is nice tho
14:28
i think it uses ncurses
14:28
14:31
im gonna retake ryoOS
14:31
but since idk why it fails im gonna do it again
14:31
its good cuz i learn again
14:32
This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code.
Avatar
ChillerDragon BOT 2023-07-06 14:55:29Z
@heinrich5991 this is why i wanted to run ddnet in docker :)
14:55
14:55
@Avolicious hrhrhrhr
14:57
didnt expect this to workout so smoothly
15:00
kubernetes
15:00
propietary?
Avatar
ChillerDragon BOT 2023-07-06 15:03:21Z
nah
15:03
its a bunch of go bloat
15:03
Production-Grade Container Scheduling and Management - GitHub - kubernetes/kubernetes: Production-Grade Container Scheduling and Management
15:03
even the container runtime is open https://github.com/containerd/containerd/
An open and reliable container runtime. Contribute to containerd/containerd development by creating an account on GitHub.
15:04
its foss cloud
Avatar
Chillerdragon, use k3s
15:44
🙂
15:44
small non bloated kubernetes
Avatar
containers are bloated
15:45
chiller ur in the wrong path
Avatar
Containers arent bloated compared to VMs
16:08
Chiller good path, keep it up
16:08
Cloud Native Citizen First approach
16:08
Good one
Avatar
Avatar
Avolicious
Containers arent bloated compared to VMs
ye
16:51
u dont need vms
16:51
chiller come
16:51
catgun
16:55
so apparently i use safari now xD
Avatar
i have weird bug again when i start my programm from vscode(with debugger), i get more fps than when running it with either cargo run cargo run --release
17:05
taskmanager shows that its the same executable
17:05
😭
17:08
how can i even debug this shit <.<
Avatar
chillerdragon BOT 2023-07-06 17:19:30Z
Xd vscode makes everything blazingly fast using electron and JavaScript
Avatar
in wayland it works
17:22
i blame x11
f3 1
17:22
sadly they still didnt fix forced vsync
Avatar
chillerdragon BOT 2023-07-06 21:38:27Z
Looks like a nice blog on learning asm
21:38
I rate this blog 9/10 without reading it thanks for sharing ryo
Avatar
chillerdragon BOT 2023-07-06 21:40:44Z
Did the bot in announcement channel really just ask for dms?
21:41
Can you dm a bot? Who reads that inbox
Avatar
when ddnet in assembly
Avatar
I bookmarked part 2 of that blogpost rn. I need to show it to people that tell me I sometimes write C that isn't exactly the way a human would put it
22:13
People keep telling me just write it the human way and the compiler will figure out the computer way
Avatar
Just by writing that loop in a way that doesn't use "jumps" gives a 3x boost, fascinating
Avatar
8c03e1e Version 17.1 - def- e8d52a8 Add new contributors for 17.1 - def- 4990135 Update russian.txt - lolipodass 033c934 Update Belarusian translation - AlehKushniarou 53bb5c7 Update spanish.txt - n0Ketchp 4bf4916 Fix height of layer popup when automapper properties shown - Robyt3 2059141 Fix incorrect popup being closed when gametile popup used - Robyt3 0dfa115 Fix wrong predicted reload timer after ninja pickup - trml 1713c06 some fixes - gerdoe-jr 5c72ec9 Fix online clan friends not being removable via UI - Robyt3
22:28
8c03e1e Version 17.1 - def- e8d52a8 Add new contributors for 17.1 - def- 4990135 Update russian.txt - lolipodass 033c934 Update Belarusian translation - AlehKushniarou 53bb5c7 Update spanish.txt - n0Ketchp 4bf4916 Fix height of layer popup when automapper properties shown - Robyt3 2059141 Fix incorrect popup being closed when gametile popup used - Robyt3 0dfa115 Fix wrong predicted reload timer after ninja pickup - trml 1713c06 some fixes - gerdoe-jr 5c72ec9 Fix online clan friends not being removable via UI - Robyt3
22:29
23:36
I'm starting to believe that this is all just a conspiracy to sell more wireless headphones
Avatar
Avatar
Voxel
when ddnet in assembly
now
Avatar
i mean good assembly
Avatar
compiler already makes better asm than most would writing by hand
Avatar
i mean didnt like, machine learning find a better sorting algo or smth
23:52
idk what im talking about but itd be kinda cool to find a way to make ddnet more optimized for the funny
23:53
😃
Exported 137 message(s)