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-03-09 00:00:00Z and 2023-03-10 00:00:00Z
Avatar
Avatar
Simon
Having matricks back in the game
Nope, the awesome thing would be Marticks making a new project, that we can hop onto and help him. I don't wish him to be this community's main / side lead for the reasons of "getting rid of ddos", while ReiTW and other guys are already on track with that one.
01:12
And simon, they are right, you really don't know what Rei and Fokko did in the previous year, they did help ddnet in their own ways, why not ask them about what they did so far. (edited)
Avatar
Fixes the following error on Haiku: ``` ~/ddnet/build> ninja [5/8] Building CXX object CMakeFiles/m...a.dir/src/tools/map_replace_area.cpp.o FAILED: CMakeFiles/map_replace_area.dir/src/tools/map_replace_area.cpp.o /bin/c++ -DCONF_INFORM_UPDATE -DCONF_OPENSSL -DCONF_VIDEORECORDER -DGAME_RELEASE_VERSION="16.8" -DGLEW_STATIC -I/boot/home/ddnet/build/src -I/boot/home/ddnet/src -I/boot/home/ddnet/src/ru> /boot/home/ddnet/src/tools/map_replace_area.cpp: In function 'void SetExtendedArea(M...
Avatar
chillerdragon BOT 2023-03-09 06:08:30Z
That was a weird conversation from the start. I don’t see how it makes sense to celebrate 10 years ddnet by changing a block map on a block server that does not run the ddnet mod.
kek 3
Avatar
Avatar
Cellegen
Nope, the awesome thing would be Marticks making a new project, that we can hop onto and help him. I don't wish him to be this community's main / side lead for the reasons of "getting rid of ddos", while ReiTW and other guys are already on track with that one.
Well I laughed cuz I was the one responding to vali's attacks lmao, not fokkonaut. Was the time when vali targeted my srv to steal players
Avatar
Someone deleted some messages, glad there is irc log
07:35
I remember between my last two messages was definitely another one
Avatar
Probs heinrich, he likes to do that
Avatar
ChillerDragon BOT 2023-03-09 08:14:25Z
@Ryozuki have you tried neovide? https://github.com/neovide/neovide
No Nonsense Neovim Client in Rust. Contribute to neovide/neovide development by creating an account on GitHub.
Avatar
Avatar
GitHub
Click to see attachment 🖼️
aw fuck this game is too p2w
Avatar
convenience for downstream projects that renamed the client

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 o...
Avatar
ChillerDragon BOT 2023-03-09 09:37:02Z
?xd
09:37
always has been i spent like 6 months salary on onbgy server to buy stats
Avatar
Avatar
GitHub
Click to see attachment 🖼️
damn, its actually very useful poggers2
09:37
i wonder why noone added this before
Avatar
ChillerDragon BOT 2023-03-09 09:38:07Z
a fng stats shop?
09:38
wat u taking about
09:38
is this a discord reply?
Avatar
its reply to pr
09:38
also shouldn't it be applied to server as well? (edited)
Avatar
ChillerDragon BOT 2023-03-09 09:38:47Z
ah we dont have github integration on irc side
09:39
yea server would make sense too it always has been half generic in the cmakelists :D
09:39
i usually only pr when i get a conflict
Avatar
Avatar
ChillerDragon
i usually only pr when i get a conflict
bruh 💀
Avatar
ChillerDragon BOT 2023-03-09 09:40:10Z
ok ok ill force push server
Avatar
Thanks for contributing into ddnet repository and making it better as well as entire open source community feelsCoolMan
Avatar
ChillerDragon BOT 2023-03-09 09:42:33Z
ok added server too and co authored you UwU
music 1
09:42
ye gotta support my downstream competition because im too op
09:46
someone from microsoft follows me
09:46
my biggest bane
Avatar
ChillerDragon BOT 2023-03-09 09:46:43Z
eww windows
09:49
yo ryo you need a github marketing manager?
09:49
you have dope paypal rust libs etc and still only 50 followers
Avatar
Avatar
Ryozuki
my biggest bane
They like your interest in open source EbatTiLoh
Avatar
ChillerDragon BOT 2023-03-09 09:50:44Z
ye ryo is one of my top 10 fav githubbers
Avatar
anyone with merged PRs to MS repos, run for your life
Avatar
Avatar
ChillerDragon
you have dope paypal rust libs etc and still only 50 followers
50 is probs already top 99%
09:57
in github xd
Avatar
u mean top 1
09:58
xd
Avatar
and yea it’s a lot but I wouldn’t say more than top 5%
Avatar
percentiles are hard kek
09:58
the difference between “top X%” and “X% percentile” used to confuse me (edited)
Avatar
u underestimate the amount of github accounts with 1 project from a bootcamp or school
Avatar
ChillerDragon BOT 2023-03-09 09:59:18Z
@Ryozuki and they all have their 60 friends from the school as followers xd
Avatar
my profile is kinda boring
09:59
i need to public some stuff
09:59
fuck dude when my dad got a GH for his bootcamp he had more followers than my years old account in less than a day lol
Avatar
ChillerDragon BOT 2023-03-09 10:00:01Z
xd
Avatar
elsaastrid BOT 2023-03-09 10:19:13Z
I have a legit online business earnings for everybody. Kindly dm me to know more about it if it interest you
10:20
IRC bots invade the discord
Avatar
c801df3 Pick icon files based on executable name - ChillerDragon 08176ab Merge #6396 - bors[bot]
Avatar
i judge by projects not followers
10:29
go to repos and filter by source
Avatar
ChillerDragon BOT 2023-03-09 11:08:25Z
this dude not on irc
11:08
spammers only know how to launch bloated electron matrix app
Avatar
776eabc Replace leftover memcpy with mem_copy - n0toose 398bc0d Merge #6395 - bors[bot]
Avatar
Avatar
ChillerDragon
spammers only know how to launch bloated electron matrix app
lol
Avatar
Replace all remaining usages of memcpy.

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](htt...
Avatar
Anyone interested in debugging this?
Avatar
ChillerDragon BOT 2023-03-09 12:40:00Z
are windows backtraces always that ugly? i dont recognize a single thing from the ddnet code base
12:40
or is it just because it is build without debug symbols?
Avatar
Yeah, if it's build with debug symbols, it would be readable
Avatar
Avatar
murpi
Anyone interested in debugging this?
What version exactly is this? And is it steam or non-steam?
Avatar
Avatar
Robyt3
What version exactly is this? And is it steam or non-steam?
16.8
Avatar
64 bit with Steam integration?
12:47
Or without?
12:48
Rather 32 bit I guess, because the addresses are only 4 bytes
Avatar
Avatar
Robyt3
Rather 32 bit I guess, because the addresses are only 4 bytes
Yes, 32 bit.
12:49
Non steam
Avatar
ChillerDragon BOT 2023-03-09 12:58:52Z
roby can you map those addresses on code?
Avatar
ChillerDragon BOT 2023-03-09 12:59:17Z
nice how?
Avatar
Looks like it's caused by creating a too large tile array, probably a map being too large for 32 bit
Avatar
ChillerDragon BOT 2023-03-09 12:59:58Z
oof
13:00
how do you know?
13:00
leak your process
Avatar
Avatar
Robyt3
Looks like it's caused by creating a too large tile array, probably a map being too large for 32 bit
I enter the game, the game freezes when I press the play button
Avatar
Avatar
ChillerDragon
nice how?
There is a script that works on Linux, but I use some tricks to do it on Windows instead: 1. Download and unpack correct symbols from https://ddnet.org/downloads/symbols/ 2. Get module base address of the executable (dumpbin on from Visual Studio tools) --> for this it says "400000 image base" (hex) 3. Open the executable with gdb 4. Use info symbol <address> to find out the function for the lines in the backtrace Where <address> is calculates as the number at the end of the line (e.g. 0x2f0cbc for the first line) plus the module base address. And do this for some of the lines: (gdb) info symbol 0x786ef0 typeinfo for std::bad_alloc in section .rdata (gdb) info symbol 0x6f00d2 operator new(unsigned int) [clone .cold] + 42 in section .text (gdb) info symbol 0x552654 CLayerTiles::CLayerTiles(int, int) + 260 in section .text (gdb) info symbol 0x558cd1 CEditor::UiDoPopupMenu() + 385 in section .text
👍 1
13:08
The script doesn't use the numbers at the end of the stack trace lines but instead uses the AddrPC number and first subtracts the base address of the application (because of address space randomization), which end up being the same number: 01160CBC - 00E70000 = 0x2f0cbc
Avatar
ChillerDragon BOT 2023-03-09 13:09:32Z
is there a tutorial on that on the forum or wiki? if not seems sane to add that
Avatar
Yeah, would be a good idea if there was a script that works on Windows. Not sure if addr2line also works on Windows, so we could get the code lines as well.
13:11
It's a bit of a mix because dumpbin from Visual Studio is necessary, because the respective tool from MinGW gets an incorrect module base address for some reason
Avatar
9261561 Use mem_copy instead of memcpy for websockets - Robyt3 f78f188 Merge #6397 - bors[bot]
Avatar
Just use Linux subsystem
13:25
Or Linux directly xd
Avatar
that_haiku_user BOT 2023-03-09 13:26:18Z
good afternoon, just wanted to say that the haiku port is in the process of being included in our app store soon: https://depot.haiku-os.org
13:26
thank you for being so nice and patient with the PRs :)
Avatar
ChillerDragon BOT 2023-03-09 13:29:22Z
poggies
Avatar
Avatar
Jupstar ✪
Just use Linux subsystem
🤢
Avatar
im gonna make my own language
13:40
it will be called edlang
13:40
with MLIR
13:40
Multi-Level IR Compiler Framework
Avatar
hey, i'm using ddnet version 16.6 bcs i have delay on the newest version & i have fps lags on browser but when u guys dropped version 16.8 version my game had a black line at the right of the screen on version 16.6 (most likely bcs of my resolution) and it doesn't have it on the 16.7.2 and 16.8 version but i just can't play on those 2 versions bcs i have lags
13:47
does anyone knows how to fix this issue
Avatar
ChillerDragon BOT 2023-03-09 14:01:23Z
shirowo
Avatar
Is there a guide somewhere on how to install ddnet on Ubuntu? I downloaded Ubuntu version from ddnet.tw but I can't double click ddnet.exe Send help pls xd Linux too hard.
14:03
Ah im using Ubuntu 18.04
Avatar
chillerdragon: nup
Avatar
ChillerDragon BOT 2023-03-09 14:07:54Z
DDNet should be double clickable it has the executable flag by default right?
14:09
send screenshot @Shyzo
Avatar
Well I can't screen it but I can take a photo XD scuffed
14:09
14:10
I'm on live usb, maybe that's important.
Avatar
ChillerDragon BOT 2023-03-09 14:10:33Z
and nothing happens if you double click DDNet ?
Avatar
Yes, nothing
Avatar
ChillerDragon BOT 2023-03-09 14:10:54Z
can you right click -> "open terminal here"
14:11
and then run ./DDNet and share the output
Avatar
ChillerDragon BOT 2023-03-09 14:11:35Z
ah rightlick the folder
14:11
not DDDNet
Avatar
ChillerDragon BOT 2023-03-09 14:12:44Z
./DDNet
14:12
not /DDNet
Avatar
ChillerDragon BOT 2023-03-09 14:13:52Z
interesting i thought the web download should just work seems like you need to install sdl
14:14
you can just run sudo apt install ddnet should install you all needed libs
Avatar
I tried sudo apt install libsdl2-2.0-0
Avatar
ChillerDragon BOT 2023-03-09 14:14:32Z
make sure to run sudo apt update first
14:15
it would be sudo apt install libsdl2-dev i guess but other libs are potentially missing too
Avatar
ChillerDragon BOT 2023-03-09 14:16:07Z
and then install ddnet
Avatar
Don't I need to upgrade now first?
Avatar
ChillerDragon BOT 2023-03-09 14:16:38Z
no
14:16
sudo apt install ddnet
14:16
and then yu should be able to double click it
Avatar
ChillerDragon BOT 2023-03-09 14:17:25Z
debian has it :p
14:17
ubuntu trash
Avatar
Yes. But I have Ubuntu now, can't switch xd
Avatar
ChillerDragon BOT 2023-03-09 14:17:53Z
then just bloat install all dev depdenys from ddnet readme :D
14:17
sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python rustc spirv-tools
Avatar
You shouldn't need all those just to run ddnet
Avatar
ChillerDragon BOT 2023-03-09 14:18:25Z
most of the things you dont need if you
Avatar
How can I install the 325 things that popped up when I wrote sudo apt update ? Or is this not needed?
Avatar
ChillerDragon BOT 2023-03-09 14:18:30Z
ye wat lerato said
14:18
not needed
Avatar
Do ldd ./DDNet let's see what is missing
Avatar
ChillerDragon BOT 2023-03-09 14:18:41Z
but im too lazy to handpick what you need
14:18
@Learath2 how do you see what is missing?
Avatar
ChillerDragon BOT 2023-03-09 14:19:11Z
does it show errors?
14:19
i thought it only shows what it expects
Avatar
ChillerDragon BOT 2023-03-09 14:19:45Z
ah indeed
14:19
cool i didnt know that
14:19
so just sdl curl and vulkan
Avatar
Sudo apt install sdl curl?
Avatar
So apt install libsdl2
Avatar
Apparently it's called libsdl2-2.0-0 (edited)
14:21
Nice os this ubuntu
Avatar
ChillerDragon BOT 2023-03-09 14:21:41Z
ubuntu is such a trol
14:22
Linux is easy they said. Don't use windows they daid
Avatar
ChillerDragon BOT 2023-03-09 14:22:16Z
just install dev alr
14:22
ubuntu = windows
Avatar
You are missing the -0 at the end. I edited it quickly
Avatar
Same @Learath2
Avatar
ChillerDragon BOT 2023-03-09 14:23:07Z
no sane linux user downloads a archive from a website to install a program :D
Avatar
Avatar
Shyzo
Linux is easy they said. Don't use windows they daid
Also: don't use outdated distros. The folk forgot the downsides of a distro released five years ago.
Avatar
ChillerDragon BOT 2023-03-09 14:23:15Z
sudo apt install libsdl2-dev
Avatar
Building DDNet 16.8 having FFmpeg 6.0 installed issues the this deprecation warning. Looks like the frame_number deprecation is documented in 6.0 docs, which was not in 5.1 docs. Output: ``` [154/268] Building CXX object CMakeFiles/DDNet.dir/src/engine/client/video.cpp.o /build/aur/ddnet/src/DDNet-16...
Avatar
No dev! @Shyzo don't need to build ddnet.
Avatar
ChillerDragon BOT 2023-03-09 14:23:41Z
idc
Avatar
apt-cache search libsdl2
Avatar
ChillerDragon BOT 2023-03-09 14:23:48Z
its not that bad
Avatar
Avatar
Kaffeine
Also: don't use outdated distros. The folk forgot the downsides of a distro released five years ago.
Fair point. I had this on my usb stick so I thought I will give it a try
Avatar
What version of ubuntu is this even?
Avatar
18.04 x)
Avatar
ChillerDragon BOT 2023-03-09 14:24:20Z
wtf
14:24
thats eol isnt it
14:24
maybe thats why ddnet is not in apt
Avatar
It brings all the dev tools / bloatware he does not need. Hundreds of MB. It might be acceptable for some installed OS but not for a USB stick :-D.
Avatar
ChillerDragon BOT 2023-03-09 14:25:14Z
just install sdl dev already no need to spend 2hours on this if its just a temp usb stick
14:25
sdl dev is not big
Avatar
ChillerDragon BOT 2023-03-09 14:25:45Z
holy
Avatar
Idk ubuntu website says it's called libsdl2-2.0-0
Avatar
Doesn't work anyway kek
14:26
Maybe I need to update the package manager or smth idk? Apparently I can't find anything lol
14:27
Try this?
Avatar
ChillerDragon BOT 2023-03-09 14:27:09Z
libsdl2-dev is in bionic (18)
Avatar
Apparently sdl is in universe
Avatar
ChillerDragon BOT 2023-03-09 14:27:42Z
leak cat /etc/apt/sources.list
Avatar
sudo add-apt-repository universe in the terminal also works too apparently
Avatar
@Shyzo this version of DDNet won't work in your OS. It is just too outdated. Guys, there is GLIBC_2.28 not found message in the ldd output. Please don't make @Shyzo also building his own glibc on a live USB system.
Avatar
ChillerDragon BOT 2023-03-09 14:27:56Z
what lerato said
Avatar
Though I think last time I installed ubuntu was in 2010 so who knows
Avatar
ChillerDragon BOT 2023-03-09 14:28:50Z
what even is your goal? @Shyzo?
Avatar
Modern commands do not work there. Compiled DDNet needs at least Ubuntu 20.04.
Avatar
ChillerDragon BOT 2023-03-09 14:29:22Z
running a super old ubuntu on a usb doesnt seem like the best ddnet gaming environment
Avatar
Didn't even spot the ancient glibc, good catch
😉 1
Avatar
Avatar
Shyzo
Click to see attachment 🖼️
Rafael Fontenelle 2023-03-09 14:30:03Z
'325 packages can be upgraded'. Please do upgrade, make your system happy
Avatar
Though I don't remember when we upped our glibc requirement
Avatar
So just f it and get new ubuntu version?
Avatar
ChillerDragon BOT 2023-03-09 14:30:21Z
its a stick who cares about happy system xd
14:30
ye f it and get a new ubuntu like 22 or better get debian :p or manjaro
Avatar
Avatar
Rafael Fontenelle
'325 packages can be upgraded'. Please do upgrade, make your system happy
I would, but I don't even know what command to use to say "yes, please upgrade" xd
Avatar
ChillerDragon BOT 2023-03-09 14:31:00Z
sudo apt upgrade -y
Avatar
Avatar
Shyzo
I would, but I don't even know what command to use to say "yes, please upgrade" xd
apt upgrade
Avatar
But don't bother imo. I think glibc 2.28 isn't even in 18.04
Avatar
Stop. Raping. USB. Live. System.
💀 1
😂 1
Avatar
ChillerDragon BOT 2023-03-09 14:31:32Z
no sense
Avatar
Yeah max glibc version on 18.04 is 2.27
Avatar
Okay I will get new ubuntu boys. Thanks for your help though! Appreciate it
14:32
Short trip back in time
Avatar
Backwards compatibility is always annoying on linux sadly :/
Avatar
Ubuntu 18.04 it is
Avatar
Avatar
Shyzo
I would, but I don't even know what command to use to say "yes, please upgrade" xd
Rafael Fontenelle 2023-03-09 14:33:06Z
FYI: apt update updates the packages database provided by the APT sources. Then apt upgrade install the updated packages based on that package database.
Avatar
Avatar
Rafael Fontenelle
FYI: apt update updates the packages database provided by the APT sources. Then apt upgrade install the updated packages based on that package database.
👍👍
Avatar
I guess bionics standard support will end in a month but still sadge that we broke compatibility with ubuntu LTS sometime without even noticing
Avatar
ubuntu upgrade shoulod be more or less seamless right?
14:42
as long as u dont skip a upgrade
14:42
18 -> 20 -> 22
14:42
or smth idk
14:42
havent used ubuntu since 2016
14:43
im glad with my gentoo
Avatar
Haven't used Ubuntu before 2021 (ex. Gentoo user 2006-2021). Ubuntu broke on 2/2 upgrades for me :-D.
Avatar
Avatar
Ryozuki
im glad with my gentoo
Omg are you a convert? I was sure you'd go back to arch within the year
Avatar
lol no
14:43
im converted
14:44
and openrc is rly nice and easy
Avatar
Also did you stick with openrc or do you use systemd?
Avatar
but i use debian for my server tho
14:44
openrc ofc
Avatar
Yeah gentoo on a server is annoying asf
Avatar
why wouldi try gentoo with systemd
14:44
xd
14:45
the only annoying thing is firefox getting updates every other week
14:45
xd
14:45
i just postpone firefox
Avatar
There is a stable channel too that gets less
Avatar
i like having a modern browser
14:46
@Learath2 i dabbled a bit in gentoo bugzilla
14:46
someone wanted to statically link llvm for a rust package
14:46
the gentoo maintainer said static linking is a "bug"
👍 1
14:46
and no one would ever want that
14:46
they ship llvm without static linking support xdd
14:46
so madman lol
Avatar
Static linking is a bug is the most gentoo thing I've ever heard
Avatar
Avatar
Ryozuki
Probs heinrich, he likes to do that
did not
Avatar
@Ryozuki do report progress when building your language 🙂
Avatar
Avatar
Ryozuki
the only annoying thing is firefox getting updates every other week
opensuse tumbleweed every day sadge
Avatar
Avatar
heinrich5991
@Ryozuki do report progress when building your language 🙂
i will
Avatar
ChillerDragon BOT 2023-03-09 15:25:09Z
if you send syntax highlight ill write hello world in ryo lang
Avatar
i know how to make syntax highlight file for vim
15:25
i made it for ddnet config files
Avatar
ChillerDragon BOT 2023-03-09 15:25:29Z
i hope you add garbage collector
Avatar
look at the ddnet repo
Avatar
ChillerDragon BOT 2023-03-09 15:25:38Z
yes veri good vim is dope
Avatar
lol no, it will be native
Avatar
ChillerDragon BOT 2023-03-09 15:25:42Z
id buy
Avatar
chiller do u use my syntax for configs?
Avatar
ChillerDragon BOT 2023-03-09 15:26:14Z
oh tru i need to install the cfg syntax hilita in ma vim config
15:26
no
15:26
i have to!
15:26
sec
15:26
ima do
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
15:26
here
Avatar
ChillerDragon BOT 2023-03-09 15:26:33Z
yes yes
Avatar
cp -R other/vim/* ~/.config/nvim/
Avatar
ChillerDragon BOT 2023-03-09 15:26:52Z
neovim only?
Avatar
it works for vim too
15:27
but im lazy
Avatar
ChillerDragon BOT 2023-03-09 15:27:06Z
directly in vimrc?
Avatar
i just copy pasted the ddnet readme
15:27
hmm no i think its under .vim/
15:27
where does it store files vim
15:27
xd
Avatar
ChillerDragon BOT 2023-03-09 15:27:32Z
ah vim folder
Avatar
i forgor
Avatar
ChillerDragon BOT 2023-03-09 15:27:34Z
oke
15:27
yes .vim
15:28
thats the content of my .vim folder autoload backup bundle plugged swap undo
Avatar
whats under autolod
Avatar
ChillerDragon BOT 2023-03-09 15:28:30Z
viruses
15:28
mainly plug.vim the plugin manager
Avatar
it should be where there is a folder called ftdetect
15:28
and syntax
Avatar
ChillerDragon BOT 2023-03-09 15:28:50Z
and pathogen.vim which is actually virus i think idk what this is
Avatar
well try adding it to that dir
Avatar
ChillerDragon BOT 2023-03-09 15:29:09Z
i guess i could create ftdetect
Avatar
autocmd BufRead,BufNewFile settings_ddnet.cfg set filetype=ddnet-cfg it only sets the syntax to ddnet-cfg automatically for settings_ddnet.cfg, u can manually set it for other cfgs
15:29
nono
15:29
just cp then
15:29
like the command i sent
15:29
it has the folder structure
Avatar
ChillerDragon BOT 2023-03-09 15:29:35Z
oke ima try
Avatar
cp -R other/vim/* ~/.vim/
Avatar
ChillerDragon BOT 2023-03-09 15:29:45Z
yeye
Avatar
this is on my neovim
Avatar
my CLion update crashed, then it wanted to revert the update, which crashed, and now it says i should reinstall the IDE 😢
Avatar
just use vim
15:31
or vscode
Avatar
ChillerDragon BOT 2023-03-09 15:31:27Z
oh wait
15:31
its matching the filename
15:31
not .cfg?
Avatar
i told u
15:31
cuz .cfg is too generic
15:31
its used by other program configs maybe
15:31
u can change the autocmd
Avatar
ChillerDragon BOT 2023-03-09 15:31:58Z
oh no
Avatar
in the ftdetect file
Avatar
ChillerDragon BOT 2023-03-09 15:32:05Z
ok
15:32
btw vim works too
15:32
just fine
Avatar
ChillerDragon BOT 2023-03-09 15:32:15Z
so you can adapt readme
15:32
to have vim and neovim section
Avatar
Ok I'm back. I downloaded Ubuntu 22, went on live usb. Updated, installed libsdl. Opened ddnet, it loads into the game and then I can't move mouse anymore. Any idea?
Avatar
make the pr
15:32
so u have a contribution xd
Avatar
ChillerDragon BOT 2023-03-09 15:32:51Z
fakof
Avatar
ChillerDragon BOT 2023-03-09 15:33:00Z
i pro contributor alr
15:33
i top10 ranked
15:33
i was farming a lot of xp with typo prs
15:33
because im pro stat githubber
Avatar
ChillerDragon BOT 2023-03-09 15:34:05Z
@Shyzo why stick?
Avatar
im lower xd
15:34
sadge
Avatar
that_haiku_user BOT 2023-03-09 15:34:13Z
do you get any power ups if you have more contributions
Avatar
yeah more lines = proer coder, air
Avatar
actually some of my old commits are not attributed to me cuz a email change
Avatar
ChillerDragon BOT 2023-03-09 15:34:35Z
that_haiku_user no i just gameify it to keep me motivated :D
Avatar
that_haiku_user BOT 2023-03-09 15:34:37Z
why cant you add ur old email
Avatar
Avatar
ChillerDragon
@Shyzo why stick?
Don't want to install on disk atm. Only if I think it's cool xd
Avatar
i think i dont have the domain anymore
Avatar
that_haiku_user BOT 2023-03-09 15:35:04Z
F.
Avatar
ChillerDragon BOT 2023-03-09 15:35:09Z
im not sure if using a stick will ever be cool
Avatar
i had ryozuki.xyz but i wanted more exposure in the dev world and it was too weeby
15:35
so i have edgarluque.com
Avatar
ChillerDragon BOT 2023-03-09 15:35:34Z
UwU
Avatar
boring
Avatar
ChillerDragon BOT 2023-03-09 15:35:39Z
edg-l
Avatar
i should get a better domain
Avatar
Prob not. But I can try it and if it works and I like it, then I can load it onto disk. I don't want to corrupt anything on my disk
15:35
By trolling
Avatar
ChillerDragon BOT 2023-03-09 15:35:58Z
you can buy ryo.zillyhuhn.com for 20 bucks a month
15:36
@Shyzo i highly recommend using a disk that has nothing on it
15:36
so you cant trol any data
Avatar
Yes. But I don't have that atm. That's why I use a stick 🤣
Avatar
ChillerDragon BOT 2023-03-09 15:37:01Z
ok i see
15:37
then keep stickin
15:37
as for mouse issues idk you can try window mode or all the gfx options basically
15:37
installing drivers for your gpu etc
15:37
switch render backend
Avatar
:D so you got any idea why my game freezes?
Avatar
ChillerDragon BOT 2023-03-09 15:37:55Z
try opengl instead of vulkan
Avatar
traffic on my vps, most is from the wiki and a site i have
Avatar
I would do that. But I really can't load into the game. It freezes at the first screen. And I can't find the appdata folder on Ubuntu. (Haven't look yet tho xd). To change it in the config directly
Avatar
ChillerDragon BOT 2023-03-09 15:38:32Z
./DDNet "gfx_backend OpenGL"
Avatar
oh wait this is for just 9 days
15:38
here february
Avatar
ChillerDragon BOT 2023-03-09 15:39:51Z
no comment support?
Avatar
does ddnet support comments?
15:40
i forgor xd
Avatar
ChillerDragon BOT 2023-03-09 15:40:07Z
bruv
Avatar
Avatar
ChillerDragon
./DDNet "gfx_backend OpenGL"
Holy that image is scuffed. Can you ready anything? Don't think it worked cause it says GPU version vulkan
Avatar
@edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l
Avatar
install screenshot
Avatar
Avatar
Shyzo
Holy that image is scuffed. Can you ready anything? Don't think it worked cause it says GPU version vulkan
U don't have GPU driver installed
Avatar
ChillerDragon BOT 2023-03-09 15:40:53Z
:p
Avatar
and take screenshots
Avatar
ChillerDragon BOT 2023-03-09 15:41:03Z
and install discord
15:41
to send them xd
Avatar
troll chiller
Avatar
ChillerDragon BOT 2023-03-09 15:41:31Z
gfx_backend
15:41
not gfx backend
15:41
boi shyo
15:41
hop on irc web
15:41
so u can copy stuff
Avatar
Wow you guys think I'm einstein.
Avatar
Avatar
ChillerDragon
not gfx backend
Oopsi
Avatar
Avatar
Jupstar ✪
U don't have GPU driver installed
Mhh
15:42
enter #ddnet
15:42
as channel
15:42
go there in your ubuntu
15:42
so you can chat here
Avatar
shyogamer BOT 2023-03-09 15:42:23Z
hi im shyo
15:42
i like ubuntu veri much
Avatar
shyzoneedshelp BOT 2023-03-09 15:42:51Z
its me
Avatar
shyogamer BOT 2023-03-09 15:42:51Z
also chiler dragon is og top10 teeworlds gamers
15:42
wow fake shyo
15:42
i better rq
Avatar
ChillerDragon BOT 2023-03-09 15:43:05Z
ok amazing
Avatar
shyzoneedshelp BOT 2023-03-09 15:43:10Z
ok dis is cool
Avatar
ChillerDragon BOT 2023-03-09 15:43:13Z
now you can send screenshots here
15:43
and copy stuff
15:43
ez converted windows discord user to irc linux
Avatar
shyzoneedshelp BOT 2023-03-09 15:43:47Z
so jupstar said i need to update drivers. let me check that first
Avatar
ChillerDragon BOT 2023-03-09 15:43:48Z
poggies
15:44
i mean tbh using discord web would probably be as little effort as webchat quakenet
15:44
you just have to solve 1 captcha and select a birth date
Avatar
shyzoneedshelp BOT 2023-03-09 15:44:56Z
ye no thats clearly too much to handle.
Avatar
ChillerDragon BOT 2023-03-09 15:45:01Z
i personally have to solve 20 captchas because discord flagged me as big enemys
15:45
@edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @edg-l @...
Avatar
shyzoneedshelp BOT 2023-03-09 15:45:55Z
sudo apt install nvidia-driver-515 nvidia-dkms-515 im using this. but i think i need to restart my pc after, which kinda makes the live usb useless, doesnt it? xD
Avatar
ChillerDragon BOT 2023-03-09 15:46:02Z
yes
15:46
i should have told you
15:46
usb trash
15:46
forgot to do so
Avatar
shyzoneedshelp BOT 2023-03-09 15:46:23Z
happens
Avatar
ChillerDragon BOT 2023-03-09 15:46:45Z
come to munich i borrow u a harddrive with gaming linux preinstalled
15:49
wow vim syntax is ez
15:49
i think i got comments xd
Avatar
shyzoneedshelp BOT 2023-03-09 15:49:28Z
nice chillerdragon, your command worked
Avatar
ChillerDragon BOT 2023-03-09 15:49:40Z
opengl > vulkan
Avatar
shyzoneedshelp BOT 2023-03-09 15:49:44Z
it looks insanely shit tho. with red corners and stuff
Avatar
ChillerDragon BOT 2023-03-09 15:49:46Z
dont let jopstar know i said that
15:49
xd
Avatar
shyzoneedshelp BOT 2023-03-09 15:49:56Z
in general my whole monitor is kinda red xD
Avatar
ChillerDragon BOT 2023-03-09 15:50:07Z
we saw the screens
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
ChillerDragon BOT 2023-03-09 15:51:28Z
@Ryzokui nvm solved vim syntax ma self cuz i vim hacker
15:53
i was doing it
15:53
omg
15:53
ur missing this
15:53
hi def link comment Comment
Avatar
ChillerDragon BOT 2023-03-09 15:54:15Z
wat it do
15:56
i co authored you
15:56
to boost your stats buddy
15:56
OwO
Avatar
highlight definition link
15:56
to a type of Comment iirc
15:56
its nice for themes that support more colors iirc
Avatar
ChillerDragon BOT 2023-03-09 15:56:38Z
i dont speak vim sorry
Avatar
aka to make it work with colorschemes
Avatar
ChillerDragon BOT 2023-03-09 15:57:26Z
how do we add autocomplete for all settings/commands?
15:57
also syntaxhighlight unkown settings
15:58
oh lol u can bors?
Avatar
yeah im co owner
Avatar
ChillerDragon BOT 2023-03-09 15:58:17Z
pro
Avatar
well part of the org
Avatar
shyzoneedshelp BOT 2023-03-09 16:08:33Z
thanks again chillerdragon
16:08
im out
Avatar
ChillerDragon BOT 2023-03-09 16:10:44Z
rq
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...
16:25
a38a5df vim syntax support comments (closed #6399) - ChillerDragon bdaaeae Merge #6400 - bors[bot]
Avatar
I just took a python, git/github basics lab just to see what they teach students nowadays and I'm concerned
Avatar
ChillerDragon BOT 2023-03-09 16:31:29Z
whats a "lab"
Avatar
Just a lecture but where students actively follow along
Avatar
ChillerDragon BOT 2023-03-09 16:31:52Z
in your uni?
Avatar
ChillerDragon BOT 2023-03-09 16:32:00Z
you hopped in a first semester room
16:32
physically?
Avatar
It's technically part of a 3rd semester class, but yes that's what I did
Avatar
ChillerDragon BOT 2023-03-09 16:32:38Z
why concerned
16:32
because you couldnt follow along?! :D
16:32
hihihihi
Avatar
The professor was copying and pasting stuff from slides and couldn't get stuff to work for like 20 minutes
🙈 1
16:33
We are talking about generating an ssh key here 😛
Avatar
ChillerDragon BOT 2023-03-09 16:33:28Z
yikers
16:33
so the prof was noob?
Avatar
The prof had python datascience brainrot, he spent too much time messing around with numbers that he lost his touch with the computer
16:35
and the exercises were bizarre, I still don't know what this one is supposed to mean even
Given a range of numbers. Iterate from i-th number to the end number and print the sum of the current number and previous number.
Avatar
ChillerDragon BOT 2023-03-09 16:35:16Z
Avatar
Avatar
Learath2
and the exercises were bizarre, I still don't know what this one is supposed to mean even
Given a range of numbers. Iterate from i-th number to the end number and print the sum of the current number and previous number.
Given how? (no explanation), print the sum of what? previous number? huh?
Avatar
ChillerDragon BOT 2023-03-09 16:36:15Z
do you have prompt engineering classes in uni already?
16:36
like on how to use chatgpt
Avatar
lol, not yet
Avatar
Avatar
ChillerDragon
Click to see attachment 🖼️
This is honestly a much better summary of git than the mess of commands he had on his slides
Avatar
ChillerDragon BOT 2023-03-09 16:38:09Z
xd
16:38
to be fair one does not need to be a git wizard to be a good dev
16:39
i showed this meme to coworkers who didnt get it cuz they only use git guis
Avatar
I hate to agree with the newage people but they might be right that universities are just not good for non-theoretical computer science
16:39
If you want to learn about the worst case complexity of a* great, if you want to actually develop software not so much ngl
Avatar
ChillerDragon BOT 2023-03-09 16:40:10Z
i dont understand how u still in uni
16:40
arent you like 50 and started cs with 12?
16:40
are you making your 4th doctor or what?
16:40
no offense
Avatar
None taken, I'm just a horrible student
Avatar
ChillerDragon BOT 2023-03-09 16:40:48Z
:p
Avatar
I hated all the engineering stuff, so I just didn't do any of it
16:41
Then I had only engineering stuff left in my curriculum so I had no motivation to finish the degree even
Avatar
ChillerDragon BOT 2023-03-09 16:41:49Z
are your lectures in english?
Avatar
ChillerDragon BOT 2023-03-09 16:42:14Z
is your uni bulding cool?
Avatar
Eh, sure, it's not bad
Avatar
ChillerDragon BOT 2023-03-09 16:42:30Z
ok i come visit
Avatar
What for even?
Avatar
ChillerDragon BOT 2023-03-09 16:43:12Z
quality python lab
16:43
we do not have any python in germany
Avatar
good good, python is the worst language imagined by mankind
Avatar
ChillerDragon BOT 2023-03-09 16:44:37Z
didnt you promise me a vlog from your uni anyways?
Avatar
Not that I recall
Avatar
ChillerDragon BOT 2023-03-09 16:45:16Z
i do
Avatar
I don't think I'll listen to the rest of this lab, I'm going home sadge
Avatar
ChillerDragon BOT 2023-03-09 16:47:02Z
oh wow its right now?
16:47
I wanted to vent my disappointment during the break
Avatar
ChillerDragon BOT 2023-03-09 16:47:36Z
quick python trivia
16:47
is this a syntax error yes or no? "foo", "bar"
16:48
no
Avatar
ChillerDragon BOT 2023-03-09 16:48:19Z
pro
16:48
you did learn a lot in this lab
16:48
!
Avatar
definitely learned in this lab 😄
Avatar
ChillerDragon BOT 2023-03-09 16:48:44Z
now your just being unthankful
Avatar
true, I'll go thank the teacher before I leave
Avatar
ChillerDragon BOT 2023-03-09 16:49:12Z
xd
Avatar
My favourite python trivia question is the for/else
Avatar
ChillerDragon BOT 2023-03-09 16:50:38Z
oh yea its the best
16:50
wait i dont fully recal
16:50
else gets run if for didnt loop right?
Avatar
else clause executes if for loop finished without a break
Avatar
ChillerDragon BOT 2023-03-09 16:51:02Z
oh shit
16:51
without break :D
Avatar
or in other words if the loop finished normally
Avatar
ChillerDragon BOT 2023-03-09 16:51:47Z
makes total sense
16:51
in case of happy path
16:52
execute sad path as well
16:52
is there any lang without trol features?
Avatar
it makes to have it
16:52
but maybe else wasn't a good keyword
Avatar
ChillerDragon BOT 2023-03-09 16:52:53Z
yea i guess
Avatar
what's the troll feature of rust? 🙂
Avatar
0 troll in C, only serious language
Avatar
trigraphs
16:53
\\? (edited)
Avatar
we don't talk about those
Avatar
ChillerDragon BOT 2023-03-09 16:53:34Z
C not so sure rust i don't know enough but i kinda doubt it has no trolings
Avatar
did you know that you can use \u0123 escapes in normal java source code?
Avatar
ChillerDragon BOT 2023-03-09 16:54:10Z
wat so special about u123
Avatar
e.g. you can use \u002f\u002f to start a comment
Avatar
ChillerDragon BOT 2023-03-09 16:54:44Z
wow
16:55
did you know <!-- this --> is a valid javascript comment? :D
Avatar
Avatar
heinrich5991
e.g. you can use \u002f\u002f to start a comment
Lol, how do they even handle that I wonder
Avatar
ChillerDragon BOT 2023-03-09 16:57:18Z
im not sure where this unicode thingy comes from but sounds convienent to accept similar unicode characters as syntax
Avatar
I don't think it is a valid JS comment
Avatar
ChillerDragon BOT 2023-03-09 16:57:30Z
it should be
16:57
node eats it well
Avatar
care to link a reference?
Avatar
ChillerDragon BOT 2023-03-09 16:58:04Z
from where i know about it or my node terminal that doesnt throw a syntax?
16:58
I guess?
Avatar
who uses js afterall giga_chad
Avatar
ChillerDragon BOT 2023-03-09 16:59:07Z
i know it from yt some dude said its there because back in the days the idea was to srpingle a bit of js <script> tags into your web page and then might as well use same comment syntax :D
Avatar
I thought it was a way to hide JS from non-JS browsers
16:59
ah
16:59
hm
16:59
no
Avatar
ChillerDragon BOT 2023-03-09 16:59:53Z
not sure how my memory of a dude on yt is any accurate
17:01
@Ryozuki can we pls have html like comments in ryo lang? thanks
17:01
and also the unicode comments
Avatar
lalrpop is amazing
Avatar
Avatar
ChillerDragon
@Ryozuki can we pls have html like comments in ryo lang? thanks
its not ryolang its edlang
Avatar
ChillerDragon BOT 2023-03-09 17:03:21Z
ok mr ed
17:03
and no
17:03
html comments sux
Avatar
ChillerDragon BOT 2023-03-09 17:03:43Z
sad
17:03
html only progaming language i know
Avatar
Avatar
heinrich5991
I don't think it is a valid JS comment
it is valid
17:04
this is for legacy reasons on <script> in html
Avatar
ChillerDragon BOT 2023-03-09 17:04:13Z
so wat the dude on yt said is tru :D
Avatar
Avatar
Learath2
I hate to agree with the newage people but they might be right that universities are just not good for non-theoretical computer science
drinkblob
17:05
im kinda glad and not that i left uni first year in
Avatar
Avatar
ChillerDragon
html only progaming language i know
ackshully html isn't programming language 🤓
Avatar
maybe missed opportunity to learn something, but i can learn myself too
17:06
and i didnt have that much money, and i doubt my parents either
17:06
to pay how much it costs
17:06
even if its public u have to pay lol
17:06
and if u fail a module, u need to pay it again to do it again lol
17:07
and i knew i would fail some
17:07
its a mafia
17:07
and now i earn the most among my friends
17:07
kek
Avatar
Avatar
Learath2
ackshully html isn't programming language 🤓
it isnt
Avatar
Avatar
Ryozuki
maybe missed opportunity to learn something, but i can learn myself too
At the very least I can tell you you didn't miss anything from the sampling of universities I've seen lectures from
Avatar
maybe if they teached state of the art compiler stuff
17:09
like MLIR
17:09
its dope
17:09
but im learning it by myself
17:09
and getting paid for it
17:09
so
Avatar
That's probably more graduate level where you probably don't even get lectures but are expected to research it yourself anyway 😄
17:14
Avatar
i dont use netflix
Avatar
the article is cool ^^
17:15
independent of using netflix or not
Avatar
Avatar
murpi
I enter the game, the game freezes when I press the play button
I don't understand how this crash happens immediate when you start the game. The crash log says that an editor popup was open and from this a tile layer was created, either with too large size for the 32 bit version or with negative size (for whatever reason).
Avatar
ChillerDragon BOT 2023-03-09 17:16:31Z
heinrich u got a tldr for that blog?
Avatar
At that point the PDB for Chrome was at 95% of 4 GiB
Avatar
ChillerDragon BOT 2023-03-09 17:17:01Z
install software to bypass closed src dmca thingies?
Avatar
I wonder if anyone actually tried reverse engineering libwidevine
Avatar
tldr: it's apparently harder to watch netflix "legally" on unsupported platforms than breaking it
17:19
read the article :p
17:19
Thus begins the "do not violate the DMCA challenge 2023". The goal of this challenge is to figure out how to watch Netflix on Asahi Linux without bypassing or otherwise breaking DRM.
>
You may notice that this article is significantly longer than my 280-character publication on doing the latter, from 2019.
Avatar
ChillerDragon BOT 2023-03-09 17:19:42Z
your tldr is good thanks :)
Avatar
Offtopic to the current conversation has anyone got mpd (music player daemon) working?
Avatar
ChillerDragon BOT 2023-03-09 17:23:18Z
this is a ddnet only channel no music player channel please use #off-topic
Avatar
How would you respond to #off-topic though? Plus I thought it might be interesting (what I am trying to achieve) (edited)
Avatar
ChillerDragon BOT 2023-03-09 17:24:56Z
hehe the burn
17:25
irc bullying
Avatar
Avatar
ChillerDragon
your tldr is good thanks :)
hihooo schillerdragon! ^^
Avatar
ChillerDragon BOT 2023-03-09 17:30:15Z
powa
Avatar
Avatar
heinrich5991
have you tried the arch wiki, @Mr.Gh0s7? https://wiki.archlinux.org/title/Music_Player_Daemon
ye I can't figure out how to use it 😅
Avatar
A revolutionary keyboard with integrated display which adapts to you.
17:55
incredible
17:55
@Learath2
17:56
the icons of the keys are from the led display btw all keys are transparent
Avatar
looks cool but ig it's not "mechanical"
17:57
:O it's maglev
Avatar
The Flux Keyboard combines the best of both worlds. The tactility and speed of a mechanical keyboard with the adaptability of a screen, breaking down the barriers between you and what you want to do.
Avatar
makes sense it's maglev now that I think about it because all the "wires" would be inside the case and the keyboard just has the magnets cool
Avatar
quadcoom arm
17:59
8gb internal storage
17:59
kek
17:59
the keyboard itself is a computer
17:59
Embedded SOC Quad-core ARM processor
Avatar
can it run ddnet though?
Avatar
1920 x 1080 px IPS display 157 PPI 60hz 300 nit brightness 100% sRGB
18:00
The keyboard will cost between US$299 - $350 after discounts for pre-orders with a retail price of US$450.
18:00
not bad honestly
Avatar
I expected it to be near ~700$
Avatar
the keyboard looks like shit tho
18:05
so small
18:05
no numpad
Avatar
// Function handling Param: Parameter = { <Identifier> ":" <Identifier> => Parameter::new(<>) }; Params = Comma<Param>; FunctionReturn: Identifier = { "->" <i:Identifier> => i, } Function: Function = { "fn" <i:Identifier> "(" <a:Params> ")" <r:FunctionReturn?> "{" <s:Statements> "}" => Function::new(i, a, s, r) }
18:20
lalrpop is so cool
18:20
fn hello(a: i64, b: i64) -> i64 { let x = a + b; let y = x + 1; } let b = hello(2, 3, hello(4));
18:20
i can parse this xd
18:20
totally not rust inspired
18:21
need to add the return thing
Avatar
lalrpop I'm guessing is just an LR language parser?
18:35
Parser generator*
Avatar
LR(1) parser generator for Rust. Contribute to lalrpop/lalrpop development by creating an account on GitHub.
18:39
lalrpop itself is made with lalrpop
18:40
originally made by niko matsakis
18:40
a core rust dev
18:46
JDK 20, the third non-LTS release since JDK 17, has reached its initial release candidate phase with a final set of seven (7) new features, in the form of JEPs, that can be separated into two categories: Core Java Library and Java Specification. We examine JDK 20 and predict what features may be targeted for JDK 21.
18:46
for you
18:46
i know u love this
Avatar
Avatar
Ryozuki
maybe if they teached state of the art compiler stuff
it's always interesting for students to start with historical stuff. You probably didn't learn complex number before seeing integers and then real numbers
Avatar
before i dont get 20% more FPS in minecraft java updates are useless xd
Avatar
Avatar
Chairn
it's always interesting for students to start with historical stuff. You probably didn't learn complex number before seeing integers and then real numbers
i never said to not teach that
18:48
its just that they dont teach the new stuff
18:48
that i know of
18:48
or atleast its the image most unis give off
Avatar
well, as a uni teacher, i can tell you that we'd like to, but we don't have enough time
Avatar
oh ur a uni teacher now?
18:49
nice
Avatar
im given 10 hours to teach 1st year student basic digital electronics
18:50
base 2 representation, 2's complement, boolean algebra, combinatorial logics, sequential logics and state machine
Avatar
Avatar
Chairn
well, as a uni teacher, i can tell you that we'd like to, but we don't have enough time
this gives a rly interesting philosophical question: eventually you will have to learn so many "before" things to reach to the "current knowledge" that to be a a expert u will be a old person, or you can just skip the before stuff
Avatar
clearly not enough
18:50
you can skip part of it
18:50
for instance in architecture, we could skip stack based machine
18:50
BUT Java uses this in software, so, we can't really skip it
Avatar
Avatar
Ryozuki
this gives a rly interesting philosophical question: eventually you will have to learn so many "before" things to reach to the "current knowledge" that to be a a expert u will be a old person, or you can just skip the before stuff
i believe it is the case if you wanna see everything in physic or math
18:52
so you gotta just see a subpart of it
Avatar
Avatar
Ryozuki
lalrpop itself is made with lalrpop
How was the first lalrpop made? 😛
Avatar
idk xd
19:06
Empowering everyone to build reliable and efficient software.
Avatar
ea25fd9 Document vim and neovim syntax install - ChillerDragon 21fa527 Merge #6401 - bors[bot]
Avatar
2e25167 Remove fatal space from vim syntax - ChillerDragon 4f8ff9c Merge #6402 - bors[bot]
Avatar
Would be nice if the client could detect that the server started from the main menu was stopped. 1. The menu button should be updated to reflect whether the server is still running. For example the server may have been shut down manually with shutdown or it may have failed to start entirely due to the map missing or another issue. 2. If the server stops directly after launching, we could try to show an error message, which would be even more useful if it could show the last few lines fr...
Avatar
So, further to recent changes at Gandi, I've just got some more info from support which I've included below. I've purchased domains from Gandi, pre-paying for multiple years of service such that some domains I have don't need renewing until 2027. When I purchased that service the offer was inclusive of 2 mailboxes for the duration of the contrac...
20:45
nooooooooooooo
20:45
my registar
20:45
When I purchased that service the offer was inclusive of 2 mailboxes for the duration of the contract, and now they're planning to remove those inclusive mailboxes and start charging me extra for them from next month.
20:45
i actually use that mailbox for ddnet wiki
20:45
wtf
20:50
anyone using cloudflare itself as a registar?
20:50
do they offer mailboxes? xd
Avatar
i have very seriously considered it a few times but they don't have my TLD
20:58
damn 2€ monthly
20:59
i can host my own email, but ur not paying for that, ur paying for the trusthworthyness of the system lel
21:11
also around 2€/m, it's 19$/y
Avatar
hey, im trying to build https://github.com/35niavlys/teeworlds-trainfng.. idk if this is the right place to ask, but im having trouble with building/compiling it, and i figured somone here might know whats going on?
21:23
I have cmake installed. (edited)
Avatar
don't use sudo for building softwares
21:27
try sudo apt install build-essential
21:28
sudo apt install build-essential cmake git google-mock libcurl4-openssl-dev libssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libsdl2-dev libsqlite3-dev libwavpack-dev python libx264-dev libavfilter-dev libavdevice-dev libavformat-dev libavcodec-extra libavutil-dev libvulkan-dev glslang-tools spirv-tools libpng-dev
Avatar
If i don't do sudo before then it tells me permission denied xd
21:28
alright
Avatar
never ever use sudo for building stuff, fix permission problems first
Avatar
something like chmod 755 build/
Avatar
just remove the dir and recreate it xd
Avatar
-R
Avatar
these are mixed messagess
21:29
but i guess ill go with one of these lmao
21:30
what does -R do?
Avatar
well when u already used sudo with git clone
21:30
best is u re clone it
21:30
-R means recursive
21:30
so all files in a directory
21:31
its a flag for chmod
Avatar
wait what dont tell me i have to reclone
21:31
downloading 600MB took 3 hours lmao
Avatar
ah yeah, so something like cd && sudo chmod -R 755 Downloads
21:31
then just cd -
Avatar
not chmod
21:31
more like chown
Avatar
also i didnt use sudo when i git cloned it
Avatar
ah also...
Avatar
i'd probs only use chown
Avatar
sudo uses root user
Avatar
yeah
21:32
i dunno if they do, but if the compiler checks the permission level this can still cause weird problems
Avatar
Avatar
Jupstar ✪
i dunno if they do, but if the compiler checks the permission level this can still cause weird problems
why would it?
Avatar
so whats the first thing i do xd🤓
21:33
kinda noob here and i have no clue what i screwed up
Avatar
cd ~/Downloads
Avatar
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} && cd -
Avatar
alright, i know that part at least lmao
Avatar
should fix most of it
Avatar
chown -R kujire:kujire -R teeworlds-trainfng
Avatar
Avatar
Chairn
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} && cd -
alr lol
Avatar
Avatar
Chairn
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} && cd -
755 is quite lessisive
Avatar
ok downloading essential build thing first which is taking ages with my 20kb/s
Avatar
ah god, should use find then...
Avatar
Avatar
Chairn
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} && cd -
chown -R user:user
21:36
why so complicated
Avatar
something like find Downloads -type f -exec chmod 644 {} \; then find Downloads -type -exec chmod 755 {} \;
21:36
because i use these like once a month
21:37
dont know all the shortcuts
Avatar
644 is pretty normal
21:37
why change it
Avatar
Avatar
Chairn
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} && cd -
so start from ~ or whatever and then just run this?
Avatar
we don't know how much he messed with permissions
21:37
first cd will move you into ~
Avatar
ah ok ty
21:38
i feel stupid being this much of a noob justatest
21:38
ig this is what devs like yall deal with daily anyway xd
Avatar
no
21:39
usually u only add -x to a file permission
21:39
i rarely ever touch then for a different reason
21:39
some programs refuse specific modes
Avatar
e.g. ssh only allows user permissions
21:39
on .ssh
Avatar
it didnt work
21:40
feelsamazingman
Avatar
ah forgot Downloads after ${USER} in chgrp command
Avatar
so chgrp -R ${USER} && cd Downloads-?
Avatar
nah, chgrp -R ${USER} Downloads
Avatar
lmao
21:41
dont laugh at m
Avatar
then cd Downloads/something-fng
Avatar
Avatar
Tristis
dont laugh at m
i assume u use KDE?
Avatar
cinnomen
Avatar
why not simply right click -> settings -> rights
Avatar
or however thats spelled
Avatar
and then do it with a gui xD
Avatar
Avatar
Tristis
so chgrp -R ${USER} && cd Downloads-?
sudo chmod -R 755 Downloads && sudo chown -R ${USER}:${USER} Downloads
Avatar
idk im not the magician
21:42
ok
21:42
the command worked i think
21:43
cd && sudo chmod -R 755 Downloads && sudo chown -R ${USER} Downloads && sudo chgrp -R ${USER} Downloads
21:43
this is what i was supposed to do right?
Avatar
both works
Avatar
looks like yes
Avatar
so now jhust try and build again?
Avatar
without sudo
Avatar
alright
Avatar
try with sudo again to check if you understood the previous part
21:44
it worked
21:44
but a new error greenthing
Avatar
-- No package 'vulkan' found CMake Error at cmake/BuildVulkanShaders.cmake:25 (message): glslangValidator binary was not found. Did you install the Vulkan SDK / packages ? Call Stack (most recent call first): CMakeLists.txt:582 (include)
21:44
something about vulkan
21:44
idk
Avatar
install vulkan
21:45
glslangValidator binary was not found.
Avatar
xd jk ill go look
Avatar
dont u just want a server?
21:45
xd
Avatar
simply pass -DCLIENT=OFF
21:45
to cmake
21:45
cmake .. -DCLIENT=OFF
21:45
ok
21:45
big brain time
21:46
ok now its having issues
21:46
21:46
fuck
21:46
looks likea bunch of libs didnt download.. or?
Avatar
normal in some cases
21:47
if you build only server-side you don't need some
Avatar
so what now
21:47
gigachad
Avatar
install zlib
21:48
should be named zlib1g smth like that
Avatar
cmake .. -DCLIENT=OFF -DTOOLS=OFF
21:48
zlib-dev probs
Avatar
didnt fix anything
21:48
kujire@UnfortunateSSD:~/Downloads/teeworlds-trainfng/build$ cmake .. -DCLIENT=OFF -DTOOLS=OFF -- Using gold linker -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) -- Could NOT find Crypto (missing: CRYPTO_LIBRARY CRYPTO_INCLUDEDIR) -- Checking for module 'libcurl' -- No package 'libcurl' found -- Checking for module 'freetype2' -- No package 'freetype2' found -- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDEDIR) -- Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES) -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Checking for module 'ogg' -- No package 'ogg' found -- Checking for module 'opus' -- No package 'opus' found -- Checking for module 'opusfile' -- No package 'opusfile' found -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find PNG (missing: PNG_PNG_INCLUDE_DIR) -- Checking for module 'sdl2' -- No package 'sdl2' found -- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDEDIR) -- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR) -- Checking for module 'sqlite3' -- No package 'sqlite3' found -- Checking for module 'wavpack' -- No package 'wavpack' found -- ** TrainFNG ** -- Target OS: linux x86_64 -- Compiler: /usr/bin/c++ -- Build type: Release -- Dependencies: -- * Curl not found (using bundled version) -- * Freetype not found -- * Glew not found (using bundled version) -- * GTest not found -- * Ogg found -- * OpenSSL Crypto not found -- * Opus found -- * Opusfile not found (using bundled version) -- * PNG not found (using bundled version) -- * PythonInterp found -- * SDL2 not found -- * SQLite3 not found (using bundled version) -- * Wavpack not found (using bundled version) -- * Zlib not found -- To run the tests, you have to install GTest -- Could NOT find Notify (missing: NOTIFY_LIBRARIES NOTIFY_INCLUDE_DIRS) -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: ZLIB_LIBRARY linked by target "TrainFNG-Server" in directory /home/kujire/Downloads/teeworlds-trainfng -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. kujire@UnfortunateSSD:~/Downloads/teeworlds-trainfng/build$
Avatar
yes because server requires zlib
21:49
sudo apt install zlib1g-dev
21:49
ok finally it built
21:49
ty guys lmao
Avatar
btw we even seem to not have it included in our README
Avatar
is it normally preisntalled?
Avatar
yup, just noticed that
21:50
(ig depends on systems but generally no)
Avatar
i mean dev and runtime is different anyway
Avatar
ok gtg now tysm everyone lol
Avatar
time for quick pr then
Avatar
Avatar
Jupstar ✪
i mean dev and runtime is different anyway
+
21:51
there's not only that missing
21:51
all the sqlite stuff if I remember correctly
21:51
some other libs
Avatar
mhh i could swear every single time i install new OS
21:51
i just copy paste the command
21:51
and it works
Avatar
u're a client-side chad
Avatar
yeah but i usually do make -j20
Avatar
(dunno if it uses zlib, never knew the use-case of it)
Avatar
without specifying a target
21:52
zlib is the compression lib
Avatar
our client uses it too anyway
21:52
for map compression
21:53
i think most libs simply link to zlib-dev (edited)
21:53
"dep: zlib1g-dev"
Avatar
Avatar
Robyt3
There is a script that works on Linux, but I use some tricks to do it on Windows instead: 1. Download and unpack correct symbols from https://ddnet.org/downloads/symbols/ 2. Get module base address of the executable (dumpbin on from Visual Studio tools) --> for this it says "400000 image base" (hex) 3. Open the executable with gdb 4. Use info symbol <address> to find out the function for the lines in the backtrace Where <address> is calculates as the number at the end of the line (e.g. 0x2f0cbc for the first line) plus the module base address. And do this for some of the lines: (gdb) info symbol 0x786ef0 typeinfo for std::bad_alloc in section .rdata (gdb) info symbol 0x6f00d2 operator new(unsigned int) [clone .cold] + 42 in section .text (gdb) info symbol 0x552654 CLayerTiles::CLayerTiles(int, int) + 260 in section .text (gdb) info symbol 0x558cd1 CEditor::UiDoPopupMenu() + 385 in section .text
so he starts the client presses "Play" and it crashes inside the editor?
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
as a rust fanboy i'd expect you to not understand it. not bcs its hard to understand, but bcs its too bad solution xd
Avatar
@Robyt3 do we like execute the editor console chains, and do they call some editor code?
22:10
how should editor code else be called at all, except the Init
Avatar
No idea how this happens. I tried again with addr2line and I get the same results: 0x006f0cbc uw_init_context_1 /build/mingw-w64-gcc/src/gcc/libgcc/unwind-dw2.c:1593 0x00786ef0 ?? teamscore.cpp:? 0x006f00d2 ?? ddnet_base.48a:? 0x00552654 _ZN11CLayerTilesC2Eii /home/deen/isos/ddnet/ddnet-source/src/game/editor/layer_tiles.cpp:40 0x006ebfdc _Znwj /build/mingw-w64-gcc/src/gcc/libstdc++-v3/libsupc++/new_op.cc:50 0x0055f4b7 _ZN7CEditor10PopupGroupEPS_7CUIRectPv /home/deen/isos/ddnet/ddnet-source/src/game/editor/popups.cpp:285 0x00558cd1 _ZN7CEditor13UiDoPopupMenuEv /home/deen/isos/ddnet/ddnet-source/src/game/editor/popups.cpp:89 0x0054665f _ZN7CEditor6RenderEv /home/deen/isos/ddnet/ddnet-source/src/game/editor/editor.cpp:5967
22:14
So this happens in the PopupGroup render function
22:15
That should only be called while the editor is open and the popup is manually opened
22:15
And popups.cpp:285 is only reached when the button "Add tile layer" is pressed
Avatar
Avatar
Robyt3
No idea how this happens. I tried again with addr2line and I get the same results: 0x006f0cbc uw_init_context_1 /build/mingw-w64-gcc/src/gcc/libgcc/unwind-dw2.c:1593 0x00786ef0 ?? teamscore.cpp:? 0x006f00d2 ?? ddnet_base.48a:? 0x00552654 _ZN11CLayerTilesC2Eii /home/deen/isos/ddnet/ddnet-source/src/game/editor/layer_tiles.cpp:40 0x006ebfdc _Znwj /build/mingw-w64-gcc/src/gcc/libstdc++-v3/libsupc++/new_op.cc:50 0x0055f4b7 _ZN7CEditor10PopupGroupEPS_7CUIRectPv /home/deen/isos/ddnet/ddnet-source/src/game/editor/popups.cpp:285 0x00558cd1 _ZN7CEditor13UiDoPopupMenuEv /home/deen/isos/ddnet/ddnet-source/src/game/editor/popups.cpp:89 0x0054665f _ZN7CEditor6RenderEv /home/deen/isos/ddnet/ddnet-source/src/game/editor/editor.cpp:5967
i get the same stack trace too
22:18
maybe the trace is simply wrong on 32bit xD
Avatar
The lines fit together though
22:19
Would be a strange coincidence
Avatar
his assert logs indicates some invalid texture use
22:19
but he deleted them
Avatar
Maybe if the map doesn't contain a game layer then invalid memory is accessed
22:21
I expected that 32 bit would at least consistently crash on null-pointer access
Avatar
Optimize MOTD rendering by caching the round rect and the text. Use the correct text height based on the aligned font size instead of the original font size, to fix the discrepancy between the scrollable height and the text height. Closes #6346. Screenshots:
  • Tutorial, ingame:
  • Before:
!Tutorial ingame old
  • After:
![Tutorial ingame new](https://user-images.githubuser...
Avatar
@fokkonaut @Jupstar ✪ DDracemaX : some alpha/beta more offline than online state was 2009-2010 (feb/march) DDracemaX (24h online) start at end of february / beginning of march (so we could assume 1st of march 2010) DDNet started on 18th of July 2013 (if ddnets timeline on wiki says the truth) DDracemaX shutdown in first half of october 2014 Map challenge which deen first finished on ddnet (thats what jupstar wrote) was released on DDracemaX first and it was probably released on 31st of july 2012 hope that will clear your debate you guys had 2 days ago =]
Exported 895 message(s)