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 2022-02-06 00:00:00Z and 2022-02-07 00:00:00Z
00:51
[ddnet/ddnet-web] New branch created: pr-15.9
00:52
00:53
DDNet 15.9 is supposed to release in 1 week, assuming no bad bugs are found. Please test the Release Candidate to prevent problems being only discovered after release. Report bugs in the #bugs channel on DDNet Discord or directly on Github:
00:55

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
tiny bug in changelog
Avatar
chillerdragon BOT 2022-02-06 08:34:11Z
Oh cool a macOS installer I always missed that :) who made it?
Avatar
3636d76 Version 15.9 - def- 31cd798 x86_64 -> x86-64 - def-
Avatar
Avatar
Tsin
tiny bug in changelog
Thanks
Avatar
Avatar
chillerdragon
Oh cool a macOS installer I always missed that :) who made it?
ehm, maybe calling it an installer is too much. It's just a background image when you open the dmg and then you drag the files into applications. But most applications on macOS didn't use a real installer, but this approach instead
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...
09:34
87df5b8 newJumpsNewJumps - heinrich5991 620d611 Add "groundjump-only" tile - heinrich5991 90944e0 Merge #4654 - bors[bot]
09:36
05a1dfa Update translation status - def-
Avatar
d6e4e3b Update spanish.txt - n0Ketchp d371e9e Merge #4663 - bors[bot]
Avatar
df67246 Update translations - def- 7ad79e1 Update German translation - def- 9c0cca9 Merge #4664 - bors[bot]
Avatar
d153ed9 Version 15.9 - def- 5e8a337 Update spanish.txt - n0Ketchp 7084b0d Update translations - def- 775faf0 Update German translation - def- 526a64e newJumpsNewJumps - heinrich5991 fcd559c Add "groundjump-only" tile - heinrich5991
Avatar
b61a7b2 Version 15.9 - def- d74b61a x86_64 -> x86-64 - def-
10:45
1ff83a0 Add CHN5 funding by 紫川 - def-
Avatar
Since we store the bind with malloc, we also need to use malloc here to allow any size when saving the binds in config file

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 ...
11:53
An error occurred during a connection to master2.ddnet.tw. Peer’s Certificate has been revoked. Error code: SEC_ERROR_REVOKED_CERTIFICATE
11:54
it's a revoked let's encrypt certificate
Avatar
db4d9f9 Support saving any size binds (fixes #4660) - def- f654b1a Merge #4665 - bors[bot]
Avatar
I don't know which server it's on. can you help me, @deen?
Avatar
@TsFreddie aren't you running master2 ^?
Avatar
(we have bad monitoring btw ^^)
11:55
I should try setting some up
Avatar
I don't think I have any control of that, just know we have master1
11:56
We should probably do some more monitoring for the other ddnet stuff too
11:56
I noticed they cut off my crontab emails, not sure why
Avatar
Ye thatst mine
11:56
I forgot let's encrypt is a thing
11:56
Was it supposed to be revoked this month?
Avatar
they revoked certificates somewhen, you probably got hit by that
11:57
no, revocation, not expiry
Avatar
I know
11:57
Heard that
Avatar
they revoked certificates because they were valid for 90days + 1 second instead of 90 days IIRC 😄
11:58
I dont actually know how to force caddy to renew cert
11:58
Let me google a bit
Avatar
delete the cert, restart caddy
11:58
should work™
Avatar
how do you do monitoring at work?
11:59
I've seen people use prometheus and grafana for fancy graphs and also alerts
11:59
but I have no experience with either
12:00
I'm running a simple https://healthchecks.io/ installation at home for my cronjobs
Avatar
email notifications actually 😄
12:01
so not too far off from what I like personally. Maybe I should check why my emails are getting blocked
Avatar
what powers these emails? failed cronjobs? something else?
Avatar
but at my old job lots of prometheus + grafana, but I heard it's pretty heavy-weight
12:02
Some python that sends smtp mails for example, run on certain jobs/times by jenkins
Avatar
done
12:08
i think
Avatar
lgtm
Avatar
Avatar
heinrich5991
how do you do monitoring at work?
ig depends of what you want to monitor, us we use checkmk
Avatar
since it seems not all github worflow servers are on VS17 yet

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 me...
Avatar
and grafana+prometheus too seems like
Avatar
f0f7d0a Try not to pass any Visual Studio version and use default - def- 93c7619 Merge #4666 - bors[bot]
Avatar
the web where i read manga is rly open about its inner workings, a good blog post (where mention a lot of monitoring): https://mangadex.dev/mangadex-v5-infrastructure-overview/
Avatar
d96f354 Make spawn position independent of players in other teams - def- 00f93da Merge #4661 - bors[bot]
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@deen in FNG you could spawn over an enemy, if he is on the other team spawn point
Avatar
fng doesn't use our source code, does it?
13:19
if it does, then I was not aware, and can fix that
Avatar
Avatar
Ryozuki
the web where i read manga is rly open about its inner workings, a good blog post (where mention a lot of monitoring): https://mangadex.dev/mangadex-v5-infrastructure-overview/
Very interesting read
Avatar
indeed
Avatar
Avatar
Learath2
Very interesting read
it wasnt posted in hn because some ppl there think its borderly ilegal etc xd
Avatar
It probably is in some way illegal :D
Avatar
but the reality is that if it wasnt for this scanlation groups most mangas would be lost
Avatar
does it host mangas?
Avatar
mangadex actually removes serialized mangas from the website
13:25
it just happens that most mangas dont get serialized xd
13:26
and for that reason they never see oficial english translations
13:26
thats where fansubs come
Avatar
so it hosts mangas, but it removes those that get their own series?
13:26
@heinrich5991 it removes the ones that get serialzied, aka the ones that get a publisher
13:26
idk if they remove it immediately or on demand by the publish tho
13:27
but its all in the website the process
13:28
if actually existed a website like crunchyroll but with the amoutn of mangas mangadex has i would pay for it
13:28
but its nonexistant
13:28
they only have normie mangas
13:28
and the interesting ones are hidden gems
13:28
xd
Avatar
they have 99% less cost than a naive aws estimate ^^
13:28
that's a lot 😄
Avatar
ye its impressive
13:29
they also have some kind of decentralized image serving
13:29
called mangadex@home
13:29
u share ur bandwidth
13:30
they serve no ads and make no profit at all
Avatar
sounds like the good guys 😉
13:30
like lichess
13:30
also scanlation groups go there themselves to put their translations
13:31
instead of the shady websites that steal from them
13:31
xd
Avatar
as far as I can tell, they also "steal" according to this definition, but they're not shady at least ^^
Avatar
i mean steal from the scanlation groups
13:32
since most groups publish to their own website, so they can make a bit of money to buy the raws
13:33
mangadex allows u to publish a episode with x delay
13:33
so users first go to the scanlators website and after x days they can read it in mangadex
13:33
xd
13:33
well this is too #off-topic now
13:33
monkaS
Avatar
Impressive how they can serve that many requests at that budget
13:35
They are lucky that their traffic is web so they can rely on things like load balancers and cheap ddos protection :D
Avatar
i had no idea there are so many S*ILL words omg (edited)
Avatar
We had a dutch show like this on tv. Except you receive the first letter of a 5 letter word. 2 guys figured out for each starting letter which 3 words to use to be sure what was the answer. Each word had a maximum of 5 guesses. So they learned 26*3 words to beat the game. And a lot of words they used i didn't even know it existed xD
Avatar
Same as last year

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-ad...
Avatar
Should we maybe start shipping curl without schannel support? Whenever curl broke on windows it was because of schannel and that seems to be the issue for the person in #questions aswell
17:03
both chrome and firefox don't use schannel so when they visit the site on their browsers the error doesn't appear, but it does when they use internet explorer
Avatar
How could schannel: failed to receive handshake, SSL/TLS connection failed be the most verbose this stupid library can get without having to modify a registry key and restarting?
Avatar
There is a similar board game. Sadly this is the best online version i could find: https://webgamesonline.com/mastermind/rules.php
Mastermind Rules. Rules of the game
Avatar
ye but the viral one is wordle
Avatar
@Learath2 we might get people with corporate proxies that fail due to custom certificates, if we don't use schannel
17:39
@Learath2 can ie display more interesting info?
17:39
Apparently translates to "It is possible that the site uses outdated or unreliable TLS protocol security settings. If this happens again, contact the website owner."
Avatar
cloudflare surely doesn't do any of that…
Avatar
So I thought maybe his schannel settings were stuck with SSL3 for some reason
17:40
But TLS 1.0 1.1 and 1.2 seem enabled and we support all those
Avatar
Avatar
heinrich5991
cloudflare surely doesn't do any of that…
Oh I wonder if he has a proxy set that he forgot
Avatar
ah maybe that
17:41
would that apply to curl?
Avatar
I think schannel uses ie settings
17:41
and curl uses schannel
17:42
Though how is he connecting to master2 then? :/
Avatar
ah, schannel also manages the sockets?
Avatar
Avatar
heinrich5991
ah, schannel also manages the sockets?
I think so(tm). I'm not very familiar with it except for a debugfest 4 years back
17:44
If only I could get this stupid thing to happen on my PC, it would be much easier for me to debug
17:50
@heinrich5991 I don't quite get it but we are missing some debug output from curl somehow DEBUGF(infof(data, "schannel: sent initial handshake data: sent %zd bytes", written)); I never see this part
Avatar
baa09c5 Update Copyright year - dragere 25f7d42 Merge #4667 - bors[bot]
Avatar
@Learath2 where is that source from? can't find it in curl or ddnet
Avatar
I found it in curl. lib/vtls/schannel.c though I did merge a two liner. Grep for sent initial handshake
Avatar
/* * Macro used to include code only in debug builds. */ #ifdef DEBUGBUILD #define DEBUGF(x) x #else #define DEBUGF(x) do { } while(0) #endif
17:54
we likely don't have the debug build
17:55
you could send a debug build of curl to that person ^^
Avatar
Ah, that is a good idea
17:56
@deen could you please build one? I doubt me compiling it with msvc would work
Avatar
for x86-64?
Avatar
Though it'll spam stderr like there is no tomorrow, I'm not sure how I can demux the chatter when we do parallel requests :/
Avatar
what do I need to set?
Avatar
you can count how often you see "sent initial handshake"
Avatar
--enable-debug I guess
Avatar
x86-64 windows is what it looks like, and yep --enable-debug is what it seems to be
Avatar
chillerdragon BOT 2022-02-06 18:02:35Z
Ye actual installers are bloat! Idk how to call this thing but it’s nice! So much better than an empty drive thingy with only the apps in.So you big on macOS now? When will we get native Mac rendering support in Vulcan hehe? (@deen)
ehm, maybe calling it an installer is too much. It's just a background image when you open the dmg and then you drag the files into applications. But most applications on macOS didn't use a real installer, but this approach instead
18:04
@Learath2
Avatar
Jupstar ✪ BOT 2022-02-06 18:18:54Z
chillerdragon: we already tried vulkan with moltenVK
You're invited to talk on Matrix
18:20
it works, but thats about it, macos is also weird, it doesnt allow building the window surface on a different thread and stuff like that(even tho it is not async) and for whatever reason on m1 it only reaches around 144 FPS
18:20
on android vulkan works great btw :D
18:24
on windows it looks fine too, only tested a bit on gtx 760, gtx 1060 and my amd card
Avatar
chillerdragon BOT 2022-02-06 18:31:44Z
Wait no it wasn’t Vulkan I think Metal is the apple stuff right ?
Avatar
Jupstar ✪ BOT 2022-02-06 18:32:00Z
yeah moltenvk is the translation layer
18:32
it can translate most of vulkan 1.1 to metal
18:32
tho there are limitations and also some performance regressions, since vulkan is a bit more "low level"
Avatar
Jupstar ✪ BOT 2022-02-06 19:16:51Z
btw @deen i made the surface creation single threaded now, maybe you can test if thats enough also i'd like to know what steps are required to find vulkan under macos, i added the pkg config in FindVulkan, but i dunno if i have to search for moltenVK instead or smth
Avatar
Jupstar ✪ BOT 2022-02-06 20:16:39Z
chillerdragon: why is ETextAlignment used like a flag? do you want left and right align at the same time or what xD
You're invited to talk on Matrix
20:16
also would be nicer if you could change the dolabel calls to only accept these enums
Avatar
Avatar
Jupstar ✪
chillerdragon: why is ETextAlignment used like a flag? do you want left and right align at the same time or what xD
because you can have vertical and horizontal alignment at the same time, at least in vanilla
Avatar
Jupstar ✪ BOT 2022-02-06 21:04:12Z
then make 2 parameters
21:04
or a struct
Avatar
A Linux kernel driver was posted today for platform control support for Valve's upcoming Steam Deck.
Avatar
I work on a client for InfClass mod and it is important to have bindings for many situations, so we have to use modifiers (one modifier per bind). It turned out that bindings (with a modifier) are broken in DDNet since commit 4326d00df9fd79e6af719c0272b218e3a5052279 which changes the implementation to support modifier combinations but it messes up the UI part. I've considered options to revert the commit or to fix the combined modifiers and bravely 😅 choose the latter way. ...
Avatar
Due to an upstream bug, some projectiles were not rendered the demo playback. Rephrasing my in-code comment: "The render timing is usually screwed during demo playback because s_LastGameTickTime depends on the system timer, while the other part Client()->PrevGameTick()-pCurrent->m_StartTick)/(float)SERVER_TICK_SPEED is virtually constant (for projectiles fired on the current game tick): (x - (x+2)) / 50 = -0.04 We have a strict comparison for the passed time being more than the ti...
Exported 183 message(s)