Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-11-18 00:00:00Z and 2022-11-19 00:00:00Z
Avatar
Avatar
Cellegen
not like it's a lot of money to discord, but it's not reasonable
why isn't it reasonable? 😮
Avatar
wait, is Zoom being involved as well?
Avatar
Avatar
heinrich5991
why isn't it reasonable? 😮
I meant it in a moral sense, as in Discord Staff members and it's developers have no intention to be (as) corrupt as other well known social media companies.
01:05
Those aren't at fault perhaps
Avatar
Avatar
Cellegen
I meant it in a moral sense, as in Discord Staff members and it's developers have no intention to be (as) corrupt as other well known social media companies.
AFAIK discord does data handling quite badly and collects lots of unnecessary data, like every interaction with discord, e.g. which images you click on, etc.
Avatar
Looking for WavpackOpenFileInputEx Looking for WavpackOpenFileInputEx - not found Looking for WavpackCloseFile Looking for WavpackCloseFile - not found Configuring incomplete, errors occurred!
02:09
can't configure cmake on windows, get this error
Avatar
Cant tell if thats a real issue, there are usually CMake Error - Smth wrong (edited)
02:11
Not just not found
02:11
Send full log
Avatar
Avatar
heinrich5991
AFAIK discord does data handling quite badly and collects lots of unnecessary data, like every interaction with discord, e.g. which images you click on, etc.
doesn't seem like the types of data collection, which a regular user should be afraid of, perhaps only scary, if the user's data collection option is disabled and still gathers a fair amount
Avatar
Avatar
Anime.pdf
Cant tell if thats a real issue, there are usually CMake Error - Smth wrong (edited)
okay i redid it and it works now 🤷
greenthing 1
Avatar
I'm on EndeavourOS and I can't use q to spectate or go to ghost mode, some of the commands don't work. Is this expected? Any pointers on how to debug this?
Avatar
65860f7 A Koule 11, M solo_castle - ddnet-maps
Avatar
chillerdragon BOT 2022-11-18 07:28:24Z
Even I think that when I’m on my phone xd (@Jupstar ✪)
everytime u write over quakenet i think its chillerdragon xD
Avatar
Xd
Avatar
[quakenet] Ryozuki BOT 2022-11-18 08:14:38Z
good morning ddevs
Avatar
Goodd morning
Avatar
Avatar
Cellegen
I meant it in a moral sense, as in Discord Staff members and it's developers have no intention to be (as) corrupt as other well known social media companies.
You have no way to know their intentions. Perhaps they are the exception to the rule or perhaps they sell bulk data to the highest bidder like every single other tech company their size
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:25:28Z
o/
08:26
discord has big chinese investors they want to spy on the west and steal our coding skills to rebuild tw china!
Avatar
Either way, that only changes whether they deserve is morally or not. Legally it has been decided, they mishandled user data, end of story
08:27
Ignorance of the law is not a defence. We didn't intend to mishandle data is not a defence
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:27:49Z
lawyer lerato
08:28
yo bak in da university rokin da ipad?
08:29
high level languages have so funny features :D like iterating over all method names in a class and turn them into strings
08:29
like wat xd
08:30
omg im procrastinating again. I think i have a irc addiction problem :(
Avatar
yes you do
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:33:40Z
:c
Avatar
AddictDragon
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:34:20Z
is there irc rehab?
08:34
download Discord
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:34:39Z
yikes
Avatar
withdrawl
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:34:58Z
cold turkey
Avatar
exactly
08:35
only way that works anyways
08:35
for problematic use of irc (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:35:25Z
i might die from withdrawl symptoms
Avatar
but u have discord then
08:35
might lower the symptoms
08:35
or increase them
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:35:54Z
you also suggest heroin to someone who wants to get off alcohol huh? xd
08:35
i mean it works .. xd
08:36
dont tell them how i got you off alcohol
08:36
this is the only way to fix people from munich
08:37
or bavaria in generalö
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:37:30Z
lul
Avatar
heroin ftw
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:37:51Z
hi kids reading irc logs
08:37
stay in school drugs bad
Avatar
Avatar
[quakenet] ChillerDragon
yo bak in da university rokin da ipad?
At home today. I don't really feel so good
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 08:38:03Z
F
08:38
leak pic of your home then :p
08:38
do you have plants?
08:39
OMG OK I CLOSE IRC NOW BYE
Avatar
Avatar
[quakenet] ChillerDragon
do you have plants?
marihuana
Avatar
No plants house too smol for plants, I'd probably die of hypoxia
Avatar
How? Plants produce o2
Avatar
Only when they can do photosynthesis. They need o2 at other times
08:43
In a smol house a green plant might end up being a net negative
08:45
open a window
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 09:23:20Z
gotta love refactoring code :) one step forward 3 steps back .-.
09:23
Avatar
There is some text in your red picture
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 09:32:45Z
._.
Avatar
ChillerDragon when he got -2 steps forward
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 09:35:15Z
lmao
Avatar
chillerdragon be like: "where beer"
09:43
chillerdragon when he doesnt drink for 1 day: "i am clean"
09:44
🍻
Avatar
Wtf xd
Avatar
[quakenet] Ryozuki BOT 2022-11-18 09:54:07Z
ill start to hate huffman
09:54
im comparing my bits table to the libtw2
09:54
and some dont match
Avatar
[quakenet] ChillerDragon BOT 2022-11-18 10:02:26Z
papa @heinrich5991 look i actually managed to build my own snap dissector :)
10:02
10:02
type 11 is not supported yet ... duh
10:04
libtw2 docs so good :)
Avatar
Avatar
[quakenet] ChillerDragon
Click to see attachment 🖼️
What are you building it in? C?
Avatar
Avatar
Cellegen
doesn't seem like the types of data collection, which a regular user should be afraid of, perhaps only scary, if the user's data collection option is disabled and still gathers a fair amount
I'm afraid of that. you can't turn it off
Avatar
The merge window for the 6.1 release brought in basic support for writing kernel code in Rust — with an emphasis on "basic". It is possible to create a "hello world" module for 6.1, but not much can be done beyond that. There is, however, a lot more Rust code for the kernel out there; it's just waiting for its turn to be reviewed and merged in...
Avatar
Are u planing to contribute?^^
Avatar
hmm, no, not really
11:34
but it's interesting to read about
Avatar
C strings being null terminated actually make sub string operations less optimal than if not right
11:46
In rust strings keep track of the size separately
11:46
This allows to make slices without allocating
11:46
To make a substring i c u need to allocate iirc
11:46
To add the null byte
Avatar
ye
11:47
or modify it in-place
Avatar
But yhe Cstr type they will use doesnt have these efficient slices/substrings
11:47
Cuz they need the null
Avatar
yea
Avatar
[quakenet] Ryozuki BOT 2022-11-18 11:50:35Z
SELECT r.Map as map, r.Name as name, Min(r.Time) as time, r.Timestamp as timestamp, COUNT(r.Name) as finishes, r.Server as server FROM race r WHERE r.Map = ? GROUP BY Name ORDER BY time ASC;
11:50
i have this query to get the ranks for a map
11:50
i was wondering if its possible to get the rank number within the query itself
11:51
accounting for the possiblity of same time ranks where the rank would be e.g 1 for both
11:51
which happens when u finish in a team
11:51
iirc the current python code calculates this in-code
Avatar
Oh nice
Avatar
[quakenet] Ryozuki BOT 2022-11-18 13:53:59Z
i prefer DENSE_RANK
13:54
over RANK
13:54
maybe ddnet should use it too?
13:54
if 3 people have rank 1
13:54
the next rank shown is 4
13:54
it should be 2
13:54
DENSE_RANK does that
Avatar
I used RANK() in a job interview once, thanks (I think) @Zwelf for using window functions in DDNet's code and introducing me to them 😄
13:56
I disagree, I prefer RANK over DENSE_RANK.
13:57
Player 1 has 1 second time, player 2 2 second, player 3 3 second. Player 3 is now on rank 3. If player 2 improves their time to 1 second, this should not change the ranking of Player 3, since he is still worse than 2 other players
Avatar
[quakenet] Ryozuki BOT 2022-11-18 13:58:21Z
hmm i think its fine
13:58
i prefer no gaps
14:00
but anyway since u dont like it
14:00
lucky i read this as i was just doing a pr
14:00
for it
14:00
xd
Avatar
Knowing window functions is how I lost an entire point off a 5p question on my introduction to db exam
15:17
Apparently the "correct" answer is using a subquery and a join there
Avatar
[quakenet] Ryozuki BOT 2022-11-18 15:43:02Z
xD
Avatar
Ryozuki: do you know some competion or anything that uses DENSE_RANK instead of RANK?
16:15
I see RANK pretty much everywhere, board games, sport events, …
Avatar
[quakenet] Ryozuki BOT 2022-11-18 16:15:54Z
hmm idk
16:16
i never rly checked leaderboards where its common to have same-ranks
16:16
e.g in trackmania its incredibly rare to see same times
16:16
i guess cuz they use a more precise lcock
16:16
clock
16:16
oops
Avatar
anyone know where DemoPlayer() is defined?
Avatar
src/game/client/gameclient.h
16:31
You can use https://ddnet.org/codebrowser/ to find things like that easily
Avatar
or use an IDE
Avatar
yeah visual studio was taking a while for each of my searches
Avatar
ah 😦
16:35
I'm used to ctrl-leftclicking in rust code when I use intellij with rust extension
16:35
it's <500ms there, sometimes instant
Avatar
Indo that with vin
16:44
Vim
16:44
gd
16:44
I do*
16:44
Stupid mobile
troll 1
Avatar
I miss how fast ctags was
Avatar
why people ask how to exit vim, it WANTS you to exit
Avatar
that hasn't always been there IIRC
Avatar
Yeah, if you make the mistake of opening vi instead of vim, you'lll get the authentic experience
Avatar
Avatar
Learath2
I miss how fast ctags was
2 seconds to create index for ctags+cscope, instant jumps
Avatar
Yeah. These fancy new clang based things are just not too smart for their own good
Avatar
but on a code base with the same identifier being reused 50 times, good luck with ctags 😄
Avatar
clangd gangd
18:08
clangd is instant for me on ddnet
Avatar
i dont get why clang is pronounced klang why not c lang since it targets c family languages xd
Avatar
I pronounced it c-lang 😄
Avatar
clang in spanish sounds like german klang
20:21
c is a k
20:21
in spanish
20:21
well idk
20:21
c like car
20:22
closure
20:22
clang
20:22
thanks for coming to my ted talk
Avatar
c-losure
Avatar
rust
Avatar
r-oust
Avatar
ill create a new programming language called sex#
Avatar
i dont think nerds understand that
Avatar
lisp has sexpressions
Avatar
anyone know how to fix this error?
Avatar
first of all update ddnet
21:11
we dont use pnglite anymore
Avatar
aw
Avatar
maybe also clear ur build dir
Avatar
is cleared
Avatar
Avatar
BloodDrippn
anyone know how to fix this error?
by uninstalling ubuntu
21:20
nekospin
Avatar
Avatar
Ryozuki
by uninstalling ubuntu
not helpful, please don't do that here
Avatar
i think its helpful
21:21
for future xd
Avatar
but yeah if we dont use pnglite anymore its old
Avatar
don't tell people to uninstall their operating system
Avatar
long term investment xdd
Avatar
otherwise just install pngliste
21:21
pnglite
21:21
a good advice is to learn to read errors
21:21
isnt that good?
21:21
:p
Avatar
yes
Avatar
Avatar
heinrich5991
don't tell people to uninstall their operating system
idk why i laughed reading this
21:22
btw did u know most ppl asking about build problems
21:22
are bot devs
21:23
kinda hilarious aint it
Avatar
I'd think that those wouldn't be using linux normally, though
Avatar
Avatar
Jupstar ✪
long term investment xdd
xd
21:24
i think the trend is to hate ubuntu now
21:24
cuz snap
21:24
i wonder what ppl install these days
21:24
linux mint?
Avatar
i only hate it bcs of gnome
Avatar
i dont even use a DE
21:24
BASED
Avatar
tryhard
Avatar
@Jupstar ✪ i have a doubt
21:25
my 3080
21:25
has yet to use its fans
21:25
it never went above 75C
21:25
but idk man
21:25
its so weird
21:25
im used to AMD full fans spinning crazy
21:25
and im now doubting if the fans even work
Avatar
i also never hear my GPU tbh
Avatar
but i havent got my gpu to 80C yet
21:25
my 6600xt got to 85 on full load
21:26
with the 3080 its hard to reach 70
Avatar
its just that u now have 3 fans
21:26
the other had 2
Avatar
they have a bigger passive cooler too
Avatar
but the fans never spun
21:26
yet
21:26
at 75C not even
21:26
i got nervous
21:26
but well if its 75C its fine
Avatar
yeah
21:27
the current hardware is pretty good actually
Avatar
i had my 580x reach 90c
Avatar
i dunno it was like this 2014 intel and amd could go to 100° then there was a time where everything > 90° was considered very dangerous now its quite normal again to have higher temps
Avatar
passive coolers these days are crazy
21:28
the 4090 has a crazy passive cooler
Avatar
it probably depends how the chip itself can emit its heat to the heat spread
21:29
e.g. ryzen 1000 was soldered afaik
21:29
but i also dunno where the temperature sensors are xD
Avatar
Avatar
Jupstar ✪
i dont get why clang is pronounced klang why not c lang since it targets c family languages xd
As with all pronunciation, because the funder calls it that way 😄
21:33
founder*
Avatar
but it sounds so cheap xddd
Avatar
compared to the sophisticated names like "git" and "gimp"
21:36
i wonder how germans pronounce it
21:36
git gud
Avatar
same as in english
Avatar
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
21:38
xd
Avatar
it's weird to be proud of your OS imo
22:14
they're all bad
22:15
it is fun to get excited about WMs and DEs and stuff tho
Avatar
lol, i'd actually say the opposite
22:15
wm & des are personal taste
22:15
but macos and windows suck compared to linux
22:15
but u are right not even linux is good enough
Avatar
yeah, linux obv best, but it still sucks
22:16
i'm using hackintosh the past few years cuz for now it avoids dual booting and VMs
22:16
won't last another few years tho before apple removes intel support
22:17
afaik the only way to get unix + games + software is windows with WSL, but I can't be fucked to learn that
Avatar
i dunno
22:17
most stuff works
22:17
i get more fps in GTA 5 on linux xd
Avatar
i mean like adobe and ableton and other popular creative software/DAWs
22:18
unless I want to learn foss alternatives you gotta VM or dual boot
Avatar
r u an artist?
Avatar
mh ok
22:18
rip to u
Avatar
lol facts
Avatar
just wait few years and all these apps run on ur browser
Avatar
not even joking xd
Avatar
would be nuts man to have ableton run in browser
Avatar
Avatar
tela
it's weird to be proud of your OS imo
no its ok
Avatar
webgpu and wasm and basically invented to move stuff into web
Avatar
Avatar
tela
they're all bad
fake, its hard to be bad when u can make it like ur own
22:19
customize every last bit
22:19
even the kernel
22:19
its too based
Avatar
yeah thats why i love linux
22:19
i'm also a dorky ricer tho
22:19
then why u say all bad
22:19
my own is good!
22:19
if i had more time
22:19
i would even write my on window manager
Avatar
lol, i just want all 3 of those things i mentioned above
Avatar
in rust
😄 2
Avatar
that would be neat
Avatar
if only i got money from thin air
Avatar
what wm u use now
Avatar
i3-gaps
22:20
i use gaps too but not i3 cuz macos sucks
22:20
@Ryozuki post rice
Avatar
Avatar
Ryozuki
in rust
I dont think the "in rust" was necessary
Avatar
its completly necessary
22:21
imagine using a unsafe language
22:21
such as C or c++
22:21
unreasonable
22:21
come to the good side
22:21
use rustr
Avatar
nono I mean, we all know you do it in rust
Avatar
im drunk and we can argue about this all night
22:21
im rdy
Avatar
im on your side dude
Avatar
good :D
Avatar
i wanna see ur i3 setup ryo
Avatar
i use i3blocks
22:23
its all default
22:23
with a anime background using feh
Avatar
oh word lol
22:24
i figured since you use gaps youd be hella themed out
22:24
i got macos lookin sweet but it's really so limiting what you can do
22:24
i've broken the OS a few times trying to customize shit that apple really doesn't want you to change
Avatar
i use gaps
22:26
but i dont have gaps XD
22:26
its just cuz its more modern
22:26
i always live on the edge
22:26
yeah functionally gaps are useless
22:26
waste of screen real estate
22:27
but i just like them, feels more organized to me
Avatar
i just need a anime waifu background
22:27
and some stats about system
22:27
thatsw it
22:29
neofetch shit
22:29
i like getting into terminal colors and fonts and stuff
Avatar
alacritty best
22:30
rust made
Avatar
i use solid color or textured wallpapers tho
Avatar
onefetch > neofetch
22:30
cuz rust made
22:30
fd > find
22:30
cuzt rust made
22:30
sd > sed
22:30
cuz rust made
22:30
rg > grep
22:30
cuz rust made
22:30
:3
22:30
dust > du
22:31
A more intuitive version of du in rust. Contribute to bootandy/dust development by creating an account on GitHub.
22:31
i should close discord probs
22:31
or ill get banned
22:32
rust pilled
22:33
r8
22:33
im way 2 lazy to properly rize
Avatar
used to have discord working in my irc client t here but it broke
22:33
but using stock i3
22:33
is in some kind of way
22:33
based
22:33
cuz u are truly a hacker
22:34
yeah its way more enlightened to not care
Avatar
not the normie hacker meaning
22:34
a good read
22:34
inspiring
22:34
Being a hacker is lots of fun, but it's a kind of fun that takes lots of effort. The effort takes motivation. Successful athletes get their motivation from a kind of physical delight in making their bodies perform, in pushing themselves past their own physical limits. Similarly, to be a hacker you have to get a basic thrill from solving problems, sharpening your skills, and exercising your intelligence.
Avatar
Hackers (and creative people in general) should never be bored or have to drudge at stupid repetitive work, because when this happens it means they aren't doing what only they can do — solve new problems. This wastefulness hurts everybody. Therefore boredom and drudgery are not just unpleasant but actually evil.
>
To behave like a hacker, you have to believe this enough to want to automate away the boring bits as much as possible, not just for yourself but for everybody else (especially other hackers).
22:34
such a based text
22:35
its my bible
Avatar
Hackers are naturally anti-authoritarian. Anyone who can give you orders can stop you from solving whatever problem you're being fascinated by — and, given the way authoritarian minds work, will generally find some appallingly stupid reason to do so. So the authoritarian attitude has to be fought wherever you find it, lest it smother you and other hackers.
Avatar
this seems pretty self back patting
22:35
you must be intelligent... excellt prob solver... ( like me )
Avatar
@tela it is back patting
Avatar
i am never bored... only solving...
Avatar
for good reason
22:36
u think normies will ever read an unstyled html page?
22:36
real hackers do free libre software imho
22:36
otherwise u havent got the right mindset
22:36
contribute to a greater will
22:36
the global knowledge
Avatar
web design looks like garbage nowadays
Avatar
To be a hacker, you have to develop some of these attitudes. But copping an attitude alone won't make you a hacker, any more than it will make you a champion athlete or a rock star. Becoming a hacker will take intelligence, practice, dedication, and hard work.
>
Therefore, you have to learn to distrust attitude and respect competence of every kind. Hackers won't let posers waste their time, but they worship competence — especially competence at hacking, but competence at anything is valued. Competence at demanding skills that few can master is especially good, and competence at demanding skills that involve mental acuteness, craft, and concentration is best.
22:36
based
22:37
it truly is the hacker bible
Avatar
i probably think web design looks like garbage nowadays tho only cuz i only know basic html/css so the shit i make is super simple
22:38
i never learned any js
Avatar
u should learn jsa
22:38
js
22:38
but not cuz u wanna be a web dev
Avatar
yeah one day ill dig more in
Avatar
but because u strive for more knowledge
Avatar
ive messed around in it to make something i actually need
Avatar
understand why js itself exists
22:38
thats the hacker attitude
Avatar
eh not the way my brain works, ill only learn something if i have a problem it will solve
22:38
thats the only reason i do bash stuff to begin with
Avatar
but y ou may not know you have a problem to solve
22:39
inventing problems
Avatar
learning a new language is always useful in my opinion
Avatar
Avatar
tela
inventing problems
yes
Avatar
yeah thats facts tho
Avatar
thats based
22:39
and the way society evolves
22:39
infinite problems exist
Avatar
im actually like very very noob with coding
Avatar
you just dont know about them
Avatar
i think i do have an aptitude for it tho and the right brain, and i think i could get alot better if i tried
22:40
which i want to do some day just so i can stop working blue collar jobs
Avatar
1. Write open-source software
>
The first (the most central and most traditional) is to write programs that other hackers think are fun or useful, and give the program sources away to the whole hacker culture to use.
>
(We used to call these works “free software”, but this confused too many people who weren't sure exactly what “free” was supposed to mean. Most of us now prefer the term “open-source” software).
>
Hackerdom's most revered demigods are people who have written large, capable programs that met a widespread need and given them away, so that now everyone uses them.
>
But there's a bit of a fine historical point here. While hackers have always looked up to the open-source developers among them as our community's hardest core, before the mid-1990s most hackers most of the time worked on closed source. This was still true when I wrote the first version of this HOWTO in 1996; it took the mainstreaming of open-source software after 1997 to change things. Today, "the hacker community" and "open-source developers" are two descriptions for what is essentially the same culture and population — but it is worth remembering that this was not always so. (
22:40
my bible
22:40
so based
Avatar
yeah foss best way
22:41
it's really rad to me that my fav game happens to be foss
Avatar
i think its normal
22:41
i find it amazing i can change the game i love in a way i love
Avatar
having the code at my will to change
22:41
nothing beats that
Avatar
and in my experience the devs here are usually really willing to listen to the public on what needs to change
22:42
can't say that for most games
Avatar
usually in companies devs are excluded from public opinion
22:42
and just do what execs say
22:42
yeah
Avatar
right yeah
22:42
i dont know c++ tho 😦
Avatar
but whats more awesome to me
Avatar
can't change things myself
Avatar
is that devs spend their free time
22:43
and good will on this
22:43
no dev wants to make a detriment to this game
22:43
thats just a foul thought
Avatar
whenever i have an idea tho ill just ask tater to do it for me lol
22:43
that's kinda how his client started
22:43
but yeah, bless em for that
Avatar
this reminds me
22:44
i need ot make more blog posts
Avatar
link blog
Avatar
they rly help ppl
Avatar
are they all articles about rust lol
Avatar
not long ago someone linked my ddnet post :d
22:44
i have 3 about ddnet dev
Avatar
it makes me feel really good when ppl link my binds page in the discord
Avatar
its helpful for new devs
Avatar
like hell yeah im proud of that one
Avatar
to get into ddnet
Avatar
oh yeah ive been here before
22:45
didn't know it was yours
22:45
yeah im that (edited)
22:46
hehe
Avatar
hell yeah
22:48
best
Avatar
yeah i like the new layout
Avatar
a wiki shares such good common ground with foss
22:49
common knowledge
Avatar
i have two pages in the main guides box that i wrote 🙂
22:49
im going to make another soon
22:49
yeah wiki good
22:49
This page has been accessed 50,481 times.
22:50
couting this has been reset once
22:50
not bad
Avatar
I read everything, where more
Avatar
some day xd
23:32
u can click on thos 2 links tho
Avatar
Already read those feelsbadman
Exported 480 message(s)