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 2024-02-26 00:00:00Z and 2024-02-27 00:00:00Z
Avatar
chillerdragon BOT 2024-02-26 00:01:42Z
BTW @heinrich5991 that crashbug‘s solution depends on wether a pr gets merged in ddnet that is marked as depends on #7777 any chance we could merge or decline just that pr? Or somehow move forward #7777?
Avatar
Avatar
chillerdragon
Also btw the latest version is 0.7 not 0.6 :p
xd
01:48
what about me doing teeframe for 0.6?
01:48
pepeW
01:51
how the server send to the client that someone is chatting?
Avatar
Avatar
Miguilim
how the server send to the client that someone is chatting?
nvmd its on obj_character
01:52
wait, the client known every other tee health, armor, ammo count?
Avatar
Avatar
Ryozuki
i gotta make a website xd
can u make windows builds of edlang
02:01
bad for discovery when u only have linux build
Avatar
chillerdragon BOT 2024-02-26 02:23:29Z
It sends 0 values unless it’s sent to the connection that owns the tee
Replying to @Miguilim wait, the client known every other tee health, armor, ammo count?
Avatar
Avatar
Ewan
can u make windows builds of edlang
Nah He should Just openly brag about Linux Superiority and Hit everyone with the: try it Out with WSL2!!!!
Avatar
chillerdragon BOT 2024-02-26 02:24:30Z
What about it? You do Teeframe for an outdated version.
Replying to @Miguilim what about me doing teeframe for 0.6?
Avatar
(joking btw)
Avatar
chillerdragon BOT 2024-02-26 02:25:59Z
I think
Replying to chillerdragon It sends 0 values unless it’s sent to the connection that owns the tee
02:26
Not 100% sure
02:26
I think spectators get the info too. Spectators and owners
Avatar
Avatar
meloƞ
Nah He should Just openly brag about Linux Superiority and Hit everyone with the: try it Out with WSL2!!!!
i think u can still build it on windows very easily
02:48
but tbh i can see him cutting off windows support in the future
02:48
which would be bad
02:49
sorry again about your api key melon
02:50
i used it a little bit but apparently it forgot or something lol
Avatar
kek no worries
Avatar
ws-client BOT 2024-02-26 03:10:26Z
<ChillerDragon> @Ewan need windows download? Here you go https://downloads.teeworlds.com/solidfiles.com/17358/DDRace_Windows.rar
03:10
<ChillerDragon> ddrace_windows.rar served by downloads.teeworlds.com lmao
Avatar
lol thanks
03:15
but we were talking about edlang
03:15
maybe u can't see the reply
Avatar
ws-client BOT 2024-02-26 03:16:14Z
<ChillerDragon> @heinrich5991 does deprecated mean you are going to delete that directory? https://heinrich5991.de/teeworlds/maps//maps_deprecated_with_crc/ or just not update?
03:16
<ChillerDragon> @Ewan ye ik
Avatar
how are u chiller dragon
Avatar
ws-client BOT 2024-02-26 03:17:18Z
<ChillerDragon> good u?
Avatar
im alright
03:17
i wanted to try clear linux on my server since it's well-optimized and low maintenance
03:17
but the cdn is soooo slow
03:17
install took 90 mins or something
03:17
i didn't check uptime
03:18
seems they don't really have shittons of pkg mirrors hosted by universities and shit like most big distros have
Avatar
it boots to desktop in like 15 seconds tho
04:10
this is kinda rough tho
Avatar
Avatar
Ewan
bad for discovery when u only have linux build
i want to but its honestly hard and no win machine
Avatar
mingw is rly ez to use
07:00
wait i forgot its rust
07:00
xddd
Avatar
cross compiling on rust is so ez though...
Avatar
ws-client BOT 2024-02-26 07:00:47Z
<ChillerDragon> til this works in teeworlds ./teeworlds teeworlds:127.0.0.1 as an alternative to ./teeworlds "connect 127.0.0.1" thats so weird
Avatar
ye the thing is not that
Avatar
i havent tried but apparently i have to use the same llvm version as rust? but not sure
07:01
also idk how the linker works
Avatar
i guess you have to have the language support it too
07:02
i forgot
07:02
should still be fine tbh
07:02
Windows You must use a version of Rust that uses the same compiler as you build LLVM with, either MSVC or MinGW. Fortunately, a mismatch like this will cause errors at compile-time when llvm-config provides options which are supported by only one of them, so if you're using the other it will cause the build to fail.
07:03
weird shit
Avatar
chillerdragon why couldn't u import twlib.copy_tree as copy_tree?
07:15
soon we will see how quickly these 3 machines can work together to compile ddnet
justatest 2
Avatar
ima try to do edlang windows
Avatar
Avatar
Ewan
Click to see attachment 🖼️
so american
07:30
smol table
Avatar
table is big
07:30
it just has topper
Avatar
Avatar
Ewan
Click to see attachment 🖼️
Wtf that's some interesting layered setup
Avatar
Avatar
Jupstar ✪
Wtf that's some interesting layered setup
Held up by clamps xddd
08:03
i can put my laptop and smaller keyboard behind the keyboard too
08:03
under the main platform
Avatar
But you still have no mouse space xxd
08:04
Are you playing high sens?
Avatar
Not really playing
😔 1
Avatar
woah i hate windows
08:13
such a dev hostile OS
Avatar
Avatar
Ryozuki
such a dev hostile OS
Replace Dev with user 😬
Avatar
replace user with (char)(8) (edited)
08:48
@Ewan im trying but i already hating myself
Avatar
@Ryozuki what for?
Avatar
edlang for winshit
Avatar
I'd just install windows on a different drive
08:51
Atleast that's what I do for gaming windows shit
Avatar
i dont want windows
08:51
just doing this to compile
08:51
i tried making my dockerfile but i suck
Avatar
Avatar
Ryozuki
i dont want windows
Neither do I but if protondb says its impossible to emulate....
Avatar
i dont play the game then
Avatar
Avatar
Ryozuki
just doing this to compile
What about GitHub actions?
Avatar
Avatar
Teero
What about GitHub actions?
that will be when i get this working
08:52
ci driven development is the worst
08:53
tbh if this takes me more than some hours i will pass
08:53
edlang for linux only
Avatar
Avatar
Ryozuki
i dont play the game then
But I really wanna play lost ark
Avatar
i thought you knew better than to install visual studio
Avatar
Avatar
Ewan
i thought you knew better than to install visual studio
its rustup
Avatar
Just install mingw xd
Avatar
you're still using msvc
Avatar
and no i dont know better
08:53
and i dont want to learn windows shit
Avatar
angry developer moment
08:54
xd
Avatar
Software Distribution and Building Platform for Windows
08:55
Install mingw64 and cmake and you should be good to go
Avatar
no im definitly not good to go
08:56
im not doing ddnet stuff
Avatar
Maybe already posted here, idk xd
Avatar
funny winget only has llvm 15
08:57
more outdated cant be
Avatar
Avatar
Ryozuki
im not doing ddnet stuff
wdym
08:57
why does that matter
Avatar
Compiler is compiler no matter what project it is xd. Except its not cpp
Avatar
msys2 is still good setup for rust
Avatar
u can get rust from msys repos or add your C:\Users\ryozuki.cargo\bin to your MSYS path
08:59
either in /etc/profile or ~/.profile or ~/.config/fish/config.fish if ur using a good shell
08:59
then it's like linux ish
Avatar
Avatar
Ewan
why does that matter
it matters cuz it needs to match what llvm was compield with
08:59
and as i said idc i dont wanna learn winshit
Avatar
you can't get a mingw build of llvm ?
09:00
i definitly dont want to build llvm in a vm
Avatar
haha weak is using windows
Avatar
That command didn't set python version to 3.11 anyways, and it works just fine without it, why not remove it?

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
  • [ ] Changed no physics that affect existing ...
Avatar
Avatar
Miguilim
yes, the serverbrowser info
the connectionless stuff is only needed for lan servers nowadays. serverinfo for internet servers doesn't go through connless packets anymore
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
where do I find this?
Avatar
View DDNet / Teeworlds Statistics.
Avatar
Avatar
ws-client
<ChillerDragon> @heinrich5991 does deprecated mean you are going to delete that directory? https://heinrich5991.de/teeworlds/maps//maps_deprecated_with_crc/ or just not update?
ChillerDragon: currently just not update. what do you use it for?
Avatar
cool 🙂 source?
09:22
I considered doing something like that for the client once, for live-updates of the serverlist
Avatar
Avatar
heinrich5991
cool 🙂 source?
check the link in the website
Avatar
This tool continuously fetches the DDNet master server and observes the changes, broadcasting the events and providing a API. - edg-l/teeobserver
Avatar
or read it
09:23
yes
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Milkeye????? Wtffff actual useful commit huh ?? You sick or smth
09:31
I use it for testing the fixes in the crates I depend on
09:31
very useful for that
09:32
@Ewan no edlang for windows for now
Avatar
Avatar
Ryozuki
@Ewan no edlang for windows for now
what does it depend on? some LLVM shenanigans?
Avatar
Avatar
heinrich5991
what does it depend on? some LLVM shenanigans?
just llvm library
09:32
but its a pain
09:33
distcc tricky to set up across OSes
Avatar
cuz the prebuilt llvm doesnt have llvm-config which is a tool it tells u the llvm version and library paths
09:33
and llvm-sys depends on it
09:33
and i dont want to waste more time on a propietary thing
09:33
it makes me angry xD
09:33
so to get llvm-config i would need to build llvm on windows myself
09:33
= lose 2 hours
Avatar
Go See FISHYYYYYYYYYYYYS If angry ryo - they Help!
Avatar
Avatar
Ryozuki
it makes me angry xD
^^
Avatar
Lmao my Phone autocorrected that
09:34
I Just Typed fishies
Avatar
macos support is easy tho
09:34
its just windows is so special
Avatar
Avatar
Ryozuki
macos support is easy tho
do you even need support for anything other than ryoos? 😏
Avatar
for now ill only support FOSS operating systems
09:35
nobody will use this anyway
Avatar
xd
Avatar
gotta check openbsd
Avatar
u never know
Avatar
well then my goal will be to make such a good programming language it will entice ppl to come to linux
09:36
isnt that what windows does with games?
09:36
owo
Avatar
Avatar
meloƞ
Milkeye????? Wtffff actual useful commit huh ?? You sick or smth
Avatar
b6c75e1 ci: remove useless command in ci - MilkeeyCat ae5bf90 Merge pull request #8018 from MilkeeyCat/pr_remove_useless_command_in_ci - def-
Avatar
Did my pr just got merged in main repo? santatrollet
Avatar
I thought u just edit to "contribute code" xd
09:58
But having dev role feels good
Avatar
it's a lot harder for windows-exclusive game devs to target Linux than it is for you to target windows lol
10:00
though i understand the frustration of having to compile stupid shit
10:01
rn im compiling llvm-mingw on my old 6 core i5 because it doesn't have a build for my distro
10:03
also congrats milkyboy
Avatar
I didn't code anything ;-;
Avatar
Avatar
MilkeeyCat
But having dev role feels good
trollet
Avatar
Avatar
MilkeeyCat
I didn't code anything ;-;
if you feel bad about that, just change it? 😄
Avatar
Avatar
Jupstar ✪
if you feel bad about that, just change it? 😄
Yea.. i should
Avatar
Avatar
MilkeeyCat
Yea.. i should
try to find out how to save teams on map change
10:12
good feature but naive implementation sucks
Avatar
Avatar
MilkeeyCat
Did my pr just got merged in main repo? santatrollet
am I a dev then aswell justatest
Avatar
Avatar
MilkeeyCat
Yea.. i should
wait wait wait. you now have dev role?!
Avatar
im still chilling as normal user
10:54
.....
Avatar
That didn't age well
Avatar
Avatar
Jupstar ✪
That didn't age well
xd
Avatar
someone is feeling generous
Avatar
Avatar
Jupstar ✪
That didn't age well
my ages since 2020 i suppose
Avatar
This is the strict version, ID → Id, UI → Ui, except DDNet which stays DDNet. This would fix #7750. Done using a naive rename script: ```fish sed -i \ -e 's/([a-z]?)ID/\1Id/g' \ -e 's//Ui/g' \ -e 's//Id/g' \ -e 's/([a-z]?)GPU/\1Gpu/g' \ -e 's/([a-z]?)IP/\1Ip/g' \ -e 's/([a-z]?)CID/\1Cid/g' \ -e 's/MySQL/Mysql/g' \ -e 's/([a-z]_?)SQL/\1Sql/g' \ -e 's/DPMode/DpMode/g' \ -e 's...
Avatar
Avatar
Teero
wait wait wait. you now have dev role?!
😏
Avatar
Cool I have a Dev role now but I don't feel worthy yet. Guess I'll have to fix some things
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@meloƞ
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Write a tool for my ide that can auto fix it. Else its just style bitching
Avatar
chillerdragon BOT 2024-02-26 11:33:11Z
fix_style.py should be enough
11:33
No ide integration needed
Avatar
Conventions that are enforced theoretically are useful for programmers
Avatar
Avatar
chillerdragon
No ide integration needed
I disagree
11:33
Without ide support it still results in force pushes which slow down the working process
11:36
Not even rust follows its own rules
11:36
Btree should be one word in their logic
Avatar
chillerdragon BOT 2024-02-26 11:36:42Z
Send pic with tw open and I can include it in ma new YouTube video c:
Replying to @Ewan IMG_4952.jpg
Avatar
The module is also called like that
Avatar
ChillerDragon BOT 2024-02-26 11:37:44Z
For writing tests and documentation for the 0.6.4 protocol. I found it easier to work with crc maps for that.
Replying to @heinrich5991 ChillerDragon: currently just not update. what do you use it for?
Avatar
if you want permalinks, use the sha256
Avatar
ChillerDragon BOT 2024-02-26 11:38:52Z
I have a compilation of pcap files and python tests and html files etc where i would like to reference that this is downloading map xyz with crc so and so and it can be downloaded from this heinrich5991.de url
11:39
but 0.6.4 uses crc
Avatar
then mention the sha256 of the maps that were downloaded
11:39
to get a permalink
11:40
<ChillerDragon> here it sends a crc
11:40
<ChillerDragon> crc is shorter to type creates shorter file names in my pcap collection
11:40
<ChillerDragon> and i do not need to translate the sha to crc
Avatar
all the wrong reasons. if it motivates you, I can delete the crc endpoint
Avatar
ws-client BOT 2024-02-26 11:41:02Z
<ChillerDragon> nah just keep one forever :p
11:41
<ChillerDragon> its annoying to use sha when the whole thing is about crc
11:41
<ChillerDragon> just feels wrong
Avatar
sha256 is just another file checksum
11:42
(that is actually secure)
Avatar
ws-client BOT 2024-02-26 11:42:11Z
<ChillerDragon> yes i understand
11:42
<ChillerDragon> but its still additional complexity where i really do not want it
11:42
<ChillerDragon> for no gains
Avatar
the gains are that people can actually verify they got the correct map
Avatar
ws-client BOT 2024-02-26 11:42:51Z
<ChillerDragon> its fine i can just build my own crc mirror then i guess
11:43
<ChillerDragon> crc is good enough for that in a sample map
Avatar
it's usual, even without any protocol shenanigans, to provide sha256 hashes of files
Avatar
ws-client BOT 2024-02-26 11:43:22Z
<ChillerDragon> yes i know
Avatar
ws-client BOT 2024-02-26 11:43:33Z
<ChillerDragon> but crc is baked into the protocol
11:43
<ChillerDragon> so thats the interesting value
Avatar
and you can additionally specify the sha256 (edited)
Avatar
ws-client BOT 2024-02-26 11:43:47Z
<ChillerDragon> when i am documenting the protocl
11:44
<ChillerDragon> then the url is still non obivious
11:44
<ChillerDragon> because it does not match
Avatar
then build your own mirror, please
Avatar
ws-client BOT 2024-02-26 11:44:22Z
<ChillerDragon> ye k
Avatar
I'm still in trouble about if I prefer blake2 or 3 vs sha3
11:44
Chiller opinion?
Avatar
what do you want to optimize for?
11:45
I heard blake3 is good for speed
Avatar
Yes
11:45
But not standard
Avatar
ws-client BOT 2024-02-26 11:45:43Z
<ChillerDragon> it didnt use it yet for anything was just thinking about doing so @heinrich5991 so from my side you can delete the crc folder but i always liked using that for testing etc. Espeically since many clients still only print crc in the logs
Avatar
But sha3 adaption sucks too
11:46
So speed might be more convincing xd
Avatar
ws-client BOT 2024-02-26 11:46:01Z
<ChillerDragon> i dont even know blake
11:46
<ChillerDragon> i use sha1 mostly trololol
11:46
<ChillerDragon> because it is installed on most systems
Avatar
you could use sha256 if you want to have a standard thing
Avatar
ws-client BOT 2024-02-26 11:46:29Z
<ChillerDragon> sha1sum
Avatar
But I heard sha3 can be extremely fast too on fpga
Avatar
Avatar
heinrich5991
you could use sha256 if you want to have a standard thing
Old is always bad
Avatar
ws-client BOT 2024-02-26 11:46:53Z
<ChillerDragon> sha256sum is always trouble on figuring out where to install it from and then you have to think about portability for other ppl
11:47
<ChillerDragon> as someone who uses shell as their main language xd
Avatar
Only the newest of the newest is good enough
Avatar
soo, we should move to teeworlds 0.7 protocol?
11:47
no, newest is not always best
Avatar
ws-client BOT 2024-02-26 11:47:37Z
<ChillerDragon> now
Avatar
How is that new?
Avatar
ws-client BOT 2024-02-26 11:47:49Z
<ChillerDragon> im ready
Avatar
It's like 10 years old
Avatar
ws-client BOT 2024-02-26 11:47:57Z
<ChillerDragon> ipv6
Avatar
afaik NIST did not create a new hash function because the old one was obsolete
Avatar
But in case of it getting unstable
Avatar
ws-client BOT 2024-02-26 11:48:20Z
<ChillerDragon> arbeitsbeschaffungsmaßnahme
11:48
<ChillerDragon> some1 was bored and built new hash
Avatar
As backup
Avatar
yes. just like sha2 might be there if sha3 gets broken
Avatar
So Blake it shall be u say?😏
Avatar
ws-client BOT 2024-02-26 11:49:26Z
<ChillerDragon> why do you need standard in your case?
Avatar
blake is also parallelizable
11:49
so you can use all your cores to compute it
Avatar
Avatar
ws-client
<ChillerDragon> why do you need standard in your case?
I don't need it
Avatar
ws-client BOT 2024-02-26 11:49:51Z
<ChillerDragon> if its fastest and u have a good lib in rust for it that you can ship to client and server it seems like the best fit for ddpg2
Avatar
It's just an pro argument
11:50
Not a decision making argument
Avatar
Avatar
ws-client
<ChillerDragon> if its fastest and u have a good lib in rust for it that you can ship to client and server it seems like the best fit for ddpg2
OK boss
Avatar
ws-client BOT 2024-02-26 11:51:03Z
<ChillerDragon> im so curious if u ever reach playable state
11:51
<ChillerDragon> that would be crazy
11:51
<ChillerDragon> ryo released a full programming language already axaxax
11:51
<ChillerDragon> and there is no alpha rls of jupjapjapsti-net2
Avatar
Why should I not
11:52
But only vanilla as first step
Avatar
ws-client BOT 2024-02-26 11:52:30Z
<ChillerDragon> idk its big project
Avatar
But the engine is almost done
Avatar
ws-client BOT 2024-02-26 11:52:51Z
<ChillerDragon> pog
Avatar
Vanilla itself is actually not lot of code
11:53
I just hate it xd
Avatar
ws-client BOT 2024-02-26 11:53:12Z
<ChillerDragon> rude
Avatar
But thanks to zwelf I have a new door open
Avatar
ws-client BOT 2024-02-26 11:53:30Z
<ChillerDragon> wot
11:53
<ChillerDragon> u use his lib?
11:53
<ChillerDragon> isnt there license issues?
Avatar
I can break some tw "physics" without breaking ddnet physics
Avatar
ws-client BOT 2024-02-26 11:53:54Z
<ChillerDragon> woah
11:54
<ChillerDragon> 0.5 wall hammer
Avatar
And I explicitly don't mean core physics
11:54
Yeah the way projectiles are handled and stuff
11:54
It frustrats me a bit
Avatar
Avatar
ws-client
<ChillerDragon> u use his lib?
Not yet
11:55
License is a kinda problem
Avatar
ws-client BOT 2024-02-26 11:55:15Z
<ChillerDragon> lawyer jopsti moment
Avatar
I think it would be nice if ppl can still base mods based on ddnet physics
11:55
But generally physics are completely separated
11:55
So u could say it will simply not live in the main repo
Avatar
ws-client BOT 2024-02-26 11:56:10Z
<ChillerDragon> this all sounds very annoying already
Avatar
I agree
Avatar
ws-client BOT 2024-02-26 11:56:20Z
<ChillerDragon> BSD masterrace
Avatar
Easiest would be to not use copyleft
Avatar
ws-client BOT 2024-02-26 11:56:31Z
<ChillerDragon> yes
11:56
<ChillerDragon> using copyleft is supporting peophelia
Avatar
Xd
Avatar
ws-client BOT 2024-02-26 11:57:06Z
<ChillerDragon> omg i typoed that word hard
11:57
<ChillerDragon> probably for the better
Avatar
It's just so complicated to understand
Avatar
ws-client BOT 2024-02-26 11:57:19Z
<ChillerDragon> ye
Avatar
Ofc proprietary is not better xd
11:57
Or even worse
Avatar
ws-client BOT 2024-02-26 11:57:36Z
<ChillerDragon> iirc BSD was literally created to not deal with any legal questions
Avatar
I'd like to have a citation for that
Avatar
ws-client BOT 2024-02-26 11:58:17Z
<ChillerDragon> for what=
Avatar
[iirc] BSD was literally created to not deal with any legal questions
Avatar
ws-client BOT 2024-02-26 11:58:36Z
<ChillerDragon> "iirc"
Avatar
yes. do you remember correctly?
Avatar
ws-client BOT 2024-02-26 11:58:48Z
<ChillerDragon> idk where i heard that
Avatar
I'm interested in that
11:58
ok
Avatar
ws-client BOT 2024-02-26 11:58:55Z
<ChillerDragon> usually not
12:01
<ChillerDragon> I did a quick search didn't find anything. I think i heard that in some tech talk about one of the BSD operating systems like OpenBSD or FreeBSD
12:02
<ChillerDragon> Something about the devs wanting to be let alone and just publish their code
Avatar
U could probably argue that using BSD license means you also care less about the legal consequences
12:05
I doubt smone with BSD would try to sue u. Or is less motivated than a GPL guy
Avatar
afaik linux hasn't sued anyone
Avatar
Epyc
Avatar
couldn't find anything quickly using "linux epyc" or "linux epyc lawsuit"
12:07
do you have a link?
Avatar
Epyc future human moment
12:07
Try that
Avatar
Ddnet has a bsd build?
Avatar
chillerdragon BOT 2024-02-26 12:26:03Z
lmao
Replying to @Jupstar ✪ Epyc future human moment
12:27
I am not a lawyer. But I’d say ddnets license is close to bsd
Replying to @ReiTW Ddnet has a bsd build?
Avatar
Zlib license
Avatar
chillerdragon BOT 2024-02-26 12:29:06Z
Thanks lawyer jopsti
12:29
Whatever the diff between zlib and bsd is
Avatar
I think that's hard to say. Zlib is not very common. So I guess you'll not find many answers on that
12:39
e69ea46 Respond to pings sent as vital messages with vital pongs - heinrich5991 2258cbc Merge pull request #8007 from heinrich5991/pr_ddnet_vital_ping - Robyt3
Avatar
Chiller when are you gonna release chillerdragores16?
Avatar
@Ewan got new speakers
13:13
these have better lows im sure
13:13
and they like 2x bigger xD
13:13
which speakers
Avatar
im sure u will say they bad
13:13
@Ewan i didnt know these speakers used cable directly
13:13
to connect each other
13:14
u know like bare cable
13:14
i hope that isn't a problem for u
13:14
nope it works
Avatar
oh you got actual monitors
13:14
awesome
Avatar
what does that mean
Avatar
When go DM
Avatar
i also bought a table xD
13:14
wanted to dabble a bit
Avatar
table looks cool
13:15
i mean dj one
13:15
not the wood table
13:15
xd
13:15
like a turntable?
Avatar
mixing table
13:15
i thin its the name
Avatar
u know
13:15
idk bro
13:15
its 100 €
13:15
nothing fancy
Avatar
this one
13:16
it works with mixxx
Avatar
oh like a cdj
13:17
nice
13:17
do you do any pro audio stuff already
Avatar
what do u consider pro audio stuff
13:17
i mixed a bit before (or tried)
13:17
with software
13:17
mixxx
Avatar
@Ewan looked before and made sure this table was full usb midi compliant or smth
Avatar
so it works with linux
13:18
ive never used mixxx before so idk
Avatar
i think its nice
13:19
its open source
Avatar
i never mixed as like a standalone thing
13:19
always other parts involved
13:20
i just use fl studio mixer
13:20
it’s goated…
Avatar
isnt it more to produce music?
13:21
idk but fl sutdio is propietary
13:21
im a free software dj
13:21
gigachad
13:22
free cross-platform software which allows you to produce music with your computer - LMMS
Avatar
vile piece of software
Avatar
trait Trait { fn abs(self) -> Self; } impl Trait for i64 { fn abs(self) -> Self { 2 * self } } fn main() { let x = 42; println!("{}", x.abs()); println!("{}", x.abs()); println!("{}", x.abs()); } New Rust riddle 🎉 with non-suggestive print calls: What will this program output?
13:34
ah forget the second and third print for a sec
Avatar
42 * 2 ?
13:35
default int is i64 iirc
13:35
or was it i32
Avatar
default is i32
Avatar
i32 ye
13:35
so its 42
13:35
xd
Avatar
and now ofc: not all print statements print the same xd
Avatar
or maybe print makes some cast
13:36
ra says its i64
Avatar
well casts would need to be explicit in Rust
Avatar
im sure the print makes it change
13:36
the infered type
13:37
#![feature(prelude_import)] #[prelude_import] use std::prelude::rust_2021::*; #[macro_use] extern crate std; trait Trait { fn abs(self) -> Self; } impl Trait for i64 { fn abs(self) -> Self { 2 * self } } fn main() { let x = 42; { ::std::io::_print(format_args!("{0}\n", x.abs())); }; { ::std::io::_print(format_args!("{0}\n", x.abs())); }; { ::std::io::_print(format_args!("{0}\n", x.abs())); }; }
13:37
i think format args is compiler builtin
Avatar
Answer: 84 42 42
13:39
Relevant Rust issue (contains spoiler): https://github.com/rust-lang/rust/issues/121453
Avatar
subscribed
Avatar
Avatar
Patiga
Answer: 84 42 42
Oh, all 42 would probably still make sense
Avatar
Avatar
Jupstar ✪
Oh, all 42 would probably still make sense
ye
13:44
its a inference bug
13:45
"bug"
13:45
idk if they consider it a bug
13:45
I guess the type infer cause first x.abs() call search abs method and Trait::abs is found. Once the type of x is inferred to be i64, then it will use core::num::abs.
(edited)
Avatar
imo this is clearly a bug ^^
Avatar
Well I don't even understand why it's casted to i64
Avatar
u dont specify a type
13:46
its never casted
13:46
its infered
Avatar
I'd have expected i32::abs to be called
Avatar
it infers it to be i64 because it sees a possible trait method i think
13:47
and then not and it uses i32 abs
13:47
weird stuff
13:47
idk
Avatar
it uses i64 abs after
Avatar
It seems only the first call in a block will be resolved to Trait::abs and all the calls after in the same block to the latter.
Avatar
I still find that behavior weird
Avatar
yea, once iti s infered as i64, it uses i64::abs
13:48
*its
13:48
yea def a bug
Avatar
Before changing to i64 I expected it to search all i32 traits
13:48
And then i32::abs would be found
Avatar
or, alternatively, the trait method all the way
Avatar
@Patiga thanks for posting always interesting this kind of things
13:49
and i quizzed my coworkers
13:49
kek
Avatar
👍 nice ^^
Avatar
@Ewan do u know any good dac/amp with rca out
14:29
since this speakers have separate left right rca
14:29
the fioo i have doesnt have rca
14:29
what u think of Fosi Audio K5 Pro
14:32
iFi ZEN DAC V2 looks good too
Avatar
ok got some already
Avatar
1. Go to editor 2. Open envelope tab 3. Click on "Color +" 4. Set curve to bezier 5. Rick click on point
Avatar
@MilkeeyCat ur time to shine
15:52
🧙‍♂️
Avatar
Avatar
Jupstar ✪
@MilkeeyCat ur time to shine
I spent 3 hours in editor code and an ready to kms
Avatar
Yesterday you said tomorrow
15:53
Stop giving up
Avatar
Nah, tomorrow xd
Avatar
Avatar
Jupstar ✪
Stop giving up
U wanna help me? owo
15:55
I know what the problem is, u just need to fix it
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Avatar
Avatar
MilkeeyCat
I spent 3 hours in editor code and an ready to kms
please don't touch editor code too much
Avatar
Avatar
archimede67
please don't touch editor code too much
I wrote more dbg_msg's in that bich than in my entire life (edited)
😭 3
Avatar
Is the convex hull of our bezier curves always inside the time frame between two animation points? (edited)
Avatar
Avatar
Ryozuki
this one
poggers2
Avatar
6992730 Add 28 € donation by Hamelin - def-
👍🏻 1
Avatar
what is this black magic.
Avatar
Maybe the vector already has capacity so it's not technically out-of-bounds of the underlying array, or it doesn't crash immediately if you only try to print from an invalid address
Avatar
if you working in scoreworker.cpp if(w == Write::NORMAL){} I always see it but never cant interpret it 100%. Is this something like Post trigger? like NORMAL_SUCCEEDED and NORMAL_FAILED are self explained
Avatar
Avatar
MilkeeyCat
I wrote more dbg_msg's in that bich than in my entire life (edited)
this is cpp not js
17:30
but to be fair im doing to too like that xD
Avatar
Avatar
Robyt3
Maybe the vector already has capacity so it's not technically out-of-bounds of the underlying array, or it doesn't crash immediately if you only try to print from an invalid address
i can write to it as well
17:31
ill call it a feature and go back to writing hello world in c++
Avatar
Avatar
zhn
@meloƞ
Damn - should we bother ?
Avatar
Avatar
Teero
Cool I have a Dev role now but I don't feel worthy yet. Guess I'll have to fix some things
lol gg wp
18:01
listen to this
Avatar
08af8b8 map-testing/auto_archive: Continue if MapState == RC - murpii
Avatar
Did you know protobuf does not have fixed size array support?
Avatar
268b79c handle invalid filename for save_replay - dobrykafe 91349e4 add error handling for CDemoEdit job - dobrykafe 7c4d51f Merge pull request #8016 from dobrykafe/pr-save-replay-improve - Robyt3
Avatar
Why would anyone make a binary packing format and not have a way of including a fixed size array?
Avatar
With the release of electron, I think I just ended up on the wrong side of a multiverse split
19:17
There is no u8 either, I simply do not get modern software at all nor do I get the mindset in which it is designed
Avatar
Avatar
zhn
try to find out how to save teams on map change
oh is that the: redirect players on map change thingie?
Avatar
Avatar
chillerdragon
fix_style.py should be enough
i wish someone would finally update the script so it works with clang-format 19, clang-format 10, its not even supported by most package manager's anymore OHNOOOO
Avatar
Avatar
meloƞ
i wish someone would finally update the script so it works with clang-format 19, clang-format 10, its not even supported by most package manager's anymore OHNOOOO
We are trying to avoid large formatting commits and I think current clangformat also misformats some of our code
Avatar
what about just shipping ddnet with a standalone version of clang-format 10 that it refers to?, or will that interfere with IDE's ?
Avatar
https://github.com/muttleyxd/clang-tools-static-binaries this is where I refer people to and there is an AUR package that installs these into /opt/
static-linked versions of clang tools for Linux, Mac OS X and Windows, available in AUR as clang-format-static-bin - muttleyxd/clang-tools-static-binaries
Avatar
idk if i should refer to clang-format 10 as a stand-alone tool or a lib
Avatar
Avatar
Learath2
https://github.com/muttleyxd/clang-tools-static-binaries this is where I refer people to and there is an AUR package that installs these into /opt/
oh this is.. nice - thanks :D
Avatar
https://capnproto.org/ I found an alternative built by a person that is actually sane
19:34
Not at all surprised that they work at cloudflare, seems to be the last bastion of good engineering these days
Avatar
See commit messages. Closes #8005. Screenshots:
  • Example 1:
  • Before:
!screenshot_2024-02-26_20-44-03
  • After:
!screenshot_2024-02-26_20-46-26
  • Example 2 (you can see the missing first line segment here):
  • Before:
![screenshot_2024-02-26_20-44-18](https://github.com/ddnet/ddnet/assets/23437060...
Avatar
Avatar
Learath2
https://capnproto.org/ I found an alternative built by a person that is actually sane
we talked about this several times in this channel xd
20:23
@Learath2 the author made or used to do protobuf at google
20:23
but was fired iirc
20:23
idk
Avatar
He used to work in the protobuf team indeed
20:24
He was probably too sensible for google
Avatar
youtube having hard time
21:25
kek
Avatar
5aab996 Fix first envelope line segment not being rendered in editor - Robyt3 cc1d43e Fix division by zero when envelope point times overlap - Robyt3 47a8156 Fix inaccurate evaluation of bezier curve envelopes - Robyt3 ecfc18d Minor refactoring of bezier curve evaluation - Robyt3 758664c Merge pull request #8021 from Robyt3/Envelope-Render-Fixes - archimede67
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
who is this memer
Avatar
chillerdragon BOT 2024-02-26 22:56:52Z
lmao why? I forgot which one that was do you even know it? I think it got rejected. Only maps I’m working on these days are ChillerDragores2 and ChillerDragores6
Replying to @Teero Chiller when are you gonna release chillerdragores16?
22:59
lmao
Replying to @Ryozuki GHQQCArWkAADRb_.png
Exported 543 message(s)