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 2021-05-23 00:00:00Z and 2021-05-24 00:00:00Z
Avatar
500ba76 Respect tunezone for characters - TsFreddie ae6a78c Try to fix clang-tidy warnings (untested) - def- 47d6331 Merge #3826 - bors[bot]
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 15:54:42Z
oh no :/ did zcatch stats reset?
Avatar
Kernel debugger from the future, look at that time string 😄
Avatar
what are you doing? 🙂
Avatar
nothing interesting, trying to debug a bsod
16:53
oculus is causing so many video mode changes that I think it's hitting some very unused codepaths
Avatar
"nothing interesting" said the master hacker 😛
Avatar
well I'd only be a master hacker if I manage to find the bug without any symbols 😄
16:55
otherwise I'm just a fool wasting time
16:55
hey, atleast I'm learning more about windows drivers and how they work
Avatar
I was going to look into setting up gpu passthru to finally get rid of windows completely today, but then I started to wonder whether the VM would be detected by anticheats
Avatar
@Learath2 what r u planning to play
Avatar
well I only play league and genshin impact nowadays
17:11
Avatar
but as anticheats get more and more draconian it might be an issue, even now idk if these games like to work under virtualization
Avatar
lucky i dont play many tripla a
17:12
good thing about being a niche gamer
17:12
"gamer" monkalaugh
Avatar
I also play indies, but those are already almost always released cross platform
17:12
(since it actually takes no work to do a linux release with any modern engine)
17:13
Hmmmm, SteamVR is also shit on linux, maybe I do have to keep the windows
Avatar
rly? theorically steam tries hard to support linux
17:13
altho they could do better and be conformant with their steam client
17:13
it sadly ignores lot of stuff
17:13
i cant make the chat floating without making the whole steam floating
Avatar
it's not steam, steam upgraded most of their stuff, the problem is the vr vendors not having good drivers
Avatar
because they dont use proper tags or whathever
17:14
hints
Avatar
@Ryozuki I once planned on making a cli "steam client" using steamcmd
Avatar
Your system information Steam client version (build number or date): 06/14/18 Distribution (e.g. Ubuntu): Devuan Opted into Steam client beta?: [Yes/No] Yes Have you checked for system updates?: [Y...
17:14
here my issue
Avatar
steam works like shit with tiling wms :/
Avatar
first is steam, second is chat
17:15
this sux
Avatar
The guardian popup at login will make a billion bell sounds if you move your mouse outside it
Avatar
my trick is to float everything and then select the main steam client and put it non floating manually
Avatar
(if you have focus follows mouse enabled that is)
Avatar
focus on mouse hover is the best of twm
17:16
imagine having to click tofocus
17:16
normans monkalaugh
Avatar
fwiw I've been trying to stop using the mouse at all
Avatar
for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable for_window [window_role="task_dialog"] floating enable for_window [window_role="Preferences"] floating enable for_window [window_role="About"] floating enable
17:17
tbh steam could fix this so ez
17:18
they just have to give the proper window roles
Avatar
idk why these massive companies don't hire one developer just to do these small issues
17:19
it's just one more developer and they would be making commonfolk happy all the time
Avatar
cuz twm users are 1% of 1% of 1%
Avatar
I don't mean just this
17:20
There are many small odd issues here and there like this
Avatar
a website is chatting monkalaugh
Avatar
any chance the developers could make it so if someone is using a 2 monitor setup, when u swap from the game to say, google or discord on the other screen, the game stays, mine just goes down to taskbar
Avatar
microsoft windows problems monkalaugh
Avatar
@ab.com make the game windowed
17:22
or
17:22
borderless windowed
Avatar
ok ill give that a try
17:22
yes it worked
Avatar
ha hahahhahahaha, went from 1500+fps to 64+-
17:23
wtf :DDD
Avatar
vsync on?
17:23
turn off
17:23
and try it borderless
17:23
but idk
Avatar
vsync of, its bordeless window
17:24
take of fullscreen so i dont have the original bug but keep brodeless so it doesnt fps drop
Avatar
the fullscreen minimizing the game when u alt tab is normal btw
17:24
its how fullscreen works
17:24
on windows*
17:25
@Learath2 since when does the console have color? xd
Avatar
yah, just anoying since i have to tab back into game then press windows+shift+-> to switch to other screen every time
Avatar
@Ryozuki mh, last version or so
Avatar
@Learath2 do u happen to know what does gfx_async_render_old
Avatar
only god and @Deleted User knows what the gfx_ options do
Avatar
@ab.com if u have a gpu try enabling opengl 3.3
Avatar
maybe only jupstar knows what they REALLY do internally
Avatar
btw (i know this is for developers) but is nvidia optimus not changing between 2 g cards automaticaly normal?
Avatar
oh nivdia optimus
17:27
i heard it has bugs here
17:27
@Learath2 was it chairn?
17:27
smth about 32 bits
Avatar
everyone has issues with optimus
17:27
sometimes for whatever reason it just doesn't trigger the dGPU
Avatar
i have to manualy make my game turn to dgpu from igpu so my laptop screen gets real fps
Avatar
and if it doesnt it reads 250fps +- but displays at about 40
17:28
:`(
Avatar
i dont know about such tech
17:28
sry
Avatar
all cool
Avatar
Noooo someone took my idea of a spotify terminal interface and made it real
Avatar
i know about it since ever
17:32
Spotify for the terminal written in Rust 🚀. Contribute to Rigellute/spotify-tui development by creating an account on GitHub.
17:32
its in rust
17:32
cuz u know
17:32
rust
17:32
everything is in rust lately
17:32
greenthing
Avatar
I'll make one in C
Avatar
just so it annoys you 😛
Avatar
@Learath2 the other day iwas reading lwm or the web were ppl discuss about the discussions on the linux kernel
17:33
there were some serious C holy warriors
17:33
they found anything other than C horrendous
17:33
no room for discussion
17:33
i was amazed
17:33
but
17:33
way more hardcore
Avatar
Well don't forget most of the people contributing to the kernel are OLD
Avatar
than u
17:33
yes
Avatar
old people are old people no matter whether they are tech people or not
Avatar
@Learath2 there is one guy that is mad that rust docs are in markdown and not in hand drawn ascii
17:34
xddd
Avatar
I mean we can write a tool to do markdown -> ascii if he likes, it's not rocket science
17:35
Markdown is actually pleasant to read in plaintext even so idk what he is on about
Avatar
In a lengthy message to the linux-kernel mailing list, Miguel Ojeda "introduced" the Rust for Linux project. It was likely not the first time that most kernel developers had heard of the effort; there was an extensive discussion of the project at the 2020 Linux Plumbers Conference, for example. It has also been raised before on the list. Now, t...
17:35
here is the shithole
17:35
actually interestin discussions
17:35
but some are like wanting to kill urself
17:35
you are trying to convince someone who doesnt know how rust works and makes x assumptions about how a code he seen works
17:35
and process to shit on it
17:36
e.g he things the ? that makes a early return error hides stuff and that u cant handle the error
17:36
(he was corrected but i doubt he cares)
17:36
also that RAII helps unwind on errors
17:36
removing human error
17:36
they actually prefer gotos these devs
17:37
and following them around 40 files
17:37
kek
17:38
@Learath2 i also found a rly old dude calling "smiley code" using a lambda |_| x.something
17:38
cuz he doesnt know that _ is used when u dont care about the input parameter
17:38
hilarious
17:38
"smilley programming"
Avatar
I sort of agree with Zijlstra there, a second language is raaarely a good idea
Avatar
Since Zijlstra also described the kernel rst docs as "crap" and "unreadable garbage" I'm not sure anything except hand-written ASCII would satisfy him, but perhaps others would be happy with that.
17:40
@Learath2 this guy also hates rst
Avatar
yeah that point he makes idk what he is on about
17:40
old guy stuff
Avatar
they guy i answered on hacker news got his comment flagged lmao
17:42
monkalaugh
17:43
it rly was a comment that doesnt fit hn standards so i understand it
Avatar
The more you make it look like (Kernel) C, the easier it is for us C people to actually read. My eyes have been reading C for almost 30 years by now, they have a lexer built in the optical nerve; reading something that looks vaguely like C but is definitely not C is an utterly painful experience.
See this is what I suffer from aswell, I do wish Rust had taken less steps away from C but c'est la vie. I accept that
Avatar
i like that rust is big away from C
Avatar
I'm talking about just the syntax here
Avatar
i find that C makes the programming field stall and not progress
Avatar
if they want to completely part with it then completely part with it, if not don't take a few baby steps and leave it in this confusing state for older programmers
Avatar
and the argument that i did X for 30 years in programming is a bit bad, since programming is a thing that moves really fast
17:44
you shouldnt be stuck
17:44
or you die with it
17:45
I wouldn’t be shocked if this was all some conspiracy by Google and Microsoft to make a personal computing unusable so that everyone has to use their cloud offerings.
17:45
some ppl believe this xdd
Avatar
I wouldn't be shocked either. I'd be a little surprised
17:46
These capitalists, you really need to be careful about them. Very very crafty people
Avatar
this is in the context of pushing rust to linux causing this
17:47
doesnt google use linux itself
Avatar
I don't see how rust would lead to that, but if anyone is capable of destroying something for profits using the silliest means it's Microsoft and Google
17:49
Zijlstra is like the final boss, a bigot to his core lol
Avatar
Linus' comments seem on point though, rust is a little too eager to die
Avatar
i bet Zijlstra doesnt read websites that use more than basic html
17:51
wait
17:51
he probs doesnt even read websites
17:51
its all mail
17:51
living in the 80
Avatar
I mean the rust wrapper in the kernel, but even rust itself is a little too eager to die
Avatar
what does that mean
17:51
eager to die
Avatar
The kernel needs to try it's very best to keep working under any circumstance, you can't just panic when something doesn't seem right
Avatar
Does it prevent spotify ads?
Avatar
Avatar
Learath2
The kernel needs to try it's very best to keep working under any circumstance, you can't just panic when something doesn't seem right
that has been discussed tho
17:52
the rust compiler devs are willing to work on making it a better fit, and more stuff
Avatar
Yes, hence why I said Linus' comments seem on point
17:53
and seems the people getting rust into the kernel agree with the sentiment
Avatar
if you dont use std you also dont do any allocations
17:53
which is somethign they want
Avatar
this integration will be great for both rust and the kernel imo
Avatar
rust will get to improve as a systems language and the kernel will get experience with integrating another language
Avatar
for now the target is just drivers
Avatar
The Rust version of the semaphore driver is around 50% bigger than its C counterpart
this is one more concern I'd have, hopefully rust will get some more facilities to allow smaller binaries
17:56
linux runs on some veeeeery tight spaces, the core shouldn't be allowed to get too large
Avatar
i wonder why that is
Avatar
eh, who knows except the guys who made the thing
Avatar
yeah, cant see the code xd
Avatar
I'd guess it's either some standard library cruft or some error handling cruft, assuming the original driver is also compiled by LLVM the IR generation is usually equivalent or better for rust
18:00
s/LLVM/clang/
18:00
s/also//
Avatar
Adding support for the Rust language to the Linux kernel. - Rust-for-Linux/linux
18:02
i found it
18:02
i think this is the binder
Avatar
Avatar
NeXus
Does it prevent spotify ads?
idk
18:23
i dont use spotify myself
18:24
i listen to youtube autoplay, with a adblocker and a user script to accept "are you there?" by annoying youtube
18:24
and thus my experience is flawless
Avatar
yt only works best if u know what songs u want to listen to
18:25
this is the script
Avatar
Avatar
louis
yt only works best if u know what songs u want to listen to
lol noi
18:25
youtube knows me really well
18:25
and i always find hidden gems
18:25
i bet they know me way better than spotify xd
Avatar
maybe cause u use it a lot more
18:26
but for me youtube algorithm isn't good for songs
18:26
its great for playlists
18:26
i guess its cuz i only listen to music on yt
18:26
i dont rly watch videos
Avatar
cause it has basically every song unlike spotify or sc
Avatar
@Ryozuki wtf but why
18:39
scuffed music experience
18:39
how is it scuffed
Avatar
high quality youtube audio
Avatar
i dont think its much worse
18:40
why dont you just use spotify or any music platform?
18:40
instead of scripts, adblock
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:40:33Z
Ryozuki: ah useful script i guess but it never really bothered me so much
Avatar
and all that stuff
Avatar
because i dont want to pay for music
Avatar
you dont have to
18:40
I dont pay
Avatar
i dont want ads
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:40:56Z
where did u slap that script in?
Avatar
on desktop its 30 seconds every 30mins
18:41
on mobile its bad I agree
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:41:20Z
ChillerDragon violentmonkey extension
18:41
ChillerDragon come back to irc
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:41:35Z
element is so nice
Avatar
Avatar
NeXus
on desktop its 30 seconds every 30mins
those 30 secs are not worth
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:42:00Z
ChillerDragon weechat better
Avatar
People who listen music on youtube are weird imo
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:42:07Z
uhm
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:42:13Z
ChillerDragon did u know matrix is kinda centralized, since everyone uses the main servere
18:42
it always happens with federated stuff
18:42
its sad
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:42:34Z
well
Avatar
im a weirdo then
18:42
im also a weeb
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:42:56Z
its kinda convienient that there are main servers imo
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:43:10Z
defeats the federated purpose
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:43:11Z
i dont mind some centralization
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:43:15Z
imagine the fbi closes it
18:43
all will lose it
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:43:23Z
one could argue ddnet is very centralized
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:43:24Z
cuz nobody rly federated
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:43:26Z
its still cool
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:43:40Z
actually ddnet is very open about its data
18:43
so its easy to recover
Avatar
[freenode] chillerdragon[m] BOT 2021-05-23 18:43:44Z
if fbi closes it we open new
Avatar
[quakenet] Ryozuki BOT 2021-05-23 18:43:59Z
btw u should leave freenode
18:44
come to libera.chat #ddnet
Avatar
Avatar
Ryozuki
on windows*
indeed SDL does support fullscreen without minimize: https://wiki.libsdl.org/SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS but its buggy on windows, and thats something weird with windows as it doesnt even work with dx12 :/ and for some reason its better in debug mode xD
The Simple Directmedia Layer Wiki
Avatar
Avatar
Ryozuki
@Learath2 do u happen to know what does gfx_async_render_old
it makes the client not continue the simulation, before the current graphics buffer isnt completly handled... so basically wait for it to finish(which creates delay, as the simulation is then outdated)
Avatar
Avatar
ab.com
btw (i know this is for developers) but is nvidia optimus not changing between 2 g cards automaticaly normal?
if you lucky u can request different cards with vulkan, but not with opengl
Avatar
Avatar
NeXus
high quality youtube audio
wat
18:47
theres not much difference tbh
18:47
unless u are an audiophile
Avatar
did u know some headphones play some kind of music better than others
18:47
some excel at bass
18:47
and some on x shit
18:48
this is specially noticeable on electronic music xd
18:48
atleast for me
18:48
it depends
18:48
also on how the song is mixed
Avatar
Avatar
Deleted User
if you lucky u can request different cards with vulkan, but not with opengl
i dont know what that means 😄 vulkan could mean, a program, manufacturer or a gawk gawk 3000 machine to me 😄
Avatar
that means currently not possible
19:03
except u didnt mean related to ddnet
Avatar
@Deleted User for a friend of mine, the borderless window mode doesn't work if they select the full resolution
21:42
it takes ages to tab out and in (on windows)
21:42
it seems that despite the borderless window mode being selected, it's using fullscreen
21:43
got any idea what might cause this?
21:43
(selecting a lower resolution with borderless window on fixes the problem, and it's actually a borderless window then)
Avatar
Avatar
heinrich5991
@Deleted User for a friend of mine, the borderless window mode doesn't work if they select the full resolution
on windows? i dunno its a bit strange on windows but i think borderless with desktop resolution is like a special case on windows, as the taskbar is not visible. Maybe internally its like fullscreen
Avatar
Avatar
NeXus
People who listen music on youtube are weird imo
millions if not thousands are weirdos then (edited)
Avatar
imagine paying to listen to music
Exported 285 message(s)