Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-02-29 00:00:00Z and 2024-03-01 00:00:00Z
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-ad...
07:11
its this line
07:12
❯ cat /proc/asound/card7/stream0 iFi (by AMR) iFi (by AMR) HD USB Audio at usb-0000:2d:00.3-1, high speed : USB Audio Playback: Status: Stop Interface 1 Altset 1 Format: S32_LE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 32 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 1 Implicit Feedback Mode: No Interface 1 Altset 2 Format: S24_3LE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 24 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 2 Implicit Feedback Mode: No Interface 1 Altset 3 Format: S16_LE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 16 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 3 Implicit Feedback Mode: No Interface 1 Altset 4 Format: SPECIAL DSD_U32_BE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 32 DSD raw: DOP=0, bitrev=0 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 4 Implicit Feedback Mode: No
07:13
the 1:4
07:13
i think it tries to set the format to DSD_U32_BE
07:13
can i somehow force the format to be S32_LE?
Avatar
is there a way to catch a moment when team got loaded on client thonk
Avatar
Avatar
MilkeeyCat
is there a way to catch a moment when team got loaded on client thonk
Wdym? If I understand correctly then that would be the moment you send the team members to the client. Correct?
Avatar
Avatar
MilkeeyCat
is there a way to catch a moment when team got loaded on client thonk
From client or serverside?
Avatar
i want to print hello world on client when user successfully loaded his save
Avatar
Ah that's what you mean. Well you could just check the chats msgs xd
Avatar
Avatar
cyberFighter
since when is debug graph like this xd
cl_dubstep 0
Avatar
Avatar
cyberFighter
since when is debug graph like this xd
What's you average fps
08:15
Hard to read from that graph
Avatar
720572d make chat command arguments case-insensitive when possible - dobrykafe 61e6714 Merge pull request #8030 from dobrykafe/pr-chat-command-args - def-
Avatar
Avatar
Jupstar ✪
What's you average fps
like 1600
Avatar
Avatar
cyberFighter
like 1600
cl_refresh_rate 0 gfx_refresh_rate 0 ?
Avatar
yes
Avatar
If you set a limit for gfx does it get stable?
Avatar
yeah
Avatar
Then it's probably normal. I dunno why it looks like it goes close to zero tho
Avatar
nvm heres what it looks rn
Avatar
Maybe min max are wrong
Avatar
Avatar
cyberFighter
nvm heres what it looks rn
What limit did you use
08:46
Try 1000
Avatar
thats also 0
Avatar
Ah
08:46
So it fixed itself? Xd
Avatar
@Learath2 Thursday for vulkan Did you already learn about subpass dependencies?
Avatar
Avatar
Jupstar ✪
@Learath2 Thursday for vulkan Did you already learn about subpass dependencies?
I have one in my triangle renderer to delay the color output stage until I have an image to output to 😛
09:41
I honestly don't really know what else I'd use one for now
09:42
im going for 100wpm at 100% accuracy on monkeytype english 1k
09:42
gotta type faster
09:42
i wonder if i can do it in vr
09:42
that would be fun
09:44
closest i got was 98/97%
09:45
but it's just going downhill now
09:50
the data backs me up'
09:50
i get worse as i type
Avatar
Avatar
Ewan
i get worse as i type
Is this just for this session? I experience this for everything I do. My first few attempts will be decent but obviously warming up, then I'll perform very well for an attempt or two. Only downwards after that
Avatar
maybe i need to become a kernel hacker
Avatar
yeah just the session
09:52
i just did 1k
Avatar
Avatar
Learath2
I honestly don't really know what else I'd use one for now
You will need them if u have multiple render passes or multiple subpasses. IMO they are probably the hardest topic in vulkan. U need to understand basically everything u need to know about parallelization in computers + graphic cards + it's a super unintuitive design. On CPUs you would never work with flags to describe memory operation orders. And also not all memory flags will work with all pipeline flags
Avatar
I wonder if this is a common human thing.
Avatar
Avatar
Jupstar ✪
You will need them if u have multiple render passes or multiple subpasses. IMO they are probably the hardest topic in vulkan. U need to understand basically everything u need to know about parallelization in computers + graphic cards + it's a super unintuitive design. On CPUs you would never work with flags to describe memory operation orders. And also not all memory flags will work with all pipeline flags
The main idea is to hold up the pipeline until another subpass is done, right?
Avatar
Well kind of xd
09:54
The pipeline is always there
09:54
It's more about the order of commands inside it
Avatar
Well yes. That's what I was talking about. Good enough until I have a need for it 😄
Avatar
I honestly still shot myself often when I think about it. It's just that if you FCK up, you can easily crash your gpu . and it's also not very easy to debug and test out since u always need the full back end started to see if it worked
09:58
Synchronization layers defs help here
09:58
But even then I still often have to read the spec to fully understand the problem
09:59
Something u should keep in mind xd
10:01
Ofc it also depends on how tryhard u want to optimize
10:01
You can often just lock the whole pipeline and it works xd
Avatar
Avatar
Ryozuki
maybe i need to become a kernel hacker
hack valgrand's anticheat so i can play league on linux in peace >:c
Avatar
valgrand ?
10:37
oh vanguard
Avatar
ah gg vanguard
10:38
i just woke up - i have my excuses!
Avatar
no i only want to fix this bug with my new dac
Avatar
im insisting upon a good morning for u
Avatar
Avatar
meloƞ
hack valgrand's anticheat so i can play league on linux in peace >:c
... just become a riot employee and fix the client lol (edited)
Avatar
i've read about a story of a person that used a software and reported a single bug for years, after them not fixing it he applied for the company, got hired, fixed the bug, and handed in his notice immediatly after (edited)
12:40
idk if its true but its such a gigachad moment
Avatar
if you need to fix a bug that badly, then it must be worth more, than your current job
Avatar
hi everyone i need to write external program which makes some actions on DDNet/Teeworlds server (for example, banning VPN players) is there any better solution to server communication than econ? any low-level protocol?
13:45
patching server source code will take a long time for every server type i have
Avatar
it's no better than econ, i hate parsing human-readable stuff
13:48
my current software is a wheelchair full of regexes for every server type
Avatar
well either econ or fifo it is tbh (edited)
Avatar
what is fifo? 🐸
Avatar
:D i had that question aswell 2 weeks a go "file input /output" it allows sending external commands to your client ddnet creates a fifo server on startup: which you can then send commands to through a fifo client
13:51
sending "echo hello" to the fifo pipe, will execute that command
Avatar
oh, i thought you meant different fifo
13:51
but... is it any different from econ?
Avatar
Avatar
xbt573
hi everyone i need to write external program which makes some actions on DDNet/Teeworlds server (for example, banning VPN players) is there any better solution to server communication than econ? any low-level protocol?
DDNet uses DNSBL 🙂 (edited)
13:53
I wouldnt recommend doing it via FIFO
Avatar
i understood it as a way to send multiple different commands to the server - but using a "i googled the name": "DNS-based Blackhole List" surely sounds like the way to go for ban/blocklists (edited)
Avatar
Avatar
Avolicious
I wouldnt recommend doing it via FIFO
it is the reason i'm searching better solution i already have some stuff made with econ, and i hate it
Avatar
Avatar
xbt573
it is the reason i'm searching better solution i already have some stuff made with econ, and i hate it
DNSBL
13:59
It works and is built on top of the most tested and used protocol out there
Avatar
vpn is only an example, i have other usecases
Avatar
Whats the use-case?
Avatar
Avatar
Avolicious
It works and is built on top of the most tested and used protocol out there
oh, it's not dns based blackhole list? 🐸
Avatar
Avatar
xbt573
oh, it's not dns based blackhole list? 🐸
It is, but its based on DNS
13:59
DNS is heavily tested every day
13:59
it works
Avatar
would be horrible if not tbh XD
Avatar
Avatar
Avolicious
Whats the use-case?
telegram/discord bridge, player data (nickname/version/ip address) accounting, message broadcaster
Avatar
Avatar
xbt573
telegram/discord bridge, player data (nickname/version/ip address) accounting, message broadcaster
You need a mix then
Avatar
damn, feels like a project i could get workin on at some point
Avatar
We are using gRPC for this
14:01
But its currently not built into DDNet
Avatar
another problem is i have different server types/flavors, like ddnet, vanilla teeworlds, fng, teeware, etc.
14:02
hard to put into every source code tree (edited)
Avatar
gRPC
14:03
vanilla teeworlds wont accept the change tho
14:03
fng dont know
14:03
teeware, i doubt
14:04
ddnet most likely
Avatar
Avatar
xbt573
another problem is i have different server types/flavors, like ddnet, vanilla teeworlds, fng, teeware, etc.
а так это ты господи
Avatar
According to the config description sv_emotional_tees -1 should disable eye change completely but since -1 evaluates to true that was not the case.

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
  • [ ] Ch...
Avatar
ill just return the dac
16:02
good thing amazon allows this easily lol
16:06
any linux user with a good one working?
16:06
<.<
Avatar
what's a dac?
Avatar
digital-to-analogue converter
Avatar
new ddnet contributor incoming xd
Avatar
maybe the fiio k7
Avatar
d2b2071 fix incorrect usage of SvEmotionalTees - dobrykafe be9411b Merge pull request #8031 from dobrykafe/pr-emotional-tees - Robyt3
Avatar
Hey there, i mostly got used to the Serverbrowser update and prefer it, but there is one thing that became kinda annoying. Before the update i could swap to the internet tab and look at my friendlist to see if anyone is online at all. Now with just one tab and one filter, i have to reset all filters(communities, countries, types) to get that information. Within the Friendlist there are three Categories(Online Players, Online Clanmates, Offline). I could also imagine that something call...
17:15
Lets users input their entities background map without the .map file extension. Works with both cl_background_entities, and the input box in settings, DDNet tab.

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
...
18:21
2868b3c Let users pick background entities map without file extensions - bencie 26cc7dd Refactor - bencie 16feff4 Merge pull request #8033 from bencie/bg-entities-no-extension - Robyt3
Avatar
didn't watch dune. is it good? i think i watched the first 5min(pirated) and was bored
20:04
did the same
Avatar
gonna watch the part 2 this sunday
20:04
xd
20:04
Avatar
Avatar
Teero
didn't watch dune. is it good? i think i watched the first 5min(pirated) and was bored
if u like long sci-fi movies with lot of ambience (like blade runner)
20:04
you will love it
20:04
i LOVE it
20:04
cuz its my vibe of movie xD
20:05
its a must watch for sci-fi lovers anyway
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
btw i was wondering. is it illegal to scrape gpt 3.5 from the website? i mean the api costs money
Avatar
¯\_(ツ)_/¯
20:06
as far as u ask me, go ahead with anything and use agpl
20:06
gigachad
Avatar
teeworlds*
Avatar
xD on every gif i find it says teeworld instead of teeworlds
20:07
mildly annoying
Avatar
Avatar
Ryozuki
teeworlds*
maybe he didn't mean the game but the world instead!
20:07
he meant a specific server
20:09
what should i press monkaStop
Avatar
I'm sorry but "The game crashes on launch because of a leap year" is just too funny of an oversight not to laugh at
20:12
lmao leap year bug
Avatar
Only building the switch entities layer when the current map has a switch layer (#8011) also does not work, because the entities textures are cached for each type and not reloaded unless the entities are changed manually. First joining a server with a map that does not have a switch layer will cause the textures for the type of that server to be built without the switch entities layer, so the switch entities texture will be missing when joining a server of that type with a map that does have ...
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Honorable mention to beautiful soup
Avatar
While a line input is rendered (e.g. when the console/chat is open) (i.e. when the CLineInput::Render function is called), the memory usage shown in Windows' task manager keeps increasing. It goes down again when the line input stops being rendered (e.g. when the console/chat is closed). It appears that all free operations are combined into one frame so this can also cause large lag spikes when the console is opened for a long time, then closed and opened again. This only happens with...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@Jupstar ✪ Vulkan thursday pepeH
troll 1
Avatar
chillerdragon BOT 2024-02-29 23:19:14Z
@Miguilim: maybe worth to mention next to your snap crc pseudocode is that C++ has integer overflows. So it’s just adding values to some integer if the snap is too big that might overflow. If you take the same code to other languages it might not overflow in the same way. But I’m not super sure here. It’s just something someone mentioned in the #developer channel once iirc. I do not know if snaps can even be big enough for that. Maybe it’s worth it to test the crc code with the same high values in C vs python, JavaScript and rust etc
Avatar
lol, again some people still don't use common time & date libraries ?
Avatar
chillerdragon BOT 2024-02-29 23:21:46Z
?
23:23
Epic meme. I would love to know how he scrapes everything without even a phone number. Many websites require phone numbers just for accessing their content.
Replying to @Ryozuki GHhSyOBXsAA4dKa.png
23:26
This is a solved problem. Jxsl built a Econ vpn banner in go. And I did build one in python. Just search ddnet econ or teeworlds Econ on GitHub.
Replying to @xbt573 hi everyone […]
23:27
What’s wrong with Econ? It’s the most portable and works across hosts. FIFO only works for ddnet and if you are on the same server.
Avatar
chillerdragon: u online on wire ?
Avatar
Avatar
chillerdragon
This is a solved problem. Jxsl built a Econ vpn banner in go. And I did build one in python. Just search ddnet econ or teeworlds Econ on GitHub.
problem with econ is that the output is interleaved, so spotting the output to your commands is rather annoying
Exported 170 message(s)