Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-09-02 00:00:00Z and 2022-09-03 00:00:00Z
Avatar
Avatar
Cellegen
Yo, can we have an option to have only the team leader lock the team?
i would just stay still and resist the tees who are trying to take me with them
Avatar
Avatar
Cellegen
@Voxel
I tried your two alternate poses
05:54
Is this what you mean?
05:57
What say you guys? Do you prefer one of these over the original?
Avatar
Last one is great, looks like gun rests on the ground too
Avatar
Hmm difficult actually
Avatar
Y'know what? I'm going to reverse engineer the code temporarily to make this whole process faster. I'm going to make it where you're in afk state literally any time
05:59
I don't know why I didn't think of this earlier
Avatar
The first alternative pose is worse than the original idea i think
06:00
Lol yeah that is smart
Avatar
Avatar
Voxel
Y'know what? I'm going to reverse engineer the code temporarily to make this whole process faster. I'm going to make it where you're in afk state literally any time
Were you waiting for the tee to go afk?
Avatar
I was actually trying to find an AFK tee holding a special weapon like this.
06:04
Pistol is too far back :((
06:08
Let's do a vote: Vote which one you want the state to base off of! Would you rather have it on the tee's back or resting on the ground?
⬅️ 20
➡️ 3
Avatar
How to use command ‘“auth_add_p”’? (edited)
06:20
What method use hash?
Avatar
Avatar
Voxel
I tried your two alternate poses
u can now make fortnite dances animations to monetize the game (edited)
Avatar
i do not want to make fortnite dances
Avatar
that was ironic
Avatar
nft_fortnite_dance
issou 3
06:43
100$
Avatar
Hmpg. I guess Cellegen likes the back placement more after all.
Avatar
cuz of the picture you sent about the pistol
Avatar
Avatar
ReiTW
u can now make fortnite dances animations to monetize the game (edited)
or blockchain
Avatar
I need to put ryo-os on github and continue it
08:22
Was fun making my own async runtime on a bare os
Avatar
An extremely fast Python linter, written in Rust. Contribute to charliermarsh/ruff development by creating an account on GitHub.
10:06
10:06
ruff > pylint
Avatar
Avatar
CrazyDevNEW
What method use hash?
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
10:24
https://ddnet.tw/modauth/password.html this is a js implementation of the same script with random passwords
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
These graphs comparing actual programming languages to toys like python are actually very funny. An entire order of magnitude or two difference
Avatar
True xd
Avatar
Avatar
Learath2
It's salted md5. https://github.com/ddnet/ddnet/blob/master/scripts/hash_passwords.py this script generates them
Thx
Avatar
89558d6 First send message to team, then kill team (fixes #5721) - def- cbb6181 Merge #5722 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-09-02 11:36:11Z
Avatar
Github has followers? 😄 Unfortunately some of the repos I'm working on are private now, so not sure I'm interesting to follow
11:44
Next time someone tells me how many Instragram followers they have I'll respond with my Github follower count
Avatar
deen big influencer ddnet
Avatar
Avatar
[quakenet] ChillerDragon
misclick, i dont follow anyone on GH
troll 1
Avatar
memset only worked with CServer::CClient::STATE_EMPTY by chance because it is defined as 0.

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 ...
Avatar
Omg is heinrich back??
Avatar
Seems so, welcome back heinrich5991 🙂
Avatar
'拏 MAhdiyar 2022-09-02 12:38:18Z
Can someone compile a source for me? Has anyone compiled DDNetPP for Windows?
12:38
@Learath2@deen
Avatar
Maybe tonight. I'm outside
Avatar
'拏 MAhdiyar 2022-09-02 12:39:32Z
Really?
12:40
@Learath2
Avatar
Yeah sure. If it's open source and you trust me enough to run binaries I send. I'll compile it for you when I get home
Avatar
'拏 MAhdiyar 2022-09-02 12:43:30Z
Yes, is there anyone who does not trust you? @Learath2
Avatar
887b24d Remove all references to memset - heinrich5991 cc7fbe2 Merge #5798 - bors[bot]
Avatar
I want to make a pr so bad (edited)
Avatar
and what holds u back
Avatar
Hope i feel like doing it tomorrow
13:25
Hmm lazyness and lack of time
Avatar
so its not SOO bad
Avatar
I want to add a auto translated chat wheel like in dota
Avatar
bcs if u'd really want it u wouldnt be lazy xD
13:26
If it was rust i would do it instantly
13:26
BASED
Avatar
then do it in rust based on heinrichs pr 😄
13:26
vulkan
13:26
vulkan
13:26
vulkan
Avatar
It needs to be merged first
Avatar
just so i win in future
Avatar
Hahahha (edited)
Avatar
javascript
13:27
(will I get beaten to death?)
Avatar
currently writing a lexer/parser in pure js this is a lot of fun
13:28
dont ask why
13:29
troll
troll 3
Avatar
Avatar
k2d222
currently writing a lexer/parser in pure js this is a lot of fun
Thats because you havent used rust yet
13:31
Check out nom
Avatar
dont worry I know nom already
Avatar
And pest?
Avatar
I have written an interpreter in rust already
13:32
yes
Avatar
Pest is so elegant
Avatar
odd choice of name
Avatar
i mean they named the language rust xD
Avatar
why is it called rust btw?
Avatar
Rusts are plant diseases caused by pathogenic fungi of the order Pucciniales (previously known as Uredinales). An estimated 168 rust genera and approximately 7,000 species, more than half of which belong to the genus Puccinia, are currently accepted. Rust fungi are highly specialized plant pathogens with several unique features. Taken as a group...
Avatar
Hmm idk
13:40
Fun fact
13:41
Rust before 1.0 had a GC
Avatar
no borrow checker?
Avatar
1.0 is the true rust
13:41
Idk all the details
Avatar
well you should mister rust fanboy
13:42
The only thing that matters is modern rust
13:42
Fearless concurrency
13:44
This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code.
13:44
do this
13:44
and u can learn alot about computers
13:44
i did
13:44
@Jupstar ✪ apple doing 16k pages is smart
13:45
it enables some optimizations
13:45
x86 is stuck at 4k
13:45
iirc with 16k u can have bigger caches
13:45
l2
13:45
without a big perf impact
Avatar
https://www.redox-os.org/ linux is a thing of the past now
Avatar
16K pages are a Good Thing! When running an arm64 Debian VM on Apple M1, using a 16K page size instead of 4K reduces this kernel build time by 16%, to 2m20!
Avatar
Avatar
k2d222
https://www.redox-os.org/ linux is a thing of the past now
i hope this succeeds
13:47
but its rly hard to compete
Avatar
I'm already surprised that it reached this point
Avatar
for me its not the future, i want supervisor OS
13:49
no kernel
13:49
micro kernels suck hard
13:49
windows nt is also micro kernel
13:49
and see how it sucks
13:50
ok windows nt is hybrid
13:50
thats still bit different
13:50
but linux is monolith
Avatar
@Jupstar ✪ the future is kernel-app driven development
13:50
make a tuned kernel for each app
Avatar
probably yes
Avatar
they probs do this
13:51
on data centers
Avatar
the kernel is more an SDK then
Avatar
with specific hardware
Avatar
not really a seperate thing
Avatar
saw that, it is an amazing documentation
Avatar
i implemented it
17:27
ryo os
17:27
BASED
Avatar
Avatar
Jupstar ✪
but linux is monolith
This reminds me of the debate between Linux & Tanenbaum
17:30
for tanenbaum it was the opposite of what you said
Avatar
Avatar
ReiTW
This reminds me of the debate between Linux & Tanenbaum
the question is, why should it ever be the case? if u can move stuff in userspace u can also do it in monolith kernels
17:33
but microkernels by design want to stay small
Avatar
Avatar
Jupstar ✪
but microkernels by design want to stay small
yes so less risks of having code issues, vuln etc.. ig
Avatar
how does that improve performance?
Avatar
it doesn't improve performance
17:40
you have more context switch theorically
Avatar
see, so it sucks
17:42
best is to eliminate context switch completly
17:42
by removing kernels, only have one supervisor for the processes
Avatar
depends also if ur monolithic kernel is written properly
Avatar
rest must proof its not doing shit
17:43
and this is still where i see rusts biggest strength
17:43
and redox is not what i'd want rust for
17:43
for me the os doesnt solve any problem
Avatar
i guess
18:05
redox is more to prove that you can do a linux in rust
18:05
xD
Avatar
Avatar
Jupstar ✪
best is to eliminate context switch completly
how is that possible though
Avatar
everything works in kernel
Avatar
In computing, a context switch is the process of storing the state of a process or thread, so that it can be restored and resume execution at a later point, and then restoring a different, previously saved, state.[1] This allows multiple processes to share a single central processing unit (CPU), and is an essential feature of a multitasking operating system.
18:10
so that kernel wouldnt be mt?
Avatar
Well if you don't want context switches, yes 😄
Avatar
Going back in time
Avatar
Some operating systems also require a context switch to move between user mode and kernel mode tasks
18:10
i guess he refers to these
18:11
For example, in the Linux kernel, context switching involves loading the corresponding process control block (PCB) stored in the PCB table in the kernel stack to retrieve information about the state of the new process. CPU state information including the registers, stack pointer, and program counter as well as memory management information like segmentation tables and page tables (unless the old process shares the memory with the new) are loaded from the PCB for the new process. To avoid incorrect address translation in the case of the previous and current processes using different memory, the translation lookaside buffer (TLB) must be flushed. This negatively affects performance because every memory reference to the TLB will be a miss because it is empty after most context switches.[3][4]
>
Furthermore, analogous context switching happens between user threads, notably green threads, and is often very lightweight, saving and restoring minimal context. In extreme cases, such as switching between goroutines in Go, a context switch is equivalent to a coroutine yield, which is only marginally more expensive than a subroutine call.
18:12
also CPUs are optimized for context switches
Avatar
but thats bloat
Avatar
The task state segment (TSS) is a structure on x86-based computers which holds information about a task. It is used by the operating system kernel for task management. Specifically, the following information is stored in the TSS: Processor register state I/O port permissions Inner-level stack pointers Previous TSS linkAll this information sho...
Avatar
if u dont need it, u dont design it for that^^
Avatar
we need to move away from x86 then
Avatar
yes pls
18:13
a new processor finally
Avatar
Avatar
Ryozuki
how is that possible though
templeOS did it gigachad
18:26
jk
Avatar
@Ryozuki if you're interested in reducing context switches, you can also look real time OSes and real time constraint runnability research
Avatar
oh yeah
18:28
i wanted to try one in a embedded thingy
18:28
Optional FreeRTOS Kernel Commercial Licensing From Our Strategic Partner WITTENSTEIN high integrity systems     OpenRTOSTM is a commercially licensed version of the FreeRTOS kernel that includes indemnification and dedicated support. FreeRTOS and OpenRTOS share the same code base. OpenRTOS is provided under license from AWS by WITTENSTEIN high i...
18:29
wait
18:29
was it freertos
18:29
i dont remember
Avatar
real time OSes will try to minimize context switching as it can cost lots of cpu time
Avatar
i want to get a ESP32 and try it with rust
18:29
Espressif Systems (688018.SH) is a public multinational, fabless semiconductor company established in 2008, with offices in China, the Czech Republic, India, Singapore and Brazil. We have a passionate team of engineers and scientists from all over the world, focused on developing cutting-edge Wi-Fi-and-Bluetooth, low-power, AIoT solutions.
Avatar
never heard of those
18:30
living in Grenoble, everyone uses STM32 which are manufactured there (edited)
Avatar
Avatar
Chairn
living in Grenoble, everyone uses STM32 which are manufactured there (edited)
giga_chad
18:52
ST microelectronics
Avatar
Avatar
Chairn
living in Grenoble, everyone uses STM32 which are manufactured there (edited)
i have 2 stm32
18:54
esp32 are quite famous
18:54
got more ram
18:54
already used rust on a stm32 though
18:54
hehe
Avatar
have a friend doing an internship at ST
19:02
BASED
19:08
st is very known here tho (living in Grenoble as Chairn)
19:32
@Ryozuki embedded rust poggers2
Avatar
last rpi are overpriced
19:32
no longer what it was
19:33
but its obviously easy to run on a RPI since it gots lots of resources
19:33
and a OS
Avatar
He wrapped everything in unsafe and basically wrote C but at least he showed how to build for it
Avatar
He did it no OS
Avatar
Regression from #5795.

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/ddn...
Avatar
1c23a17 Fix hotkeys (scroll regions) not working in editor - Robyt3 2346f22 Merge #5800 - bors[bot]
Avatar
'拏 MAhdiyar 2022-09-02 23:06:21Z
@Ryozuki Hi
23:06
Can you come to my dm?
Avatar
depends
23:10
what uwant
Avatar
'拏 MAhdiyar 2022-09-02 23:12:50Z
help
23:13
@Ryozuki
23:14
just ask ur question here
23:14
i doubt ill answer ur dms
23:14
im a busy man
23:14
in a busy world
Exported 228 message(s)