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-08-16 00:00:00Z and 2022-08-17 00:00:00Z
Avatar
[quakenet] fokkonaut BOT 2022-08-16 06:10:56Z
ChillerDragon:
Avatar
could you check Wire
Avatar
Some spitball ideas for the editor (I'm aware these might not be implemented, but it would be nice)
  • Iconography for some of the elements, so that it's clearer what they do.
  • A layer sorting option to have the layers rather be down to up or up to down. Since almost all programs do down to up, it would be nice to have an option to make it the same.
Avatar
From cheeser0613:
I randomly collect 3 feedback from 3 random guys that face this bug at midnight.
2 of them using win10 and another one win 11
about the appdata path, 2 of them does include chinese char but there is 1 not using any chinese string on the path
I also asked about the folder name of the game in appdata, 1 DDNet 1 Teeworlds and another havent reply
as an external, I ask the player that have ddnet folder change the folder name o teeworlds and try to click it again...
Avatar
Why can't I join the Russian server?
Avatar
Avatar
и чо
Why can't I join the Russian server?
same problem
Avatar
Avatar
и чо
Why can't I join the Russian server?
Cuz DoS
Avatar
Also print the exact file/link that could not be opened.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind'...
15:44
I tried to reproduce #5744 by adding add_path temp火 as the first line in the storage.cfg. When trying to open for example the skins directory, the error [menus]: couldn't open file 'temp火/skins' is logged (with #5745). I also tried with just add_path temp, which also does not work. So this seems to be caused by the path being relative and not by unicode characters.
Avatar
f0b0d4c Improve "couldn't open..." error messages by listing target - Robyt3 faa352e Merge #5745 - bors[bot]
Avatar
the price increase in energy reminded me of that picture with the most energy eficient languages
17:53
17:54
using python is bad for the environment
17:54
BASED
Avatar
why such a big difference between js and ts wtf
Avatar
why is java so good tho?
18:05
minecraft pocket edition says no to that
Avatar
mcpe is c++
Avatar
yes
18:08
i also would have thought c++ is before rust. i mean rust compiles slower doesnt it?
18:08
and c++ is still a bit faster than rust
Avatar
Avatar
Jupstar ✪
and c++ is still a bit faster than rust
not that i seen
18:12
the competition is between rust and c
Avatar
C master race
Avatar
benchmarks,benchmark,performance,fannkuch-redux,helloworld,nbody,nsieve,spectral-norm,C++,C++ lang,Rust,Rust lang
18:13
oh god that svg is so hard to read
Avatar
as always, depends how and what you benchmark
Avatar
yeah c++ still wins
Avatar
benchmarks arent the source of truth
Avatar
here*
18:14
why should c++ be slower than c tho?
18:14
just use the c code and compile it xD
Avatar
because virtual i guess
18:15
more indirect call in c++
Avatar
u dont have to use it
Avatar
does rust have auto vectorization?
Avatar
c is like 99.99% subset of c++
Avatar
generally you benchmark on 'idiomatic' code which is subjective
Avatar
streams are also less efficient than c printf family
Avatar
wtf?
18:15
never
18:15
streams are much faster
18:16
just not c++ stupid std::cout stuff
18:16
bcs it uses synced stdio calls
18:16
streams are type safe, so the compiler can assume what comes
18:16
and doesnt need to parse text
Avatar
many ppl do that mistake to with rust printf
Avatar
each << or >> is a different function call
Avatar
cuz it locks the io everytime
18:17
its faster to get the lock 1 time
Avatar
Avatar
Chairn
each << or >> is a different function call
well c++ nowadays has variadic templates
Avatar
Avatar
Jupstar ✪
bcs it uses synced stdio calls
but we need to compare default c++ versus default rust, not tuned ones
Avatar
i think benchmarks are hypertuned
Avatar
they are like constexpr evalutation
Avatar
Avatar
Chairn
but we need to compare default c++ versus default rust, not tuned ones
well standard c++ is far behind rust
18:17
and c basically has no standard lib
18:17
so u cannot compare it anyway
Avatar
c has standard lib?
Avatar
mhh
18:19
i mean there is some stuff
18:19
but its soo few
Avatar
huh? no?
Avatar
what do you lack?
Avatar
well maybe i should ask like this: what do u want?
18:20
printf?
18:20
network stuff is not standard already
18:21
no filesystem, only fopen
Avatar
what do you mean no filesystem? you have file functions
Avatar
because all of that would mean generalizing hardware and os which is what c avoids generally (edited)
Avatar
Avatar
Chairn
what do you mean no filesystem? you have file functions
how do u list a directory in c?
18:22
with only standard calls
Avatar
benchmarks also dont reflect other stuff such as ease of use, mem safety, thread safety, and code speed
Avatar
Avatar
k2d222
because all of that would mean generalizing hardware and os which is what c avoids generally (edited)
yes i am not saying c has to do it
Avatar
as in writing code
Avatar
but chairn claimed c++ is not allowed to not use non standard stuff, bcs that would be "tuned"
18:22
and i say, u cannot compare rust standard to any of c or c++ standard libs
18:23
rust is by far superior (edited)
18:23
BASED
Avatar
Avatar
Jupstar ✪
but chairn claimed c++ is not allowed to not use non standard stuff, bcs that would be "tuned"
the same holds for rust 🙂
Avatar
but thats basically the sense of rust
Avatar
rust hashmap std is way faster than c++ one
Avatar
u have a package manager built in
18:24
if u need a highly tuned version of whatever
18:24
u just use that lib
Avatar
and c++ regex is slower than opening php and doing regex there
Avatar
xD
18:24
c++ regex sucks bcs u cannot use it without try catch
18:24
or ur code will crash xD
Avatar
Avatar
Ryozuki
and c++ regex is slower than opening php and doing regex there
Mh, I'd think this depends on implementation. But LOL, what shitty regex implementation do they use?
Avatar
chillerdragon BOT 2022-08-16 20:18:33Z
Every other language probably implemented their Regex in C or C++
Avatar
Avatar
chillerdragon
Every other language probably implemented their Regex in C or C++
Rust has a pure Rust regex engine. PHP and Python do rely on C implementations
20:30
But I'm pretty sure no language uses the C++ std::regex to implement their regexes, given how badly everyone talks about the C++ ones
Avatar
rust regex is good
21:20
but its not in the std
21:20
and its a good thing they decided that
21:21
This crate provides a library for parsing, compiling, and executing regular expressions. Its syntax is similar to Perl-style regular expressions, but lacks a few features like look around and backreferences. In exchange, all searches execute in linear time with respect to the size of the regular expression and search text.
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Did this get reverted?
Exported 103 message(s)