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-05-24 00:00:00Z and 2023-05-25 00:00:00Z
Avatar
Avatar
Ryozuki
@Jupstar ✪
Vulkan has dynamic rendering support, which simplifies the Renderpass stuff. Also ofc this has overhead. Additionally he can use a library to simplify it if he wants
Avatar
Avatar
Learath2
what is this dude making anyway?
some ffxiv plugin related to rendering, i think related to reshade but with support for stuff like better normals? i forgot
Avatar
Brainwashed by Microsoft xd
05:49
ye happens
05:49
@Jupstar ✪ this is my grip, most games use c#, and lot of m$$ fanatics like c#
05:50
and ofc modding for them is c#
05:50
ans tooling
05:50
but i am madness, i use rudt
05:50
rust
Avatar
Yeah quite possible^^
Avatar
i am motivated to learn vulkan again
Avatar
Good luck
Avatar
@Jupstar ✪ what rust lib resembles more the c api, or should i use a safe and correct one that avoisa mistakes
05:52
for learning
05:53
i remember there is ash and vulkano
Avatar
Mh. Depends on what exactly u want to achieve.. do u want to understand the concepts of creating pipelines and render pass etc. Or do u want to learn how to optimize something to fit exactly to your needs
05:55
Purely rendering wise, VK is probably not much better than opengl
05:55
But for emulators it's the perfect match. BCS if it's control
Avatar
i wanna understand vulkan
05:55
so i dont need to search what a PSP is or ask u what i asked
05:56
PSO*
05:56
my god mobile
Avatar
I guess I'd start with pure Vulkan. And if u want to do something greater u can still switch to higher level abstractions again
05:58
U'll probably find more tutorials anyway
05:58
Because CPP dominated field
Avatar
chillerdragon BOT 2023-05-24 06:00:39Z
Invalidating the revert link sent per mail I mean
06:00
Sending a notification email to the old seems obvious doesn’t it? But yea properly invalidating it when it happens multiple times is something I would not have implemented if I were to build it. (@heinrich5991)
chillerdragon: of the email change reset procedure
Avatar
@Jupstar ✪
06:47
u did it
06:47
owned
06:47
another internet discussion won today
06:47
time to go to leddit
Avatar
i know it sucks and you could have easily done this in 10 seconds but
06:49
!c
Avatar
chillerbot BOT 2023-05-24 06:49:23Z
ChillerDragon
Avatar
also what is teecord_bot.png
Avatar
image for funny chiller irc client
Avatar
no i mean
06:51
oh
06:51
so its also an icon?
Avatar
Avatar
Ryozuki
@Jupstar ✪
lmao
Avatar
this also sucks
Avatar
ChillerDragon BOT 2023-05-24 07:16:43Z
nice teeish!
07:17
@Voxel did you just made those or what is that? looks nice
Avatar
i made these
07:17
idk
Avatar
ChillerDragon BOT 2023-05-24 07:17:18Z
pog
07:17
can i buy?
07:17
you dont have to buy these i can just, give you the file LOL
Avatar
ChillerDragon BOT 2023-05-24 07:17:59Z
nice can you give me 6 files so i dont have to gimp split them
Avatar
ChillerDragon BOT 2023-05-24 07:18:06Z
pog pog
Avatar
Avatar
Voxel
you dont have to buy these i can just, give you the file LOL
giving file is not enough
07:18
put a license
07:18
cc-by-sa for example
07:18
justatest
Avatar
yeayea i know
07:20
how do i send?
07:21
do i just drop a ZIP file in here
Avatar
that works
Avatar
!c please tell me if anything looks weird also yes cc_by_sa
Avatar
chillerbot BOT 2023-05-24 07:25:13Z
ChillerDragon
Avatar
wait does irc client even support file uploads
Avatar
should work, it's just a download link to discord's website that gets displayed differently in discord (edited)
Avatar
ws-client BOT 2023-05-24 07:31:23Z
<ChillerDragon> .pdf
07:31
<ChillerDragon> trol voxel
07:31
<ChillerDragon> thanks a lot worked fine looks good on my machine
Avatar
Avatar
ws-client
<ChillerDragon> .pdf
common practice for graphic designs to send .pdfs to their clients
07:33
*designers
Avatar
ws-client BOT 2023-05-24 07:33:32Z
<ChillerDragon> ok mr professional
Avatar
Avatar
Ryozuki
another internet discussion won today
How dare you use the jupstar argument to defeat him?
Avatar
thats the internet
07:38
ddnet is like a company, i just consulted the local vulkaner
Avatar
Btw vulkan docs look so amazing wtf
Avatar
but it loads so slow xD
Avatar
@Learath2 they even have a xml with the api
07:38
so stuff like ash crate
07:38
is generated from it
07:38
correct bindings
07:38
ez
Avatar
So comprehensive it's like better than a whole standard
Avatar
Avatar
Jupstar ✪
but it loads so slow xD
Can't you grab a local copy of it?
Avatar
probably, but i am fine with it, on desktop its ok. but on my old mobile it takes minimum 10 seconds xD
07:41
07:41
"that aint work on android bra"
Avatar
ChillerDragon: is there an equivalent to python wheels for ruby?
Avatar
ws-client BOT 2023-05-24 07:53:33Z
<awdaaaaaq> wat was wheels about again?
07:53
<ChillerDragon> opsi that was my dev tab xd
Avatar
precompiled binaries so my libtw2 huffman users don't have to have rust installed
Avatar
ws-client BOT 2023-05-24 07:54:53Z
<ChillerDragon> ahm
07:55
<ChillerDragon> probably
07:56
<ChillerDragon> my ruby huffman gem requires a c++ compiler
07:57
<ChillerDragon> which is super common for ruby gems so maybe rust would be fine too
Avatar
@Ryozuki if u understand this diagram while coding vk, i'd say u got the idea it basically shows all stuff u also do when coding: define the pipeline layout allocate descriptor sets allocate resources(memory, etc.) the programmable shader stages and how exactly you have to use memory fences, semaphores etc. with this pipeline "diagram"
👻 1
🎩 1
Avatar
https://github.com/luislavena/gem-compiler something like this maybe? @heinrich5991
A RubyGems plugin that generates binary gems. Contribute to luislavena/gem-compiler development by creating an account on GitHub.
Avatar
ws-client BOT 2023-05-24 08:01:05Z
Examples of C extensions in Ruby gems. Contribute to flavorjones/ruby-c-extensions-explained development by creating an account on GitHub.
Avatar
It's not quite wheels tbf but you can generate a gem that just downloads a binary
Avatar
ws-client BOT 2023-05-24 08:01:51Z
<ChillerDragon> virus
Avatar
ye, both links seem helpful. thanks!
Avatar
ws-client BOT 2023-05-24 08:04:35Z
<ChillerDragon> the one i sent was used for sqlite2-ruby https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.5.0.rc1
1.5.0.rc1 / release candidate / 2022-07-05 Packaging Faster, more reliable installation Native (precompiled) gems are available for Ruby 2.6, 2.7, 3.0, and 3.1 on all these platforms: aarch64-linu...
08:04
<ChillerDragon> 3*
08:05
<ChillerDragon> Make sure to fallback to compiling if no architecure is matching
08:08
<awdaaaaaqawd> thanks a lot @Voxel
Avatar
no problem
Avatar
ws-client BOT 2023-05-24 08:10:09Z
<ChillerDragon> Could someone leak some discord emote images preferably in high res?
08:10
<ChillerDragon> :pepeH: would be nice
08:12
<Voxel> Dang. Website isn't updated yet.
08:12
<ChillerDragon> nah
Avatar
Avatar
ws-client
<ChillerDragon> Could someone leak some discord emote images preferably in high res?
Twitter’s open source emoji has you covered for all your project's emoji needs. With support for the latest Unicode emoji specification, featuring 2,685 emojis, and all for free.
Avatar
The team and I are pumped to be back at Build with the developer community this year. Over the last year, Windows has continued to see incredible growth fueled by Windows 11 adoption. In fact, one of the mo
08:15
We have added native support for additional archive formats, including tar, 7-zip, rar, gz and many others using the libarchive open-source project. You now can get improved performance of archive functionality during compression on Windows.
Avatar
Why are you making this bizarre irc discord hybrid anyway chiller?
Avatar
it does seem a little unnecessary ^^
08:16
there's definitely too little chat apps out there
Avatar
ws-client BOT 2023-05-24 08:16:27Z
<ChillerDragon> idk i thought its funni was meant as a 20min trol project to see if i can do it
08:16
<ChillerDragon> but now i kinda like it
08:16
<ChillerDragon> i do not like the other irc frontends
Avatar
Avatar
heinrich5991
We have added native support for additional archive formats, including tar, 7-zip, rar, gz and many others using the libarchive open-source project. You now can get improved performance of archive functionality during compression on Windows.
windows now supports more archive formats 😮
Avatar
ws-client BOT 2023-05-24 08:16:57Z
<ChillerDragon> and having a web client has some perks like image display etc
08:17
<ChillerDragon> notifications
Avatar
now that we have the full range of archive formats
08:18
what would be the preferred archive format for custom file formats?
08:18
still zip, probably?
08:18
maybe with better compression
Avatar
Avatar
heinrich5991
windows now supports more archive formats 😮
They only had zip and rar, right?
Avatar
only zip
Avatar
ws-client BOT 2023-05-24 08:19:45Z
<ChillerDragon> omg i just bought winrar license
08:21
not only is that bloat it gives off the vibe my pc's going to take over my hardware and become sentient
Avatar
Avatar
Jupstar ✪
@Ryozuki if u understand this diagram while coding vk, i'd say u got the idea it basically shows all stuff u also do when coding: define the pipeline layout allocate descriptor sets allocate resources(memory, etc.) the programmable shader stages and how exactly you have to use memory fences, semaphores etc. with this pipeline "diagram"
nice
Avatar
"ads in settings? windows, install gentoo" "im sorry, user. im afraid i cant do that"
Avatar
Perfect time to jump ship from windows
Avatar
Avatar
Learath2
They only had zip and rar, right?
and only limited zip support. I wonder if they have better support now
Avatar
@Ryozuki I think an out-of-date list of releases on github is worse than none: https://github.com/ddnet/ddnet/releases Do you mind if I delete it again? As I said, I don't want to maintain it manually
Avatar
e3fed7d Update libraries - def- 374229f Version 17.0 - def- 661cf63 Update translations for upcoming 17.0 release - def- 431cfd6 Add Russian and Ukrainian translations by StormA - def- 874ebd5 Update hungarian.txt - RIH-Cellegen c3a5399 Update hungarian.txt - RIH-Cellegen 61106cc Improve German translation (by murpi) - def- 858e9b1 Render tees for online friends in friends list - Robyt3 f9814ca Change friend info text to Map | Mode | Country/Ping - Robyt3 01eeeb2 Reduce duplicate UI spacing code - Robyt3 03557b4 Show official server icon in friends list - Robyt3 388c6ff Show race disconnect confirmation when joining friend - Robyt3 d221ed6 Add popup to confirm connecting to friend on non-official server - Robyt3 cc7a708 Fixes for Russian and Ukrainian (by StormA) - def- 8a2789a Revert "Add popup to confirm connecting to friend on non-official server" - def- 6de2e5c Slightly increase font size of friend name - Robyt3 54a0bd4 Fix use of invalid text container index for finish message HUD - Robyt3 d636da7 Update simplified_chinese.txt - RemakePower 24c2579 Use different color for offline clanmates in friends list - Robyt3 7c4e9cf Update french translations (by Sukya) - def-
Avatar
Avatar
Learath2
Perfect time to jump ship from windows
windows 10 is safe.... for now....
Avatar
Better safe than sorry. Migrate to linux now
Avatar
ws-client BOT 2023-05-24 08:43:37Z
<ChillerDragon4> @Voxel your images are live on https://chat.zillyhuhn.com/ 🚀
08:43
<ryo> ok
08:45
<Voxel> No they arent
08:45
<Voxel> One second
08:45
<ChillerDragon> reload the page?
08:47
<deen> Still not live
Avatar
This webclient with no authentication that lets you pick any nick is definitely not going to end up abused 😄
08:51
<ChillerDragon> works fine for me
Avatar
oh so that IS an icon
Avatar
ws-client BOT 2023-05-24 08:52:08Z
<ChillerDragon> those are the ones you made
08:52
<ChillerDragon> dont u recognize em? xd
Avatar
no the bot one at the bottom
Avatar
Avatar
ws-client
You need to size them better tho, that rocket is massive
Avatar
ws-client BOT 2023-05-24 08:52:48Z
<ChillerDragon> Maybe in comarison to your rocket its massive
08:52
<ChillerDragon> :p
Avatar
I hope your webclient breaks
Avatar
ws-client BOT 2023-05-24 08:53:11Z
<ChillerDragon> :c why
Avatar
@Robyt3 when i scroll the server browser, i always see the hovered element from the previous frame above/under where my cursor is basically the hovered element moved but is still considered hovered
09:44
ez to see with mices with fast scroll
09:44
also with vsync, so not tearing related
09:45
(I have smooth scroll off)
Avatar
might be related to immediate mode UI always lagging one frame behind?
09:47
not sure
Avatar
should be instant normally
09:49
maybe its some optimization for smooth scroll to not recalculate the hover element
Avatar
Avatar
Jupstar ✪
(I have smooth scroll off)
only seems to happen specifically when smooth scrolling is off
Avatar
`` Core was generated by ../DDRace64-Server_sql -f servers/test3.cfg'. Program terminated with signal SIGABRT, Aborted. warning: Section `.reg-xstate/2426011' in core file too small. #0 GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7f0ad00bb100 (LWP 2426011))] (gdb) bt #0 GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f0ad0ba...
11:27
[2022-05-23 20:10:34][server]: ClientID=4 rcon='super' [2022-05-23 20:10:36][chat-command]: 4 used /tele [2022-05-23 20:10:38][chat-command]: 4 used /pause [2022-05-23 20:10:38][assert]: /home/teeworlds/src/master/src/engine/shared/network_server.cpp(747): erroneous client id Happened on test server yesterday
Avatar
fun that it was exactly a year ago 😄
Avatar
yeah 😄
Avatar
ws-client BOT 2023-05-24 11:28:58Z
<guess> what is this :0
Avatar
CClientMask has size MAX_CLIENTS, so it can't be used for super team

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASa...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Hm, I don't get why that breaks
Avatar
@Ryozuki what was the async handler crate again u send a few days ago
Avatar
std::bitset too small
Avatar
i cant find 😄
Avatar
for TEAM_SUPER == 64
Avatar
Avatar
heinrich5991
std::bitset too small
But then so was out integer from before the bitset. What was happening then?
Avatar
probably shift outside of the integer?
12:03
i.e. wrong team selected
Avatar
Avatar
Jupstar ✪
@Ryozuki what was the async handler crate again u send a few days ago
pollster
Avatar
Avatar
Ryozuki
pollster
ty
Avatar
Ah, I guess that's possible
Avatar
3dd1d78 Fix crash with super (fixes #6654) - def- 422ff84 Merge #6656 - bors[bot]
Avatar
@Jupstar ✪ did u rly try vulkano
13:01
apparently they have the same versions ofg the functions with a _unchecked, and they claim that if the normal version works, its safe and u can swap to the unchecked
13:02
13:02
they dont appear in the docs intentionally btw
13:02
so u may have missed em
Avatar
Avatar
Ryozuki
@Jupstar ✪ did u rly try vulkano
i didnt try it
Avatar
u can also opt out of the builtin sync mechanism they use
13:03
and use ur own
Avatar
but it's obvious that u can't do the same, at least not in what u'd call safe
Avatar
idk, i think vulkano has a nice goal, only allow u to do safe correct stuff according to the spec
Avatar
how do u want to make a memory fence safe without making everything "more" complex?
Avatar
Avatar
Ryozuki
idk, i think vulkano has a nice goal, only allow u to do safe correct stuff according to the spec
yes that's nice indeed
Avatar
anyway
13:04
i think im gonna learn it with vulkano
13:04
its nice to know errors early
13:04
and i wont do obscure things probs
13:04
xd
13:04
and i dont know what i am doing
Avatar
u can also enable these layers with normal vulkan
Avatar
anyway
13:05
yeah
13:05
Can handle synchronization on the GPU side for you (unless you choose to do that yourself), as this aspect of Vulkan is both annoying to handle and error-prone. Dependencies between submissions are automatically detected, and semaphores are managed automatically. The behavior of the library can be customized thanks to unsafe trait implementations.
Avatar
yeah
Avatar
The password for the reserved slots keep getting leaked. Hopefully this will fix the issue.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested...
Avatar
biggest troll in history
13:22
@Learath2
13:22
@Ryozuki
13:22
learath the biggest troll, do u agree?
Avatar
Also an easy review opportunity, you can go "goto, declined, wontfix"
Avatar
i'd be surprised if we dont have a clang-tidy check
13:25
what u actually want is a lambda
Avatar
@Learath2 wait doesnt rcon auth happen after joining
Avatar
return false if goto is not called
13:26
else true
Avatar
Avatar
Ryozuki
@Learath2 wait doesnt rcon auth happen after joining
it's just reusing the rcon passwords for reserved slots
Avatar
oh goto
Avatar
Avatar
Ryozuki
@Learath2 wait doesnt rcon auth happen after joining
It doesn't auth, I thought about using it to pre-auth too but mods might want to sneak on to the server
Avatar
ur evil learath
13:26
as a witch
13:26
we should burn u
Avatar
xDDDDDDD
Avatar
in rust its ok cuz its not spelled goto but break 'label (edited)
13:27
so its fine
Avatar
this also isnt a loop
Avatar
I could have made an extremely ugly extra one use function or duplicated branches or inverted branches but I thought this would be an amazing place to demonstrate the power of goto and how pretty it can make code
Avatar
lambda
Avatar
Bask in it's glorious power to break out of blocks
Avatar
@Jupstar ✪ u can use it here anyway i think
13:28
to return to a outer scope
13:28
he is using goto to quit 2 scopes
Avatar
learath has no math brain
13:28
he uses weird jumps
13:28
pls don't fail my clang-tidy pls don't fail my clang-tidy pls don't fail my clang-tidy pls don't fail my clang-tidy pls don't fail my clang-tidy pls don't fail my clang-tidy pls don't fail my clang-tidy
Avatar
I could have used an ugly lambda, but I decided to demonstrate the glorious demonized goto
Avatar
fn main() { 'outer: loop { println!("Entered the outer loop"); 'inner: loop { println!("Entered the inner loop"); // This would break only the inner loop //break; // This breaks the outer loop break 'outer; } println!("This point will never be reached"); } println!("Exited the outer loop"); }
13:29
in rust its fine cuz its not goto
13:29
its break
13:29
kek
Avatar
imho still not always the best solution, really depends on complexity of the loop
13:32
tension increases as clang-tidy comes to compile the server code
13:32
comes close
13:34
@Learath2 do u rq, if goto fails?
Avatar
I doubt it will, but I'd be disappointed in whoever wrote the rules
Avatar
i'd be surprised if it doesn't
Avatar
Ah, actually these will be the only 2 gotos in the code it might be there then
Avatar
EPIC
Avatar
cppcoreguidelines-avoid-goto yeah disappointed in all of you
Avatar
FAILED: CMakeFiles/game-server.dir/src/engine/server/server.cpp.o /usr/local/bin/cmake -E __run_co_compile --tidy="clang-tidy;-warnings-as-errors=*;--extra-arg-before=--driver-mode=g++" --source=/home/runner/work/ddnet/ddnet/src/engine/server/server.cpp -- /usr/bin/c++ -DCONF_DEBUG -DCONF_INFORM_UPDATE -DCONF_OPENSSL -DCONF_VIDEORECORDER -DGAME_RELEASE_VERSION=\"16.9\" -DGLEW_STATIC -I/home/runner/work/ddnet/ddnet/clang-tidy/src -I/home/runner/work/ddnet/ddnet/src -I/home/runner/work/ddnet/ddnet/src/rust-bridge -isystem /home/runner/work/ddnet/ddnet/ddnet-libs/curl/include -g -std=c++17 -fdiagnostics-color=always -fstack-protector-all -fno-exceptions -Wall -Wextra -Wno-psabi -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wno-nullability-completeness -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wshadow=global -Wsuggest-override -MD -MT CMakeFiles/game-server.dir/src/engine/server/server.cpp.o -MF CMakeFiles/game-server.dir/src/engine/server/server.cpp.o.d -o CMakeFiles/game-server.dir/src/engine/server/server.cpp.o -c /home/runner/work/... /home/runner/work/ddnet/ddnet/src/engine/server/server.cpp:1473:7: error: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto,-warnings-as-errors] goto join; ^~~~~~~~~ /home/runner/work/ddnet/ddnet/src/engine/server/server.cpp:1492:4: note: label defined here join: ^ /home/runner/work/ddnet/ddnet/src/engine/server/server.cpp:1484:8: error: avoid using 'goto' for flow control [cppcoreguidelines-avoid-goto,-warnings-as-errors] goto join; ^~~~~~~~~ /home/runner/work/ddnet/ddnet/src/engine/server/server.cpp:1492:4: note: label defined here join: ^ 514 warnings generated.
Avatar
Avatar
Jupstar ✪
EPIC
Yeah so cool, go pray to djikstra or sth
13:38
thanks djikstra
13:38
thanks for taking paths so quickly (edited)
Avatar
Too much education is as bad as no education it seems
Avatar
B.S., M.S., Ph.D. yet unable to follow a simple goto
Avatar
one thing less to care
13:40
😉
Avatar
ws-client BOT 2023-05-24 13:40:36Z
<ChillerDragon> lerato fellow goto enjoyer pog
Avatar
u can always say, but in these 10 lines of code its easy to follow
13:40
!c >.<
Avatar
chillerbot BOT 2023-05-24 13:40:57Z
ChillerDragon
Avatar
Exactly, use your common sense instead of some old dudes guidelines that he stole from math people
13:41
In these 10 lines of code, in this exact usecase it's the better pattern
Avatar
then the code is a design flaw 😂
Avatar
ws-client BOT 2023-05-24 13:42:43Z
<ChillerDragon> ur flawed jopsti
13:43
<ChillerDragon> goto is top10 underrated keywords
Avatar
goto school true, indeed a good keyword
Avatar
ws-client BOT 2023-05-24 13:43:55Z
<ChillerDragon> xd
Avatar
If I was any less confident in being right about this I might be concerned about how against it you are
13:44
Anyway, I'll flip it around and make it ugly just as you like, dw
Avatar
ws-client BOT 2023-05-24 13:44:44Z
<ChillerDragon> If the devil would encrypt the hell? would it be shell?
13:45
<ChillerDragon> as in secure hell?
13:45
<ChillerDragon> like sftp etc
13:45
<ChillerDragon> okok wasnt funi i go
Avatar
Avatar
Learath2
If I was any less confident in being right about this I might be concerned about how against it you are
i can just repeat what i said last time. I generally am not the biggest fan of uncontrolled jumps, this includes: return break and all the other stuff my brain forgot now
13:46
with return i ofc mean return mid func
Avatar
I think an early return is more readable than an if branch covering the whole function
Avatar
an early return is different: it's basically an if else
13:50
around the whole function
13:50
if u mean with early, directly at the start of the function
Avatar
ah, you're okay with returns if they're easily translatable intto huge if-else blocks?
Avatar
i am ok with returns that don't destroy the flow of a function
13:52
so if the if else is mid function
13:52
no
Avatar
Avatar
Jupstar ✪
with return i ofc mean return mid func
nono
13:52
return is evil
13:52
we must use out pointers
Avatar
wat
Avatar
fn(a,b,c, *result)
Avatar
ah, ez
13:53
@Jupstar ✪ i think csharp has a keyword
13:53
out x
Avatar
instead of reference
Avatar
cool shit
Avatar
void Method(out int answer, out string message, out string? stillNull) { answer = 44; message = "I've been returned"; stillNull = null; }
Avatar
is it write only?
Avatar
imho its better rust
13:54
just use tuples
13:54
i think c# simply doesnt have first class tuples
13:55
idk
Avatar
yeah in rust for example u can code without using return
13:55
isnt that epic
13:55
u just omitting it written
Avatar
no
Avatar
its implicit at end of scopes
Avatar
yes
13:55
that's what i mean
13:56
it guarantees that the flow isn't destroyed
13:56
aslong u dont secretly use ? (edited)
13:56
xd
13:59
@Jupstar ✪ i made ryocrater, to learn vulkan
13:59
im gonna make some simple renderer or smth
13:59
im such a pro with names
Avatar
sounds nice
14:01
crater sounds like the german word Krater, which is basically the opposite of a Vulkan
14:01
which is also a german word
14:03
A volcanic crater is an approximately circular depression in the ground caused by volcanic activity. It is typically a bowl-shaped feature containing one or more vents. During volcanic eruptions, molten magma and volcanic gases rise from an underground magma chamber, through a conduit, until they reach the crater's vent, from where the gases esc...
14:03
u such a genius
Avatar
Avatar
Ryozuki
idk, i think vulkano has a nice goal, only allow u to do safe correct stuff according to the spec
I wrote a raytracer using vulkano. considering it was my first rendering project, it must've been quite nice to work with ^^ maybe they didn't exist back then, but I don't remember seeing those _unchecked methods my approach was taking the triangle example, understanding it and expanding it, that worked well :)
Avatar
Avatar
Patiga
I wrote a raytracer using vulkano. considering it was my first rendering project, it must've been quite nice to work with ^^ maybe they didn't exist back then, but I don't remember seeing those _unchecked methods my approach was taking the triangle example, understanding it and expanding it, that worked well :)
they existed
👍 1
14:06
the unchecked methods are hidden from the docs
14:06
to see them u have to build the docs urself
14:06
wit the feature document_unckeched
Avatar
interesting approach ^^
Avatar
its more cuz the function does essentially the same, without checks, and it would cluttler the docs with lot of repeated functions iirc
Avatar
does literally every function have a _unchecked variant, or is that guesswork. I guess it would clutter the docs either way
Avatar
i think the first
Avatar
huh interesting
Avatar
maybe not all
14:08
but rust analyzer should show u them
Avatar
thats handy ofc
Avatar
Avatar
Patiga
I wrote a raytracer using vulkano. considering it was my first rendering project, it must've been quite nice to work with ^^ maybe they didn't exist back then, but I don't remember seeing those _unchecked methods my approach was taking the triangle example, understanding it and expanding it, that worked well :)
raytracer as in global illumination?
Avatar
I kinda with that wgpu would also introduce a _unchecked variant for certain methods
Avatar
Avatar
Jupstar ✪
raytracer as in global illumination?
yea :)
Avatar
nice
Avatar
I recall some details and it wasn't written all that well in some aspects xd
14:11
like the ray directions
14:12
we didn't simply calculate them in the fragment shader from the position on the screen, nonono
Avatar
twgpu also is kindof a ray tracer 😉
Avatar
we had a texture as big as the viewport that had the direction vector for each pixel of the screen which we updated whenever the screen size changes
14:13
heh, I guess ^^
Avatar
do you study computer graphics?
14:13
or why we
Avatar
yea, was a group project with a friend
Avatar
It can also be used to trace the path of sound waves in a similar fashion to light waves, making it a viable option for more immersive sound design in video games by rendering realistic reverberation and echoes.
14:14
do u think this is used
14:14
in games
Avatar
iirc EFT uses some ray tracing for it's sounds
Avatar
but I don't study computer graphics specifically, was just one course which piqued my interest
Avatar
wats eft
Avatar
Escape From Tarkov
14:16
Or was it DayZ hmm
Avatar
iwant arma 4
Avatar
this reminded me, the metro exodus game has one of the best impls of using raytracing from nvidia
14:22
its pretty simple iirc, they simply did not calculate the raytraces every frame like all games stupidly do
Avatar
Mh, sounds very bad for frame pacing though
Avatar
all other devs were so stupid, why didnt they do it like them 😂
Avatar
OUT NOW! We’re happy to let you know that the Metro Exodus PC Enhanced Edition is now released, bringing on board incredible improvements for Ray Tracing-capable GPUs, including Field of View options, DLSS 2.0, and much more. It is also a free entitlement to current owners – as it is so extensive
14:25
here is the explanation
14:25
i explain it badly dont mind me
14:25
this is a nice blog
14:25
4a is the dev
Avatar
Avatar
Jupstar ✪
all other devs were so stupid, why didnt they do it like them 😂
You seem to love your ad populums
Avatar
Avatar
Learath2
You seem to love your ad populums
sry i forgot everything about latin
14:27
enlighten me
Avatar
it's just good old bandwagon fallacy, the fact that all the other devs didn't do it doesn't imply that they are smarter (nor does it imply that they are stupid)
Avatar
it was an answer to "like all games stupidly do"
Avatar
Avatar
Jupstar ✪
it was an answer to "like all games stupidly do"
xd well most do
14:31
this is why rtx is unusable
14:31
in most games
14:31
like hogwarts
14:31
they simply slap rtx
14:31
dont reason about it
14:31
in exodus its actually usable
14:31
check the steam reviews
Avatar
what do they do at a 180° turnaround?
Avatar
Avatar
Jupstar ✪
it was an answer to "like all games stupidly do"
I thought you were implying that it's not stupid to do with the lol
Avatar
no, i just decided to use smileys everywhere now
Avatar
Whether it's stupid or not idk, but the fact that everyone does it is not a valid argument is all I wanted to say 😛
14:34
smileys are eerie
Avatar
weeb emojis better
14:35
or troll
14:35
KannaSip
14:37
Found a queue family with 16 queue(s) Found a queue family with 2 queue(s) Found a queue family with 8 queue(s) Found a queue family with 1 queue(s)
14:37
i have lot of families
Avatar
ChillerDragon BOT 2023-05-24 15:03:37Z
!jup
Avatar
chillerbot BOT 2023-05-24 15:03:37Z
@Jupstar ✪
15:03
<ChillerDragon> pog pog my new pc arrived
15:03
amazing
Avatar
ws-client BOT 2023-05-24 15:04:05Z
<ChillerDragon> it so loud -.-
15:04
<ChillerDragon> has fakin water cool shit and noise such bs
Avatar
u can turn coolers down
Avatar
ws-client BOT 2023-05-24 15:04:26Z
<ChillerDragon> my old pc is silent af and it has dry cooler that never broke
Avatar
bro no joke, i once forgot to plugin my cpu fan
15:04
didint notice for 2 weeks xD
15:04
if passive cooler is big enough, ez
Avatar
ws-client BOT 2023-05-24 15:05:02Z
<ChillerDragon> do i look like a chiller?
Avatar
go into you UEFI and make it more silent
Avatar
ws-client BOT 2023-05-24 15:05:09Z
<ChillerDragon> idk how cooler works
15:05
<ChillerDragon> doesnt it then get hot or smsn?
15:05
<ChillerDragon> why isnt default sensible?
Avatar
it gets hot, but if u target 70° it should be fine
Avatar
ws-client BOT 2023-05-24 15:05:47Z
<ChillerDragon> 70!?
Avatar
yeah
Avatar
ws-client BOT 2023-05-24 15:05:55Z
<ChillerDragon> my old is 40 max when hot af
15:06
<ChillerDragon> it ususally vibes at 28
Avatar
well then target 60
15:06
or simply test it out
15:06
but 70° should be fine without degradation
Avatar
ws-client BOT 2023-05-24 15:06:34Z
<ChillerDragon> im scared i melt my hardware xd
Avatar
most modern CPUs are tested 24/7 at like 90°
15:07
so chill
Avatar
ws-client BOT 2023-05-24 15:07:11Z
<ChillerDragon> I just realized i can do the arch install via ssh idk why i never did something like that its so nice
Avatar
chiller
15:09
why intel
Avatar
ws-client BOT 2023-05-24 15:09:15Z
<ChillerDragon> best single core cpu
15:09
<ChillerDragon> according to gutefrage net
Avatar
iks de
Avatar
ws-client BOT 2023-05-24 15:09:27Z
<ChillerDragon> xd
Avatar
did u check out the new ryzen ones
Avatar
ws-client BOT 2023-05-24 15:09:40Z
<ChillerDragon> all benchmarks i saw this was best single core
Avatar
it depends on the games
Avatar
AMD Ryzen™ 9 7950X
15:10
Max. Boost Clock Up to 5.7GHz
Avatar
ws-client BOT 2023-05-24 15:10:25Z
<ChillerDragon> holy shit i have never seen so many cores in htop xd
15:10
<ChillerDragon> its so fun to upgrade hardware after sooo many years
Avatar
32 threads
15:10
ez
15:10
upgrade always fun
15:11
but its hard to upgrade when i got good pc already
Avatar
tbf rn, amd is not really a better value
15:11
ryzen 3d max are still over expensive
15:11
x3d
Avatar
chiller got a 4090 to run his tw bots
Avatar
ws-client BOT 2023-05-24 15:11:39Z
<ChillerDragon> xd
Avatar
chillerdragon: please test following config on a map without weapons (e.g. gores map): gfx_refresh_rate 0; cl_refresh_rate 0; gfx_asyncrender_old 1; gfx_vsync 0; gfx_backend Vulkan; cl_showhud_ddrace 0; cl_showhud_dummy_actions 0; cl_showhud_healthammo 0; cl_showhud_jumps_indicator 0; cl_showhud_player_angle 0; cl_showhud_player_position 0; cl_showhud_score 0; cl_showhud_player_speed 0; cl_showfps 1; cl_overlay_entities 100
15:14
thanks
Avatar
ws-client BOT 2023-05-24 15:15:10Z
<ChillerDragon> fan stopped omg
Avatar
on local empty server
Avatar
ws-client BOT 2023-05-24 15:15:15Z
<ChillerDragon> it alr diening
15:15
<ChillerDragon> i didnt even start arch install yet will take some time until i can launch tw but i will
Avatar
ah and gfx_fullscreen 1
15:15
and x11
15:16
and linux
Avatar
ws-client BOT 2023-05-24 15:16:13Z
<ChillerDragon> i was thinking more about ponyOS
15:16
<ChillerDragon> linux is too mainstream
Avatar
if it aint hit 15k fps
15:16
sell PC
Avatar
gpu fun not running is normal
Avatar
to me, for 10$
Avatar
ws-client BOT 2023-05-24 15:16:43Z
<ChillerDragon> jup i am on 4k tho
15:16
<ChillerDragon> so
Avatar
wont matter
Avatar
ws-client BOT 2023-05-24 15:16:52Z
<ChillerDragon> i never saw more than 800fps in my life
Avatar
its a fucking 4090
Avatar
in worst case put it to full hd for the test
Avatar
ws-client BOT 2023-05-24 15:17:25Z
<ChillerDragon> dw ill use gimp to boost fps screenshot anyways
Avatar
ah cl_background_entities "" so empty
15:17
ez
Avatar
ws-client BOT 2023-05-24 15:18:00Z
<ChillerDragon> rigged stats
15:18
<ChillerDragon> and return; in every components ::OnRender ?
Avatar
troll
15:18
ofc not
Avatar
ws-client BOT 2023-05-24 15:19:17Z
<ChillerDragon> is it still cool to use legacy boot mode in 2023?
Avatar
yes
Avatar
ws-client BOT 2023-05-24 15:19:31Z
<ChillerDragon> pog
15:19
<ChillerDragon> i hate efi
15:23
<ChillerDragon> jupsti why local server?
15:23
<Jupstar> no other players
15:23
<ChillerDragon> there are online servers without players
15:23
<Jupstar> then go there idc :D
15:23
<ChillerDragon> ok
15:23
<ChillerDragon> still installing arch
15:23
<ChillerDragon> BTW
Avatar
what
15:24
it takes 3 minutes
Avatar
ws-client BOT 2023-05-24 15:24:17Z
<ChillerDragon> im taking it slow
Avatar
yeah also kidding, i always forget all commands
15:24
and have to look in wiki xd
Avatar
ws-client BOT 2023-05-24 15:25:02Z
<ChillerDragon> its so pog im on my main pc and can copy with ma mouse from da wiki
15:25
<ChillerDragon> never done that
15:26
<Jupstar> cool u implemented unread msgs
15:26
<Jupstar> gg
15:26
<ChillerDragon> yes
15:26
<ChillerDragon> and a few emotes like :pepeH:
15:26
<ChillerDragon> wow doesnt load does it? xd
Avatar
use eufi
Avatar
ws-client BOT 2023-05-24 15:26:44Z
<Jupstar> it doesnt
15:26
<Jupstar> rip
15:26
<ChillerDragon> its security
15:26
<ChillerDragon> lemme haack da mainframe sec
15:27
<Jupstar> your chat feels so instant compared to dc xd
15:27
<Jupstar> i click enter instant there
15:27
<ChillerDragon> it doesnt fake render
15:27
<ChillerDragon> it waits for reply from server
15:27
<ChillerDragon> so its fast because its actually fast
15:27
<Jupstar> epic
15:27
<ChillerDragon> irc is pog
15:27
<Jupstar> now rewrite in wasm
15:27
<Jupstar> for 5% more performance
15:28
<ChillerDragon> ehm
15:28
<ChillerDragon> WHAT THE ACTUAK FUCK
15:28
<ChillerDragon> WHAT THE FUCK
15:28
<Jupstar> if ur pc died
15:28
<Jupstar> give me
15:28
<Jupstar> np
15:28
<ChillerDragon> no it makes sound
15:28
<ChillerDragon> when i do ssh things on my other pc
15:28
<ChillerDragon> they are now conencted
15:28
<ChillerDragon> wtf
15:28
<ChillerDragon> how
15:28
<ChillerDragon> spyware botnet
15:28
<ChillerDragon> WTF
15:28
<ChillerDragon> it makes a bell sound
15:28
<ChillerDragon> on crack
15:29
<Jupstar> nice
15:29
<ChillerDragon> how
15:29
<ChillerDragon> :pepeH:
15:29
<ChillerDragon> ez fixed
15:29
<ChillerDragon> i needed to reload
15:29
<Jupstar> nice
15:29
<ChillerDragon> no autocomplete u have to literally type : emotename :
15:29
<Jupstar> pls save last login name in localstorage xd
15:30
<ChillerDragon> i think mine saves
15:30
<Jupstar> 😢
15:30
<ChillerDragon> chrome issue
15:30
<Jupstar> 😂
15:30
<Jupstar> :/
15:30
<ChillerDragon> i only have 🚀 :fuckyousnail: and :justatest:
15:30
<ChillerDragon> the basics xd
15:30
<Jupstar> that's 99% of all of ryo's emotes
15:31
<ChillerDragon> oh because of tmux
15:31
<ChillerDragon> i attached to my tmux session
15:31
<ChillerDragon> thats why the bell
15:31
<ChillerDragon> ye makes sense
Avatar
where is the chat
15:32
url
Avatar
ws-client BOT 2023-05-24 15:32:16Z
<Jupstar> dont leak :c
15:32
<ChillerDragon> o
15:32
<ChillerDragon> ah ye urls are also clickable now
15:32
<ChillerDragon> and ip grabber images are fixed
15:32
<RustIsBetterThanC> hi
15:32
<RustIsBetterThanC> im new
15:32
<ChillerDragon> sure
15:32
<RustIsBetterThanC> :justatest:
15:32
<Jupstar> !rust hi
15:32
<RustIsBetterThanC> :hisnail:
15:33
<ChillerDragon> ye bot is broken
Avatar
Avatar
ws-client
Damn that's a beast
15:33
u dont have this chiller
Avatar
Y didn't you go for an amd cpu?
Avatar
ws-client BOT 2023-05-24 15:33:12Z
<ChillerDragon> because prefix
15:33
<ChillerDragon> @Learath2 single core power is the best they say online
15:33
for u
Avatar
ws-client BOT 2023-05-24 15:33:32Z
<ChillerDragon> ty
15:33
<ChillerDragon> which name?
15:33
<RustIsBetterThanC> :hisnail:
15:33
<ChillerDragon> ima add
Avatar
Yeah, but multicore is cool and I like how amd keeps their socket alive for longer
15:33
Chipset*
15:34
also this
15:34
Avatar
ws-client BOT 2023-05-24 15:34:10Z
<RustIsBetterThanC> oh
15:34
<RustIsBetterThanC> u got it
15:34
<RustIsBetterThanC> xd
15:34
<ChillerDragon> multicore is cool but single core is mostly a bottleneck isnt it
Avatar
ws-client BOT 2023-05-24 15:34:28Z
<Jupstar> for gaming yes
15:34
<ChillerDragon> i only use this pc to play tw
15:34
<Jupstar> i thought so
Avatar
its way overkill
15:34
for ddnet
Avatar
Ah nice, 69k fps
Avatar
ws-client BOT 2023-05-24 15:34:48Z
<ChillerDragon> no
15:34
<Jupstar> its underkill
15:35
<ChillerDragon> agree
15:35
<RustIsBetterThanC> agree
Avatar
You are getting close to being able to render onto reality itself
Avatar
ws-client BOT 2023-05-24 15:35:24Z
<RustIsBetterThanC> das
15:35
<RustIsBetterThanC> no multiline
15:35
<Jupstar> but im jealos when someone has 4090. i also want one, but i also want open source drivers
15:35
<Jupstar> so im doomed
15:35
<Jupstar> thanks amd
15:36
<ChillerDragon> i also struggled with that
15:36
<ChillerDragon> amd having complicated names helped my decision xd
15:37
<ChillerDragon2> :hissnail:
15:37
<ChillerDragon2> fk
15:37
<ChillerDragon3> ah now reload worked
15:38
<ChillerDragon3> do they even show on discord?
Avatar
ws-client BOT 2023-05-24 15:38:23Z
<ChillerDragon> trash
Avatar
ws-client BOT 2023-05-24 15:38:26Z
<ChillerDragon> and what about 🔥 ?
15:38
<ChillerDragon> so only basics no custom?
Avatar
ye that one shows
Avatar
ws-client BOT 2023-05-24 15:38:35Z
<ChillerDragon> and 🚀 too then
Avatar
ws-client BOT 2023-05-24 15:38:42Z
<ChillerDragon> i see
15:38
<ChillerDragon> sad
15:38
<ChillerDragon> maybe the bridge should then replace them with image tags for discord
15:38
<ChillerDragon> idk
Avatar
You can't send emoji like that, you need to use the custom emoji syntax
Avatar
:hissnail:
15:40
damn, no idea how to escape it properly
15:40
\:hisnail:
15:41
<\:hisnail:768893210726367232>
Avatar
ws-client BOT 2023-05-24 15:41:18Z
<ChillerDragon2> <:hisnail:768893210726367232>
15:41
<ChillerDragon2> dis work? xd
15:41
<ChillerDragon2> hisnail
15:41
<ChillerDragon2> or maybe this
Avatar
The last one worked
Avatar
ws-client BOT 2023-05-24 15:41:43Z
<ChillerDragon2> hm good to know
15:41
<ChillerDragon2> yea i should probably send those then
Avatar
There is another member variable CPlasma::m_aTargetIdInTeam that contains for every team the client ID of the team member currently being dragged by this dragger. The client IDs in this array also need to be swapped accordingly or the dragger will not switch target correctly when swapping. Closes #5865.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] W...
Avatar
hilarious that webhooks have access to emojis from other servers
Avatar
ws-client BOT 2023-05-24 16:05:28Z
<ChillerDragon2> wait wot?
16:05
<ChillerDragon2> isnt thet emoji from this server?
16:05
its from private
Avatar
ws-client BOT 2023-05-24 16:05:45Z
<ChillerDragon> how can you use it?
Avatar
i have nitro
Avatar
ws-client BOT 2023-05-24 16:05:53Z
<ChillerDragon> rich
Avatar
ws-client BOT 2023-05-24 16:06:08Z
<ChillerDragon> that is indeed funny then
16:06
<ChillerDragon> so https://chat.zillyhuhn.com/ is basically free discord nitro
troll 1
16:06
<ChillerDragon> pog
16:06
<ChillerDragon> we need more bridged channels
16:06
<ChillerDragon> pls
16:07
<Nouaa> 🍊
Avatar
ws-client BOT 2023-05-24 16:08:34Z
<Matodor> @Matodor
16:08
<ChillerDragon> oh o
16:08
<ChillerDragon> do i need to blacklist pings?
Avatar
free discord nitro? now add themes
16:09
jk
Avatar
ws-client BOT 2023-05-24 16:09:24Z
<ChillerDragon> xd
16:09
<Voxel> Testing on mobile
Avatar
When scrolling the server browser or editor file browser (any list box) very fast with ui_smooth_scroll_time 0 the highlight for the hovered list item is sometimes delayed by one frame. Reported by @Jupeyy
Avatar
ws-client BOT 2023-05-24 16:10:00Z
<ChillerDragon> i never did probably looks ass
16:10
<ChillerDragon> send screen
16:10
<Voxel> Why are some icons squished?
16:10
<ChillerDragon> honestly idk
16:10
<ChillerDragon> i spend 5min debugging
16:10
<ChillerDragon> didnt get it and rq
Avatar
too big for screen. i can scroll down.
16:10
Avatar
ws-client BOT 2023-05-24 16:10:52Z
<ChillerDragon> why did the image not preview -.-
Avatar
!c make the chat open codable
Avatar
chillerbot BOT 2023-05-24 16:11:02Z
ChillerDragon
Avatar
so everyone can code it
16:11
absolutely not risk
16:11
y
Avatar
ws-client BOT 2023-05-24 16:11:35Z
<ChillerDragon> it used to be
Avatar
Avatar
Jupstar ✪
!c make the chat open codable
coding it so my messages bounce across the screen like a funny rubber ball
Avatar
ws-client BOT 2023-05-24 16:12:00Z
<ChillerDragon> it would render all messages sent as full html/css/js xd
16:12
<ChillerDragon> jopsti in case ur wondering how far i am with the fps test
16:13
<ChillerDragon> i am starting arch install again from scratch because i picked wrong drive xd
Avatar
ah ok
16:13
np
16:13
totally normal
Avatar
ff51ede Fix incorrect swapping with draggers - Robyt3 c64f524 Merge #6658 - bors[bot]
Avatar
Avatar
Learath2
B.S., M.S., Ph.D. yet unable to follow a simple goto
i don't mind goto in general, but in this specific case, it's clearly more confusing. At least, the function name is a good documentation 😉
Avatar
We clearly have differing opinions
16:55
It's heaps clearer to me at a glance with the guard pattern than scrolling up to see what CheckReservedAuth might be doing
Avatar
ws-client BOT 2023-05-24 16:56:51Z
<RustyCexpert> isnt the function name telling it already?
16:56
<RustyCexpert> @Ryozuki
16:57
<RustyCexpert> !c hmm, have you found a name for your chat?
16:57
<RustyCexpert> YAC ?
16:58
<RustyCexpert> :hisnail:
Avatar
hmmm, so @people work but not emotes/emojis
Avatar
ws-client BOT 2023-05-24 16:59:50Z
<RustyCexpert> damn, where's my beautiful profile picture in here ?
Avatar
chillerbot BOT 2023-05-24 16:59:57Z
ChillerDragon
Avatar
ChillerDragon BOT 2023-05-24 17:00:46Z
i dont think it ever gets a name
17:00
the frontend repo is called discord-irc and the backend irc-websockets
17:01
its not a real chat its just a irc client/wrapper basically
Avatar
ws-client BOT 2023-05-24 17:01:55Z
<Chiller@newpc> time bash -c 'mkdir build && cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release && ninja'
17:02
<Chiller@newpc> ddnet build became such bloat
17:02
<Chiller@newpc> my first raspberry pi 1990 edition did build vanilla code base faster than this pc
17:02
<Chiller@newpc> alone cloning the 30k commits and 7 submodules breaks my internet
17:02
<Chiller@newpc> real 1m14.154s
17:03
<Chiller@newpc> user 3m37.487s
17:03
<Chiller@newpc> mostly doing rust downloads tho because the rust git thingy is slow and so is my internet
17:03
<Chiller@newpc> jup i got ddnet i forgot the config pls resend
Avatar
ok
Avatar
ws-client BOT 2023-05-24 17:04:09Z
<Chiller@newpc> i had mild panic because i got black screen when installing gnome xd
Avatar
gfx_refresh_rate 0; cl_refresh_rate 0; gfx_asyncrender_old 1; gfx_vsync 0; gfx_backend Vulkan; cl_showhud_ddrace 0; cl_showhud_dummy_actions 0; cl_showhud_healthammo 0; cl_showhud_jumps_indicator 0; cl_showhud_player_angle 0; cl_showhud_player_position 0; cl_showhud_score 0; cl_showhud_player_speed 0; cl_showfps 1; cl_overlay_entities 100; gfx_fullscreen 1; cl_background_entities ""
Avatar
ws-client BOT 2023-05-24 17:04:39Z
<Chiller@newpc> seems like this pc does not want to start without nvidia drivers :justatest:
17:04
<Chiller@newpc> fak
17:04
<Chiller@newpc> i have no screenshot bind yet
17:05
<Chiller@newpc> sec
Avatar
client has built in support
17:05
for screenshots
Avatar
ws-client BOT 2023-05-24 17:05:22Z
<ChillerDragon> not irc
Avatar
code-commander BOT 2023-05-24 17:09:09Z
hello
Avatar
ws-client BOT 2023-05-24 17:10:00Z
<Chiller@newpc> o/
17:10
<Chiller@newpc> thats one line right? .-.
Avatar
code-commander BOT 2023-05-24 17:10:59Z
this is my very first time using irc
Avatar
ws-client BOT 2023-05-24 17:11:00Z
<Chiller@newpc2> omg why does the image not preview anymore all bugged
17:11
<Chiller@newpc2> im not sure if this soydev looking discord ripoff can be considered actual irc usage xd
17:11
<Chiller@newpc2> did u use twitch chat before?
17:11
<Chiller@newpc2> thats also irc
Avatar
code-commander BOT 2023-05-24 17:11:49Z
really?
Avatar
ws-client BOT 2023-05-24 17:11:54Z
<Chiller@newpc2> it used to be
Avatar
code-commander BOT 2023-05-24 17:11:55Z
i didn't know that
Avatar
ws-client BOT 2023-05-24 17:11:59Z
<Chiller@newpc2> they extended it
Avatar
code-commander BOT 2023-05-24 17:12:02Z
I haven't used twitch chat before
17:12
I don't really use twitch
Avatar
Avatar
ws-client
yes one line
Avatar
ChillerDragon BOT 2023-05-24 17:15:23Z
omg console still empty
17:15
or did i forget to pull
Avatar
dunno
17:16
<Chiller@newpc2> :justatest:
Avatar
use pure ddnet for test
Avatar
ws-client BOT 2023-05-24 17:16:13Z
<Chiller@newpc2> i do
17:16
<Chiller@newpc2> but my fork
Avatar
oh
Avatar
ws-client BOT 2023-05-24 17:16:20Z
<Chiller@newpc2> its behind i think
Avatar
ok
Avatar
ws-client BOT 2023-05-24 17:16:23Z
<Chiller@newpc2> its not 15k
Avatar
code-commander BOT 2023-05-24 17:16:31Z
what game is that?
Avatar
ws-client BOT 2023-05-24 17:16:32Z
<Chiller@newpc2> im on fullhd btw
17:16
<Chiller@newpc2> i plugged in only my smol 20$ trash screen
Avatar
in no way u at 3k fps at full hd
17:16
that would be a laugher
Avatar
ws-client BOT 2023-05-24 17:17:05Z
<Chiller@newpc2> uhm
17:17
<Chiller@newpc2> what can i say xd
Avatar
did u restart after command?
Avatar
ws-client BOT 2023-05-24 17:17:13Z
<Chiller@newpc2> no
Avatar
ok do that and update to master
Avatar
ws-client BOT 2023-05-24 17:17:24Z
<Chiller@newpc2> ok
Avatar
ChillerDragon BOT 2023-05-24 17:17:56Z
oh yea i was behind
17:18
not better xd
Avatar
so
17:20
press f1 after client start
17:20
show purple text
Avatar
ChillerDragon BOT 2023-05-24 17:21:01Z
ok xd
17:21
Avatar
ok
17:22
then u join a server without weapons
17:22
go on kog server and vote ckisbzw1
Avatar
ChillerDragon BOT 2023-05-24 17:23:05Z
i make map
17:23
i mapper
17:24
17:24
i mean i expected nothing more xd
17:24
as i said i never saw more than 800 fps in my life
Avatar
bro
17:25
u forgot to enable XMP?
Avatar
ChillerDragon BOT 2023-05-24 17:25:23Z
wat
Avatar
in no world u have 4,5k fps on an empty mapo
17:25
with my settings
Avatar
ChillerDragon BOT 2023-05-24 17:25:42Z
what can i say xd
Avatar
u use gnome right?
Avatar
ChillerDragon BOT 2023-05-24 17:25:55Z
yes
Avatar
can u start tty2 and type startx
17:26
and start without gnome xd
Avatar
ws-client BOT 2023-05-24 17:26:21Z
<Chiller@newpc2> xd
17:26
<Chiller@newpc2> lemme try
Avatar
ChillerDragon BOT 2023-05-24 17:27:02Z
startx command not found
17:27
OMG the resoltuoin is ass i can t see shit xd
Avatar
xinit
17:29
initx
17:29
i dunno
17:29
install openbox
Avatar
ChillerDragon BOT 2023-05-24 17:29:57Z
omg what a effort
Avatar
bro
17:30
i cant accept 4k fps
17:30
with a pc double as good as mine
Avatar
gnome being the culprit would be very odd
Avatar
ChillerDragon BOT 2023-05-24 17:30:14Z
how many u goit?`
17:30
i mean i also have nvidia
Avatar
i get 12k fps usually
Avatar
ChillerDragon BOT 2023-05-24 17:30:29Z
and scuffed linux drivers
Avatar
if i have nothing running
Avatar
ChillerDragon BOT 2023-05-24 17:30:37Z
nice
Avatar
u can try with opengl 3.3
Avatar
ChillerDragon BOT 2023-05-24 17:30:46Z
shouldv bought amd then i guess
17:30
ur switch to windows xd
Avatar
with that i also get around 10k fps
17:31
windows is slower
17:31
by design
17:31
i want to blame gnome
17:31
but just to be sure: u enabled XMP in UEFI?
17:31
what does memory speed report
Avatar
ChillerDragon BOT 2023-05-24 17:31:36Z
wat is that
Avatar
memory clock speed
17:31
let me see how to query in linux
Avatar
ChillerDragon BOT 2023-05-24 17:31:50Z
i didnt do anything
Avatar
sudo lshw -short -C memory
Avatar
ChillerDragon BOT 2023-05-24 17:32:19Z
i am fully confident its nvidia + linux
Avatar
no dude
17:32
even with my old gtx 760 i got like 6k fps
17:32
with my old gtx 980 i get 800 fps
Avatar
even I get 5.2k or so in aip gores
Avatar
chiller did u compile in debug?
Avatar
ChillerDragon BOT 2023-05-24 17:33:17Z
gnome cant be that bad
17:33
nah
17:33
release
Avatar
oh and this is a debug build
17:33
let me try a release one
Avatar
ChillerDragon BOT 2023-05-24 17:33:35Z
should i download from ddnet.org?
Avatar
LMAO
17:33
i swear it must be gnome, so i can laugh my ass off
17:34
no wonder everyone hates linux when they install ubuntu xD
Avatar
ChillerDragon BOT 2023-05-24 17:34:20Z
xd
17:34
ubuntu is way worse
Avatar
What map do you check on @Jupstar ✪ ?
Avatar
ChillerDragon BOT 2023-05-24 17:34:29Z
than debian or arch w gnome
Avatar
Avatar
Learath2
What map do you check on @Jupstar ✪ ?
ckisbzw1
17:34
insane gores map
Avatar
which server even has that? kog?
Avatar
yes
17:35
but usually i do it on lan server anyway
17:35
but aip gores is good too
17:35
should be similar
Avatar
ChillerDragon BOT 2023-05-24 17:36:09Z
i got openbox
17:36
its just a mouse
Avatar
mh, on release build I get about 5.4k, not much of a difference there
Avatar
ChillerDragon BOT 2023-05-24 17:36:16Z
all black
Avatar
yeah
17:36
right click
17:36
open terminal
17:36
start ddnet
17:36
@Ryozuki how much do u get on gentoo?
17:36
fps
17:36
around
Avatar
funfact I get 8k fps in opengl 3.3
17:37
lol
Avatar
nvidia?
Avatar
cant test now
17:37
im a mmo player i got a raid soon
17:37
santatrollet
Avatar
ChillerDragon BOT 2023-05-24 17:37:42Z
its just a mouseaaa
Avatar
Avatar
Jupstar ✪
nvidia?
yep gtx 1080
Avatar
ChillerDragon BOT 2023-05-24 17:37:44Z
a
17:37
a
17:37
a shit
Avatar
Avatar
Learath2
yep gtx 1080
mhh even that isnt impressive tbh
17:38
should be around 10k fps
Avatar
ChillerDragon BOT 2023-05-24 17:38:02Z
hoiw to resize windows
Avatar
it was on my old AMD Vega
17:38
well nvm tbh, it's purely CPU bottleneck
Avatar
gl3.3 performing better than vulkan isn't concerning?
Avatar
ChillerDragon BOT 2023-05-24 17:38:22Z
it took fucking 20s to open termional everything is bugged
17:38
openbox suck ass
Avatar
Avatar
Learath2
gl3.3 performing better than vulkan isn't concerning?
yeah it is
17:38
but that must be some nvidia weirdness xd
17:38
on windows most ppl said it performed better
Avatar
ChillerDragon BOT 2023-05-24 17:39:03Z
17k fps
17:39
on Ton2 ddnet pub servwe4 weith playerts
17:39
xd
Avatar
wtf
Avatar
ChillerDragon BOT 2023-05-24 17:39:15Z
but i cant see shit
17:39
how to resize windows
Avatar
so its really GNOME?
Avatar
ChillerDragon BOT 2023-05-24 17:39:23Z
AAA
17:39
found it
Avatar
that would be the funniest shit ever
Avatar
ChillerDragon BOT 2023-05-24 17:39:29Z
finally
17:39
yea so openbox is reaaaaally bugged
Avatar
but yes it is sucking my cpu dry with your settings,
Avatar
ChillerDragon BOT 2023-05-24 17:39:44Z
and it felt like windows 89
Avatar
yeah openbox sucks, but its almost no overhead xD
Avatar
ChillerDragon BOT 2023-05-24 17:39:54Z
it took sooooo long to open gnome terminal and so on
17:40
but yea 17k fps
Avatar
epic
17:40
new record confirmed
17:40
make screenshot but go on empty server
Avatar
ChillerDragon BOT 2023-05-24 17:40:26Z
hgow xd
Avatar
F10
Avatar
ChillerDragon BOT 2023-05-24 17:40:34Z
a
17:40
xd
17:41
fps dont get better
17:41
on empty
Avatar
ok
17:41
well make screenshot tho
17:41
i need for record
17:41
is this opengl 3.3 now, or vulkan?
17:41
can you try the other
17:41
just to be sure
Avatar
ChillerDragon BOT 2023-05-24 17:42:26Z
i like minimal but bro openbox makes me nervous af
17:42
i really wanna leave xd
Avatar
bro u dont need to use
17:42
just do what i said then i leave u alone
Avatar
ChillerDragon BOT 2023-05-24 17:42:44Z
rn
17:43
openbox mf hang it self
Avatar
nvidia problems
17:44
lol 🇬 🇳 🇴 🇲 🇪 lol
17:44
!c do u switch to kde now?
Avatar
chillerbot BOT 2023-05-24 17:44:33Z
ChillerDragon
Avatar
ChillerDragon BOT 2023-05-24 17:46:08Z
hm im honestly thinking about it xd
17:46
wow firefox just took 20secs to boot on gnome
17:46
fresh install
17:46
my life is cursed
Avatar
r u using gnome in cpu mode or smth xd
Avatar
ChillerDragon BOT 2023-05-24 17:47:14Z
17:47
idk man
17:47
it never took that long to open ff
17:47
!voz
17:47
thanks
Avatar
i need discord link so it stays forever
Avatar
ChillerDragon BOT 2023-05-24 17:47:46Z
.-.
17:48
screenshot is so boring
17:48
xd
17:48
the number does funi flickering
17:48
i wouldnt be able to play with this fps on
17:48
the render cant keep up rendering the fps
Avatar
yeah u dont need to
17:49
use 1k fps, u should be able to play almost tearing free with that
17:49
that was the reason for new pc, right?
Avatar
ChillerDragon BOT 2023-05-24 17:50:18Z
yes
17:50
i mean new screen fixed tearing actually
17:50
but it introduced such a weird washing effect
17:50
that gave me major eye and head break
Avatar
see if u can control monitor overwrite
17:51
or ghosting
Avatar
ChillerDragon BOT 2023-05-24 17:51:09Z
and also vim taking 10s to write a 200l file made me wanna buy new hardware xd
Avatar
smth is brokn with ur setup
Avatar
ChillerDragon BOT 2023-05-24 17:51:35Z
no doubt
17:51
too lazy to debug i just throw money at it
Avatar
clever
Avatar
ChillerDragon BOT 2023-05-24 17:51:53Z
ikr
Avatar
yea
Avatar
Chiller did you check gl vs vk?
Avatar
he rq, bcs he hates openbox xD
Avatar
Was it actually a gnome issue?
Avatar
maybe its a setting
17:56
but defs bad defaults, if gnome issue
17:56
anti gaming settings
Avatar
That is just bizarre, doesn't gnome just give up the screen completely in fullscreen?
Avatar
i guess the compositor can overwrite it
17:57
if it wants
Avatar
<Chiller@newpc> mostly doing rust downloads tho because the rust git thingy is slow and so is my internet
ChillerDragon: install a newer rust version, the rust git thingy is gone there
Avatar
not yet by def
17:58
iirc
17:58
next version does
Avatar
my nightly does it
17:58
ah
Avatar
chillerdragon BOT 2023-05-24 18:10:44Z
I did rustup defaults
Avatar
can you run rustup uninstall troll
Avatar
Avatar
Learath2
oh yeah someone bypassed the repeating number thing
18:12
lol
Avatar
chillerdragon BOT 2023-05-24 18:15:14Z
This trash graphic card has only one hdmi port rip 3rd screen
18:15
Yea same (@Learath2)
Chiller did you check gl vs vk?
Avatar
Why are you using hdmi and not dp?
Avatar
what are the differences between the two?
Avatar
chillerdragon BOT 2023-05-24 18:16:05Z
It’s 10bucks screen
18:16
It has only hdmi
18:17
I am tempted to use my old 4k as secondary but it’s pointless overkill
Avatar
Avatar
heinrich5991
what are the differences between the two?
DP 2.0 would have a higher bandwidth than HDMI 2.1
Avatar
dp is an open standard
Avatar
and on a higher level, why do both exist?
18:18
ah, nice
Avatar
ok, but its weird
18:19
DisplayPort (DP) is a digital display interface developed by a consortium of PC and chip manufacturers and standardized by the Video Electronics Standards Association (VESA). It is primarily used to connect a video source to a display device such as a computer monitor. It can also carry audio, USB, and other forms of data.DisplayPort was designe...
Avatar
dp better
18:21
my 3080 has 3 dp
Avatar
DisplayPort supports multi stream transport, which means you can daisy chain monitors or run multiple monitors off of one cable
Avatar
Avatar
Learath2
DisplayPort supports multi stream transport, which means you can daisy chain monitors or run multiple monitors off of one cable
hdmi too?
18:22
well prob less monitors, but you can have like 2 monitors for eg
Avatar
does hdmi support hdr?
Avatar
i mean basically all TVs support it
18:23
would be weird if not
Avatar
with display port u can have a real 8K display
Avatar
Are you sure? hdmi > 2.0 has the bandwidth for it but I've never seen it advertised, nor have I ever seen a hdmi demux
Avatar
8k 144hz
18:24
xd
Avatar
at 75hz
Avatar
rip
Avatar
As far as google suggests hdmi can't do daisy chaining at any version
Avatar
Avatar
Learath2
Are you sure? hdmi > 2.0 has the bandwidth for it but I've never seen it advertised, nor have I ever seen a hdmi demux
typically dell displays allows you to have 2 monitors
18:25
High-resolution displays and multiple displays with a single connection, via a hub or daisy-chaining
Avatar
I have a dell monitor, it can do dp daisy chaining, I haven't seen hdmi daisy chaining on it though
Avatar
HBR3 mode with 25.92 Gbit/s of effective video bandwidth, using CVT-R2 timings, allows eight simultaneous 1080p displays (1920 × 1080) @ 60 Hz, stereoscopic 4K UHD (3840 × 2160) @ 120 Hz, or 5120 × 2880 @ 60 Hz each using 24 bit RGB, and up to 8K UHD (7680 × 4320) @ 60 Hz using 4:2:0 subsampling[
18:26
18:26
over hdmi
Avatar
i need 8k 480hz
Avatar
hdmi has royaltees
18:27
dp is royaltee free
Avatar
i always find it weird, that manufactors accept stuff like this
18:28
its like windows
18:28
ppl are forced to use it
18:28
due to popularity
Avatar
yeah
18:28
but why does it get popular in first place xD
Avatar
it doesnt feel like the competition is not there
Avatar
cuz no alternative existed
18:28
i guess
18:28
its basically, whoever enters first the market
Avatar
well maybe, yeah 😄
Avatar
gets this huge advantage
18:29
until market settles
18:29
speaking like a capitalist
Avatar
@Learath2
18:30
ah mybad was talking about thunderbolt
👍 1
18:30
smth different
Avatar
Avatar
Ryozuki
nobo
I suck at multimedia hollande
Avatar
Avatar
Jupstar ✪
i always find it weird, that manufactors accept stuff like this
The other option at the time was dual link DVI, which was this clunky cable, I guess the hdmi founders saw an opportunity to make a sexy connector and use their oligopoly to make it a standard
Avatar
Avatar
Learath2
The other option at the time was dual link DVI, which was this clunky cable, I guess the hdmi founders saw an opportunity to make a sexy connector and use their oligopoly to make it a standard
yeah but like, why would the biggest players in the market not be able to do this their own xD
18:32
or they did
18:32
and it was called HDMI xd
Avatar
Avatar
Jupstar ✪
and it was called HDMI xd
this indeed
18:36
^^
18:36
That's basically the entire display market
Avatar
xd
18:36
so get the money from the small companies
18:36
nice
Avatar
Why is cl_threadsoundloading default 0? Did threaded sound loading ever cause issues on any system? I think we could change the default to 1 and also remove the settings checkbox for this, because it doesn't seem relevant and understandable enough for users to be in the UI.
Avatar
probs ancient windows users
Avatar
Avatar
Robyt3
Why is cl_threadsoundloading default 0? Did threaded sound loading ever cause issues on any system? I think we could change the default to 1 and also remove the settings checkbox for this, because it doesn't seem relevant and understandable enough for users to be in the UI.
it was once an issue, when mem_alloc was not thread safe
18:38
but that was like 5 years ago
18:39
i have it on 1 since many years
Avatar
hmm, we could rename the config variable to do a reset for all users and change it to 1
Avatar
should be safe
18:39
we dont need to rename it
Avatar
I also use 1 since always
Avatar
we dont save the default value
Avatar
ah yeah
Avatar
we should™ get better config handling
Avatar
^^
Avatar
try not to monetize standards challenge impossible difficulty
Avatar
Avatar
heinrich5991
we should™ get better config handling
like json? or still using the old line-based system?
Avatar
Avatar
Learath2
try not to monetize standards challenge impossible difficulty
but mpeg already sounds like a greedy comp
18:41
😂
Avatar
Avatar
Robyt3
like json? or still using the old line-based system?
like a way to distinguish between unset and variables set explicitly to default
Avatar
Avatar
Robyt3
like json? or still using the old line-based system?
Preferably still using the old line based system but with a way to distinguish unset
Avatar
plus a way to save settings that the client doesn't know about (edited)
Avatar
someone ever implemented Future trait in rust theirself?
Avatar
many times
Avatar
is there no way to move the underlaying self out?
Avatar
only for toy examples
Avatar
or why is it not possible
18:44
self: std::pin::Pin<&mut Self> why does it need to use a ref
Avatar
Avatar
Jupstar ✪
is there no way to move the underlaying self out?
it's possible if you implement unpin, if I understand your question correctly
Avatar
mh ok
18:44
let me try that
Avatar
  • [ ] Provide a way to distinguish between unset and variables set explicitly to default.
  • [ ] Allow client to still save settings that it doesn't know about.
Avatar
implementing unpin is automatic
18:44
either your type is unpin or not
Avatar
might be related or not to the last "attack" on Swarfey's server, but a bot named Admin_tee joined my server dfng. It's a bot because it gets timed out with 999 ping and it also joined ALIVE fng solo (edited)
18:45
it seemed to advertise a stream link
18:46
I can provide logs if neccessary ;)
Avatar
DM me the IP please
Avatar
it's multiple
Avatar
its currently connected to over 100 servers
18:48
ok somtimes twice
18:48
maybe 50
18:48
85
Avatar
Avatar
Mr.Gh0s7
might be related or not to the last "attack" on Swarfey's server, but a bot named Admin_tee joined my server dfng. It's a bot because it gets timed out with 999 ping and it also joined ALIVE fng solo (edited)
ah looking at the screenshot he provided yesterday those are definetly proxies (not related to the thing u talk today)
Avatar
Avatar
ReiTW
ah looking at the screenshot he provided yesterday those are definetly proxies (not related to the thing u talk today)
ah ok :)
Avatar
Avatar
GitHub
Click to see attachment 🖼️
AAH! THIS ISSUE IS EVIL!
Avatar
Avatar
Voxel
AAH! THIS ISSUE IS EVIL!
why?
Avatar
Avatar
Jupstar ✪
self: std::pin::Pin<&mut Self> why does it need to use a ref
mh, what is the issue with this? do you want the ownership of the future to be passed to the poll method? The executor still needs the future though
Avatar
Avatar
heinrich5991
why?
wait for #6666
justatest 1
18:51
😄
Avatar
Avatar
Learath2
mh, what is the issue with this? do you want the ownership of the future to be passed to the poll method? The executor still needs the future though
but doesnt it get a Poll as return
18:51
that thing will have the ownership
Avatar
I mean they could have decided on that too yeah, that would also have been a viable option, but why tho?
Avatar
but maybe it works anyway
Avatar
Avatar
heinrich5991
wait for #6666
biggest question is what will happen after 9999
Avatar
Instead of enum Poll, it'd have to be a struct, with the future and the result of the poll, then the executor can take it back from that
Avatar
will u all organize a party for celebrating the 10k issues
Avatar
523a3c4 fix- Replaced usage of m_ProofBorders and m_MenuProofBorders with enum EProofBorder - tarunsamanta2k20 61ef621 Modifications in three files - tarunsamanta2k20 f23f74e fixing some error - tarunsamanta2k20 e74c60d Modified some files - tarunsamanta2k20 79d8928 made requested changes - tarunsamanta2k20 ef78e36 replaced second enum - tarunsamanta2k20 fcaab77 modified some files as asked - tarunsamanta2k20 050bf4a Made sugested changes - tarunsamanta2k20 e8a33cf fiing linting issue - tarunsamanta2k20 f982dd7 fixing linting issue - tarunsamanta2k20 03a5dde Merge #6639 - bors[bot]
Avatar
Avatar
Jupstar ✪
but maybe it works anyway
Are you having an issue with something specific or just want to know why the choice btw?
Avatar
Avatar
Learath2
Are you having an issue with something specific or just want to know why the choice btw?
i dunno, i guess i assumed it doesnt work with pin
18:55
i did this let mut a = Pin::new(&mut self.connecting); let mut b: Type = Type::None; std::mem::swap(&mut *a, &mut b); and compiler doesnt throw any error
18:55
so i'm fine
18:55
if it panics, rip
Avatar
Eh, too little context for me to understand what you are asking, maybe @heinrich5991 can dissect it
Avatar
Avatar
Jupstar ✪
i did this let mut a = Pin::new(&mut self.connecting); let mut b: Type = Type::None; std::mem::swap(&mut *a, &mut b); and compiler doesnt throw any error
this doesn't really do anything
18:58
ah wait
18:58
try mem::replace(&mut a, Type::None)
Avatar
but i need the content of the pinned data
Avatar
Avatar
heinrich5991
DM me the IP please
done
Avatar
somewhere in the code i call x.await and x holds the data i want, but x is actually 2 different paths one path is a normal async block like we know it, there the impl for Future is easy the other is normal data. i just want to have the data without needing a Arc here
Avatar
Pin doesn't prevent you from modifying the content, it just means the Future can not move in memory
Avatar
well as long it doesnt access the memory twice
19:00
i'm ok with that
19:00
the future
19:01
the fake future 😂
Avatar
So you just want a future that resolves immediately?
Avatar
basically yeah, to reduce code dublication
Avatar
std::future::ready()
19:02
but yea, mem::replace would work for tha
19:02
t
Avatar
Avatar
heinrich5991
std::future::ready()
ah yeah
19:02
makes sense
Avatar
Not sure how optimized this is but it's actually already a thing 😄
Avatar
well thats too ez
19:02
xd
Avatar
Avatar
Learath2
Not sure how optimized this is but it's actually already a thing 😄
it's in std too
19:03
and not sure what you'd want to optimize there
19:03
it's just an option
Avatar
yeah thanks
19:04
cleaner than moving memory around
Avatar
Avatar
heinrich5991
and not sure what you'd want to optimize there
idk it might entail a move or sth, I haven't taken a look
Avatar
Avatar
Mr.Gh0s7
might be related or not to the last "attack" on Swarfey's server, but a bot named Admin_tee joined my server dfng. It's a bot because it gets timed out with 999 ping and it also joined ALIVE fng solo (edited)
hmm there are a lot of servers with "Admin_tee" in them but only 3 of them registered with the blue tick. Could this be resolved arlready in the latest ddnet server?
Avatar
Avatar
Mr.Gh0s7
hmm there are a lot of servers with "Admin_tee" in them but only 3 of them registered with the blue tick. Could this be resolved arlready in the latest ddnet server?
nothing to resolve there, really. official servers probably have proxy detection
Avatar
Ah ok nice
Avatar
Avatar
heinrich5991
we should™ get better config handling
using rust tm
19:08
i like toml
Avatar
Avatar
Jupstar ✪
i did this let mut a = Pin::new(&mut self.connecting); let mut b: Type = Type::None; std::mem::swap(&mut *a, &mut b); and compiler doesnt throw any error
Constructs a Pin<&mut T>, by pinning a value: T locally.
Avatar
Avatar
Ryozuki
i like toml
What's nice about our current setup is how console commands and configuration is unified
Avatar
do u think it can create issues to block on a future inside a Future impl?
19:17
the future is ready
Avatar
then just call poll on it
19:18
do you mean your future::ready?
19:18
just forward the call to that future
Avatar
Avatar
heinrich5991
then just call poll on it
so i poll the future to poll the resulting future that gets the returning Poll?
19:19
i use the result of the future to create a new future
19:19
and thats what i currently poll
Avatar
can you give me a bit of source?
Avatar
let connection = tokio_tungstenite::accept_async(connection.block_on().0); //<-- this is a ready future for simpli let ws_stream = pin!(connection).poll(cx); ws_stream.map(|f| match f { Ok(connection) => Ok(TungsteniteNetworkConnectionWrapper { con: Arc::new(ConnectionType::Server(connection)), }), Err(err) => Err(err.to_string()), })
Avatar
is this in a Future impl? (edited)
Avatar
yes
Avatar
I question the reason why you want to implement it manually here
19:24
wouldn't it work properly if you'd just write this as an async function?
19:24
but if you absolutely want to, call poll and unwrap the result
Avatar
yeah it's weird, but the websocket impl is a bit easier than quic so it's a bit hacky
19:25
the network code wants a future here
Avatar
Avatar
Jupstar ✪
the network code wants a future here
an async function returns a future
19:27
i.e. no need to implement future manually if you just need a future
Avatar
mh i guess i'll just call accept_async in the code before
Avatar
Before: !screenshot_2023-05-24_21-22-53 After: !screenshot_2023-05-24_21-22-29

Checklist

  • [X] Tested the change ingame
  • [X] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage...
Avatar
i guess i wanted the server and client connecting phase to look similar
19:28
but maybe its too annoying
19:29
the ws server wants a tcp accept first, then ws accept
19:29
the ws client simply connects
19:29
i dont even understand why they split it
19:30
when i defs want a ws client anyway
19:30
Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation - tokio-tungstenite/server.rs at master · snapview/tokio-tungstenite
19:31
yeah nvm me, i'll just move the call
19:31
anything else looks stupid xD
Avatar
you can also combine two async functions into one, by writing an async function
19:32
I think I don't udnerstand the problem fully ^^
Avatar
yeah b ut i assume then i block other tcp accepts meanwhile?
19:32
since the function doesnt return
19:34
ok last question How to save a future as attribute of a struct
19:34
Box<dyn Future>?
Avatar
oftne, you can't name the future's type, yes
19:35
then it's Box<dyn Future<Output=something>>
19:35
otherwise, you could also name the future directly
19:35
e.g. future::ready() returns a known type
Avatar
but if its not ready
Avatar
now we're definitely confused
Avatar
in theory i know the resulting type
Avatar
Avatar
heinrich5991
then it's Box<dyn Future<Output=something>>
would Box create a useless heap object?
Avatar
yes
Avatar
mhh
Avatar
unavoidable if you can't name the future's type
19:37
but e.g. tokio::sleep returns a nameable type
Avatar
so type in a sense of an enum member?
19:37
ready, not_ready,
Avatar
no
Avatar
whatever they are called
19:37
the output type?
Avatar
no
19:37
ok
19:38
so, e.g. i32 is a type
19:38
it implements Debug
19:38
similarly, tokio::sleep, returns a type named Sleep that implements Future
19:39
or std::future::ready returns a type named Ready that implements Future as well
19:39
but often, you'll deal with types you cannot name that also implement Future
19:39
e.g. when you write an async function, you'll get such an unnameable type
Avatar
why is that so tho?
19:39
in this case at least
Avatar
because there's nothing like decltype in rust (yet)
19:40
there's a proposal to make that nameable
Avatar
mh ok
19:40
well i'll just use Box now
19:40
anything else is too confusing
Avatar
sounds good 🙂
Avatar
chillerdragon BOT 2023-05-24 19:53:19Z
!jup what do you even Code all day
19:53
Omg bot
Avatar
chillerbot BOT 2023-05-24 19:53:20Z
@Jupstar ✪
Avatar
chillerdragon BOT 2023-05-24 19:53:43Z
Ah it’s Matrix being slow ofc
Avatar
Adding a new spectator mode, that can spectate a team by moving the camera in the middle and zooming in/out Works with team 0 or any team, but you have to work with it a bit to get used to it. I tried to make it as intuitive as possible. There are still bugs in this pr, but i want a first opinion on this, especially on the implementation, since i dont know anything about the network code so i didnt touch it, havent really contributed something this big yet :) https://github.co...
Avatar
i rarely (sadly) code on a new engine
Avatar
chillerdragon BOT 2023-05-24 19:54:43Z
!ping
Avatar
chillerbot BOT 2023-05-24 19:54:43Z
pong
Avatar
i want to use the engine for some personal stuff and later for ddnet playground
Avatar
chillerdragon BOT 2023-05-24 19:54:48Z
From scratch?
19:54
In rust?
Avatar
yes, but it's only a 2d engine, so nothing too fancy
Avatar
chillerdragon BOT 2023-05-24 19:55:12Z
Hahhahahaha get fucked matrix ping pong takes like 2 minutes (<@749222324980416602_chillerbot>)
19:56
Playground to add rust render code to ddnet?
Avatar
no
19:56
i'd have already finished that, but since i use rust's enums it's too hard to port to c++
19:57
i just want to play around with how i imagine ddnet... actually vanilla teeworlds as a first step
Avatar
chillerdragon BOT 2023-05-24 19:57:01Z
What playground then
Avatar
then i rq
19:57
it's just a term to say "experimental"
Avatar
chillerdragon BOT 2023-05-24 19:57:19Z
I don’t get it
19:57
How is your engine teeworlds related?
Avatar
on a playground i play around
19:57
i think u dont understand i reimplement teeworlds, but as i imagine it
19:57
no backward compability
Avatar
chillerdragon BOT 2023-05-24 19:57:58Z
Ah
Avatar
no 0.7
19:58
😬
Avatar
chillerdragon BOT 2023-05-24 19:58:13Z
With networking?
19:58
0.6 compatible?
Avatar
ofc not
19:58
i use a completely new implemenation
19:58
using quic
Avatar
chillerdragon BOT 2023-05-24 19:58:42Z
I see
Avatar
and i also want to support websockets, but actually for web compability
19:58
only
Avatar
chillerdragon BOT 2023-05-24 19:58:49Z
How much you have?
Avatar
not so much for ddnet
19:59
i can join a server, jump around but the skin rendering isnt finished
19:59
and the server would require to send the certificate somehow to the client
Avatar
chillerdragon BOT 2023-05-24 19:59:19Z
Wow that’s amazing
Avatar
rn i am cheating a bit xd
Avatar
chillerdragon BOT 2023-05-24 19:59:26Z
Where can I run it?
Avatar
it's not public rn
Avatar
chillerdragon BOT 2023-05-24 19:59:41Z
WTF
Avatar
Avatar
Jupstar ✪
and the server would require to send the certificate somehow to the client
wdym, should be done as part of the tls handshake, no?
Avatar
chillerdragon BOT 2023-05-24 19:59:52Z
Imagine doing not public
Avatar
Avatar
heinrich5991
wdym, should be done as part of the tls handshake, no?
the sha of the cert
20:00
so the client can trust it
Avatar
ah
Avatar
chillerdragon BOT 2023-05-24 20:00:14Z
And then not buying Nvidia
Avatar
I'm doing the public key directly, instead
Avatar
i can release it, but its extremly unfinished
Avatar
chillerdragon BOT 2023-05-24 20:00:35Z
Proprietary jupster
Avatar
and basically all commits are u
Avatar
chillerdragon BOT 2023-05-24 20:00:36Z
So do
Avatar
xd
Avatar
chillerdragon BOT 2023-05-24 20:00:46Z
Better than nothing
20:00
I give you a star
Avatar
well i can create a snapshot if u want
20:00
but i dont want to maintain it
20:01
or accept any kind of pr
Avatar
chillerdragon BOT 2023-05-24 20:01:08Z
There is no maintenance
Avatar
i actually dont even want anyone to read it yet
Avatar
chillerdragon BOT 2023-05-24 20:01:18Z
Where do you git push now?
Avatar
it's very prototyping
Avatar
chillerdragon BOT 2023-05-24 20:01:24Z
Why not?
Avatar
its very bad code xD
Avatar
chillerdragon BOT 2023-05-24 20:02:06Z
Elitism
20:02
Yes whatever then stay closed src until you ready but sounds interesting
20:02
If bad code should not be published I would have to make 200 repos private
Avatar
i mean
20:02
i can release it, i just dont want u to read it
20:03
u can test how amazingly fast the maps load
Avatar
chillerdragon BOT 2023-05-24 20:03:08Z
Dw i can’t read
Avatar
bcs i put a lot of effort making every run at high speed
Avatar
sounds cool 🙂
Avatar
chillerdragon BOT 2023-05-24 20:03:40Z
Does it load regular maps ?
Avatar
Avatar
heinrich5991
sounds cool 🙂
(on modern hardware) xd
Avatar
@deen
I can't watch the full video somehow
does this one work?
Avatar
how do a push the latest commit without history? 😅
Avatar
you could squash all the commits
20:06
other than that, not possible?
20:06
not sure
Avatar
yeah but i dont want to destroy my commits yet 😄
Avatar
you can squash everything on a branch
Avatar
These days git checkout has a --orphan option that makes a branch with no history.
20:06
nice
Avatar
don't use or read this code. Contribute to Jupeyy/dd-pg development by creating an account on GitHub.
Avatar
chillerbot BOT 2023-05-24 20:10:21Z
ChillerDragon
Avatar
it might require rust nightly, never tested without
20:12
ah yeah was experimenting with wasm
20:12
so u need to build the wasm thing in debug mode xD
20:13
cargo build --target wasm32-unknown-unknown -p ui
20:13
before building the project itself
20:14
ah and it has no prediciton, nothing
20:14
really just ported gamecore
20:14
just dont use it lol
Avatar
I'm guessing some poor typosquatter managed to hit a gov agency and is about to get alphabet soup all over him.
20:25
xd
Avatar
fd0e9b1 Remove unused snd_device config variable - Robyt3 460cda8 Set minimum/maximum values for snd_rate - Robyt3 70b5e4b Remove settings edit box for snd_rate - Robyt3 b5637df Enable threaded sound loading per default again - Robyt3 60ac3b3 Remove settings checkbox for cl_threadsoundloading - Robyt3 34b66d2 Pass nullptr instead of unused UI rect - Robyt3 495a0c7 Merge #6661 - bors[bot]
Avatar
Avatar
bencie
@deen
I can't watch the full video somehow
does this one work?
yes, but only 7 seconds
Avatar
ddnet with postgres? 😄
Avatar
thats the vid in the pr
22:14
7s ye
Avatar
ok, my browser showed 14s and the error at some point
Avatar
ah idk, the youtube link he posted afterwars is 80secs long so thats a bit more useful
22:15
what on earth?
22:16
why not use new normally and do CleanerFunctions.push([pKernel, pClient]() { pKernel->Shutdown(); delete pKernel; delete pClient; free(pClient); }); (edited)
22:22
okay discord is displaying my images in a stupid way so i guess i have to post code snippets instead. poor chillerdragon
22:22
static CClient *CreateClient() { CClient *pClient = static_cast<CClient *>(malloc(sizeof(*pClient))); mem_zero(pClient, sizeof(CClient)); return new(pClient) CClient; } ... // Init client CClient *pClient = CreateClient(); ... // Deinit (client included) CleanerFunctions.push([pKernel, pClient]() { pKernel->Shutdown(); delete pKernel; pClient->~CClient(); free(pClient); });
Avatar
i had syntax highlighting on mobile for like 5 minutes. now it’s gone. where did it go o_O
Exported 1,351 message(s)