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-10-18 00:00:00Z and 2022-10-19 00:00:00Z
06:32
time to learn 6502 asm
Avatar
Why? It is fun, but not much use to it
07:08
Are you porting ddnet to NES? 😄
Avatar
chillerdragon BOT 2022-10-18 07:15:31Z
Is there some tooling to turn proprietary binarys into compilable code? My employer forces me to run the zoom desktop app -.- I would feel way less uncomfortable if I could generate some C code with ghidra or something like that that then compiles into zoom is that possible?
Avatar
what's the point
07:16
I mean even if you decompile their binaries you'd still have to check for some shit
07:16
and you already know how bad zoom is
Avatar
chillerdragon BOT 2022-10-18 07:17:36Z
its just emotional at this point
07:17
i understand that i would not have variable names etc but at least i could try chaning some shit and recimpile right?
07:18
sounds easier to me than hook into the raw binary
Avatar
still what's the point
07:19
1st you can break the app itself, 2nd afterall you send your data to them
Avatar
chillerdragon BOT 2022-10-18 07:19:47Z
ye i wont get around 2nd i accepted that even for discord still i feel much better here
07:19
i dont understand 1st?
Avatar
at my job the guy in charge of the cybersec asked to disallow zoom, we got forced by the administration
Avatar
chillerdragon BOT 2022-10-18 07:20:48Z
Do you know if its possible?
07:21
Does decompiled code compile to a similar functioning binary?
Avatar
no, that's generally not possible
07:33
can't you use the web version of zoom? (edited)
07:33
they use some dark patterns to not show you the web version, but I've generally been able to use that
Avatar
chillerdragon BOT 2022-10-18 07:38:04Z
omg shit
07:39
is the web version new btw? Last time i checked it was not a thing
07:39
then im sending all my cookies to zoom o.O
Avatar
the web version is at least as old as the pandemic AFAIK
Avatar
chillerdragon BOT 2022-10-18 07:40:35Z
oh wow
07:40
weird
Avatar
they do use some dark patterns to steer you away from it
Avatar
chillerdragon BOT 2022-10-18 07:41:00Z
what is that xd
Avatar
like only showing you after you interacted enough with the site to show that you 'tried launching the desktop app'
07:41
cookies are something the zoom webservers ask you to send back when you reconnect
07:41
you can launch it in private mode to disconnect your sessions
07:42
the zoom web app, in a private browser window, I mean
Avatar
Avatar
chillerdragon
Is there some tooling to turn proprietary binarys into compilable code? My employer forces me to run the zoom desktop app -.- I would feel way less uncomfortable if I could generate some C code with ghidra or something like that that then compiles into zoom is that possible?
Ghidras decompiler is very capable, but even that isn't remotely close to producing fully compileable code, let alone a complete reproduction
Avatar
chillerdragon BOT 2022-10-18 07:42:39Z
oh sad
07:42
mr NSA entered the conversation
07:42
you contributed to ghidra didnt you xd?
07:43
the web app looks kinda functional still would be cool to run a selfcompiled desktop app instead
Avatar
chillerdragon BOT 2022-10-18 07:43:54Z
et tu mi fili
07:43
joke
07:43
i think its cool
Avatar
Me and @heinrich5991 are coworkers??
Avatar
chillerdragon BOT 2022-10-18 07:44:36Z
OwO
Avatar
o/
Avatar
chillerdragon BOT 2022-10-18 07:44:45Z
onlything bad about ghidra is java :D
07:44
rest is fine
Avatar
Accursed Java why must it become popular 😭
Avatar
chillerdragon BOT 2022-10-18 07:45:52Z
so bois then get to work and fix ghidra decompiler
07:45
thanks
Avatar
How do normal humans wake up and be operational this early in the morning??
Avatar
chillerdragon BOT 2022-10-18 07:46:18Z
its 10 in my timezone
Avatar
Also 10 here, woke up at 8
Avatar
chillerdragon BOT 2022-10-18 07:46:47Z
isnt it fair to assume to be functional 2h after waking up!?
07:46
its my prime
Avatar
Maybe I have some sort of brain damage
Avatar
chillerdragon BOT 2022-10-18 07:47:37Z
no u just proper hacker who works in da nite
07:47
with mate and hoodie
07:48
and im soy dev with morning routine and starbucks coffe
07:48
using nodejs and vscode
07:49
wait Learath are you on mac rn?
Avatar
Phone, waiting for lecture
07:51
3 hour lecture on circuit theory AnyaSob
Avatar
chillerdragon BOT 2022-10-18 07:51:15Z
go leak what lecture
07:51
is it any fun?
07:51
oh boi
Avatar
It's more fun than math analysis. Less fun than any computer related lecture
Avatar
chillerdragon BOT 2022-10-18 07:52:00Z
pog
Avatar
I'm also starving
Avatar
chillerdragon BOT 2022-10-18 07:52:22Z
was asking about if u got enough hotdogs
Avatar
Also cant get food because the vending machines only take coins... who tf uses coins?
Avatar
chillerdragon BOT 2022-10-18 07:52:52Z
the 3 lectures i visted i was always eating a lot of shit :D
07:52
i do use coins!
07:53
imagine using digitally tracable payment methods -.-
Avatar
This is one thing I never really changed my habits on despite multiple people asking me to go back to cash
07:54
It is just so damn convenient to use some sort of contactless payment, I cant imagine going back to carrying a bunch of banknotes and coins
Avatar
chillerdragon BOT 2022-10-18 07:55:03Z
i just never went there
Avatar
Probably the best way if you want to steer clear. Once you get to that point it's hard to go back 😄
07:56
Well I don't buy anything I wouldn't want daddy government to know, so it's fine-ish
Avatar
chillerdragon BOT 2022-10-18 07:56:40Z
wrong mindset
Avatar
It truly is, but that's the rationalization I'll go for
Avatar
chillerdragon BOT 2022-10-18 07:57:22Z
but ye tell me about going back :D Im trying to get rid of my smartphone since years wout success
Avatar
Avatar
Learath2
Are you porting ddnet to NES? 😄
To learn more assembly idk
Avatar
Getting rid of smartphone is probably the hardest. I use it for just so many things. Imagine going back to SMS and no internet access
Avatar
chillerdragon BOT 2022-10-18 07:58:25Z
@Ryozuki: reverse zoom to c code to learn assembly thanks
Avatar
Im not touching c when i have rust
Avatar
chillerdragon BOT 2022-10-18 07:58:40Z
or better no phone at all (@Learath2)
Getting rid of smartphone is probably the hardest. I use it for just so many things. Imagine going back to SMS and no internet access
07:58
rust also fine (@Ryozuki)
Im not touching c when i have rust
Avatar
Avatar
Ryozuki
To learn more assembly idk
8086, 68k, z80, 6502 all have interesting assemblies
08:02
Isnt zoom a electron app?
Avatar
idk
08:02
I thought it wasn't
08:03
800 comments
Avatar
Contributor to Racket 😭
Avatar
stupidity at its top level
Avatar
The cursedest of all programming languages
Avatar
@heinrich5991 do you know if you can use e.g a gpl license on ur software but disallow usage explocitly from a person or company, such as m$? (edited)
Avatar
Avatar
Learath2
The cursedest of all programming languages
Ppl do all sort of things with it tho iirc
Avatar
Avatar
ReiTW
stupidity at its top level
Why
Avatar
chillerdragon BOT 2022-10-18 08:05:31Z
nah (@Ryozuki)
Isnt zoom a electron app?
Avatar
I dont want m$ to use any of my code BASED
Avatar
Avatar
Ryozuki
Ppl do all sort of things with it tho iirc
I pity those poor souls
Avatar
Avatar
Ryozuki
Why
idk, don't use copilot then
08:06
afterall for me this utility is useless af
Avatar
chillerdragon BOT 2022-10-18 08:06:17Z
$ file /opt/zoom/ZoomLauncher /opt/zoom/ZoomLauncher: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8868e8fd56531917cf589d959503c78db71030d9, stripped
Avatar
I dont use it
08:06
Bro
Avatar
making people just lazy af
Avatar
Its not about using it
08:06
U got it all wrong
08:06
Its about them using copyrighted work to train it
08:07
And it also spits out copyrighted code
Avatar
so you mean that they can use your written by hand code to train
Avatar
They do already
Avatar
Avatar
Ryozuki
@heinrich5991 do you know if you can use e.g a gpl license on ur software but disallow usage explocitly from a person or company, such as m$? (edited)
not really. and it doesn't do anything about the copilot thing anyway. anything that it'd do would already be done by the gpl
Avatar
Hence the action class lawswit they wanna make
Avatar
maybe it is explicitly told by github about that
08:08
idk
08:08
Copilot uses code from all github repos
Avatar
that you have to be aware that using copilot helps it to learn
08:09
ah
08:09
well that's different then
Avatar
They never asked
Avatar
that sucks lmao
Avatar
the tod asks that your code can be used for github‘s services. copilot is such a github service
Avatar
chillerdragon BOT 2022-10-18 08:12:18Z
oh
08:12
so they are legally safe? :D doubt it works that way
08:12
you can not have ToS that overrule code licenses, can you?
Avatar
court has to decide that
Avatar
if it's you uploading your code to their platform, they can ask you to license things
Avatar
Whenever there is a grey area, you can almost always be sure US courts will decide with the corporate overlords
Avatar
it gets a little muddy when you upload other people's code, which is usually the case for GPLed software projects
Avatar
chillerdragon BOT 2022-10-18 08:13:45Z
So if i mirror the linux kernel on github i actually broke the kernels license and donated to code to ms?! xd
Avatar
it has nothing to do with license is what i would argue as github, the suggestions copilot gives do not have any specific license. you as the user are responsible (and good luck finding out where the code came from)
Avatar
chillerdragon BOT 2022-10-18 08:14:46Z
how can they not have a license if its a snipped out of licensed code? That does not sound valid.
Avatar
you can argue the system just learned by reading the code
Avatar
chillerdragon BOT 2022-10-18 08:15:25Z
its copying it 1/1 with comments
08:15
xd
Avatar
how can they not have a license if its a snipped out of licensed code? That does not sound valid.
no license means you can't use it. not that you can do whatever you want with it
Avatar
if you manually read someone else‘s code of a project, and then a few months later code something similar based on what you learned, is that against the license?
Avatar
chillerdragon BOT 2022-10-18 08:16:21Z
thats why i dont read code where i dont agree with the license (@deen)
if you manually read someone else‘s code of a project, and then a few months later code something similar based on what you learned, is that against the license?
Avatar
(playing devil‘s advocate, i don‘t like copilot much)
Avatar
Avatar
deen
if you manually read someone else‘s code of a project, and then a few months later code something similar based on what you learned, is that against the license?
depends on how many lawyers you and the other person have (edited)
Avatar
chillerdragon BOT 2022-10-18 08:17:12Z
im sure it can bend you over
08:17
but ye there is no way m$ is getting into any trouble :D
Avatar
Avatar
deen
if you manually read someone else‘s code of a project, and then a few months later code something similar based on what you learned, is that against the license?
I heard some programmers not being allowed to read code as to not break copyright somewhere
Avatar
chillerdragon BOT 2022-10-18 08:18:49Z
would be cool if there was some sort of open project that you can train on your own code. Which gives you a context based pasted from your old projects :)
08:19
thats why restrictive licenses are so ugly
Avatar
Avatar
Ryozuki
I heard some programmers not being allowed to read code as to not break copyright somewhere
only to be cautious
08:20
you can always steal from your own code
Avatar
Avatar
deen
it has nothing to do with license is what i would argue as github, the suggestions copilot gives do not have any specific license. you as the user are responsible (and good luck finding out where the code came from)
@github copilot, with "public code" blocked, emits large chunks of my copyrighted code, with no attribution, no LGPL license. For example, the simple prompt "sparse matrix transpose, cs_" produces my cs_transpose in CSparse. My code on left, github on right. Not OK.
Likes
5387
Retweets
1566
08:20
çcheck this out
Avatar
chillerdragon BOT 2022-10-18 08:20:30Z
but it takes time to find your own code
Avatar
even if it had restrictive licensing
Avatar
Avatar
Ryozuki
I heard some programmers not being allowed to read code as to not break copyright somewhere
Clean room implementations used to be more common back when corporations had an iron grip on all code
08:21
There was a huge mess between the first open bsds and at&t
Avatar
Does anyone here know a good self hosted http tunnel
08:25
To receive webhooks locally for example
Avatar
Why not just nginx?
Avatar
I mean receive a http request from a public facing server and pass it to my local machine
08:27
Does nginx do that?
Avatar
Nginx can proxy stuff, sure. proxy_pass is the keyword
08:28
U can then pog
08:30
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives...
Avatar
Nice idea mixing it with ssh
Avatar
it seems that to make rust link the tests on windows, I need the C++ code compiled with /MD (dynamically linked, release c stdlib). we're currently compiling with /MT (statically linked, release c stdlib) for release and /MTd (statically linked, debug c stdlib)
08:40
what is the difference between "release" c stdlib and "debug" c stdlib on windows?
Avatar
no idea
Avatar
Uh, I vaguely remember the debug one having range checks and stuff
10:24
@deen could you try compiling it again? 🙂
11:05
do we want to vendor our rust dependencies? into the main repo? into a submodule?
11:05
there's a cargo vendor which would make it very easy
Avatar
Avatar
heinrich5991
@deen could you try compiling it again? 🙂
have to board flight first, i‘ll check later today or tomorrow
Avatar
sure, thanks 🙂
11:13
where do you fly? if you don't mind sharing
Avatar
back home from palermo to karlsruhe
Avatar
ddnet airline (edited)
Avatar
any RegEx pros? How do i make sure 2 numbers are equal, here is my expression: \d{1,32}on\d{1,32}, i want to make sure both numbers are equal, im new to regex and was confused by number of tokens, didn't find something useful for my case
Avatar
i don‘t think you can, would need some extension so probably depends on the regex engine
11:28
just collect them both as groups and compare them later in your regular code
Avatar
k, thanks
Avatar
Backreferences are the keyword you are looking for, if you want to check if your regex implementation has them
Avatar
but not a regex in the strict compsci sense then anymore
11:30
It'd need to be a pushdown automata atleast, right?
Avatar
my uni classes are too long ago
11:37
based on google seems so
Avatar
Avatar
Learath2
How do normal humans wake up and be operational this early in the morning??
did you try coffee 😄 ?
Avatar
Not the best idea on an empty stomach
Avatar
coffee + croissant then
Avatar
Mh, I guess. Q croissant alone maketh not breakfast
Avatar
Avatar
Anime.pdf
any RegEx pros? How do i make sure 2 numbers are equal, here is my expression: \d{1,32}on\d{1,32}, i want to make sure both numbers are equal, im new to regex and was confused by number of tokens, didn't find something useful for my case
(\d{1,32})on\1 for a (not quite) regex engine supporting backreferences
Avatar
I think(tm) this sort of regex engine is usually vulnerable to stuff like catastrophic backtracking. So I'd really suggest what deen suggested
Avatar
it is, but usually not on all regexes ^^
12:16
the regex engine shipped with python is vulnerable to catastrophic backtracking, for example
Avatar
!image It is a little strange when the max is smaller than the min, would be more elegant to leave max out in this case
Avatar
Avatar
heinrich5991
(\d{1,32})on\1 for a (not quite) regex engine supporting backreferences
working perfectly, thanks ^^
Avatar
cl_auto_demo_on_connect Only start a new demo when connect while automatically record demos Does somebody have a better explanation for this command?
Avatar
Previously warnings were generated because we were passing /MTd-like arguments twice, due to us and CMake 3.15+ adding these arguments: https://cmake.org/cmake/help/v3.25/policy/CMP0091.html. This requires CMake 3.15 on Windows. This fixes #5940.

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 i...
Avatar
is there a way to send motd silently, so it wont pop up to user?
Avatar
What use would it have?
Avatar
well, i thought to use it as updating server info
Avatar
I think you can just send serverinfo and the client should update it properly. What does motd have to do with that?
Avatar
Avatar
Learath2
I think you can just send serverinfo and the client should update it properly. What does motd have to do with that?
im about custom server info, just any changing info, its not that necessary to use broadcast or chat for displaying it, so i thought of motd
Avatar
Mh, idk if sending a motd message makes it pop up
Avatar
yep, definitely
Avatar
Ok, then I don't think there is a way. But I'll take a quick look
Avatar
unfortunately😄
Avatar
idk what was changed but i get only half fps recently in ddrace
14:13
i had like 4000fps normal and now 2000, and when i open scoreboard it even decreases to 500
14:13
its not a big thing but i can feel the input latency abit
14:13
im on opengl 3.3.0 btw
Avatar
@Anime.pdf you want to display some custom stuff in the server info tab?
14:16
what kind of stuff?
14:21
tf
Avatar
Try vulkan
Avatar
Avatar
Anime.pdf
is there a way to send motd silently, so it wont pop up to user?
no, there isnt
15:10
only if cl_motd_time is set to 0, but you cant control that from the server
Avatar
<function name="f" params="x,y"> <block> <var id="b"><intlit value="3"/></var> <if> <less> <ref id="x"/> <times> <ref id="a"/> <plus><ref id="b"/><intlit value="7"></plus> </times> </less> <while> <ref id="found"/> <block> <for var="i"> <range><intlit value="2"/><intlit value="5"/></range> <print><ref id="i"/></print> </for> <if> <eq><ref id="a"/><intlit value="2"/></eq> <break/> </if> </block> </while> <assign> <ref id="p"/> <cos><intlit value="5"/></cos> </assign> </if> <return><intlit value="5"/></return> </block> </function>
15:43
poggers
15:43
xml programming!
15:43
xd
Avatar
Avatar
Anime.pdf
is there a way to send motd silently, so it wont pop up to user?
You can send motd at any interval for each user ,individually, or silent for someone, or for each his own interval without erasing it from serverinfo motd. Send me a pm and I'll explain (edited)
Avatar
The end anchor is removed from the grep RegEx, as it's not necessary and as it doesn't work on Linux systems when the crash log uses Windows line endings.

Checklist

  • [ ] 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
  • [ ] C...
Avatar
Avatar
Ryozuki
<function name="f" params="x,y"> <block> <var id="b"><intlit value="3"/></var> <if> <less> <ref id="x"/> <times> <ref id="a"/> <plus><ref id="b"/><intlit value="7"></plus> </times> </less> <while> <ref id="found"/> <block> <for var="i"> <range><intlit value="2"/><intlit value="5"/></range> <print><ref id="i"/></print> </for> <if> <eq><ref id="a"/><intlit value="2"/></eq> <break/> </if> </block> </while> <assign> <ref id="p"/> <cos><intlit value="5"/></cos> </assign> </if> <return><intlit value="5"/></return> </block> </function>
Cursed
Avatar
Avatar
ReiTW
Click to see attachment 🖼️
pepedead
16:48
can't wait to have that gpu catch on fire
Avatar
Avatar
Iza
i had like 4000fps normal and now 2000, and when i open scoreboard it even decreases to 500
have u tried click restart
Avatar
Avatar
Jupstar ✪
have u tried click restart
restart what?
Avatar
Avatar
Iza
restart what?
windows
Avatar
i played the game before i shut down my pc and also after i started my pc so i'd assume a pc restart doesnt change anything
Avatar
Avatar
Iza
i played the game before i shut down my pc and also after i started my pc so i'd assume a pc restart doesnt change anything
no press restart
17:31
shutdown -> start is not = restart in windows
17:32
else try what usually helps try new config clean computer down/up-grade drivers try older ddnet to confirm close all programs except ddnet
Avatar
ec5d5d0 Fix parse_drmingw.sh not finding module offset on Linux systems - Robyt3 401157d Merge #5955 - bors[bot]
Avatar
hmm, ipv6 and ipv4 servers appear twice
Avatar
which version? which server name?
20:29
LAN?
Avatar
current trashmap with behemoth2 map
Avatar
0.6 protocol failed to register via IPv6 for some reason
20:35
need logs
Avatar
845c67a Use CMake to configure static C stdlib on Windows - heinrich5991 4050678 Merge #5954 - bors[bot]
Avatar
Avatar
heinrich5991
0.6 protocol failed to register via IPv6 for some reason
@timakro ^
Avatar
Python pros pm me
Avatar
Avatar
heinrich5991
@deen could you try compiling it again? 🙂
seems to work on linux and windows, haven't tried mac
Avatar
Avatar
deen
seems to work on linux and windows, haven't tried mac
cool 🙂
21:16
is it possible for you to try in the next couple of days as well? the normal build should work, I tried it on some friend's notebook, but I haven't tried the release script
Avatar
[quakenet] deen BOT 2022-10-18 21:55:53Z
ok
Exported 263 message(s)