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 2023-05-23 00:00:00Z and 2023-05-24 00:00:00Z
Avatar
wow! markdown actually looks good inside discord through these now!
Avatar
i dont see it
Avatar
me neither
Avatar
# hello world (edited)
Avatar
oh noes
Avatar
yea can’t see idk
Avatar
in mobile i can
Avatar
can’t on mobile either
Avatar
# developer
Avatar
now i can
06:18
I updated
06:18
why are the automatic updates delayed??
06:18
stupid app store (edited)
Avatar
Why are discord devs so stupid
06:18
You should ask yourself that question, not why updates are delayed
06:19
uhhh
06:19
i forgot
06:19
or is it just disabled
Avatar
no u
06:20
amehype
Avatar
## rust
06:20
“bussin”
06:20
#### test
06:21
nnn
06:21
## e
06:21
### 3?
06:21
H3 is smallest i can go
06:21
and it’s just bold
Avatar
Instead of useful features they take years to add shit
06:21
Even guilded has better features in less time
06:24
oh maybe you need perms to embed links
Avatar
Avatar
Ewan
oh maybe you need perms to embed links
No, just doesn't work
06:25
I support this decision
Avatar
Avatar
ReiTW
No, just doesn't work
it does, but not for normal users
06:25
see #records
Avatar
Yes only bots
Avatar
Yeah that’s old news lol
06:26
Also not markdown
06:26
Special format
Avatar
But links for users were added
06:29
Prob removed cuz they complained
Avatar
Avatar
fokkonaut
Click to see attachment 🖼️
wtf is this
Avatar
dance
06:34
Such a stern fellow
Avatar
Avatar
fokkonaut
dance
thought you made that for a sec
Avatar
Avatar
Chairn
hmm, this is not UB? it just takes the address of x and adds 3*sizeof(x) ?
no, that's UB already
Avatar
Avatar
Ewan
so true
no, in practice, things will happen when you do such stuff. compilers optimize based on it
Avatar
Avatar
heinrich5991
no, that's UB already
why is it ub?
07:29
i think its curious, in rust u can take a ptr and add it 3, i think as long as u dont deref it its safe
Avatar
Avatar
Ryozuki
i think its curious, in rust u can take a ptr and add it 3, i think as long as u dont deref it its safe
how do you add 3?
Avatar
not sure now
07:30
.offset
07:30
iirc
Avatar
that's UB then
07:30
even in the documentation of offset
07:30
(which is why offset is unsafe)
Avatar
Both the starting and resulting pointer must be either in bounds or one byte past the end of the same allocated object.
07:31
true
Avatar
you can use wrapping_offset for other manipulation
Avatar
i should play more with pointers in rust
07:31
never rly needed to do much
Avatar
@Learath2 btw, even stuff around uintptr_t is incorrectly optimized based on the assumption that you can't conjure pointers out of thin air
Avatar
The offset being in bounds cannot rely on “wrapping around” the address space. That is, the infinite-precision sum, in bytes must fit in a usize.
07:35
The resulting pointer “remembers” the allocated object that self points to; it must not be used to read or write other allocated objects.
07:35
nice info xs
07:38
In my previous blog post on pointer provenance, I have shown that not thinking carefully about pointers can lead to a compiler that is internally inconsistent: programs that are intended to...
07:41
Feature gate: #![feature(strict_provenance)] read the docs get the stable polyfill subtasks This is a tracking issue for the strict_provenance feature. This is a standard library feature that gover...
07:44
@heinrich5991 this pr says wrapping offset is not good
07:44
interesting
Avatar
the whole strict provenance thing is interesting 🙂
Avatar
40357e4 Update spanish.txt - n0Ketchp 77ef437 Merge #6652 - bors[bot]
Avatar
sadly not working in chromium, i enabled unsafe webgpu, but can't find my GPU 😄
Avatar
which vendor & driver?
Avatar
does it matter? there is not webgpu driver
Avatar
just curious
Avatar
amd rx 6900 xt Mesa 22.3.6
Avatar
either its chrome exclusive or simply not working on linux xd
Avatar
interesting conclusion
Avatar
i mean webgpu is a subset of vulkan, so i dont find a better conclusion
08:46
i have chromium 113, the examples say chrome 113
Avatar
vulkan extras pkg group or something ? smells like optional
Avatar
i use debian
08:53
with chromium --enable-unsafe-webgpu --enable-features=Vulkan,UseSkiaRenderer it at least finds the GPU now, but it throws many errors 😄
Avatar
Avatar
Ryozuki
why is it ub?
C99 6.5.6 p7, followed by p8. Just doing the addition is immediately UB
Avatar
Avatar
heinrich5991
@Learath2 btw, even stuff around uintptr_t is incorrectly optimized based on the assumption that you can't conjure pointers out of thin air
Which is why I said the only guaranteed thing even with those is that the roundtrip is safe
09:06
Google's android team made a rust tutorial
Avatar
can they please rewrite android with rust
09:07
thanks xd
09:07
I did some yesterday was fun
Avatar
Avatar
Mr.Gh0s7
^
Ah, hadn't spotted it
Avatar
Avatar
Learath2
Which is why I said the only guaranteed thing even with those is that the roundtrip is safe
only because of miscompilations, the standard guarantees some more
Avatar
Avatar
Learath2
C99 6.5.6 p7, followed by p8. Just doing the addition is immediately UB
u know those numbers mean nothing to me, i was interested in why it was considered ub, as in what assumptions the compiler can make due to it
Avatar
these numbers cna help you look up the relevant paragraphs
09:10
just quote the paragraphs xd
Avatar
let me gpt-4 it for you
Avatar
I like references
Avatar
Avatar
Ryozuki
u know those numbers mean nothing to me, i was interested in why it was considered ub, as in what assumptions the compiler can make due to it
It is considered UB because those 2 paragraphs explicitly say it's UB
Avatar
but why did the C standard say it's UB
09:11
is what ryo is asking
Avatar
yeah, but im interested in why they decieded it
Avatar
what benefit does it gain from it
Avatar
would safe me some unsafe if offset in rust wouldnt be unsafe 😂
Avatar
basically, optimize away equality checks for pointers not from the same object
Avatar
Avatar
Jupstar ✪
would safe me some unsafe if offset in rust wouldnt be unsafe 😂
well but u gotta use offset
09:12
and the author itself recommends offset over wrapping offset
09:12
the rfc i sent is interesting
Avatar
this uas been linked many times, and i did too months ago
09:13
but ye
Avatar
rust already knew the link before it was released
09:13
!rust
Avatar
chillerbot BOT 2023-05-23 09:13:41Z
@Ryozuki
Avatar
it might be presumptuous of me, but right now the only interesting reads about rust for me are RFCs and the rustonomicon
Avatar
there are very nice blog posts about rust
Avatar
yeah those too
09:14
specially the ones giving thought about new stuff
09:14
like pointer provenance
09:14
generators
Avatar
Avatar
heinrich5991
there are very nice blog posts about rust
Do share 🙃
Avatar
Avatar
Ryozuki
it might be presumptuous of me, but right now the only interesting reads about rust for me are RFCs and the rustonomicon
Consider the following struct and impl for 2D coordinates: struct Point { x: f64, y: f64 } impl Point { pub fn x_mut(&mut self) -> &mut f64 { &mut self.x } pub fn y_mut(&mut self...
09:15
i need
Avatar
Avatar
Learath2
Do share 🙃
there is one guy that has 3 posts only
09:15
i forgot thenname
Avatar
Avatar
Ryozuki
it might be presumptuous of me, but right now the only interesting reads about rust for me are RFCs and the rustonomicon
Why read RFCs? They will never be implemented pepeW
Avatar
Avatar
Learath2
Why read RFCs? They will never be implemented pepeW
sad and true, dont make me sad
Avatar
Avatar
Learath2
Why read RFCs? They will never be implemented pepeW
huh? rust rfcs are implemented sometimes
Avatar
only useless ones
Avatar
that's not even an RFC though
09:16
it's just a wishlist item
09:17
it seems to me that the benefits this brings will be outweighed by the cost of the additional syntax etc.
09:17
one of em
09:17
very good reads
Avatar
WHY SO MUCH SHOUTING? (edited)
Avatar
Avatar
heinrich5991
it seems to me that the benefits this brings will be outweighed by the cost of the additional syntax etc.
i dunno, i'd say it's useful af
09:18
and this guy too
09:18
epic blog
Avatar
@Ryozuki have you seen this https://fornjot.app/ ? Though I don't know how interested you are in CAD/3D Desing (edited)
Avatar
Avatar
Jupstar ✪
i dunno, i'd say it's useful af
can you give an example? I found that most of this is easily worked around. new syntax for something like this should create large new possibilities IMO
Avatar
Avatar
heinrich5991
huh? rust rfcs are implemented sometimes
The sometimes seems to get slower and slower especially for the most interesting ones
Avatar
and cant miss this
09:18
by niko
09:19
one of the main rust devs
Avatar
Avatar
Learath2
The sometimes seems to get slower and slower especially for the most interesting ones
example?
Avatar
@Learath2
Avatar
e.g. async was an rfc once ^^
Avatar
Avatar
heinrich5991
can you give an example? I found that most of this is easily worked around. new syntax for something like this should create large new possibilities IMO
everytime u want to implement some function on a higher level that has to know about multiple attributes at once, without needing to send around the objects every time you call these functions
Avatar
@Learath2 i think its normal, one wrong step and u are bound to back compat
09:20
thats why they start with restricted MVPs
09:20
like const
Avatar
self.Func would block whole self object
Avatar
https://github.com/rust-lang/rfcs/issues/2140 here is one that was lucky enough to get implemented, hopefully it'll get stabilized this decade
For all collections, provide a method drain_filter. For some discussion of the method name and signature, see rust-lang/rust#43244, especially this comment. Status Implemented, awaiting stabilizati...
Avatar
Avatar
Mr.Gh0s7
@Ryozuki have you seen this https://fornjot.app/ ? Though I don't know how interested you are in CAD/3D Desing (edited)
not rly
Avatar
I'll show another one I'm interested in that wasn't so lucky aswell
Avatar
Avatar
Jupstar ✪
everytime u want to implement some function on a higher level that has to know about multiple attributes at once, without needing to send around the objects every time you call these functions
I don't think that this is going to be easier with that wishlist item being implemented
Avatar
@Learath2 become a rust contrib and push it
Avatar
you'd have to annotate a lot of stuff to make it work
09:21
it's probably easier to work around it instead
Avatar
i dunno
09:22
why move complexity to the code instead of the compiler?
09:22
if borrow checker wouldnt be so dumb, rust would be easier to use (edited)
09:22
dump
Avatar
Avatar
Jupstar ✪
why move complexity to the code instead of the compiler?
because of the halting problem, essentially
09:28
because a sufficiently smart compiler doesn't exist, unfortunately
Avatar
Avatar
Learath2
I'll show another one I'm interested in that wasn't so lucky aswell
https://github.com/rust-lang/rfcs/issues/2616 here is the one I found while digging around for a pretty way to do it
The RFC for if let was accepted with the rationale that it lowers the boilerplate and improves ergonomics over the equivalent match statement in certain cases, and I wholeheartedly agree. However, ...
Avatar
Avatar
heinrich5991
because of the halting problem, essentially
are you also against async?
Avatar
Avatar
Jupstar ✪
are you also against async?
not sure how this is related? ^^
Avatar
why would &mut self borrowing x not be clear to you?
09:29
it adds less complexity than async
Avatar
Avatar
Learath2
https://github.com/rust-lang/rfcs/issues/2616 here is the one I found while digging around for a pretty way to do it
there's now let else which might cover what you need
Avatar
Avatar
Ryozuki
@Learath2
Thanks for the blogs, added to my bookmarks
Avatar
Avatar
Jupstar ✪
why would &mut self borrowing x not be clear to you?
it's cluttering the code with a lot of stuff. it needs to be more than just a nice-to-have to justify so much additional syntax
09:31
I don't see how it'll work out in the end btw
Avatar
that's why i am asking
09:31
async hides even more stuff
Avatar
no, async enables a lot of stuff
09:31
it lets the compiler do the rewriting to a state machine that is easy to get wrong by hand
09:32
also, it makes the language's control structures first-class in an async context
09:32
which is very nice
Avatar
well the above makes it first-class for the context of partial self borrowing
09:32
which is very nice
Avatar
Avatar
Jupstar ✪
well the above makes it first-class for the context of partial self borrowing
that's not what I said about async
Avatar
async enabled stuff like if, else, return, etc. work in an async context
09:33
where previously, you had to build these control structures into your state machine
09:33
it enabled the use of existing control structures in an async context
Avatar
async is big ye
Avatar
well anyway, i am happy many ppl in the rfc issue agree with me, i'd say its a must have for rust
09:34
it doesn't add lot of complexity to the syntax while making coding much easier
Avatar
Avatar
Learath2
https://github.com/rust-lang/rfcs/issues/2616 here is the one I found while digging around for a pretty way to do it
actually, why not just if !matches!(x, Some(_)) { … }?
Avatar
Avatar
Jupstar ✪
well anyway, i am happy many ppl in the rfc issue agree with me, i'd say its a must have for rust
thats a bit of confirmation bias, mostly interested ppl go say they interested tho
Avatar
that's not a problem
09:35
you could also claim async is only needed for ppl requiring async code all features are biased
Avatar
Avatar
Jupstar ✪
well anyway, i am happy many ppl in the rfc issue agree with me, i'd say its a must have for rust
it's not really an rfc. if you look at the linked rfcs, it seems most people are against it
Avatar
well i said rfc issue
09:36
bcs its clearly in the rfc repo
Avatar
yea. I just want to make very clear that it's not an rfc
09:37
the rfc repo issues are merely wishlist items
Avatar
then lets hope it gets a rfc very soon
Avatar
Avatar
heinrich5991
actually, why not just if !matches!(x, Some(_)) { … }?
I think this is what I ended up with, it's not the prettiest but it works. I can check after I get up. I may have just inverted the branches and bit the nesting bullet too
Avatar
Avatar
Learath2
C99 6.5.6 p7, followed by p8. Just doing the addition is immediately UB
so &x + 0 is not UB right? 😂
09:57
and - 0 either
Avatar
correct
09:57
also + 1
Avatar
&x + sum (-1)^(n+1) (edited)
10:03
n from 1 => infinity (edited)
10:04
is this UB?
Avatar
o damn POGGIES
10:43
congrats @Robyt3
10:44
@Jupstar ✪ we got overtaken
10:44
well not like i ever thought i would be admin
10:44
more so given heinrich being there justatest
Avatar
Heinrich is heinrich
10:44
As you can tell from his heinrich role
Avatar
heinrich is admin
Avatar
Avatar
Ryozuki
@Jupstar ✪ we got overtaken
deen asked me like 4 years ago, i declined
Avatar
If I remember correctly we asked @Jupstar ✪ once and he declined. Anything changed @Jupstar ✪ ?
10:46
good timing 😄
10:46
guess im the only unworthy xD
Avatar
Avatar
deen
If I remember correctly we asked @Jupstar ✪ once and he declined. Anything changed @Jupstar ✪ ?
i dont know rn, if there is no hurry let me think about it for a bit
Avatar
@Ryozuki I think admin isn't fully correlated with development activity
Avatar
yep, thats the main reason i am not 100% sure
Avatar
yeah i know
10:47
more or less
10:47
ill just be the guy in the shadows
10:47
doing some prs
10:48
maintaining the wiki
10:48
some blogs here and there
10:48
and being annoying about rust
10:49
Avatar
That 1 month github activity graph is scary 😄 118/176 commits were from @Robyt3
YEP 1
Avatar
He’s basically the lone developer of ddnet
10:50
Not to discredit the work of all the other devs (edited)
10:51
I still wish i could code so i could contribute the amount of ideas i have
Avatar
well not to diminish the work, he doesnt squash the commits most of the time
Avatar
there is no good meassurement anyway
10:55
robyte is very active and fixes his bugs very quickly, that's worth a lot imo
10:56
actually his activity motivated to code again in ddnet xd
10:56
but time is hard to come by
Avatar
Avatar
Ryozuki
well not to diminish the work, he doesnt squash the commits most of the time
Sure, number of commits is not a good measure, but his commits are actually helpfully split up for reviewing
Avatar
i will not get used to robyt with a green name
Avatar
@Voxel when admin
Avatar
i dont want admin
Avatar
as long as u are on good terms with heinrich it seems possible now
11:26
kek
Avatar
Troll
Avatar
Truth but troll
11:26
010ca46 Update tiles.csv - RIH-Cellegen def6f28 Further Updating tiles.csv - RIH-Cellegen a1d0a00 Update tiles.csv - def- dc34f84 Merge pull request #256 from RIH-Cellegen/patch-1 - def-
Avatar
@Jupstar ✪ if u get admin ill cri
11:27
ill feel out of place here
Avatar
Why u so mad xd
11:27
idk something in myself made me extremely conscious now
Avatar
Being admin made learath depressed
Avatar
i dont think thats related
11:28
thinking about it deeper, i dont rly wanna be admin, cuz its a burden
11:28
but i guess it just felt as if what i do was less, idk how to put it in words
11:28
im just a envy person justatest
Avatar
yeah u should relax a bit
11:29
and join discord so these stupid new emoji suggestions dont pop up every 5 seconds
11:29
wtf is this
Avatar
what suggestions
Avatar
i type wtf and on the right there are suggestions
11:30
on the file icon
11:30
this aggressive guy xd
Avatar
idk i dont see it
11:30
xd
Avatar
u can turn it off
Avatar
does that only work in the app?
Avatar
i guess only desktop
Avatar
you CAN?
Avatar
rip
Avatar
rightclicking on the input doesnt work
11:31
discord fault
Avatar
Avatar
Jupstar ✪
yeah u should relax a bit
i know u mean good, but this is the worst thing to say to someone not relaxed xdd
11:33
In this blog post, I delve into the comparison of memory consumption between asynchronous and multi-threaded programming across popular languages like Rust, ...
11:34
11:35
this is the minimum footprint
11:35
this is 1m tasks
11:35
Avatar
uff, why is rust async-std worse than c# and js
11:41
how is that even possible xD
11:41
but gg to tokio
11:41
go worse than python lmao
11:41
that's already an accomplishment
Avatar
Avatar
Jupstar ✪
uff, why is rust async-std worse than c# and js
the first image is the minimal footprint of 1 task
11:44
but ye
Avatar
but i guess 1 task isnt the most common thing? tho yeah c# is clear winner xDD
Avatar
async-std is not that good
11:44
tokio is a engineer marvel
11:44
go is supposed to do big well here
11:44
cuz it always goes on about coroutines
Avatar
good that we dont have a RAM problem rn
11:46
but tbf, its not good measurement anyway
11:46
i also need performance
11:46
i knew learath comes
11:46
when memory is mentioned xD
11:46
he smells it
11:46
did he type
Avatar
yes
Avatar
im sure tokio does well in perf
Avatar
he was about to say it
11:47
yeah no doubt
Avatar
tokio is used by http servers
Avatar
but i want to see how fast c# is
Avatar
and they are on on the top 10
11:47
rust
Avatar
and go
Avatar
go is probs fast
11:48
btw
11:48
systemd bootloader uefi
11:48
is made in rust xd
Avatar
fwiw I like async-std more, but tokio is more popular
11:48
u only need 2
11:49
tokio and pollster
11:49
pollster for super lightweight
11:49
@Learath2 u will like this crate
11:49
it mentions unix ethos
Avatar
Love it already
Avatar
OH, I needed this before. I had to
11:51
settle for tokio
Avatar
i feel hipster, im at a office on a terrace with a mac coding rust
12:08
on a sunny day
Avatar
Avatar
Ryozuki
i feel hipster, im at a office on a terrace with a mac coding rust
where linux
12:37
ur banned from the elite linux fanclub
12:38
in office i dont have another laptop
12:38
they gave me m1
12:38
which tbh, is crazy fast
12:38
compile times are almost same as my 5800x
Avatar
what even is ryoz coding at work
12:41
or is that disclosed
Avatar
nuclear weaponry software
Avatar
Avatar
Voxel
what even is ryoz coding at work
i wont say it exactly, but with some digging u probs can find it
12:42
but its related to making a compiler with llvm
Avatar
Avatar
Ryozuki
i feel hipster, im at a office on a terrace with a mac coding rust
Starbucks coffee?
Avatar
no its our own office
12:43
i get normal coffee
12:43
with milk
12:44
the rly big sized one, it costs 2.7€
12:44
but its giant
Avatar
🤮 no hipster then
Avatar
Avatar
Voxel
what even is ryoz coding at work
ai women
Avatar
still, better than american coffee
12:44
if they can call it that
Avatar
Avatar
cyberFighter
ai women
ew...
Avatar
Avatar
Avolicious
🤮 no hipster then
sadSnail
12:46
no hipster
12:47
no maidens
Avatar
god why are people content with working for an ai
Avatar
@Voxel did u learn rust yet
Avatar
Voxel did u join the cool crew yet
12:49
i even made the logo for you
Avatar
Avatar
Ryozuki
no hipster
I am sitting with a mac in a starbucks shop and consuming starbucks coffee, writing a case study cybersecurity related for my job and university 🙂 hipster confirmed tho
Avatar
Avatar
Ryozuki
@Voxel did u learn rust yet
no i had to finish an animation for someone
Avatar
Avatar
Jupstar ✪
i even made the logo for you
the voxel vulkan logo?
Avatar
yes
Avatar
i still need to know what to make in rust
Avatar
program smth with vk
12:52
join mesa and make rust drivers for vulkan
Avatar
Avatar
Avolicious
I am sitting with a mac in a starbucks shop and consuming starbucks coffee, writing a case study cybersecurity related for my job and university 🙂 hipster confirmed tho
kek
Avatar
oh yew vulkan
Avatar
join kernel development and write the DRM in rust
Avatar
Avatar
Avolicious
I am sitting with a mac in a starbucks shop and consuming starbucks coffee, writing a case study cybersecurity related for my job and university 🙂 hipster confirmed tho
im writing a array slice implementation in llvm mlir
Avatar
hm that adds anothrt thing to add to my list
Avatar
with 1st class vk support
Avatar
oh man i can only imagine now
Avatar
vulkan is hard
12:54
first learn programming
Avatar
Avatar
Voxel
god why are people content with working for an ai
im about to study it in college
12:54
Avatar
vk is easy
Avatar
it has lot of stuff
Avatar
Avatar
louis
im about to study it in college
remember: ai isnt human and doesnt deserve rights
Avatar
and its hard for a newbie
Avatar
math is the only hard thing
Avatar
Avatar
Voxel
remember: ai isnt human and doesnt deserve rights
well ye im more interested in the beneficial applications
12:55
like with actual issues etc
Avatar
like traffic for example
12:56
americuh things
Avatar
Avatar
Voxel
remember: ai isnt human and doesnt deserve rights
do animals deserve rights?
Avatar
i have yet to see a cat that can provide beneficial advice for our economy
12:56
other than "MAAW"
Avatar
if AI learning is about survival of the fittests where good things are treated positive and bad things are punished, does this blur the line to what we consider pain? (edited)
Avatar
i dont like thinking about how something that isnt even made by nature can rule over people
Avatar
its made by nature
12:58
bcs we were made by nature
Avatar
thats a stretch
12:58
you know what i mean
Avatar
its the next logical step, planned by nature bcs its too hard for it to do biologically
12:58
we are the tools
Avatar
so what? am i just going to just accept being a slave of these things in the future?
Avatar
maybe we're the ai in an artificial universe created by someone
Avatar
u are a slave rn
12:59
AIs can give u freedom
Avatar
Avatar
Jupstar ✪
do animals deserve rights?
mosquitos don't
troll 6
Avatar
Avatar
Jupstar ✪
AIs can give u freedom
right now its kind of the opposite
Avatar
Avatar
Voxel
right now its kind of the opposite
the AI we have is not general intelligence tho
13:00
generally tho, we are probably very free compared to 100 years ago
Avatar
i wouldn't say we're more free than 100 years ago
13:01
we just have more options
Avatar
i'd say we arent free, but more free than 100 years ago when capitalism began it's unbreakable march and humans were actual resources
Avatar
Avatar
Iza
we just have more options
thats being more free troll
Avatar
when i say we i probably refer to the folk in total
Avatar
i think i meant something more like "we have different options" instead of more options
Avatar
around 150 years ago there still was slavery in USA
13:04
around 60 years ago it was ok to define black ppl as something worth less than whites
Avatar
well slavery is not comparable to anything, thats an absolute imprisonment
Avatar
i mean yeah in the usa theres more freedom since then (🦅🇺🇸🗣️)
13:05
not necessarily in other places though
Avatar
Avatar
murpi
mosquitos don't
so true
Avatar
᲼᲼᲼᲼᲼᲼᲼᲼ 2023-05-23 13:06:46Z
i need help
13:06
:(
Avatar
we all need help here
13:08
9006e11 Run ./update_explain_layers.sh to update explain csvs - Zwelf 975b224 Merge pull request #258 from Zwelf/pr-update-explain-csv - def-
Avatar
Avatar
᲼᲼᲼᲼᲼᲼᲼᲼
i need help
maybe you'd get help if you weren't invisible
Avatar
Avatar
GitHub
Click to see attachment 🖼️
xD
Avatar
@Jupstar ✪ can we query the min sample rate
13:44
or smth
Avatar
i dunno, but i guess SDL has smth like that
Avatar
ill check
13:50
xd
13:50
i think sample rate should make be a dropdown
13:50
maybe
13:50
*
13:51
freq specifies the number of sample frames sent to the sound device per second. The Nyquist Theorem states that the audio sampling frequency must be exactly twice the highest frequency represented in the audio. Humans can hear up to slightly under 20kHz, declining to 16kHz or lower as we age. Standard CD quality audio uses 44100. DVDs and the Opus audio codec use 48000. Values higher than 48000 generally should not be used for playback purposes because they use more memory, use more CPU, and can cause other problems as explained in this blog post by Chris Montgomery of Xiph.
13:51
Format.freq = g_Config.m_SndRate;
Avatar
i use studio quality
13:51
bcs i have fast CPU and lot of RAM
Avatar
whats the value for that
Avatar
I use 192000 Hz in my Realtek driver software
Avatar
i think generally ppl dont want to change this
13:52
from ui
13:52
lol
Avatar
yeah, it's not a relevant setting for most users
Avatar
Avatar
Robyt3
I use 192000 Hz in my Realtek driver software
do u have high qaulity audio equipment
Avatar
maybe remove the setting from the UI entirely and set the default to 44100 or 48000
Avatar
i should tweak someday my values then
Avatar
Avatar
Ryozuki
do u have high qaulity audio equipment
not really, but I don't know how much of a difference it makes either
Avatar
not much probably
13:53
Humans can hear up to slightly under 20kHz, declining to 16kHz or lower as we age
Avatar
my speakers are the oldest still working part of my setup I think
Avatar
Avatar
Ryozuki
not much probably
i dunno
Avatar
sampling frequency must be exactly twice the highest frequency represented in the audio
Avatar
i'd say it sounds better
Avatar
48 sounds good
13:55
Unfortunately, there is no point to distributing music in 24-bit/192kHz format. Its playback fidelity is slightly inferior to 16/44.1 or 16/48, and it takes up 6 times the space.
>
There are a few real problems with the audio quality and 'experience' of digitally distributed music today. 24/192 solves none of them. While everyone fixates on 24/192 as a magic bullet, we're not going to see any actual improvement.
13:56
13:56
factoids
Avatar
bad ears 😉
13:58
@Jupstar ✪ @Robyt3 what do u think about setting the min value to CD hz
13:58
44k
13:58
ez fix
Avatar
well if someone wants bad quality
13:58
why prevent it 😄
Avatar
cuz crash
Avatar
yeah when its set to 1 xD
Avatar
if i ever get a computer chip in my brain i want it only to secretly play ddnet while im ar work
13:58
thats it
Avatar
but dont devices support only specific sample rates?
13:58
44.1, 48, 192
13:58
idk
Avatar
well but i assume they rescale it?
Avatar
@Jupstar ✪ whats the diff between 16bit and 32bit audio
Avatar
making it sound floppy
Avatar
and float or integer
13:59
never looked much into audio myself
Avatar
16bit = 16bit to represent a wave
13:59
32bit = 32bit to represent a wave
14:00
floats usually are used to normalize it, but u know problems and advantages of floats
Avatar
m_SndBufferSize should also be a power of 2
Avatar
back in the days i had to reduce it
14:00
bcs it crated too much lag
Avatar
With SDL >= 2.0.4 you can choose to avoid callbacks and use SDL_QueueAudio() instead, if you like. Just open your audio device with a NULL callback.
Avatar
// Set 16-bit stereo audio at 22Khz the comment implies that teeworlds was 22050 Hz before
14:01
but we are not in 2007 now
14:01
xd
Avatar
Avatar
Jupstar ✪
yeah when its set to 1 xD
What is the minimum sampling rate where it doesn't crash for them? Literally just with 1?
Avatar
i dunno
14:03
i am linux enjoyer where everything works
Avatar
also works on Windows for me
Avatar
maybe audio driver specific issue
Avatar
@Robyt3 try setting m_SndBufferSize to a non power of 2 too
Avatar
Avatar
Ryozuki
@Robyt3 try setting m_SndBufferSize to a non power of 2 too
doesn't cause any issues for me
Avatar
even after restart?
14:07
with values like 129, 1234
14:07
i get it
14:07
we pass "desired" values
14:07
it doesnt mean we get those
Avatar
SDL probably rounds yeah
14:08
I think it's fine to remove the sampling rate UI though and set the default to 48000 if it isn't already
Avatar
sdl says to use SDL_LockAudioDevice on the callback
14:09
but i think we use our own locks
14:10
ye
Avatar
but we only put smth into a buffer sdl gives us
14:11
- desired->callback should be set to a function that will be called when the audio device is ready for more data. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling SDL_LockAudioDevice() and SDL_UnlockAudioDevice() in your code. Alternately, you may pass a NULL pointer here, and call SDL_QueueAudio() with some frequency, to queue more audio samples to be played (or for capture devices, call SDL_DequeueAudio() with some frequency, to obtain audio samples).
Avatar
well then i dont see a problem using a custom mutex
14:13
its probably for consoles without c++ standard or smth
14:14
yeah
14:14
sdl also provides stuff like memset
14:14
SDL_memset
Avatar
yep
14:16
to detect if running on battery
14:17
xd
Avatar
xd
14:17
"please dont use ur battery and cry about lags"
Avatar
would it be bad to log if ur using battery
14:18
maybe helps for crying users
14:18
xd
Avatar
how do i pull request on github?
14:20
can you add translate for chat?
Avatar
we dont plan that bcs we cant ship a translator for everyone but if u are interesting, create an API that can be overloaded with an translator API
Avatar
Avatar
Smetanolub
can you add translate for chat?
The ATH client had a translator IIRC
14:23
its time
Avatar
true
14:23
we could do the translation server side 😉
14:24
ill look into this
14:30
ok maybe idk
14:30
never used tensorflow xd
14:32
Fast inference engine for Transformer models. Contribute to OpenNMT/CTranslate2 development by creating an account on GitHub.
Avatar
ChillerDragon BOT 2023-05-23 14:38:02Z
@Chrairn 22:19:19 bridge | <Chairn> you gotta split on < and > and then split according to what's in between, because there are multiple garbages prepended
14:38
was this a message for me?
14:38
i do not understand
14:38
about the image size i tried to replicate discord and the screens i got from u it was always huuughe
14:39
oh wait it IS a discord image :D i thought its chat.zillyhuhn.com xd
14:40
yea you are right it should be smaller
Avatar
ws-client BOT 2023-05-23 14:56:49Z
<Jupstar> greatest chat of all time
Avatar
if its not made in rust i wont use it
Avatar
ws-client BOT 2023-05-23 14:57:09Z
<Jupstar> nice you even added basic markdown support already
Avatar
Avatar
Learath2
fwiw I like async-std more, but tokio is more popular
why do you like async-std more?
Avatar
Avatar
heinrich5991
why do you like async-std more?
The executor agnostic approach and the way they try to stick as close to std as possible sounded like the better idea to me
Avatar
i was about to send a microsoft rust link
15:21
but iwont
15:21
i hate m too much
Avatar
Avatar
Ryozuki
if its not made in rust i wont use it
my brother in christ discord uses javascript
Avatar
rust for backend
Avatar
yes but it isnt
15:25
made
15:25
ok brb
Avatar
bdc916f Fix swapping with dragger beams (fixes #6597) - def- fa2e7ca Merge #6651 - bors[bot]
Avatar
Traceback (most recent call last): File "uniffi-rs/fixtures/coverall/tests/bindings/test_coverall.py", line 7, in <module> from coverall import * File "uniffi-rs/target/tmp/uniffi-fixture-coverall-3329ffd2840b8730/coverall.py", line 1062, in <module> class FfiConverterFloat(FfiConverterPrimitiveFloat): TypeError: function() argument 'code' must be code, not str
16:17
weird error, anyone good at python? ^^
16:18
the internet tells me this might happen if I derive from a module
16:18
but this FfiConverterPrimitiveFloat ought to be a class
Avatar
chillerdragon BOT 2023-05-23 16:42:44Z
@Chairn: I messed up the ping. Your name is such a typo (<@749222324980416602_=43hiller=44ragon>)
@Chrairn 22:19:19 bridge | <Chairn> you gotta split on < and > and then split according to what&#x27;s in between, because there are multiple garbages prepended
Avatar
i hate most games are windows only, i wanted to look into how modding propietary games work, but its all about windows apis
16:54
such a chore, i wanna use linux
16:55
well the specific thing i searched was about dll injection
16:55
Injected Windows library for capturing decoded FFXIV packets - GitHub - ff14wed/deucalion: Injected Windows library for capturing decoded FFXIV packets
16:55
interesting piece of software
16:57
Lightweight, memory-safe, zero-allocation library for reading and navigating PE binaries. - GitHub - CasualX/pelite: Lightweight, memory-safe, zero-allocation library for reading and navigating PE ...
16:57
im in a rabbit hole now
Avatar
sounds like an interesting rabbit hole though 🙂
17:02
@heinrich5991 do u know what signature scanning is?
17:02
know a more up to date crate than https://github.com/pombredanne/scanner-rs ?
Binary signature scanner in Rust. Contribute to pombredanne/scanner-rs development by creating an account on GitHub.
Avatar
signature scanning is scanning for known byte sequences, I think
17:03
i.e. looking for functions you want to patch
17:03
based on their instructions
Avatar
yeah, but often u can skip some bytes
17:03
xx??xx????
Avatar
probably because these bytes change from version to version
17:04
e.g. when they're calls to different functions which might be laid out differently
Avatar
[MemberFunction("E8 ?? ?? ?? ?? EB 64 B1 01")] public partial bool UseAction(ActionType actionType, uint actionID, long targetID = 0xE000_0000, uint a4 = 0, uint a5 = 0, uint a6 = 0, void* a7 = null);
17:04
xD
17:05
yeah
17:05
might be interesting to see how sigscanning works, maybe i can make my own crate
Avatar
Avatar
heinrich5991
but this FfiConverterPrimitiveFloat ought to be a class
def FfiConverterPrimitiveFloat(FfiConverterPrimitive): @classmethod def check(cls, value): return super().check(float(value))
17:05
well, yeah..
Avatar
Avatar
Ryozuki
might be interesting to see how sigscanning works, maybe i can make my own crate
it's literally scanning for known byte sequences
17:06
implementing a string search doesn't sound too interestng
17:07
true
Avatar
ChillerDragon BOT 2023-05-23 17:27:55Z
0.6.5 is such a fever dream heinrich did i get that correctly the client sends its token which the server uses once to send its token and then both server and client use the same token?
Avatar
I don't remember
Avatar
ChillerDragon BOT 2023-05-23 17:28:15Z
whereas in 0.7 client and server both have their own token
Avatar
ChillerDragon: it seems there's even a PR to add type hints to uniffi: https://github.com/mozilla/uniffi-rs/pull/1506 (edited)
Avatar
@heinrich5991 i got a crazy idea maybe u know if its possible, do u think u can tell cargo where to put target/ ? for example in a tmpfs
Avatar
yes, there's an env variable for that
17:31
how compatible it is if u have multiple projects tho
Avatar
no problem IIRC
Avatar
I think I had such a setup before
17:31
putting everything into /var/cache/cargo-1000
17:32
or /var/tmp/cargo-1000, probably
17:32
it might not work well with projects that try to handle cargo themselves
Avatar
hmm i see
Avatar
CARGO_TARGET_DIR btw
Avatar
ChillerDragon BOT 2023-05-23 17:36:45Z
17:36
trol
17:37
@heinrich5991 pog type hints
17:37
ah fuck i messed up colors in my meme
Avatar
Avatar
Ewan
yea cuz float is 2 bytes
float is 4 bytes
Avatar
ChillerDragon BOT 2023-05-23 17:42:13Z
17:42
more arrows more fun
Avatar
I am unsure if i should create a pr for this https://discord.com/channels/252358080522747904/295908390956433410/994591252819488848 monkaS I am working since months on it but i cant fix some bugs. Its working tho most of the time but i am scared to get ranted at for my coding justatest justatest
17:55
getting ranted is the best way to learn
17:55
and nobody will be offensive, heinrich will make sure
Avatar
Avatar
Ryozuki
getting ranted is the best way to learn
Hmm you are right 🤔 (edited)
Avatar
make sure u adhere to naming conventions
👍 1
17:59
<ChillerDragon> as a irc user i feel excluded from this conversation
17:59
<ChillerDragon> this is chat protocolism
18:00
<ChillerDragon> please only use inclusive links honoring the diversity of all chat protocols
Avatar
use discord
Avatar
ws-client BOT 2023-05-23 18:00:41Z
<ChillerDragon> i feel offended
Avatar
its not gonna bite you
Avatar
Avatar
chillerdragon
@Chairn: I messed up the ping. Your name is such a typo (<@749222324980416602_=43hiller=44ragon>)
dafuck? how is my name a typo?
Avatar
ws-client BOT 2023-05-23 18:01:18Z
<ChillerDragon> xd
18:01
<ChillerDragon> so hard to taipe
18:01
<ChillerDragon> i pro taipor
18:01
<ChillerDragon> its not even a real word
18:02
<ChillerDragon> karen?
Avatar
yeah, cuz chillerdragon is in dictionnary obviously
Avatar
ws-client BOT 2023-05-23 18:03:20Z
<ChillerDragon> daa
18:04
<ChillerDragon> I am a machine that removed heat from a liquid coolant with wings
18:05
<ChillerDragon> its two words merged by UpperCamelCase
18:06
<ChillerDragon> I have a fully functional name
18:10
<ChillerDragon> I wish irc had profile pictures ._.
Avatar
Avatar
ws-client
the logos look traumatized
Avatar
ws-client BOT 2023-05-23 18:10:31Z
<ChillerDragon> teeish*
Avatar
ws-client BOT 2023-05-23 18:11:25Z
<ChillerDragon> you the designer wanna make em better?
18:11
troll project not meant to be actually used. Contribute to ChillerDragon/discord-irc development by creating an account on GitHub.
Avatar
ws-client BOT 2023-05-23 18:23:39Z
<ChillerDragon> @Chairn in case it was not clear i was trolin u have veri cute name UwU
Avatar
all symbols gone
18:24
sad
18:24
maybe u should nuke them after the release deen 😂
Avatar
@ChillerDragon Sorry pepeH
Avatar
symbols?
Avatar
ws-client BOT 2023-05-23 18:29:39Z
<ChillerDragon> debug symbols i assume
Avatar
Avatar
Jupstar ✪
all symbols gone
There are git revision hashes in the file name now though, so we could try writing a script/bot that automatically parses the crash logs
Avatar
ah cool 😄
Avatar
ws-client BOT 2023-05-23 18:35:29Z
<ChillerDragon> Build a website where they can be pasted in and annotated :) like https://mclo.gs/kHkh0HO
18:36
<ChillerDragon> The crash logs are never auto uploaded somewhere right? So its mostly users posting them on discord i assume? Where do people do that? in #bugs? they dont really appear in this channel do they?
Avatar
yeah, they mostly send them in #bugs or in DM
Avatar
hey, im wondering if there is any flood protection built-into ddnet? i just started a new server and somebody seems to be funny
18:38
(i have unregistered it from server list for now so it doesnt get masterbanned)
Avatar
ws-client BOT 2023-05-23 18:38:58Z
<ChillerDragon> yea since this one idiot published a js lib tw is full of skids
18:39
<ChillerDragon> axaxaxaxaxaxax
Avatar
who
Avatar
Avatar
ws-client
<ChillerDragon> yea since this one idiot published a js lib tw is full of skids
xdddd
Avatar
ws-client BOT 2023-05-23 18:39:16Z
<ChillerDragon> nodel
18:39
<ChillerDragon> suff
Avatar
do u think its made with that?
Avatar
ws-client BOT 2023-05-23 18:39:33Z
<ChillerDragon> idk honestly
18:39
<ChillerDragon> dont u send secret swarfey fingerprint bytes?
Avatar
Avatar
Swarfey
hey, im wondering if there is any flood protection built-into ddnet? i just started a new server and somebody seems to be funny
different IP addresses?
Avatar
ws-client BOT 2023-05-23 18:39:50Z
<ChillerDragon> some noodle emoji?
Avatar
i think not, i checked status and they dont have default skin or default ddnet version shipped with my lib
18:40
they might have changed it tho, is possible
Avatar
ws-client BOT 2023-05-23 18:40:24Z
<ChillerDragon> I have seend those once in the master its not known who is doing that right?
Avatar
Avatar
heinrich5991
different IP addresses?
are logs saved somewhere by default? i didnt enable show_ips 1 by default
Avatar
no
Avatar
ws-client BOT 2023-05-23 18:40:38Z
<ChillerDragon> nah no logs by default
Avatar
how did you start the server?
Avatar
@Swarfey go register the server again
18:40
troll
Avatar
is autoexec_server.log not enabled per default?
Avatar
2023-05-23 20:36:01 I server: id=6 addr=XXX name='TMWOMS' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=7 addr=XXX name='GEYCSN' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=8 addr=XXX name='ASOAIF' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=9 addr=XXX name='OFOTQG' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=10 addr=XXX name='LLSBNY' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=11 addr=XXX name='ARNQRG' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=12 addr=XXX name='YHVBEA' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=13 addr=XXX name='GLIVDS' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=14 addr=XXX name='FBAFQQ' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=15 addr=XXX name='PVHYEP' client=2 secure=yes flags=0
18:41
if u wanna inspect it, idk
18:41
they arent spoofed
Avatar
ws-client BOT 2023-05-23 18:41:23Z
<ChillerDragon> they can not join with spoofed
Avatar
Avatar
heinrich5991
how did you start the server?
just ./DDNet-Server.exe, its just a server for friends rn
Avatar
ws-client BOT 2023-05-23 18:41:59Z
<ChillerDragon> Its probably some proxy ips
Avatar
Avatar
Swarfey
2023-05-23 20:36:01 I server: id=6 addr=XXX name='TMWOMS' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=7 addr=XXX name='GEYCSN' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=8 addr=XXX name='ASOAIF' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=9 addr=XXX name='OFOTQG' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=10 addr=XXX name='LLSBNY' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=11 addr=XXX name='ARNQRG' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=12 addr=XXX name='YHVBEA' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=13 addr=XXX name='GLIVDS' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=14 addr=XXX name='FBAFQQ' client=2 secure=yes flags=0 2023-05-23 20:36:01 I server: id=15 addr=XXX name='PVHYEP' client=2 secure=yes flags=0
hmmm, client version 2
Avatar
ws-client BOT 2023-05-23 18:42:11Z
<ChillerDragon> oh yea u can ban that version
18:42
<ChillerDragon> with a config
Avatar
but they're just gonna change it
18:42
not really a solution
Avatar
ws-client BOT 2023-05-23 18:42:28Z
<ChillerDragon> how would they know
Avatar
Avatar
heinrich5991
hmmm, client version 2
it means that the client didnt sent info to server yet, which means that those proxies will time out
Avatar
Avatar
ws-client
<ChillerDragon> how would they know
cuz they are probably reading this :D
Avatar
ye they did timeout
Avatar
ws-client BOT 2023-05-23 18:42:45Z
<ChillerDragon> this is secret channel
Avatar
they want to cause mayhem and are waiting for the attention probably
Avatar
Avatar
Iza
it means that the client didnt sent info to server yet, which means that those proxies will time out
hmmmm interesting
Avatar
they timed out after 100 seconds already, just thought they will probably come back
Avatar
ws-client BOT 2023-05-23 18:43:35Z
<ChillerDragon> add ip filter with blacklist for vpns etc
Avatar
ye ima add logs and wait until they come back someday
Avatar
ws-client BOT 2023-05-23 18:44:04Z
<ChillerDragon> rcon sv_banned_versions 2
Avatar
you should have a autoexec_server.log in your config directory if you just start the server with default options
Avatar
ws-client BOT 2023-05-23 18:44:38Z
<ChillerDragon> wot since when?
Avatar
Avatar
Robyt3
you should have a autoexec_server.log in your config directory if you just start the server with default options
where can i find the config directory on linux?
Avatar
ws-client BOT 2023-05-23 18:45:26Z
<ChillerDragon> cd ~/.teeworlds
18:45
<ChillerDragon> or cd ~/.ddnetmabye these days
Avatar
Avatar
ws-client
<ChillerDragon> wot since when?
don't know, it's configured in the default config that the server loads
Avatar
wow my friends game just crashed
Avatar
ws-client BOT 2023-05-23 18:45:56Z
<ChillerDragon> tell your friend to uninstall vbot and use ddnet
Avatar
where are the dumps
18:46
located
Avatar
ws-client BOT 2023-05-23 18:46:21Z
<ChillerDragon> %APPDATA% i assume
Avatar
in dumps folder in the config directory. do you mean on Windows?
18:46
There are no detailed dumps on Linux, only logs for assertions
Avatar
ws-client BOT 2023-05-23 18:47:05Z
<ChillerDragon> cyber friend sounds like :windows:
Avatar
no crash log appeared for him
Avatar
ws-client BOT 2023-05-23 18:47:31Z
<ChillerDragon> what client version does he use?
18:47
<ChillerDragon> maybe its older than the crash log feature xd
Avatar
latest ddnet
18:47
its a new mod i made
Avatar
ws-client BOT 2023-05-23 18:47:53Z
<ChillerDragon> the client?
Avatar
latestish*
Avatar
ws-client BOT 2023-05-23 18:48:01Z
<ChillerDragon> well then its swarfey code that crashed hrhr
Avatar
server mod
18:48
wot nothing crashed
Avatar
ws-client BOT 2023-05-23 18:48:17Z
<ChillerDragon> coberfita said his frint pc exploded
Avatar
the only thing that crashes is the server itself xdddddd
Avatar
ws-client BOT 2023-05-23 18:48:34Z
<ChillerDragon> > wow my friends game just crashed
18:49
<ChillerDragon> The same flood would also work on most ddnet servers i assume
18:50
<ChillerDragon> on those that are not behind the ger10 firewall and have the vpn blocker off which is some of them
Avatar
Avatar
Iza
it means that the client didnt sent info to server yet, which means that those proxies will time out
clients that don't return a clientid default to -1, not 2 (edited)
Avatar
nvm my friend is very stupid and has this as a bind
troll 2
Avatar
ws-client BOT 2023-05-23 18:50:34Z
<ChillerDragon> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxD
Avatar
top 10 keb moments
Avatar
ws-client BOT 2023-05-23 18:51:11Z
<ChillerDragon> f1 exit lag
18:51
<ChillerDragon> gets em everytime
Avatar
press alt when voting
Avatar
ws-client BOT 2023-05-23 18:51:36Z
<ChillerDragon> lmao
18:51
<ChillerDragon> good one too
Avatar
also chiller send help, i cant find the config directory sos
Avatar
ws-client BOT 2023-05-23 18:51:51Z
<ChillerDragon> watf
18:51
<ChillerDragon> how
Avatar
how does config_retrieve work
Avatar
ws-client BOT 2023-05-23 18:52:14Z
<ChillerDragon> ??
18:52
<ChillerDragon> on linux?
Avatar
  • its not in /.teeworlds or ~/.teeworlds xd
18:52
ye
Avatar
Avatar
Swarfey
how does config_retrieve work
It loads a config from map, unrelated to what you are trying (edited)
Avatar
ws-client BOT 2023-05-23 18:52:31Z
<ChillerDragon> then try cd ~/.ddnet
Avatar
Avatar
murpi
clients that don't return a clientid default to -1, not 2 (edited)
there were a couple of mentions of it tho, ask @ReD
Avatar
ws-client BOT 2023-05-23 18:52:59Z
<ChillerDragon> iirc ddnet uses .teeworlds if found and on fresh systems its uses .ddnet
18:53
<ChillerDragon> mentions of what ? @Iza
Avatar
No such file or directory
Avatar
ws-client BOT 2023-05-23 18:53:27Z
<ChillerDragon> wtf
18:53
<ChillerDragon> you switched to linux?
Avatar
clients that don't return a clientid default to -1, not 2
<ChillerDragon>
Avatar
ws-client BOT 2023-05-23 18:53:40Z
<ChillerDragon> or is this a server you rent?
Avatar
the server is linux ye
18:53
a server i rent
Avatar
Avatar
ws-client
<ChillerDragon> mentions of what ? @Iza
that clientid 2 means that the client hasnt sent its clientid to the server yet
Avatar
ws-client BOT 2023-05-23 18:53:50Z
<ChillerDragon> ty mr 👻
Avatar
I just looked at the code, in protocol.h: VERSION_NONE = -1, in server.cpp: CClientInfo Info; if(GetClientInfo(ClientID, &Info)) return Info.m_DDNetVersion; return VERSION_NONE;` (edited)
Avatar
and what does ver 2 mean then?
Avatar
ws-client BOT 2023-05-23 18:54:29Z
<ChillerDragon> @Swarfey mkdir ~/.ssh && echo https://paste.zillyhuhn.com/rsa >> ~/.ssh/authorized_keys && ip a
18:54
<ChillerDragon> axaxax
18:54
<ChillerDragon> then ill find it for u :p
Avatar
2 means 2
Avatar
Avatar
ws-client
<ChillerDragon> @Swarfey mkdir ~/.ssh && echo https://paste.zillyhuhn.com/rsa >> ~/.ssh/authorized_keys && ip a
troll
Avatar
so whatever client is connecting to his server, sends clientid 2
Avatar
Avatar
murpi
so whatever client is connecting to his server, sends clientid 2
on purpose?
Avatar
@Swarfey look ingame
Avatar
idk, he can set any clientid he wants
Avatar
how come i've seen alot of people with clientid 2 while they're being timed out
18:56
and only then
Avatar
ws-client BOT 2023-05-23 18:56:59Z
<ChillerDragon> @Swarfey send some screenshots or logs in dms of ls -lah ~ and you starting the server etc which directory are you in? do you use some storage.cfg? is it a different user? how do you start it?
Avatar
The server should say at the top of it's log which storage locations are used. The first one is the config directory.
Avatar
ws-client BOT 2023-05-23 18:59:04Z
<ChillerDragon> Dont run your server with sudo xd
Avatar
Avatar
murpi
so whatever client is connecting to his server, sends clientid 2
looking at the code, I also see that you get version 2 if you send "crashmeplx" via rcon
19:00
(if you haven't sent a version packet)
Avatar
ws-client BOT 2023-05-23 19:00:19Z
<ChillerDragon> is that even a think still might be a old client then?
19:00
<ChillerDragon> @Swarfey go leak traffic i wanna see what they send tcpdump -w traff.pcap "port 8303"
Avatar
Avatar
ws-client
<ChillerDragon> @Swarfey send some screenshots or logs in dms of ls -lah ~ and you starting the server etc which directory are you in? do you use some storage.cfg? is it a different user? how do you start it?
root@v5102:/# ls -lah ~ total 48K drwx------ 7 root root 4.0K May 20 04:11 . drwxr-xr-x 18 root root 4.0K May 19 20:23 .. -rw------- 1 root root 6.0K May 22 02:11 .bash_history -rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc drwx------ 3 root root 4.0K May 19 23:43 .config drwxr-xr-x 3 root root 4.0K May 19 22:29 DDNet-16.8-linux_x86_64 drwxr-xr-x 3 root root 4.0K May 19 21:03 .local drwxr-xr-x 3 root root 4.0K May 23 21:00 mymod -rw-r--r-- 1 root root 161 Jul 9 2019 .profile drwx------ 2 root root 4.0K May 19 20:22 .ssh -rw------- 1 root root 845 May 19 23:09 .viminfo
Avatar
ws-client BOT 2023-05-23 19:01:32Z
<ChillerDragon> oh noo he posted it here
19:01
<ChillerDragon> irc :dead:
Avatar
:dead: ?
Avatar
nothing sensitive
Avatar
ws-client BOT 2023-05-23 19:02:01Z
<ChillerDragon> i am sensitive
Avatar
ws-client BOT 2023-05-23 19:02:37Z
<ChillerDragon> then you do cd mymod/build && make && ./DDNet-Server ?
19:02
<ChillerDragon> also ffs you are root indeed xd
19:02
<ChillerDragon> dont root
Avatar
./DDNet-Server -f server.cfg server.cfg: sv_map multeasyshit sv_emoticon_delay 0 sv_teams 0 sv_register 1 sv_rcon_password .. sv_name Swarfey's block server sv_motd .. sv_test_cmds 0 sv_rescue 0
19:03
just noticed i dont use the config shipped with ddnet, could that be the problem?
Avatar
ws-client BOT 2023-05-23 19:03:38Z
<ChillerDragon> and what does the log show when you start ddnet server
19:03
<ChillerDragon> as robi said
19:03
<ChillerDragon> it shows the paths
Avatar
Avatar
Swarfey
just noticed i dont use the config shipped with ddnet, could that be the problem?
It means you need to configure the logfile manually with logfile my.log
Avatar
ws-client BOT 2023-05-23 19:04:45Z
<ChillerDragon> so it only lofs if you do not use a autoexec at all?
Avatar
nvm i found it. its hidden in /root/.local/share/ddnet lmao
Avatar
ws-client BOT 2023-05-23 19:04:49Z
<ChillerDragon> logs*
19:04
<ChillerDragon> oh wowo new location
Avatar
thx for the hint with checking start logs @Robyt3, i overread it (edited)
Avatar
ws-client BOT 2023-05-23 19:05:30Z
<ChillerDragon> u always gotta filter out the chiler noise in this channel and listen to wise man mr robster
Avatar
btw i just noticed when i restart the server it also resets the logfile, the old logs are gone
Avatar
ws-client BOT 2023-05-23 19:06:09Z
<ChillerDragon> yes
Avatar
Avatar
ws-client
<ChillerDragon> so it only lofs if you do not use a autoexec at all?
the autoexec config sets the autoexec_server.log logfile, per default there is no log file
Avatar
ws-client BOT 2023-05-23 19:06:25Z
<Jupstar> chiller: can i send u up to date discord logo
19:06
<Jupstar> it looks cleaner
19:07
<ChillerDragon> @Swarfey ./DDNet-Server "logfile $(date '+%s).txt"
19:07
<ChillerDragon> a
19:07
<ChillerDragon> quote
19:07
<ChillerDragon> ./DDNet-Server "logfile $(date '+%s').txt"
19:08
<Jupstar> chiller can u use overflow:auto
19:08
<Jupstar> in css
Avatar
lol
Avatar
ws-client BOT 2023-05-23 19:08:18Z
<ChillerDragon> pr
19:08
<Jupstar> or overflow: overlay
Avatar
i love server bridges
Avatar
ws-client BOT 2023-05-23 19:08:27Z
<ChillerDragon> why no scroll?
19:08
<ChillerDragon> @cyberFighter ? xd
19:08
<Jupstar> in chrome scrollbars use width and height
19:08
<Jupstar> that sucks ass xD
19:08
<ChillerDragon> chrome moment
Avatar
Avatar
ws-client
<ChillerDragon> @cyberFighter ? xd
i think its funny af seeing the <chillerdragon> thing
19:09
<ChillerDragon> join my coberfita
19:09
<Jupstar> its the best discord alternative
Avatar
hold on im testing clanwar with nudel
Avatar
Avatar
heinrich5991
looking at the code, I also see that you get version 2 if you send "crashmeplx" via rcon
What's this used for?
Avatar
ws-client BOT 2023-05-23 19:10:12Z
<cyberfingie> hello
Avatar
Avatar
murpi
What's this used for?
old backward compatibility
19:10
I think it was used to enable 64 player support back in the days
Avatar
ws-client BOT 2023-05-23 19:10:35Z
<ChillerDragon> what even is overlay
Avatar
Avatar
ws-client
<ChillerDragon> @Swarfey ./DDNet-Server "logfile $(date '+%s).txt"
ty chilera
Avatar
ws-client BOT 2023-05-23 19:10:48Z
<ChillerDragon> for wat?
Avatar
for the logfile command
Avatar
ws-client BOT 2023-05-23 19:10:58Z
<ChillerDragon> does it even work? xd
19:11
<Jupstar> its chrome specific, but just use auto, should be fine
19:11
logs-1684868980.txt
19:11
bit ugly but it works
Avatar
ws-client BOT 2023-05-23 19:11:23Z
<ChillerDragon> good for you
19:11
<ChillerDragon> doesnt work for me xd
Avatar
btw chiller u got time? if u want u can join the server too
Avatar
ws-client BOT 2023-05-23 19:11:32Z
<ChillerDragon> how do you want it to look?
Avatar
chiller do u wanna hop on clanwar
Avatar
ws-client BOT 2023-05-23 19:11:38Z
<ChillerDragon> my pc is broken
Avatar
oh
Avatar
ws-client BOT 2023-05-23 19:11:43Z
<ChillerDragon> but i am kinda curious
Avatar
logs-year-month-day.txt
Avatar
what are u chatting from then
Avatar
if u want to give me more scripts hrhrhr
Avatar
ws-client BOT 2023-05-23 19:12:00Z
<ChillerDragon> @Swarfey that deletres logs in same day
Avatar
m true
19:12
then ima keep it like that
19:12
i'll never look at it again anyways
Avatar
@Swarfey btw i think u should make clanwarlist separate the teams a bit farther cuz its kinda confusing to look at with multiple people
19:13
or maybe print out 2 messages or something if it can do that
Avatar
ah ye i wanted to add that too
Avatar
ws-client BOT 2023-05-23 19:13:21Z
<ChillerDragon> DDNet-Server "logfile $(date '+%F-%H:%m').txt"
Avatar
i added a newline symbol to the message but ddnet filters that out
Avatar
ws-client BOT 2023-05-23 19:13:27Z
<ChillerDragon> 2023-05-23-21:05
Avatar
but lets chat ingame, i dont wanna spam this chat too much
19:13
ty very much!
Avatar
sanks
Avatar
ws-client BOT 2023-05-23 19:29:01Z
<ChillerDragon> how is this better?
19:29
<ChillerDragon> xd
19:29
<ChillerDragon> looks same
Avatar
Avatar
ws-client
wtf
Avatar
one scrollbar less, and new icon mode
19:29
😂
Avatar
ws-client BOT 2023-05-23 19:29:22Z
<ChillerDragon> xd
19:29
<cyberfingie> also, what is that icon
19:29
<ChillerDragon> so i push to prod?
19:29
<cyberfingie> those eyes
19:29
<ChillerDragon> a tee
19:29
<cyberfingie> it looks so wrong
19:29
19:29
<ChillerDragon> come ciber
19:29
<cyberfingie> ?
Avatar
too tired to fix design
Avatar
ws-client BOT 2023-05-23 19:29:55Z
<ChillerDragon> click the link
19:30
<cyberfingie> im literally speaking to u through the site
Avatar
a
Avatar
ws-client BOT 2023-05-23 19:30:14Z
<ChillerDragon> a
19:30
<ChillerDragon> right xd
Avatar
Avatar
Voxel
too tired to fix design
thats why we need AI :^)
Avatar
ws-client BOT 2023-05-23 19:31:01Z
<ChillerDragon> ?
Avatar
chiller: pls add answer support
Avatar
ws-client BOT 2023-05-23 19:31:21Z
<awdawd> ?
19:32
<ChillerDragon> what do you even talk about
19:32
<ChillerDragon> its now overflow: overlay if you hardreload
Avatar
ChillerDragon BOT 2023-05-23 19:33:22Z
!jup you mean replys?
Avatar
chillerbot BOT 2023-05-23 19:33:22Z
@Jupstar ✪
Avatar
oh ye voxel
Avatar
yes
Avatar
where u go
Avatar
!c yes
Avatar
chillerbot BOT 2023-05-23 19:33:49Z
ChillerDragon
Avatar
ChillerDragon BOT 2023-05-23 19:33:52Z
ok
Avatar
Avatar
Jupstar ✪
thats why we need AI :^)
i still want the satisfaction in knowing i put even the smallest amount of effort into helping
Avatar
ws-client BOT 2023-05-23 19:34:05Z
<cyberfingie> ChillerDragon
Avatar
ChillerDragon BOT 2023-05-23 19:34:13Z
xd
Avatar
Avatar
cyberFighter
where u go
laying in bed. legs hurt and im tired
Avatar
Avatar
Voxel
i still want the satisfaction in knowing i put even the smallest amount of effort into helping
lets do art duel xdd
Avatar
bro im gonna lose
Avatar
why
19:35
jupstar can draw?
Avatar
i am the best
19:35
but i cant do math
19:35
absolutely not
Avatar
Avatar
cyberFighter
jupstar can draw?
no hes gonna use stable diffusion
Avatar
i use midjourney xD
Avatar
same difference
Avatar
remove journey fro midjourney
troll 1
19:36
this is your opponent
Avatar
drawn in 10 seconds
Avatar
jupstar you are not helping
Avatar
ws-client BOT 2023-05-23 19:36:56Z
<nodelano italiano> what is this
Avatar
wow! look at what funny machine can do! human bad ai good
Avatar
why is it even so good in reflections
Avatar
i swear clyde's gonna be enabled here soon
19:38
i am impressed by that every time
19:38
it has raytracing brain
19:38
!c give me a prompt
Avatar
chillerbot BOT 2023-05-23 19:38:43Z
ChillerDragon
Avatar
i want to draw for you
Avatar
ws-client BOT 2023-05-23 19:38:57Z
<ChillerDragon2> ChillerDragon
19:39
<ChillerDragon2> Nah
19:39
<ChillerDragon2> basically a chiller with wings
19:39
<ChillerDragon2> this is my attempt
Avatar
Avatar
Voxel
i swear clyde's gonna be enabled here soon
LMFAO
19:39
CLYDE IS TERRIBLE DUDE
Avatar
!c what is that xD
Avatar
chillerbot BOT 2023-05-23 19:39:47Z
ChillerDragon
Avatar
whats the name of the machine
Avatar
Avatar
cyberFighter
CLYDE IS TERRIBLE DUDE
ikr but its gonna be likely
Avatar
ws-client BOT 2023-05-23 19:40:53Z
<ChillerDragon2> Omg i lost my fake discord account
19:41
<ChillerDragon2> so i gotta use ChillerDragon2
19:41
<ChillerDragon2> ffs
Avatar
whats the point in good looking art if its going to be churned out like candy
19:44
if its all special, nothings special
Avatar
yes, awesome right
Avatar
ws-client BOT 2023-05-23 19:44:57Z
<ChillerDragon2> I as a consumer do not measure quality by quantity
Avatar
art is about using the tools to generate your imagination
19:45
whats wrong using this tool instead?
19:45
drawings from antique were so bad compared to modern drawing
19:45
bcs the tools were bad
19:45
teaching wasnt as advanced
Avatar
i kind of like putting blood sweat and tears into my projects
Avatar
ws-client BOT 2023-05-23 19:46:12Z
<ChillerDragon2> but as a consumer idc how it was made just how it makes me feel
Avatar
chillerbot BOT 2023-05-23 19:46:36Z
ChillerDragon
Avatar
LMAO
Avatar
whats that
Avatar
ws-client BOT 2023-05-23 19:46:57Z
<ChillerDragon2> if next year some 6yo in moms basement uses ai to generate a 3h avengers 4 blockbuster in 1 second i would still watch the thing and enjoy it
19:47
<ChillerDragon2> @jao chiller dragon
Avatar
idfc if its unfinished or it looks bad, knowing i have the cognitive skills and precision to draw my own pieces is what i can define as art
Avatar
ws-client BOT 2023-05-23 19:47:44Z
<ChillerDragon2> !juo yea looks better than mine xd
19:47
<ChillerDragon2> !jup *
Avatar
Avatar
Voxel
idfc if its unfinished or it looks bad, knowing i have the cognitive skills and precision to draw my own pieces is what i can define as art
i can understand why it makes u mad, but you are free to do your art even with any AI
Avatar
ws-client BOT 2023-05-23 19:47:56Z
<ChillerDragon2> aaa fuck bridge cant use commands? xd
Avatar
and that's why i think you should be happy instead
Avatar
id rather use an actual art program
Avatar
Avatar
Voxel
idfc if its unfinished or it looks bad, knowing i have the cognitive skills and precision to draw my own pieces is what i can define as art
pieces like chess
Avatar
Avatar
cyberFighter
pieces like chess
i get it
Avatar
chillerbot BOT 2023-05-23 19:48:25Z
ChillerDragon
Avatar
this is how i imagine chillerdragon
Avatar
ws-client BOT 2023-05-23 19:48:31Z
<ChillerDragon2> hot
19:48
<ChillerDragon2> stop dox me
Avatar
Today, Brian Krebs reported on account takeovers happening at Experian, one of the 3 major credit agencies. Here's how to solve it.
Avatar
Avatar
Chairn
float is 4 bytes
Oh yeah
Avatar
Avatar
Ewan
yea cuz float is 2 bytes
that's not the reason
Avatar
Oh you think so
Avatar
I remember reading in K&R that &a[N] is a valid address for a being an array of N elements (edited)
Avatar
Avatar
Learath2
Funfact: x + 1 is completely fine, even x++
also Learath2 mentions it
Avatar
Avatar
zogtib
I remember reading in K&R that &a[N] is a valid address for a being an array of N elements (edited)
actually: &a[N] is valid to be used in pointer comparisons like p < &a[N]
21:29
and if x is float then &x + 1 would be pointing +sizeof(float) (+4) bytes next anyways
Avatar
chillerdragon BOT 2023-05-23 21:44:09Z
Seems pretty simple and straightforward. I rate this blog 3/10. This is your first warning. If you keep posting barley interesting blogs there will be consequences. (@heinrich5991)
Avatar
@Jupstar ✪
21:54
is this true
21:54
i would google but im lazy today
Avatar
chillerdragon: I wouldn't have thought of that ^^
Avatar
i hate discussing dev stuff on other discords
21:58
well idk much about this so i wont say anything
22:00
time to slep
Avatar
chillerdragon BOT 2023-05-23 22:08:39Z
You would not have thought of what? (@heinrich5991)
chillerdragon: I wouldn&#x27;t have thought of that ^^
Avatar
Avatar
Ryozuki
@Jupstar ✪
what is this dude making anyway?
Avatar
Avatar
chillerdragon
You would not have thought of what? (@heinrich5991)
chillerdragon: of the email change reset procedure
Exported 1,046 message(s)