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-01-26 00:00:00Z and 2024-01-27 00:00:00Z
Avatar
hello
00:10
https://github.com/Siile/KillingFloor How do I compile this on Linux?
PvE server mod for Teeworlds. Contribute to Siile/KillingFloor development by creating an account on GitHub.
00:10
I forgor💀
00:10
I wanna test sum mods ppl uploaded on gh
Avatar
alr tyyy
05:56
it still says 2022
05:56
lmfao
05:56
who wanna take a funny picture with me
Avatar
morning
Avatar
idk where to put myself in the thing...
Avatar
Avatar
Ewan
Click to see attachment 🖼️
I'm down right hanging off of a tee on the bottom of the island 🤫
Avatar
ws-client BOT 2024-01-26 10:19:36Z
<ChillerDragon> Monthly shoutout to @Patiga for building twmap <3
10:20
<ChillerDragon> Being able to quickly parse digits placed by the mapper and use them in a script is so cool!
Avatar
Did you see std::linalg is coming in C++26? 😄
Avatar
chillerdragon: r u twmap pro?
12:47
i have a request: i want to know the map with the most layers in a single group
12:48
ok no, i actually want the most tile count of the whole group.. so the sum of all tile layers in a single group
12:48
ah and only the theoretical tile count, so tiles with index 0 count too
12:49
max of (group w * group h * tile layer count in group)
Avatar
welcome to friday rust
13:28
the crates of the day
13:28
A very easy to use library for interning strings or other data in rust. Interned data is very efficient to either hash or compare for equality (just a pointer comparison). Data is also automatically de-duplicated.
13:33
Little known outside his field, Edsger Wybe Dijkstra was a highly influential and often controversial figure in the history of computer science. Krzysztof Apt writes a tribute to his colleague, a pioneer and a genius whose work shaped the field like few others.
Avatar
I've seen this before and wonder if it's ever useful for anything other than a static str
Avatar
Avatar
Jupstar ✪
I've seen this before and wonder if it's ever useful for anything other than a static str
its specially useful for compilers
13:42
@Jupstar ✪ rust MIR uses interning everywhere
13:42
for basic blocks, and all mir structures
13:42
like types
13:42
etc
13:43
I wanted to use it for efficient indices. But isn't better than simply using a hashmap. In fact even worse xd
13:43
Chatgpt baited me
Avatar
Avatar
Patiga
Click to see attachment 🖼️
@Jupstar ✪ this script is rly close to what you want
Avatar
Avatar
Patiga
@Jupstar ✪ this script is rly close to what you want
Nice
Avatar
chillerdragon BOT 2024-01-26 14:04:43Z
I am fully booked atm sorry
Replying to @Jupstar ✪ i have a request: […]
Avatar
it's fine
14:05
i have to touch pyson
Avatar
ChillerDragon BOT 2024-01-26 14:05:29Z
did patiga attach a script? i see neither a reply on matrix nor irc atrifacts
Avatar
my nightmare
Avatar
ChillerDragon BOT 2024-01-26 14:05:38Z
xd
Avatar
he replied to a previous post where he attached a script
Avatar
ChillerDragon BOT 2024-01-26 14:06:05Z
too old for matrix maybe
14:06
if that helps
Avatar
@Jupstar ✪ when publish hiarc
14:42
This is a set of recommendations on how to design and present APIs for the Rust programming language.
Avatar
Avatar
Ryozuki
@Jupstar ✪ when publish hiarc
you have a great taste 😬
14:43
who reads all these
14:43
most is common sense
14:43
but an important one is to eagerly implement derives
14:43
all u can
14:43
in libs
14:44
Types eagerly implement common traits (C-COMMON-TRAITS) Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Display, Default
Avatar
yeah i agree with all except Default
Avatar
u dont know how annoying it is to use a lib with structs that dont implement for example Debug when they cn for free
14:45
@Jupstar ✪ eagerly for me means implement them if a simple derive works and it doesnt make it error prone
14:45
if default rly makes no sense then dont
Avatar
i see
14:45
but except 2 structs hiarc is really only a trait + derive macro
Avatar
Conversions use the standard traits From, AsRef, AsMut
Avatar
but what sucks is implementing the trait for all std types
14:46
this is probably the biggest thing that holds me back xd
Avatar
https://zed.dev/ anyone tried this yet? it's open source and made in rust
Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Avatar
Avatar
Learath2
https://zed.dev/ anyone tried this yet? it's open source and made in rust
no
Avatar
Avatar
Learath2
https://zed.dev/ anyone tried this yet? it's open source and made in rust
bro we mentioned this yesterday
Avatar
does it have debugger support?
Avatar
its macos only
14:46
i tried it
14:47
it looks nice
Avatar
macos only...
14:47
I'll definitely hate it if the developers are mac enjoyers, will pass
14:47
but true
14:48
who the fuck develops using metal
14:48
instead of vulkan
Avatar
mac enjoyers
Avatar
Avatar
Learath2
I'll definitely hate it if the developers are mac enjoyers, will pass
ye its stupid
14:49
the editor looks neat and responsive
14:49
its written in rust
14:49
its idiocy its only macos
Avatar
i want to know if it has debugger support
14:49
else it's just a text editor, not better than lapce probably xdd
Avatar
Avatar
Jupstar ✪
else it's just a text editor, not better than lapce probably xdd
How is lapce?
Avatar
Avatar
Learath2
How is lapce?
pros:
  • very fast (esp the rust analyzer integration)
cons:
  • no debugger support
  • it still feels worse as a text editor than most text editors, moving selected text doesnt work etc.
Avatar
I've been thinking of migrating to something new, I'm kinda feeling neovim but exploring other stuff
Avatar
but i used it 3 months ago
14:52
i should try today
Avatar
neovim rocks
Avatar
but i am 99% sure they still dont have debugger integration
14:52
and that is simply a red flag for me
Avatar
no debugger support is completely fine for me, I've never had debugger support anyway
Avatar
me neither xd
14:52
gdb
Avatar
Avatar
Learath2
no debugger support is completely fine for me, I've never had debugger support anyway
nani
14:52
gdb per hand is way too slow to use xD
Avatar
try gdb with gef
Avatar
I've gotten so used to it that I honestly don'
14:53
't even feel slow anymore
Avatar
we can host a competition
Avatar
no we can't, you are far more in shape than me
14:53
I haven't written code in months
14:54
If I truly need to see my code while debugging exactly at the line I'm at, I'll use the tui
14:55
but honestly don't even remember last I activated the tui, I just have the code up on the window next to me
Avatar
well it's also about watchers and thread lists etc for me
14:55
local variables
14:55
hovering over variables
14:56
i dunno, i mean i also often do log driven debugging
Avatar
watchers and thread list I can have with the cli quickly
Avatar
but sometimes a debugger is simply nicer.. and a good GUI enhances that
Avatar
hovering over local variables would be great though ngl
14:56
I mean I don't mind doing a quick p but still it'd be better UX
Avatar
lapce
15:00
feels already closer to vscode since i used it last time
15:00
but still feels worse overall xd
Avatar
Avatar
Learath2
Did you see std::linalg is coming in C++26? 😄
what's it do?
Avatar
Avatar
heinrich5991
what's it do?
Linear Algebra
15:02
So we can have matrix multiplication without having to get a library
15:02
(or doing it by hand :D)
Avatar
I wonder how you design that in a general purpose fashion
15:04
does it use indices?
15:04
execution policy
15:05
template<class ExecutionPolicy, __inout_vector InOutVec1, __inout_vector InOutVec2, class Real> void apply_givens_rotation(ExecutionPolicy&& exec, InOutVec1 x, InOutVec2 y, Real c, Real s); (edited)
15:05
xd
15:05
for cuda?
Avatar
looks horrible to use, ngl xD
Avatar
Avatar
Ryozuki
template<class ExecutionPolicy, __inout_vector InOutVec1, __inout_vector InOutVec2, class Real> void apply_givens_rotation(ExecutionPolicy&& exec, InOutVec1 x, InOutVec2 y, Real c, Real s); (edited)
There is a signature that doesn't require an execution policy too
15:10
c++ template<__in_matrix InMat1, __in_matrix InMat2, __out_matrix OutMat> void matrix_product(InMat1 A, InMat2 B, OutMat C); Idk, it doesn't look particularly awful to use, just ignore the templating
Avatar
how does it access the numbers?
Avatar
No idea, I don't even know if there is any implementation of it tbf
15:12
Let me take a look at the proposal
Avatar
Would be nice to have some basic information on this repo
Avatar
Avatar
heinrich5991
how does it access the numbers?
It seems to be through accessors functions, why?
15:21
Oh, nope, it's accessed directly with offsets it seems, you need to use a "BLAS-compatible memory layout" for your vectors and matrices
Avatar
does that mean it's slices with optional stride?
Avatar
Avatar
heinrich5991
does that mean it's slices with optional stride?
I think so, yes. It's a little hard to read through a proposal this quickly but that's what it seems to be
15:25
A matrix/vector is basically an std::mdspan, which is like a slice with optionally a stride
Avatar
Avatar
Learath2
I've been thinking of migrating to something new, I'm kinda feeling neovim but exploring other stuff
afair vsc has a vim motion plugin, nice getting used to it while still having the possibility to dodge to mouse if needed - but after getting used to neovim once any other IDE just feels soooo slow :D
Avatar
Avatar
meloƞ
afair vsc has a vim motion plugin, nice getting used to it while still having the possibility to dodge to mouse if needed - but after getting used to neovim once any other IDE just feels soooo slow :D
That's what I'm using, currently, but I feel it's time to do something new
Avatar
learn emacs justatest
15:51
jkjk
Avatar
I actually never tried emacs, hm
Avatar
:D oh no
15:52
Avatar
Avatar
Learath2
I actually never tried emacs, hm
u should join a emacs discord. i bet they convert you to a emacian
15:53
have u tried emacs OS?
15:53
xd
Avatar
emacs as PID1
Avatar
hvae u tried emacs on your washing machine
Avatar
why not try an nvim pre config? there are some nice one's out there: "nvchad, lunarvim, lazyvim"
Avatar
I don't do that
Avatar
they have important things preconfigured (treesitter, LSP, filetree)
Avatar
If I'm going to use neovim I'll do it myself 😄
Avatar
even tho :Ex exists ofc
15:55
configuring vim from scratch was a lot of fun for me personally, i used it as a way to learn lua on the way
15:55
and then i completly dumped my config and rewrote it in nix
Avatar
Or maybe I should go all the way back to where I started to vim
Avatar
go back to the roots of all things, use Vi
Avatar
vi is just too janky
Avatar
use ed
15:57
ed (pronounced as distinct letters, ) is a line editor for Unix and Unix-like operating systems. It was one of the first parts of the Unix operating system that was developed, in August 1969. It remains part of the POSIX and Open Group standards for Unix-based operating systems, alongside the more sophisticated full-screen editor vi.
15:59
(In)famous for its terseness, ed, compatible with teletype terminals like Teletype Model 33, gives almost no visual feedback,[8] and has been called (by Peter H. Salus) "the most user-hostile editor ever created", even when compared to the contemporary (and notoriously complex) TECO.[2] For example, the message that ed will produce in case of error, and when it wants to make sure the user wishes to quit without saving, is "?". It does not report the current filename or line number, or even display the results of a change to the text, unless requested. Older versions (c. 1981) did not even ask for confirmation when a quit command was issued without the user saving changes.[8] This terseness was appropriate in the early versions of Unix, when consoles were teletypes, modems were slow, and memory was precious. As computer technology improved and these constraints were loosened, editors with more visual feedback became the norm.
Avatar
who even needs those fancy things called editors, just use echo "blah blah" > file justatest
Avatar
Avatar
MilkeeyCat
who even needs those fancy things called editors, just use echo "blah blah" > file justatest
#!/bin/bash # Simple Bash Text Editor # Check if a filename was provided if [ $# -eq 0 ]; then echo "Please provide a filename." exit 1 fi FILENAME=$1 # Function to display the file content function view_file() { clear echo "Editing: $FILENAME" echo "--------------------------" cat $FILENAME echo echo "--------------------------" echo "Type 'SAVE' to save." echo "Type 'EXIT' to exit without saving." echo } # Main loop while true; do view_file echo "Enter your text (append mode):" read INPUT if [ "$INPUT" == "EXIT" ]; then echo "Exiting without saving..." break elif [ "$INPUT" == "SAVE" ]; then echo "File saved." break else echo "$INPUT" >> $FILENAME fi done
16:09
leak of chillerdragons editor
Avatar
he probably uses irc as editor
Avatar
chillerdragon BOT 2024-01-26 16:21:47Z
I have seen this guy use cat unironically as a editor casually in a coding video https://youtube.com/@awesomekling?si=ELlMlmlUO3Y6gtMV
Hello friends! I'm working on SerenityOS and Ladybird, an operating system and a web browser!
Avatar
lmao the C++ integration into the Linux kernel discussion is back
Avatar
Avatar
ReiTW
lmao the C++ integration into the Linux kernel discussion is back
its pointless with rust
Avatar
well c is an 99.99% subset of cpp xd
17:00
so it could be used for existing c code
Avatar
no video description, what is it about ?
19:19
the game doesnt really like 2 of itself being opened lol
Avatar
should be no problem
19:19
only limit is your ram
Avatar
Avatar
Chairn
damn, some guys are really passionnate about this 😄 https://bugzilla.kernel.org/show_bug.cgi?id=191051 (edited)
that cqwrteur should just be banned
Avatar
32 gb not enough to run 2 ddnets?
Avatar
32 gb should be plenty to run two copies of ddnet
Avatar
ok it doesnt happen on opengl
Avatar
sounds like it might be a bug with vulkan
Avatar
@cyberFighter when will u finally reinstall your os
Avatar
which
Avatar
u always have problems even after changing your setup
Avatar
i reinstalled it already
Avatar
Avatar
Jupstar ✪
u always have problems even after changing your setup
im just best bug reporter
19:27
troll
Avatar
This stores info messages even if kill/finish messages aren't enabled. This was the case previously, but I'm not sure why I changed it in #7515.

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 ...
Avatar
ok i restarted my game after setting it to vulkan
19:35
and the screen is completely black
19:36
Avatar
Avatar
cyberFighter
Click to see attachment 🖼️
just imagine that its ddnet client
Avatar
Avatar
cyberFighter
32 gb not enough to run 2 ddnets?
wdym I usually open multiple clients like 2+ is a standard on 16GB.
Avatar
damn fsr 3 is out since a week & it's horrible on cod lmao
Avatar
Avatar
cyberFighter
and the screen is completely black
Should be fixed by #7859 and #7860
Avatar
Add parameter to shell_execute to either start the process in the foreground or background on Windows. Previously, all processes were started in the background, because this is desired when startin...
@Robyt3 try this 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 (especia...
Avatar
ok
Avatar
d94c038 Store infomessages even if they aren't enabled - furo321 7074333 Merge pull request #7861 from furo321/toggle-infomessages - heinrich5991
Avatar
seems to be working fine xd
Avatar
xd
20:30
@Robyt3 so it's blackscreen, what happened yesterday
20:31
validation errors should close the game or not?
Avatar
yeah, I also still get the same validation errors with #7860
Avatar
@Robyt3 try this 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 (especia...
Avatar
Avatar
Robyt3
yeah, I also still get the same validation errors with #7860
mh ok
20:32
well guess i have to start windows tomorrow xd
Avatar
Avatar
Jupstar ✪
validation errors should close the game or not?
doesn't seem like it's fatal. vulkan_debug: validation error: Validation Error
Avatar
mhh ok
Avatar
I think #7859 is fine unrelated to this though, the client should definitely start in the foreground when using the restart button, which is fixed by that PR
Avatar
Add parameter to shell_execute to either start the process in the foreground or background on Windows. Previously, all processes were started in the background, because this is desired when startin...
Avatar
but surprises me
20:33
bcs m_RenderingPaused = false; is only called on a specfic sdl event
Avatar
Avatar
Robyt3
I think #7859 is fine unrelated to this though, the client should definitely start in the foreground when using the restart button, which is fixed by that PR
mh ok
Avatar
who of you broke aiming 😫
20:37
happens on latest version
20:37
why is the hookline so wrong
20:37
it was never wrong for me
20:38
r u all compiling with Ofast or smth
Avatar
just pulled from ddnet-git aur (edited)
Avatar
Avatar
Teero
just pulled from ddnet-git aur (edited)
if it also happens on a nightly from website
20:52
report to github
Avatar

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
Avatar
Avatar
Jupstar ✪
if it also happens on a nightly from website
what website xd
Avatar
Avatar
Teero
who of you broke aiming 😫
Probably me 🥴
20:55
its the same (edited)
Avatar
Avatar
furo
Probably me 🥴
banhammer
Avatar
Avatar
furo
Probably me 🥴
be quick, blame chiller (edited)
20:57
Blame someone else for your bad code. Contribute to jayphelps/git-blame-someone-else development by creating an account on GitHub.
Avatar
Avatar
furo
Probably me 🥴
what did you change?
21:27
no one noticed anything since it works on default zoom
Avatar
Avatar
Chairn
no video description, what is it about ?
it's about how using a tab width of 3 is better than 2 or 4
22:13
he did another equally jarring talk about using lizard to ensure every single function in their codebase was below like 20 loc
22:13
and he claims it cleaned it up a lot
Avatar
Fixes hook collision line being slightly incorrect when aiming in the middle of the screen. Bug from #7512 Before https://github.com/ddnet/ddnet/assets/141338449/27cebaa6-295a-419b-92b7-b0caddc05c0f After https://github.com/ddnet/ddnet/assets/141338449/51770b42-4d8b-40a8-bb57-54edd9e9f681

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Writte...
Avatar
^ @Teero
👍 2
Avatar
Avatar
Teero
who of you broke aiming 😫
it was always like that when cursor is close to tee
Avatar
a small statically-linked linux system. Contribute to oasislinux/oasis development by creating an account on GitHub.
Avatar
Avatar
Chairn
it was always like that when cursor is close to tee
No xd. The aimline was always correct
Avatar
when exactly on the tee, it was always wrong
22:28
for close, but not exactly on, i don't remember
Avatar
Are u still stuck in 0.5? This is the future
Avatar
It seems that the original mapping based on datasrc before https://github.com/teeworlds/teeworlds/pull/2692. Also bluekitty had wrong feet color (check bluekitty.json: feet hue in the json is different from that of hands but in TeeInfo mapping we had identical colors). The idea is to later use those mapping to leverage 0.7 skins for DDNet protocol. Note: maybe we'd want to use the same .json files i...
Exported 264 message(s)