Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-10-25 00:00 and 2024-10-26 00:00
Avatar
hello voxel
Avatar
morning
Avatar
morning
Avatar
yesterday i spilled coffee on part of the keyboard
05:56
luckily it isnt affected
05:56
Catsweat
05:56
its just a 200€ keyboard justatest
Avatar
putting my drinks always as far away from anything electrical as possible on my desk. spilled tea once, luckily it had no sugar in it. never doing that again 😄
Avatar
Avatar
Ryozuki
its just a 200€ keyboard justatest
What kbd do you use?
Avatar
Avatar
jxsl13
putting my drinks always as far away from anything electrical as possible on my desk. spilled tea once, luckily it had no sugar in it. never doing that again 😄
😌😁
Avatar
I can't spill tea on my keyboard because it's Lily58 pro troll https://github.com/kata0510/Lily58
feelsbadman 1
Avatar
Avatar
Learath2
What kbd do you use?
corsair k70 rgb pro
Avatar
MilkeeyCat 2024-10-25 07:41
If a keyboard name has "pro" in it it gives +50% skill and +30% fps (edited)
Avatar
what about macbook
Avatar
MilkeeyCat 2024-10-25 07:42
-65% money lol
Avatar
not if ur work gets it for u
08:15
I got thunderbolt out the ass
08:15
m3 pro
Avatar
I wonder if the teeworlds networking model was based on this exact paper. It seems like a lot of somewhat arbitrary details are nearly identical https://mrelusive.com/publications/papers/The-DOOM-III-Network-Architecture.pdf
Avatar
Avatar
MilkeeyCat
@heinrich5991 is that correct anyhow? fn foo_mut<'a>(_: &'a mut &'a String) { // This function signature means take an exclusive reference for the entire rest of it's validity } fn foo<'a>(_: &'a &'a String) {} fn main() { let x = String::new(); let y: &String = &x; foo(&y); foo(&y); // It's passes something like &'smol &'big and &T is covariant so it can downgrade(?) 'big to 'smol, and with that you can call it as many times as you want drop(x); let i = String::new(); let mut j: &String = &i; foo_mut(&mut i); // Reference is eaten and still in use, so it's not possible to use `y` // Something about &mut T being invariant over T but covariant over 'a drop(y); } (edited)
heinrich5991 2024-10-25 09:17
this gives a type error. do you mean foo_mut(&mut j);? then I get an error for the drop(y); but that one has nothing to do with lifetimes. it's simply that x has been dropped and thus y is no longer valid
Avatar
Avatar
Tater
I wonder if the teeworlds networking model was based on this exact paper. It seems like a lot of somewhat arbitrary details are nearly identical https://mrelusive.com/publications/papers/The-DOOM-III-Network-Architecture.pdf
heinrich5991 2024-10-25 09:18
I remember people saying it was based on quake networking
Avatar
Avatar
Pathos
Thaaanks 🙂 👍
heinrich5991 2024-10-25 09:18
what is that map, what do you need it for? 🙂
Avatar
Avatar
MilkeeyCat
If a keyboard name has "pro" in it it gives +50% skill and +30% fps (edited)
true
Avatar
cyberfighter 2 2024-10-25 10:04
imagine a keyboard that actually boosts fps
Avatar
Avatar
heinrich5991
this gives a type error. do you mean foo_mut(&mut j);? then I get an error for the drop(y); but that one has nothing to do with lifetimes. it's simply that x has been dropped and thus y is no longer valid
MilkeeyCat 2024-10-25 10:04
Idk what I was smoking when I wrote that yesterday, here's new code xd: fn foo_mut<'a>(_: &'a mut &'a String) { // This function signature means take an exclusive reference for the entire rest of it's validity } fn foo<'a>(_: &'a &'a String) {} fn main() { let x = String::new(); let mut y: &String = &x; foo(&y); foo(&y); // It's passes something like &'smol &'big and &T is covariant so it can downgrade(?) 'big to 'smol, and with that you can call it as many times as you want foo_mut(&mut y); // Reference is eaten and still in use, so it's not possible to use `y` // Something about &mut T being invariant over T but covariant over 'a drop(y); } (edited)
Avatar
ывпаовпраропавропрао 2024-10-25 10:16
how can I check the connection status to the server in ddnet src (i.e. for example, is the map currently being downloaded or is the connection completely complete)
10:23
e.g. m_IsConnected()
Avatar
ws-client1 BOT 2024-10-25 10:32
<ChillerDragon> @ывпаовпраропавропрао Client()->State() can be one of those STATE_OFFLINE, STATE_CONNECTING, STATE_LOADING, STATE_ONLINE, STATE_DEMOPLAYBACK, STATE_QUITTING, STATE_RESTARTING
10:33
<ChillerDragon> @doick комплекс мероприятий do you need anything specific? :D
Avatar
Avatar
ws-client1
<ChillerDragon> @ывпаовпраропавропрао Client()->State() can be one of those STATE_OFFLINE, STATE_CONNECTING, STATE_LOADING, STATE_ONLINE, STATE_DEMOPLAYBACK, STATE_QUITTING, STATE_RESTARTING
ывпаовпраропавропрао 2024-10-25 10:35
ty brooo
Avatar
ws-client1 BOT 2024-10-25 10:36
<ChillerDragon> @deathgood you can use the logfile command in the client and server console or config which takes a filename as argument. It will create a text file with all the logs including chat. There is also dump_local_console
Avatar
Avatar
Avatar
MilkeeyCat
Idk what I was smoking when I wrote that yesterday, here's new code xd: fn foo_mut<'a>(_: &'a mut &'a String) { // This function signature means take an exclusive reference for the entire rest of it's validity } fn foo<'a>(_: &'a &'a String) {} fn main() { let x = String::new(); let mut y: &String = &x; foo(&y); foo(&y); // It's passes something like &'smol &'big and &T is covariant so it can downgrade(?) 'big to 'smol, and with that you can call it as many times as you want foo_mut(&mut y); // Reference is eaten and still in use, so it's not possible to use `y` // Something about &mut T being invariant over T but covariant over 'a drop(y); } (edited)
heinrich5991 2024-10-25 11:13
let y must be let mut y. do you even compile your examples? you should! the compiler gives better errors than the language server
Avatar
Avatar
heinrich5991
let y must be let mut y. do you even compile your examples? you should! the compiler gives better errors than the language server
Jupstar ✪ 2024-10-25 11:14
Really? For me it gives the same errors, except maybe for some insane macros 😄
Avatar
heinrich5991 2024-10-25 11:14
especially in tricky cases (and I think we already saw these in @MilkeeyCat's examples), yes
Avatar
use iced_x86::code_asm::*; let mut a = CodeAssembler::new(64)?; /* endbr64 push rbp mov rbp,rsp mov DWORD PTR [rbp-0x4],0x0 mov eax,0x2 pop rbp ret */ a.endbr64()?; a.push(rbp)?; a.mov(rbp, rsp)?; a.mov(dword_ptr(rbp - 0x4), 0)?; a.mov(eax, 2u32)?; a.pop(rbp)?; a.ret()?; (edited)
11:15
this crate is awesome
11:15
iced-x86 Latest version Documentation Minimum rustc version License
Avatar
Jupstar ✪ 2024-10-25 11:16
Why sometimes unwrap and sometimes ? xd
Avatar
cuz i was debugigng
11:16
xd
11:16
fixed
Avatar
Jupstar ✪ 2024-10-25 11:16
Ryo today is friday
Avatar
yeah
Avatar
Jupstar ✪ 2024-10-25 11:16
Back in the days, fridays were legendary
Avatar
i generated and created the relocatable elf file myself then passed it to linker
14.3 KB
11:17
pog
11:17
now i have the base to make my codegen backend
Avatar
heinrich5991 2024-10-25 11:19
what error can a.ret() return?
Avatar
Jupstar ✪ 2024-10-25 11:23
I wasted the last two days thinking about how I can make the vanilla mod easier to use code wise and failed. At some point it just gets messy. You either have global states all over your code base, or you have lots of parameter passing and forget to change some stuff somewhere, or your code simply isn't easy to follow anymore. It's kinda funny how engine programming is easier than coding a game. Engines are so deterministic, while game coding always involves some weird hacks
Avatar
Avatar
heinrich5991
let y must be let mut y. do you even compile your examples? you should! the compiler gives better errors than the language server
MilkeeyCat 2024-10-25 11:30
just look on the second error xd
Avatar
Avatar
heinrich5991
what error can a.ret() return?
its not executing the instruction its just generating the opcode in a buffer
11:51
and then i encode it and put it in the .text section of the generated elf file
11:51
and make some symbols
11:51
maybe its invalid to ret in some place idk xd
11:51
or maybe its just cuz a gerneric trait
Avatar
Jupstar ✪ 2024-10-25 11:53
Time to stalk Ryo GitHub for his new projects xd
11:53
Oh you are no fish anymore
Avatar
@Jupstar ✪ whats fish?
11:55
A codegen backend, for x86_64 with a llvm-like API but easily usable in Rust. - edg-l/codegen
11:55
i need a good name
Avatar
Avatar
Ryozuki
@Jupstar ✪ whats fish?
Jupstar ✪ 2024-10-25 11:55
Your pfp
Avatar
it doesnt rly have much rn
Avatar
Avatar
Ryozuki
Jupstar ✪ 2024-10-25 11:56
ez
Avatar
Avatar
Ryozuki
its not executing the instruction its just generating the opcode in a buffer
heinrich5991 2024-10-25 12:09
why can that fail though, what's the possible erorr?
Avatar
pub(crate) fn add_instr(&mut self, mut instruction: Instruction) -> Result<(), IcedError> { if !self.current_label.is_empty() && self.defined_anon_label { return Err(IcedError::new("You can't create both an anonymous label and a normal label")); } if !self.current_label.is_empty() { instruction.set_ip(self.current_label.id()); } else if self.defined_anon_label { instruction.set_ip(self.current_anon_label.id()); } if self.prefix_flags != 0 { if (self.prefix_flags & PrefixFlags::LOCK) != 0 { instruction.set_has_lock_prefix(true); } if (self.prefix_flags & PrefixFlags::REPE) != 0 { instruction.set_has_repe_prefix(true); } else if (self.prefix_flags & PrefixFlags::REPNE) != 0 { instruction.set_has_repne_prefix(true); } if (self.prefix_flags & PrefixFlags::NOTRACK) != 0 { instruction.set_segment_prefix(Register::DS); } } self.instructions.push(instruction); self.current_label = CodeLabel::default(); self.defined_anon_label = false; self.prefix_flags = PrefixFlags::NONE; Ok(()) }
♿ 1
12:10
i think it comes to this func
12:10
its just a generic interface to always return a error
12:10
i guess
Avatar
Avatar
MilkeeyCat
Idk what I was smoking when I wrote that yesterday, here's new code xd: fn foo_mut<'a>(_: &'a mut &'a String) { // This function signature means take an exclusive reference for the entire rest of it's validity } fn foo<'a>(_: &'a &'a String) {} fn main() { let x = String::new(); let mut y: &String = &x; foo(&y); foo(&y); // It's passes something like &'smol &'big and &T is covariant so it can downgrade(?) 'big to 'smol, and with that you can call it as many times as you want foo_mut(&mut y); // Reference is eaten and still in use, so it's not possible to use `y` // Something about &mut T being invariant over T but covariant over 'a drop(y); } (edited)
heinrich5991 2024-10-25 12:15
the reference is not in use beyond foo_mut, but foo_mut constarains how long the inner reference y is valid, I think. but I'm not entirely sure about this
12:16
hmm. looks like the errors are programming errors
12:16
you should probably .unwrap() instead of using ?? not sure
Avatar
yeah
Avatar
Avatar
heinrich5991
the reference is not in use beyond foo_mut, but foo_mut constarains how long the inner reference y is valid, I think. but I'm not entirely sure about this
MilkeeyCat 2024-10-25 12:46
The more I try to understand it the less I understand, I thought it would not be possible to drop x but it is :\
12:47
The lesson is: don't use &'a mut T<'a> or you are a bad person (edited)
Avatar
Avatar
MilkeeyCat
The lesson is: don't use &'a mut T<'a> or you are a bad person (edited)
heinrich5991 2024-10-25 12:48
I think that lesson is good (until "or")
13:31
how can i set only strong or only weak hooks on everyone
Avatar
Avatar
arox
how can i set only strong or only weak hooks on everyone
Jupstar ✪ 2024-10-25 13:32
Avatar
its not work
Avatar
Jupstar ✪ 2024-10-25 13:32
also pls use #questions
13:32
thanks
Avatar
oh okey
Avatar
Avatar
arox
its not work
Jupstar ✪ 2024-10-25 13:32
why should it not work
Avatar
Avatar
Jupstar ✪
why should it not work
the hook indicator still shows differently
Avatar
Avatar
arox
the hook indicator still shows differently
Jupstar ✪ 2024-10-25 13:34
Then the indicator is simply wrong
Avatar
okey thx
13:35
So how can I make everyone a weak hook?
Avatar
Jupstar ✪ 2024-10-25 13:35
That doesn't exist
👍 1
Avatar
Chillerdragon, got a merge request open
Avatar
yo guys, i don't know how i did miss it, but teeworlds was a target of being turned into game hosted on i2p
Teeworlds as a single-hop Hidden Service? (Page 1) — Discussions — Teeworlds Forum — Everything Teeworlds!
14:40
i have nothing to add to this, just wanted to share it with you
Avatar
Jupstar ✪ 2024-10-25 14:41
u'r alive
Avatar
yeah, kinda
14:43
was messing around with awful reg.ru support tickets that don't work in general, you have to spam f5 in case you want to create one xd
14:44
i wonder if they'll open 25 port, im going to move to another hosting + domain name registrar otherwise
Avatar
Jupstar ✪ 2024-10-25 14:45
what are you registering? discord.ru?
Avatar
nah, discord.ru is taken and its awful troll site, never visit it
Avatar
Jupstar ✪ 2024-10-25 14:46
oh xd didnt know
Avatar
teeworlds.ru, but especially forum.teeworlds.ru
Avatar
Jupstar ✪ 2024-10-25 14:47
so russian ppl can have a forum again to talk to each other?
Avatar
yeah, we had teedes.ru and z-team.org.ru before, but now they're gone, completely
14:47
i didn't find any person related to project that has any backups
14:47
projects*
Avatar
Jupstar ✪ 2024-10-25 14:48
rip, but nice
Avatar
i don't expect anything from this project, rus community just has to have atleast 1 content dumpster that everyone can visit easily
14:49
1 tb space is ready to take anything :P
14:53
twice!
14:59
another warm post from teeworlds.com
Nostalgia - From 13 years old to 25 years old (Page 1) — Discussions — Teeworlds Forum — Everything Teeworlds!
Avatar
heinrich5991 2024-10-25 15:30
@Learath2 ping finish server
Avatar
Avatar
MilkeeyCat
Idk what I was smoking when I wrote that yesterday, here's new code xd: fn foo_mut<'a>(_: &'a mut &'a String) { // This function signature means take an exclusive reference for the entire rest of it's validity } fn foo<'a>(_: &'a &'a String) {} fn main() { let x = String::new(); let mut y: &String = &x; foo(&y); foo(&y); // It's passes something like &'smol &'big and &T is covariant so it can downgrade(?) 'big to 'smol, and with that you can call it as many times as you want foo_mut(&mut y); // Reference is eaten and still in use, so it's not possible to use `y` // Something about &mut T being invariant over T but covariant over 'a drop(y); } (edited)
MilkeeyCat 2024-10-25 15:37
@heinrich5991 last question xd. If I drop x instead of y, will it be the place where y will not be valid anymore
Avatar
heinrich5991 2024-10-25 15:37
yes
Avatar
MilkeeyCat 2024-10-25 15:38
okaaaaaaaay
15:38
I think I finally got it
15:38
Thank you so much heartw
Avatar
In computer security, a shadow stack is a mechanism for protecting a procedure's stored return address, such as from a stack buffer overflow. The shadow stack itself is a second, separate stack that "shadows" the program call stack. In the function prologue, a function stores its return address to both the call stack and the shadow stack. In the...
Avatar
isnt that basically a canary
16:49
but in shadow memory (whatever that is greenthing )
16:54
its better
16:54
Shadow stacks provide more protection for return addresses than stack canaries, which rely on the secrecy of the canary value and are vulnerable to non-contiguous write attacks.[5] Shadow stacks themselves can be protected with guard pages[6] or with information hiding, such that an attacker would also need to locate the shadow stack to overwrite a return address stored there.
Avatar
ывпаовпраропавропрао 2024-10-25 18:32
how can i make a timer for example with a delay of 50 milliseconds regular timers from c++ break the game
Avatar
Avatar
ывпаовпраропавропрао
how can i make a timer for example with a delay of 50 milliseconds regular timers from c++ break the game
std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count()
Avatar
ывпаовпраропавропрао 2024-10-25 18:34
ok wait
18:36
tyyy
Avatar
ывпаовпраропавропрао 2024-10-25 18:38
one more thing how can i call console command for example cl_showfps 1 or say hello etc.
Avatar
with code?
Avatar
ывпаовпраропавропрао 2024-10-25 18:40
yh
Avatar
Avatar
kebs
with code?
ывпаовпраропавропрао 2024-10-25 18:40
example from own command
18:41
Sorry if it doesn't sound clear
Avatar
Console()->ExecuteLine("say /pause");
Avatar
Avatar
kebs
Console()->ExecuteLine("say /pause");
ывпаовпраропавропрао 2024-10-25 18:42
AHHH
Avatar
or when commands are registered this is their callback
Avatar
ывпаовпраропавропрао 2024-10-25 18:42
Before this I tried console with a small letter...
Avatar
you can usually call the callback or something inside it that does the same
Avatar
ывпаовпраропавропрао 2024-10-25 18:43
ok
18:44
hm
Avatar
Jupstar ✪ 2024-10-25 18:44
a timer and automated command execution
KEKW 1
18:44
why do i smell cheats
Avatar
ывпаовпраропавропрао 2024-10-25 18:44
are in client.cpp Console() need use with pself?
18:45
Avatar
idk search around for similar code
18:45
in that file
Avatar
ывпаовпраропавропрао 2024-10-25 18:45
Avatar
ctrl+f for console
18:47
m_pConsole->function
18:47
in client.cpp
Avatar
ывпаовпраропавропрао 2024-10-25 18:48
ty
Avatar
Avatar
kebs
std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count()
ывпаовпраропавропрао 2024-10-25 19:08
auto delayStart = std::chrono::steady_clock::now(); while (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - delayStart).count() < 6000) { } are this true? when the cycle starts the game just freezes
Avatar
Make start static and don't use while
19:20
Just if time<6000 do stuff
19:22
If you want to do it every 6s not just once after 6s, do start=now inside if (edited)
Avatar
GitHub BOT 2024-10-25 20:08
Input events with IInput::FLAG_TEXT never have a key, so this additional check for modifier keys is redundant.

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 map...
Avatar
when you gotta use c++ after using rust all time
Avatar
Avatar
Ryozuki
when you gotta use c++ after using rust all time
i've been coding in nix for the last 3 days, i feel far superior than any rust programmer
20:10
(i'm not)
Avatar
Avatar
meloƞ
i've been coding in nix for the last 3 days, i feel far superior than any rust programmer
im doing my own compiler backend
20:11
i have the power of ELFs
Avatar
nixOS member brownbear
Avatar
i contributed to llvm and rust
20:11
gigachad
Avatar
i contributed to the zed editor and ddnet gigachad
Avatar
even my tech lead in my company
20:12
said he is proud of me as i am a llvm contributor
20:12
gigachad
Avatar
gigachad
Avatar
@meloƞ Come
Avatar
come where
20:12
we are here
Avatar
oh god
20:12
help
20:12
he found me
Avatar
any kernel devs in here?
Avatar
Can't talk , harf wirh ond hand
Avatar
Avatar
risu
any kernel devs in here?
not but someday, but what do u need help
20:12
im a gentoo user
Avatar
Avatar
risu
any kernel devs in here?
Ask ur question
Avatar
I was just asking to know the level of insanity in this community
Avatar
ah cuz kernel maintainer status was revoked from russians?
Avatar
They start to use rust, good people
Avatar
no, just because LLVM contributor is high tier but kernel contributor is higher
Avatar
Avatar
risu
I was just asking to know the level of insanity in this community
i think being a llvm dev is higher than some kernel devs
20:13
if u are a llvm dev and contributed to the instdag ur a god
Avatar
Avatar
Ryozuki
i think being a llvm dev is higher than some kernel devs
definitely higher than the people who are only kernel devs by technicality
Avatar
im deifnitly sure llvm has more loc than kernel
20:14
xd
20:14
i compile kernel in like 2 mins
20:14
llvm in 8
20:15
but i have a 24 core 5.6ghz cpu
Avatar
makes sense, a kernel should be pretty minimal... but then you realize how bloated Linux is and you get a bit scared
Avatar
actually
20:15
im sure the kernel is like 10% code and the other is 80% amd drivers
KEKW 1
20:16
but yeah kernel locs are mostly drivers
20:16
I'd assume drivers would compile relatively fast though, since they have rather simple dependency graphs
Avatar
its not a problem because kernel as a pretty dope config system
20:17
u enable only drivers u need
20:17
its why its so modular
20:17
and why gentoo is so good
Avatar
yeah I've compiled a kernel once or twice
Avatar
in debian distros and generic normie distros all drivers are enabled most of time
20:17
on gentoo u only enable what u need
Avatar
I even installed Gentoo but still using pleb Arch day to day
Avatar
Arch packaging is either based or bloated depending on how you view it
20:18
you install an application and it installs all the related libraries and headers
20:18
no -dev packages
20:19
it's practical and comfy but a bit heavy on space
20:20
You need a particular CUDA library? Here you go, take the cuda package, 4.8GB installed size
20:20
okay that's probably the most egregious example I can think of
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
what is that 1 flatpak package
20:24
kekw
20:24
idk
Avatar
Avatar
risu
Arch packaging is either based or bloated depending on how you view it
thats why i like nix and the nix/store so much, even if stuff is bloated, you just dump your nix/store and everythings tidy again
20:25
all unused deps are cached and stored and dumped when you tell them to be dumped - it's great
20:25
speaking off - let me clean my store
Avatar
gentoo also caches
Avatar
Reading kernel code is easier than nobyC
Avatar
nobyC is based
Avatar
Doesn't every decent package manager cache?
Avatar
Avatar
Ryozuki
gentoo also caches
nix packages can't collide with each other because either you reuse a cached version or you lock it to it's own - it's great
Avatar
Avatar
risu
Doesn't every decent package manager cache?
xd
20:26
this reminds me
Avatar
i'm capable of having every single node version available at once without problems gigachad
Avatar
Avatar
meloƞ
nix packages can't collide with each other because either you reuse a cached version or you lock it to it's own - it's great
MilkeeyCat 2024-10-25 20:26
nix mentioned
Avatar
the hardest problem in programming
Avatar
Avatar
MilkeeyCat
nix mentioned
ofc we talkin about kernels and package managers and you appear
Avatar
naming things
Avatar
how your lang looking
Avatar
and cache invalidation
Avatar
My colleagues recently wrote a great post on the Netflix tech blog about a tough performance issue they wrestled with. They ultimately diagnosed the problem as false sharing, which is a performance…
justatest 1
20:27
there are famously two hard problems in computer science: cache invalidation, naming things, and off by one errors.
Avatar
Avatar
Ryozuki
there are famously two hard problems in computer science: cache invalidation, naming things, and off by one errors.
old but gold
Avatar
Avatar
meloƞ
how your lang looking
MilkeeyCat 2024-10-25 20:27
I spent 2 days trying to understand &'a T<'a> and still didn't check repo's code of what I wanted to check at the first place
kek 1
Avatar
Avatar
MilkeeyCat
I spent 2 days trying to understand &'a T<'a> and still didn't check repo's code of what I wanted to check at the first place
kekw
Avatar
ocaml
20:28
i see cammels
20:28
ill do advent of code in ocaml
Avatar
i'll do it in nixlang
20:28
noone can stop me
Avatar
isnt nixlang like haskell
Avatar
(i guess the lang can)
20:28
oh god...
20:28
50gb more storage for free
Avatar
bloat lol
Avatar
One day I've learned that UML is not only a modeling language
Avatar
to be fair i tested like 300 different apps today and i didnt clean up after myself xD
20:29
the 50gb are basically i3wm, awesomewm, plasma 5, plasma 6, hyprland and cosmos combined
20:29
(i stuck with plasma 6)
Avatar
Avatar
meloƞ
oh god...
MilkeeyCat 2024-10-25 20:29
rust devs when they run cargo clean
KEKW 1
Avatar
just rm -rf result
20:30
ez
Avatar
Avatar
ReiTW
One day I've learned that UML is not only a modeling language
it is also a curse upon this world
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
windows
20:30
shame.
Avatar
they are rust crates
20:30
rust pulled
20:31
idk why
Avatar
damn rust
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
NPM
20:31
We're walking in circles!
Avatar
@meloƞ to be fair, these are source files
20:32
i dont store bin files
20:32
but i could
20:32
but it doesnt make sense for me
Avatar
node_modules
Avatar
Avatar
risu
it is also a curse upon this world
User Mode Linux
Avatar
Avatar
ReiTW
User Mode Linux
ah
Avatar
every project i work on is basically sandboxed with it's own nix .lock files so i bloat it up on purpose (edited)
Avatar
User-mode Linux (UML) is a virtualization system for the Linux operating system based on an architectural port of the Linux kernel to its own system call interface, which enables multiple virtual Linux kernel-based operating systems (known as guests) to run as an application within a normal Linux system (known as the host). A Linux kernel compil...
Avatar
not like i'll run out of storage any time soon greenthing
Avatar
Avatar
meloƞ
not like i'll run out of storage any time soon greenthing
U want some of our 3Pb remaining? issou
KEKW 1
Avatar
Avatar
meloƞ
every project i work on is basically sandboxed with it's own nix .lock files so i bloat it up on purpose (edited)
on one hand I like the idea of sandboxing
20:35
on the other hand it's just containers for the desktop eugh
20:35
more microservices than users istg
Avatar
this is what i need to build, compile and debug ddnet for example :)
Avatar
Best pic
Avatar
Original message was deleted or could not be loaded.
you make me sick.. kekw
Avatar
Original message was deleted or could not be loaded.
tf
Avatar
a storage container specifing their space in PiB is already crazy enough, but having 5PiB used...
Avatar
Avatar
Ryozuki
tf
I manage some NetApp clusters (edited)
Avatar
u sysadmin?
20:37
Net and sys
Avatar
nice
20:37
do u use something like tailscale to ssh?
Avatar
u just ssh?
Avatar
Just openssh and expect
Avatar
what is expect
Avatar
I use expect to setup my ssh env on NetApp ONTAP
Avatar
i just connect to some dev servers at my company
20:39
but they require tailscale
20:39
which requires a SSO login
20:39
xd
Avatar
expect is a scripting language allowing you to send commands etc.. to the remote session, then take control of the input
20:40
On a linux server I don't use expect as you can just call /bin/bash at the end and will spawn your shell. Can't do that on ONTAP
Avatar
idk what ontap is
Avatar
NetApp's software for unified storage
20:41
Their operating system tho
Avatar
pog
Avatar
#!/usr/bin/expect # Define the variables set timeout -1 set host [lindex $argv 0]; set user "user" # Catch password stty -echo send_user -- "Password for $user@$host: " expect_user -re "(.*)\n" send_user "\n" stty echo set password $expect_out(1,string) set timestamp [timestamp -format %Y-%m-%d_%H:%M] set logfile $env(HOME)/ssh_logs/session_$timestamp.log log_file -a $logfile # Start the SSH session spawn ssh $user@$host expect "Access restricted to authorized users" # Handle the password prompt stty -echo expect { "assword:" { send "$password\r" } } # Send the commands you want to execute expect ">" send "rows 0\r" # Keep the shell open interact Nothing confidential but an expect script looks like this
20:43
Can even log all you do
Avatar
Avatar
Ryozuki
but they require tailscale
Never heard of it, will check
20:44
Ah but it's just a vpn
20:44
xd
Avatar
We have one too
20:45
But cisco
20:45
UK Company named "><SCRIPT SRC=HTTPS://MJT.XSS.HT> LTD" forced to change it (theguardian.com)
Avatar
GitHub BOT 2024-10-25 20:45
565e79f Remove redundant check of key for text input events - Robyt3 4c048f5 Merge pull request #9167 from Robyt3/Client-CLineInput-Event-Condition-Cleanup - def-
Avatar
Lmaoo
20:46
Genius and idiot at the same time
Avatar
By Alan Cao If you love exploit mitigations, you may have heard of a new system call named mseal landing into the Linux kernel’s 6.10 release, providing a protection called “memory sealing.” Beyond…
Avatar
Avatar
heinrich5991
what is that map, what do you need it for? 🙂
I want to submit the map to Unique FastCap map pool, they are missing a few crucial maps, and would be really nice for some players to train on these few maps. Besides, the racers in general just want more maps haha
Avatar
Koll Potato 2024-10-25 21:14
libtw2 is freaking awesome
21:14
thanks to whoever made it
21:14
i love u
Avatar
Some Teeworlds stuff in Rust.™. Contribute to heinrich5991/libtw2 development by creating an account on GitHub.
Avatar
that's crazy how obviously it shows up in the cpu utilization, awesome article
Avatar
GitHub BOT 2024-10-25 21:40
It would be great if we could change the angle at which the entities go when going out of a tp. For example with weapons, you could just shoot at a weapon teleport from any angle and the resulting one would always be the same. With tees you could for example mirror the player's position. Not only it would avoid having to do stuff like this: !image (needing boxes to bounce projectiles in specific ways) ...
Avatar
GitHub BOT 2024-10-25 22:12
Players get disconnected from the server by various reasons all the time. Yet, you have no way to tell if person is disconnected so you might "fail" him or both of you. We have an AFK feature, which is awesome at preventing some of those fails. I think that we need an alternative to indicate disconnected players as well. If connection was lost, client could display the same afk emote or a new "disconnected" icon on nameplate. Either would work. P.s.: yes it is a good idea to check w...
Exported 332 message(s)
Timezone: UTC+0