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-09-16 00:00:00Z and 2021-09-17 00:00:00Z
Avatar
chillerdragon BOT 2021-09-16 13:39:58Z
yo timakro what exactly did you do now to not land in ms spam?
You're invited to talk on Matrix
Avatar
chillerdragon: Nothing ^^
You're invited to talk on Matrix
Avatar
chillerdragon BOT 2021-09-16 13:41:56Z
hax
13:41
and it works?
Avatar
I think I'm still landing in spam
13:42
Idk haven't tested it again
Avatar
Hm, when you highlight eachother on matrix we get a link on discord which generates an annoying embed
13:45
The bridge will need to account for Discord users replying to other messages. (no source message/sender will currently be shown)
13:46
I don't like the autogenerated pictures for issues from github
Avatar
Too big, no?
Avatar
they seem like they mostly take space, don't provide valuable information
Avatar
Replies would actually be kinda tricky to do btw, proper replies would need the bot to keep track of a mapping between messages on discord and messages on matrix
13:48
It'd be an ever growing mapping that needs to be optimized for both directions
Avatar
you can probably attach custom information to matrix messages
13:49
so you onlyβ„’ need a mapping from matrix messages to discord copy IDs
13:49
yay, I halved the space requirements
Avatar
Avatar
heinrich5991
they seem like they mostly take space, don't provide valuable information
put the links in < >
Avatar
the header is okay (where they give the first few words of the issue)
Avatar
Avatar
heinrich5991
yay, I halved the space requirements
Sadly half of infinity is still infinity :P
Avatar
I can only delete the whole embed, not just the image
Avatar
Avatar
heinrich5991
I can only delete the whole embed, not just the image
We could have a bot watching for github links, deleting the embed and generating a new one without the image :P
justatest 1
Avatar
@Learath2 having lunch, I realized that the mapping already needs to exist somehow
14:32
while*
14:33
message deletions are synchronized between discord and matrix
Avatar
For simplicity lets say this would only work for new messages
14:33
Oh wait, you said it already exists for deletions?
14:34
I wonder how they do it
Avatar
you could keep a mapping for recent messages
14:34
and use some API to correlate older ones
14:34
search for the same message content on the same day
Avatar
Recent you could yeah, limiting the range seems to be the only viable solution. Searching for message content is ew
Avatar
Why is the only implementation of GSL microsofts?
Avatar
heh, you always end up with the wrong acronym, I meant Guidelines Support Library
14:54
u always use too many acronyms imho
Avatar
Guidelines Support Library. Contribute to microsoft/GSL development by creating an account on GitHub.
14:54
I didn't elaborate on the acronym because we were talking about gsl like yesterday, assumed people would remember
Avatar
hehe i got this entire search engine for me https://search.marginalia.nu/search?query=ddracenetwork
15:02
(its a search engine that favors quantity of text)
Avatar
This changes the hotkey for "exclude" to CTRL + SHIFT + X, because else it collides with Cutting strings out of a selection This is defs not perfect, it basically ignores keyboard keys that could also alter selection (e.g. shift + right) but i didnt want to break the IME stuff, bcs i don't understand it

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Writte...
Avatar
Avatar
Learath2
Why is the only implementation of GSL microsofts?
Why do you need multiple implementations, assuming the license is fine?
Avatar
idk, just odd to me that no one wrote another one, there are alternatives to almost every library but this one
16:46
clang-tidy does it
16:47
Avatar
clang-tidy suggests you use gsl stuff iirc, it doesn't implement gsl
Avatar
what does implementing gsl even mean
16:48
the yes means it has fixes btw
16:48
idk what a library would do but it makes lot of sense for a linter to check guideliens
16:48
guidelines
16:48
never heard of a library doing it
16:49
maybe the weird one here is microsoft
Avatar
gsl is a library aimed to help you implement the guidelines, it implements things like the template gsl::not_null so you can have things like void DeleteEntity(gsl::not_null<CEntity *> pEntity);
Avatar
monkalaugh this guideline should say "use rust" monkalaugh
16:52
this must be some microsoft propaganda guidelines
16:53
monkalaugh
Avatar
gsl has things like ownership btw, so you can give ownership of things using a no-cost wrapper around raw pointers
Avatar
well it probs make sense there is only 1 rn, many companies already have their big codebases, small hobbyst dont need those guidelines for small projects
16:55
wanted to use GSL (Guideline Support Library) from the C++ Core Guidelines. And my conclusion is that this library is a big mess. Here's why.
16:55
monkalaugh
16:56
gsl-lite – A single-file header-only version of ISO C++ Guidelines Support Library (GSL) for C++98, C++11, and later - GitHub - gsl-lite/gsl-lite: gsl-lite – A single-file header-only version of IS...
Avatar
found one lol
Avatar
gsl-lite is an implementation of the C++ Core Guidelines Support Library originally based on Microsoft GSL.
πŸ˜„
Avatar
I honestly expected gnu or the clang project to have written their own
16:57
xdd
16:57
i love reddit
Avatar
Avatar
Learath2
gsl is a library aimed to help you implement the guidelines, it implements things like the template gsl::not_null so you can have things like void DeleteEntity(gsl::not_null<CEntity *> pEntity);
Things like gsl lead to pretty ugly code though, like wtf is this signature
Avatar
Avatar
Learath2
gsl is a library aimed to help you implement the guidelines, it implements things like the template gsl::not_null so you can have things like void DeleteEntity(gsl::not_null<CEntity *> pEntity);
yeah real mess
17:15
lol
17:15
kinda relevant to ddnet? xD
Avatar
he is right, but it's not like we get to decide what the common folk want to use
Avatar
chillerdragon BOT 2021-09-16 18:13:53Z
yea its really sad people without discord cant submit maps anymore :(
Avatar
I want a website for submitting maps
Avatar
chillerdragon BOT 2021-09-16 18:16:37Z
revive ddnet.tw
Avatar
Avatar
Learath2
I want a website for submitting maps
do u rly want it
18:18
i always wanted to make a website for the map testing process
18:18
but making something when u dont know if it will be used is bad
18:18
monkalaugh
Avatar
I really do want it
Avatar
chillerdragon BOT 2021-09-16 18:24:18Z
i really want it too!
18:24
<3
18:24
i would submit maps there since i dont have discord
Avatar
You should get discord
Avatar
i think he is banned from discord
Avatar
Avatar
Ryozuki
but making something when u dont know if it will be used is bad
I’d take a rust or php backend and a vue or react frontend. Rust + Vue is what I was going to make it in if I got the time
Avatar
ah idk vue
18:33
i know react
Avatar
Avatar
Ryozuki
ah idk vue
someone said that vue is angular + react
Avatar
i think reactjs is better
18:46
tsx makes it so much better
18:46
i dont like typing v-on and stuff
18:46
also with hooks reactjs is rly enjoyable
18:48
rly makes js functional programming shine
18:50
i propose a rust backend using axum for the http, postgresql as the database (idc if u want sqlx or diesel) and i guess reactjs frontend monkalaugh
18:51
we can get it done fast with https://material-ui.com/ or we can do it more ourselves in that case i recommend tailwindcss
18:51
oh lol material updated their website today
18:51
they releases 5.0
18:52
released*
Avatar
Avatar
Ryozuki
i propose a rust backend using axum for the http, postgresql as the database (idc if u want sqlx or diesel) and i guess reactjs frontend monkalaugh
sqlx ofc xd
Avatar
who doesnt love compile time checked queries monkalaugh
Avatar
@Ryozuki u like js?
Avatar
i like typescript
19:11
for frontend stuff
Avatar
then write community skin database
Avatar
isnt skins.tw essentially that?
19:11
they even have integration with ddnet client skins
Avatar
but its not official
19:12
i would even remake the ddnet.tw website but it probs would change deens workflow he is used too and its prob a hasle
Avatar
mh k πŸ˜„
19:13
do you think onfly zipped packages are too slow?
Avatar
only thing that annoys me is the creator zip, and skinpacks
19:14
if they'd be on fly, it would be easier
19:14
as the client can decide what it has to pack
19:15
e.g. if a skin is a community skin and a non community skin, i need another creator(the skin creator) zip for that
Avatar
are you talking about how the ddnet client downloads the skins?
Avatar
no its all for the website
19:17
i mean i guess its easy it would just take more reasources since u cant cache every single possible combination
19:17
if i understood what u mean
Avatar
yeah you probably can store all combinations that are supported, but dunno gets very messy if a new skin is added it has to check everything again
Avatar
yes
Avatar
it should be possible, but doing it efficient is still annoying xd
19:19
u mean only for creators right
19:19
i was thinking about every single possible combination of the 500+ skins
Avatar
or adding a new skin is not efficient and recreates everything xd
Avatar
the client says which to download in batch or smth
19:19
idk
19:20
maybe i didnt understand what u meant
19:20
xd
19:20
this for example is one skin pack
19:20
with community it would require 2 additional zips(the community zip and the mix of non community and community)
Avatar
hmm true
Avatar
and then comes HD πŸ˜„
19:21
which i also want to support
19:21
so even more combinations xD
19:22
i prefer to support svg
Avatar
yeah but i dunno
19:23
when i export 4k texture in inkscape to png its pretty slow
19:23
imagine the client needs 5 times as long
19:23
to load
19:26
another open source game
19:26
u can see at bottom "friendly projects"
19:26
maybe we should join em monkalaugh
Avatar
Avatar
gerdoe
sqlx ofc xd
sqlx is nice, but it's still not mature enough imo, which is probably a result of rust not being mature enough with it's compile time tooling
justatest 1
Avatar
hm yeah nice thought
19:36
russian game engine developers always step on this thing that rust isn't ready enoguh
19:36
enough
19:36
but jam was cool
19:36
strange that actually no one used macroquad
Avatar
It's veeery close though, it is a pleasure to use most of the time
19:38
Most importantly imo they at some point just need to bite the bullet and write out a standard, even if they don't stabilize it immediately. It's soooooo annoying to find references for rust
Avatar
i had stopped rust for a while
19:40
seeing fishs everywhere wasn't that enjoyable kekw
19:40
fishes
Avatar
is javascript allowed on the website?
19:42
does someone know?
Avatar
i dont agree
19:43
a standard will stagnate the language
19:44
there is still a lot of potential to discover
Avatar
Avatar
gerdoe
i had stopped rust for a while
honestly real problem was to check documentations great number of times, i could make mistake that compiler would not describe me normally
19:45
c/c++ is more cool that way
Avatar
thats unusual
19:45
thats not true
19:45
rust compiler is known to be rly good at hinting solutions
Avatar
i know how it works and i can only blame myself about making weird/unpredictable mistakes
19:45
on rust
19:46
on rust its like overhead that kills me
19:46
i can't keep it
19:46
or maybe i didn't understand rust
19:46
xd
Avatar
rust has a steep learning curve
19:47
it brings u the problems u will encounter at runtime at compile time
19:47
most*^
19:48
i cant play doto and chat
19:48
im gonna lose xd
Avatar
Avatar
Ryozuki
a standard will stagnate the language
a standard doesn't need to be static, I just want it to exist
Avatar
c++ ptsd
20:05
monkalaugh
Exported 202 message(s)