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 2019-10-14 00:00:00Z and 2019-10-15 00:00:00Z
Avatar
4af4f0f44cd921556932d01e4d0e57963e715eda90af5e8aa1a9de475d2edbc5 4af4f0f44441544104000000c1600400b40e0000080000003600000029000000 What happened here even 😦
00:22
I io_write the top one, I get the bottom one when i io_read it πŸ˜›
Avatar
I was only writing the first 4 bytes πŸ˜›
Avatar
@heinrich5991 your blog could do with a <link> for the rss feed, then some feed readers can detect it automatically
07:32
I saw the deepfly bind the other day:
Avatar
Was forgotten in the libcurl linux removal I think?
08:26
84f1542 Add a limit to GetNearestAirPos. Fix #1931 - Learath2 547f751 Mark players as afk initially. Fix #1797 - Learath2 5f0cc93 Update ddnet-libs version - def- aa79d81 Merge #1935 #1936 #1940 - bors[bot]
Avatar
ChillerDragon 2019-10-14 10:33:40Z
@deen so do we know why ddnet7 disappeared? and is it coming back?
Avatar
it disappeared because foko deleted it
Avatar
Wait there isn't any back-up/ bin where you can pull it back from the death?
13:06
I mean why has he authorisation to delete such a big file?
Avatar
@HMH what was the issue with your queue implementation?
Avatar
because I gave him the permissions, removed them now, will restore the repo later
Avatar
ChillerDragon 2019-10-14 13:47:46Z
do we have any proof he did it? because he told me he didnt.
Avatar
@Learath2 as far as I remember it worked fine but it forces you to wrap everything into some pointertype like std::unique_ptr.
Avatar
Hmm, why is it so complex? πŸ˜„
Avatar
Also, for my rpc stuff I implemented something simpler: https://github.com/H-M-H/ddnet/blob/rpc/src/base/tl/queue.h
DDraceNetwork, a mod of Teeworlds. Contribute to H-M-H/ddnet development by creating an account on GitHub.
Avatar
Wouldn't a lock and a queue be enough?
Avatar
Probably because I wanted it to do too much at the time πŸ˜›
Avatar
One more question, what is the point of having a mutex and a cv?
Avatar
@ChillerDragon yes github has an audit log
Avatar
@HMH Oh actually I have one more question about your last queue, to push you need to acquire the lock, but if the consumer is stuck waiting on a condition variable, the queue will never be non empty, how does that work?
13:56
oh the wait unlocks doesn't it
Avatar
The mutex is used for syncronization of the cv, e.g. cv.wait(lck) changes state of the cv and then releases the lock.
13:59
So, what do you want to do with a threadsafe queue ?
Avatar
I was doing some work on sql (im not anymore since you are doing it)
13:59
Was just curious after that πŸ™‚
14:02
TIL you can also do m_CV.wait(Lock, [this]{return m_Queue.empty()});
Avatar
This makes hitting yourself when shooting through other tees work
Avatar
Hitting yourself when shooting through other tees?
14:06
Wouldn't you just hit the other tee @jao?
Avatar
with hit others disabled obviously
Avatar
Wait, when hit others is disabled it should just go through the other tees, no?
14:07
What happens currently?
Avatar
yes but if it then hits yourself it has no effect
14:08
with the fix it works like it wouldnt go through a tee
Avatar
hm, I thought it should go through
14:09
but, it shouldnt go through yourself
14:09
wait i show u
14:11
if i shoot like that through a tee the shotgun has no effect on myself
14:11
but if there is no tee the shotgun works
14:11
on myself
Avatar
Oh very interesting
14:21
idk why it was removed
Avatar
@jao your change looks like it's the opposite of what greyfox added
14:22
you sure it's correcT?
14:22
correct*
Avatar
how is it the opposite?
14:23
he returns when it’s same and i ignore if it’s not the same
Avatar
Oh, sorry, skimmed too fast πŸ˜›
Avatar
dont merge yet
Avatar
ChillerDragon 2019-10-14 15:57:09Z
15:57
is that normal?
15:57
feels like my irc messes up timestamps when running in screen or is this a fetaure? xd
15:58
15:58
worked fine on a different irc tho hm
15:59
well i guess i can live with it. In case any1 has a easy fix for it yell it at me pls πŸ™‚
20:15
63998ea Explode grenades twice at the end if they have lifespans. Fix #1559 - Learath2 a650a3c Remove the initial lifespan check - Learath2 8db2694 Merge #1938 - bors[bot]
Exported 67 message(s)