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-17 00:00:00Z and 2020-12-18 00:00:00Z
00:01
why is my ping so high
Avatar
Avatar
murpi
I tried the commands but nothing yet, maybe if i can't find the solution for it i'll go for the older versions like you suggested, thank you for the answer! Just to clarify in case it looks like, this is not a problem related to my monitor since i've checked other games and i don't have this issue
He should try updating his computer in first place, even the vms work correctly
Avatar
how the f did bombay manage to get smooth emotes aswell xD
Avatar
pressing "run server" in the main menu doesn't open the cfg files, is this a bug?
Avatar
which cfg files aren't opened? @louis
Avatar
idk i think autoexec_server
Avatar
9621d82 M Indicud, M Rogue World, M Tropical Island, M SpookyDrag, M New Generation, A Slide 2 - ddnet-maps
07:56
07:57
6546a1d Update funding for 2021 - def- 86dc58a Merge pull request #108 from ddnet/pr-funding-2021 - def-
07:59
dbc4598 Revert "Fully funded! Thanks for all the donors" - def-
Avatar
[quakenet] ChillerDragon BOT 2020-12-17 10:57:22Z
@Deleted User i can not reproduce any issues with gfx_resizable 1 neither on debian+gnome nor on arch+gnome both before and after your pr it was fine
10:57
seems like something fixed it already some time ago maybe some new gnome or graphicsdrivers stuff or an older ddnet commit
Avatar
ok
11:01
ty for testing
Avatar
For todays aoc puzzle I want a data structure that has constant index time, can grow in both directions and deals with negative indexes. So I can nest it three levels deep and get the game of life playing field. It would be nice if it could automatically grow when I try to access indexes that don't exist yet. E.g. indexes -5 to 5 are existing and I try to access index 10. Then it should initialize indexes 6 to 10 with a default value and return that default value.
11:07
It sounds like you could implement this with a ring buffer that grows resizes automatically when out of space e.g. doubles it's size in that case.
11:08
API documentation for the Rust VecDeque struct in crate std.
11:08
I wonder if I need to write the rest of the functionality (e.g. negative indexes) myself or if this is a common data structure I just don't know the name of
Avatar
@timakro Just use a hash set?
11:09
indexed by (Int, Int, Int)
Avatar
I thought about that but isn't it crazy to nest hash sets three levels deep
11:09
Ooohhh
11:09
Okay why didn't I think about that
Avatar
nono, a single hash set of course
11:10
with a tuple of 3 ints as the index
Avatar
Yep that makes sense ^^
Avatar
@timakro I also made that mistake
13:10
but I did nest hashmaps three levels deep ^^
Avatar
@heinrich5991 I imagine with rusts .entry(x).or_default() this isn't even too verbose. And from a theoretical standpoint operations on the nested hashmap are still O(1) ^^
Avatar
I used python with defaultdicts
13:18
so it wasn't verbose for indexing at all
13:18
(it was for summing all the fields though)
Avatar
In the end I used just a hash set of tuples
Avatar
yea, someone else also just used a hashset
Avatar
So summing is just cube.len() ^^
Avatar
I didn't realize that a hashmap<bool> with default false is just a hashset ^^
Avatar
There was another puzzle were you needed to iterate over an area like for x in 0..10 { for y in 0..10 { }} I couldn't find a practical rust crate yet which let's me write this as a single loop
Avatar
itertools?
13:21
API documentation for the Rust iproduct macro in crate itertools.
Avatar
From the itertools crate there is for (x,y) in (0.10).cartesian_product(0..10) {}
13:22
Omg! Nice exactly what I wanted
13:22
I just looked into the itertools:Itertools trait, I thought that was everything itertools provides
Avatar
Create your own opera inspired song with Blob Opera - no music skills required ! A machine learning experiment by David Li in collaboration with Google Art...
13:24
quite cool 🙂
Avatar
Where is the machine learning?
Avatar
We developed a machine learning model trained on the voices of four opera singers in order to create an engaging experiment for everyone, regardless of musical skills. Tenor, Christian Joel, bass Frederick Tong, mezzo‑soprano Joanna Gamble and soprano Olivia Doutney recorded 16 hours of singing. In the experiment you don’t hear their voices, but the machine learning model’s understanding of what opera singing sounds like, based on what it learnt from them.
13:26
on the ?
Avatar
@heinrich5991 Can Rusts macros just generate arbitrary rust code?
Avatar
yes
13:27
but this is a limited macro, using macro_rules!
13:27
proc macros can execute any code on the input
Avatar
API documentation for the Rust typed_html crate.
13:27
aPESXMas_Hacker
Avatar
Hmm somehow those 4 nested loops looked pretty xD
Avatar
I should not have chosen Standard ML today. The standard library feels like a wasteland and I had to implement everything myself. No sets, no cartesian product, etc: https://github.com/def-/adventofcode-2020/blob/master/day17.sml (too lazy to read in the input too)
Avatar
huh
13:43
looks like haskell 🙂
Avatar
ML is the predecessor of Haskell
13:44
but Haskell is just so much nicer, the only advantage ML has is that it lacks lazy evaluation which can bite you in Haskell
Avatar
oh. I thought these were separate branches
Avatar
Sure, but Haskell is what language researchers created after what they learned from ML
13:45
and no one really uses ML anymore
Avatar
maybe OCaml would work better?
13:45
I think the original rust compiler was implemented in OCaml
Avatar
yes, ocaml is definitely more reasonable and actually used nowadays, so it probably has a standard library 😄
13:49
d9d4d34 Revert "Mention that the last years are already covered" - heinrich5991 59fc4cd Merge pull request #110 from heinrich5991/pr_fix_funding2 - def-
Avatar
Is there anything wrong with a /31 subnet? I thought it was fine for a point2point link
Avatar
the all 0 and all 1 bit addresses are reserved AFAIK
15:36
so there are 0 usable addresses in that range
Avatar
RFC3021 seems to have an exception for exactly this
Avatar
TIL
15:37
When is it appropriate to use a /31 network in production, and is using them considered good practice? On a point-to-point link, broadcasts shouldn't be required, so is there any compelling case for
Avatar
Yeah but this book is definitely printed after 2000 and it says /31 is an invalid mask
15:39
I think I’ll ignore the book on this one, seems every other source I can find says /31s are an exception to the no usable addresses rule
Avatar
E.g. in the scoreboard in the server browser, or the tee selection, using mouse scrollwheel
Avatar
Well, it's probably an annoying subnet because routers will not support that
16:16
Aoe sus
Avatar
anyone know why my sound files will not play if i replace it?
19:39
like its a .wv and all but it just doesnt play anything
Avatar
it needs to be the same format, and maybe the client uses a very outdated version
20:15
so maybe some old container version
Avatar
how did you convert it @louis?
Avatar
some online converter
Avatar
@louis can you send the files?
Avatar
00cecd3 Add RUS sponsorship by 0x314 - def-
21:35
63abae8 Add donation by heinrich5991 - def-
Avatar
Good news: we removed all cookie banners from GitHub! 🎉 No one likes cookie banners. But cookie banners are everywhere. So how did we pull this off? Well, EU law requires you to use cookie
21:58
they actually removed the tracking cookies 🙂
Exported 97 message(s)