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-02-23 00:00:00Z and 2023-02-24 00:00:00Z
Avatar
wildchancho BOT 2023-02-23 01:05:08Z
hi there
Avatar
Avatar
chillerdragon
What’s that (@newlesstee)
The image of discord presence
Avatar
it's 7am xD I tryhard too much openscad. Does anyone know any other script/language based 3D CAD software. I just found out (really like 5 mins ago) about libfive https://libfive.com/.
04:59
ig Ryozuki would use the rust bindings xD https://crates.io/crates/libfive
05:01
I'm gonna go to sleep now πŸ˜‰
Avatar
Couldn't sleep I started learning Guile/Scheme Guile is an implementation of the Scheme programming language. Scheme (http://schemers.org/) is an elegant and conceptually simple dialect of Lisp, originated by Guy Steele and Gerald Sussman, and since evolved by the series of reports known as RnRS (the Revisedn Reports on Scheme). https://www.gnu.org/software/guile/manual/guile.pdf (edited)
Avatar
Also verify that absolute imports are done using #include <> in CI.

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 [ASan+UBSan...
Avatar
wow it is kinda hard to keep this channel's attention haha
Avatar
Avatar
Ewan
i would happily port to ddnet cuz it's a small feature. but would it be welcome? that's what i'm asking (edited)
pls read
Avatar
ChillerDragon BOT 2023-02-23 12:48:40Z
read wjat
Avatar
Avatar
Ewan
would ddnet be interested in this feature https://github.com/danielkempf/TaterClient-ddnet/pull/14
angle speed and position are already in ddrace on the latest versions, in bottom right, i cant really see a need to have any of the others there considering its already on screen, and looking at another part of the screen is pretty easy.. might be useful in some cases but idk
13:04
i think you are completely misunderstanding the point
13:05
you might not have even read it
Avatar
ive read it ^^ i just dont see a need for it considering you can see a whole screen without moving your eyes, its a nice idea, but for me personally i cant see myself using it
Avatar
not personally
13:09
which might be why i prefer it
Avatar
seems cool but we didn't even add a option for freeze_stars and animations, cause of the burden to maintain the code. So if it gets merged be ready to do some maintaining in the future ;)
Avatar
1a2c82c Mark absolute #includes as absolute - heinrich5991 cf43d6d Verify that absolute imports are done using #include <> in CI - heinrich5991 ebe605a Merge #6355 - bors[bot]
Avatar
trying to run local masterserver but i got this error https://pastila.nl/?00827058/0198008796bcd0c732a3f2e74f7c0b7b when executing POST request to http://127.0.0.1:8080/ddnet/15/register response is ok (need challenge) but masterserver dont send challenge token
17:30
main.rs:676
Avatar
UB in rust??? @Ryozuki explain this rn
Avatar
Avatar
Matodor
trying to run local masterserver but i got this error https://pastila.nl/?00827058/0198008796bcd0c732a3f2e74f7c0b7b when executing POST request to http://127.0.0.1:8080/ddnet/15/register response is ok (need challenge) but masterserver dont send challenge token
17:56
and master server don't support Content-Type header with charset Content-Type: application/json; charset=utf-8
17:57
i got {"status":"error","message":"The request's Content-Type is not supported"} when send with charset=utf-8
Avatar
ChillerDragon BOT 2023-02-23 18:00:03Z
try content type application/json 🀷 random guess xd
18:00
without charset
Avatar
Avatar
Learath2
UB in rust??? @Ryozuki explain this rn
where
Avatar
ChillerDragon BOT 2023-02-23 18:00:44Z
why would you need to specify the charset?
Avatar
i mean u get a result with a err and u unwrap it, panicking
Avatar
Avatar
ChillerDragon
why would you need to specify the charset?
because i want write in C#: request.Content = JsonContent.Create(_interactor.ServerInfo); instead of request.Content = JsonContent.Create(_interactor.ServerInfo, mediaType: new MediaTypeHeaderValue("application/json") { CharSet = null, });
18:02
by default it sends with charset
Avatar
@Matodor i googled and found this answer
18:03
"Just had this problem. Turns out my hard drive was full..."
18:03
lmao
Avatar
is ur disk full
Avatar
idk how to interpret that letters
Avatar
just see white space in bars πŸ˜„
Avatar
Found it. The address used as the local endpoint for the socket, in SetupLocalSocket(), used a similarly naive method of getting the address; by resolving the local host and getting the first address. That first address, more often than not, is an IPv6 address, not the IPv4 address that was obviously expected. So, I had it look for the first IPv4 address in the list and use that as the endpoint, and it worked.
Avatar
Avatar
Ryozuki
idk how to interpret that letters
free of
Avatar
another answer
18:05
@Alloyd of what
18:05
terabytes?
18:05
xd
18:05
1 cookie free of cookies
Avatar
Avatar
Ryozuki
@Alloyd of what
gigabytes
Avatar
Avatar
Ryozuki
terabytes?
Π“Π‘ = gb Π’Π‘ = tb
Avatar
more like ub this looks correctly handled by tokio
18:06
ur doing something odd and the os gives u that error
18:07
btw what version of tokio u using
Avatar
what is tokio?
18:08
i just install rustup and execute 'cargo build.....'
18:08
dont have experience with rust
18:10
I'll try to run it on other ports now, maybe some one is really used
Avatar
tokio is a rust library
18:11
that provides a async runtime
Avatar
Original message was deleted or could not be loaded.
just check player for "Spectator" mode enabled when grenade hit him? πŸ€”
Avatar
@Matodor I wouldn't be surprised if it was never tested on windows, so maybe wait for @heinrich5991 to show up, he can help you debug it
πŸ™πŸ» 1
Avatar
this just sounds like a bot promotion
Avatar
oh ye it probs wont work on windows
18:45
well idk
Avatar
Original message was deleted or could not be loaded.
did i just hear hard r n word
Avatar
and im a billionaire
Avatar
just ban this troll
Avatar
i'd like to learn more about ddnet's build system
Avatar
top g nuked
Avatar
there's obviously some other stuff in here than cmake
18:50
cargo
Avatar
CMake directs it all
Avatar
well yeah
Avatar
cargo is called by cmake when needed
Avatar
when is it needed
18:51
does it handle cpp deps too?
Avatar
When compiling rust modules of which we don't have any yet
Avatar
we have one
18:52
it prints the rust version xd
18:52
that is awesome
18:52
what are you going for with the rust interop
18:52
equivalent API exposure to cpp or specialized stuff
Avatar
I should take a look at ddnet's rust binding
Avatar
if im real, its quite the effort to do anything with rust due to the ffi
18:53
or maybe its me cuz im lazy
18:53
(in the context of ddnet i mean)
18:53
i think many of the safeties involved in rust are kind of null and void when working with a codebase like this anyway
18:53
an existing bug trap
Avatar
they arent void
Avatar
but it is cool
Avatar
its just that they are a bit useless cuz c++ exists
Avatar
Honestly I'm thinking maybe we should have waited until there was a usecase with rust :/
18:54
Maybe I'll rewrite the authmanager in rust just so it's not completely useless
Avatar
heinrich was looking into doing the network in rust but replacing such a core part of the code turned out not so easy to do with ffi iirc
Avatar
Use AF_XDP sockets for ddnet giga_chad
19:02
In our previous post we introduced the placeholder async<A> syntax to describe the concept of a "function which is generic over its asyncness". We always knew we wanted something that felt lighter weight than that, so in for our current design we've chosen to drop the notion of a generic parameter for the end-user syntax, and instead picked the ?async notation. We've borrowed this from the trait system, where for example + ?Sized indicates that something may or may not implement the Sized trait. Similarly ?async means a function may or may not be async. We also refer to these as "maybe-async" functions.
19:02
Interesting read
19:04
Also this for const
Avatar
Align the color picker selection and reset buttons on the right side instead of the left side dependent on the label width. Closes #6237. The UseCheckBox argument is removed and instead pCheckBoxValue != nullptr is used. !screenshot_2023-02-23_22-29-08 ![screenshot_2023-02-23_22-29-22](https://user-images.githubusercontent.com/23437060/221035667-5b06fc20-3931-45d5-af5e-c5ea...
Avatar
a182198 Align color picker buttons on right side - Robyt3 952b916 Merge #6356 - bors[bot]
Avatar
Avatar
Matodor
trying to run local masterserver but i got this error https://pastila.nl/?00827058/0198008796bcd0c732a3f2e74f7c0b7b when executing POST request to http://127.0.0.1:8080/ddnet/15/register response is ok (need challenge) but masterserver dont send challenge token
you want RUST_BACKTRACE=1, generally btw
22:33
not full
22:39
maybe the problem is that windows sockets are ipv6 only?
Exported 116 message(s)