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 2020-12-25 00:00:00Z and 2020-12-26 00:00:00Z
Avatar
Avatar
louis
end character might count as 2 "slots" and run out of memory somewhere
Дядя Женя 2020-12-25 07:02:02Z
Well, you just literally guessed the exact problem. Wanna become programmer?
Avatar
huh fun 😄
Avatar
@Learath2 I made it onto the global leaderboard \o/
🏆 1
Avatar
@heinrich5991 congrats!
Avatar
awesome :D
Avatar
Wow perseverance! Congrats
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:13:06Z
heinrich pro
12:13
i wonder why there is not a single add in the leaderboard
12:14
wouldnt it be fun for a company to pay a team to get in the leader board under the name company.com/jobs xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:14:19Z
ye ad not add
Avatar
there is a ad on the right side
12:14
but its not intrusive
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:14:35Z
no i dont mean like from aoc it self
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:14:46Z
but from users climbing the board to self ad
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:15:04Z
or companys representing them self there
Avatar
i guess u would get banned
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 12:15:18Z
oh rude
Avatar
it’s cheaper for companies to buy ads than waste working hours on it
Avatar
Trafalgar Law 2020-12-25 12:25:17Z
How i turn off the xmas skins?
Avatar
@Trafalgar Law only possible server-side
12:27
or choose a skin that has no christmas version
12:28
Well, you could locally copy your skin myskin.png into santa_myskin.png
12:28
then you don't see it, but others still will
12:33
Since everyone is complaining, I'll disable events on DDNet servers :/
12:35
Oh wait, it's actually client-side. So just events 0 in console should work
Avatar
@deen not everyone, ofc u will only hear ppl who come here and complain
12:41
i think russia doesnt celebrate xmas btw
Avatar
they celebrate later in january
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 13:00:26Z
toggle event based on timezone lul
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 13:25:28Z
can we get ddnet to write logfiles relative to ~/.teeworlds/dumps to avoid confusion when switching from vanilla to ddnet or vice versa?
Avatar
Can we get vanilla to not randomly interpret paths relative to /dumps instead?
14:36
And there were people from the companies playing AoC. A guy from spotify and github were up there for the first week but I guess none ended up in the final leaderboard
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 14:53:54Z
did they use spotify and github as their username tho? Or just their private name
14:54
yea its probably a weird idea to use one dood to represent a big company xd
14:54
we should try next year to get ddnet.tw in the leaderboard ;D
Avatar
They had a tag next to their names
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 14:54:56Z
ah
Avatar
They had a couple ppl playing but dont forget these ppl have full time jobs at their respective companies
14:55
Full time competitive coders are a different breed
14:56
Twilio also had one of theirs up there
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 15:04:55Z
so me expecting to see a company there wasnt too absurd i guess
15:05
heinrich is a different kind of breed than twilio github and spotify o.O hehe
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 15:20:09Z
https://www.youtube.com/watch?v=uqHjc7hlqd0 I can rly recommend this video if you want to get into bash scripting :) it is by far the most informative i found in the last years and keep returning to it to look things up
15:20
pattern match listing variables is so strong and i have never seen similar in other languages
Avatar
ChillerDragon can u show an example
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 15:28:37Z
A template repo for the actual server. Contribute to DDNetPP/server development by creating an account on GitHub.
15:28
you can also iterate over them and get the value
15:29
or you can also get the value of the variable with the name held in in a variable xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 15:36:47Z
@rqza als ob du daily uploads bis 2021 machst o.O dezember yt money iz da :D
15:37
@onbgy unmute me in #fng readonly soks
Avatar
😄 Hab meine Videos nicht monetarisiert, aber ja 🎄😇
Avatar
Todays AOC is breaking diffie hellman, huh
Avatar
@jao it's cheaper use texnonik instead 2 workers ...
Avatar
I googled an algorithm for the discrete logarithm problem. Anybody did the maths themselves?
Avatar
Trafalgar Law 2020-12-25 20:41:18Z
How can newbies see all srvs?
20:41
A friend can just see novice srv
Avatar
clear the search bar at the bottom
Avatar
That default exclude filter is very counterintuitive
Avatar
@timakro no need for math today. brute force worked in reasonable time
Avatar
@heinrich5991 How? Both "loop numbers" aka exponents are in the millions. I only saw the 10-thousands ticking up every second or so. The babystep-giantstep algorithm solved it in no time
21:08
I guess ~15 minutes bruteforce would be ok
Avatar
my bruteforce is 10s
21:09
in unoptimized python
Avatar
Send code :D
Avatar
for i in count(1): dexp += 1 dnum = (dnum * 7) % mod if dnum == door: break
Avatar
I bet this would have overflowed for me
Avatar
overflowed?
Avatar
Wait I read that wrong
21:11
Theres another loop around that trying different i i suppose
Avatar
no
21:11
just one loop
Avatar
ignore the i there, it seems like I changed my idea of how this is supposed midway through
21:12
imagine it's a while True: instead
Avatar
dexp = 0 dnum = 1 while True: dexp += 1 dnum = (dnum * 7) % mod if dnum == door: break
Avatar
It was so easy
Avatar
maybe like this
21:13
what did you do? ^^
Avatar
I'm genuinely am confused what problem the "babystep-giantstep" algorithm solves then
21:13
If not this
Avatar
my algorithm runs in O(n)
Avatar
Right, that one in O(sqrt(n))
Avatar
babystep giantstep runs in O(√n)
Avatar
where n is 20 million smth
Avatar
ye
Avatar
I wrote a function to calc the modular exponent first which had your loop inside and then called that function in a loop haha
21:16
Didn't realize you could do it simply like that ^^
Avatar
ah, that's O(n²) ^^
21:17
python has modular exponentiation and inverses built-in btw
Avatar
Well, that was a brainfart. But now I've got a super overkill solution https://github.com/timakro/rust-unsorted/blob/main/aoc25/src/main.rs
Contribute to timakro/rust-unsorted development by creating an account on GitHub.
Avatar
nice 🙂
Avatar
Wdym built-in?
Avatar
pow(base, exponent, mod)
Avatar
pow(number, -1, mod) for modular inverses (edited)
Avatar
What python module is that?
Avatar
without imports
21:19
just the standard pow function
Avatar
(if you use from math import * you get a different pow function!)
Avatar
Good that there is math.pow without that functionality to distract from the fact that there is a better pow function built-in 😄
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 22:31:49Z
anyone good with bash completion here? Or do you know a tool that has bash completion for files in a directory?
22:33
nvm got it
Avatar
The Korea Superconducting Tokamak Advanced Research (KSTAR), a superconducting fusion device also known as the Korean artificial sun, set the new world record as it succeeded in maintaining the high temperature plasma for 20 seconds with an ion temperature over 100 million degrees (Celsius).
23:02
POGGIES
23:03
"The technologies required for long operations of 100 million- plasma are the key to the realization of fusion energy, and the KSTAR's success in maintaining the high-temperature plasma for 20 seconds will be an important turning point in the race for securing the technologies for the long high-performance plasma operation, a critical component of a commercial nuclear fusion reactor in the future."
23:03
monkaSteerS
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:09:58Z
100 million degrees sounds spooky ngl
Avatar
its held by electromagnetic force
23:11
so it doesnt touch anything
23:11
ITER (originally the International Thermonuclear Experimental Reactor) is an international nuclear fusion research and engineering megaproject, which will be the world's largest magnetic confinement plasma physics experiment. It is an experimental tokamak nuclear fusion reactor that is being built next to the Cadarache facility in Saint-Paul-lès...
23:12
if politicians didnt cut funding every year due to oil and electricity companies buying them we would have clean fusion energy already probs
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:19:16Z
maybe oil and electricity companys should buy fusion energy instead of politicians :troll:
Avatar
my ddnet client freezes sometimes
23:20
and its so fucking stupid when im far on a map
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:21:02Z
why dont u freeze your client at spawn then instead of doing it far in the map?
Avatar
@Iza if u got an intel, view #bugs we just talked about it
Avatar
intel gpu or cpu?
Avatar
gpu
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:21:45Z
intel gpu lul
Avatar
what else do u have then @Iza ?
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:21:53Z
who has that did they even rls yet
Avatar
chillerdragon: integrated one
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:22:13Z
ah ok fair
Avatar
@Iza laptop?
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:22:15Z
yea
Avatar
maybe ddnet even runs on my intel cpu
23:22
idk
Avatar
yes
23:22
very probably
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:22:41Z
very probably
Avatar
i'm gonna look
Avatar
u can rightclikc the ddnet.exe and select the graphics processor @Iza
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:22:46Z
is that english xd?
Avatar
is it not?
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:23:07Z
seems like it is
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:23:10Z
sounds weird to me
23:23
i woud say "probably" or "very likley" idk
Avatar
but what if its almost certain
23:23
then its very probably xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:23:38Z
lul
23:23
it sounds so wrong idk
Avatar
tbh i also dont care, non native speakers always have the excuse to be non native speakers xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:24:28Z
seems like i understand "probably" too much like "maybe" and not enough like "probalistic" or something like that
23:24
sure
23:24
but i want to learn new phrases like "very probably" :D
Avatar
i see it more mathematically: probability
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:24:59Z
yea
23:25
then it makes total sense
23:25
very probable
Avatar
whats the ddnet exe called?
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:25:16Z
wat xd
23:25
ddnet.exe
Avatar
@Iza DDNet.exe xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:25:26Z
or DDNet.exe
Avatar
if u on steam u can browse local files
23:25
then u find it
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:25:50Z
pgrep DDNet
23:25
:p
Avatar
else u can also download a zip version of the client https://ddnet.tw/downloads/DDNet-15.2.4-win64.zip
Avatar
Avatar
[quakenet] ChillerDragon
pgrep DDNet
rg
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:26:55Z
?xd
Avatar
rg > ur grep
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:27:27Z
rg doesnt replace pgrep i think
Avatar
Windows key -> ksysguard -> search the executable xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:28:00Z
Avatar
its a emoji
23:28
hmm
23:28
true i guess
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:28:26Z
why isnt it ? or any other shit then
Avatar
didnt see the p
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:28:56Z
a few days ago i found about ngrep
23:29
not network grepping :D
23:29
so there is ripgrep egrep ngrep lul
23:29
and pgrep
Avatar
ripgrep is the fastest
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:29:37Z
mimimi
23:29
its not preinstalled tho
23:29
preinstalled > all
23:30
thats why bash is the best lanugage :D
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:30:32Z
and microsft edge browser
23:30
:D
23:30
defaults rule
Avatar
wow i was on windows 2 weaks ago, man thats annoying
23:32
it opens edge in fullscreen and annoys u
23:32
why dont we have laws against such spam xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:34:27Z
xd
23:34
dont we have laws against windows?
Avatar
idk, but did nobody else had it after the windows update?
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:34:58Z
i remember vaguely to have heard somehwere that windows 10 is illegal
Avatar
it was really aggressive
Avatar
u hear lot of things
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:35:11Z
xd
23:35
regarding gdpr and data protection whatevery
23:35
win10 phoning home too much
23:35
but idk
Avatar
ddnet is not detected by nvidia, how do fix that?
Avatar
i dont know exactly but it has nvidia settings and there is an option for opengl applications
23:40
smth like this
Avatar
but ddnet is literally not on the list
Avatar
yeah u just need to set nvidia to opengl globally
23:41
like in the image the first entry
Avatar
how do i do that?
Avatar
well if u got the nvidia driver installed there should be an icon bottom right
Avatar
Hey guys, question. If I were to do a graphics pack that needed some support from developers is there any chance that might happen? I think it would be cool if we made the graphics reflect the actual ddrace gameplay like for example having an actual frozen tee when they get frozen instead of the ninja skin and maybe a revamp of the pistol so that it looks like a pointer instead of a gun. Stuff like that.
Avatar
but i cant tell if the nvidia card doesnt perform worse than the intel card
Avatar
i just want my game to not freeze anymore
Avatar
u can install newest intel driver @Iza
23:43
@Iza what is ur cpu name?
23:43
u can see it in the taskmanager
Avatar
@GoodGuyGreg we had some frozen skins already,but people didn't like it i think
Avatar
[quakenet] ChillerDragon BOT 2020-12-25 23:49:22Z
I would like to see support for freeze. That is for example used in DDRace and in zCatch (Anticamper). The tee can not move meanwhile. Currently they use the ninja skin for that.
Avatar
@deen interesting, do you still have them?
23:52
I could just draw up some suggestions and see what the response is like.
Exported 231 message(s)