Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-03-25 00:00:00Z and 2020-03-26 00:00:00Z
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:13:27Z
Ryozuki: go for curve25519
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:15:19Z
what
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:16:13Z
ecdsa uses curves crafted by NIST, ed25519 uses curve25519 which is not crafted by people with ties to the NSA and is performant
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:16:23Z
im using ecdsa with NIST P-521 aka secp521r1
10:16
is it bad?
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:18:40Z
well it doesn't have any glaring security issues that people found, but there were concerns raised about constants used by NIST to craft the curve
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:19:17Z
well its not to encrypt anything ilegal
10:19
tbh im just working on the https masterserver in go
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:20:16Z
Ah, yeah isn't really important, any elliptic curve is fine really
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:22:37Z
does tw have a json lib already in?
10:22
or curl?
10:22
i guess not
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:27:32Z
no curl, yes json, no improved engine jobs
10:27
I think heinrich5991 has curl linked and working with the old engine jobs
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:54:39Z
Learath2 if a server registered using a ipv6 should it be allowed to register using a ipv4 afterwards?
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:55:15Z
yeah, I think my PoC server allowed servers to register with both in any order
10:55
iirc I used a token to identify the server, and made the server contact the master alternatingly on ipv4 and ipv6
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:56:16Z
wdym by identify
10:56
ah
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:56:39Z
e.g. if a server first registers on ipv4, how do you make sure it's the same server on ipv6?
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:57:00Z
i see
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:57:10Z
I'm not sure if I ever completed that part though, you register, you get a token, you use it in all further requests
Avatar
[quakenet] Ryozuki BOT 2020-03-25 10:57:13Z
but the server may fake the token
10:57
and get listed 2 times?
Avatar
[quakenet] Learath2 BOT 2020-03-25 10:57:30Z
we hand out the tokens
10:58
hmm 1 ipv4 1 registration is what i enforced, but there usually being thousands of ipv6s in one allocation makes that a bad criteria
11:02
Maybe one /64 one registration? But even that has issues, some ISPs are particularly retarded and don't understand the point of ipv6 so they give you only a /67
11:04
some ISPs give out entire /56s, that's 256 /64s you'd be able to register 256 times :D
11:04
heinrich5991: I bet you investigated this problem, did you come up with a scheme?
11:09
(they really should be assigning at the very least a /56 and IETF recommends an entire /48)
Avatar
there are things implemented in teeworlds for parallel jobs
11:17
but I think it's barely used
Avatar
[quakenet] Learath2 BOT 2020-03-25 11:26:48Z
IEngine jobs handle threaded tasks, vanilla doesn't use them much indeed, iirc only for host lookups and loading sounds
Avatar
[quakenet] day BOT 2020-03-25 11:43:29Z
Assa: just like vanilla
Avatar
I used it for my map generator
12:59
works great 🙂
Avatar
[quakenet] Ryozuki BOT 2020-03-25 13:52:26Z
tests in https://github.com/teeworlds/teeworlds/pull/2513 failed due to a invalid gpg signature when preparing linux...
13:53
azure.archive.ubuntu.com is down i think
Avatar
[quakenet] Learath2 BOT 2020-03-25 14:29:55Z
Ryozuki: MSs shitty mirror occasionally breaks because their admins are inept
Avatar
[quakenet] Ryozuki BOT 2020-03-25 15:38:16Z
Learath2 r u in quarantine?
15:38
so much free time but even then im lazy af
Avatar
[quakenet] Learath2 BOT 2020-03-25 15:44:21Z
yeah
15:44
I'm so unmotivated study that I'm using my time for tw so atleast I don't feel completely useless
15:51
I seem to have trouble making things fit in the boxes given :P
Avatar
Don't sweat the UI stuff too much, as long as the backend is there :P
15:53
so unmotivated study that I'm using my time for tw so atleast I don't feel completely useless
I can relate
Avatar
[quakenet] Ryozuki BOT 2020-03-25 15:57:45Z
i think my master server will have a admin shell via ssh
15:57
sounds cool
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:02:12Z
don't we already have econ?
Avatar
Learath2: we don't have any enforced registration limits right now on the masters
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:08:52Z
heinrich5991: well worst case you can register a server on every port of your ipv4 address, with ipv6 a single /64 contains sextillions of addresses * 65536 ports
Avatar
even the first would DoS the masterserver
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:12:11Z
Either way, it'd be nice if we could fix that attack vector while upgrading to http masters
Avatar
100 servers per IP
Avatar
[quakenet] Ryozuki BOT 2020-03-25 16:15:08Z
i think ddnet is not even 30 on GER
Avatar
100 server per ipv4/32 and ipv6/48?
Avatar
who would need more? if there is a need, what I doubt, just request the master to increase that limit.
16:17
to 110.
16:17
etc.
Avatar
it was a question whether the /x seems reasonable
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:30:19Z
Well a /48 is the suggested allocation per end-site as per IETF, and they also suggest that if they allocate a /56 they should still reserve the /48 if the end-site would require more
16:31
However, as I said there are ISPs that ignore the reccomendation and allocate a /64 instead and I'm not sure those people would be responsible enough to reserve atleast a /56 along with it
Avatar
hm. 100 still feels like a conservative limit that could be applied
16:32
/64 in the server world is probably rare and I'd guess we don't even have 100 servers that are hosted from home
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:33:06Z
Well hetzner allocates a /64
16:33
We can go with 100 and users can argue with their degenerate isps about it
Avatar
or we just give them an exception
16:35
hetzner. really.
16:35
I thought they generally reasonable
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:43:39Z
They are a budget company, I'm guessing their CEO probably doesn't know anything about networking and told the engineers a /64 would be more then enough for anyone
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:52:41Z
winapi is so fun to work with
Avatar
even though this message does not contain indicators; given your history I'd say this line was sarcastic
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:54:59Z
I love how they reinvented everything from scratch AND split the api up between ascii and wide-chars
Avatar
and their wide chars ("UTF-16") is a fuckup, too
16:55
but you should exclusively use the W versions in modern software, IMO
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:55:35Z
The best part is that they use UCS2 wide characters everywhere but the entire api is supposed to be utf8 compatible
Avatar
wdym? utf8 compatible, yes
16:56
you need to convert it to utf-16
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:56:28Z
why couldn't they stick to utf8 like everyone else? :(
Avatar
there are three huge users of sorta utf16: java, javascript, windows(.net)
16:57
thank god we have emojis nowadays so that these languages can no longer pretend that utf-16 is a fixed-width encoding
Avatar
[quakenet] Learath2 BOT 2020-03-25 16:58:47Z
The only reason to like emojis :)
16:59
I still don't get the appeal of utf16 though, utf8 is perfectly capable of representing any character without requiring an extra byte for the most common character set and breaking legacy software
Avatar
[quakenet] Ryozuki BOT 2020-03-25 17:00:15Z
ugh winapi
Avatar
in the beginning windows etc. used ucs-2
17:00
when unicode said that this was the unicode encoding for characters in common use
17:01
later they realized that 65536 characters weren't going to cut it (edited)
17:01
preaching to the choir: https://utf8everywhere.org/
17:02
(and then they "backwards-compatibly" fixed it by using utf16)
Avatar
[quakenet] Learath2 BOT 2020-03-25 17:02:45Z
I don't see the appeal of utf16 today either, it's only slightly easier to decode at the cost of breaking compatibility
17:03
I'd probably feel the same way about ucs-2 back in the day
Avatar
argh, apparently even qt uses utf16
Avatar
[quakenet] Learath2 BOT 2020-03-25 17:07:37Z
eh, some research reveals that utf-8 wasn't available in 1990 when ucs-2 was defined, so I'll only forgive the windowsfolk if they jumped on the ucs2 ship before 1993 when utf8 was released
17:08
I guess there was already utf1 but it was apparently too inefficient
Avatar
[quakenet] Ryozuki BOT 2020-03-25 17:08:23Z
Learath2 are u fiddling with sdl?
17:08
thats why u are with winapi?
Avatar
[quakenet] Learath2 BOT 2020-03-25 17:08:53Z
nah, was messing with winapi while getting the modified/created times of files
Avatar
[quakenet] Ryozuki BOT 2020-03-25 17:09:21Z
i only used winapi to capture keyboard input secretly cuz i was rly bored
17:09
and that was the last time
17:09
i hate it
Avatar
https://cdn.discordapp.com/attachments/620064767788318720/692197146975535114/unknown.png https://cdn.discordapp.com/attachments/620064767788318720/692197380518576138/unknown.png Hi, the one image shows the UI I took from ddnet client and put into my client, the other one is my reworked one in 0.7 style. Is there anything I can do to make the sliders start from the same x value? Its the 0.7 slider option function, but as it seems the beginning is based on the text length, in this case Hue, Lgt and Sat.
17:11
The length of Hue is a bit longer than the others, so you see it starts more right than the others
Avatar
I don't know anything about the UI code
Avatar
[quakenet] Ryozuki BOT 2020-03-25 17:12:18Z
i dont like tw UI code
17:12
as of now i only copy pasted stuff when adding new things
Avatar
Its quite simple once you understood it
17:12
but still, its not nice yes
Avatar
[quakenet] Learath2 BOT 2020-03-25 18:14:27Z
@fokkonaut what do you use for the sliders?
Avatar
DoScrollbarOption
18:16
i mean technically they work correct, but i want to have all 3 sliders starting at the same point
18:16
which isnt possible with using this function
18:16
It doesnt really matter, would just be the extra point to make it even nicer
Avatar
[quakenet] Learath2 BOT 2020-03-25 18:17:32Z
That won't work, there is another HSL slider in the code you can steal from
Avatar
? wjere
18:17
where*
18:17
well it works as i said
18:18
I want it to be seperated in 3 sliders tho
Avatar
[quakenet] Learath2 BOT 2020-03-25 18:19:22Z
Tee customization has a hsl slider
18:20
You can also add a MinLabelWidth argument to DoScrollbarOption and pass the width of the longest one
Avatar
hm, discord sucks, I don't know about ipv6, as I have not come across is enough to know whether servers are even given a whole subrange of ipv6 ips, currently hav enot seen this, so don't know ._.
Avatar
servers are usually given at least a /64 (edited)
20:42
Decoration tab has Alpha, this is bugged
Avatar
invisible skin pog
Avatar
@fokkonaut resolution?
Avatar
1920x1080
20:55
sorry, its marking tab, not decoration
Avatar
[quakenet] Learath2 BOT 2020-03-25 22:13:09Z
heinrich5991: I think allocations smaller then /64 isn't even considered by the IETF
Exported 129 message(s)