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 2022-10-03 00:00:00Z and 2022-10-04 00:00:00Z
Avatar
i would like to try this emulator but my i5... will never use 64bit crap, so i wanted to try to compile this for 32bit, is it possible?
Avatar
Original message was deleted or could not be loaded.
Is your bitcoin wallet 0.000000 BTC? Let's boost it to an even LOWER number!
Avatar
Ah ok
00:57
did my mod ping went through?
Avatar
Ok cuz it got deleted, thought it didn't (edited)
Avatar
Avatar
Voxel
Is your bitcoin wallet 0.000000 BTC? Let's boost it to an even LOWER number!
ah yes, don't ping staff, let an idiot invest in bankruptcy
Avatar
Avatar
Cellegen
ah yes, don't ping staff, let an idiot invest in bankruptcy
no ones gonna click that shit bro πŸ’€
Avatar
pepedead you never know, until it happens
Avatar
then its on them
01:23
besides it was bound to be deleted immediately, shouldnt there be a bot that detects this and removes it instantly?
Avatar
as if ddnet uses bots for that purpose
04:18
there are at least 10 mods online for that purpose and you still choose not to ping any of them to do their "job"
Avatar
42c761b M Tutorial, A Penalty - ddnet-maps
06:17
interesting discussion
Avatar
Very expected growing pains, the requirements for kernel code and userspace code are indeed quite different
Avatar
with your usual linux tone kek
06:31
linus
06:31
god i need a coffee
06:31
I woke up at 8 for a lecture. The guy mailed 10 minutes ago saying he has covid. Now I'm wondering if I should sleep another hour
06:34
64 bit overrated
Avatar
i found this on the dota sub
06:34
valve pls xD
06:34
Has anyone pointed out they use an unsigned 16-bit integer for net worth, so it wraps around if it goes above 65,535? See screenshot Jugg has 73,746 but his total says 8,211, Valve should use an unsigned 32-bit integer so high earners can bask in all their glory
06:35
Basically it’s likely they don’t change it because it doesn’t impact during the game and re-typing the db field for almost 7,000,000,000 historical games is a very low priority
Avatar
Avatar
Ryozuki
Has anyone pointed out they use an unsigned 16-bit integer for net worth, so it wraps around if it goes above 65,535? See screenshot Jugg has 73,746 but his total says 8,211, Valve should use an unsigned 32-bit integer so high earners can bask in all their glory
Looks more like a wrong formatter? The actual total seems to be stored properly given the graph is correct
Avatar
ingame its 32bit
06:36
but on t he database 16bit i guess
06:36
idk xD
Avatar
Hm, so the graph data comes from ingame and the display on the right the db? Idk what screen this is nor do I play dota so idk
Avatar
@Learath2 its the networth
06:38
aka the gold spent on items + what you have
06:38
it usually shows how far ahead a hero is from others
Avatar
Btw took a look at the rust discussion in the mailing list and it is a tough tough one
06:40
A compile time way to infer whether you are in an atomic region or not
Avatar
yeah someone mentions that on the rust reddit too
Avatar
Usually you use your in-brain compiler to the best of your abilities to see if you are currently in a locked region. I can't quite think of a similar construct in safe rust
06:42
Though I've seen safe abstractions over some insane things, people are way too smart πŸ˜„
Avatar
Jupstar βœͺ 2022-10-03 07:44:15Z
its funny that linus always sounds passiv aggressive
07:44
no matter what he writes xD
Avatar
Jupstar βœͺ 2022-10-03 07:45:42Z
c plas plas
Avatar
chillerdragon BOT 2022-10-03 08:02:24Z
lol (@Ryozuki)
Avatar
Avatar
Jupstar βœͺ
c plas plas
c plas plas is wery najs =]
Avatar
Does anyone know if you can map a unix socket to a port on dockee
10:20
Docker
10:20
Instead of using a port on the host side
10:21
E.g socket on host - port on container
Avatar
Avatar
Ravie Senpai
Yes, I can test it later in the day, it's time to sleep again, thanks! πŸ’€
fokkonaut has tested it now, it seems to work πŸ™‚
Avatar
Avatar
Ryozuki
Does anyone know if you can map a unix socket to a port on dockee
Doubt, but you can map it as a volume
10:55
like volumes: - /path/to/unix.sock:/app/unix.sock:rw
Avatar
Avatar
Ryozuki
Does anyone know if you can map a unix socket to a port on dockee
can you give more details of the setup?
11:00
i.e. what program exposes the port?
Avatar
Why would it matter?
11:08
I just asked in the general sense
11:08
Just thought a socket might be more efficient
11:08
Even if the app uses a port
Avatar
maybe the application already has a way to export a unix socket
11:17
the unix socket doesn't give you a source IP address, that's a difference that would need to be covered
Avatar
Isn't an unix socket just a file? I mean visible when you do ls
11:18
For my usecase I do use volumes for that tho, that's how you do too if you need to map the docker sock
Avatar
yes, it's visible when you ls
Avatar
Then yeah like I said
Avatar

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] 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/ddnet/#using-addresss...
11:59
@Learath2 kek
Avatar
Can’t believe I agree with julius
Avatar
Avatar
Learath2
Can’t believe I agree with julius
Jupstar βœͺ 2022-10-03 12:01:26Z
when do you share your installed packages + config, so i can enjoy the best experience out of box
Avatar
One day
Avatar
1697231 Handle non-default Windows directory in os_version_str - Robyt3 3c5a9f7 Print the operating system version on client/server launch - Robyt3 56131dc Merge #5907 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:05:28Z
any weechat pros here? I reached 87 buffers and thus need a way to search for them otherwise i spend all day scrolling :c any ideas?
Avatar
There is a goto plugin
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:09:16Z
u use weechat? o.O
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:09:55Z
thanks a lot pro
Avatar
Yep, migrated from irssi some time ago
14:10
Maybe even a decade ago at this point
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:11:40Z
how does it work does it have keybindings?
14:12
okay seems like there is only /go
14:12
and sadly it does not really find my matrix dms
Avatar
You can bind it
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:13:12Z
how o.O?
Avatar
/help go I think would show you how
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:13:39Z
ye /key bind meta-g /go
14:13
but why it no find my matrix stuff :c
Avatar
Also maybe enable fuzzy searching in settings
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:14:20Z
in go settings or in weechat settings?
Avatar
They are all in the same place πŸ˜„
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:15:08Z
14:15
thats why it cant find my matrix buffers
14:15
cuz those names are cursed wtf
14:15
probably the matrix plugin to blame
Avatar
Ah, that it can’t really help with
14:16
How do you even find them in the sidebar?
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:16:59Z
there they look fine
14:17
I'm used to using the /buffer <name> command with the weechat lua script to switch to particular buffers (since I have well over 100 of them). I noticed that while the weechat...
14:17
the issue seems closed tho
14:17
maybe i need to update
14:17
but i didnt use matrix in 2019 alr so hm
Avatar
Try enable the short_name setting in go settings
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:23:09Z
i will never understand weechat settings :D
14:23
i even booted into the tty thingy so gnome wont eat my alt+space key presses and it didnt help xd
Avatar
It doesn’t tolerate misconfigured terminals at all πŸ˜›
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:25:01Z
ah nice now all works except the keybinding
14:25
ur such a pro learath
Avatar
I’m just a vast source of knowledge of questionable use
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:26:31Z
ye i ended up doing what i always do so i do /set to go into the ui and then search the setting name to then close the scary ui buffer and type out the setting command manually :D
14:27
any idea what the issue is with this command? /key bind ctrl-k /go
14:27
ah got it
14:28
its ctrl-K not ctrl-k
14:28
wow help page said meta-g tho
14:28
such trol
14:28
okay this is epic now! like a proper chat app. No idea how i managed so long without it
14:30
shit weechat just became one of my most configured non backupped program
Avatar
Jupstar βœͺ 2022-10-03 14:33:54Z
make video and convince me
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:46:28Z
of wat? is this some discord reply?
Avatar
Jupstar βœͺ 2022-10-03 14:46:53Z
no i mean u
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:47:01Z
convice u of wat
Avatar
Jupstar βœͺ 2022-10-03 14:47:13Z
that its epic now like a proper chat app
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:47:18Z
ah oke
14:47
sure
Avatar
yo chillerdragon, do you have any idea what happened to darkdragon
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:55:43Z
he quit playing years ago
14:55
started studying computer science
14:56
@Jupstar βœͺ i mean the ctrl+k binding works exactly like in slack for example
14:56
its epic
Avatar
Jupstar βœͺ 2022-10-03 14:58:30Z
mh yeah not convinced but i guess for a terminal only app quite cool xD
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:58:35Z
wtf
14:58
why not!?
14:58
what do you miss
Avatar
Jupstar βœͺ 2022-10-03 14:59:06Z
i dunno, feels less usuable than smth like discord or matrix
14:59
but maybe i am just nobo
Avatar
[quakenet] ChillerDragon BOT 2022-10-03 14:59:17Z
its way more usable that element
14:59
for sure
14:59
only problem is that my matrix dms are readonly :c
14:59
i really need to fix that
Avatar
We're open sourcing postgres-wasm, a PostgresQL server that runs inside a browser, with our friends at Snaplet.
justatest 1
15:32
postgres on the browser
15:33
A step towards a full ddnet server run on the browser kek
Avatar
Avatar
heinrich5991
fokkonaut has tested it now, it seems to work πŸ™‚
Oh that's fine, sadly I couldn't test it out, I'm really sorry for that. I only have my phone since weeks. Maybe I can check it out in one or two days.
Avatar
Jupstar βœͺ 2022-10-03 17:04:55Z
can the ddnet bot analyse chat messages and auto respond on them, similar to the #bot-cmds just not for cmds?
Avatar
not sure if the ddnet bot is still being developed
Avatar
It can do anything you code it to do
Avatar
Jupstar βœͺ 2022-10-03 17:06:43Z
i can only code javascript, not python
Avatar
Python is just fancy english, you’ll do great
Avatar
Jupstar βœͺ 2022-10-03 17:07:35Z
python is the only thing i imagine more horrible than the hell
Avatar
The simplest language to use. If you know any other language, python will come easy.
Avatar
Jupstar βœͺ 2022-10-03 17:08:43Z
i used it for blender plugins
17:08
and i died
Avatar
Rip to you
Avatar
Jupstar βœͺ 2022-10-03 17:12:58Z
ty, but at least im in heaven bcs i stopped python πŸ˜‰
Avatar
Avatar
Jupstar βœͺ
can the ddnet bot analyse chat messages and auto respond on them, similar to the #bot-cmds just not for cmds?
@client.event async def on_message(message): if "vulkan" in message.content.lower(): await message.channel.send("jupstar") (edited)
Avatar
Avatar
Nora
@client.event async def on_message(message): if "vulkan" in message.content.lower(): await message.channel.send("jupstar") (edited)
Jupstar βœͺ 2022-10-03 17:14:29Z
nice now check for "client" "start" "crash" or "visual" "glitches" "invisible text" "tiles are broken" and send the appropriate wiki entry ;D (edited)
17:14
xD
17:14
and see if it works out well enough
Avatar
use discord.py==1.7.3
17:16
and don't forget this in discord developer page
Avatar
Avatar
Jupstar βœͺ
nice now check for "client" "start" "crash" or "visual" "glitches" "invisible text" "tiles are broken" and send the appropriate wiki entry ;D (edited)
just create a json file and loop them
17:17
simple idea but should work
Avatar
Since u use python u gotta be hipster all the way and use machine learning to determine when and what to answer
gigachad 4
17:20
BASED
Avatar
Jupstar βœͺ 2022-10-03 17:21:46Z
good idea, let me use stable diffusion to gernerate an image of a link to the wiki
Avatar
{ "questions":[ { "question":"What is the scientific name of a butterfly?", "answer":"Rhopalocera" }, { "question":"How hot is the surface of the sun?", "answer":"5,778 K" } ] }
Avatar
Jupstar βœͺ 2022-10-03 17:24:33Z
txt2img decided
Avatar
prompt?
Avatar
Jupstar βœͺ 2022-10-03 17:25:03Z
an URL to the wiki of ddracenetwork that handles graphics problems
Avatar
afaik never gonna give you up is generated when the separate network detects nudity
17:25
I wonder how that prompt generated nudity πŸ˜„
Avatar
Jupstar βœͺ 2022-10-03 17:25:55Z
i have it quite often actually
17:26
but good to know that this is the reason πŸ˜„ always thought its somehow related to how good the result is, e.g. if the network was confident
17:27
but ddnet wiki is porn, so not surprising after all
Avatar
Avatar
Jupstar βœͺ
txt2img decided
oh man that graphical problem must be so hot (edited)
Avatar
Probably the porn detector isn't quite great
Avatar
Avatar
Jupstar βœͺ
txt2img decided
oh no rickrolled by AI
Avatar
Avatar
Jupstar βœͺ
i used it for blender plugins
git gud
Avatar
Avatar
Jupstar βœͺ
and i died
ah more like this one
git gud
Avatar
Avatar
Chairn
ah more like this one
git gud
Jupstar βœͺ 2022-10-03 20:02:49Z
🐍Hello im a python and im soo cool, bcs snakes are cool. Harry Potter can talk to snakes, it must be cool. 10 points for Slytherin
Avatar
i think we lost @Jupstar βœͺ
20:03
RIP Vulkan guy
Avatar
Jupstar βœͺ 2022-10-03 20:04:21Z
yeah vulkan isnt perfect enough. need to start writing drivers
Avatar
bitten by a Python, he died shortly after loosing his mind, probably due to the poison
20:04
rust or c driver?
Avatar
Jupstar βœͺ 2022-10-03 20:05:29Z
mhh, if im clever i'd use rust bcs of the future. but with c i probably have an easier time bcs i can litteraly copy paste stuff and have working interfaces and so on
20:05
so i guess assembly
Avatar
div %eax, %edx --> SIGFPE
Avatar
@Chairn what syntax is better
20:18
i personally find % ugly af
Avatar
i prefer the intel one too
20:18
AT&T is an aberration
Avatar
true xd
Avatar
intel is more verbose, but less error prone imo
20:19
my objdump is aliased to objdump -M intel πŸ˜„
Avatar
Hi, can someone help me with setting up the server config so that the server is for 256 people
Avatar
this is not possible
20:52
64 players max
Avatar
But I saw servers for 128 people, and I thought that it was possible to make a server for 256 people
Avatar
Avatar
Deleted User
Hi, can someone help me with setting up the server config so that the server is for 256 people
Why would you need 256 people anyways?
Avatar
I want to see what happens
21:12
If possible, how powerful is the server needed?
Avatar
the problem is not the hardware, it's the software
21:12
the ddnet server can only support 64 players
Avatar
Some of our servers have high CPU usage on a single thread with 64 players though, so increasing it might not work everywhere
Avatar
I'm telling that I saw a server for 128 people
21:17
I have an outdated but still very powerful server
21:19
On two xeon e5-2680v4 CPUs with 128gb ram
Avatar
yeah, that's easily enough (edited)
21:23
but our server is single-threaded anyway
21:23
There are other modifications that allow 128 players, but DDNet does not
Avatar
changing to a efficient multithreaded mode would probs require slight physics changes
21:26
making the gameworld parallel is probs the way to go
Avatar
first thing would probably be to change from an O(n²) algorithm for collision (and various other things) to something better
Avatar
oh i guess
21:27
i rly havent checked that stuff xD
21:28
i remember there was a bubble sort or smth
21:28
funny
Avatar
Avatar
Deleted User
I'm telling that I saw a server for 128 people
Hello πŸ™‹β€β™‚οΈ
Avatar
Avatar
Ryozuki
changing to a efficient multithreaded mode would probs require slight physics changes
Don't even need multiple threads, you can probably get all the way up to the limits of the network just by optimizing the physics stuff
22:25
A space hashing solution or maybe binary space partitioning should turn our O(n^2) algorithms into O(nlogn) iirc
Exported 230 message(s)