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-09-08 00:00:00Z and 2023-09-09 00:00:00Z
Avatar
8e8aa8d A Headache, R Pablik 1 - ddnet-maps
Avatar
fun fact, vscode uses ripgrep made in rust
Avatar
so ur using rust made software
05:09
gigachad
Avatar
no im not
Avatar
Avatar
Ryozuki
so ur using rust made software
05:11
typescript
05:14
if i had the time and energy rn id continue chipping at the thing i was doing but its 1 am
05:15
i love making pointless adobe jsfls (edited)
Avatar
ChillerDragon BOT 2023-09-08 06:39:35Z
oof running clang tidy on arch is messy af seems like the new version doesnt like the use of static functions
Avatar
@Jupstar ✪ did u prepare todays question
06:44
noted
Avatar
ChillerDragon BOT 2023-09-08 06:44:43Z
rost fridai
07:13
its firefox update day
Avatar
Avatar
Ryozuki
@Jupstar ✪ did u prepare todays question
Mhh What is the best library you recently found
Avatar
A high performance concurrent caching library for Rust - GitHub - moka-rs/moka: A high performance concurrent caching library for Rust
07:15
there is also https://docs.rs/cached/latest/cached/ but its diferent
Build Status crates.io docs
07:15
cached is more for memoizing
Avatar
Wasmer is the most popular WebAssembly runtime for Rust. It supports JIT (Just In Time) and AOT (Ahead Of Time) compilation as well as pluggable compilers suited to your needs.
07:34
@Jupstar ✪ nice wasmer supports AOT too
07:34
im gonna tinker with it
Avatar
Avatar
Ryozuki
@Jupstar ✪ nice wasmer supports AOT too
I'm more surprised it supports jit.. never seen an example for that xd
Avatar
@Jupstar ✪ to make wasm modules with rust u use wasm-pack?=
Avatar
Avatar
Ryozuki
@Jupstar ✪ to make wasm modules with rust u use wasm-pack?=
No, why?
Avatar
wasm-bindgen?
07:44
what do u use
07:44
i want to know to test with wasmer
07:44
xd
Avatar
They are all for JavaScript or not?
Avatar
ah i see
07:45
so how u do it
07:45
u simply declare extern functions?
07:45
and target wasm32?
07:46
today rust friday is for me xd
Avatar
No. Wasm runtime has a completely separated memory model.You cannot really just call it. I share memory over a serializer, and call the function of the wasmer API
Avatar
im just asking
07:48
how u make a wasm module
07:48
oh
07:48
so u dont call host functions?
Avatar
Avatar
Ryozuki
so u dont call host functions?
i do, in wasmer you export host functions
07:48
so yes, host functions are basically external functions
07:49
i thought u meant calling a guest function
Avatar
Avatar
Jupstar ✪
i thought u meant calling a guest function
i mean u can do that too
Avatar
in the export you also bind a environment (Arc<Env>>) and that gets called as well. So over that env you basically modify whatever you want to modify
07:50
calling a guest
Avatar
yes
Avatar
let sum_typed: TypedFunction<(i32, i32), i32> = sum.typed(&mut store)?; println!("Calling `sum` function (natively)..."); // Let's call the `sum` exported function. The parameters are // statically typed Rust values of type `i32` and `i32`. The // result, in this case particular case, in a unit of type `i32`. let result = sum_typed.call(&mut store, 3, 4)?;
Avatar
sadly wasmer has no scoped call.. so i have to use unsafe for imports
07:51
yeah i meant imports above*
07:51
imported into the guest
07:52
it's weird naming ^^
07:55
@Ryozuki what do you want to use it for?
Avatar
i want to test a wasm host + guest
Avatar
i can only recommend from personal experience to move as much into the module as possible and don't do one call per function like system(so not that func1 calls func1 on wasm, func2 calls func2 etc.)
Avatar
to learn it
Avatar
Avatar
Ryozuki
i want to test a wasm host + guest
i c. It's fun, but it would also be nice if it would be easier 😄
07:58
the most important thing you need to know is, that the global memory of the guest is always called "memory". so: instance.exports.get_memory("memory") Will give you the guest memory export. WASM uses linear memory, so this memory export can grow
07:59
i think generally understanding the memory model is important.. the rest is basically just calling functions by string names xd
Avatar
rn im just trying to figure out how to make 1 crate in a workspace compile to wasm32 and the other not
07:59
xd
Avatar
xd
Avatar
i probs need nightly feature
Avatar
i don't build any wasm module automatically.. i don't want the wasm toolchain as must have to compile the client
08:00
well for me its more like a nice workflow
08:00
but ur right
08:30
justatest
Avatar
a9157e8 CI: Move ASan/UBSan to own build directory - Kaffeine 225b175 CMake: Set the minimum CMake version to 3.12 - Kaffeine d0ecb5f CMake: Rework the versioning - Kaffeine f6172a2 CMake: Add version range validation - Kaffeine 0cea5b0 CMake: Remove the code for old CMake versions - Kaffeine ee1b8ba Merge pull request #7145 from infclass/for-ddnet4 - def-
Avatar
Instead of going through String.

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://...
09:06
53d0e3f allow flag scroll while input selected - dobrykafe e5e7e76 Merge pull request #7146 from dobrykafe/pr-settings-player-scroll - Robyt3
09:10
We don't have any own C source files anymore.

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]...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
look @Learath2 they are removing you
10:03
We don't have any own C source files anymore.
Avatar
db5f28e .h.in aren't compiled - heinrich5991 cebc472 Remove C-only compiler flag - heinrich5991 4108ccd Merge pull request #7149 from heinrich5991/pr_ddnet_cmakelists_cleanup - def-
10:06
cbdd83f mastersrv: Go to RawValue directly - heinrich5991 a07fd52 Merge pull request #7148 from heinrich5991/pr_ddnet_mastersrv_rawvalue - def-
Avatar
Avatar
Ryozuki
We don't have any own C source files anymore.
I may aswell resign AnyaSob
Avatar
#[no_mangle] pub fn add(left: u32, right: u32) -> u32 { left + right }
10:12
❯ cargo r -- target/wasm32-unknown-unknown/debug/guest.wasm Finished dev [optimized + debuginfo] target(s) in 0.04s Running `target/debug/host target/wasm32-unknown-unknown/debug/guest.wasm` [host/src/main.rs:20] &result = [ I32(4), ]
Avatar
epic
10:12
i32 but the comment says ints in wasm are sign agnostic
Avatar
the safest add two numbers ever
Avatar
safe rust compiled to wasm xd
10:13
now create bindgen xd
Avatar
bindgen?
Avatar
create a macro that automates anything u done here by hand
10:14
but i dont want the guest to just be rust
10:14
but im interested in how to call a host function now
10:14
let me try
10:21
#[no_mangle] pub fn add(left: i32, right: i32) -> i32 { unsafe { print_wasm(left) }; unsafe { print_wasm(right) }; left + right } extern { fn print_wasm(a: i32); }
10:21
this worked lol
10:21
fn print_wasm(_env: FunctionEnvMut<MyEnv>, a: i32) { println!("{a}"); }
Avatar
Avatar
Ryozuki
#[no_mangle] pub fn add(left: i32, right: i32) -> i32 { unsafe { print_wasm(left) }; unsafe { print_wasm(right) }; left + right } extern { fn print_wasm(a: i32); }
(this is wasm)
Avatar
good project for FFR
Avatar
now do strings, I'm interested @Ryozuki
10:28
integers are cheating, they're native types
Avatar
yeah i was trying
10:28
i cant put &str in signatur
Avatar
Hehe
10:38
I hinted you some stuff. But yeah now the hard part starts
Avatar
pub fn host_import(mut env: FunctionEnvMut<()>, memory: Memory, ptr: WasmPtr<u32>) { let memory = memory.view(&env); let derefed_ptr = ptr.deref(&memory); let inner_val: u32 = derefed_ptr.read().expect("pointer in bounds"); println!("Got {} from Wasm memory address 0x{:X}", inner_val, ptr.offset()); // update the value being pointed to derefed_ptr.write(inner_val + 1).expect("pointer in bounds"); } @Jupstar ✪ the docs for WasmPtr show this
10:56
but
10:57
fn accept_str(mut env: FunctionEnvMut<()>, memory: Memory, ptr: WasmPtr<u8>, len: u32) {
10:57
it wont accept me this signature lol
Avatar
ok i got the host side
11:06
❯ cargo r -- target/wasm32-unknown-unknown/debug/guest.wasm Finished dev [optimized + debuginfo] target(s) in 0.04s Running `target/debug/host target/wasm32-unknown-unknown/debug/guest.wasm` 2 2 adding 2 to 2 [host/src/main.rs:39] &result = [ I32(4), ]
11:06
#[no_mangle] pub fn add(left: i32, right: i32) -> i32 { unsafe { print_wasm(left); print_wasm(right); let str = format!("adding {} to {}", left, right); accept_str(str.as_ptr(), str.len() as u32); } left + right } extern { fn print_wasm(a: i32); fn accept_str(ptr: *const u8, len: u32); }
11:06
@Jupstar ✪ i got it
11:06
epyc
11:07
the trick is a functionenv with a option field to memory
11:07
let instance = Instance::new(&mut store, &module, &import_object)?; let env = env.as_mut(&mut store); let mem = instance.exports.get_memory("memory")?; env.memory = Some(mem.clone());
11:08
and setting it after the instance
Avatar
this is it
11:21
i love wasm now
11:21
bye rust (joke)
Avatar
Xd
Avatar
lua has a compiler to wasm right
11:21
i wonder how this would work
11:21
are there pointers in lua
Avatar
Does it?
Avatar
u said there was a compiler to wasm
11:22
no?
Avatar
I mean compiler
Avatar
i forgor
Avatar
Avatar
Ryozuki
no?
I suggested to run the lua interpreter inside wasm
11:22
the interpreter itself
Avatar
Yeah
Avatar
js compiles to wasm?
Avatar
Doubt. There is assemblyscript
Avatar
It's basically typescript for wasm
Avatar
so for modding we could only use c++, rust
11:23
what else
Avatar
No, we can use all
Avatar
U can compile most stuff to wasm
11:24
So complete the interpreter to wasm
11:24
And run it there
11:24
Compile*
Avatar
Well its only a small overhead compared to directly using the interpreter
Avatar
whqt about python
Avatar
Same for any language xd
11:26
You have to understand one thing anyway. A real python interpreter would be unsafe
11:26
It can open files
Avatar
rust is better
11:27
it wont compile if u do non wasmthings
11:27
when targeting wasm
11:27
the end result is: rust for all and all for rust
11:28
thanks for coming to my ted talk
Avatar
Yep xd
11:29
At least wasm offers okish perf
11:29
That's where all script languages Fall behind
Avatar
lol u can spam notifications on apple devices with a flipper zero
Avatar
Avatar
Ryozuki
@Patiga can u update vek dep to 0.16 in twmap or reexport it?
can do when I'm home, I do kinda try to keep the dependencies up-to-date
Avatar
Avatar
ReiTW
lol u can spam notifications on apple devices with a flipper zero
Yeah you basically send bluetooth header packets that mimic apple products like airpods etc
Avatar
NAPI-RS is a framework for building Node.js addons in Rust.
Avatar
@Ryozuki have u heard of https://github.com/vercel/turbo to replace webpack written in rust
Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo. - GitHub - vercel/turbo: Incremental bundler and build system opti...
13:38
hm no but nice
13:38
i think today ppl use another thing
13:38
called vite
13:38
ah
13:38
its a unrelated tool maybe
13:38
Next generation frontend tooling. It's fast! Contribute to vitejs/vite development by creating an account on GitHub.
13:38
svelte uses vite
Avatar
no rust no trust
Avatar
The JavaScript module bundler
13:39
yeah turbo is probs faster if rust
Avatar
@Ryozuki what rust crate do you recommend for creating https servers
13:40
i want it simple if possible
Avatar
axum I heard
13:42
http at least. for https, you usually use a reverse proxy
Avatar
Avatar
Jupstar ✪
@Ryozuki what rust crate do you recommend for creating https servers
axum
13:42
i use axum always
13:42
axum is made by tokio team
Avatar
okay
Avatar
i recommend axum having tried: axum, actix-web, rocket
Avatar
do you have an opinion on warp btw?
Avatar
i have a service i made for FFXIV, https://market.xivhub.org/
View FFXIV market board data.
13:44
the backend for this is powered by axum
13:44
i handle millions of requests achtually
13:44
source code
Avatar
millions of requests per …?
13:45
XD
13:45
sorry no hype
Avatar
Avatar
Ryozuki
i recommend axum having tried: axum, actix-web, rocket
that's what i wanted to hear
Avatar
let me check cloudflare
13:45
13:46
ddstats has 300k
13:46
well the ddnet wiki has way more requests tho
13:47
i cant check cloudflare but i can check nginx logs
Avatar
Avatar
Jupstar ✪
that's what i wanted to hear
what u doin btw
13:48
i also recommend not using a ORM
13:48
and instead use sqlx with sqlx-cli to handle migrations
Avatar
Avatar
Ryozuki
what u doin btw
just want to test a simple http request -> image answer
13:48
tee renderer?
Avatar
Avatar
Ryozuki
tee renderer?
LMAO
Avatar
i had my idea to do that but i haver to fix the tee
13:48
have*
Avatar
Avatar
Ryozuki
i had my idea to do that but i haver to fix the tee
well that's indeed my idea
13:48
xD
13:49
do it please
Avatar
@Ryozuki do you know warp?
Avatar
and make it open source
Avatar
but i don't really want it to work like you think
Avatar
@heinrich5991 i tried it long ago and i didnt like my xp with it
13:49
it felt a bit confusing iirc
Avatar
i want to test to run vulkan on my server xD
Avatar
but i was also not as experienced
13:49
but the warp author didnt discontinue it?
13:49
he is just working on hyper iirc
Avatar
so not directly a pure tee renderer
Avatar
Avatar
Jupstar ✪
but i don't really want it to work like you think
ah, i wanted a simple api service to render tee from skins on request
Avatar
more like a tw renderer
Avatar
i just bought nou.is
Avatar
this site can't be reached
Avatar
cuz i just bought it
13:52
gm
Avatar
oh btw im migrating most of my domains from gandi to google domains
13:52
as they expire
13:52
its cheaper for some reason
Avatar
I wouldn't use google tbh
Avatar
the google illusion
Avatar
they lock you out, you have no recourse
Avatar
Avatar
Ewan
gm
good afternoon
Avatar
isn't google domains sold to squarespace or something
Avatar
can they lock u out of ur own domain? i know they can do that from adsense and stuff
13:53
yeah
13:53
they sold it
Avatar
Avatar
Jupstar ✪
good afternoon
wdym it’s 7:53
Avatar
Avatar
Ryozuki
can they lock u out of ur own domain? i know they can do that from adsense and stuff
they lock you out of GCE, too, destroying businesses overnight
Avatar
Avatar
Ewan
wdym it’s 7:53
3:53
Avatar
i think locking out of ur domain has more legal implicaitons?
Avatar
Your timezone is wrong
Avatar
thats crazy
13:53
@heinrich5991 what domain web u use?
Avatar
I use inwx.de
Avatar
Avatar
Ewan
Your timezone is wrong
yes, i live in future, bcs i'm future human
Avatar
hello dear past human
Avatar
it's german, so maybe you don't like it
Avatar
i just love how clean google interface is
Avatar
someone recommended it to me, it worked well
Avatar
why good stuff is bad sage
13:54
sadge
13:55
well google domains wont exist
Avatar
oof, i forgot i had the ddrace ones justatest
Avatar
r they so cheap?
13:55
i always find domains rather expensive
Avatar
german domains are like 6€/year
Avatar
yes
13:55
expensive xd
Avatar
tencent gave me teel.ink for free (not really)
Avatar
on netcup u often get .de domains for 13 cents per month xd
Avatar
anyone tried cloudflare for domains?
Avatar
but anything not .de is expensive in my experience
Avatar
Avatar
TsFreddie
tencent gave me teel.ink for free (not really)
1000000€ / year i bet xd
13:57
ink sounds expensive
13:57
i want .ar
Avatar
jupst
Avatar
but it's very expensive
Avatar
Avatar
heinrich5991
jupst
😬
Avatar
55 chinese characters
Avatar
7 euro
Avatar
sounds ok
13:58
if it's per year
13:58
nou.is isn't cheap tho
13:59
it's like 47 usd justatest
Avatar
what even is .is
13:59
islamic state?
Avatar
u know there is .google
Avatar
iceland
Avatar
.org best anyway
Avatar
apparently
Avatar
i once heard u can buy TLD for like 100k
13:59
not sure if true
13:59
google did
Avatar
let's collect donations xd
Avatar
there is .ee
Avatar
Avatar
TsFreddie
iceland
oh ok.. i mean from a german perspective it makes sense Island = iceland xd
Avatar
i tried some ending with t, didn't find any good ones
14:00
when .rust
Avatar
@Ryozuki u work for argentinians.. ask them for .ar domain xd
Avatar
why do i want one xd
Avatar
i want it
Avatar
u can buy it probs
14:01
just likeu can buy .es
Avatar
>> 20€ is too much for a domain imo
Avatar
i mean it has no real value
Avatar
just go to a argentina registar
Avatar
xD
Avatar
some european domains check contacts i think?
Avatar
.cat says it checks the web has atleast a catalan version
14:03
and it cant be used for cats
14:03
tm
Avatar
The Official Homepage of Nyan Cat!
14:03
the trick is
14:03
to make it available in catalan
14:03
there is a language selection
Avatar
so it can be used for cats? ^^
Avatar
Avatar
heinrich5991
so it can be used for cats? ^^
if it has text in catalan ye iirc
Avatar
kinda want a .no domain
Avatar
The .cat TLD is intended to serve the needs of the Catalan Linguistic and Cultural Community on the Internet (the “Community”). The Community consists of those who use the Catalan language for their online communications, and/or promote the different aspects of Catalan culture online, and/or want to specifically address their online communications to that Community.
Avatar
ew theres nyan cat nfts? (edited)
Avatar
Avatar
Voxel
ew theres nyan cat nfts? (edited)
i mean, are you really surprised
Avatar
Registry’s policies may permit registrations in .cat TLD to the following: Universities, schools, research institutions and other academic entities that use Catalan in their academic activities or teach/promote aspects of Catalan culture. public or private entities whose aim is promoting the Catalan culture. writers, translators, correctors and journalists publishing (or contributing to) works in Catalan publishing companies that publish works in the Catalan language or relating to the Catalan culture. media using the Catalan language for their communications. individuals, groups, businesses, organizations, entities or initiatives, however constituted, carrying online communications in Catalan. individuals, groups, businesses, organizations, entities or initiatives, however constituted, proving their belonging to the Community by way of sponsorship from other members of the Community in the form established in the Registration Policies. members of Fundació puntCAT
Avatar
Avatar
TsFreddie
i mean, are you really surprised
no
Avatar
this is the rule but idk how often enforced
Avatar
This allows the version.h.in file to show up in IDEs. This reverts commit db5f28e65ac7b5dbe61614be208d704d820226c3.

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 existi...
Avatar
@Learath2 do u know about the new BORE scheduler?
14:36
do u know how to use it in gentoo
14:37
BORE (Burst-Oriented Response Enhancer) CPU Scheduler - GitHub - firelzrd/bore-scheduler: BORE (Burst-Oriented Response Enhancer) CPU Scheduler
Avatar
TIL rust depedency any_lib_inside_repo = { git = "file:///globalpath" }
14:39
kinda funny u can specify git repos like that
Avatar
Avatar
Jupstar ✪
TIL rust depedency any_lib_inside_repo = { git = "file:///globalpath" }
mm you'd usually use a path dependency for that
Avatar
Avatar
heinrich5991
mm you'd usually use a path dependency for that
but then i need to link the lib directly
14:42
repos are fully scanned
14:42
xd
Avatar
speaking of scheduler which one should I use
Avatar
Avatar
Jupstar ✪
but then i need to link the lib directly
wdym, link to the lib directly?
Avatar
Avatar
heinrich5991
wdym, link to the lib directly?
the path to the lib directly, instead using the root
Avatar
path = "/abc/def" probably works, too, no?
14:45
aah
14:45
I get it
Avatar
not if i not use the direct path tolib
14:45
xd
Avatar
you mean it doesn't work with the path to the workspace
14:45
with path = "…"
Avatar
Avatar
heinrich5991
you mean it doesn't work with the path to the workspace
well it is indeed a different project. but yeah i just want to link to it's workspace so i don't have to find all paths for all libs
Avatar
Avatar
Ewan
speaking of scheduler which one should I use
i think u can only change scheduler by applying kernel patches
14:50
iirc
14:50
but i seen some videos
14:50
TKG-pds seems the best specially for gaming
14:50
but BORE is new
14:50
and i havent seen benches
Avatar
Avatar
Ryozuki
@Learath2 do u know about the new BORE scheduler?
Nope, haven't seen it yet
14:57
If you want to try a new scheduler you'll need to use epatches
14:57
Maybe someone already has a kernel package with this patchset in some overlay?
Avatar
Avatar
Ryozuki
i think u can only change scheduler by applying kernel patches
i wasn’t gonna use the distribution kernel forever
15:00
this is fine i think
Avatar
Join a server and wait for chat to disappear, then use chat all hi !screenshot_2023-09-08_17-24-14
15:43
ae7eda1 revert change to quad selection (resolves 7025) - Marmare314 f3eaa10 Merge pull request #7102 from Marmare314/revert-6844 - Robyt3
Avatar
@Robyt3 😬
Avatar
Yeah, when PR's for label changes?
Avatar
whats going on
Avatar
xDDD
Avatar
We edited tags at the same time and it conflicted
16:05
race condition
Avatar
github moment
16:06
chillerdragon: ^
Avatar
chillerdragon BOT 2023-09-08 16:06:35Z
Indeed
16:06
Very GitHub
Avatar
chillerdragon BOT 2023-09-08 16:26:25Z
@Kaffeine: oh no infclass is vanilla 0.6 based bro. You do all the refactorings haha. Reminds me of my humble 0.7 support beginnings of cherry picking random upstream commits into ddnet. I can’t imagine what it’s like porting that to ddnet. Good luck bro! Reminds me of the insane ddnet++ merge to ddnet. That was nuts. It was a seperate git repo. Where the initial commit was from me. And I somehow managed to get years of my history attached on the ddnet history and then merge back up to master.
16:26
16:26
Looked like this for days
16:26
Was jumping from ddnet release to release and doing a lot of merges
💯 1
16:27
Which is also horrible because the troll deen force pushed away release tags
Avatar
now that im thinking about it damn ddnet has been in some sort of update drought as of recently
Avatar
chillerdragon BOT 2023-09-08 16:33:05Z
Still getting weekly conflicts in all my forks
16:33
ddnet code base moves way too fast
16:33
And teeworlds code base too slow
16:33
@Voxel: ddnet is not Update dry! Did you see teeworlds? :D
16:34
oh wait OHHHH
Avatar
chillerdragon BOT 2023-09-08 16:35:15Z
There was 1 feature release in my decade long playtime
16:35
ddnet does crazy updates all the time. For example a lot of editor things happening right now
Avatar
anyways i think ddnet is gonna become more backwards compat after 0.7 support releases
16:36
like, more and more old things will be supported
Avatar
chillerdragon BOT 2023-09-08 16:36:29Z
Like 0.6 ? :D
Avatar
isnt This 0.6
Avatar
chillerdragon BOT 2023-09-08 16:36:56Z
That’s the joke
16:36
It’s still old
Avatar
Avatar
Voxel
anyways i think ddnet is gonna become more backwards compat after 0.7 support releases
DDNet is backward compatible on the network level but on the codebase and API it is the Elusive Joe. Every patch release results in conflicts here and there (at least on the client side).
Avatar
Hello, Today we are going to talk a little bit about a big feature in the expansion, Quality!
Avatar
Avatar
chillerdragon
@Kaffeine: oh no infclass is vanilla 0.6 based bro. You do all the refactorings haha. Reminds me of my humble 0.7 support beginnings of cherry picking random upstream commits into ddnet. I can’t imagine what it’s like porting that to ddnet. Good luck bro! Reminds me of the insane ddnet++ merge to ddnet. That was nuts. It was a seperate git repo. Where the initial commit was from me. And I somehow managed to get years of my history attached on the ddnet history and then merge back up to master.
Yeah but "This is the way". Infclass is huge — 24 entity types, 28 weapons, 22 player classes, custom map format with own external map editor, localization with "2 248 words to translate", statistics, classes menu, and the original author decided to refactor some base classes (CConsole) 🤯. I wrote own CMake file (so no, I don't benefit from https://github.com/ddnet/ddnet/pull/7145) and build with conan, so everything is different.
16:54
Initially whole mod logic was baked into the base classes (CServer, CCharacter, CPlayer, etc). (edited)
Avatar
Avatar
chillerdragon
ddnet does crazy updates all the time. For example a lot of editor things happening right now
the editor got changed like 30 times this month
Avatar
True. A few month ago I added initial infclass maps support to the client fork, and damn the implementation took twice less time than I already spent on the many rebases of the editor code. 🤯 😅
Avatar
Avatar
Learath2
@Chairn are you perhaps around?
sometimes i am 😉
17:40
i hope it wasn't too important
Avatar
Avatar
Chairn
i hope it wasn't too important
No, I was just curious if you knew about how much leakage current modern mosfets have 😄
Avatar
depends on the feature size
17:47
since 28nm node, leakage is rising again due to smaller gates, so 14nm is more leaky than 22nm for instance
17:47
i think it's around 100pA to 1nA
17:50
you have to account for dynamic power, i.e. switching activity which is proportionate to the frequency and to the square of voltage (edited)
17:51
Pdyn = CV²f (edited)
17:52
and then, you also need to account for line effects which are R and C
Avatar
ugh, mixing cyrillic into the latin serbian. i swear ill edit it myself some time soon
Avatar
since when is cyberfighter serbian
Avatar
since today 🥳
Avatar
Launching client and server with elevated privileges can cause files and folders to have inconsistent permissions and should never be necessary. Therefore, immediately quit client and server if elevated privileges are detected. On Unix, this mean the process was launched either by the "root" user itself or by using the "sudo" command on a regular user. On Windows, this means the process was launched by giving it administrative access using User Account Control (UAC). This does not inclu...
justatest 1
Avatar
Avatar
Iza
since when is cyberfighter serbian
he was like always serbian
20:06
thats why he refuses to talk with me troll (edited)
Avatar
CLIENT_VERSIONNR is used to declare DDNet protocol capabilities. It makes no sense for a forked client to suddenly report different DDNet client version for the same codebase. Equally for the server code it makes no sense to report SERVER_DEMO_CLIENT DDNet version different (lower) than what is supported by this code base (and e.g. record network events generated for some old client version). This way the mods can define their project with own version after DDNet project() to at the ...
20:55
yt goin wild
Avatar
When you’ve gone through all the english tutorials on youtube
22:10
8514e54 Update renames: reference ticket system - Robyt3 93efdda Merge pull request #269 from Robyt3/Rename-Update - def-
Avatar
1074a5f CMake: Use DDNet_VERSION to construct DDNET_VERSION_NUMBER - Kaffeine 6b78013 CMake: Set package version to the project version - Kaffeine b951eab Merge pull request #7153 from infclass/for-ddnet4 - def-
Avatar
If the server deep freezes you forcefully without your local client predicting you entered a deep freeze tile (or you mispredicted and entered deep freeze anyway) you will still be able to do local inputs for about a second. This doesn't happen with regular freeze only deep freeze.
23:34
When they got added it was possible to adjust for example the thickness by modifying the starttick. It seems like that only works for regular lasers (rifle) and shotgun now. That's really sad for mods, and I really wonder why this was required for ANTIPING OFF. I suspect this commit: https://github.com/ddnet/ddnet/commit/e10f52821510fe37b47aa91de627b7bba2235b27 @trml could you change that again and adjust it to work the way it worked before? It broke something in my mod, and as I said I...
Exported 434 message(s)