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-09-10 00:00:00Z and 2022-09-11 00:00:00Z
Avatar
Avatar
Ryozuki
i dont think clap does zero cost parsing rn
Thanks for looking into it
Avatar
A contiguous growable array type, written as Vec, short for ‘vector’.
00:41
Why are all the cool things experimental?
Avatar
A contiguous growable array type, written as Vec, short for ‘vector’.
Avatar
Idk why i can chat here
Avatar
Avatar
Learath2
Why are all the cool things experimental?
that's how the language is developed. things in the standard library are supposed to work forever, this is how they're tried before they become stable
Avatar
``` [2022-09-10 12:02:10][gfx]: Created Vulkan 1.0 context. MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 [2022-09-10 12:02:11][vulkan]: vulkan error: A shader file could not load correctly [2022-09-10 12:02:11][vulkan]: vulkan error: A shader file could not load correctly [2022-09-10 12:02:11][vulkan]: vulkan error: A shader file could not load correctly [2022-09-10 12:02:11][vulkan]: vulkan error: A shader file could not load correc...
Avatar
…is invalid) Also added an assert now, we dont want to render invalid textures ever since its always a logic bug

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 ma...
Avatar
I want the stuff that gets removed too
Avatar
Avatar
heinrich5991
that's how the language is developed. things in the standard library are supposed to work forever, this is how they're tried before they become stable
Something like std::future would be cool. You let the user know that the feature might stop working or be removed, but they dont have to use nightly while people chat about how to name the feature for 5 years
Avatar
@Learath2 use some polyfill: https://lib.rs/crates/vec-drain-where
alternative Vec::drain_filter impl
10:33
or rather this, for a precise polyfill: https://lib.rs/crates/drain_filter_polyfill
current nightly implementation of Vec::drain_filter, copypasted out for use on stable
10:33
(the latter being simply copy-pasted out of the standard library)
10:34
(according to the docs) (edited)
Avatar
That's a good idea actually
10:35
Given this kind of thing exists maybe they should just do it within std so people dont have to make a new crate each time
Avatar
making a crate each time means that the backward compatibility promise is kept
10:36
the polyfill will keep working
10:36
even if the thing isn't added
Avatar
Hm, I guess leaving it out of std jn thay case makes sure that std just doesnt grow forever full of old features that never got added
10:39
I'm still very skeptical of this backwards compatibility must last forever approach to language development
Avatar
I like keeping breakage low
10:40
my pre-1.0 project had to be adjusted to work with 1.0
10:40
I don't think I'd have done it if I knew that I'd have to keep fixing it
Avatar
Low is nice. Never is way too strict. Old projects should be compiled with old compilers
Avatar
check the compatibility guidelines. they don't promise "never"
10:40
in fact, we got a new borrow checker for example
10:41
it rejects some old incorrect code and some old correct code. but both were rare
10:42
e.g. this
10:42
We reserve the right to fix compiler bugs, patch safety holes, and change type inference in ways that may occasionally require new type annotations. We do not expect any of these changes to cause headaches when upgrading Rust.
>
The library API caveats will be laid out in a forthcoming RFC, but are similarly designed to minimize upgrade pain in practice.
Avatar
Automatically reloads the image from mapres folder based on its current name, that's just a quicker "replace" which is convenient while experimenting on a image contents, some mappers asked for this. !Screenshot from 2022-09-10 11-57-58 note: image lookup is currently limited to the root mapres folder, no directory recursion has been implemented, this is an improvement that might be a...
Avatar
there's e.g. some discussion about how to deal with std::env::set_env, which is probably impossible to make safe and keep its current functionality
10:44
Observing an environment variable concurrently with a call to setenv constitutes a data race. Rust currently handles this by using a mutex, but that only protects against functions in std::env. My ...
Avatar
Tbf I think the answer is clear here. set_env should definitely be marked unsafe. I don't even know any OS that has a threadsafe version of setenv
Avatar
@Learath2 probably windows
Avatar
I didn't see any guarantee on the winapi documentation, but I wouldnt be surprised. Microsoft does have a lot more locking in their apis
11:50
I wonder how this issue never came up in POSIX
Avatar
I can't connect to any of the IPv6 servers we have in the server list today (enter [ into the Server Address filter). It's always getting stuck on "Getting game info". Is this related to #5811?
Avatar
I've seen it multiple times on Discord already, deleting the map manually seems to work. An example from Discord:
[2:27 PM]Skill: i can not play multeasy map becouse it says map has not been found [2:29 PM]heinrich5991: can you post a screenshot? [2:30 PM]Skill: yea 2:35 PM]Skill: ![ [2...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
omg i love you
Avatar
I can't load the map preview for maps with # in their names (tested for #wontfix and Bootcamp #1, Stronghold worked) https://ddnet.tw/maps/Bootcamp-32--35-1
Avatar
Avatar
Patiga
I can't load the map preview for maps with # in their names (tested for #wontfix and Bootcamp #1, Stronghold worked) https://ddnet.tw/maps/Bootcamp-32--35-1
developer tools show an improperly escaped map file name
Avatar
I also didn't manage to get a working download link in the shape of https://ddnet.tw/mappreview/mapname.map
Avatar
https://ddnet.tw/mappreview/Bootcamp%20#1.map
13:50
the # is interpreted as anchor, so https://ddnet.tw/mappreview/Bootcamp is requested
13:50
the script is broken
Avatar
the link you sent also doesn't work for me (if it should've)
13:50
ah
13:50
yea
Avatar
that's the broken link
13:50
this would be the correct link
13:51
idk, report a bug
Avatar
I seem to have managed to lose all my problem solving skills by not coding almost anything for 2 years
14:36
thats why u gotta keep doing it
14:36
even if little
14:36
well having a job related helps xd
Avatar
Avatar
Learath2
I seem to have managed to lose all my problem solving skills by not coding almost anything for 2 years
problem solving doesn't require coding, it requires thinking 🙂
Avatar
Avatar
Chairn
problem solving doesn't require coding, it requires thinking 🙂
aPES2_SadGeThinking
Avatar
im not good at either of those
Avatar
Avatar
Chairn
problem solving doesn't require coding, it requires thinking 🙂
I haven't been thinking either for 2 years
15:36
I've been sitting around waiting to rot
Avatar
you have been thinking, you're just trapped in your depression
Avatar
@heinrich5991 hey, there's lots of servers to masterban (fake fokkonaut, cf @fokkonaut )
Avatar
Avatar
ReiTW
@heinrich5991 hey, there's lots of servers to masterban (fake fokkonaut, cf @fokkonaut )
IP collector animals poggers2
Avatar
Avatar
Ravie Senpai
IP collector animals poggers2
yeah he's having fun lmao
Avatar
Avatar
ReiTW
yeah he's having fun lmao
It can be annoying for both sites
Avatar
Avatar
Learath2
I seem to have managed to lose all my problem solving skills by not coding almost anything for 2 years
Play some puzzle games, baba is you is very good
Avatar
'拏 MAhdiyar 2022-09-10 21:09:34Z
Is it necessary to use update.json to add Serverlist? #developer '
21:10
@Chairn@Voxel
Avatar
Why are you pinging me?
21:13
I rly dont know much yet
Avatar
'拏 MAhdiyar 2022-09-10 21:13:21Z
for my question
21:13
So why do you pretend to be a developer? @Voxel
Avatar
im not pretending, i literally added a feature LOL
Avatar
Avatar
ReiTW
@heinrich5991 hey, there's lots of servers to masterban (fake fokkonaut, cf @fokkonaut )
done
Avatar
im famous
22:00
22:01
being an open source dev makes me 10€ a month
troll 1
22:01
profit
Avatar
[quakenet] ChillerDragon BOT 2022-09-10 22:13:23Z
pog
Exported 89 message(s)