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-05-24 00:00:00Z and 2022-05-25 00:00:00Z
Avatar
hm, so you can't have std::optional<const NETADDR &> because of the reference?
10:11
how to solve that?
10:13
I guess the answer is "use a pointer", or "use std::optional<std::reference_wrapper<T>>"
Avatar
what should we use for delimiting multiple addresses in a string, if a server has multiple addresses
10:34
I'm currently using a comma (,)
10:34
i.e. 127.0.0.1:8303,[::1]:8303 for a server on localhost, reachable via both IPv4 and IPv6
10:35
could also do a semicolon, or a space, …
Avatar
This replaces all usages of sorted_array with std::vector. This requires the following general changes:
  • add_unsorted is replaced with push_back.
  • add is replaced with push_back and subsequent sort or stable_sort must be ensured.
  • In some cases, immediately sorting the entire list after adding an item was unavoidable. Previously items were added at the correct position, which was O(N) because all items after the inserted one had to be moved in any case.
  • `sort_rang...
Avatar
Avatar
heinrich5991
could also do a semicolon, or a space, …
I think space is more readable
11:49
or support both
Avatar
@heinrich5991 xD since I was stuck, because I still have the problem with not be allowed to use NetIntRange together with validate_size=False, I found out there is already a default value mechanic, but not for all net types
12:27
ah that is the seven protocoll
12:28
xD I will copy it over to our protocol ^^
Avatar
#announcements @_jokeh
Avatar
Power outage, lost about 300 lines CryWhy
Avatar
no regular saving?
Avatar
Avatar
Learath2
Power outage, lost about 300 lines CryWhy
vs-code normally saves your code even if you do not have saved the file
Avatar
should write your code with pen on paper (edited)
Avatar
Avatar
heinrich5991
no regular saving?
I was coding quickly
Avatar
@unexploredtest:kde.org BOT 2022-05-24 14:43:38Z
Don't you frequently save? (@Learath2)
Power outage, lost about 300 lines [:CryWhy: https://mau.lu/srdfka ]
14:43
I like save after every line
Avatar
Just as I was about to save and give it a compile power went out
Avatar
@unexploredtest:kde.org BOT 2022-05-24 14:44:02Z
Rip
Avatar
@heinrich5991 are you here for a quick question?
Avatar
I am
Avatar
Without curl_multi_poll there is a chance a request will have to wait until curl_multi_wait times out as it's uninterruptable. Is that worth it to have lower curl version requirement?
14:48
I can still implement what curl does internally to make wait interruptible, but do we want to maintain a wrapper for socketpair(2) for windows?
Avatar
you're one step ahead
14:48
"hmm. there's probably not an easy way to pass another fd?"
Avatar
There is a way, it's pretty simple. Curl internally achieves interruptability by just inserting an extra socket and writing to it to interrupt
Avatar
so basically it creates a localhost socket, according to the source code…
Avatar
Curl_socketpair(AF_UNIX, SOCK_STREAM, 0, multi->wakeup_pair)
Avatar
debian 10 doesn't have curl 7.66 yet
Avatar
Curl_socketpair is defined to be socketpair(2) on unix, for windows we need to fake it
Avatar
how annoying is it to use curl_multi_poll on windows and curl_multi_wait elsewhere?
Avatar
Curls license seems fairly lax, maybe we can just take their socketpair() implementation for windows?
Avatar
Avatar
heinrich5991
how annoying is it to use curl_multi_poll on windows and curl_multi_wait elsewhere?
I think this is feasible too
Avatar
Avatar
Learath2
Curls license seems fairly lax, maybe we can just take their socketpair() implementation for windows?
that sounds good, actually
Avatar
Avatar
c0d3d3v
@trml in what units is SnapItemSize messured? I think the original NETOBJTYPE_SWITCHSTATE has 72 bytes
I was lost @trml the original SwitchState snap consists of 1 + 8 int32 = 9 * 4 Byte = 36 Byte so you should probably check for Item.m_DataSize >= 40 to get the complete 4 byte for the version xD or in your special expanding case, you could also set m_SwitchNumber and m_EndTick default to 0 and do not use a version at all (edited)
Avatar
Q: Does anyone know why we don't set SO_REUSEADDR on windows?
Avatar
where can you contribute to translations again?
15:57
"This server is full" should be "Ce serveur est plein" in french (edited)
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/french.txt at master · ddnet/ddnet
Avatar
I didn't know i could be hurt by a commit message 😒
16:02
@Jupstar βœͺ so mean
Avatar
Avatar
ReiTW
"This server is full" should be "Ce serveur est plein" in french (edited)
there is no translation for server messages because they are transmitted by the server directly
16:05
and the server has no way to know which language the client is using
Avatar
Avatar
Chairn
there is no translation for server messages because they are transmitted by the server directly
it's a client side popup whenserver is full
16:08
(when you attempt to join) (edited)
16:08
aah it's the server that sends this
16:08
thought it was the client
Avatar
yes, server send message with reason why you cannot connect
Avatar
what fromater do we use on python files? seems not to be black :/
Avatar
@fokkonaut how about I remove m_RampValue from the snap, because it is tuning related, we should probably better come up with a way to send the tunnings of other players, instead of only sending the calculated m_RampValue only to display it in the speed display...
Avatar
We also have only one map currently that has modified the ramp value by tunings, and that would give you exponential fast speed... but the tune zone was not even placed on the map xD it is only configured, so I would use default ramp values for the display, and if we in the future send the correct tunings for every player, we can alsu use them in the display
Avatar
As I finished implementing net_tcp_socketpair I noticed curl now uses a better more performant implementation for curl_multi_poll on windows pepeW
feelsbadman 2
Avatar
Avatar
c0d3d3v
I was lost @trml the original SwitchState snap consists of 1 + 8 int32 = 9 * 4 Byte = 36 Byte so you should probably check for Item.m_DataSize >= 40 to get the complete 4 byte for the version xD or in your special expanding case, you could also set m_SwitchNumber and m_EndTick default to 0 and do not use a version at all (edited)
Yes, I think this is pretty much the conclusion from the previous discussion, as its the closest solution to using default values (and version and number of timed switchers will of course be redundant in that case)
Avatar
I also added the default value mechanic to the datatype.py (copied from seven protocol) and changed the rule so that we can use NetIntRange if validate_size = false if you have set a default value

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 if it works standalone, system.c especially
  • [x] Considered possible null pointers and out ...
Avatar
also, sending the tunings for the other zones/players would be the ideal way (sometime in the future)
18:44
b751a2e Reworked Draggers - C0D3D3V 87893ce Move MapScreenToGroup from 3 classes to render.cpp; Rename MapscreenToWorld to MapScreenToWorld - C0D3D3V 0a6902a Optimization of the closest_point_on_line function - C0D3D3V b5166f4 Simplification of NetworkClippedLine - C0D3D3V b8cbd81 Add ProximityRadius of a tee to the dragger range - C0D3D3V 459a845 use TeamMask() instead of Teams()->TeamMask(...) - C0D3D3V 917d12e use TeamMask() instead of Teams()->TeamMask(...) in projectile.cpp and laser.cpp - C0D3D3V d64445d Rework Turrets - C0D3D3V ab37f95 Do not clip players with hook in the field of view - C0D3D3V 8fc34ae Add Comments with Specifications to Turrets and Dragger - C0D3D3V c251b3d fix server options in comments - C0D3D3V 8d644d0 Snap characters also when a hook is attached to them that is in the field of view - C0D3D3V 9180fa7 revert change of dragger range - C0D3D3V 71c9a49 revert to double explotion plasma bullets if the bullet hits obstacle - C0D3D3V f07d773 Add a set of Players that are attached to a Tee - C0D3D3V 5175734 Iterate over m_AttachedPlayers instead of MAX_CLIENTS - C0D3D3V 60a95c6 mark virtual methods in dragger_beam as overwritten - C0D3D3V 03f9510 Merge #5063 - bors[bot]
18:50
hows ddnet doing
18:50
cant chat as much lately Sadge
Avatar
@Jupstar βœͺ what is the difference between using a storage buffer for color values and using a 1d texture for the same thing?
Avatar
can any devs help me
justatest 1
19:10
on the debug menu
19:10
is the send receive show packetloss
19:10
cause like the send is jumping down to 2 and staying there
Avatar
Avatar
Patiga
@Jupstar βœͺ what is the difference between using a storage buffer for color values and using a 1d texture for the same thing?
Jupstar βœͺ 2022-05-24 19:11:41Z
probably better definition in spec (more garantues, better interface etc)
Avatar
Avatar
funman
cause like the send is jumping down to 2 and staying there
you mean the number after "send:" ? can you send a screenshot?
Avatar
Avatar
Jupstar βœͺ
probably better definition in spec (more garantues, better interface etc)
alright :)
Avatar
Avatar
funman
yes
normaly it should be around 20 I think
Avatar
Avatar
c0d3d3v
normaly it should be around 20 I think
well thats unfortunate
19:15
yeah i was feeling packetloss
19:15
and noticed that number jumping down to 2
19:16
from like 24
Avatar
does someone know if the KOG server is open source? I just joind a KOG server with debug hud on and noticed they send values in m_AmmoCount out of our range xD wanted to look in the code what they want to send
Avatar
@c0d3d3v not open source, unfortunately
Avatar
Jupstar βœͺ 2022-05-24 19:25:51Z
what is SvNetlimit on ddnet servers?
19:25
the value used
19:26
sv_netlimit
Avatar
@Ryozuki making preparations for your bday?
Avatar
Jupstar βœͺ 2022-05-24 19:26:21Z
i mean the config value
Avatar
deen said 400, but it is turend of now?
Avatar
Jupstar βœͺ 2022-05-24 19:26:33Z
apparently yes
Avatar
Avatar
n000b
@Ryozuki making preparations for your bday?
monkalaugh
19:26
what is there to prepare Sadge
Avatar
Jupstar βœͺ 2022-05-24 19:26:47Z
ty
Avatar
Since you are too busy to chat
Avatar
Avatar
Jupstar βœͺ
ty
"Aaaah, good idea. Maybe it's become much easier to trigger this now. Note that it's disabled on official servers as a workaround. (and also disabled in default setting) We used to have sv_netlimit 400 on official"
Avatar
I dunno, i do nothing either xD
Avatar
Jupstar βœͺ 2022-05-24 19:29:09Z
how did they even manage to use 400kb per second
19:29
vanilla map download? πŸ˜„
19:29
ah map request is excluded πŸ˜„
Avatar
i want to contribute code. are there any spare open issues that are easy / not important that nobody has done yet?
Avatar
seek typos rawr
πŸ˜‚ 1
Avatar
Avatar
cauldron
i want to contribute code. are there any spare open issues that are easy / not important that nobody has done yet?
what kind of easy do you prefer
Avatar
chillerdragon BOT 2022-05-24 19:38:44Z
Update the client to the 0.7 protocol (@cauldron)
i want to contribute code. are there any spare open issues that are easy / not important that nobody has done yet?
Avatar
Avatar
cauldron
i want to contribute code. are there any spare open issues that are easy / not important that nobody has done yet?
https://github.com/ddnet/ddnet/issues/3737#issuecomment-810106809 this looks easy only the last comment. Look if it is still the case. If yes look at the time penalty tiles, there it is correct implemented (edited)
Avatar
Avatar
c0d3d3v
what kind of easy do you prefer
yes something like that. i will look into it.
Avatar
Avatar
chillerdragon
Update the client to the 0.7 protocol (@cauldron)
sounds more advanced (edited)
Avatar
I did not even know we have a penalty on swap command xD ^^ maybe there is no
Avatar
can we somehow close discussions? like this proposal https://github.com/ddnet/ddnet/discussions/4071 (edited)
Im &#39;corneum suggested on dev channel: afaik this field between the playerboard and spectator list is unused. maybe it could be used like this so you know what you have while in freeze. migh...
20:05
ah you can lock it or delete it, what do we prefer?
Avatar
Avatar
cauldron
yes something like that. i will look into it.
this also looks kind of easy https://github.com/ddnet/ddnet/issues/3702
This block is usually blank on ddrace servers, maybe don't display it if it's blank?
πŸ’‘ 1
Avatar
Do people even check discussions regularly?
Avatar
you mean issues or discussions?
Avatar
Avatar
murpi
Do people even check discussions regularly?
xD I avoid them on purpose... its like a graveyard.
Avatar
Avatar
c0d3d3v
can we somehow close discussions? like this proposal https://github.com/ddnet/ddnet/discussions/4071 (edited)
discussions because I asked here how to delete them
Avatar
If noone is going to maintain them, then maybe disable it again @Ryozuki
20:15
or closed
Avatar
Avatar
murpi
If noone is going to maintain them, then maybe disable it again @Ryozuki
also discussed here https://github.com/ddnet/ddnet/issues/4001 (edited)
20:15
oop
20:15
i wont do it myself
20:15
too lazy
20:15
honestly i care little rn
Avatar
Avatar
murpi
or closed
so should I lock them or delete them (edited)
Avatar
lol, i never checked discussions until now
20:16
why doesn't github show a number beside the tab name?
Avatar
they are stupid
20:16
idk
Avatar
Avatar
Chairn
why doesn't github show a number beside the tab name?
they are to lazy too to check the discussions
Avatar
that seems only partially implemented, but yes xD
Avatar
@Jupstar βœͺ nobody uses label because nobody knows how to add them
Avatar
the github webhook doesn't send newly created discussions here, does it?
Avatar
i thought it was only repo admin that could
20:18
i don't know how to add label to PR or issues
20:19
i even struggled just to link an issue to a PR
Avatar
github is way too messy i guess
Avatar
Avatar
Chairn
@Jupstar βœͺ nobody uses label because nobody knows how to add them
its cuz only org members can put them
20:19
it would make more sense if owners of issues can label issues
20:19
xd
Avatar
Avatar
c0d3d3v
Click to see attachment πŸ–ΌοΈ
they should put that in the issue opening page
Avatar
Avatar
c0d3d3v
so should I lock them or delete them (edited)
close one of them and see if they are still visible by default
Avatar
I think you can put Labels on your own issue. Or it is turend of for this repo, then you can only set labels if we add issue and PR templates
Avatar
Avatar
Chairn
@Jupstar βœͺ nobody uses label because nobody knows how to add them
Jupstar βœͺ 2022-05-24 20:20:46Z
thats why i wanted an automated bnot
20:20
bot
Avatar
Avatar
murpi
close one of them and see if they are still visible by default
close is not an option we can transfer it to the void
Avatar
lock? ^^
20:24
wow I locked it and now it is the first entry
Avatar
because it was the last updated i guess
Avatar
just delete them then I guess
Avatar
do you also see it as first entry or only members? (edited)
Avatar
theres no indicator it's closed either
Avatar
first entry
20:26
but it's because you replied before locking
Avatar
can you lock one without answering? Should probably not move it up there
Avatar
i can't add label to my own issue, so that's probably why very few issues are labelled
Avatar
@c0d3d3v I'm in contact with github support for the discussions
20:29
best would probably to not touch them so much
Avatar
@heinrich5991 could you enable webhook events for discussions?
20:30
so people don't miss them
Avatar
I'm trying to disable discussions and move them back to issues
20:30
but there's no UI for it
Avatar
ah, good
Avatar
quite annoying that github makes it easy to move stuff to discussions but there's no way back
Avatar
Avatar
heinrich5991
but there's no UI for it
git mv discussions issues
monkalaugh 1
Avatar
there probably is already a bot that can do it xD
Avatar
@c0d3d3v only by opening lots more issues, creating lots of notifications
Avatar
yes probably :/
Avatar
we should probably clean some issues as well
Avatar
Jupstar βœͺ 2022-05-24 20:32:59Z
somexd
20:33
i bet half of the issues are completly useless
Avatar
#860 looks like physics modification required
Avatar
[12:58:40] &lt;@heinrich5991&gt; so. [12:58:43] &lt;@heinrich5991&gt; another high-speed bug [12:59:19] &lt;@heinrich5991&gt; it&#39;s in src/game/server/entities/charac...
Avatar
Avatar
Chairn
#860 looks like physics modification required
xD this code is outdated
20:36
it does no longer exists
Avatar
Jupstar βœͺ 2022-05-24 20:36:50Z
maybe its just moved
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/DDRace.cpp at d13f5db996bc6fc3a35a5358f2bdc1477d8f9464 · C0D3D3V/ddnet
Avatar
It feels like oldest issue are still open but they often require physics change so they will probably never be fixed
Avatar
Jupstar βœͺ 2022-05-24 20:38:39Z
i mean they kinda are issues
20:39
just without any solution for the same tile a new game layer without breaking the old would e.g. be a fix
Avatar
except if we decide once and for all to break physics for DDNet 20 for instance and reset all points and ladder
Avatar
Jupstar βœͺ 2022-05-24 20:40:09Z
ez xd
Avatar
as suggested by *unsigned char**, we need a roadmap for those
Avatar
Jupstar βœͺ 2022-05-24 20:40:23Z
and then in 2 years we have similar problems again xD
Avatar
lets be real
20:40
u open ddnet, you check the issues page
20:40
you see the first page
20:40
and then you close it
20:41
monkalaugh
Avatar
Jupstar βœͺ 2022-05-24 20:41:12Z
(and dont fix anything) xd
Avatar
well, it's like google, nobody checks page 2 πŸ˜„
Avatar
yeah imagine coding lol
20:41
beantyping
Avatar
Jupstar βœͺ 2022-05-24 20:41:39Z
sometimes u look at issues u know u could fix it but nah
Avatar
most issues are just annoying to do
20:41
or require lot of work
Avatar
new unskipable tileset xD and marking the old set as deprecated
Avatar
we need new motivated devs
Avatar
this one looks partially solved with new centralised master server https://github.com/ddnet/ddnet/issues/1162
Avatar
Jupstar βœͺ 2022-05-24 20:42:35Z
codedev and robyte are next gen hardware
Avatar
brainware*
Avatar
Jupstar βœͺ 2022-05-24 20:42:44Z
and we are old af
Avatar
Avatar
Ryozuki
we need new motivated devs
you mean people with free time
20:43
i can only check ddnet afte 20:00 and im tired already
20:43
after*
Avatar
Jupstar βœͺ 2022-05-24 20:43:19Z
lets invent free living conditions for everyone
20:43
ez
20:43
lets do the start trek economy
20:43
trekonomics
20:43
Trekonomics: The Economics of Star Trek is a 2016 book by French economist Manu Saadia. The book deals with the topic of the scarcity in the economy by looking at it in reverse. The author describes the 24th-century Star Trek universe in which scarcity does not exist at all. The book explores a post-scarcity age and how our society would need to...
Avatar
Avatar
Jupstar βœͺ
lets invent free living conditions for everyone
Basic income for all, that's exactly what I want
Avatar
Trekonomics: The Economics of Star Trek is a 2016 book by French economist Manu Saadia. The book deals with the topic of the scarcity in the economy by looking at it in reverse. The author describes the 24th-century Star Trek universe in which scarcity does not exist at all. The book explores a post-scarcity age and how our society would need to change to adapt itself to such an environment. It looks at the expectations regarding automation and artificial intelligence and takes readers through a journey of the fictional, moneyless world of Star Trek. It also looks at the challenges to the Star Trek economy.
>
Saadia concludes that "Post-scarcity is not so much a matter of material wealth or natural bounty, but an organizational option for society".[1]
Avatar
https://github.com/ddnet/ddnet/issues/1180 if there was a bug with dummy command @Plant would have tell us already πŸ˜„
Avatar
Avatar
Chairn
you mean people with free time
not really free. Only now I have put so much time into playing ddnet, I can also put a small piece of my life into the development xD. Actually I should write my master thesis xD
Avatar
oh, im also writing my phd manuscript πŸ˜„
Avatar
this reminded me of that meme with the figher tortoise
Avatar
im at it since 8 months now 😦
Avatar
Avatar
Chairn
https://github.com/ddnet/ddnet/issues/1180 if there was a bug with dummy command @Plant would have tell us already πŸ˜„
no it is buggy... but buggy since a lot of time
Avatar
Avatar
c0d3d3v
no it is buggy... but buggy since a lot of time
man, i just commented πŸ˜„
Avatar
the workaround by QingGo, kind of helps (edited)
Avatar
i hope they don't receive mail notification πŸ˜„
Avatar
docker keks
20:48
lets use hundreds of megabytes to containerize stuff
20:48
keks
Avatar
Avatar
Chairn
man, i just commented πŸ˜„
also ghost tried to patch it https://github.com/ddnet/ddnet/pull/1181/files but now we already have a new fire mechanic for dummy πŸ˜„ so do not know if it worth it to finish his patch
Avatar
ghost doesnt exist
Avatar
Avatar
Ryozuki
lets use hundreds of megabytes to containerize stuff
it's for setting up a build environment
Avatar
i need help to translate german: up-to-date = aktuell β‰  actual = eigentlich
20:50
looks like we got the same false friend in french
Avatar
Actuellement vs Actually
Avatar
Avatar
Chairn
im at it since 8 months now 😦
so you finish soon?
Avatar
two chapters to go
πŸ‘ 1
20:54
but as you can see i love procrastinating
20:54
that's why im here
Avatar
Avatar
Chairn
that's why im here
me too
Avatar
me too
20:56
humans are optimized to be lazy
Avatar
damn, we need #procrastination channel
20:57
we have #developer at home
Avatar
to not pollute here
Avatar
lol #developer is everything but dev
20:57
its existencialism, politics, climate change and vax
20:57
BASED
Avatar
Jupstar βœͺ 2022-05-24 20:57:56Z
World development
Avatar
https://github.com/ddnet/ddnet/issues/1451 looks like possible hardware fault
Avatar
Jupstar βœͺ 2022-05-24 20:58:25Z
No
Avatar
blame the hardware not c++ monkalaugh
Avatar
Jupstar βœͺ 2022-05-24 20:58:38Z
We had out of bounds
Avatar
https://github.com/ddnet/ddnet/issues/1346 is outdated since we specify minimum required version
Avatar
Jupstar βœͺ 2022-05-24 20:58:51Z
But they are fixed probably
20:59
Yeah we can assume a pretty high cmake version
Avatar
Avatar
Jupstar βœͺ
We had out of bounds
first access works, second access doesn't but nothing change in between (5 LOC)
Avatar
Jupstar βœͺ 2022-05-24 21:00:03Z
Still doubt server hardware failure
Avatar
so i would easily blame hardware, because this part is not accessed by any other thread
Avatar
prove it mathematically
Avatar
blame hardware last
Avatar
Avatar
Ryozuki
prove it mathematically
you can't
Avatar
the halting problem?
Avatar
no
21:02
the halting problem doesn't say you can't programs
21:02
the halting problem says you can't prove all of them
Avatar
well i was talking about proving ye
21:03
ah i guess u missed a "prove" there
21:03
can you prove all of them by limiting the language enough?
Avatar
Jupstar βœͺ 2022-05-24 21:03:35Z
Doesn't it only say u can't prove it in finite time
Avatar
even if u limit out valid cases
Avatar
Avatar
Ryozuki
can you prove all of them by limiting the language enough?
yes. e.g. by only allowing the empty program ^^
Avatar
does it become improvable by just accepting input?
21:04
xd
Avatar
no, regexes also always terminate
Avatar
when solve P=NP
21:05
would the world crash?
21:05
xd
Avatar
Jupstar βœͺ 2022-05-24 21:05:49Z
Better solve Intel driver issues
21:06
its hilarious how this problem only has a 1M$ prize
21:06
when if solved would change the world
Avatar
The problem is considered by many to be the most important open problem in computer science.[1] Aside from being an important problem in computational theory, a proof either way would have profound implications for mathematics, cryptography, algorithm research, artificial intelligence, game theory, multimedia processing, philosophy, economics and many other fields.[2]
>
It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute, each of which carries a US$1,000,000 prize for the first correct solution.
Avatar
more likely to be P!=NP from this paper
Avatar
Jupstar βœͺ 2022-05-24 21:07:09Z
If u solve this u don't care about money
Avatar
If it turns out that P β‰  NP, which is widely believed, it would mean that there are problems in NP that are harder to compute than to verify: they could not be solved in polynomial time, but the answer could be verified in polynomial time.
21:07
true
21:07
if you solve this you are a legend
21:07
maybe better than einstein
Avatar
Jupstar βœͺ 2022-05-24 21:08:15Z
Question is. If every person in this world would have all free time instead of work or whatever, would it already be solved?
Avatar
it would certainly help i think
Avatar
Jupstar βœͺ 2022-05-24 21:08:50Z
Many problems in the past were solved by the higher society classes
Avatar
most great minds have had a good upbringing i think
Avatar
Jupstar βœͺ 2022-05-24 21:09:07Z
Philosophers in antique also mostly were rich
Avatar
Avatar
Jupstar βœͺ
Many problems in the past were solved by the higher society classes
because they were the only ones with education
Avatar
@Jupstar βœͺ altho wars also make research advance rapidly
Avatar
Jupstar βœͺ 2022-05-24 21:09:39Z
Education is one thing
Avatar
e.g look at the cold war and US VS russia moon landing race
Avatar
Jupstar βœͺ 2022-05-24 21:10:10Z
Mh most advancements were after the war
21:10
So can't agree
Avatar
werent computers modernized thanks to wars?
21:10
they are the first to invest on it
Avatar
but in the cold war
Avatar
Avatar
Jupstar βœͺ
Education is one thing
education exposes yourself to things you may find interested
21:11
which in turn make you become invested in learning more
21:11
interesitng*
21:11
anaihjdnbsahdbf sahubfs
Avatar
Jupstar βœͺ 2022-05-24 21:11:41Z
Yes but u also need the time for that
Avatar
surprisingly, when you have money for education, you also have more free time than people mining coal for you πŸ™‚
Avatar
Avatar
Chairn
https://github.com/ddnet/ddnet/issues/1451 looks like possible hardware fault
so I looked at the trace and the current code of https://github.com/ddnet/ddnet/issues/1451 most of the code is the same, xD but in the mean time we got this in https://github.com/ddnet/ddnet/commit/33dc79d190cad160b7bc732dc8d09bc4dd213e6c that looks even more dangerous, but actually I also do not see an reason for this crash
Avatar
@Jupstar βœͺ can you confirm this does not trigger warning anymore ? https://github.com/ddnet/ddnet/issues/2057
Avatar
Get to work guyspoggers
Avatar
Avatar
Chairn
@Jupstar βœͺ can you confirm this does not trigger warning anymore ? https://github.com/ddnet/ddnet/issues/2057
xD the code does no longer exists ... so yes should be fixed
21:22
ah no I'm wrong
21:22
still in it
21:23
Avatar
my clang didn't emit any warning
Avatar
but the code makes no sense even without warning
Avatar
im not here to understand the code, im here to close issues πŸ˜„
Avatar
@Chairn you should be able to close issues on your own now
21:26
after clicking this link, that is
21:27
i guess im now official DDNet developper
21:27
can i get Developper rank here πŸ˜„
Avatar
you can get that anyway
21:27
but I only gave you access to issues for now, sorry
Avatar
i guess that's enough for now anyway
Avatar
@murpi can you give @Chairn the developer role?
βœ… 2
Avatar
I also wanted to refactor doors, but its the same with draggers and guns... do not know what "features" (bugs) we want to keep for example on Kobra... why do the doors make so strange diagonal arms xD does someone know if that is wanted?
Avatar
that is wanted
Avatar
Too bad we can't set up vote in issues. Well, we can still play with the reactions
Avatar
thw doors search around its center
21:31
all 8 places
Avatar
you can vote in reactions, thumbs up/thumbs down
Avatar
Avatar
fokkonaut
all 8 places
ah lel
Avatar
Avatar
c0d3d3v
I also wanted to refactor doors, but its the same with draggers and guns... do not know what "features" (bugs) we want to keep for example on Kobra... why do the doors make so strange diagonal arms xD does someone know if that is wanted?
theres also a speedrun skip with that btw
Avatar
I thought you can just set rotation parameter
Avatar
Avatar
fokkonaut
thw doors search around its center
default doors are thus square/diamonds?
21:32
ah yes
21:32
or what
Avatar
Avatar
fokkonaut
all 8 places
xD I have not tested doors that much, I thought you could choose the angle freely, but you are probably right, the length specification probably gives the direction.
Avatar
yes, it does
21:34
i worked with that part of the code alreary
Avatar
@c0d3d3v also note the buggy behavior of overlapping doors
21:35
if you want to rework them…
Avatar
we would need to change thousands of maps
Avatar
xD probably best would be to introduce a new type of doors that are not skippable, and keep the old buggy (edited)
21:37
perhaps a type that is not based on lasers
Avatar
Avatar
c0d3d3v
xD probably best would be to introduce a new type of doors that are not skippable, and keep the old buggy (edited)
ye spls
21:38
doors that act as normal entities unhookable
Avatar
with full block hitbox?
Avatar
reported here https://github.com/ddnet/ddnet/issues/3114 the problem that cl_reset_wanted_weapon_on_death does no longer work is because m_Controls.OnPlayerDeath is no longer triggered here: https://github.com/C0D3D3V/ddnet/blob/d13f5db996bc6fc3a35a5358f2bdc1477d8f9464/src/game/client/gameclient.cpp#L1509-L1513 because of the fast respawn patch maybe (you also most of the time see now scoreboard if you die, but respwawn instantly...) the player death probably be checked with othe...
Avatar
im deleting it @c0d3d3v (edited)
22:07
@c0d3d3v
22:08
@deen are space after == important in translation files?
22:14
nvm, i added them back with sed
Avatar
100 more days and 51.255.129.48:8404 gets a overflow of its server tick
Avatar
@αΆ°°KonΝ§sti ^
Avatar
Fixes https://github.com/ddnet/ddnet/issues/5211 by removing useless setting that is not working since ?? This leaves a new place for another settings in the menu: Before: !image After: !image

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it i...
Avatar
Is a compiler allowed to optimize out an atomic load?
22:26
std::atomic<int> x; x.store(5, std::memory_order_seq_cst); while(x.load(std::memory_order_seq_cst) == 5);
Avatar
well, the address is never taken
Avatar
Can the compiler turn this into just while(true);?
Avatar
yes
22:27
AFAIUI
Avatar
only volatile cannot be optimized out
22:27
how weird, i can only request deen and Ryozuki for review 😦
Avatar
click the wheel
Avatar
Avatar
heinrich5991
well, the address is never taken
Do you happen to know why that changes things?
Avatar
dammit, github so flawly
Avatar
Avatar
Learath2
Do you happen to know why that changes things?
once the address is taken and put somewhere the compiler cannot track anymore, it must assume that it could be modified through that pointer (from somewhere else)
22:29
but in your example, the compiler sees everything that might modify the variable
Avatar
Well the x I have is part of CHttp and I do pass a pointer to it to another thread
22:31
I store before the thread_init and I load after it. So I guess that's safe?
22:31
Hm, so annoying to think about the memory order here
Avatar
yes, that's safe
22:32
that's even safe without atomics
Avatar
because thread spawning has all kinds of barriers
Avatar
Well the spin load afterwards can still be optimized to a single load
22:33
int t = x.load(...); while(t); :/
Avatar
Useful ressource if you're interested in hardware cache functioning A primer on memory consistency and cache coherence https://www.morganclaypool.com/doi/pdfplus/10.2200/S00346ED1V01Y201104CAC016
Avatar
that can't be optimized to a single load, I think(?)
Avatar
@Ravie is this still bugged https://github.com/ddnet/ddnet/issues/3104 about texture UV
Avatar
@Chairn from what I remember the behavior when multiple corners are selected changed at some point, now I understand better what's going on and I guess it's not actually bugged
22:50
in older versions of the client changing UV with multiple corners selected would change each corner by the same amount instead of setting them all to the same value which allowed to do stuff like shift the whole texture without changing aspect ratio
Avatar
I haven't used the editor enough to know what's correct behavior
22:53
but are there anything that was possible before that is not anymore ?
Avatar
yeah there is
Avatar
but the quad cutting tool that I made makes those things obsolete I guess
Avatar
ok, so i close the issue
23:01
0076edf Remove useless setting - Chairn cc3ea78 Merge #5212 - bors[bot]
Avatar
Avatar
Ravie
@Chairn from what I remember the behavior when multiple corners are selected changed at some point, now I understand better what's going on and I guess it's not actually bugged
I'm the one that messed this up. it is teeechnically correct but completely unintuitive, not quite sure what to do with it.
Avatar
teechnically, ahah, i see what you did there tee_thinking
Avatar
FWIW that whole editing multiple points at once thing is a bit of a mess
23:26
I really want to sleep but github actions is being slow compiling my PR πŸ˜›
Avatar
In order not to completely forget the discusion of #3528 I would like to suggest that we point out to the player that passwords when saving cannot be used for one player alone. But since we are a game without accounts, any player who can guess your password can also use it to load the game without knowing your (team) player names.
Avatar
Avatar
Learath2
I really want to sleep but github actions is being slow compiling my PR πŸ˜›
looks like you're not going to sleep soon πŸ˜„ /home/runner/work/ddnet/ddnet/src/engine/shared/http.cpp:408: error: undefined reference to 'curl_multi_wait'
Avatar
ce31535 curl_multi_poll -> curl_multi_wait - Learath2
Avatar
Avatar
Chairn
looks like you're not going to sleep soon πŸ˜„ /home/runner/work/ddnet/ddnet/src/engine/shared/http.cpp:408: error: undefined reference to 'curl_multi_wait'
One last try, then I'm sleeping πŸ˜„
23:32
Whether it works or not
Avatar
/kick @Learath2#2281 ready to fire
Avatar
I'm using ddnet stuff to procrastinate from actual schoolwork, so I just need to stop after this PR
Avatar
damn, you too
23:33
its a contagious disease
Avatar
I have no idea why I'm doing given I'm like actually about to fail
Avatar
im already one month late too
23:35
so i guess, we're just not motivated enough
Avatar
I'm about 1.5 years late, so I'm approaching critical levels of procrastination
23:37
@Learath2 too bad πŸ˜„ D:\a\ddnet\ddnet\src\engine\shared\http.cpp(404,49): warning C4838: conversion from 'int' to 'curl_socket_t' requires a narrowing conversion [D:\a\ddnet\ddnet\debug\engine-shared.vcxproj]
23:37
warning treated as error on win build
Avatar
@Learath2 Hi
Avatar
damnit
23:38
Why are we even using an int to store a socket on windows anyway? :/
Avatar
okay, ubuntu error is weird though
Avatar
@Learath2 Are you online for a call?
23:39
General 1
Avatar
ah no, first error triggers unrecognized argument
Avatar
Oh my god they keep adding http stuff, I just can't catch up πŸ˜„
23:42
ok, last last try
23:43
@RealTaco why?
Avatar
Avatar
Learath2
@RealTaco why?
I need help
23:43
I cant enter to teeworlds folder
23:43
It says that i need admin permissions
Avatar
No more help juice, I'm way too tired. Try #questions
Avatar
Avatar
Learath2
No more help juice, I'm way too tired. Try #questions
Okay
23:44
dw
Avatar
Avatar
Learath2
ok, last last try
well, at least it does compile πŸ™‚
Avatar
Ok, it builds but is broken on windows, I'll take it, needs a windows computer to check the issue anyway
23:49
I wonder if heinrich would be annoyed if I left this one to him, I really thought this'd be more like a 1-2 night project, but I've been wasting time by the buckets
23:50
Anyway, thanks for keeping me company @Chairn πŸ˜› I'll really go sleep now
Avatar
i'll follow soon
23:51
gn8
Exported 475 message(s)