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 2023-12-13 00:00:00Z and 2023-12-14 00:00:00Z
Avatar
if what u want is a native linux build wsl would be good
00:23
but usually when i see it advised here itโ€™s not a good ides
00:23
odea
Avatar
Avatar
furo
@Ali Furkan Something like this? :)
did u remember that :D ? I tried what you said "you can change m_HammerInput to m_Controls.m_aInputData[!g_Config.m_ClDummy]" but it didnt work. I think it is my fault but can u explain it in details.
๐Ÿšฉ 1
alarm 1
Avatar
morning
Avatar
Avatar
ChillerDragon
ryo pls fix
i never contributed a cpp compiler like clang, only llvm which powers rust or mlir
08:43
owo
10:04
too based
10:08
10:08
bocchi-chan is unsafe rust (edited)
Avatar
ChillerDragon BOT 2023-12-13 10:34:22Z
lerato did you hack my raspi again? it offline
Avatar
Ddnet irc bridge (lerato): yes ChillerDragon
Avatar
Avatar
ChillerDragon
lerato did you hack my raspi again? it offline
I was hungry so I ate some cables
10:46
Sry
Avatar
Avatar
Bota
I was hungry so I ate some cables
Now I know why I can't find my nvme adapter
Avatar
That was not me I promise justatest
10:51
Please dont tell Lerath justatest
Avatar
are cables tasty? I usually just east my hat! ๐Ÿฅผ ๐ŸŽฉ
Avatar
I as a Bot like Cables
10:52
And Trains ๐Ÿš‚ Choo Choo
Avatar
I guess bots wanna be sentient after all
10:53
Since if you eat all the cables you'll won't be able to function
10:53
and will have to evolve
Avatar
Avatar
Mr.Gh0s7
are cables tasty? I usually just east my hat! ๐Ÿฅผ ๐ŸŽฉ
I west my hat (edited)
Avatar
CMake Warning (dev) at CMakeLists.txt:383 (message): GAME_CLIENT is not alphabetically sorted Call Stack (most recent call first): CMakeLists.txt:391 (set_glob) CMakeLists.txt:2161 (set_src) This warning is for project developers. Use -Wno-dev to suppress it. hu?
10:57
I even put in the result of find . -type f | sort
Avatar
I think it means the alphabetical order of the filenames or smt
Avatar
It was outdated already. Fixes #7607.

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 maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](http...
Avatar
Avatar
heinrich5991
GAME_SHARED is not alphabetically sorted
smt like this
Avatar
โ€ฆ | sort
Avatar
try LC_ALL=C
10:59
| LC_ALL=C sort
Avatar
thx, did it
Avatar
this arithmetics-with-enums-stuff is somewhat irritating โ€ฆ only C coders will even think about doing such
Avatar
explain?
11:16
can you show an example?
Avatar
e.g. float / enum value
11:17
(compiler with c++20 warns about)
Avatar
ah. before constexpr, this was the only way to actually define compile-time constants (edited)
Avatar
^^you were faster
Avatar
well, const just means "constant after initialization"
Avatar
i doubt C++23 will allow that at all
Avatar
do you have a reference that this has something to do with c++20?
11:18
or is it just that particular compiler that started warning for it when changed to c++20 mode
Avatar
no this warnings appeared after i switched from c++17 to c++20
Avatar
ok, so it might not be related to c++20 at all? I'm not sure how compilers usually implement stuff
Avatar
Avatar
Fussel
i doubt C++23 will allow that at all
isnt c++ backwards compat
Avatar
no. they finally decided against this
Avatar
Avatar
Fussel
no. they finally decided against this
link?
Avatar
no link, but they dropped formerly deprecated stuff, like garbage collector
Avatar
I don't remember a garbage collector in C++
Avatar
they introduced some keywords, but it wasn't used ^^
Avatar
ah
11:25
and no compiler implemented it
11:25
according to some random blog post
11:25
so they're not actually removing anything that could break anyone
11:25
since it wasn't implemented
Avatar
is cobol memory safe?
Avatar
as memory safe as any ancient egypt dialect
Avatar
marktangotango
Given all the attention COBOL has gotten lately, I still havenโ€™t seen any discussion of its characteristics that make it relatively โ€œsafeโ€, secure, and fast. These are; all memory is statically allocated, no dynamic memory allocation. No user defined functions and no stack. Of course Iโ€™m referring to the 85 standard here and later versions added...
11:31
I still havenโ€™t seen any discussion of its characteristics that make it relatively โ€œsafeโ€, secure, and fast. These are; all memory is statically allocated, no dynamic memory allocation. No user defined functions and no stack. Of course Iโ€™m referring to the 85 standard here and later versions added these things but 85 is very common on mainframes (my understanding please correct if wrong). These two things disallow entire classes of exploits and errors.
11:31
sounds like yes, by being sufficiently restricted
Avatar
where did the convo in #3091 start or am I just blind
Avatar
The server would send a packet instead of a chat message with a id and arguments, then the client would display the translated messages with those values. We would then need our own printf parser a...
Avatar
see the mention over my first comment today (edited)
Avatar
oh look thats the issue i opened
Avatar
Avatar
heinrich5991
see the mention over my first comment today (edited)
ah, got it. thnaks
11:33
I am blind afterall
Avatar
Avatar
Ryozuki
oh look thats the issue i opened
you sure did
11:34
i did cringe a little bit reading my old replies
Avatar
am i the only one who don't enjoy reading old posts of mine
Avatar
your posts look fine
Avatar
it's just me.
Avatar
i cringe reading my forum posts
11:36
but i was 15
11:36
I think I was 17 when I found teeworlds
Avatar
im 23 now
Avatar
8 year veteran
Avatar
btw at some point when i looked into rust
11:37
i also disliked it
11:37
and even abandoned it
11:37
but i picked it again
11:37
xD
Avatar
I hate rust
Avatar
I don't, but I like saying it
11:38
owo
Avatar
anyway. I'm supposed to finishing my work so I can go home. soo...
11:38
brb
Avatar
Avatar
TsFreddie
I don't, but I like saying it
just like me when i talk about cpp
11:39
๐Ÿ˜ฌ
11:39
rip
11:39
what time is it there
11:39
19:39
Avatar
yes, smart guy
Avatar
i literally googled
11:40
time in china
11:40
poggers2
Avatar
lucky for you china only has one timezone
Avatar
btw how was your app
Avatar
Avatar
TsFreddie
btw how was your app
i need more time
11:46
i do too many projects
11:47
yesterday i started a pascal compiler using LLVM MLIR
11:47
in rust
Avatar
did you find a thing to do for it already
Avatar
why pascal
Avatar
i need a easy good app idea
11:47
cuz pascal is simpler to do a compiler
11:47
its like C but unlike a functional language
11:47
forth is the simplest but its stack based
Avatar
just for fun i guess
Avatar
and usually with a interpreter
11:47
yeah
11:47
and to flex
11:47
hey i did a mlir pascal compiler!
11:48
good thing to add to resume
Avatar
can't wait to compile my pascal minesweeper using your compiler
Avatar
it will be blazingly fast
11:48
and also maybe able to run some stuff in gpu
11:48
thanks to MLIR
11:49
this is all big copium tho, maybe i never finish it
Avatar
Avatar
Ryozuki
good thing to add to resume
how long is your resume
Avatar
@heinrich5991 this guy spammed all channels
Avatar
Avatar
TsFreddie
how long is your resume
i need to update it
Avatar
i had like three things.
Avatar
but i only worked at 2 companies
Avatar
maybe that's why i never found a job
11:50
u need to sell urself
11:50
i mentioned i contributed to ddnet on my interview
Avatar
maybe when I get fired from this one
Avatar
i also mentioned the rust kernel experiment i did following a blog post
11:50
and all the rust projects
11:50
also my old wannabe game engines
11:50
in c
Avatar
oh i had community manager in my resume
11:50
with ddnet
11:51
teeworlds*
Avatar
Avatar
TsFreddie
maybe when I get fired from this one
why wait to get fired
11:51
find a new job
11:51
the best way to get a better salary is to jump ship
Avatar
Avatar
Ryozuki
why wait to get fired
we haven't publish a full project yet
Avatar
why do u care
11:51
company would be first to fire u
11:51
dont put the company on a pedestal
11:52
its just a tool for u to get money
11:52
and if possible learn while getting paid
Avatar
(Originally found here) I tried this code: fn extend<T>(input: &T) -> &'static T { struct Bounded<'a, 'b: 'static, T>(&'a T, [&'b (); 0]); let...
Avatar
Looks like an NLL regression. The following invalid example compiles in v1.63.0, where NLL is enabled by default:
11:54
interesting
Avatar
btw @heinrich5991 the auto keyword is another case
Avatar
Avatar
Ryozuki
its just a tool for u to get money
not if they have lost money on me
11:55
owo
Avatar
Avatar
Fussel
btw @heinrich5991 the auto keyword is another case
what about the auto keyword?
Avatar
Avatar
TsFreddie
not if they have lost money on me
no
11:56
well what do u mean
11:56
? xd
Avatar
it was a storage specifier
11:56
what nowadays doesn't have one is auto
Avatar
ah
11:57
it's another backward incompatibility, you mean?
Avatar
Avatar
Ryozuki
well what do u mean
I think our team has lost the company about 200k usd already
Avatar
1) The auto specifier was only allowed for objects declared at block scope or in function parameter lists. It indicated automatic storage duration, which is the default for these kinds of declarations. The meaning of this keyword was changed in C++11. (until C++11)
Avatar
Avatar
TsFreddie
I think our team has lost the company about 200k usd already
it doesnt matter
11:58
u dont owe anything
11:58
ur just a employee
Avatar
i don't think i owe anything tho
11:58
owo
Avatar
u think u do by staying there
11:58
and feeling the need to finish the project
Avatar
also where can I jump to
Avatar
well u can start searching for a better job now!
11:59
xD
Avatar
i'm in the third large game company in china already
Avatar
technically*
Avatar
sounds bad in there then
11:59
well gaming never had fame for being good
Avatar
what's bad
Avatar
do u feel ur paid well
11:59
u do overtimes
11:59
i never did overtime
12:00
I do less overtimes than average
Avatar
u still do
Avatar
unavoidable
Avatar
i guess im too european ๐Ÿ‡ช๐Ÿ‡บ
12:00
owo
Avatar
you are
Avatar
unpaid overtime?
Avatar
no one pays overtime here
Avatar
u should know big company doesnt always mean good
12:01
some small companies may have better environment
12:01
or medium
Avatar
and less money and dies in three month
12:01
been there
Avatar
thats like judging all by 1 sample point
12:01
but idk why im spending time to convince u
Avatar
maybe mihoyo is better at burning money. but I still need a few more projects to put in my CV
Avatar
Avatar
Ryozuki
thats like judging all by 1 sample point
it's just bad economy
Avatar
ever thought about traveling
Avatar
no one has money anymore so no one is getting paid
Avatar
here i thought china was on the rise
Avatar
i think china has been saying it
12:02
i doubt it tho
Avatar
time to make food
Avatar
or netease is just doing so bad or mihoyo literally took all the users in one day
Avatar
hijacking the players tab did work ^^
Avatar
why not switch to normal dev
Avatar
Avatar
Ryozuki
why not switch to normal dev
I don't know rust
Avatar
web dev
12:03
u dont need to know rust
12:04
in fact idk how famous it is in china
Avatar
oh web dev
Avatar
u should learn c#
12:04
well u already know
12:04
im sure lot of backend systems use c#
12:04
or java
12:04
or idk
12:04
razor
Avatar
https://996.icu this is web dev
The name 996.ICU refers to 'Work by 996, sick in ICU', an ironic saying among Chinese programmers, which means that by following the 996 work schedule, you are risking yourself getting into ICU (Intensive Care Unit)
12:04
game dev has weekend at least
Avatar
Avatar
Ryozuki
u should learn c#
you are a valuable source for atrocities โ€ฆ
Avatar
Avatar
Fussel
you are a valuable source for atrocities โ€ฆ
no im just telling him a language with high market share
12:05
i dont like c# too
12:05
like i dont like cpp
Avatar
Avatar
Ryozuki
no im just telling him a language with high market share
since when
12:05
or are you talking about java
Avatar
oh that make sense
Avatar
Avatar
Ryozuki
like i dont like cpp
like you won't like rust anymore when you've learned c++, trust me ๐Ÿ™‚
Avatar
Avatar
Fussel
like you won't like rust anymore when you've learned c++, trust me ๐Ÿ™‚
XD
12:06
i come from c++ bro
Avatar
you didn't learn it right ๐Ÿ™‚
12:06
and im the one being prepotent xd
Avatar
I know a couple of people who went from C++ to Rust
12:06
and don't want to go back
Avatar
I know more than a couple
Avatar
I've yet to hear the opposite
12:07
but it's also harder for the opposite to appear since rust is a lot younger
Avatar
@TsFreddie a easy path is to learn python and be ERP plugin dev for random company
Avatar
I think the biggest problem for me to get into rust is that I never was a C++ dev.
Avatar
there are loooots who do this
Avatar
Avatar
Ryozuki
@TsFreddie a easy path is to learn python and be ERP plugin dev for random company
no
12:08
well python is quite a thing. google told me that
Avatar
constraints and concepts โค๏ธ
Avatar
Avatar
TsFreddie
I think the biggest problem for me to get into rust is that I never was a C++ dev.
i would learn C instead and go to rust
Avatar
โ† likes c++20
Avatar
Jupstar โœช 2023-12-13 12:08:10Z
Ah my daily dose of rust
Avatar
If i didn't apply for a python position i might be at google rn
Avatar
Avatar
Jupstar โœช
Ah my daily dose of rust
morning
Avatar
Avatar
Fussel
constraints and concepts โค๏ธ
nice to see c++ catching up in some ways
๐Ÿ˜ฌ 1
Avatar
imagine not having algebraic data types like sum types
12:09
barbaric languages
Avatar
Avatar
Fussel
constraints and concepts โค๏ธ
Jupstar โœช 2023-12-13 12:09:32Z
I'd claim you can archive smth similar with traits and proc macros.. only thing rust really missing is const evaluation
Avatar
Jupstar โœช 2023-12-13 12:09:40Z
Achieve
Avatar
Avatar
Ryozuki
i would learn C instead and go to rust
i mean i think i know c and c++. I can write godot modules and unity native bindings just fine. but I think you really need to do a native only project to justify putting more time in rust than just make the darn thing
Avatar
it's really awesome what you can do with it. or, to be more correct: you could have done this in before by MPL, but that's literally unreadable
Avatar
Avatar
Jupstar โœช
I'd claim you can archive smth similar with traits and proc macros.. only thing rust really missing is const evaluation
concepts are basically traits AFAICT
Avatar
Avatar
TsFreddie
i mean i think i know c and c++. I can write godot modules and unity native bindings just fine. but I think you really need to do a native only project to justify putting more time in rust than just make the darn thing
does it make sense to do a native only godot project tho
Avatar
Avatar
Ryozuki
does it make sense to do a native only godot project tho
yes
12:10
but i'd recommend a more framework engine than godot by that point
12:10
but you can do native only in godot
Avatar
Avatar
heinrich5991
concepts are basically traits AFAICT
Jupstar โœช 2023-12-13 12:11:01Z
Well templates are not directly comparable tho. E.g. check for a specific type
12:11
Std is same v
Avatar
you get the same for traits, except traits are more defined
12:11
if you leave the type open, you can specify it when asking for a specific impl
12:12
e.g. Iterator<Item=u32>
Avatar
I'm really loving the ability to freely choose and overload depending on require, not to talk about generic parameters (requirements) and generic return types (assertions) (edited)
Avatar
Avatar
Ryozuki
does it make sense to do a native only godot project tho
also depends on your goal. if you want to take the rendering engine and mash it with other native toolings or subsystems, then godot might be weird to use. but if you just want to do Node scripts but with native languages then i guess it's not really that different from using gdscript or C#
Avatar
@TsFreddie what i want is bevy with a nice editor
Avatar
Avatar
Fussel
I'm really loving the ability to freely choose and overload depending on require, not to talk about generic parameters (requirements) and generic return types (assertions) (edited)
yea, sounds nice to have
Avatar
Jupstar โœช 2023-12-13 12:13:11Z
another thing templates can do, is to check if a type contains a function
Avatar
Avatar
Ryozuki
@TsFreddie what i want is bevy with a nice editor
then i guess use bevy and write a nice editor
Avatar
Jupstar โœช 2023-12-13 12:13:23Z
It allows really hacky things
Avatar
and since I'm a huge fan of self documenting code, constraints and concepts gave me what I always wanted ^^
Avatar
Avatar
Jupstar โœช
another thing templates can do, is to check if a type contains a function
I find that a bit weird, matching on names instead of the stuff rust does
Avatar
can u easily do a library like this in c++ https://docs.rs/contracts/0.6.3/contracts/ and then verify it with tools like https://github.com/facebookexperimental/MIRAI to verify correctness?
A crate implementing โ€œDesign by Contractโ€ via procedural macros.
Rust mid-level IR Abstract Interpreter. Contribute to facebookexperimental/MIRAI development by creating an account on GitHub.
Avatar
Avatar
Fussel
and since I'm a huge fan of self documenting code, constraints and concepts gave me what I always wanted ^^
Jupstar โœช 2023-12-13 12:14:28Z
Well believe me, drive macros are what you really want ๐Ÿ˜ฌ
Avatar
you actually lose the convenience of scripts (hot loading, jit, no compile time, faster iterations) by using gdextensions. the general consent for game engine is faster iteration and move stuff to native when bottleneck arises
Avatar
where you explicitly tell that this write function is part of io::Write
Avatar
Avatar
heinrich5991
I find that a bit weird, matching on names instead of the stuff rust does
Jupstar โœช 2023-12-13 12:15:04Z
Well i don't want to rate if it's good or bad
12:15
It just has really weird hacks
Avatar
@Jupstar โœช 2 things are clear: 1. I'm not the one to believe anything and 2. I won't take rust for something c++ offers me ^^
Avatar
Avatar
Fussel
@Jupstar โœช 2 things are clear: 1. I'm not the one to believe anything and 2. I won't take rust for something c++ offers me ^^
Jupstar โœช 2023-12-13 12:15:41Z
But that's not my point
Avatar
btw the green discord icon literally means heinrich to me so i'm very disoriented right now.
Avatar
Jupstar โœช 2023-12-13 12:16:24Z
Derive macros can basically implement whatever you needed as template as a function for your struct
12:16
So you probably don't even need concepts
12:16
Well it can do anything
Avatar
e.g. if you have a struct
Avatar
Jupstar โœช 2023-12-13 12:17:14Z
U can let it program ddnet for you as function of your struct xdd
Avatar
you can write #[derive(Hash)]
12:17
and boom, it has the equivalent of an std::hash implementation
12:17
I kinda missed that in C++
Avatar
@Jupstar โœช it can also call the local db and check if a query is correct
12:18
๐Ÿ˜ฌ
Avatar
introspection is indeed something I miss, but they are working on this too
Avatar
Avatar
Ryozuki
@TsFreddie what i want is bevy with a nice editor
quick question. is bevy an engine or a framework
Avatar
both kinda
12:18
it has engine in name tho
12:18
Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!
Avatar
like the tooling part. do you compile your entire engine for scripting?
Avatar
easily extendable by plugin-libs
Avatar
dynamic library then
Avatar
Avatar
Ryozuki
@Jupstar โœช it can also call the local db and check if a query is correct
Jupstar โœช 2023-12-13 12:19:10Z
It can also connect to the discord api. So spam in this channel how awesome and over powered it is ๐Ÿ˜ฌ
Avatar
Avatar
TsFreddie
like the tooling part. do you compile your entire engine for scripting?
it recommends to configure bevy as a dynamic lib on dev
Avatar
wait bevy is the lib?
Avatar
@Jupstar โœช oh bevy is also quite magic
Avatar
i don't get it i guess
Avatar
i would love to see if same can be achieved in c++
12:20
with the nice ergonomcs bevy has
Avatar
it is weird to me a native tooling that supports a native language
Avatar
fn greet_people(time: Res<Time>, query: Query<&Name, With<Person>>) { for name in &query { println!("hello {}!", name.0); } }
Avatar
oh wait unreal is the same with c++
12:20
nvm then
Avatar
@TsFreddie bevy is a game engine without editor
12:21
so yes its a library itself
12:21
u can implement scripting urself
12:21
Bevy Scripting Plugin. Contribute to makspll/bevy_mod_scripting development by creating an account on GitHub.
Avatar
Avatar
Ryozuki
@TsFreddie bevy is a game engine without editor
oh so it doesn't have a editor
12:21
i thought it does (edited)
Avatar
.add_script_host::<RhaiScriptHost<MyRhaiArgStruct>>(PostUpdate) .add_script_host::<LuaScriptHost<MyLuaArgStruct>>(PostUpdate)
12:21
i told u it doesnt
12:21
XD
Avatar
have you, i thought it has one but it's just incomplete
Avatar
its in the plans
12:22
before it becomes 1.0
Avatar
btw I been learning more 3d engine stuff for the past few months, and none of them is about coding
Avatar
A refreshingly simple data-driven game engine built in Rust - Roadmap · bevyengine/bevy
Avatar
I think I'm slowly moving towards a technical artist position
Avatar
Avatar
Ryozuki
i would love to see if same can be achieved in c++
Jupstar โœช 2023-12-13 12:23:17Z
As a first step we should write a proc macro that compiles cpp code to rust. Then he at least starts using the rust Eco system xddd
Avatar
justatest it takes a lot to make a 3d scene actually renders nicely and fast. it is quite exhausting just to configure stuff
Avatar
Avatar
Jupstar โœช
As a first step we should write a proc macro that compiles cpp code to rust. Then he at least starts using the rust Eco system xddd
xd
Avatar
like I thought making video game is about putting things in places and it renders
12:24
apparently you spend most of the time stopping it from rendering stuff
12:25
kek
Avatar
https://github.com/ddnet/ddnet/pull/7630#issuecomment-1850804027

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 v...
Avatar
ok. Unity's Create menu sucks.
12:32
why is it a context menu
12:33
bruh
12:33
12:35
ok i'm making a better menu and selling it on asset store lmao
Avatar
bruh
Avatar
Avatar
TsFreddie
no one pays overtime here
I'm starting to doubt the second C in CCP
Avatar
Avatar
Learath2
I'm starting to doubt the second C in CCP
you can get a C-er job
12:47
I don't really like it
12:48
some people do. and they are very well lived.
Avatar
Avatar
Fussel
introspection is indeed something I miss, but they are working on this too
Working on this for C++ means it may ship with the next standard in 3 years and it may or may not be implemented for another 3 while the compiler vendors think about it
Avatar
you can get civil servants position by exam or get a government owned business position, those are very stable, better benefits overall and very fixed promotion rate based on workyears
Avatar
@Learath2 it's not even C++26, but TS ๐Ÿ˜ฆ
Avatar
those are probably more your C
Avatar
So we can have introspection when I'm in my 30s ๐Ÿ˜„
Avatar
several friends of mine work at those positions, they seem pretty happy (edited)
Avatar
ChillerDragon BOT 2023-12-13 12:53:26Z
@Kaffeine u here?
Avatar
Chiller moment
Avatar
Still bizarre that a nation that aspires to communism won't force all companies operating within their borders to pay a fair wage that includes overtime
Avatar
Avatar
Learath2
So we can have introspection when I'm in my 30s ๐Ÿ˜„
that still means you will still experience it. not everyone will be so lucky ^^
Avatar
cuz it is not communism anymore?
Avatar
pepeW country ruined
Avatar
It's all Deng Xiaoping's fault
Avatar
basically
12:55
actually i'm pretty bad at modern chinese history
12:55
let me double check lmao
Avatar
ChillerDragon BOT 2023-12-13 12:55:51Z
@heinrich5991 so what was it you are no fan of optional arguments? rather pass nullptr everywhere?
Avatar
ok you are right
Avatar
std::optional<T> โค๏ธ
Avatar
Avatar
Fussel
std::optional<T> โค๏ธ
Exchcuse me, it's not 0 cost like Rust Option<T>. If only you'd used rust
Avatar
std::expected<T,U> โค๏ธ
Avatar
Avatar
Learath2
pepeW country ruined
i mean do you still want us to be communists
Avatar
Avatar
TsFreddie
i mean do you still want us to be communists
You'd atleast get your overtime
Avatar
Avatar
Learath2
You'd atleast get your overtime
for a dollar maybe
aniblobsweat 1
Avatar
ChillerDragon BOT 2023-12-13 12:59:13Z
dude @furo i have to say i love ur work on the codebase! You are top1 most useful contributor for me personally. Every 2nd pr of urs saves me time to work on other stuff. Very poggies
Avatar
ChillerDragon liking your PRs is a red flag
Avatar
ChillerDragon BOT 2023-12-13 12:59:40Z
im a bit scared if it stays like that we collide xd
Avatar
@Learath2 there will be a time I'll understand why you are obsessed of this. These โ€บcostsโ€น you talk about are irrelevant ^^
Avatar
ChillerDragon BOT 2023-12-13 12:59:45Z
lmao lerato
Avatar
Avatar
Learath2
Exchcuse me, it's not 0 cost like Rust Option<T>. If only you'd used rust
not just that its more powerful in rust due to sum types
Avatar
ChillerDragon BOT 2023-12-13 13:00:24Z
oh and kaffeine is top2
Avatar
Avatar
Fussel
@Learath2 there will be a time I'll understand why you are obsessed of this. These โ€บcostsโ€น you talk about are irrelevant ^^
I was just doing a @Ryozuki parody, but not all small costs are irrelevant. You are exhibiting the @Jupstar โœช fallacy
Avatar
Avatar
Learath2
I was just doing a @Ryozuki parody, but not all small costs are irrelevant. You are exhibiting the @Jupstar โœช fallacy
its irrelevant if it makes cpp look bad
13:01
๐Ÿ˜ฌ
13:01
actually due to option being smaller it may have some places it matters more, cache perfomance, etc
13:02
and in rust its more important since its used everywhere
13:03
@Learath2 i also think cpp doesnt optimize as well when it knows a type of the variant is impossible to create infallible (?)
13:03
but not sure
13:04
looks like std optional one likes many utility methods aswell
Avatar
Avatar
ChillerDragon
@Kaffeine u here?
@ChillerDragon: yes
Avatar
09e222c Set correct colour for authed colour reset button - furo321 5efceb6 Merge pull request #7641 from furo321/set-correct-authcolor - heinrich5991
Avatar
ChillerDragon BOT 2023-12-13 13:20:30Z
ah nice
13:20
i am too lazy to understand your translation comments xd
Avatar
Avatar
Learath2
I was just doing a @Ryozuki parody, but not all small costs are irrelevant. You are exhibiting the @Jupstar โœช fallacy
Jupstar โœช 2023-12-13 13:20:43Z
which fallacy am i exhibited to?
Avatar
ChillerDragon BOT 2023-12-13 13:20:57Z
buffer or not translation is the same right? @Kaffeine
Avatar
Jupstar โœช 2023-12-13 13:21:03Z
the "i benchmark" before applying optimizations fallcy?
Avatar
No the memory usage doesn't matter fallacy
Avatar
Jupstar โœช 2023-12-13 13:21:39Z
well as i always said: i dont waste memory
Avatar
ChillerDragon BOT 2023-12-13 13:21:51Z
download more ram
Avatar
Jupstar โœช 2023-12-13 13:22:01Z
๐Ÿ˜ฌ
Avatar
Avatar
Learath2
No the memory usage doesn't matter fallacy
Jupstar โœช 2023-12-13 13:22:47Z
i also lowered the VRAM usage for ddnet quite a bit. that only worked, because i finally dropped OpenGL 2.x out of the tile rendering. it was too much of a blocker ๐Ÿ˜„
Avatar
ChillerDragon BOT 2023-12-13 13:22:57Z
@Learath2 i also love your work on the 0.7 bridge uwu i think the whole gctf community is thankful for that too
Avatar
Jupstar โœช 2023-12-13 13:23:03Z
thanks progress ๐Ÿ˜
Avatar
Avatar
ChillerDragon
@Learath2 i also love your work on the 0.7 bridge uwu i think the whole gctf community is thankful for that too
I'm not the biggest fan of my work on the 0.7 stuff but nice to hear that atleast someone enjoys it
Avatar
ChillerDragon BOT 2023-12-13 13:23:57Z
it works very smoothly!
13:24
also the code was helpful for the client bridge
Avatar
Avatar
ChillerDragon
@Learath2 i also love your work on the 0.7 bridge uwu i think the whole gctf community is thankful for that too
how many ppl are in it
Avatar
ChillerDragon BOT 2023-12-13 13:24:26Z
in wat
13:24
ah in the community?
Avatar
ChillerDragon BOT 2023-12-13 13:24:42Z
idk there was some gctf tourney using ddnet 0.7 bridge
13:24
some gctf players are 0.7 client enjoyers
13:24
and they now could play together with the ddnet players
Avatar
Jupstar โœช 2023-12-13 13:25:03Z
weirdos (edited)
13:25
๐Ÿ˜ฌ
Avatar
ChillerDragon BOT 2023-12-13 13:25:14Z
idk its a small group of players not sure maybe 10 or 20 tops
Avatar
ChillerDragon BOT 2023-12-13 13:25:20Z
im making up numbers tbh
Avatar
Jupstar โœช 2023-12-13 13:25:55Z
chillerdragon when coup oy
Avatar
ChillerDragon BOT 2023-12-13 13:26:02Z
i emailed him
Avatar
when teesmash tournament
Avatar
ChillerDragon BOT 2023-12-13 13:26:10Z
heinrich is not joining the coup
Avatar
Jupstar โœช 2023-12-13 13:26:12Z
1 e-mail is nothing
Avatar
ChillerDragon BOT 2023-12-13 13:26:14Z
and dune also not
13:26
and robsti also rq tw i think
Avatar
makes sense
Avatar
ChillerDragon BOT 2023-12-13 13:26:28Z
i cant coup oy solo
Avatar
he is valued in ddnet, frequent releases
13:26
u see ur work used by ppl
13:26
in teeworlds u need to wait a decade
Avatar
ChillerDragon BOT 2023-12-13 13:26:46Z
i was thinking about opening a new repo and merging all tw prs there
13:26
then heinrich said we already have a community fork of teeworlds
13:27
... its called ddnet
Avatar
Jupstar โœช 2023-12-13 13:27:13Z
i tried to place robyte as tw admin
Avatar
ChillerDragon BOT 2023-12-13 13:27:13Z
so i decided to put all my pvp stuff into ddnet
Avatar
Jupstar โœช 2023-12-13 13:27:17Z
so my coup also failed
Avatar
when accounts and tune lock and like, any actual good update
Avatar
ChillerDragon BOT 2023-12-13 13:27:26Z
epic attempt tho
Avatar
Avatar
Voxel
when accounts and tune lock and like, any actual good update
dont diminish the updates we do
13:27
they are nice
13:27
u can do tune lock
13:27
go
Avatar
Avatar
Ryozuki
u can do tune lock
yea, on fokko's bot client LOL
Avatar
ChillerDragon BOT 2023-12-13 13:28:28Z
wot
Avatar
Avatar
ChillerDragon
@heinrich5991 so what was it you are no fan of optional arguments? rather pass nullptr everywhere?
no fan of default arguments indeed
Avatar
ChillerDragon BOT 2023-12-13 13:31:19Z
alr noted
13:31
included none in my ddnet pr then
Avatar
like, in terms of gameplay, ddnet is completely deprived of anything new and i dont have the time or skill to add it but im sure im not the only one who thinks this
Avatar
ChillerDragon BOT 2023-12-13 13:32:23Z
thats a good thing
13:32
imo we should revert a bunch of gameplay features
Avatar
and make ddnet MORE repetitive?
Avatar
ChillerDragon BOT 2023-12-13 13:32:53Z
everythin other than hook/unhook/ht/freeze is bloat
Avatar
oh right you're anti team i forgot
Avatar
ChillerDragon BOT 2023-12-13 13:33:21Z
all the vasten100 flappybird weirdoness should be a new game :p
13:33
or mod
Avatar
chiller when will you realize that people will eat up hammerhit for only so long
Avatar
ChillerDragon BOT 2023-12-13 13:33:54Z
dude t0 hh does not get boring
13:34
its the poggest
Avatar
it really is boring literally the same map 20 times
Avatar
ChillerDragon BOT 2023-12-13 13:34:30Z
still better than some weird new gameplay feature
13:34
took me like 5 years to get used to jetpack
13:34
i was such a hater xd
Avatar
is this because of change
Avatar
ChillerDragon BOT 2023-12-13 13:35:27Z
change is bad
13:35
dont mess with perfection
Avatar
telegun best
Avatar
if ppl who didnt like change got their way, browsers wouldn't have tabs
Avatar
made by yours dearly
Avatar
yours truly?
Avatar
ok yes
13:36
idk formal english
13:36
xdd
13:36
i never write letters
Avatar
ChillerDragon BOT 2023-12-13 13:36:17Z
heinrich our english prof
Avatar
no i understood
13:36
ryo made telegun
13:36
with my novice cpp
Avatar
try to apply that same mindset to exploring what LLMs can do ๐Ÿ™‚
Avatar
incoming AI rant inbound
Avatar
ChillerDragon BOT 2023-12-13 13:37:30Z
heinrich did u understand kaffeines trans concenerns?
Avatar
Avatar
Ryozuki
incoming AI rant inbound
ryo when we mention anything rust related:
13:37
trans?
Avatar
ChillerDragon BOT 2023-12-13 13:38:04Z
he wants ddnet to be more lgbtq+69 friendly
Avatar
ChillerDragon BOT 2023-12-13 13:38:06Z
jk
13:38
i mean translate
13:38
its official short writing
Avatar
oh yea translation
Avatar
Jupstar โœช 2023-12-13 13:38:22Z
enough dose of rust for today. now i need my daily dose of AI
Avatar
ChillerDragon BOT 2023-12-13 13:38:30Z
localizationilaizion
Avatar
im not ranting about it today you guys are lose causes
13:38
*lost
Avatar
Jupstar โœช 2023-12-13 13:40:11Z
@Voxel i give u mod client if u give me a super saiyan god blue 2 super ultra instinct mod
Avatar
idk what that means
Avatar
how would you implement a ban list?
13:53
I guess an intrusive data structure would be nice
13:53
I don't think I can have this in rust, easily
13:53
need to look up bans by IP address, client fingerprint and expiry date
13:54
first priority: fast to look up other priorities: not too bad to manipulate
Avatar
Avatar
ChillerDragon
buffer or not translation is the same right? @Kaffeine
@ChillerDragon: translation can be applied only to the text before args substitution. E.g. translation works on "Only %d active players are allowed" and does not work with %d replaced by the number.
Avatar
ChillerDragon BOT 2023-12-13 13:54:41Z
yea that much i got
13:54
but how is it related to the pr?
13:55
its not worse or better before or after the pr with buffer or without buffer is it?
Avatar
Avatar
heinrich5991
need to look up bans by IP address, client fingerprint and expiry date
sounds like the job of a database xd
Avatar
Avatar
heinrich5991
how would you implement a ban list?
A vector with 3 hashmaps that indexes it?
Avatar
If CanJoinTeam would write the message to char *pBuffer then it needs to insert the arguments (there is no other way to pass them to the caller). It means that the caller can not apply the translation. It means that e.g. recorded demo 'll have the localized text instead of e.g. English.
Avatar
ChillerDragon BOT 2023-12-13 13:56:14Z
but thats the same for without buffer isnt it?
Avatar
Avatar
Ryozuki
sounds like the job of a database xd
sounds too slow, I need to quickly decide to drop packets
Avatar
ChillerDragon BOT 2023-12-13 13:56:26Z
the just translate in CanJoinTeam already?
Avatar
Avatar
Learath2
A vector with 3 hashmaps that indexes it?
the vector I can get behind. it makes removal slow though, unless you do the fast remove trick, but then indices need to be adjusted
13:56
ideally, the vector would be sorted by time though
Avatar
Avatar
ChillerDragon
its not worse or better before or after the pr with buffer or without buffer is it?
With buffer the method is expected to return "baked" string. And without the buffer the CanJoinTeam() override is expected to send whatever it needs (e.g. translated string to the player and en string to the demo recorder).
Avatar
Avatar
heinrich5991
the vector I can get behind. it makes removal slow though, unless you do the fast remove trick, but then indices need to be adjusted
A list backed by a vector for storage?
Avatar
ChillerDragon BOT 2023-12-13 13:57:32Z
yes
13:57
so?
13:57
i dont get it sorry kaffeine xd
13:57
just translate on bake
Avatar
Avatar
heinrich5991
the vector I can get behind. it makes removal slow though, unless you do the fast remove trick, but then indices need to be adjusted
Actually, what do you mean by the "fast remove trick"?
Avatar
Avatar
Learath2
Actually, what do you mean by the "fast remove trick"?
replace the removed element with the last one
Avatar
Avatar
heinrich5991
the vector I can get behind. it makes removal slow though, unless you do the fast remove trick, but then indices need to be adjusted
what if u make removal a simple change to None
Avatar
Avatar
Ryozuki
what if u make removal a simple change to None
Then insertion is O(n)
13:58
How about a vector backed list?
Avatar
first priority: fast to look up other priorities: not too bad to manipulate
does it need fast insertion? fast deletion?
Avatar
Mh, no something better exists, it's on the tip of my tongue but I can't figure it out
14:00
How about a Vec<Either<Ban, FreeListNode>>?
Avatar
Avatar
heinrich5991
need to look up bans by IP address, client fingerprint and expiry date
Jupstar โœช 2023-12-13 14:00:33Z
do all keys for the bans refer to the same ban or does it not matter? do you need up to 3 keys at once? (edited)
Avatar
With 'buffer' the caller is responsible to send the message (both to the player and to the demo). And the buffer can contain only one string (e.g. translated). The caller can not send both original+translated string, and the callee has no way to prevent the caller from sending translated string to the recorder. (edited)
Avatar
bans refer to an IP address (either IPv4 or IPv6) and/or a client fingerprint, and additionally an expiry timestamp
Avatar
When a Ban is deleted, replace it with a FreeListNode that is linked to a list of free nodes. That gives you O(1) insert, O(1) deletion
14:01
and the 3 hashtables give you O(1) lookup
Avatar
if I revert a ban, I want both the IP address and the client fingerprint to be gone, if both were given in the initial ban
14:02
sounds good @Learath2
Avatar
Jupstar โœช 2023-12-13 14:02:57Z
mh to me it sounds like one client finger print can have multiple IPs. would these be distinct bans?
14:02
in your data structure
Avatar
redโ€“black tree ? xd
Avatar
yes
14:04
I guess Learath2's solution doesn't account for that yet
Avatar
Jupstar โœช 2023-12-13 14:05:12Z
well that gets pretty hard xD
Avatar
Wait so what is the primary key for a Ban?
Avatar
eh
14:06
client id + address I guess
14:06
but maybe I'm overcomplicating it
14:06
let's just take @Learath2's solution and only allow one ban per IP address
Avatar
Jupstar โœช 2023-12-13 14:07:23Z
why would you ever want to merge these anyway? what's bad about simply having a client id ban list and ip ban list
14:07
do you fear someone gets unlucky and hits a banned IP?
Avatar
no, I want unbans to work
14:07
without figuring out both the fingerprint and the IP address
14:08
but maybe that's misguided
Avatar
Jupstar โœช 2023-12-13 14:08:16Z
but if they are only part of either of those lists
Avatar
Now that I think about it my solution doesn't really account for the expiry date
Avatar
what are you guys banning
Avatar
Avatar
Voxel
what are you guys banning
Jupstar โœช 2023-12-13 14:09:07Z
ppl with old hardware
14:09
๐Ÿ˜ฌ
14:09
i guess heinrich works on his quic setup
Avatar
damn, heinrich with a change of heart
Avatar
Avatar
Learath2
Now that I think about it my solution doesn't really account for the expiry date
maybe a binaryheap to store the indices in order of soonest expiry?
Avatar
Jupstar โœช 2023-12-13 14:14:29Z
linked hash map
14:14
the solution to every problem
Avatar
But deleting from a binaryheap is awful, yeah maybe a linked list ordered in expiry order isn't the worst idea
14:17
An ordered hashmap ordered by expiry keyed by Either<Ip, FingerPrint>? ๐Ÿ˜„
Avatar
ChillerDragon BOT 2023-12-13 14:28:56Z
@Kaffeine i think i got it now. You want chat messages in chinese for players while having the same in english as a server side demo?
Avatar
demos is a good argument for client-side translations btw
14:29
this way, it can even be correctly translated for demos
Avatar
9a16449 Remove ddnet.appdata.xml - heinrich5991 a36feeb Merge pull request #7640 from heinrich5991/pr_ddnet_rm_appdata - def-
Avatar
Avatar
heinrich5991
demos is a good argument for client-side translations btw
Jupstar โœช 2023-12-13 14:30:58Z
yeah i implement (plan to implement) them as enums with additional (optional) way to allow wildcard strings
Avatar
ChillerDragon BOT 2023-12-13 14:31:02Z
client side translations would require an infclass client
Avatar
Avatar
ChillerDragon
client side translations would require an infclass client
Jupstar โœช 2023-12-13 14:31:45Z
depends
Avatar
ChillerDragon BOT 2023-12-13 14:32:13Z
@Kaffeine seems like you are onto something bigger than the canjointeam buffer here. Maybe you can get some dope localisation framework into all of ddnet
Avatar
Jupstar โœช 2023-12-13 14:32:44Z
maybe the problem lays somewhere else: our language txts are always shipped with the client. a localization dictionary with online access could solve some problems
14:33
alternatively the server could offer localization files
Avatar
ChillerDragon BOT 2023-12-13 14:33:28Z
ou server sent loc files sounds nice
14:34
but ye i better be quiet i do not have much interest in localization so i let you guys decide and discuss
Avatar
Jupstar โœช 2023-12-13 14:34:28Z
server msgs currently are also not very flexible always *** text
14:34
custom layouts would be interesting
14:35
maybe i should allow to parse it inside the wasm module ๐Ÿ˜
Avatar
ChillerDragon BOT 2023-12-13 14:36:20Z
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
14:39
has anyone ever used some hotcompiling setup?
14:39
like watch make to always compile with one core in the bg while editing the code
14:39
or listen for file changes and even auto run the server/client
Avatar
haven't done that except for development using python, I think (edited)
Avatar
ChillerDragon BOT 2023-12-13 14:40:58Z
yea its common for scripting langs should work for ddnet too
Avatar
Avatar
ChillerDragon
has anyone ever used some hotcompiling setup?
Jupstar โœช 2023-12-13 14:43:20Z
c++ hot code reload for linux and macos. Contribute to ddovod/jet-live development by creating an account on GitHub.
14:43
works quite ok, but if u have globale state, u doomed
Avatar
ChillerDragon BOT 2023-12-13 14:48:01Z
oh you mean hotreload only parts of the code without even rebooting the app?
14:48
i was more thinking about the less complicated precompiling and rebooting the thing
14:48
so you do not have to compile the whole thing from 0 everytime you wanna test something
Avatar
closes #5874 CMD is already Cmd(?)

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 maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https:/...
Avatar
anyone knows where the CComponents are loaded? (edited)
Avatar
wdym by loaded?
14:56
they're part of CGameClient IIRC
Avatar
and what calls their virtuals like OnInit etc.? (edited)
15:00
just if you know without having to look
Avatar
CGameClient
15:00
, too
Avatar
k, i'll see after a coffee ^^
Avatar
Avatar
Fussel
and what calls their virtuals like OnInit etc.? (edited)
Do you use an IDE? It takes an half second to know the callers of a method. E.g. in Qt Creator you can use Ctrl+Shift+U to find the usages. (edited)
Avatar
forgot timezone existed. wondered for a second why someone would have coffee at 11pm
๐Ÿ˜„ 1
Avatar
Avatar
TsFreddie
forgot timezone existed. wondered for a second why someone would have coffee at 11pm
no beer left would be a reason :p
Avatar
i would just search in files when i was using notepad++
15:03
kek
Avatar
or in clion, you'd ctrl-click the function name
Avatar
Avatar
TsFreddie
forgot timezone existed. wondered for a second why someone would have coffee at 11pm
im at 3 coffees
Avatar
or in the terminal, you'd do rg OnInit, although that might have false positives
Avatar
in vscode u can do the same given u have clangd
Avatar
whats rg
Avatar
ripgrep
15:04
rust grep
15:04
faster
15:04
git aware
15:05
typical non linux user questions
15:05
actually netease is trying to make everyone use ubuntu
Avatar
Jupstar โœช 2023-12-13 15:06:01Z
non linux related xd
Avatar
for whatever reason
15:06
grep is insanely slower
15:06
โฏ hyperfine --warmup 10 'rg OnInit' 'grep -R OnInit src/' Benchmark 1: rg OnInit Time (mean ± ฯƒ): 5.5 ms ± 0.6 ms [User: 6.0 ms, System: 9.5 ms] Range (min โ€ฆ max): 4.5 ms โ€ฆ 7.9 ms 530 runs Warning: Command took less than 5 ms to complete. Note that the results might be inaccurate because hyperfine can not calibrate the shell startup time much more precise than this limit. You can try to use the -N/--shell=none option to disable the shell completely. Benchmark 2: grep -R OnInit src/ Time (mean ± ฯƒ): 860.2 ms ± 3.6 ms [User: 784.3 ms, System: 75.5 ms] Range (min โ€ฆ max): 855.3 ms โ€ฆ 865.3 ms 10 runs
15:06
even ignoring lot of folders
15:06
on grep
15:06
XD
Avatar
why is grep slow
Avatar
cool
Avatar
Avatar
TsFreddie
why is grep slow
I blog mostly about my own programming projects.
Avatar
why is it still slow tho. any reason that these command lin utilities cant be updated?
15:08
owo
Avatar
can be updated
15:08
1) but someone has to do it 2) it's harder to do parallelism in C/C++ vs Rust
Avatar
Catxplosion oh that make sense
15:09
+ burntsushi is a awesome dev
15:09
I love to code. BurntSushi has 163 repositories available. Follow their code on GitHub.
Avatar
is there a thing/movement/packages that is replacing system utilities with rust reimplementations
Avatar
A fast implementation of Aho-Corasick in Rust. Contribute to BurntSushi/aho-corasick development by creating an account on GitHub.
15:10
talking about that xd he made it
Avatar
Avatar
TsFreddie
is there a thing/movement/packages that is replacing system utilities with rust reimplementations
there is
15:10
but sadly it uses MIT
Avatar
Avatar
TsFreddie
is there a thing/movement/packages that is replacing system utilities with rust reimplementations
not really. but there's a thing to make some fast tools in rust, I guess
Avatar
instead of GPL
Avatar
I think you posted this before
15:10
i understood the question wrong
15:10
i meant coreutils
Avatar
there's also fd, not sure if that's rust, too
Avatar
it is rust!
15:10
fd is cool i use it
15:10
Various tools and software that will modernize your workflow
15:11
i made this long ago
15:11
maybe a bit cringy
Avatar
Btw after that day I googled around a bit and there actually isn't a aho-corasick automata generator for compile time for any language
Avatar
meanwhile me pressing ctrl+shift+f for search
Avatar
@heinrich5991 i also use this https://github.com/dandavison/delta
A syntax-highlighting pager for git, diff, and grep output - GitHub - dandavison/delta: A syntax-highlighting pager for git, diff, and grep output
Avatar
as a diff for gentoo
15:11
i made dispatch-conf use it
15:11
and git too
Avatar
Avatar
Ryozuki
as a diff for gentoo
is rust easy to cross compile btw.
Avatar
Avatar
TsFreddie
is rust easy to cross compile btw.
kinda, unless you need C dependencies
Avatar
Avatar
Jupstar โœช
@heinrich5991 wouldn't this be pretty cool for the antibot?
Avatar
like android libs with extern symbols so i can call them in unity
Avatar
Avatar
Kaffeine
Do you use an IDE? It takes an half second to know the callers of a method. E.g. in Qt Creator you can use Ctrl+Shift+U to find the usages. (edited)
I'm using geany. Its only disadvantage is, that it parses only open files
Avatar
Avatar
TsFreddie
is rust easy to cross compile btw.
โ€œZero setupโ€ cross compilation and โ€œcross testingโ€ of Rust crates - GitHub - cross-rs/cross: โ€œZero setupโ€ cross compilation and โ€œcross testingโ€ of Rust crates
Avatar
Avatar
Learath2
@heinrich5991 wouldn't this be pretty cool for the antibot?
the idea is cool. it has the potential of crashing a running server though
15:14
vs crashing a starting server, which is preferable
Avatar
unity burst compiler is basically stopping me from ever touching native just for performance actually
Avatar
Hm, and now that I think about it the antibot has crucial state. It can't really afford to just start from the middle without context
Avatar
i used to write c code to offload heavy processing to native in unity
Avatar
Avatar
Learath2
Hm, and now that I think about it the antibot has crucial state. It can't really afford to just start from the middle without context
oh, that too
Avatar
burst is basically native at this point
Avatar
Avatar
TsFreddie
burst is basically native at this point
What is a burst?
Avatar
Avatar
Learath2
What is a burst?
Unity's custom C# compiler
Avatar
curious name
15:20
i can only think bad things
Avatar
actually it's a IL compiler. IL to native
15:20
IL?
15:20
or IR?
Avatar
i think it is IL
Avatar
well its probs the same
Avatar
probably
15:21
.NET call them IL
Avatar
did u know rust has like 3
15:21
HIR MIR LIR
15:21
iirc
Avatar
i think for .NET IL is just the byte code for their VM
15:21
i'm probably wrong
Avatar
Avatar
TsFreddie
i think for .NET IL is just the byte code for their VM
yes probs
Avatar
anyway burst just compiles IL to native code and find SIMD oppertunities along the way
15:22
probably
15:22
HUH
Avatar
well any optimizing compiler does that
15:23
auto vectorization
Avatar
ye it's just that but Unity only
15:24
i mean it is just LLVM
Avatar
would be cool to have a c# frontend with llvm
Avatar
Avatar
TsFreddie
i mean it is just LLVM
is it rly?
Avatar
Burst is a compiler that you can use with Unity's job system to create code that enhances and improves your application's performance. It translates your code from IL/.NET bytecode to optimized native CPU code that uses the LLVM compiler.
Avatar
Originally implemented for C and C++, the language-agnostic design of LLVM has since spawned a wide variety of frontends: languages with compilers that use LLVM (or which do not directly use LLVM but can generate compiled programs as LLVM IR) include ActionScript, Ada, C# for .NET, Common Lisp, PicoLisp, Crystal, CUDA
15:24
true
Avatar
burst only supports a very small subset of C# tho
15:25
it's basically unity's own language that lives in a C# codebase
Avatar
Avatar
Ryozuki
auto vectorization
This is still very meh. It's so hard for compilers to vectorize
Avatar
Avatar
Learath2
This is still very meh. It's so hard for compilers to vectorize
i think with MLIR it would be easier
Avatar
burst also provide intrinsic but you'll have to call it in burst code
15:27
it is weird that microsoft's C# does have intrinsics now but unity's C# don't
Avatar
Do you enjoy C#?
Avatar
MLIR has a memref dialect which allows doing allocations with shapes
15:27
%0 = memref.alloc() : memref<8x64xf32, 1>
Avatar
Avatar
Learath2
Do you enjoy C#?
For Unity or for other stuff
Avatar
In general
Avatar
also define enjoy
Avatar
Avatar
TsFreddie
also define enjoy
Not hate
Avatar
then probably yes
15:29
i don't know. it is fine.
15:29
i mean i like typescript
15:29
it is not that different from any other "OOP" stuff
15:29
it's better than java i guess
Avatar
Would it ever be your choice if you were given a job where you could decide the language?
Avatar
C#?
๐Ÿ‘ 1
15:29
probably not for string works
Avatar
for strings i would choose rust
Avatar
so web and json stuff probably not
Avatar
for serializing i would choose rust (serde) (edited)
15:30
for a http server i would choose rust (axum)
Avatar
I don't like everything has to have schema when working with strings and networked objects
Avatar
for frontend i would choose svelte
15:30
with typescript
Avatar
sveltekit or svelte
Avatar
because wasm is not there yet
15:31
sveltekit
Avatar
svelte is fine. sveltekit is quite undercooked
Avatar
https://ddstats.org/ is made with sveltekit
View DDNet / Teeworlds Statistics.
15:31
View FFXIV market board data.
15:31
too
Avatar
i get SSR, but sveltekit made it feel like it can do backends
Avatar
it can but its mostly to do ssr
15:32
the second link i sent
15:32
the backend is in rust
15:32
axum
15:32
my postgres db has a few million records
Avatar
but you don't have any control over the connections. you can't just disconnect a client from chewing your endpoints
15:32
it is weird to me that backends and SSR are seperate applications
15:33
for small projects at least
15:33
I might put svelte in unity once Unity's UITK is good enough.
Avatar
Avatar
Learath2
Would it ever be your choice if you were given a job where you could decide the language?
If I could decide the language, it would be the one our team are more familiar with. (lmao)
15:35
Unless it can be done in TypeScript (TrollDespair TrollDespair TrollDespair TrollDespair
15:36
now that I think of it. I might just force my team to learn typescript
15:36
if I have the chance
Avatar
ChillerDragon BOT 2023-12-13 15:37:20Z
@heinrich5991 sos can u abort https://github.com/ddnet/ddnet/pull/7602
Feels more organized to not do this wall of switcher code in the CGameController snap Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with...
Avatar
what did you do
Avatar
ChillerDragon BOT 2023-12-13 15:38:01Z
Feels more organized to not do this wall of switcher code in the CGameController snap Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with...
15:38
ah poggies i have disable merge powers
15:38
githubberdragon
Avatar
how does that work
Avatar
ChillerDragon BOT 2023-12-13 15:39:08Z
you have to be verified githubber
Avatar
oh github has it's own merge thingy now?
Avatar
ChillerDragon BOT 2023-12-13 15:39:48Z
ye
15:39
bors ded
Avatar
It will still get merged, because it's in merge queue :D
Avatar
i thought we were still on bors
Avatar
ChillerDragon BOT 2023-12-13 15:40:04Z
ohno furo
15:40
15:40
panicc
Avatar
I mean.. revert commit isn't that scary
Avatar
ChillerDragon BOT 2023-12-13 15:40:59Z
bloated git history
Avatar
more like ChillerDragon did this forever noted in history
Avatar
ChillerDragon BOT 2023-12-13 15:41:17Z
anyone with github powers here?
15:41
sos
Avatar
least troll chillerdragon github message
Avatar
what if you push to a queued pr
15:42
does it just ignores it
15:43
Catxplosion or draft it
15:43
or close it
15:43
idk. seems a lot of edge cases can be tested with merger
15:44
you did it
15:45
actually
15:46
do we have gamedevs here
15:46
i always wanted to know if there is a better version control for gamedevs than git
Avatar
157e8b7 Pass error message as buffer to CanJoinTeam() - ChillerDragon 6521344 changed GFX โ†’ Gfx - BlaiZephyr 0075d85 Merge pull request #7642 from BlaiZephyr/GfxRefactor - heinrich5991 b458890 Merge pull request #7639 from ChillerDragon/pr_canjoinmsg - heinrich5991
Avatar
cuz git + LFS is giving me a lot of headache just managing artists and designers bad commit
15:47
and LFS just breaks too easily
15:47
actually, team members aren't that good with git either, and the PR workflow is too slow for prototyping
15:49
TrollDespair I've been sending our interns to fix artists' local repository a few times too many for the past months
Avatar
Avatar
TsFreddie
i always wanted to know if there is a better version control for gamedevs than git
Jupstar โœช 2023-12-13 15:51:44Z
u can use a submodule and make it so, that it only fetches a single commit instead of the full history
Avatar
can you push with partial history>
Avatar
ChillerDragon: what happened?
Avatar
Avatar
TsFreddie
can you push with partial history>
Jupstar โœช 2023-12-13 15:53:36Z
i dunno
15:54
TrollDespair I might try submodules
15:54
they still break LFS for whatever reasons tho
Avatar
Avatar
TsFreddie
i always wanted to know if there is a better version control for gamedevs than git
have you tried unity version control?
Avatar
Avatar
Meeu
have you tried unity version control?
yes, but it has been closed off since PlasticSCM is gone now.
15:55
i don't think company would let us host our content on a third party server
Avatar
oh weird I thought they still have the on premise option
Avatar
no they killed that
15:57
pretty dumb move, no idea why they would do that
15:57
I think AAA companies uses Perforce
15:57
I know Valve use them
Avatar
which NetMsg is 'player left'?
Avatar
Avatar
TsFreddie
no they killed that
apparently u gotta contact them for the on premise one
Avatar
Avatar
Meeu
apparently u gotta contact them for the on premise one
probably not cheaper than Perforce
Avatar
Avatar
GitHub
Click to see attachment ๐Ÿ–ผ๏ธ
BlaiZephyr | meloฦž 2023-12-13 15:59:49Z
aight i contributed, where dev role
owo 5
15:59
._.
Avatar
fast discord modding
Avatar
BlaiZephyr | meloฦž 2023-12-13 16:00:36Z
damn
Avatar
Avatar
Meeu
apparently u gotta contact them for the on premise one
where did you get this info btw
Avatar
on the website FAQ
Avatar
oh i see
16:02
weird
Avatar
and I worked for them until about 6 months ago, so I know they still kept that option
Avatar
Avatar
Fussel
which NetMsg is 'player left'?
There isn't a specific netmsg for that, it's just a normal chat message.
Avatar
well i need some sort of event for leaving a player. i have to parse the chat in this case?
Avatar
Avatar
Meeu
and I worked for them until about 6 months ago, so I know they still kept that option
what made you leave
Avatar
I got laid off .-.
16:04
right, of course
Avatar
Avatar
furo
There isn't a specific netmsg for that, it's just a normal chat message.
i thought there is some sort of deregistering a player. Or is the whole state transferred every frame?
Avatar
Avatar
Meeu
I got laid off .-.
worked at unity?
Avatar
nice, or you have my condolences, whichever u choose (edited)
16:06
xd
Avatar
I got laid off before their dumbest decisions, so it's whatever
Avatar
Catxplosion do you know if unity has in-house studios at this point?
Avatar
but i seen ur anilist, ur a weeb dev so u must be good
Avatar
ChillerDragon BOT 2023-12-13 16:07:13Z
xd
Avatar
altho i prefer MAL
Avatar
ChillerDragon BOT 2023-12-13 16:07:23Z
coding socks
Avatar
i hate that unreal people at work keep saying unity does not make games so their engine sucks for making them.
Avatar
Avatar
TsFreddie
Catxplosion do you know if unity has in-house studios at this point?
they had gigaya, but it was canceled
Avatar
Avatar
Fussel
i thought there is some sort of deregistering a player. Or is the whole state transferred every frame?
the game state is kept in snaps. only the diff of them is transferred
Avatar
How can I git commit as another person (like @heinrich5991 did here https://github.com/heinrich5991/libtw2/commit/044597a89faa5afaaa01e6cb2fa100d94c806738). I took the twmap PR of @Ryozuki, made local changes (but used git reset HEAD~1), and want to git commit again, but with Ryo as the author (possibly myself as co-author to note that I did changes)
Avatar
snapshots of the whole world including all players
Avatar
Avatar
ChillerDragon
coding socks
i want coding socks but i need to wax my legs firsy
Avatar
Avatar
Patiga
How can I git commit as another person (like @heinrich5991 did here https://github.com/heinrich5991/libtw2/commit/044597a89faa5afaaa01e6cb2fa100d94c806738). I took the twmap PR of @Ryozuki, made local changes (but used git reset HEAD~1), and want to git commit again, but with Ryo as the author (possibly myself as co-author to note that I did changes)
--author?
16:09
I'd guess
Avatar
@heinrich5991 so it's the best to compare the last player list with the current one
Avatar
ah, I thought that commits are signed or smth
Avatar
Avatar
Patiga
ah, I thought that commits are signed or smth
no
Avatar
Avatar
Patiga
ah, I thought that commits are signed or smth
they can be signed
Avatar
does that mean i can spam my personal repo with heinrich's name all over it
Avatar
and in the docs I found online, it usually just tells you how to add others as co-author
16:09
alright, thanks ๐Ÿ‘
Avatar
Avatar
TsFreddie
does that mean i can spam my personal repo with heinrich's name all over it
yes
Avatar
ChillerDragon BOT 2023-12-13 16:09:52Z
ok heinrich wat now
16:09
siwtches or switchers or both?
16:10
someone operating a switch also seems ok in my brain
Avatar
justatest so it that what GPG is supposed to deal with
Avatar
ChillerDragon BOT 2023-12-13 16:10:29Z
renaming all would be a big ass diff
Avatar
Avatar
TsFreddie
justatest so it that what GPG is supposed to deal with
yes
16:10
signature is lost on any rebase
Avatar
does that mean you can't co author and verify the author's identity because you can't let them sign your commit?
Avatar
which is why some companies
16:11
require linear history and clean merges
16:11
i once made a pr to a Orange repo
16:11
they required that xd
16:11
(Orange is a european isp)
Avatar
ChillerDragon BOT 2023-12-13 16:11:56Z
i managed to sign a commit on gitlab with gpg and set another author. It showed their profile pic and a verified checkmark xd
Avatar
Open Source by Orange. Orange has 346 repositories available. Follow their code on GitHub.
16:12
Hurl, run and test HTTP requests with plain text. Contribute to Orange-OpenSource/hurl development by creating an account on GitHub.
16:12
nice utlity btw
Avatar
Avatar
ChillerDragon
i managed to sign a commit on gitlab with gpg and set another author. It showed their profile pic and a verified checkmark xd
but you signed it?
Avatar
ChillerDragon BOT 2023-12-13 16:13:08Z
i signed it as me with my gpg i had in my gitlab acc
Avatar
sounds like a front end oversight
Avatar
ChillerDragon BOT 2023-12-13 16:13:26Z
but in some places it just shows that it was signed
16:13
and the author in git can be fully spoofed
Avatar
Avatar
ChillerDragon
i managed to sign a commit on gitlab with gpg and set another author. It showed their profile pic and a verified checkmark xd
yes but if u click the verified it will tell u the key iirc
16:13
of who is owned
Avatar
ChillerDragon BOT 2023-12-13 16:14:03Z
yea
16:14
but i would get trolled by a heinrich5991 pfp and a checkmark
16:14
i would send all my BTC straightaway no pgps clicked
Avatar
bruh how is it midnight already
16:14
I just got home
Avatar
ChillerDragon BOT 2023-12-13 16:14:49Z
timezone moment
Avatar
Avatar
ChillerDragon
i would send all my BTC straightaway no pgps clicked
do you have any
Avatar
ChillerDragon BOT 2023-12-13 16:15:32Z
i have some satoshi
16:15
i went all in during the bear market against heinrichs advice xd
Avatar
ChillerDragon BOT 2023-12-13 16:15:56Z
but i was broke the entire bear market so wat can i do
16:16
spent too much on my new pc xd
Avatar
bear market
16:16
hmm
16:16
i thought it was a chinese term, apparently not
Avatar
ChillerDragon BOT 2023-12-13 16:17:37Z
16:17
dis
16:18
i just miss one letter and then im pro financial advisor like jopsti
16:18
"broke" + "r" = "broker"
16:18
I actually don't know what to do with my money.
16:19
they just sits there in my bank account doing nothing
Avatar
ChillerDragon BOT 2023-12-13 16:19:43Z
i just yeet it all into fishy investments
Avatar
can you buy etfs in china?
Avatar
no idea
16:20
i'm guessing no tho
Avatar
ChillerDragon BOT 2023-12-13 16:20:24Z
heinrich woke
16:20
switches or switchers
Avatar
Avatar
heinrich5991
can you buy etfs in china?
is it the thing that you put your money in a funding pool and let some manager deal with the stock market
Avatar
ChillerDragon BOT 2023-12-13 16:21:28Z
does renaming it everywhere to switches even make sense
16:21
for(auto &Switcher : Switchers()) -> for(auto &NintendoSwitch : Switches())
Avatar
Avatar
TsFreddie
is it the thing that you put your money in a funding pool and let some manager deal with the stock market
without the manager. you're usually tracking some index automatically, hence theoretically low fees
Avatar
then i don't know
16:23
i think china only let you invest in chinese's own stock market legally
Avatar
"ไบคๆ˜“ๅž‹ๅผ€ๆ”พๅผๆŒ‡ๆ•ฐๅŸบ้‡‘"
16:23
ah
Avatar
so any related stuff will have to operate on top of chinese market
16:23
which is..
16:23
unstable at best
Avatar
ah, that sucks
16:24
but I guess keeping it in CNY doesn't sound better
16:24
true
Avatar
you can't transfer it out of china to do your investments outside, I guess?
Avatar
i'm sure there is a way
16:25
but i don't want to bother
16:25
and i'll probably get scammed too many times before finding the real way
Avatar
but legally, you can't?
Avatar
i'm not sure
16:26
maybe through some hongkong companies
16:27
but i don't know if the middle man will charge too much to make it not worth it.
16:28
basically not directly i think
16:28
cuz obviously none of the mainland banks let you do that
16:29
chinese stock market
16:29
also fun fact, the red and green are flipped in chinese stocks
Avatar
ah, I forgot ^^
Avatar
Avatar
TsFreddie
chinese stock market
can you give a 5 year graph instead?
Avatar
Avatar
TsFreddie
also fun fact, the red and green are flipped in chinese stocks
weird color theory choice... is green bad and red good?
Avatar
just different culture ^^
Avatar
hmm they don't have it
16:33
16:34
16:34
16:36
16:36
Catxplosion I think these are the usual ones
Avatar
Avatar
Voxel
weird color theory choice... is green bad and red good?
red is generally a positive color in chinese culture
16:45
literally "red red fire fire" pepeW
Avatar
Before: !screenshot_2023-12-13_17-40-00 After: !screenshot_2023-12-13_17-43-55

Checklist

  • [X] Tested the change ingame
  • [X] 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...
Avatar
Avatar
TsFreddie
red is generally a positive color in chinese culture
so blood is good?
Avatar
Avatar
Voxel
so blood is good?
actually... yes
Avatar
boiling blood is not angry but excitement or strive
17:37
brownbear
Avatar
chillerdragon help me im stupid
17:51
#<Thread:0x00000228d4679bf8 C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/teeworlds_network-0.0.6/lib/teeworlds_client.rb:183 run> terminated with exception (report_on_exception is true): C:/Ruby32-x64/lib/ruby/3.2.0/socket.rb:1275:in __recvfrom_nonblock': A non-blocking socket operation could not be completed immediately. - recvfrom(2) would block (IO::EWOULDBLOCKWaitReadable) from C:/Ruby32-x64/lib/ruby/3.2.0/socket.rb:1275:in recvfrom_nonblock' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/teeworlds_network-0.0.6/lib/teeworlds_client.rb:458:in tick' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/teeworlds_network-0.0.6/lib/teeworlds_client.rb:506:in connection_loop' from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/teeworlds_network-0.0.6/lib/teeworlds_client.rb:184:in `block in connect'
Avatar
I'm on beta. 1.
  • cant close the callvote menu with ESC the first time when I click on callvote anymore AND cant Scroll the votelist ,
before clicking on a vote to close it
  • also not if u switch from serverinfo/ghost to callvote.
  • also in editor cant close LOAD MAP with ESC.
  • also not if u click save copy in editor
2. if u enter a password u cant just click Enter anymore u have to click on it
  • it also doesnt get accepted instantly even if put in f1
(u cant delete empty...
17:54
unfreeze laser doensnt change direction if it hits a Direction arrow if the arrow is in front layer.
18:11
68508e1 Add small margin to callvote label - Robyt3 a16d8dd Merge pull request #7643 from Robyt3/Menus-Callvote-Margin - def-
Avatar
ChillerDragon BOT 2023-12-13 18:15:24Z
i used to see discord images
18:15
seems like discord finally closed down their cdn
18:15
eww windows
18:17
hmm i can not reproduce on linux but i can try to fix it anyways
Avatar
New Map: add a basic layout, for team dummy solo with all those tile layers (basic_freeze) generic unhookable as 1. so If u click on New map u can click on a screen which these set ups: select size , teamforce? ,player amount, if u want basic tiles like generic unhook and basic freeze alternative background not only blue sizes 500x200~ solo (sv_solo_server 1) dummy (sv_team max team) 2p team force (sv_team 2?) 3player maps with teamforce | (sv_min_team_size 3?) sv_Max_team ...
Avatar
Avatar
ChillerDragon
i used to see discord images
Jupstar โœช 2023-12-13 18:18:26Z
nice
18:18
so i can send images and u cant see it
18:18
and u will ask what is on the image?
Avatar
ChillerDragon BOT 2023-12-13 18:18:43Z
very nice
18:18
looks like
18:18
also news to me
Avatar
Jupstar โœช 2023-12-13 18:19:41Z
Avatar
ChillerDragon BOT 2023-12-13 18:20:32Z
that i saw
18:20
must be Bota skill issue then
Avatar
Jupstar โœช 2023-12-13 18:21:25Z
he didnt even send any image
18:21
trollerdragores
Avatar
ChillerDragon BOT 2023-12-13 18:21:38Z
ah maybe deleted images get invalidated
18:21
not like on github there you can even use unposted links as cdn its epic
18:21
just drag image or video into comment box
18:21
copy link
18:22
never submit comment
18:22
and you have free cdn
Avatar
Jupstar โœช 2023-12-13 18:22:11Z
rip
18:22
even if u check "sensible data" when deleting post?
18:22
i want to know that now
Avatar
ChillerDragon BOT 2023-12-13 18:22:33Z
you cant delete
18:22
unsent comments
Avatar
Jupstar โœช 2023-12-13 18:22:42Z
ah lol
18:22
not even sent
Avatar
ChillerDragon BOT 2023-12-13 18:22:51Z
yeah :D
Avatar
Jupstar โœช 2023-12-13 18:22:57Z
but i still wanna know
18:23
6 months left until microsoft cant sue me anymore for that one image
18:23
๐Ÿ˜
Avatar
ChillerDragon BOT 2023-12-13 18:23:21Z
what time is it?
Avatar
chillderdragon help ๐Ÿ˜ฆ
Avatar
ChillerDragon BOT 2023-12-13 18:23:37Z
Bota yes i got fix
18:23
i just dont know what time it is
18:23
to send u the fix
18:23
my otp keeps failing me to update the gem
Avatar
its 19:23?
Avatar
ChillerDragon BOT 2023-12-13 18:23:59Z
shit
18:24
im at 19:24 alr
18:24
:D
18:24
now 25
18:24
archlinux moment
Avatar
im in germany tho
Avatar
ChillerDragon BOT 2023-12-13 18:24:24Z
im in russia
Avatar
you got same time?
Avatar
ChillerDragon BOT 2023-12-13 18:24:35Z
its the famouse +1 min ruski timezone
18:24
dude not even ``hwclock --systohc
18:24
woreks
Avatar
I use windown bcs of my games ๐Ÿ˜ฆ
18:25
i think ill be an child forever ๐Ÿ™‚
Avatar
ChillerDragon BOT 2023-12-13 18:25:30Z
wrong games if they only run on windows
Avatar
ChillerDragon BOT 2023-12-13 18:30:24Z
wat time
Avatar
ChillerDragon BOT 2023-12-13 18:31:09Z
32
18:31
fk
Avatar
ChillerDragon BOT 2023-12-13 18:34:33Z
ok ez
18:34
fixed time
18:34
19:34
18:34
so u can update the gem
18:34
and try again
18:34
gem uninstall teeworlds_network && gem install teeworlds_network
18:35
ah windows
18:35
gem uninstall teeworlds_network
18:35
gem install teeworlds_network
Avatar
Avatar
ChillerDragon
ah windows
Windown or Windownsyndrom pls
Avatar
ChillerDragon BOT 2023-12-13 18:36:33Z
did it work?
Avatar
At line:1 char:33 + gem uninstall teeworlds_network && gem install teeworlds_network + ~~ The token '&&' is not a valid statement separator in this version. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : InvalidEndOfLine
18:37
im to new
18:37
ima NOOB ๐Ÿ˜ญ
Avatar
chillerdragon BOT 2023-12-13 18:37:49Z
Yes idk powershell either
18:38
Just run both lines individually like I corrected
Avatar
reading, i still gotta learn justatest
18:40
it worked, nice
Avatar
chillerdragon BOT 2023-12-13 18:40:15Z
Woah
18:40
chiller biggest windows supporter
Avatar
ima call you wizzarddragon
Avatar
chillerdragon BOT 2023-12-13 18:40:57Z
You will find bugs feel free to complain
Avatar
you shoulnd have said that ๐Ÿ˜ˆ
18:41
but ur a wizzard ๐Ÿ˜…
18:42
023-12-13 19:41:38 I chat: *** 'zillyhuhn.com' has left the game (Too weak connection (not acked for 100 seconds))
18:42
FIRST BUG
18:42
HAAAA
18:42
Xd
18:42
but your rest programm is like perfect for me
Avatar
chillerdragon BOT 2023-12-13 18:43:48Z
Ohno
Avatar
ill totally use that
Avatar
chillerdragon BOT 2023-12-13 18:43:58Z
Nice to hear
18:45
It will be the worst solution ever but i dont care
18:45
XD
18:45
A headless client with local website
18:46
Just genious tapping own shoulder
18:46
How can I pm you?
18:47
So i can bombard you with problems and useless questions?
Avatar
I allready got some feature requests ๐Ÿ™‚
19:04
I created issues on github+
19:14
?
Avatar
Avatar
Bota
So i can bombard you with problems and useless questions?
BlaiZephyr | meloฦž 2023-12-13 20:00:40Z
find him on Matrix, he loves to be bombarded with useless questions on there!
Avatar
Maybe his Clock fried his os lol
Avatar
holly hell, my giga pro ultra web ddnet graphics engine can clear screen. its so poggers2
Avatar
BlaiZephyr | meloฦž 2023-12-13 20:29:22Z
not me spying on that open chatgpt tab gratz! = i also love the daddy user (edited)
Avatar
Avatar
MilkeeyCat
Click to see attachment ๐Ÿ–ผ๏ธ
that was mission impossible
20:31
we compare websites
20:31
huh
Avatar
You made that? ๐Ÿ˜ฎ
Avatar
trying not to post link yes
20:33
why remove ๐Ÿ˜ฆ
20:33
choo choo
Avatar
chillerdragon BOT 2023-12-13 20:35:07Z
Yeah feel free to open issues on GitHub
20:35
You could dm me on matrix but I am often only on irc and might not respond fast
Avatar
which irc client you recoomend? ๐Ÿ˜„
Avatar
Tutorial on how llamafile makes LLMs shell scriptable.
20:37
local llms, seems easy to try locally
Avatar
BlaiZephyr | meloฦž 2023-12-13 20:41:54Z
me reading this: "i want to try that!" my 13 year old work pc: "you want to try WHAT?!" (edited)
Avatar
chillerdragon BOT 2023-12-13 20:45:56Z
I use and like weechat not sure if I would recommend that itโ€™s a Linux terminal client. I rather recommend you https://chat.zillyhuhn.com hehe (edited)
Replying to @Bota which irc client you recoomend? ๐Ÿ˜„
Avatar
Avatar
Bota
which irc client you recoomend? ๐Ÿ˜„
I use kvirc for IRC, not sure if that's recommendable
Avatar
Closes #7584.

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/...
Avatar
Avatar
chillerdragon
I use and like weechat not sure if I would recommend that itโ€™s a Linux terminal client. I rather recommend you https://chat.zillyhuhn.com hehe (edited)
20:48
Avatar
chillerdragon BOT 2023-12-13 20:48:17Z
Yea nice. But all the gui options for local llms are also not bad. Some colleges at work use something dope native on Mac. And I tried some web solution which basically one shell script to get it running
Replying to @heinrich5991 local llms, seems easy to try locally
21:13
this is somewhat confusing
21:13
i was editing the autoexec_server text file in %appdata%/DDNet instead of the one in ddnet/data
21:14
and was confused as to why it always got overwritten by the server log ๐Ÿ˜ญ
21:14
file extensions don't show in windows and the .log file looks like a normal text document
21:15
also just a nitpick but myServerConfig.cfg is in camelcase while everything else is snake case :P
Avatar
chillerdragon BOT 2023-12-13 21:27:04Z
Yea that camel case is super weird
Avatar

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 maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
ChillerDragon BOT 2023-12-13 21:56:29Z
yo robsti windows pro can you explain why this does not work
21:57
dude im majorly bash bubbeld idk how quoting in cmd works @Robyt3 is powershell maybe better?
21:57
@Bota can you try powershell instead of cmd?
Avatar
I'd try using "message='the message'" instead
Avatar
ChillerDragon BOT 2023-12-13 21:58:52Z
@Bota what ropsti said ^
Avatar
Avatar
ChillerDragon
yo robsti windows pro can you explain why this does not work
Windownsyndrom ๐Ÿ˜„
๐Ÿ˜‚ 1
Avatar
ChillerDragon BOT 2023-12-13 21:59:34Z
that would also work in bash then i adapt it maybe in the readme to be extra windows friendly haha
22:00
wait no in bash it would then add literal singlequotes in the message hmm
Avatar
PS C:\Users\Alex> curl -X POST http://localhost:4567/connect -F host=176.9.114.238 -F port=8341 Invoke-WebRequest : A parameter cannot be found that matches parameter name 'X'. At line:1 char:6 + curl -X POST http://localhost:4567/connect -F host=176.9.114.238 -F p ... + ~~ + CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Avatar
ChillerDragon BOT 2023-12-13 22:00:58Z
windows momemnt
22:01
okay seems like powershell is worse haha
Avatar
That's because on powershell "curl" is likely an alias for a powershell cmdlet
Avatar
ChillerDragon BOT 2023-12-13 22:01:45Z
i guess true windowsers use Invoke-RestMethod
22:03
@Bota try the one robsit sent in cmd with the " quotes around the whole message
Avatar
y it works
Avatar
ChillerDragon BOT 2023-12-13 22:03:43Z
ah very nice
22:03
robyte the windows main
22:04
Windownsyndrom Main
22:04
Windows = Windownsyndrom
Avatar
ChillerDragon BOT 2023-12-13 22:04:57Z
windows = win
Avatar
so win = windownsyndrom
Avatar
ChillerDragon BOT 2023-12-13 22:05:40Z
i love how you opened an issue with "build me the whole app i need" xd
Avatar
im lazy like you
22:06
even more
22:06
But not when i need to do css (edited)
Avatar
I hate Reddit
22:14
For giving me ideas like this
Avatar
Avatar
ChillerDragon
i love how you opened an issue with "build me the whole app i need" xd
idk what you did but bot works fine
22:15
you somehow wizzard and bot does what it does
22:18
it still loses connection comehow
Avatar
ChillerDragon BOT 2023-12-13 22:20:08Z
@Teero lmao
22:28
1723554 Move switcher snapping code to own method - ChillerDragon efe593c Merge pull request #7602 from ChillerDragon/pr_create_switcherscontroller - heinrich5991
Avatar
ChillerDragon BOT 2023-12-13 22:51:47Z
22:51
this would be pog
22:52
but sadly some commands are defined twice due to their aliases and i can not find a way for the macro to not define the callback twice :c
Avatar
This adds Sv_CommandInfo and Sv_CommandInfoRemove from 0.7, which can be used to send all the available chat commands. These commands are then used for the tab completion in chat instead of using the hard-coded DDRace commands (it will still use them, if the server doesn't send any Sv_CommandInfo netmsgs). Closes #7524

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration...
23:50
Dynamic routing is pain (edited)
23:51
css is also pain
Exported 1,167 message(s)