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 2021-06-13 00:00:00Z and 2021-06-14 00:00:00Z
02:56
8814107 Github Workflow Ubuntu 16.04 -> 18.04 - def- 25b2b5b Merge pull request #3886 from def-/pr-ubuntu - Jupeyy
Avatar
add pls last timestamp of update into https://master1.ddnet.tw/ddnet/15/servers.json greenthing
Avatar
@Matodor it has the "Last-Modified" header
Avatar
As reported by AbyssY! !s

Checklist

  • [ ] 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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing ...
Avatar
Avatar
Matodor
add pls last timestamp of update into https://master1.ddnet.tw/ddnet/15/servers.json greenthing
As heinrich5991 said, you can use the http header. It's just a static file on the server: curl -s -I -i https://master1.ddnet.tw/ddnet/15/servers.json | grep last-modified
Avatar
Reported by Quick from DDPER: ``` Thread 1 "DDNet-Server" received signal SIGABRT, Aborted. 0x00007ffff74c27bb in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff74c27bb in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff74ad535 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff7504508 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff750ac1a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007ffff750c8a2 in ?? () from ...
11:06
f02f51b Luminosidad is too long in Spanish - def- b5c1259 Merge pull request #3902 from def-/pr-spanish - def-
Avatar
Is it really necessary to bors r+ for updating translation?
Avatar
chillerdragon BOT 2021-06-13 11:24:40Z
good point we need CI for translations :D
Avatar
not really, just wanted to point that it sounds useless
Avatar
chillerdragon BOT 2021-06-13 11:25:39Z
i assume u can wait for bors on this :)
11:25
be patient
Avatar
its not about waiting, its about energy loss
Avatar
chillerdragon BOT 2021-06-13 11:27:34Z
imo deciding on every pr if bors is needed or not is enegery loss
Avatar

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
@Anime.pdf weeb
Avatar
Avatar
lynn
@Anime.pdf weeb
u
transheart 1
Avatar
have anyone ported vanilla/ctf to ddnet codebase?
Avatar
@trml not that I'm aware of
13:44
@Ryozuki I asked yesterday but you missed it I think, have you ever used tokio-rs/tracing?
Avatar
Avatar
Learath2
@Ryozuki I asked yesterday but you missed it I think, have you ever used tokio-rs/tracing?
i kinda did
13:44
basically i just put the # at functions and use the logging functions
13:44
iirc
13:45
#[tracing] on functions setups the spans for u
13:45
#[tracing::instrument]
13:45
*
Avatar
Do you like it?
Avatar
i dont know why i need to use tracing over log so idk what to tell u
13:46
i think tracing is better for async or smth
Avatar
ah, it's supposed to solve the problem where in async programs it's really hard to figure out where a logging event is coming from
Avatar
i guess the span stuff is good to trace where logs come from
13:46
hehe
13:46
xd
13:46
ye
13:46
that
Avatar
Avatar
Learath2
ah, it's supposed to solve the problem where in async programs it's really hard to figure out where a logging event is coming from
i think the instrument even shows the argument values
13:47
but im not sure
13:48
there is also a cache library i found rly interesting
13:48
API documentation for the Rust cached crate.
13:48
this is for local cache, not distributed stuff
13:49
maybe u find it useful
13:49
for ur bot
13:52
@Learath2 btw if u ever need to debug print (but debug in the sense of finding a bug and not debug logs), https://doc.rust-lang.org/std/macro.dbg.html best
Prints and returns the value of a given expression for quick and dirty debugging.
13:52
Prints and returns the value of a given expression for quick and dirty debugging.
13:52
xd
Avatar
oh this is cute, I've just been using println! as I always have but this is much better
Avatar
@Learath2 this is why its so useful
13:53
u can put it everywhere
13:54
btw if u want to debug the contents of a struct i recommend passing it as & because dbg! moves the value
13:54
dbg!(&mystruct)
13:55
You can also use dbg!() without a value to just print the file and line whenever it’s reached.
13:55
they rly thought it out
13:55
i didnt know that last bit
13:55
xd
16:06
a47754b fix russian translation - Anime-pdf 8491fde Передавать - Anime-pdf 4bdbe42 Merge pull request #3904 from Anime-pdf/patch-2 - def-
16:07
16:14
Avatar
there is not a git command that add every edited file?
16:22
i mean with git add ...
16:23
git add -all doeesn't work :C
Avatar
git add -A
Avatar
git add .
Avatar
Avatar
deen
git add .
that what i need thx
Avatar
git add -A stages all changes git add . stages new files and modifications, without deletions
Avatar
ye git add . is perfect
Avatar
i think git add . also adds deletions
16:25
oh wait in git 2.0 yes
16:26
what r u using
16:26
git from 99
16:26
?
16:26
xd
16:26
Alzheimer
Avatar
git commit -am for the super lazy
Avatar
I assume is the cause the cursor in editor often is gone, bcs when alt tab it moves the cursor based on uninitialized values

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps...
Avatar
chillerdragon BOT 2021-06-13 21:04:44Z
Almost all games allow changing the volume for some categories of sounds separately. I suggest to distinguish between the following volume settings: Global/master/main volume (the existing snd_volu...
Avatar
Any fix for this?
Avatar
@Learath2 can you translate?
22:26
if in doubt, try reinstalling ddnet 😛
Avatar
Error when updating ddnet, (disk writing error)]
22:30
I'd guess disk full
Avatar
or dying hard drive
Avatar
or no hard drive
Exported 89 message(s)