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 2023-02-17 00:00:00Z and 2023-02-18 00:00:00Z
Avatar
How to change the image of discord rich presence?
Avatar
twitter.
00:10
the best place to replicate Skynet
Avatar
Avatar
Ewan
waiting for the timeout is risky
y/n
01:44
i dug a little bit and all it would take is setting the player afk flag
01:44
and to make the timer not interfere if it's manually set
06:08
new nethack release
Avatar
don't get it
Avatar
cp = child pron
Avatar
omg, this server will get nuked now
11:29
and you wonder why it hasn't been verified
11:30
Kappa
Avatar
not sure i wanted to have this information now that i have it
13:35
dear discord employee. we are innocent
Avatar
ChillerDragon BOT 2023-02-17 13:45:00Z
cp = connection problems
13:45
everyone knows that
Avatar
chillerpragon
Avatar
cp is cheese pizza
Avatar
cp is checkpoint
Avatar
ChillerDragon BOT 2023-02-17 14:28:36Z
bencie +1
14:28
lerato -1
Avatar
damn rip linode
14:41
dont compile llvm with 16 threads
14:41
i ran out of mem on link time
14:41
32gb ram not enough
Avatar
what compiler did u use
Avatar
well i had all targets enabled to it probs tried to link everything at once
14:42
and those targets are big
14:42
it should parellize compile but not link
14:42
not smart enough
Avatar
Avatar
Jupstar ✪
what compiler did u use
default, so probs gcc and the slow linker
14:42
i switched to clang and lld now
14:43
llvm has a easy option for lld so im using it
Avatar
xd
14:43
just wanting to say: imagine compiling llvm with gcc
Avatar
cmake -S llvm -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/home/me/data/llvm-15.x -DLLVM_ENABLE_ASSERTIONS=On -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_USE_LINKER=lld -DLLVM_ENABLE_PROJECTS='clang;lld;polly' -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi;libunwind;compiler-rt;libc'
14:43
my current line now
Avatar
Avatar
Jupstar ✪
just wanting to say: imagine compiling llvm with gcc
well the problem was not compiling but linking
14:44
what killed the memory xd
14:45
did u know llvm ir allows u to specify a integer of arbitrary bit width
14:45
i666 is valid
14:46
The integer type is a very simple type that simply specifies an arbitrary bit width for the integer type desired. Any bit width from 1 bit to 223(about 8 million) can be specified.
Avatar
i knew that rust supports 128 bit integers bcs the llvm backend supports weird bit lengths
14:46
but didnt know its that crazy
Avatar
nah im talking about llvm ir
14:46
it probs translates it to handle the big integers somehow
14:46
when compiling
Avatar
yeah
14:46
thats obvious 😄
14:47
but yeah its neat
Avatar
i always thought there are lots of problems where 3 bytes would be enough xdd but it will probs decrease perf or be equally fast anyway
14:47
so not worth it
Avatar
define i252 @field_elemnt_div(i252 %0, i252 %1) { entry: %t = alloca i503, align 8 %new_t = alloca i503, align 8 %r = alloca i503, align 8 %new_r = alloca i503, align 8 store i503 0, ptr %t, align 4 store i503 1, ptr %new_t, align 4 store i503 3618502788666131213697322783095070105623107215331596699973092056135872020481, ptr %r, align 4 %new_r_extended = sext i252 %1 to i503 store i503 %new_r_extended, ptr %new_r, align 4 br label %while while: ; preds = %body, %entry %new_r_value = load i503, ptr %new_r, align 4 %while_compare = icmp ne i503 %new_r_value, 0 br i1 %while_compare, label %body, label %exit body: ; preds = %while %r_value = load i503, ptr %r, align 4 %new_r_value1 = load i503, ptr %new_r, align 4 %new_quotient_value = sdiv i503 %r_value, %new_r_value1 %old_t_value = load i503, ptr %t, align 4 %new_t_value = load i503, ptr %new_t, align 4 store i503 %new_t_value, ptr %t, align 4 %quotient_mul_new_t = mul i503 %new_quotient_value, %new_t_value %sub_t_res = sub i503 %old_t_value, %quotient_mul_new_t store i503 %sub_t_res, ptr %new_t, align 4 %old_r_value = load i503, ptr %r, align 4 %new_r_value2 = load i503, ptr %new_r, align 4 store i503 %new_r_value2, ptr %r, align 4 %quotient_mul_new_r = mul i503 %new_quotient_value, %new_r_value2 %sub_r_res = sub i503 %old_r_value, %quotient_mul_new_r store i503 %sub_r_res, ptr %new_r, align 4 br label %while exit: ; preds = %while %extended_a = sext i252 %0 to i503 %inverse = load i503, ptr %t, align 4 %res = mul i503 %extended_a, %inverse %res3 = call i252 @modulo(i503 %res) ret i252 %res3 } my ugly llvm ir (edited)
14:48
lmao too big
14:48
its a divisin in a finite field
14:49
division* god dman
Avatar
epic
Avatar
epic integer sizes
Avatar
i rly want to make my own simple language now
14:58
i see it feasible
Avatar
lets go
Avatar
actually llvm has a JIT engine too
14:59
for llvm ir
14:59
we could ejecute programs on the fly on ddnet
14:59
scripts kek
15:00
this lib is rly good and what i use to make ir
15:00
@Jupstar ✪ are u on llvm 17 now?
15:00
16 released yesterday
Avatar
yes
15:01
llvm-config --version 17.0.0
Avatar
nice xd
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...
20:45
See https://github.com/ddnet/ddnet/actions/runs/4207379652/jobs/7302092061 Setting up grub-efi-amd64-signed (1.187.3~20.04.1+2.06-2ubuntu14.1) ... mount: /var/lib/grub/esp: special device /dev/disk/by-id/scsi-14d5346542020202076e4e0de6b21a348aa1740149647cee7-part15 does not exist. dpkg: error processing package grub-efi-amd64-signed (--configure): installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
Avatar
I dont even have to look at the auther of the prs, i just see the title, maybe the desc and i know its roby
21:02
it looks like we are in a downtime of dev activity
21:02
roby holding it himself
21:03
i just dont have the willpower to do anything tbh xd
21:03
well, i always have willpower to post rust links
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
a3a6cde Add OguzKK moderator (TUR) - def-
Avatar
e206942 Fix ubuntu workflow (fixes #6341) - def- 51c5567 Merge #6342 - bors[bot]
Exported 91 message(s)