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-04-16 00:00:00Z and 2020-04-17 00:00:00Z
Avatar
I want to add ffmpeg lib and header file to ddnet/ddnet-libs repo, and renew the ffmpeg version in cmake/FindFFMPEG.cmake, for but a DDNet Client with video feature more convenience. I will submit two PR for that and refer to this issue later.
01:46
Add ffmpeg lib and header file for building client with record feature in windows OS.
01:49
… building Renew the ffmpeg lib version in cmake/FindFFMPEG.cmake for windows OS building
Avatar
I spent so much time generating the protocol map from 7 to 6, bringing the entire safe unpacker, yet the code doesn't look any cleaner 😦
Avatar
python really is a disappointing language
Avatar
[quakenet] deen BOT 2020-04-16 08:38:06Z
Why? I like Python
Avatar
I have never seen such a newfangled language come with such a horrible way to manage imports and modules
08:40
I just want to import from the current directory, is that too much to ask?
08:45
I give up, if someone wants to take this up, they are free to continue
Avatar
[quakenet] deen BOT 2020-04-16 08:48:14Z
Oooh, this is for the 0.7 compatibility
08:48
What's the problem exactly?
08:48
i thought if you hav X.py in same dir and do import X, it just works
Avatar
it would work unless there is another X in the cwd
Avatar
[quakenet] deen BOT 2020-04-16 08:49:14Z
can you import "./X"?
Avatar
apparently not
08:50
I might need to create a package or a module or something
Avatar
[quakenet] deen BOT 2020-04-16 08:50:49Z
Too bad. Why not rename the file so that it has a unique name?
08:52
import . X?
08:53
hm, no
08:53
ok, I also have no idea
Avatar
I wonder if there is some internal command that just avoids resolution alltogether
Avatar
[quakenet] deen BOT 2020-04-16 08:57:10Z
How can I load a Python module given its full path? Note that the file can be anywhere in the filesystem, as it is a configuration option.
Avatar
look at how cute it is in python2
Avatar
I'm seriously baffled
09:05
what kind of dimwit does it take to not notice the OBVIOUS flaw in this import mechanism?
09:05
"The init.py files are required to make Python treat the directories as containing packages; this is done to prevent directories with a common name, such as string, from unintentionally hiding valid modules that occur later on the module search path."
09:06
Like who came up with this solution?
09:06
"Guys I have a brilliant solution to directories overriding actual modules, let's introduce a weird new file called __init__.py"
09:08
"Using slashes for path imports, and dots for global module imports would be just too intuitive. We should aspire to make it as inaccessible as possible to people doing actual work and make it more accessible for my grandmother, 3rd graders and math PhDs"
Avatar
@Learath2 I dont think we need the MsgID -= 24, or how you handle it now with *= -1
10:16
that was only the case before, because before it was in one byte, and that could only handle msg ids up to 31
10:17
Guess you can drop that now and make it cleaner
Avatar
[quakenet] ChillerDragun BOT 2020-04-16 10:26:19Z
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.
Avatar
whats the error
10:48
you can do from .datatypes import *
Avatar
apparently you can't
Avatar
you can just make a init
Avatar
it works when I do it from the command line, it doesn't work if I run it from cmake
11:02
*whether I have an __init__.py or not
Avatar
it has smth to do with cmake
Avatar
I doubt that, it's more likely that the cwd is an issue
11:04
it works perfectly fine running from any directory, except in cmake
Avatar
maybe try to set
11:05
WORKING_DIRECTORY
Avatar
Does anyone know how can I make a bootable iso from mac dmg installer in windows?
Avatar
Hi, why when I turn on antiping it affects not only the rest but also on me I noticed that my character moves more accurately when antiping is turned off And when turned on, then others move more correctly (easier save, but others teleporting) The main question is how to turn off antiping for your character and turn on for everything else?
Avatar
@Soyler Scroll up to beginning of discussion today at 00:19 - Shyzo & Patiga were discussing about how the antiping works
14:22
And iirc there is currently no way to disable prediction for yourself only
Avatar
[quakenet] ChillerDragun BOT 2020-04-16 18:30:32Z
macOS big troll throwing stdlib errors https://paste.zillyhuhn.com/pF
Avatar
ChillerDragun: where?
18:42
on CI?
Avatar
[quakenet] ChillerDragun BOT 2020-04-16 19:06:21Z
ye
19:06
A retro multiplayer shooter. Contribute to ZillyFng/solofng development by creating an account on GitHub.
Avatar
Trafalgar Law 2020-04-16 21:11:38Z
hi is it possible to show records in the scoreboard with file sql ?
21:12
On my test server on ddnet are no ranks listed when someone finished
Exported 60 message(s)