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 2020-10-24 00:00:00Z and 2020-10-25 00:00:00Z
01:21
Avatar
don't you want to report that in the teeworlds discord?
01:29
or is that ddnet renamed to teeworlds.exe?
Avatar
Дядя Женя 2020-10-24 02:17:34Z
Teeworlds-0.7.4
02:17
Ban?
Avatar
[quakenet] Obiwan BOT 2020-10-24 02:53:10Z
Who know, how to make "empty" vote?
Avatar
6fc1316 Fix combined player/ping sorting function - trml 414f3d2 Merge #3181 - bors[bot]
Avatar
dec7fd2 Fix texture create with multi units - Jupeyy bc5b19b Merge #3161 - bors[bot]
Avatar
bind mousewheelup "+prevweapon" bind shift+mousewheelup "zoom+" When scrolling it changes weapon thats nice. But when holding shift and scrolling it zooms and changes weapon. That is not too nice. I think @Learath2 mentioned that wasn't intended. And I do not know if one has a use case for that but then still one can bind bind shift+mousewheelup "zoom+;+prevweapon" instead.
Avatar
AppVerifier seems to have some nice checks for windows
11:24
Oh and cdb is a decent debugger on windows
11:32
dmca the stupiest thing every created by mankind
11:34
An illegal number is a number that represents information which is illegal to possess, utter, propagate, or otherwise transmit in some legal jurisdiction. Any piece of digital information is representable as a number; consequently, if communicating a specific set of informatio...
11:34
did u know math can be illegal
11:36
ny image file or an executable program[6] can be regarded as simply a very large binary number. In certain jurisdictions, there are images that are illegal to possess,[7] due to obscenity or secrecy/classified status, so the corresponding numbers could be illegal.
11:36
lmao
Avatar
Minboggling that they still in 2020 believe they can take down anything from the internet
11:39
Nothing of any significance is ever lost on the internet
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:40:40Z
i lost a twmap once
11:40
woot i can write?
Avatar
Apparently it wasn’t of significance
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:41:07Z
can someone hear me? xd
11:41
oh yes u can
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:41:11Z
ChillerDragon yes i can bro
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:41:14Z
nice
11:41
free ryo is back
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:41:19Z
ChillerDragon irc tells u if your message is sent
11:41
learn ur own tools
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:41:36Z
i dont have a + tho
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:41:37Z
if its not sent*
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:41:48Z
now im pleb like laxa nub
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:42:01Z
+ which in your case means voice only matters when the channel is in +m aka moderated mode
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:42:02Z
nobody knows what the + means
11:42
ah
11:42
ok
Avatar
+ is voic
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:42:22Z
ChillerDragon you should pay me, i teach u to many stuff
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:42:24Z
rude @Learath2 i was almost crying when i lost it
11:42
too* much*
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:42:59Z
i got myself a copy of youtube-dl source
Avatar
The youtube-dl thing made me spend my coffee break pissed...
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:44:18Z
wait wat
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:44:19Z
:P
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:44:21Z
does one have a tldr?
Avatar
The US having so much power over the world and having the 🤡est of all legal systems is so annoying
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:44:36Z
oof such a important tool
11:44
will it continue on gitlab?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:44:50Z
probs not on gitlab
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:44:54Z
why
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:44:58Z
but its a wide used tool
Avatar
Gitlab probably is also owned by a US company
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:45:02Z
it wont cease to exist
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:45:09Z
isnt gitlab netherlands
Avatar
They could just selfhost it
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:45:14Z
ChillerDragon u can get the source from pypi for now
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:45:27Z
oof time to leave github i guess
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:45:32Z
its getting darker and darker
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:45:41Z
ChillerDragon microsoft owns it
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:45:44Z
y
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:45:50Z
ChillerDragon btw i think ucant see code unless ur logged in
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:45:57Z
wot
11:45
on github?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:46:10Z
ChillerDragon this is a good tool to self host repos and have a web https://gitea.io
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:46:12Z
doubt
Avatar
Gitlab headquarters san francisco usa
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:46:18Z
ye gogs and gitea nice
11:46
oof
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:46:25Z
gitea is a fork of gogs
11:46
i think giteai s better
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:46:32Z
idk
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:46:35Z
i should swap to it
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:46:36Z
didnt look into deep
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:46:39Z
i did
11:46
and im telling u
11:46
so
Avatar
I don’t like containerized blackboxware
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:46:56Z
but u would also say ddnet > teeworlds
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:46:57Z
gitlab is too big
11:47
to many resources to self host
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:47:02Z
so maybe ill disagree w ur opinion
Avatar
I wish there was a nice modular git hosting solution
Avatar
well you can host your own gitlab instance i guess
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:47:17Z
isnt gogs and gitea that
11:47
gitlab is not nice
11:47
gitlab is ugly af
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:47:28Z
gitlab is too resourceful intensive
11:47
and its ugly ye
11:47
rly poor UI
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:47:39Z
ye
Avatar
Gitea and gogs is containerized blackboxware
Avatar
heh, i like it :)
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:47:47Z
Learath2 nah
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:47:48Z
blackbox
11:47
how?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:47:52Z
i dont use it in a container
11:48
how is it a blackbox
11:48
u can see he source
Avatar
You can chop it up into pieces and pretend it’s not a singleton but it doesn’t have clear interfaces on any of it’s connection points
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:48:59Z
Learath2 whats your choice then
11:49
im interested
Avatar
It wants to work in a certain environment, atleast it was last I tried to set it up
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:49:09Z
git --bare init
11:49
best
Avatar
I don’t think there is any good solution out there 😭
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:49:29Z
ill make it
11:49
in rust
Avatar
Gitlab is bloatware
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:49:35Z
just tell me how to design it
11:49
kek
Avatar
Gitweb looks like my ass
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:49:42Z
i dont see the issue with gogs?
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:49:48Z
language pls
Avatar
Hello
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:49:54Z
ur we might have to mute u
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:49:54Z
hello from the other side
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:19Z
no Learath
Avatar
ChillerDragon I’m not 8, you aren’t my mum
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:23Z
he uses strong language
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:50:30Z
ye its rude
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:31Z
don't be sassy now
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:37Z
its the rules
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:50:42Z
tho i agree gitlab is bloat
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:44Z
what does sassy even mean?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:50:45Z
its so slow too
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:50:57Z
@Learath2 could u ellaborate on the gogs issue i dont get ut
11:51
how to hit keys on board?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:51:05Z
ChillerDragon he says its not modular
11:51
ChillerDragon i think
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:51:14Z
what does that mean
11:51
modular agile
11:51
blockchain
11:51
ai
Avatar
ok i go back to non dev
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:51:28Z
what do u want
11:51
xd rq
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:51:36Z
agile means u do things at the moment
11:51
without thinking
11:51
kek
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:51:45Z
crumbans
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:51:57Z
blockchain is the biggest buzzword ever invented
Avatar
Gogs looks pretty, but it's a bundle that didnt have any flexibility, atleast last I checked
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:52:02Z
use it if u want to sound retarded
11:52
look, i used blockchain to solve my depression
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:52:19Z
what kinds flex u search m8?
Avatar
The frontend is tiiightly coupled to the backend which is tightly coupled to the webserver
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:52:32Z
if it werks it werks
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:52:37Z
Learath2 u should check gitea instead of gogs
11:52
it is a fork of gogs with more development
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:52:47Z
oh so no swappable frontend?
Avatar
I will take a look later tonight, maybe it is better
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:53:07Z
but selfhost sok
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:53:16Z
so u want a software that is a git server without web and then another web frontend for that software?
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:53:19Z
i use github incase my datacenter explosed i can git clone my data back in
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:53:52Z
ChillerDragon sadly if u dont use github ur project wont ever be popular
11:53
if u want contributors
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:54:00Z
ye
11:54
not that i get contributors anyways
11:54
but i still feel it
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:54:38Z
ChillerDragon i saw ur making a new game
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:54:42Z
fan
11:54
yeet farm?
Avatar
I would love something similar yeah. A backend that exposes data about my repositories in a nice clean API. A separate git server that handles the git connections. A separate frontend
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:54:46Z
ye
11:54
yeet
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:54:50Z
i even got fan comments there lmao
11:54
thats nice on github
Avatar
E.g. I would love to just use the git server part sometimes
11:55
I don't always need a frontend
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:55:15Z
i wasnt able tho to make a fetch() from frontend to nodejs backend api
11:55
it fucked me with CORS and shit
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:55:26Z
ah cors
11:55
just use *
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:55:28Z
classic
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:55:30Z
and enable everything
11:55
who cares about security
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:55:35Z
sounds dangerous
11:55
oof
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:55:39Z
make sure ot enable all post put and stuff
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:55:40Z
its yeet farm
Avatar
[quakenet] Ryozuki BOT 2020-10-24 11:55:48Z
all methods
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:56:04Z
is that how u do it?
11:56
i thought there must be a better way
11:56
i dont want ppl yeeting away some farms with javascript hax
Avatar
Ofc there is a way, you set up CORS correctly 😄
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:57:50Z
go send halp
11:57
and u get 100 yee coins
11:58
on official servers
Avatar
Well either keep it on the same origin or add your frontend host to the cors header of your backend
11:59
Very simple
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 11:59:40Z
i was on same host
11:59
fetch from localhost website to localhost backend
12:00
and dfq is a cors header
12:00
sounds way too complicated
Avatar
Same origin requests are always allowed
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:00:43Z
ChillerDragon i list localhost then 192.x so i can access it from my mobile to test mobile stuff, then i add the domain
12:00
u know allowed hosts can be a array
12:01
make sure to add www. and stuff if u use that too
12:01
tho i thing having frontend and backend separated makes another requests
12:01
for non-idempotent requests
12:02
it requests OPTIONS
12:02
to know if it can do it before
12:02
so make sure u cache
12:02
options
12:02
to use less resources
12:02
xd
12:02
The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, or an asterisk (*) to refer to the entire server.
Avatar
The browser should handle that for you if you set up your cache headers properly
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:03:21Z
yeah the browser does options automatically
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 12:03:22Z
where do i even set headers
Avatar
Anyway this extended coffee break is over
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:03:28Z
depends what u using
12:03
it should be easy anyway
Avatar
ChillerDragon same way you set any other http header...
12:04
bbl
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 12:04:48Z
i use nodejs on backend and vanilla js frontend
12:04
i somehow want to fetch() from frontend
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:05:26Z
then do it
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 12:05:29Z
ok
12:05
soon
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:05:34Z
The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone who has used XMLHttpRequest, but the new API provides a more powerful and flexible feature set.
12:05
can u read
12:05
?
12:05
xd
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 12:05:40Z
actually i cant
Avatar
[quakenet] Ryozuki BOT 2020-10-24 12:05:48Z
:troll:
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 12:06:03Z
ill ask u when i keep working on it again
12:06
to read it for me
12:06
F ytdl
12:06
ima go tw now
12:06
fun talk
12:06
nice to be unmuted again
Avatar
What is the state of debugging?
Avatar
@Learath2 got a asan debug build?
13:27
my curiosity about that bug is exploding
Avatar
I only managed to get a release asan build and the line numbers seem a little off but it seems(tm) to work
Avatar
debug build failed? can you still share it with louis xd
Avatar
there is no [number] in F1 in chat in collapsed messages
Avatar
Дядя Женя 2020-10-24 14:09:27Z
?
Avatar
repeated lines probably
Avatar
Дядя Женя 2020-10-24 14:09:47Z
Yes, I understood that
14:09
And that's all that I got xD
14:10
@Lady Saavik steps to reproduce pls?
Avatar
ummmmmm
14:10
send 2x the same msg and open F1?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 14:13:06Z
editing console lines is harder
14:13
than chat lines
Avatar
Дядя Женя 2020-10-24 14:13:30Z
oh, you mean console messages
14:13
fuck it then 🙂
Avatar
[quakenet] Ryozuki BOT 2020-10-24 14:13:42Z
thats rude
14:15
@Lady Saavik i could make it print the line again
14:15
like previous behaviour
14:15
in the console
14:15
but adding a number to an existing line in console is another thing
Avatar
I think it should be relatively similar, no?
Avatar
[quakenet] Ryozuki BOT 2020-10-24 15:34:52Z
Learath2 idk i havent look at it much but console print uses callbacks and stuff
15:35
if u can do it go ahead
15:35
probs not to hard, im just lazy
Avatar
seems like bot is not in sync with the DB
Avatar
Дядя Женя 2020-10-24 17:04:09Z
It's just happening too fast
Avatar
Hi, can I ask a stupid question.. The Network, Packets, CPU and Memory stats. How are the .PNGs generated? I am looking on Github, but can't seem to find it. I am finding the player stats. Can someone guide me to a location as I want to take stats from logstash server I have and try generate graphs in a simple way without spending alot of time. Reminds me alot of Ganglia monitoring tool, unless that's what it is?
19:35
Probably easier to use matplotlib in python to get the graph I want.
Avatar
I think it's in ddnet-scripts, but @deen would know that
Avatar
[quakenet] ChillerDragon BOT 2020-10-24 20:36:43Z
yay after so many years finally got my first responsive ncurses tw client https://zillyhuhn.com/cs/.1603571667.png
20:37
resizing window works and input is nonblocking
Avatar
@SPYRES it's rrd with some simple scripts: https://github.com/ddnet/ddnet-scripts/tree/master/rrd (data comes from ddnet.tw/status which uses BotoX' serverstatus)
The magic scripts that make DDNet run. Contribute to ddnet/ddnet-scripts development by creating an account on GitHub.
20:50
ganglia uses rrd too
20:50
nowadays the cool kids use grafana for stuff like that
Avatar
Many thanks Deen. Will look into it. 👍
20:55
Appreciate the help.
Exported 284 message(s)