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 2018-04-08 00:00:00Z and 2018-04-09 00:00:00Z
Avatar
[freenode] <nemo> ok... I thought font was changed and people were complaining?
01:18
[freenode] <nemo> shrugs
Avatar
nemo: No, I think the font rendering was improved and thus the text looks crisper/different now
Avatar
but the settings icon is so off center now lol
Avatar
the gui is broken anyway: void CUIRect::VMargin(float Cut, CUIRect *pOtherRect) const { CUIRect r = *this; Cut *= Scale(); pOtherRect->x = r.x + Cut; pOtherRect->y = r.y; pOtherRect->w = r.w - 2*Cut; pOtherRect->h = r.h; } void CUIRect::HMargin(float Cut, CUIRect *pOtherRect) const { CUIRect r = *this; Cut *= Scale(); pOtherRect->x = r.x; pOtherRect->y = r.y + Cut; pOtherRect->w = r.w; pOtherRect->h = r.h - 2*Cut; } they call it hmargin and vmargin and just swap both xD i dunno if the creator of this thought margin to the horizontal/vert. line, but that would be black magic
08:48
😄
Avatar
Hey I've got a question, just out of curiosity... When joining a DDNet server it will send me a chat message that's like "if you know botters report them to the moderator" or smth; now the thing is: if the server's got 63/64 clients connected, this message is sent from ID -1 as expected, but if noone on the server has got ID 63 (I assume), this message is sent from ID 63 instead and thus (normally) not displayed in the chat because there's no client behind it. Is this the intended behavior and if so, what's the rationale behind it?
Avatar
I don't know about that message
15:55
What server and what message exactly @Henningstone ?
Avatar
all the official DDNet servers. Here's a screenshot of the message that appears when joining a full (63/64) server:
16:12
what is it for
Avatar
most likely a bug as far as I can see
Avatar
Never saw this message
Avatar
ddnet easter egg GWchadThinkeyes
Avatar
[quakenet] <deen> Are you sure that's on official server?
19:30
[quakenet] <deen> oh, apparently it is
19:31
[quakenet] <deen> the code looks wrong indeed :D heinrich5991 wrote that I guess
19:33
[quakenet] <deen> but he's on vacation I think, I'll just leave it for now
Avatar
[quakenet] <deen> @Jupeyy totally stable 60 fps zoomed out on fully packed 64 player server with my 10 year old laptop with integrated graphics, no lags with chinese text. :)
Avatar
Nice \o/
Avatar
[quakenet] <deen> (just had to switch to intel driver instead of modesetting, otherwise I got software opengl rendering)
20:27
[quakenet] <deen> that old laptop feels faster than new company laptop anyway...
20:28
[quakenet] <deen> only problem is that intel will not provide microcode updates against spectre for it
Avatar
any new piece of tech I get crumbles to pieces very quickly :/
Avatar
[quakenet] <deen> how so?
Avatar
I have a gameboy advance sp still in perfect working condition but my 3DS is already broken
Avatar
[quakenet] <deen> To be fair I have seen many broken GBAs :D
Avatar
My main laptop is a Thinkpad T440p, an 2014 macbook pro is completely unusable now (edited)
20:32
My grandmothers Nokia 3310 is still kicking, I went through two iphones and my samsung is already getting sluggish
20:32
They just don't build em' good nowadays 😛
Avatar
[quakenet] <deen> Hm, I don't remember hardware breaking at all for me in the last few years
20:33
[quakenet] <deen> just being annoyed at software :D
Avatar
Also really annoyed at my "smart" tv
Avatar
[quakenet] <deen> I ran an update on an LG one, afterwards it stopped supporting subtitle switching
20:34
[quakenet] <deen> and of course the update is irreversible
Avatar
I don't understand how they can think that sluggish interface is acceptable? I don't think it'd cost them shit to put a better processor in there but no, lets put the bare minimum
Avatar
[quakenet] <deen> and support says they never officially announced supporting that feature, so it's ok for them to randomly remove it without writing in the changelog
Avatar
I'd very happily pay the 100$ premium it might cost them to put an actual proper processor in there
Avatar
[quakenet] <deen> it's not about the processor, mine has a fast quadcore
20:35
[quakenet] <deen> and still takes 1 minute until I can press any key and something moves
Avatar
So it's software?
Avatar
[quakenet] <deen> Sure
Avatar
It's beyond me how those get through QA at all, I'd be embarrassed to even submit that for testing
Avatar
[quakenet] <deen> well, people don't seem to mind, they keep buying
Avatar
Could NOT find SDL2_net (missing: SDL2_NET_LIBRARIES) (found version "2.0.1") good job cmake
Avatar
I've been seeing some horrible software engineering work recently, I don't understand how someone can do work that they take no pride in
Avatar
[quakenet] <deen> Learath2: to earn money? :D
Avatar
I would rather sell toasts at the corner or work at a coffeeshop then release some of the things I've seen
20:39
@Ryozuki thonkery
Avatar
@Learath2 nvm i fixed it
20:40
Found SDL2_net: C:/SDL2-2.0.8/include (found version "2.0.1")
20:40
👌
Avatar
[quakenet] <deen> what are you doing with sdl2_net?
Avatar
windows sucks with cmake
20:40
idk im gonna try it
Avatar
deen: would you put out code that you don't feel good about just for the money?
Avatar
deen, why dont you come over to discord?
Avatar
[quakenet] <deen> Learath2: yes, I don't feel good about ddnet code either and it's still out :D
Avatar
Not like we get paid for it
Avatar
[quakenet] <deen> fokkonaut: i saw lots of spam on discord so i closed window
Avatar
this game gave me more hours playing than paid games
20:42
gives*
Avatar
deen xD
Avatar
and it's funny cuz bugs in this game create more gameplay
Avatar
Point is if I always try to do my best even if it doesn't yield me anything extra, an indian guy tried to pass off md5(date()) as authentication
Avatar
Even if you paid me 10$/h I wouldn't try to pawn that off on you...
Avatar
he rly did that?
Avatar
not even salting
Avatar
What salt?
Avatar
it makes the hash from the current date?
Avatar
He used md5 or sha256 of the current date as the authorization proof
20:47
20:47
xD
Avatar
he also used unsalted md5 for all the passwords but as there was no authorization that was a second priority
20:48
I worked for 8 hours straight just to patch in some shitty token authorization
Avatar
A modern server can calculate the MD5 hash of about 330MB every second. If your users have passwords which are lowercase, alphanumeric, and 6 characters long, you can try every single possible password of that size in around 40 seconds.
20:48
:o
Avatar
[quakenet] <deen> The craftsmen in my apartment destroyed some dishes while painting my kitchen, painted over a display and left a mess everywhere. So I turned on the vacuum to clean it up, turns out they also filled up my vacuum to the top so the bag exploded immediately. So I'm not surprised at your programmer example :D
Avatar
Think of what you can calculate with a serverfarm, which is very easy in this day and age, EC2, digitalocean, google cloud. So easy to get thousands of servers for a minute or so
Avatar
painted over the display?
20:49
i would be very very angry
Avatar
deen: guess who isn't getting hired again?
Avatar
[quakenet] <deen> learath2: that programmer?
Avatar
him and your craftsmen 😛
Avatar
[quakenet] <deen> sure they are, just by someone else
Avatar
idk the situation in germany but in turkey craftsmen operate with references, you do shit like that you aren't going to find a job anywhere in my social circle nor in my neighbourhood
Avatar
do you talk to your neighbourhood?
20:53
here nobody does xd
Avatar
I talk with the guy who works at the store, after that it easily travels to the entire place 😛
20:54
Turkish people love gossip
Avatar
Also seems to be the case in italy, the only way you find a handyman is by asking someone else for theirs
20:57
Oh let me show you the wonderloop
20:58
foreach($array as $key => $value) { $array[$key]['id'] = $value['id']; } (edited)
20:58
This was littered all over the code
Exported 106 message(s)