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-05-05 00:00:00Z and 2023-05-06 00:00:00Z
Avatar
Avatar
Robyt3
I think this looks suspicious: STextContainer &GetTextContainer(int Index) { dbg_assert(Index >= 0, "Text container index was invalid."); if(Index >= (int)m_vpTextContainers.size()) { int Size = (int)m_vpTextContainers.size(); for(int i = 0; i < (Index + 1) - Size; ++i) m_vpTextContainers.push_back(new STextContainer()); } return *m_vpTextContainers[Index]; } This could create text containers unexpectedly I think (edited)
Is the constructor not initializing its members correctly?
Avatar
chillerdragon BOT 2023-05-05 06:31:52Z
I wanted to trol Jupster by saying his baby Vulkan is actually a bug not a feature (@Voxel)
elaborate
Avatar
Avatar
chillerdragon
I wanted to trol Jupster by saying his baby Vulkan is actually a bug not a feature (@Voxel)
He didn't answer u
06:39
Did matrix show u wrong? Xd
Avatar
ChillerDragon BOT 2023-05-05 07:20:53Z
there are no replys on ios matrix
07:21
and i basically only use matrix on ma phone so i never see replys xd
07:21
@admin @admins when bridge new channel?
07:22
click settings -> webhook -> copy paste -> send to me and done
07:22
@discord_mod
07:22
@discordadmin
07:22
@discord_moderator
07:23
@Discord Mod
Avatar
Bra
Avatar
ChillerDragon BOT 2023-05-05 07:23:48Z
i have been ignored since years
07:23
i gotta make some noise
Avatar
Just ping Learath. He is the king of kings
Avatar
ChillerDragon BOT 2023-05-05 07:24:18Z
@Learath2 pls UwU
07:38
i feel like my adhd is stopping me from working rn
Avatar
ChillerDragon BOT 2023-05-05 07:41:47Z
did u try drugs?
07:42
jk wat do i know i never worked in my life
Avatar
Avatar
Jupstar ✪
Just ping Learath. He is the king of kings
kok
Avatar
Avatar
Voxel
kok
He's the celestial of certain kings
Avatar
I can't give you a hook of your own lol
Avatar
ChillerDragon BOT 2023-05-05 09:29:02Z
just send me webhook to write to #off-topic
09:29
ah shit i do need something for read too its been a while since i setup irc bridge
Avatar
discord working bad today
Avatar
ChillerDragon BOT 2023-05-05 09:55:02Z
irc going strong BTW
Avatar
@Jupstar ✪ did u see new vscode theme
Avatar
Yes. Currently using it
10:31
Looks bit more crisp. I generally like it
10:31
But it's still very similar anyway
Avatar
chillerbot BOT 2023-05-05 10:43:52Z
@Jupstar ✪
Avatar
ChillerDragon BOT 2023-05-05 10:44:03Z
this trol comment sent me on a 2k lines typescript side quest xd
Avatar
Epic
10:46
Do u still work on this?
Avatar
ChillerDragon BOT 2023-05-05 10:46:57Z
as of 2mins ago yes
10:47
i got bash strings with all quote weirdness. mutli cmmands with ; and pipes and redirects exit codes variables globbing
10:48
but i try to call it finished now since i wanna spend my time on tw projects instead -.-
Avatar
Understandable. I hope you gained lot of exp by this side quests reward
Avatar
ChillerDragon BOT 2023-05-05 10:50:27Z
i literally learned zero about bash
10:50
thats such a flex
10:50
i alr knew it all xd
10:50
i did learn a bit typescript
Avatar
Xd
Avatar
@Jupstar ✪ behold my top down tee
Avatar
ChillerDragon BOT 2023-05-05 10:56:54Z
wowo
10:57
almost better than my teeworlds remake in bevy
Avatar
i need to add a walking animation
10:57
and then a hand
Avatar
ChillerDragon BOT 2023-05-05 10:58:01Z
and then networking compatible with 0.7
10:58
it will be singleplayer
Avatar
ChillerDragon BOT 2023-05-05 10:58:16Z
ew
Avatar
if the scope is too big i wont do shit
10:58
xd
Avatar
ChillerDragon BOT 2023-05-05 10:58:42Z
i always code 360 noscope
10:59
also networking is ez
10:59
u just do cargo add libtw2
Avatar
Avatar
Ryozuki
@Jupstar ✪ behold my top down tee
Nice it even has 4k textures and ray tracing, amazing
Avatar
Avatar
Ryozuki
it will be singleplayer
Teeworlds story mode? thonk
Avatar
hotline miami teeworlds with story
Avatar
@Ryozuki do you know supabase
Avatar
k nvm
11:23
i saw deno on their website
11:23
and got excited
Avatar
Avatar
Ryozuki
@Jupstar ✪ behold my top down tee
@louis
Avatar
Avatar
Jupstar ✪
Nice it even has 4k textures and ray tracing, amazing
bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3080", vendor: 4318, device: 8710, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "525.105.17", backend: Vulkan }
Avatar
Avatar
Ryozuki
bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3080", vendor: 4318, device: 8710, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "525.105.17", backend: Vulkan }
Ez now compare driver version with the one ddnet says and see if our implementation is correct xdd
Avatar
2023-05-05 13:48:45 I gfx: GPU version: Vulkan 1.3.224 (driver: 525.105.17.0)
Avatar
Ez
Avatar
2023-05-05 13:48:45 I http: libcurl version 8.0.1 (compiled = 7.88.1)
11:49
is this a problem? xd
11:49
ill rebuild ddnet
Avatar
It probably has strong backward compability. But a major version is always problem
Avatar
2023-05-05 13:50:17 I http: libcurl version 8.0.1 (compiled = 8.0.1)
11:50
ez
11:50
SDL version 2.26.2 (compiled = 2.26.2)
Avatar
Soon sdl3 with Abi changes xd
Avatar
sdl3 is out
11:50
steam uses it
Avatar
Mh then they beta test it there
Avatar
2023-05-05 13:50:18 I http: fetching https://info.ddnet.org/info?name=Ryozuki 2023-05-05 13:50:18 I http: task done https://info.ddnet.org/info?name=Ryozuki 2023-05-05 13:50:18 I http: fetching https://info.ddnet.org/info?name=Ryozuki 2023-05-05 13:50:18 I http: task done https://info.ddnet.org/info?name=Ryozuki
11:51
does this mean the fetch is repeated?
Avatar
Sounds like it. But better ask Heinrich
Avatar
@heinrich5991
11:51
xd
11:51
client/sound: sound init successful using audio driver 'pulseaudio'
11:51
this grinds my gears
11:51
why not default to pipewire
Avatar
Didn't you export SDL_AUDIODRIVER=pipewire?
Avatar
chillerbot BOT 2023-05-05 11:53:34Z
@Ryozuki
Avatar
i probs forgot
11:54
11:54
added
11:54
ops
11:54
typo
11:55
now it says pipewire
11:57
@Jupstar ✪ do u have the rust linker changed globally?
Avatar
Yes
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u have the rust linker changed globally?
To mold
Avatar
should i use mold
Avatar
Yep
Avatar
Avatar
Ryozuki
should i use mold
I dunno. It's faster most of the time
Avatar
is mimalloc better?
11:59
should we use mimalloc
11:59
i see mold uses mimalloc
12:00
Avatar
We probably don't need it. We don't do many heap allocs
12:00
And the 4ns u gain are probs not worth it anyway
Avatar
A drop-in global allocator wrapper around the mimalloc allocator. Mimalloc is a general purpose, performance oriented allocator built by Microsoft.
12:00
xd
12:01
oof microsoft
12:01
@Jupstar ✪ do i change this to mold
12:01
ldd to mold
Avatar
Yes
12:01
And install the linker ofc
12:02
duh
12:02
do i keep linker = clang
12:02
tho
Avatar
Yes
12:03
i think -Zshare-generics=y works with mold
12:03
yep
12:03
if u use nightly its nice
Avatar
What exactly does it do btw
Avatar
it removes monomorphisation bloat iirc
12:03
aka crates can share generic impls
Avatar
I googled and didn't really find anything useful
Avatar
so they dont need to be repeated
12:04
iirc
12:04
what heinrich complained a lot
Avatar
I see
Avatar
about monomorphization
12:04
iirc
12:04
so in theory it links faster
12:04
or compiles
12:04
idk
Avatar
And smaller binary?
Avatar
probably i guess
Avatar
Sounds useful
12:05
I guess cpp20 does smth like that with modules
Avatar
why can't we link to the cloud yet?
Avatar
UPX - the Ultimate Packer for eXecutables. Contribute to upx/upx development by creating an account on GitHub.
Avatar
Avatar
Learath2
why can't we link to the cloud yet?
U Mad again about microservies? XD
Avatar
did u use this @Jupstar ✪
Avatar
Never used or seen it
Avatar
We compile a dynamic library with every possible specialization of every template, put it on the cloud and during runtime the binary fetches instructions from the cloud
Avatar
UPX is an advanced executable file compressor. UPX will typically reduce the file size of programs and DLLs by around 50%-70%, thus reducing disk space, network load times, download times and other distribution and storage costs.
>
Programs and libraries compressed by UPX are completely self-contained and run exactly as before, with no runtime or memory penalty for most of the supported formats.
Avatar
Malware developers love UPX
Avatar
Avatar
Learath2
We compile a dynamic library with every possible specialization of every template, put it on the cloud and during runtime the binary fetches instructions from the cloud
Xd
Avatar
❯ upx --best DDNet Ultimate Packer for eXecutables Copyright (C) 1996 - 2023 UPX 4.0.2 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 30th 2023 File size Ratio Format Name -------------------- ------ ----------- ----------- 4287272 -> 1584652 36.96% linux/amd64 DDNet Packed 1 file.
12:08
4mb to 1.6mb
Avatar
Avatar
Ryozuki
❯ upx --best DDNet Ultimate Packer for eXecutables Copyright (C) 1996 - 2023 UPX 4.0.2 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 30th 2023 File size Ratio Format Name -------------------- ------ ----------- ----------- 4287272 -> 1584652 36.96% linux/amd64 DDNet Packed 1 file.
Is it a runtime self extractor?
Avatar
xecutable file compressor.
12:09
idk
Avatar
Avatar
Ryozuki
UPX is an advanced executable file compressor. UPX will typically reduce the file size of programs and DLLs by around 50%-70%, thus reducing disk space, network load times, download times and other distribution and storage costs.
>
Programs and libraries compressed by UPX are completely self-contained and run exactly as before, with no runtime or memory penalty for most of the supported formats.
I don't understand the last paragraph
Avatar
me neither
12:10
but i think it just compresses the file u pass
Avatar
But with pgo and lto i also achieved around 1.7mb
Avatar
upx: teecity: CantPackException: bad DT_GNU_HASH n_bucket=0x1 n_bitmask=0x1 len=0x20 r=6
12:12
cant compress my game
12:12
xd
12:13
12:13
look this fancy image
Avatar
This lecturer insists on using using a 3 year old version of numpy so his assignments never work for me...
Avatar
thats the worst
Avatar
Avatar
Jupstar ✪
Is it a runtime self extractor?
It unpacks on load and runs the binary normally
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
This messed up my linear algebra and multivar calc very badly. I like having y up right handed, but math people seem to like z up right handed
12:17
It made checking my solutions so hard
Avatar
look at unreal engine
12:17
xd
Avatar
Hello, is it possible to send request from DDNet client to NodeJS express server?
Avatar
everything is possible, only limited by your ability
12:19
I know my limits 😄
Avatar
@Jupstar ✪ there is no way to know a program was linked with mold right
12:20
target/debug/teecity: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped (edited)
12:21
bevy has a feature to dynamic link for fast compiles xD
12:21
for development its nice
12:21
it compiles rly fast
12:22
debug builds rly occupy lol
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
i hate this
Avatar
Avatar
Ryozuki
@Jupstar ✪ there is no way to know a program was linked with mold right
Check the elf header maybe it leaves some hint there
Avatar
do u know a program to read headers
Avatar
readelf
Avatar
-h is the flag you are looking for
12:24
and I checked, there is no hint for the linker sorry 😄
12:24
well it compiled 2 seconds faster
12:25
before i used lld
12:25
@TsFreddie yes
Avatar
u cant escape my eyes
Avatar
but i'm naked
Avatar
literally. it's too hot in guangzhou
12:26
27C currently, at evening
Avatar
Avatar
Learath2
It unpacks on load and runs the binary normally
So there is defs overhead? Their paragraph sounded like there isn't
Avatar
Avatar
Jupstar ✪
So there is defs overhead? Their paragraph sounded like there isn't
No runtime overhead 😄
Avatar
Xd
Avatar
Iks de
Avatar
ChillerDragon BOT 2023-05-05 12:44:22Z
does "iks de" even work in english?
Avatar
wdym
Avatar
tomorrow there is a new king
12:59
kingblobreach
13:00
The coronation of Charles III and his wife, Camilla, as king and queen of the United Kingdom and the other Commonwealth realms is to take place on Saturday, 6 May 2023, at Westminster Abbey. Charles acceded to the throne on 8 September 2022, upon the death of his mother, Elizabeth II. Charles and Camilla's coronation service has been altered fro...
Avatar
what does a king do
Avatar
be a king
Avatar
Avatar
Ryozuki
@heinrich5991
yep
Avatar
Avatar
Ryozuki
@Jupstar ✪ there is no way to know a program was linked with mold right
linkers typically leave traces. grep the file for "mold" as a first approximation 😉
Avatar
https://github.com/rui314/mold#how-to-use -> Verify that you are using mold $ readelf -p .comment <executable-file>
Avatar
❯ readelf -p .comment target/debug/teecity String dump of section '.comment': [ 0] mold 1.11.0 (compatible with GNU ld) [ 25] GCC: (Gentoo 12.2.1_p20230428-r1 p2) 12.2.1 20230428 [ 5b] GCC: (Gentoo 12.2.1_p20230121-r1 p10) 12.2.1 20230121
13:43
nice
13:43
it is being used
Avatar
@TsFreddie do u also write vr games using non euclidean methods?
Avatar
wdym
14:38
like antichamber?
Avatar
e.g. that u walk through a room and it loads another room that is logically not there
14:39
in our logic
Avatar
usually involves multiple cameras tbh
14:39
and oculus quest couldn't handle more than one cameras
Avatar
in your vr games, do you move your body at whole? or is it just for upper body?
Avatar
there is no concept of body
14:40
only the head and hands
Avatar

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/#using-addres...
Avatar
of course you can make a body that just follows the haed
14:41
but looking down is huge problem
Avatar

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/#using-addresss...
Avatar
Avatar
TsFreddie
only the head and hands
ok
14:42
did your work, give u the VR equipment? XD
Avatar
also body collision is really gross to do in VR since you need to do at least three passes for one frame of movement, (head locomotion, joystick movement then physics engine)
14:43
lots of games just ignores the head movement and only do joystick movement like you do on "normal" games
14:43
and lots of game has problem with people stuck into walls cuz they just snap the collision to the head, and player might stuck inside of walls
14:43
I hate VR games
Avatar
Avatar
Jupstar ✪
did your work, give u the VR equipment? XD
it's companies property
14:44
also I do use my own quest to development, because I don't like using companies account
Avatar
Avatar
TsFreddie
I hate VR games
xD
Avatar
the best VR movement so far I've seen (which we are trying to develop towards) is where you can phase through walls by physically walking through walls while still allowing joystick to work yet prevent joystick movement moving further into the walls
14:46
it's quite confusing really
14:47
(also only the camera is allowed to go through walls, not the entire player collision)
Avatar
freecam
Avatar
justatest there's also crouching and head bunking detection stuff
14:48
there's also ledge suicide prevention stuff
14:48
there's also interpolation with tick-based movement stuff
14:49
smooth decelerated terminal velocity stuff
14:49
basically VR movement hard. don't do it
Avatar
Avatar
Jupstar ✪
@TsFreddie do u also write vr games using non euclidean methods?
it would be really cool in VR tho
Avatar
493f475 Add debug output of text container text on assertion - Robyt3 0c32eac Make text container index type-safe - Robyt3 0432701 Merge #6561 - bors[bot]
Avatar
cute
15:24
@Ryozuki can i pay you to write a rust client for supabase kek
Avatar
im not into cloud native
Avatar
Catxplosion sad
Avatar
that system is dope
15:26
it makes all entities with velocity and transform move
15:26
i love ecs
15:26
but im lazy
Avatar
Catxplosion it do be fast
15:28
tee bundles
Avatar
motion matching in bevy when
Avatar
also bevy has a interesting reflection api for rust
15:31
it allows the inspector u see in the pic
15:32
u can get this in 100 lines with egui_dock
15:32
Type reflection used for dynamically interacting with rust types.
Avatar
a443d99 Remove unused CMenus::setPopup function - Robyt3 1be1c97 Always move cursor to end when selecting all text - Robyt3 b4a7038 Fix server password input not being activated automatically - Robyt3 e16e271 Merge #6562 - bors[bot]
Avatar
Observe plot pls
15:45
i think someone broke his neck when going with a electric scooter
15:45
in from of my apartment
15:45
i see ambulance xd
Avatar
rip to him
Avatar
Avatar
Learath2
Observe plot pls
nice plot
15:46
gnuplot?
15:46
the labels at the end are iffy
Avatar
matplotlib with the qt5 gui
Avatar
i recommend rotation
15:47
i think gnuplot is better
15:47
wouldnt have had that label issue
Avatar
this teacher is addicted to matplotlib
15:48
he doesnt know gnuplot power
15:48
15:49
@Learath2 can u draw a whale with matplot
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
discord destroyed the animation xd
Avatar
ChillerDragon BOT 2023-05-05 16:14:41Z
did anyone ever request his ddnet points to be deleted?
Avatar
yes
16:19
but it didtn go through
Avatar
We should probably switch to the github merge queue
Avatar
ChillerDragon BOT 2023-05-05 16:29:12Z
I probably mentioned my curses client in this channel 100 times but it did get some ux updates latley and is worth checking out if you like using the terminal
16:29
also still offering to get it merged into ddnet :)
Avatar
A terminal which acts as a client, for the average user, its not rly useful, but to a dev, its easier to debug that way
17:01
Like, not the program ran by terminal, the terminal being entirely the client 😄
Avatar
would be pretty great to have a list of servers you played last, maybe different tab for non kog servers in kog tab and different for servers friends playing on? its a common thing in valve games, wouldnt be a bad feature in my opinion to have these tabs. if you have any points to make do this down there. im looking forward to seeing such thing in the game if possible.
Avatar
ez aim to mouse
17:39
17:39
gigachad
Avatar
finished game, please add to steam
Avatar
F3
Avatar
@Ryozuki make tower defense game
Avatar
Avatar
Jupstar ✪
@Ryozuki make tower defense game
no, im making hotline miami in teeworlds
17:40
i have a idea for a boss already
Avatar
make td afterwards
Avatar
noby the drug dealer in a storehouse
17:41
as a tee
Avatar
Avatar
Jupstar ✪
make td afterwards
ok
Avatar
ChillerDragon BOT 2023-05-05 17:41:19Z
:snow:
17:41
17:41
does onbgy still have his christmas theme profile picture on dc?
Avatar
and chiller will be like a random appearing sometimes
17:42
trying to sell bots
Avatar
ChillerDragon BOT 2023-05-05 17:42:11Z
axaxax
Avatar
heinrich as the tee police
Avatar
xDDDDDDD
Avatar
my game will be top in charts
Avatar
hits too perfect
17:43
i already like it
Avatar
ChillerDragon BOT 2023-05-05 17:43:14Z
u have to give lerato some fancy quotes with cool english words and deep dark philosophical sentences
Avatar
if i make it, it will for sure have 100 inside jokes
17:43
the game itself will be a inside joke
Avatar
Avatar
ChillerDragon
u have to give lerato some fancy quotes with cool english words and deep dark philosophical sentences
learath will be finding the perfect tee girl
Avatar
ChillerDragon BOT 2023-05-05 17:43:56Z
xd lerato edate
Avatar
oh maybe chiller missed on stuff
Avatar
ChillerDragon BOT 2023-05-05 17:44:44Z
wot
Avatar
nothing
Avatar
ChillerDragon BOT 2023-05-05 17:44:54Z
cmn
Avatar
#off-topic was quite spicy some time ago
17:45
ur bad
Avatar
ChillerDragon BOT 2023-05-05 17:45:15Z
i hate u
17:45
spill or riot
17:45
angry irc noises
17:46
yo ryo did u forget to git push ur game?
Avatar
chiller
Avatar
ChillerDragon BOT 2023-05-05 17:46:49Z
ye?
Avatar
i need a tee drawing
17:46
u know like in anime novels
17:47
they look from a profile and text
17:47
i need the same with a tee
Avatar
ChillerDragon BOT 2023-05-05 17:47:16Z
ok nice hire artist
17:47
the tee version of this
Avatar
ChillerDragon BOT 2023-05-05 17:47:40Z
also fr gimme a short tldr of offtopic pls pls pls
Avatar
just learath going down in despair and wanting a gf
17:48
depression
17:48
or smth
17:48
tbh idk anymore
Avatar
ChillerDragon BOT 2023-05-05 17:48:08Z
wowo spicy
Avatar
i just know its all happiness
17:48
now
Avatar
ChillerDragon BOT 2023-05-05 17:48:16Z
pog
17:48
just use a regular tee svg
Avatar
true xd
17:48
budget project
17:49
like this
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
im thinking of 100 games in my head atm
17:49
whatd that game
17:49
whats*
Avatar
idk i just googled rpg dialog
17:49
xd
Avatar
Avatar
Learath2
Observe plot pls
doing some telecommunication i see
Avatar
Avatar
Learath2
Observe plot pls
missing plot title, is higher better or worst?
Avatar
Avatar
ChillerDragon
did anyone ever request his ddnet points to be deleted?
Pipou had his points moved to -------- for some time
Avatar
heads up chairn is reading the backlog
17:52
poggers2
17:52
i saw some bot commands though
Avatar
rly? i dotn remember any
Avatar
Avatar
Chairn
done
u didnt see my game? sadge
Avatar
ChillerDragon BOT 2023-05-05 17:53:35Z
ryo i wanna star ur repo
17:53
but nothing happend for the first 5 seconds, so i kinda skipped
Avatar
its just movement ye xd
Avatar
Avatar
ChillerDragon
ryo i wanna star ur repo
what repo
Avatar
ChillerDragon BOT 2023-05-05 17:55:01Z
tee miami
Avatar
this game will be AGPL-3 but idk if i make it public yet
17:55
its teecity for now
17:55
u want to make steam sales before code release? xd
17:55
i mean the code is pretty barebones xd
Avatar
ChillerDragon BOT 2023-05-05 17:55:58Z
capitalism ryo
17:56
i need it to fix my bevy game
17:56
which will be MIT
17:56
but i have lawyer josti so get fcked axaxax
Avatar
dont make it mit
17:56
make it agpl
17:57
oh nice u used bevy
Avatar
ChillerDragon BOT 2023-05-05 17:57:06Z
gpl for trol
Avatar
do u like it
Avatar
ChillerDragon BOT 2023-05-05 17:57:15Z
yes i "used" it
17:57
and yes i like their logo and the fact that it is rust
17:57
i spent 20mins on the couch rebranking the breakout.rs example to use a tee texture xd
Avatar
chillerdragon is on the light side, he's no gpl trollo
Avatar
chiller
17:59
its public
Avatar
ChillerDragon BOT 2023-05-05 17:59:06Z
finally
17:59
starred
17:59
liked shared subsribed
18:00
if u compile it
18:00
it requires mold
18:00
or change .cargo config
18:00
xd
18:00
im 2 lazy to meet normie needs
Avatar
ChillerDragon BOT 2023-05-05 18:00:43Z
trol
18:00
linker
18:01
0.7 enjoyer
18:02
ill probs remove it
18:02
and use generic clear
18:02
with colors
Avatar
ChillerDragon BOT 2023-05-05 18:03:37Z
if u need talking heads for rpg or other svg assets feel free to steal all of those images under very permissive license in this repo https://github.com/TeeworldsDB/images/blob/master/realistic/transparent/tees/pento.svg
A collection of free to use and edit images for other art work. No actual game skins. - images/pento.svg at master · TeeworldsDB/images
Avatar
oh nice
Avatar
ChillerDragon BOT 2023-05-05 18:04:17Z
also stuff like bushes etc
Avatar
i dont need em to be svg tho
18:04
it would be nice to render skins of people
Avatar
ChillerDragon BOT 2023-05-05 18:04:26Z
render to png
Avatar
like heinrich skin
Avatar
ChillerDragon BOT 2023-05-05 18:04:28Z
in whatever size u need
18:05
A collection of free to use and edit images for other art work. No actual game skins. - images/bush_big.svg at master · TeeworldsDB/images
18:05
u gotta include that one its a classic
Avatar
@Jupstar ✪ >
Extract: quickly copy the minimal data you need from the main World to the render World Prepare: send data to the GPU (buffers, textures, bind groups) Queue: generate the render jobs to be run (usually phase items) PhaseSort: sort and batch phase items for efficient rendering Render: execute the render graph to produce actual GPU commands and do the work Cleanup: clear any data from the render World that should not persist to the next frame
18:06
bevy does this to render
Avatar
sounds pretty casual
Avatar
ChillerDragon BOT 2023-05-05 18:14:21Z
18:14
pog
Avatar
what are the enemies going to look like
Avatar
like u
18:15
no, idk
18:15
like other tees
Avatar
Avatar
Ryozuki
like u
i am so evil.....
18:15
💅
Avatar
like AI tees
Avatar
Avatar
ChillerDragon
Click to see attachment 🖼️
xd
Avatar
ChillerDragon BOT 2023-05-05 18:16:14Z
the egui window moving feels way more delayed than my gnome window moving
18:16
:c
Avatar
gnome bug
18:16
xd
Avatar
its smooth af for me
Avatar
ChillerDragon BOT 2023-05-05 18:16:37Z
is that some smoothnes feature?
18:16
its so sluggish imo
18:16
my egui window looks fine
Avatar
ChillerDragon BOT 2023-05-05 18:17:02Z
it looks good
Avatar
its just for debugging tho
Avatar
ChillerDragon BOT 2023-05-05 18:17:11Z
but it has a hard time keeping up with my mouse when i drag it
Avatar
ChillerDragon BOT 2023-05-05 18:17:40Z
too lazy sry
Avatar
also r u on debug
Avatar
ChillerDragon BOT 2023-05-05 18:17:46Z
yes ofc
Avatar
it runs smooth af for me on debug tho
18:17
the bevy dep is always optimized
Avatar
ChillerDragon BOT 2023-05-05 18:18:00Z
if its not fast in debug its broken anyways
Avatar
well debug in rust is slower than python
Avatar
ChillerDragon BOT 2023-05-05 18:18:15Z
wot xd
Avatar
it applies absolutely 0 optimizations
Avatar
google thinks it knows me >:(
18:18
i aint clicking that
Avatar
Avatar
ChillerDragon
wot xd
not always, but it can be,
18:18
i see reddit posts saying rust was slower than python, its cuz they didnt do release
Avatar
ChillerDragon BOT 2023-05-05 18:19:19Z
holy shit gh ui gets worse every day
Avatar
what changed
Avatar
ChillerDragon BOT 2023-05-05 18:19:34Z
now they added random padding on the right on the home page
18:19
there is a gaping hole on the right side of the screen wtf
Avatar
can i stick my finger in it
Avatar
ChillerDragon BOT 2023-05-05 18:20:18Z
no
18:20
two arms
18:20
not just finger
Avatar
question, why do we have a server side word filter in ddnet client?
Avatar
it's only for chinese server
18:56
it's a legal requirement over there
Avatar
and in here as a feature?
Avatar
word list is empty on non chinese servers
18:58
it's just easier to keep same code for both with a file containing the list of censored words, file that is empty on european servers
Avatar
ChillerDragon BOT 2023-05-05 19:03:13Z
who even noted that legal requirement and would it even be enforced?
19:03
and which words are banned?
Avatar
west taiwan
Avatar
ChillerDragon BOT 2023-05-05 19:04:08Z
feels so odd to me
19:04
do all video games comply with this?
Avatar
in china
Avatar
ChillerDragon BOT 2023-05-05 19:04:39Z
who even finds out and acts on it if not complaint?
19:05
would some chinese goverment really contact the server provider and init a shutdown or something? no way they have time for that
Avatar
tinanmen square
Avatar
ChillerDragon BOT 2023-05-05 19:05:45Z
and discord didnt add the censor list?
19:05
so thats why they are banned in china?
19:07
and "tinanmen s quare" is fine?
Avatar
@Learath2 do u know what a subnormal float number is
Avatar
a number whose exponent is 0 but not its mantissa
Avatar
exponent is binary 0, so -128 in decimal for single precision and -1024 (or -512) for double precision (edited)
19:18
it requires special handling because the assumption that x=(-1)^s * 1.mantissa*2^exponent is wrong
Avatar
Avatar
Voxel
google thinks it knows me >:(
xd
Avatar
Avatar
ChillerDragon
Click to see attachment 🖼️
teebevy justatest
Avatar
Avatar
Ryozuki
west taiwan
how good is it
19:23
can i saw w3st ta!wan
Avatar
Avatar
ChillerDragon
if its not fast in debug its broken anyways
@Ryozuki we had that before when you were using twmap in debug ^^
19:25
I blam mobile for that ping @Ryozuki
Avatar
chillerbot BOT 2023-05-05 19:25:33Z
@Ryozuki
Avatar
i saw u chairn
Avatar
no u didn't 🙂
Avatar
ddnet server needs a snipe feature
Avatar
what's that?
Avatar
Avatar
Chairn
no u didn't 🙂
bro turned himself in
Avatar
Avatar
Chairn
what's that?
shows the deleted message when ppl send smth and immediately delete it
Avatar
check irclogs xd
Avatar
discord has that?
Avatar
ddnet server has that
19:32
its bridge channel
19:32
you can hoin #ddnet on irc and see any snipe-messages
19:32
hoink
Avatar
Avatar
gerdoe
check irclogs xd
they're not updated immediately
Avatar
Avatar
gerdoe
you can hoin #ddnet on irc and see any snipe-messages
yeah but
Avatar
@Ryozuki i need python expert, my python is rusty
19:38
2 ryos keyword in one sentence, i expect a less than 10 seconds answer
19:38
how you declare attributes with getters/setters
19:38
but you can still use them like a.x
Avatar
@property
19:40
class C(object): def __init__(self): self._x = None @property def x(self): """I'm the 'x' property.""" print("getter of x called") return self._x @x.setter def x(self, value): print("setter of x called") self._x = value @x.deleter def x(self): print("deleter of x called") del self._x c = C() c.x = 'foo' # setter called foo = c.x # getter called del c.x # deleter called
Avatar
class A: def __init__(self): readfile(...) ## some magic code here a = A() a.x= 32 ## this should go through special function to update some byte array
Avatar
Avatar
Chairn
@Ryozuki i need python expert, my python is rusty
was that intentional
Avatar
Avatar
Ryozuki
class C(object): def __init__(self): self._x = None @property def x(self): """I'm the 'x' property.""" print("getter of x called") return self._x @x.setter def x(self, value): print("setter of x called") self._x = value @x.deleter def x(self): print("deleter of x called") del self._x c = C() c.x = 'foo' # setter called foo = c.x # getter called del c.x # deleter called
fastest type in the world, or copy paste 😄 ? (edited)
Avatar
Avatar
Chairn
fastest type in the world, or copy paste 😄 ? (edited)
rustgpt
Avatar
u ask google questions
19:44
i answer them with it
Avatar
my google fu has faden away
19:45
or maybe google just like to give me stackoverflow copy pasta webshit (edited)
19:46
where python macro? i gotta write same thing 10 times...
Avatar
ChillerDragon BOT 2023-05-05 19:50:11Z
i almost used that python setter stuff once but then it annoyed me so hard that it uses self._x under the hood
Avatar
Avatar
Ryozuki
class C(object): def __init__(self): self._x = None @property def x(self): """I'm the 'x' property.""" print("getter of x called") return self._x @x.setter def x(self, value): print("setter of x called") self._x = value @x.deleter def x(self): print("deleter of x called") del self._x c = C() c.x = 'foo' # setter called foo = c.x # getter called del c.x # deleter called
Avatar
Avatar
Chairn
where python macro? i gotta write same thing 10 times...
write metafunction that adds such x stuff, you can mess around with compile(...) afair
Avatar
chillerdragon BOT 2023-05-05 20:28:40Z
As far as I understood there is no way to have a meta function shadow a property they will name clash so the actual backing variable has to have a different name than the getter
20:28
In ruby this would be so easy axaxax
Exported 568 message(s)