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 2023-03-19 00:00:00Z and 2023-03-20 00:00:00Z
Avatar
Whatever is up with this?
Avatar
Avatar
Voxel
Whatever is up with this?
We have an issue I didn't want to forget for a next release. But there was always something blocking it xd
Avatar
nice?
09:48
16k 120fps
Avatar
Avatar
Jupstar ✪
?
quality nice
Avatar
Because u set the resolution down
09:50
What do u expect
Avatar
Avatar
Jupstar ✪
What do u expect
expected better resolution got better resolution xD
09:52
Why does such permission even exist?
Avatar
Because the GPU says they are valid resolutions
09:53
And I don't random custom filtering
Avatar
Closes #6441.

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's memcheck](https://github.com/ddnet/ddnet/...
11:40
0c67d03 Show popups in editor when loading/saving file fails - Robyt3 9b8d8e4 Don't reload editor preview image every frame if it's invalid - Robyt3 3ab0fa7 Fix editor preview image not being updated after searching - Robyt3 d0fe108 Add str_format_v with va_list argument - Robyt3 99ef97a Use variadic arguments for ShowFileDialogError formatting - Robyt3 854445d Merge #6434 - bors[bot]
11:46
807532c Add 50 € donation by ReD - def-
heartw 2
Avatar
Reduces duplicate code. This also ensures that the log messages are properly zero-terminated and that they do not end with truncated unicode characters.

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
  • [ ] Cha...
Avatar
baa4485 Use str_format_v for log_log_impl - Robyt3 83aef0c Merge #6444 - bors[bot]
Avatar
0c6c52e Reveal selection when scrolling layer list with up/down arrow keys - Robyt3 8a94892 Merge #6443 - bors[bot]
Avatar
ChillerDragon BOT 2023-03-19 14:08:37Z
@heinrich5991 did the chunk header layout really change in 0.7? reading libtw2 docs gives me that impression while C++ blames do not
14:09
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
14:09
14:10
you note a different size of padding here im a bit confused
14:15
oh wait it is indeed different
14:21
good that i checked libtw instead of just assuming 10yrs ago is 0.7 :D
14:21
0.6*
Avatar
did laser or moving objects physics change recently (less than 4 months) ?
Avatar
ChillerDragon BOT 2023-03-19 14:31:53Z
physics changes oof
Avatar
yeah, laser is supposed to release when moving up
14:32
but it releases only for not even half a sec
14:34
map Low Possibility 3.1 (edited)
Avatar
ChillerDragon: docs were useful 🙂
14:50
also link my huffman impl :p
Avatar
ChillerDragon BOT 2023-03-19 15:14:35Z
yea ur docs are useful! I use them all the time!
15:15
@Learath2 lerato! daily python trivia. How to not write ugly code?
15:15
Avatar
what is this cast thing?
Avatar
square brackets instead of parenthesis? or is list a variable that overwrite list default type?
Avatar
ChillerDragon BOT 2023-03-19 15:16:00Z
its madness
Avatar
it's a type, @Chairn
15:16
also, pls post code with backticks, not pictures
Avatar
yeah, but how list[] can pass?
Avatar
ChillerDragon BOT 2023-03-19 15:16:23Z
messages is an list of ctrl,sys,game messages and get_messages only returns a list of sys,game messages
Avatar
that's how you write a list type in python
Avatar
i use list(elements)
Avatar
Source code: Lib/typing.py This module provides runtime support for type hints. The most fundamental support consists of the types Any, Union, Callable, TypeVar, and Generic. For a full specificati...
15:17
that's not a type though, that's an expresion that returns a list
Avatar
ChillerDragon BOT 2023-03-19 15:17:08Z
somehow mypy says that a union inlcuding only 2 types does not fit in a union including those 2 types plus 1 more
15:17
so i gotta cast
Avatar
oh ok, never had to use this
Avatar
it's something optional
Avatar
ChillerDragon BOT 2023-03-19 15:17:31Z
oh wot?
15:17
am i using the wrong thing?
Avatar
for people who want to add type hints to their python code
Avatar
thought it was accessing some elements in the list
15:17
but it declares a list type
Avatar
ye
Avatar
ChillerDragon BOT 2023-03-19 15:18:01Z
its so ugly xd
15:18
idk how to make it nice
15:19
but tbh the best docs is your wireshark dissector @heinrich5991 its so amazing!
Avatar
thanks 🙂
15:19
did you get it to run again with the wireshark issue?
Avatar
ChillerDragon BOT 2023-03-19 15:19:46Z
thanks a lot for the 1liner fix :)
15:19
yes very smoothly
15:20
writing tests for my code is literally copy paste from the dissector xd
Avatar
I didn't fix it, I only made it crash earlier
15:21
how? 😮
Avatar
ChillerDragon BOT 2023-03-19 15:21:28Z
nob
15:21
for me it just works
15:21
did you apply the fix heinrich sent on github? :trollface:
15:22
oke
15:22
wops wrong chat xd
15:22
oke
Avatar
how do you copy paste from my dissector?
Avatar
ChillerDragon BOT 2023-03-19 15:23:28Z
rightclick
15:23
copy
Avatar
ok
15:23
what do you copy-pate?
15:23
I don't get it yet
Avatar
ChillerDragon BOT 2023-03-19 15:23:46Z
hexdump as input
15:23
annotations as expected output
15:23
to check if my parser works
15:24
oh wait your right mine is crashing again :D ah i did a update yesterday
15:25
but i still have all the copied annotations so i didnt have to open it today yet
15:25
drunk wireshark devs breaking apis xd
Avatar
Avatar
ChillerDragon
@Learath2 lerato! daily python trivia. How to not write ugly code?
One simple trick, dont use python
Avatar
ChillerDragon BOT 2023-03-19 15:38:52Z
oof
15:39
but it trendy, no?
Avatar
Erm Actually Rust Is Trendier Than Python 🤓🤓🤓
Avatar
Can someone with macOS compile and run the following code on there and post the output? #include <iostream> #include <locale> using namespace std; int main() { cout << "With unset locale:" << endl; cout << " setlocale(LC_ALL, NULL): " << setlocale(LC_ALL, NULL) << endl; cout << " std::locale(\"\").name(): " << std::locale("").name() << endl; cout << "With setlocale(LC_ALL, \"\"):" << endl; setlocale(LC_ALL, ""); cout << " setlocale(LC_ALL, NULL): " << setlocale(LC_ALL, NULL) << endl; cout << " std::locale(\"\").name(): " << std::locale("").name() << endl; return 0; } Would be useful to figure out if we need something macOS platform specific for #2459. We definitely need something platform specific for Windows, because it outputs With unset locale: setlocale(LC_ALL, NULL): C std::locale("").name(): C With setlocale(LC_ALL, ""): setlocale(LC_ALL, NULL): German_Germany.1252 std::locale("").name(): C which is not even valid ISO 639-1.
Avatar
I think setlocale is a mistake
15:48
it will mess up your float formatting, e.g.
Avatar
I see. Won't be necessary for Linux anyway, there it outputs: With unset locale: setlocale(LC_ALL, NULL): C std::locale("").name(): en_US.UTF-8 With setlocale(LC_ALL, ""): setlocale(LC_ALL, NULL): en_US.UTF-8 std::locale("").name(): en_US.UTF-8 So we can get the ISO 639-1 code from std::locale("").name() alone.
15:49
And Windows has their own function GetUserDefaultLocaleName anyway.
Avatar
ah nice
Avatar
ChillerDragon BOT 2023-03-19 15:54:57Z
could you send a paste? :)
15:55
like a pstd paste for example
Avatar
ChillerDragon BOT 2023-03-19 15:55:59Z
full of js xd
15:57
robster.c:6:10: fatal error: 'iostream' file not found xd
15:57
is this good robster?
15:59
worked w clang :)
15:59
ah wait i used a c compiler xd
15:59
thats why it failed
15:59
u need more ifnos bout ma system?
Avatar
Thanks. That's unfortunate though, guess we'll need something specific to macOS as well.
16:00
As long as it's a relatively new macOS version (that we want to support with ddnet) it should be fine
16:03
im not latest macOS this is ancient hardware
16:04
i think im one major release behind
16:05
omg this mac feels like shit i get 90 gui popups when opening vim and everything is broken xd
16:06
rq
Avatar
1ccc8d0 scripts/git_revision.py: Remove unused backcompat - heinrich5991 fbcd4bc scripts/git_revision: Allow to pass in the git shortrev - heinrich5991
16:12
[ddnet/ddnet] New branch created: pr_ddnet_git_revision
16:14
8c7b2fc scripts/git_revision.py: Allow to pass in the git shortrev - heinrich5991
16:15
Use the DDNET_GIT_SHORTREV_HASH variable for this. This allows builds that do not use git to still have this kind of version information.

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 phy...
16:18
Compile with -framework CoreFoundation
Avatar
please read the docs before copying it into ddnet 😉
Avatar
ChillerDragon BOT 2023-03-19 16:19:49Z
bra lemme get ma 🍎 device again
16:20
is it virus?
Avatar
Using macOS API, so probably xD
16:20
so i can curl it on mac xd
Avatar
you can curl it with mozilla.org as well
Avatar
ChillerDragon BOT 2023-03-19 16:22:01Z
last time i jot js
16:22
a /raw
16:22
ok nice
16:24
meh
16:24
const?
Avatar
Add explicit cast? CFStringRef languageCodeRef = static_cast<CFStringRef>(CFLocaleGetValue(localeRef, kCFLocaleLanguageCode));
Avatar
ChillerDragon BOT 2023-03-19 16:27:07Z
somehow ppl swear on mac trackpads right? i can barley select any text on this garbage xd
16:27
my laptop running linux works better than this xd
16:28
User's locale: en
16:28
poggies
Avatar
Nice, so no more details like en_GB or en_US but better than nothing
Avatar
ChillerDragon BOT 2023-03-19 16:29:25Z
at least on my system^^
16:29
they probably broke the api in next macos
16:29
and french users have a baguette emjoi instead of a string fr
16:30
emoji*
Avatar
Thanks for the testing, I'll try if further tests also work in the GitHub CI
Avatar
ChillerDragon BOT 2023-03-19 16:31:38Z
anytime robsti my love
justatest 2
16:32
ok btw i changed my language to beerlang and it just said de no further weirdness for custom languages
16:33
even english (US) just says en
Avatar
[ddnet/ddnet-scripts] New branch created: pr_release_git_commit
16:56
b1998e8 Include Git commit SHA1 in releases - heinrich5991
17:20
b1998e8 Include Git commit SHA1 in releases - heinrich5991 0a9b53c Merge pull request #43 from ddnet/pr_release_git_commit - def-
Avatar
c645c6f scripts/git_revision.py: Remove unused backcompat - heinrich5991 bb086b8 scripts/git_revision.py: Allow to pass in the git shortrev - heinrich5991 8d5ee10 Merge #6445 - bors[bot]
Avatar
Gary Guo is helping our efforts to bring Rust into the Linux kernel by building a tool called klint. We asked him to provide his perspective on the work in this blog post. Thank you for your partnership and contributions, Gary! Josh Aas, Head of ISRG's Prossimo project For the last couple of months, I have been working on a static analysis too...
Avatar
I have a new idea to stop cheaters and toxic behaviour in games
22:29
If you get banned your bootloader is overwritten with all zeroes
Avatar
or, if you get banned, a pipebomb will be sent to your location
Avatar
People didn't like my doxing based ideas and I don't think I trust all mods with a murder button, no offense
Avatar
clientside, doesn't work
22:54
the bootloader one, I mean
Avatar
e8727f3 Use ddnet-libs repo, use branch variables to support RC and releases - def-
Exported 171 message(s)