Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-04-15 00:00:00Z and 2024-04-16 00:00:00Z
01:48
ed90392 Refresh the jumps after teleporting - murpii 2423e35 Fix incorrect score kind in demos depending on last server - Robyt3 aca25cc Merge pull request #8216 from Robyt3/Demo-ServerInfo-Fix - def- fe41f58 Merge pull request #8164 from murpii/pr_teleport_reset_jumps - def-
01:50
19b1926 fix alignment of labels in friends list - dobrykafe 2e211c9 Merge pull request #8218 from dobrykafe/pr-align-friendslist - def-
Avatar
Avatar
Learath2
mh can't you save this in a file of it's own and include it in here somehow?
omg maybe languages should get a feature where you can just include a file as a string or format.
01:53
i would love that
01:54
better, without the need to escape quotes or something, it would just be a string.
01:54
owo
01:54
templating be like
Avatar
bruh
01:55
what are you doing
Avatar
porting ddnet to every stinkin nintendo console
Avatar
are there even wiis in Venezuela
Avatar
yes i had a wii when i was a kid many years ago
Avatar
better than china
Avatar
like did you replace drawcalls with nintendo ones or is there a translation layer or something
Avatar
removed SDL and replaced openGL with libogc's GX calls
Avatar
i did a similar thing on my DS port too
Avatar
did you have to redo the input and audio as well
Avatar
i haven't worked on audio for the wii yet but it works on the DS
Avatar
input is definitely handled by SDL. forgot about audio.
Avatar
i replaced SDL input calls with libogc calls
01:59
it's not perfect but it works for the time being
Avatar
very cool
02:00
hope you put this in your resume and get interviewer flabbergasted
Avatar
not many people can be confident porting native codes to consoles.
02:03
I had to port some native libraries our last company uses for PS5 and switch, no one know how to do it in-house, and they reached out to library devs and they couldn't do it too. I just did it in an afternoon and quit the job.owo
02:03
it feels cool
02:03
nothing graphical tho
02:04
just some scripting engine they were using
Avatar
Avatar
Headshot
i replaced SDL input calls with libogc calls
do u used iterator for "it"
03:30
?
Avatar
Not needed use auto for it?
Avatar
you can either use auto or the iterator type name
03:31
auto is shorter
Avatar
Example auto Collision = m_pClient->Collision;
03:31
Ah
Avatar
Avatar
Headshot
i replaced SDL input calls with libogc calls
pro
Avatar
had a day off after like 20 days
03:41
feeling worse than before
Avatar
are u doing anything
Avatar
Avatar
Learath2
mh can't you save this in a file of it's own and include it in here somehow?
I have many 2-4 lines like dat, should i create separate files for each piece of asm?
04:31
@アリヂン what u think
Avatar
Avatar
Ewan
are u doing anything
i slept through sunday
04:57
closed my eyes saturday night, wake up it is monday morning again
04:58
i think u should still try to get up moderately early on days off
04:58
10 am latest
04:58
it's not rewarding when u sleep as long as you can and you waste the best part of your day
Avatar
Avatar
Headshot
Click to see attachment 🖼️
what was the issue?
05:15
with network
Avatar
Avatar
Jupstar ✪
with network
05:17
justatest
Avatar
Avatar
Ewan
i think u should still try to get up moderately early on days off
ye but i havent slept for like 40hrs
05:30
and i got home saturday night at like 4am (so sunday morning
05:33
Yeah maybe noon
05:33
or 1 pm
05:33
but the day seems over by then
Avatar
i need to quit my job asap
Avatar
why have this attitude
05:37
just work less
05:37
push deadlines and give yourself time to breathe
05:37
sounds like you have some kind of mania if ur working working working to the point of being this tired
05:38
and if ur boss won’t let you then fine, fuck the job but I would not go straight there
05:39
u come in here and post the same thing expecting different responses than what u already knew before posting
Avatar
Avatar
Ewan
push deadlines and give yourself time to breathe
i'm not the one pushing it
Avatar
did u talk to boss
Avatar
also i was gonna quit anyway
05:40
i already told them i quit, if they really need me then they need to prove it
05:43
I couldn't care less about job security so they either let me go, fix their management or let me manage my own team.
05:43
owo
Avatar
Big decision!
Avatar
I think I'm in a position that company really needs me. since both of my two job seems to be throwing me into tech lead position without explicitly giving me a lead role
05:56
which is kinda weird but also kinda epic
05:56
but it's about time to change that
Avatar
amogus three years of work exp straight into lead role would be epic
05:57
but failing that, I would just open my own studio cuz everyone sucks at making video games
🍻 1
Avatar
morning from gym
Avatar
Avatar
TsFreddie
amogus three years of work exp straight into lead role would be epic
i would say its more mismanagement, i also kinda thought that till i landed where i am
06:33
imho u need more xp for tech leas
06:33
lead
06:34
but ye indeed if u have a edge over company push it for better
Avatar
Avatar
Ryozuki
i would say its more mismanagement, i also kinda thought that till i landed where i am
where you at now
Avatar
i would say im the thing after junior
06:35
but with strong technical skills
06:36
in fact, i proba have more tech skills than my manager who is tech least
06:36
lead
06:36
but he knows more about other stuff
06:37
managing time, difficulties, expectations, not letting juniors add useless stuff, focusing on the real stuff
06:37
pushing us to add more docs xd
06:38
and well he has like native english he also deals with some clients
Avatar
i mean ye
Avatar
well, with the clients tech lead/ manager
06:38
he has like 15y xp
06:39
are u good dealing with ppl?
Avatar
are you managing a team of three plus deciding the tech stack plus building the scaffold from scratch
Avatar
i kinda did
Avatar
ok i didn't
06:39
he tech lead managed us
Avatar
then i guess i'm not worthy yet.
Avatar
but i lead
06:39
the project from scratch
06:39
i lead 2 in fact
06:39
the 2 compiler related projects
Avatar
shaking in gamedev
Avatar
like the core dev i meam
06:40
mean
06:40
god mobile
06:40
and shaky arm cuz gym
Avatar
still, i would probably just open my own studio instead of crunching here
Avatar
Avatar
Ryozuki
and shaky arm cuz gym
skill issue
Avatar
just wanna say its normal to think that when ur low xp
06:41
but there is lot to learn
06:41
the right company helps at that tho
Avatar
Avatar
Ryozuki
but there is lot to learn
like explaining to my lead why trusting a client with only a third-party provider openid with no authentication steps are a bad idea?
06:42
that was not on my bingo card
Avatar
i wont deny u proba got more worth of the xp in terms of managing ppl
06:42
than a normal junior
Avatar
Avatar
TsFreddie
like explaining to my lead why trusting a client with only a third-party provider openid with no authentication steps are a bad idea?
well thats just ur tech lead being a junior too
Avatar
i mean the CEO keep telling me our tech lead doesn't do game develop often but he knows a little bit about everything
06:43
but I'm yet to find what the everything is
Avatar
is he his friend
Avatar
her*
Avatar
but probably not
06:43
oh not friend
06:43
ok
Avatar
just old employees from netease i imagine
Avatar
ok probs someone sticking to the job for their life
Avatar
these are people from the big cooperate for sure
Avatar
u should jump ship to better pay
Avatar
but i don't feel like "a little bit of everything" means what I think it means
Avatar
change every year
06:44
till u find
06:44
a nice one
Avatar
well
Avatar
like me
Avatar
i never found any jobs, that's a big problem
06:44
i suck at finding jobs
06:45
these two I've worked for just called me to join
06:45
u dont have chinese linkedin?
Avatar
microsoft closed it
06:46
we use other platform
Avatar
we should make ddnet game studio
06:46
good devs here
Avatar
and I did looked for jobs
Avatar
i do backend with rust
Avatar
wasn't good at it
Avatar
also I don't feel like doing software cuz it'd be grinding from the bottom all over again since I have mostly gamedev exp
06:47
gamedev is just not where the moneys at rn
Avatar
i mean it is where the moneys at, but not for employees
Avatar
i guess usually gamedev studios here are just really small sized where two or three people do basically all the core work
Avatar
Avatar
Ryozuki
imho u need more xp for tech leas
Gotta reach lvl 30 to enchant the workers kekw
Avatar
Avatar
TsFreddie
still, i would probably just open my own studio instead of crunching here
Gamedev being stressful sounds like an industry wide problem, one of the reasons I didn't want to work in that area.
Avatar
Avatar
TsFreddie
also I don't feel like doing software cuz it'd be grinding from the bottom all over again since I have mostly gamedev exp
I don't think that's true necessarily
07:01
Starting your own company is probably even more stressful though, but at least you get returns if it's successful
Avatar
justatest i think i just suck at interviews
Avatar
There are some good Chinese database companies
Avatar
Catxplosion i'm also not sure if I want to not do gamedevs tho
Avatar
Avatar
deen
There are some good Chinese database companies
any database company is a red flag in this world, regardless where it is
07:05
Better to do your own, but who am I kidding, as a casual google drive user
Avatar
Avatar
Cellegen
any database company is a red flag in this world, regardless where it is
ur comments sometimes are so out of touch
Avatar
Avatar
Ryozuki
ur comments sometimes are so out of touch
And you love it owo
07:06
I keep you all entertained
Avatar
I was thinking of https://github.com/pingcap/tidb but somehow PingCap doesn't seem Chinese? https://www.pingcap.com/careers/ Maybe I confused something
Avatar
yugabyte and materialize are quite famous
07:06
i had coworkers send me articles
Avatar
Its open-source distributed database provides compatibility and enables users to build applications. The company was founded in 2015 and is based in Beijing, China.
Avatar
Avatar
Ryozuki
i had coworkers send me articles
Cool. That reminds me that I still have my blog article half-finished, should continue on that
Avatar
I also need to write more about llvm and mlir
07:08
nekospin
Avatar
Btw why do you write blogs?
Avatar
i think i'm just scared of software dev
07:18
feel like software dev are more technical than gamedev. and I can feel like I'm the most technical person on a gamedev team. that's a me problem for sure tho
Avatar
Avatar
Teero
Btw why do you write blogs?
u learn more, u learn how to explain which makes u understand more, it also allows u to show ur knowledge and build reputation either for general stuff or to find jobs, also cuz it genuinely helps some ppl specially for niche stuff
07:19
there is barely blogs about mlir and llvm
07:21
all devs who like what they do should write (edited)
Avatar
I wanted to write blogs
07:25
started working on my homepage
07:25
then crunch hits
07:26
It feel like everytime I want to do anything productive then a crunch hits
07:26
and I don't want to do anything afterwards
Avatar
Avatar
Teero
Btw why do you write blogs?
So I have a place where my thoughts are written down, for myself to refer to when I forget things. Also, others might have good comments and suggestions for improvements
Avatar
that too
07:43
u can also make a blog post about why u blog post
07:43
inception
Avatar
Avatar
MilkeeyCat
I have many 2-4 lines like dat, should i create separate files for each piece of asm?
let foo = concat_with::concat_line!( "section .data", " fmt: db '%d', 10, 0", "", "section .text", " extern printf", " extern fflush", " global main", "", "printint:", " mov rsi, rdi", " mov rdi, fmt", " xor rax, rax", "", " call printf", "", " ret", "", "main:", ); that's what ill probably use xd
Avatar
Eh, doesn't look too bad
Avatar
It works for just string literals but i can't format string there
09:19
feelsbadman
Avatar
Software optimization manuals for C++ and assembly code. Intel and AMD x86 microprocessors. Windows, Linux, BSD, Mac OS X. 16, 32 and 64 bit systems. Detailed descriptions of microarchitectures.
Avatar
@Learath2 so are u working at this very moment?
09:46
oh idk why i talked here
Avatar
Avatar
Ryozuki
@Learath2 so are u working at this very moment?
Technically yes. Reading my onboarding package
Avatar
@Learath2 is it UB to pass size 0 to realloc?
Avatar
Apparently it's not
Avatar
is it possible to compile DDNet 18.1 for android release ?
Avatar
I think ddnet doesn't support android anymore
11:19
It was discontinued
Avatar
Avatar
ReiTW
It was discontinued
hmm tnx 🤝
Avatar
It is or at least should be possible to compile for. See the README in scripts/android. But the touch screen controls found in the older APKs are no longer supported.
Replying to @Peakies is it possible to compile DDNet 18.1 for android release ?
Avatar
off work early today
Avatar
Avatar
furo
It is or at least should be possible to compile for. See the README in scripts/android. But the touch screen controls found in the older APKs are no longer supported.
I'll check it ty
Avatar
Avatar
Ryozuki
@Learath2 is it UB to pass size 0 to realloc?
I totally missed this
Avatar
Avatar
ReiTW
Apparently it's not
looks like its ub from c23 onwards
12:41
but impl defined before
Avatar
has the scaling behaviour of the target position already been fixed? as you can see my angle changes based on my zoom which is not ideal. at some point of zooming in your target will be limited to be 0, 0
12:56
very annoying
12:59
i really don't want to zoom out just to hit some edgehooks
Avatar
Solve definite and indefinite integrals (antiderivatives) using this free online calculator. Step-by-step solution and graphs included!
13:18
kek
13:19
In computer science, the shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. It can produce either a postfix notation string, also known as Reverse Polish notation (RPN), or an abstract syntax tree (AST). The algorithm was invented by Edsger Dijkstra and name...
🧠 2
poggers2 1
Avatar
my god
14:49
i removed email notifications
14:49
from github
14:50
the spam is unreal
Avatar
lol
Avatar
Within yesterday's Linux 6.9-rc4 release is an interesting little nugget by Linus Torvalds to battle Kconfig parsers that can't correctly handle tabs but rather just assume spaces for whitespace for this kernel configuration format.
15:40
xd
Avatar
Asymmetric numeral systems (ANS) is a family of entropy encoding methods introduced by Jarosław (Jarek) Duda from Jagiellonian University, used in data compression since 2014 due to improved performance compared to previous methods. ANS combines the compression ratio of arithmetic coding (which uses a nearly accurate probability distribution), w...
15:51
zstd uses this
15:51
when ddnet?
Avatar
Now imagine if he added a couple "fuck you"s in there
Avatar
reformed
Avatar
Linus has been compromised
Avatar
Today I've encountered a tool that parses the command line output of docker to determine stuff. It breaks for podman because capital letters and stuff
15:53
Idk what it is with modern applications and an allergy to do things properly
Avatar
doesnt docker have a json output (edited)
Avatar
For some things it does. Truly every part of modern programming is baffling
15:58
It does for this too actually. So no reason for them not to parse it properly instead of relying on the exact format of the message on stderr
Avatar
Avatar
Teero
has the scaling behaviour of the target position already been fixed? as you can see my angle changes based on my zoom which is not ideal. at some point of zooming in your target will be limited to be 0, 0
nice tee btw
owo 4
Avatar
It also relies on the absurd behaviour by docker to add leading slashes to their container names internally
Avatar
what's wrong with json
Avatar
Avatar
louis
what's wrong with json
not entirely libre?
Avatar
Avatar
louis
what's wrong with json
Nothing, it’s great at what it is
Avatar
Use the gameclient to access other components instead.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's ...
Avatar
It's not necessary, because you can get back to the position anyway.

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 ...
22:44

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [x] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Exported 260 message(s)