Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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-10-09 00:00:00Z and 2023-10-10 00:00:00Z
Avatar
how do people find time to do stuff.pepeW
02:49
I feel like I'm always busy
02:49
and I kept sleeping through weekends
02:49
kek
Avatar
the worst
Avatar
good morning european gang
Avatar
i don't think they are up quite yet
05:58
but hi fred
Avatar
Avatar
Ewan
i don't think they are up quite yet
Yes they should
Avatar
i usually see them up at 2
06:05
it's 12 for me
06:05
but idk man
Avatar
morning
Avatar
morning
06:17
☕
06:17
with a coffee
06:20
i made some cold brew
06:20
it's nice
06:20
all the ones u buy in a bottle at the store have a weird aftertaste
06:20
mine does not. tastes like coffee
06:21
i consider this a win
Avatar
Avatar
Ryozuki
with a coffee
🍵
Avatar
Avatar
Ewan
i made some cold brew
what does this mean
07:12
cold coffee?
07:12
im not knowledgeable
Avatar
it’s brewed by long exposure to the grounds at a lower temperature
07:12
as opposed to a short exposure at high temp
07:17
f39792f Show correct max length in help text for MACRO_CONFIG_STR - furo321 1fb0235 Merge pull request #7327 from furo321/correct-max-length - def-
Avatar
@Ryozuki are you a coffee addict
07:31
i take 2-3 a day
Avatar
wdym take
07:31
like you take your coffee like a pill or smth
07:31
xd
07:31
mimimimi
Avatar
also 2 or 3 sounds a lot actually
07:32
for me at least
07:32
true tho (edited)
Avatar
why r u chatting
07:33
u should be working
07:33
gigachad
Avatar
i don't want to
07:44
hired a new guy and I was taking him around and introducing him to the team and project
07:44
i'm already tired
07:44
Catxplosion
Avatar
weird i don’t remember any of this
Avatar
does 6-7 cups of tea a day count as addiction? pepeW
Avatar
Add ninja state to save string. Previously ninja was lost during load.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [x] Tested save/load on new version
  • [x] Tested old save string that had ninja and that didn't have ninja
  • [x] Tested with practice mode
  • [x] I looked at the save string to make sure it looks sane
  • [ ] Written a unit test (espe...
Avatar
Why not add a switch that will return 3 stars instead of a new frieze strip? I think many old ddnet players will enjoy playing with stars and the ninja effect after hitting and entering freeze.
Avatar
Avatar
アリヂン
does 6-7 cups of tea a day count as addiction? pepeW
I was wondering how you would drink tees until I realised that I read it wrong
kek 1
Avatar
Avatar
アリヂン
does 6-7 cups of tea a day count as addiction? pepeW
Milk tea has experienced tremendous growth in popularity in China, especially among youths. The primary objective of this study is to investigate whet…
Avatar
I think Milk tea here is referring boba milk tea which is just a sugary drink. Given it is conducted in China and the authors are primarily Chinese.
09:39
6-7 bobas per day would be an explosive amount of sugar intake kek
Avatar
I don't have boba very often but whenever I do it's always half sugar
Avatar
i always read boba as booba
09:46
i dont drink any sugary drinks
09:46
coke zero too
09:46
xd
Avatar
Avatar
Ryozuki
i always read boba as booba
Good reason to drink boba
Avatar
well maybe some has little sugar but u know
09:47
coffee without sugar too
Avatar
Avatar
Ryozuki
i dont drink any sugary drinks
Yeah, it’s pretty rare for me too
Avatar
u know its so easy to drink them
09:47
and they have as much calories as a full meal
09:47
xdd
09:47
i saw some insta story
09:47
like 700 cals
Avatar
Sometimes I’ll get this urge to have one of those extremely sugary starbucks drinks, but other than that not really
Avatar
a big mcdonalds drink somewhere in america
09:48
the only time i went to starbucks was on japan
09:48
cuz i didnt know where to breakfast
09:48
xd
09:49
i went to the starbucks at shibuya
09:49
where u have a view
09:49
of the whole street
Avatar
Ah, yep it’s a cool view
Avatar
all seats separated by walls
09:49
pretty japanese
Avatar
I had a drink in starbucks japan that was completely baffling. It was like just cream with a bit of sugar and ice
09:53
omg
09:54
@Learath2 does clang not support mtune
09:54
ok it isnt that
09:56
oh
09:56
i think firefox is trying to use clang 17
Avatar
Avatar
Ryozuki
@Learath2 does clang not support mtune
It should, the command line interface is usually not different
09:58
its trying to use clang 17 from usr local
09:59
which i installed cuz mlir
09:59
xdd
10:04
9be7ad5 Save/load ninja - Zwelf f81af72 Merge pull request #7328 from Zwelf/pr-save-ninja - def-
Avatar
I'd just drink diet pepsi
Avatar
Avatar
Learath2
I had a drink in starbucks japan that was completely baffling. It was like just cream with a bit of sugar and ice
you can probably tell your local starbucks to make you exactly that if you know what's in it?
Avatar
Avatar
TsFreddie
you can probably tell your local starbucks to make you exactly that if you know what's in it?
Why would I, it wasn't enjoyable at all 😄
10:49
Just a cup full of sweetened cream sold as a Frappuccino
Avatar
@Learath2 did u finish uni yet
Avatar
Avatar
Ryozuki
@Learath2 did u finish uni yet
One more exam, neverending uni pepeW
Avatar
the open source cross-platform DAW
11:26
i am once again building llvm 17
11:26
11:26
pepeW
Avatar
Avatar
TsFreddie
also 2 or 3 sounds a lot actually
i think 5 is the lower bound for too many coffees 😄
Avatar
Avatar
Learath2
One more exam, neverending uni pepeW
are you looking for internship 😛 ?
11:51
are you interested in fault injection ?
Avatar
Avatar
Ryozuki
i wanna be alive when C is obsolete and ppl think of it like fortran or cobol rn
fortran still lives, it's in the backend of numpy, for example. but I agree that at least cobol (maybe also fortran, not sure) is viewed as obsolete
Avatar
@Chairn do internships pay well?
11:57
its sad but the world will probs not pay what learath initially deserves
Avatar
no, we're public service, so the bare legal minimum
11:57
so 550€/month i think
11:58
thats low
11:58
@Learath2 just find a company showing off ur github and contributions to ddnet, tell thjem to ask u C questions
11:58
and u get a well paid job xd
Avatar
Avatar
Ryozuki
thats low
and it needs to be at least 8 weeks, otherwise it's unpaid
Avatar
well in spain its 3-4 months
11:59
and unpaid
11:59
unless u reach a agreement which is usually not case
11:59
and u have to do it
11:59
well im not talking about uni internships
11:59
idk how they do those there
11:59
but probs the same ngl
Avatar
Avatar
Ryozuki
ddnet is among the open source game with highest concurrent players
ozu laser, mindustry, probably others I forget. but still up there
Avatar
osu client is open source
12:00
not the server tho iirc
12:01
@Chairn is there a big disparity among ur students
12:01
in what u feel what they know
12:01
like, did u find someone that clearly knows way more than others
Avatar
obviously yes
12:02
especially in M2 where we got different origins of students, including international ones
Avatar
any ddnet player? xd
Avatar
how would i know 😄 ?
12:06
could they know ur discord handle here
Avatar
i should buy a ddnet shirt maybe
Avatar
and if they chatted here they would know?
12:06
xd
Avatar
discord is banned on uni network
Avatar
Avatar
Chairn
i should buy a ddnet shirt maybe
oh ddnet used to sell em
Avatar
i know, but i never bought one
Avatar
T-Shirts for DDracenetwork: http:ddnet.tw
12:06
here
12:07
i mean maybe u get bullied a bit
12:07
but xd
12:07
@Voxel when design a nice teeshirt
👍 1
Avatar
Avatar
Ryozuki
i mean maybe u get bullied a bit
why would i ?
Avatar
just joking
Avatar
Avatar
Learath2
I had a drink in starbucks japan that was completely baffling. It was like just cream with a bit of sugar and ice
what was the price
Avatar
Avatar
Ryozuki
i mean maybe u get bullied a bit
100%
Avatar
Avatar
Ryozuki
ddnet is among the open source game with highest concurrent players
highest concurrent players
Avatar
why are u repeating
Avatar
whats that? (edited)
13:20
Bad CMake executable: "". Check to make sure it is installed or the value of the "cmake.cmakePath" setting contains the correct path
Avatar
read the error
13:22
try to understand what it means
Avatar
Avatar
Ryozuki
try to understand what it means
So hard 😢
Avatar
Avatar
MilkeeyCat
So hard 😢
nah, its ok
13:23
justatest
Avatar
how can vscode know ur cmake is there?
13:24
tryu to understand whats asking for
13:24
xd
13:25
i found it funny u have this in ur bio https://whyasking.me/
13:25
u should apply it
13:25
ur problem is not a ddnet specific one btw
13:25
but ill tell u
13:25
u have to add a config in vscode pointing to the cmake binary
13:25
path
13:26
Bad CMake executable: "". Check to make sure it is installed or the value of the "cmake.cmakePath" setting contains the correct path
13:26
xd
Avatar
Avatar
Ryozuki
i found it funny u have this in ur bio https://whyasking.me/
cuz nothing there works
Avatar
it does
13:26
but u dont even need to google
13:26
u just need to read
13:26
which most ppl dont
13:26
they see a error and cry
Avatar
Avatar
Ryozuki
u have to add a config in vscode pointing to the cmake binary
ok, ty
13:27
justatest
Avatar
Who likes reading first :cluless:
13:32
I read only after 20 installed packages and when it still doesn't work
Avatar
Avatar
Ryozuki
they see a error and cry
exactly, all my students do the same...
13:37
that's why i put a prerequisite in all my classes: -know reading
Avatar
Avatar
Ryozuki
oh ddnet used to sell em
We don't really sell them. I just set up the designs on spreadshirt, but they earn all the money
Avatar
In the quest to measure how antimatter falls, the possibility that it fell "up" provided hope for warp drive. Here's how it all fell apart.
Avatar
The wrong team variable was read.

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://git...
Avatar
Avatar
Chairn
are you looking for internship 😛 ?
I was thinking job, but if it's interesting enough, sure
Avatar
Avatar
Chairn
are you interested in fault injection ?
Like hardware fault injection (glitching) or in the more general systems sense of it? I was curious about the former but not something I ever really explored beyond idle research
Avatar
Avatar
cyberFighter
what was the price
no idea, it's been 5 years since
Avatar
Avatar
Learath2
I was thinking job, but if it's interesting enough, sure
Are you interested in working with complex Rust code? 😄 (Not sure if we are currently hiring developers though)
Avatar
Avatar
deen
Are you interested in working with complex Rust code? 😄 (Not sure if we are currently hiring developers though)
I'm fairly sure my level of Rust is not adequate for being hired for any Rust job, though I learn quick 😄
Avatar
Avatar
GitHub
Click to see attachment 🖼️
This feature ended up being not used when we managed to recover the saves from a log
14:56
Maybe we can just remove it tbf
Avatar
Avatar
Learath2
I'm fairly sure my level of Rust is not adequate for being hired for any Rust job, though I learn quick 😄
i can see u cursing rust at work xdd
15:01
A set of merge requests were opened that would effectively drop X.Org (X11) session support for the GNOME desktop and once that code is removed making it a Wayland-only desktop environment.
15:02
@Jupstar ✪
Avatar
Avatar
Learath2
Maybe we can just remove it tbf
Ye, I'm also for removing. It just bothered me that it was broken xD (edited)
Avatar
@Learath2 is it bad that openrc uses pidfiles?
15:17
a systemd user told me this
15:17
xd
Avatar
Avatar
Ryozuki
@Learath2 is it bad that openrc uses pidfiles?
What is wrong with pidfiles in your opinion? The only issue is that there is a possible race, but what's the worst that could happen?
Avatar
they say they are less robust
15:17
and that they are recicled
15:18
less robust to supervise
Avatar
Ofc it's less rebust, the fix is not to replace the entire init system and the core of your system with a blackbox
15:19
Sorry, completely transparent box that is filled to the brim with code that only 2 people can read so it's effectively black*
15:20
1d6771e Fix save_dry command - Zwelf 7171a88 Merge pull request #7330 from Zwelf/pr-fix-save-dry - def-
Avatar
runit's approach to it is the proper way IMO
Avatar
does gentoo use runit
Avatar
No, but you can experiment with it if you want to, I did set up a system with it once following the wiki
Avatar
Avatar
Learath2
runit's approach to it is the proper way IMO
(Same approach Windows uses btw, having a service supervisor)
Avatar
Avatar
Ryozuki
lfs?
No in gentoo https://wiki.gentoo.org/wiki/Runit, you can have it run under openrc
Avatar
In which directory is this database located? owo
Avatar
find a sqlite file
15:25
is this a server log or a client log
15:25
xd
Avatar
Avatar
Learath2
(Same approach Windows uses btw, having a service supervisor)
The supervisor uses a named pipe instead of a pidfile and signals, avoiding the issues with the pidfiles
Avatar
Avatar
Yek-H
In which directory is this database located? owo
I'm not sure but it should be in one of the below: a) Next to DDNet-Server executable b) Config directory c) Data directory
Avatar
Avatar
Learath2
I'm not sure but it should be in one of the below: a) Next to DDNet-Server executable b) Config directory c) Data directory
a)
15:30
If I change the ddnet-server, will the database be deleted too?
Avatar
If it's in the same folder as DDNet-Server, the you could lose the database when you reinstall/update
15:33
Check if you have another sqlite file in your config dir
15:33
If you don't, move the database to the config dir
15:34
If you have a file in both locations, then decide which to keep and delete the other
Avatar
  • I can't find the sqlite file
  • Database works fine
  • If I update the server to a recent version of Github it still works and loads the database
15:38
kek idk
Avatar
For me the database is at ~/.local/share/ddnet/ddnet-server.sqlite.
15:40
The $USERDIR
Avatar
$configdir
Avatar
DDNet config directory & settings_ddnet.cfg location:
On Windows: Old: %appdata%\Teeworlds New: %appdata%\DDNet On Linux: Old: ~/.teeworlds New: ~/.local/share/ddnet On macOS: Old: ~/Library/Application Support/Teeworlds New: ~/Library/Application Support/DDNet The settings_ddnet.cfg file contains all your friends, control, player & game settings.
Avatar
Unless you are using an older version, the database should be in the config dir
Avatar
Avatar
Zwelf
For me the database is at ~/.local/share/ddnet/ddnet-server.sqlite.
15:41
Thx
Avatar
Because we don't want to write any files to the binary dir, which would cause issues on Windows
👌 1
Avatar
Avatar
Ryozuki
@Learath2 is it bad that openrc uses pidfiles?
a problem with pidfiles seems to be that they're not guaranteed by the OS
16:15
they can get out of sync, there are races
16:16
whatever API systemd uses to know the processes of a service is probably more appropriate(?)
Avatar
Avatar
heinrich5991
whatever API systemd uses to know the processes of a service is probably more appropriate(?)
Cgroups
Avatar
https://en.wikipedia.org/wiki/Cgroups. yes, looks like the correct API for process management
Avatar
Which openrc also creates nowadays, though no one bothered using them in start-stop-daemon yet, presumably since problems of pidfile races are rare enough
Avatar
systemd rip
16:42
debian 12 decided to be full systemd
🤔 1
Avatar
(rip crond, /etc/network/interfaces , syslogd etc... on a default install
Avatar
@heinrich5991 do you remember why we wanted curl-multi? 🤔
Avatar
Avatar
Learath2
@heinrich5991 do you remember why we wanted curl-multi? 🤔
request sharing sockets IIRC
17:46
not doing one OS thread per request is a nice side effect
Avatar
Avatar
Learath2
@heinrich5991 do you remember why we wanted curl-multi? 🤔
reached a dead end?
Avatar
Avatar
heinrich5991
reached a dead end?
Having trouble deciding what to do, so I guess the opposite of a dead end
Avatar
curl multi finished? 😛
Avatar
No as in I have like 3-4 ways I can imagine curl multi being done and I can't decide on any of them
Avatar
ah
Avatar
I think I'll just go back to the one in #5902 for now and call it a day
Avatar
#5092 *
Avatar
This PR tries to rework the http interface to utilize the curl-multi interface. In the process we lost the IJob interface. I experimented with getting rid of the std::unordered_map using CURLOPT_PR...
Avatar
does one of them address the "I want to do something after the HTTP request finished" problem?
Avatar
I'd love to have a better job system in general
Avatar
Avatar
heinrich5991
does one of them address the "I want to do something after the HTTP request finished" problem?
Yes, but it's also like dozens of hours of work writing a nice implementation of futures which won't be liked anyway due to the templates needed to get something like that to work
Avatar
I see
Avatar
Avatar
Robyt3
I'd love to have a better job system in general
I started sketching one out with futures promises and executors similar to but simpler than folly's
Avatar
Avatar
heinrich5991
does one of them address the "I want to do something after the HTTP request finished" problem?
I guess I can also make it happen with 5092 but in a non-generic just wait on the http job in a new CJob kinda way
Avatar
Avatar
Learath2
I started sketching one out with futures promises and executors similar to but simpler than folly's
but it's kinda obvious even looking at the rough sketch of it that something like this is a lot of work
Avatar
Posted by Andrew Walbran, Android Rust Team Last year we wrote about how moving native code in Android from C++ to Rust has resulted in ...
Avatar
A browser interface to the Java compiler to experiment with the language
19:20
i read its using preview features of next java release
19:20
Avatar
Just a quick question, is it possible to bug through tp. Without triggering tp ?
Avatar
no
Avatar
Avatar
Brezzel
Just a quick question, is it possible to bug through tp. Without triggering tp ?
yes with tp gun + jetpack(or autoclicker) + tune down gun fire delay + 2 tees with nocol you can bug through all the tele you want. (easier to do with dummy copy but jetpack allows you to do it 2p). very specific conditions so it wont ever just come up in a map(so if that was your question, then no), but you can map a part that does this (edited)
Avatar
it's possible to clip through corners with the right velocity too
Exported 290 message(s)