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-03-03 00:00:00Z and 2021-03-04 00:00:00Z
Avatar
they are broken if you do not have: mouse1 hammer mouse2 for deepfly and 200 sens and 400 mouse_max_distance for 45 degree angle this will break a lot of people's controls and they will be confused, should either be removed temporarily or fixed quickly. the binds should grab the key binded to those controls and use those instead of using presets. Also, maybe implement a single key for toggling deepfly similar to the hammerfly bind instead of having a separate key for on/off
Avatar
https://github.com/Geal/nom im reimplementing my teestatus rust library using nom, a "a parser combinators library", looks kinda cool monkalaugh
Avatar
Anyone have a better idea?

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/dd...
Avatar
Should we look into a language filter as an input to the spam filter?
10:36
language filter means a filter for bad words?
10:36
or a filter for x language
Avatar
@Ryozuki I mean they had their hype with fallguys and made ton of sales, now its pretty much a dead game and probably sold it for couple of mil $ to epic games. This guy can now chill for the rest of his life. Similar story with minecraft (edited)
10:58
he could already chill with the steam sales alone
Avatar
Depending on his standards he wants to live. But maybe he just doesnt want to work anymore on this game (edited)
Avatar
u understimate how much he sold on steam
11:00
the game costs 20€
11:00
he sold atleast 7M on steam
Avatar
cringe not even 1b
Avatar
140M€ without the cut
11:02
98M€ with the cut
11:02
and its prob more cuz the cut lowers when u sell over x money
Avatar
yeah idk, I mean he will never get a deal like epic games again. But if he actually made so much I dont know why he sold
Avatar
and its not like its a big studio
11:02
its 3 ppl iirc
11:02
its a guy who started in his moms basement lul (edited)
Avatar
Avatar
Learath2
Should we look into a language filter as an input to the spam filter?
idk, dick means just somebody's weight is a bit higher than usual in german for example
11:10
without context there will always be false positives
Avatar
Avatar
Ryozuki
language filter means a filter for bad words?
Filter for bad words that just adds to a score. So maybe mods could deal with the spam by lowering the threshold for muting
Avatar
Avatar
fokkonaut
without context there will always be false positives
That's why I don't propose we act on the information but just collect it as a datapoint
Avatar
my name is Dick
justatest 1
Avatar
They are proposing to restrict travel for unvaccinated people in europe. Isn't that an insane violation of freedom of movement especially when you cant even vaccinate everyone?
Avatar
They can probably hide everything behind the infection protection laws
Avatar
I would even be okay with it if they could provide vaccination to anyone who asked
12:33
Sounds very draconian to me as is :P
Avatar
@Learath2 i mean most countries apply a lockdown where u cant even move to an other "sub region"
12:33
or whathever it is called
Avatar
But there are exemptions to that
Avatar
the royal family in spain got vaccinated ignoring completly the order rules of ppl who get vaccinated
Avatar
From what I understand these vaccine passports will be a firm requirement except for people returning to their residences
Avatar
talk about justice
12:34
monkalaugh
Avatar
Avatar
Ryozuki
the royal family in spain got vaccinated ignoring completly the order rules of ppl who get vaccinated
Didn’t they get a lot of shit for that?
Avatar
@Learath2 they just did it today
12:35
they went to the arab emirates
12:35
xdd
Avatar
Oh, hm. I distinctly remember someone in spain getting a lot of trouble for vaccinating early
Avatar
La Casa Real asegura que "el rey Felipe VI no es responsable de los actos de sus hermanas. Y tanto don Felipe como doña Letizia y sus hijas se vacunarán cuando les corresponda".
12:35
its in spanish
12:36
@Learath2 i guess the president
12:36
i dont remember
Avatar
They really should have pressured these private companies to license out their vaccines to local producers
Avatar
See how quickly the COVID-19 vaccinations are being rolled out across the world and how long it will take to vaccinate the population.
12:36
we are in 2021
Avatar
Stupid capitalism delaying normalization again
Avatar
and we cant even vacunate the world in a month
12:36
talk about shit
12:37
At this rate, 70% of the population could be vaccinated (2 doses) in 1,699 days (or by Oct 27, 2025).
12:37
At this rate, Spain could have 70% of people vaccinated (2 doses) in 588 days (or by Oct 12, 2022).
12:37
xd
12:37
well poor countries will never reach 70% probs
Avatar
This is like a crisis of proportions we won’t see again in a century and we hadn’t seen in a century. Yet we still couldn’t come together and get a public solution
12:38
they should have made all current vaccine research public
12:38
im sure it would have been even faster
Avatar
Btw, I’d be completely fine with it if they would meet their production deadlines
Avatar
and idk why europe countries only vaccinate 100k ppl per day
12:38
why not more???
Avatar
EU subsidized these companies HEAVILY. Yet they can’t deliver
12:39
our money
12:39
xd
12:40
human greed sadge
Avatar
In italy our new technocrat govt says we are going to get to the general population only in early q3 and thats a big maybe
12:41
First shot in q3 means we are getting to be mostly immune by 2022. Which is an absolute failure imo
Avatar
@heinrich5991 are you ok if i port libtw2 docs to the wiki, also do i need to mention you somewhere?
12:43
well i can add a reference like any wiki
Avatar
@Learath2 look at this magic
13:12
it works monkalaugh
13:14
🧙‍♂️
Avatar
Hm, which parsers does this combine?
13:25
Ah I see
13:25
Cute
Avatar
Rust parser combinator framework. Contribute to Geal/nom development by creating an account on GitHub.
13:29
monkalaugh
Avatar
NoM nom nom
Avatar
@Learath2 i can actually make it parse the info doing 0 copy
13:30
poggers
Avatar
Well copy for parsing would be silly 😛
13:31
Though I guess it’d be in spirit for most new languages
13:31
i mean
13:31
when i put the data in the struct
13:31
representing a sv
13:31
it doesnt even need to copy there
Avatar
I have a huge huge problem
Avatar
about rust?
Avatar
whats it
Avatar
More a logistical issue
13:32
See I made almost 7 liters of chicken stock
Avatar
Then I remembered why I don't make so much anymore. It's because I dont have a second pot large enough to strain it into...
Avatar
get a pot from amazon
Avatar
Wtf do I do even?
Avatar
Lol, no amazon 1 hour delivery in turin
13:33
Thats milan only for now
Avatar
any supermarket should sell that
Avatar
Guess I can go out and look for a pot. Thanks for the advice
Avatar
I just had an idea. Do you think maybe we should fuzz demos and maps? Maps crashing either the server or the client sounds rather bad
14:06
Fuzzing the client is harder but we can atleast do the server
Avatar
I did that before, everything crashes hard
14:35
especially out of bounds reads
Avatar
Well they are things to be fixed, no?
Avatar
Sure, but not such high priority as out of bounds writes
Avatar
I mean not extremely important yeah
14:36
What did you fuzz with? Afl?
Avatar
i think so
Avatar
The feature is based on the issue below: https://github.com/ddnet/ddnet/issues/3655 The main concern was the impact it would have if we had to double our ranking/point commands to support it. I took the feedback into account and combined the info into one command. The PR is in draft as I don't want to implement it for the remaining commands before getting thoughts on the approach taken. Feature Display local stats alongside global while using the same commands *Implementation...
Avatar
We should look into some intelligent spam detection, maybe we could try a neural net? Sounds like a decent use for it
16:19
Or even a dumb system that keeps a circular buffer of messages past a certain length and gives more spam points depending on the levenshtein distance to past messages
heartw 1
Avatar
@Learath2 capital letters = more score, longer msg = more score, the same word repeated more than 3 times = more score
16:20
etc
16:21
we dont need fancy bruteforce maths
Avatar
Yeah, let me create an issue for this. I’m sure we can figure out some heuristics
16:21
I think for it to be effective it should probably also be across all servers
Avatar
@Learath2 we can make the variables be conf vars
16:21
so trolls dont know the equation
16:21
exactly
16:21
xd
16:22
the scores*
16:23
@Learath2 we can also add a score if u use unicode chars past x point or smth
16:23
that nobody rly uses
Avatar
We should look into some heuristics to detect spam better. We could look for repeated words, levenshtein distance, message length, excessive usage of non BMP characters, maybe a rudimentary language filter looking for offensive words. It would also be extremely beneficial if we could tie the detection to a shared backend between all servers so cross server spam is noticed too.
16:24
𝖘𝖔𝖒𝖊 𝖙𝖗𝖔𝖑𝖑 𝖒𝖊𝖘𝖘𝖆𝖌𝖊 𝖍𝖊𝖗𝖊
16:24
monkalaugh
16:24
ᦓꪮꪑꫀ ꪻ᥅ꪮꪶꪶ ꪑꫀᦓᦓꪖᧁꫀ ꫝꫀ᥅ꫀ
16:24
s̶̀͘ȏ̴̽m̶̉̓e̴͐̕ ̷̔̕t̶̿̈́r̵̓̾õ̸͠l̴̓̽l̸̀̀ ̷̯̿m̸͂͑e̸̐̚s̶̛̀s̷͂͘a̵͊̏g̸͋͝e̴̽̋ ̷̿͒h̴̾̂e̵̾̈ȑ̶̚e̵͆̚
16:24
monkaS
Avatar
Yeah I already added that in the issue, characters outside of the BMP shouldn’t occur much
Avatar
@Learath2 shared server communication
16:25
sounds like that would need another issue?
16:25
sounds like a big project
Avatar
I don’t mean cross server messaging. I mean a backend software that messages run through to get a spam score
16:26
So the server submits messages to the backend to learn their scores
Avatar
a rust service to detect spam? monkalaugh
Avatar
Could be written in any language ;P
Avatar
We should let the server remove messages from the clients message log. This could make chat spamming less of an issue if we remove messages by a person when they get banned
Avatar
@Learath2 that should be opt out
16:28
or opt in
Avatar
Decided a single issue is better
Avatar
Avatar
Ryozuki
@Learath2 that should be opt out
Could be, I doubt many would bother opting out but I guess it’s better to let people see the garbage if they want
16:32
it could be abused by otherservers
16:32
and it could be used for censorship
16:35
i love gmail blocking a zip attachment saying it has a virus
16:35
bitch im at linux
Avatar
Inb4 linux rootkit in zip
16:35
Or zipbomb ;D
Avatar
btw if u want to circumvent gmail not letting u download it, you can make it display the original and then download it, open it in thunderbird and get the attachtment
16:36
im such a hacker
Avatar
Wait, they really don’t let you download it at all?
16:36
ye
Avatar
Isn’t there some advanced option somewhere to disable it?
16:37
just because it is a zip
Avatar
Btw I’ve been looking to host my own mail for a while now, I just don’t know how to keep my smtp not marked as spam by gmail ;/
16:37
i have my emailt setup
16:37
i did various htings
16:37
things
16:37
i dont think gmail blocks me
Avatar
They blocked my last server and they don’t even have support for it, so I’ve been kinda demotivated for a while about it
Avatar
@Learath2 do u have dkim setup
Avatar
Didn’t the last time around
Avatar
wait what are benefits of hosting ur own mail
Avatar
Google not snooping thru your mail is a huge one 😛
Avatar
its cool, ur not bound to a corporation and u own ur data
16:39
my github mail is git@edgarluque.com
16:39
monkalaugh
Avatar
might be too late for me feelsbadman
Avatar
But honestly, everyone knows my gmail. It’s impossible for me to change to a new mail. I’ll have to forward the gmail one, which means google still gets to snoop my mail
Avatar
can u tell me ur mail, i want to know if they block me
16:40
it probs will go to spam tho
Avatar
Google is soooo clever about this btw, they integrated gmail so well into their entire product space I’ll miss a lot of features when I switch
Avatar
what features
Avatar
Calendar integration is one I use alot
Avatar
@Learath2 i sent it
Avatar
Whenever I have a flight or a reservation it’s automatically added to my calendar when I get the mail about it
Avatar
u can get my public pgp there too btw greenthing
Avatar
Marked as spam 😛
Avatar
expected
Avatar
As with all non google senders nowadays...
16:42
if ppl used their own mail server
16:42
this wouldnt happen
Avatar
I couldn’t get mine unmarked either, they don’t provide support for it on purpose btw
16:43
They want to force you to atleast use gmails smtp servers to send your mail
16:43
Fucking dataminers...
Avatar
btw if u ever want crontab to send u the emails encrypted
16:43
i found this way
16:44
monkaS
Avatar
Do you have sfp dkim and dmarc?
Avatar
dkim and dmarc yes
16:45
i dont remember what sfp is
Avatar
A record you can add to your zone
16:45
ye
Avatar
See even with all that you got marked as spam
16:46
They make it as annoying as possible so you just say fuck it and use gmail
16:46
so how do twitter and others
16:46
dont get marked
16:46
do u need to be big?
Avatar
And if you contact them about it they won’t tell you what’s wrong. They will tell you to look at their recommendations which are spf dkim dmarc
Avatar
its probs cuz google knows nothing about this mail
Avatar
yeah lolo my google account is connected to so many other accs guess ill just have to accept it
Avatar
Avatar
Ryozuki
do u need to be big?
Twitter literally has millions of users, they probably have backroom deals for senders of this size
Avatar
well they probs use a mail provider
Avatar
its kinda messed up, wish there were some non-boomers in the government so technology laws could be passed
Avatar
which has deals
16:47
with google
Avatar
It is also entirely possible that twitter uses googles mail servers to send mail to gmail users
Avatar
@louis everyone should use a self hosted mail server + encrypt mails with gpg
16:48
+ linux
16:48
sadge the world isnt perfect
Avatar
Avatar
Ryozuki
which has deals
They explicitly say they have no allowlists, but thats a huge fucking lie. If I had a company the size of twitter they would put me on an allowlist easily
Avatar
f4 not everyone should use linux
16:49
ppl cant use self hosted mail, they're not tech-knowledgeable enough
Avatar
yeah some ppl should use openbsd
Avatar
Avatar
louis
its kinda messed up, wish there were some non-boomers in the government so technology laws could be passed
Slowly but surely europe is making progress in tech legislation. Hopefully in a decade or so more dinosaurs will die and we’ll get even more
Avatar
u could sell rpi preconfigured to be a smtp server
Avatar
The right to repair stuff is great and apparently they are planning to expand it to all consumer electronics soon
16:50
They also made Tesla fold with their proprietary charging port for their cars
16:51
Same with apple with lightning. GDPR is probably the most comprehensive legislation on privacy to date. So there is some hope
Avatar
would be cool if big things like email and such would be self-hosted from the start
Avatar
they were
16:52
in early days of internet
Avatar
ye but the smarter ppl took advantage of things while everyone else was figuring out
Avatar
nouis
Avatar
If you actually take a look at the designs of these early internet protocols they were all designed with federation and decentralization in mind
Avatar
Anyone else having discord connectivity issues? Wondering how widespread it is.
Avatar
[quakenet] ChillerDragon BOT 2021-03-03 18:02:50Z
omg gun sounds with full bass sound like trash :D
Avatar
why did you even try to bass-boost it (edited)
Avatar
gun sounds sound like trash even without full bass
Avatar
[quakenet] ChillerDragon BOT 2021-03-03 18:05:16Z
i just installed my "sound system" and it worked fine whit the music test but then i booted teewoods client and it sounded so weird ;D
18:05
either max bass is bad idea anyways or im not used to it or the tw sounds have bad bass support idk how sound works in general
18:06
so i have to choose between flat music and fuzzy teewoods sounds
Avatar
ja all teeworlds soudns bad except a few nice effects and the main menu theme
Avatar
twlom > standard menu music
Avatar
[quakenet] ChillerDragon BOT 2021-03-03 18:07:16Z
yea menu music is very nice with bass
Avatar
actually most of the common sounds are good quality imo so at least thats good
18:07
but i dont like how the gun sound is so loud
Avatar
[quakenet] ChillerDragon BOT 2021-03-03 18:07:54Z
maybe i should try to get used to a bassy tw sound
18:08
but then it would sound weird on laptop
18:08
idk
18:08
anyone having a big ass bass here? no flex mine is older than time it self that might be the issue too ;:D
Avatar
read #general plz xd
Avatar
server broke map dont work
Avatar
something is very broken about tune_zones :/
Avatar
@Learath2 we fix it for now with normal tiles
20:27
if u want to see the bug, join doomworld 2 at test server
Avatar
@murpi you can deploy the fix with normal tiles on all the servers and I'll try to generate saves for the people on the locked server
Avatar
Avatar
Cøke
@Learath2 we fix it for now with normal tiles
If you have the map, send it to me
Avatar
Apologies if I am missing something obvious here, but is there a reason the README download is missing the record_points table? Is it because record_points is acting as a cache generated off the other tables? (edited)
Avatar
Avatar
Learath2
something is very broken about tune_zones :/
I think it's UB whatever it is, interrupting the code with gdb at a couple points to check values fixed it
21:27
@Cøke does it always happen on doomworld 2?
Avatar
@Zodiac correct, record_points is just calculated from record_maps + record_race
Avatar
Hey is there an easy way to update ddnet without using the built in update button because it wont let me update
Avatar
sure, just download it again from website
21:58
settings are stored elsewhere
Avatar
oh okay
21:58
thanks
21:59
<3
Avatar
or use Steam, it has a more reliable updater
Avatar
Thanks @deen - makes sense. Would it be an significant issue if I were to create another temporary table. The alternative would be to modify the existing but that feels like it would have a number of knock-on effects.
Avatar
yeah i dont like having to open steam every time i want to play a game
Avatar
I'm trying to pull through the server association that you have in the points and use in map ranks to do the same with points.
Avatar
@Zodiac what for?
22:00
ah, record_points but per server?
Avatar
yeah, was thinking record_serverpoints
22:01
I have the script based off your existing one. Adds another grouping by server so you get the per region points
22:01
Avatar
I don't think you can sum points from reach region together to get global points
Avatar
Yeah thats why if it was to go ahead it would probably be easier as another table
22:02
Keep record_points to cache points stats and record_serverpoints for per region stats
Avatar
Yeah, that's probably the least chance of breaking anything.
22:04
the term server is way too overloaded, but I started that, so it's ok 😄
22:04
record_regionpoints might be clearer
Avatar
haha yeah region is probably better
22:05
I can write the script and everything, but I understand it is an infrastructure change. I don't want to go down this path if it would be an issue (cost wise etc)
Avatar
nah, no need for you to write a script or anything
22:06
we create the record_points from https://ddnet.tw/ranks/ creation already, and I can probably add the same for record_regionpoints
❤️ 1
22:06
you'll just have to update them when a new rank is done
Avatar
Thanks! The reason I want it is for a rather small feature. But I got it implemented for the other commands so hoping to extend it to points as well.
22:08
The feature is based on the issue below: #3655 The main concern was the impact it would have if we had to double our ranking/point commands to support it. I took the feedback into account and combi...
Avatar
but maybe wait for more opinions about using the regional ranks? don't want you to waste effort if others don't like it
Avatar
Yeah, based on this I might go ahead for now without extending it to points. See how it is received on the easier implementation first. (edited)
Avatar
anyone know any good substitute to mysql
22:16
that is similar to it
22:16
the query system
22:16
doesnt matter
Avatar
mariadb
Exported 314 message(s)