Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2023-10-11 00:00:00Z and 2023-10-12 00:00:00Z
Avatar
Avatar
Ryozuki
btw my wasm experiments https://github.com/edg-l/wasm-stuff
why are you always doing cool stuff
Avatar
hi ryoi fhuiehfb
07:36
are you aware
Avatar
do you moisturize
07:58
very important
Avatar
Except when it causes memory corruption on your production systems, I spent quite some time reproducing and figuring that out: https://github.com/moka-rs/moka/issues/281 The author was extremely helpful though.
08:24
well bugs can happen
08:25
would u still not recommend or recommend moka
Avatar
cd moka && git grep unsafe | wc -l returns 191 btw. It seems to be doing lots of manual memory stuff
08:25
i think the readme lists some alternatives
Avatar
We haven't used it since then, so no idea
Avatar
did u try them too?
08:26
what do you use
Avatar
No, we just implemented our own without unsafe code
Avatar
oh nice
08:27
i didnt know moka used so much unsafe
Avatar
vi sitter har i venten och spelar lite dota
Avatar
are u winning
08:40
im streaming it on discord if u wanna see
08:40
dota is better than league
Avatar
nice frames
Avatar
does it look bad?
08:41
xd
08:41
discord sucks
Avatar
it's good now
08:41
it sucked for a sec
08:42
oh i gotta go to bed
Avatar
dayummmm when it get so late
Avatar
How do I pass HEX to ColorRGBA?
Avatar
Isn't it a float from 0.f to 255.f
10:38
ColorRGBA color = ColorRGBA(255.f, 0.f, 0.f, 255.f); ?
Avatar
Avatar
Sedonya
How do I pass HEX to ColorRGBA?
I don't think we have a constructor from string hex, check how I did it in CConsole
Avatar
But I can't pick the value via float, is there any way I can specify HEX?
Avatar
Avatar
Learath2
I don't think we have a constructor from string hex, check how I did it in CConsole
okay
10:43
I console: R: 6, G: 127, B: 26, #077F1A How do I convert these values to float
Avatar
Avatar
Sedonya
I console: R: 6, G: 127, B: 26, #077F1A How do I convert these values to float
Divide the RGB values by 255. So, ColorRGBA(0.02f, 0.49f, 0.10f, 1.0f). Last value is the Alpha.
Avatar
Right now I just multiply the approximate float by 255 until I get the correct answer in the console, but that's not very convenient
Avatar
We have a color_parse function that parses a color from a hex string (length 3/4/6/8, without # or $ prefix)
Avatar
hyper HTTP/2 Rapid Reset Attack: UnaffectedToday, the world has been made aware of a potential vulnerability affecting most HTTP/2 implementations, sending a rapid amount of streams and resets. If you...
12:00
@heinrich5991 poggers2
12:02
@heinrich5991 a new interop crate for c++
12:02
Contribute to HKalbasi/zngur development by creating an account on GitHub.
Avatar
cat moment
🐈 5
Avatar
This document discourages the practice of introducing software defects in general and in network protocol implementations specifically. Software defects are one of the largest cost drivers for the networking industry. This document is intended to clarify the best current practice in this regard.
Avatar
u sending it for something specific?
14:49
or cuz its interesting itself
Avatar
just for itself
Avatar
@heinrich5991 its a bit hilarious
15:01
Endeavoring to reduce the number of degradations in the future, implementers MUST NOT introduce bugs when writing software
15:01
cmon ddnet devs, dont introduce bugs!
15:01
ah its a april fools joke?
15:01
xd
15:07
The aphorism "It's not a bug, it's a feature" is considered rude.
16:06
dude is a genius
16:10
aa03aa0 Remove obsolete clang-tidy NOLINT comments - Robyt3 5fbf02a Merge pull request #7333 from Robyt3/Clang-Tidy-Remove-Nolint - heinrich5991
Avatar
Unofficial opcodes, sometimes called illegal opcodes or undocumented opcodes, are CPU instructions that were officially left unused by the original design. The 6502 family datasheet from MOS Technology does not specify or document their function, but they actually do perform various operations. Some of these instructions are useful; some are not...
Avatar
Reported by "☠BlackWolf☠" on Discord: ``` Error occurred on Wednesday, October 11, 2023 at 10:04:44. DDNet.exe caused an Access Violation at location 00007FFC46E8BDD3 in module igxelpicd64.dll Writing to location 0000000000000018. AddrPC Params 00007FFC46E8BDD3 0000018EA6445020 00007FFCD2EEBE60 0000018E68B73150 igxelpicd64.dll!0x4bdd3 00007FFC46E58CE3 0000018E68B5D6CC 0000000000000024 0000000000000010 igxelpicd64.dll!0x18ce3 00007FFC46FCADD2 0000018E6B9600E0 0000018E6...
Avatar
The filename editbox and buttons of the demo render popup were rendered excessively large on Android. While too small buttons could be an issue with smaller screens, this should not be implemented solely this popup, if Android support is revived in the future, as it makes the UI layout code harder to maintain. Screenshots:
  • Before (assuming Android-specific layout was used):
![screenshot_2023-10-11_18-25-05](https://github.com/ddnet/ddnet/assets/23437060/9b6a0d31-ff61-4361-9b70-9525f23...
Avatar
too bad, they didn't write rocket's code in rust 🦀
pepeW 1
Avatar
Avatar
GitHub
Click to see attachment 🖼️
damn, android backcompat is getting removed
Avatar
Don't zoom below cl_default_zoom unless the player desires to. closes #7331

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 [A...
Avatar
3cc6a43 Add 25 € donation by Transzendenz - def-
Avatar
1dfdd75 Remove Android-specific layout code for demo render popup - Robyt3 0195837 Merge pull request #7336 from Robyt3/Demo-Render-Popup-Android - def-
Avatar
zombietoad how are you
Exported 77 message(s)