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 2019-07-07 00:00:00Z and 2019-07-08 00:00:00Z
Avatar
ChillerDragon 2019-07-07 10:21:32Z
10:21
what does it mean if my cpu turns blue? .-.
Avatar
That its dying
Avatar
which program?
Avatar
@ChillerDragon f1 = help xd
Avatar
ChillerDragon 2019-07-07 13:04:54Z
ah lol i thoight it is using flame colors
13:05
yellow hot red super hot and blue melting xd
Avatar
xd
Avatar
ChillerDragon 2019-07-07 13:05:43Z
@heinrich5991 blender render farm xd
13:05
some java crap xd
Avatar
xd
13:06
some 2d tw animations on blender?
Avatar
ChillerDragon 2019-07-07 13:06:38Z
ye
13:06
im hunting theze points so my tw animation can be rendered by others when i need it xd
13:13
http://puu.sh/DPNd8/eba458f80a.jpg rendering dope stuff like this and bunch of minecraft animations xd
Avatar
dafuck
Avatar
ChillerDragon 2019-07-07 13:15:46Z
@archimede67 ye i was confused as well usuauyll these rainbow unicorns dont need external tools to fly
13:15
it might be retarded
Avatar
ChillerDragon 2019-07-07 13:40:43Z
any php devs here lol?
Avatar
depends
13:43
what do u need
Avatar
ChillerDragon 2019-07-07 13:43:31Z
mi php broken
13:43
10/10 error description
13:44
im trying to execute a shell script with shell_exec('mi_epic_shell_scipt.sh'); but it just doesn nothing and gives no output
13:44
im using php5 and apache and apache has full permission and ownership ove rthe script and the directory where the scirpt wants to create a file
13:44
also i get no error message
Avatar
did u enable error messages for php
Avatar
ChillerDragon 2019-07-07 13:45:05Z
from commandline it works
13:45
no i ddint xd
13:45
13:45
you mean this?
Avatar
ye
Avatar
ChillerDragon 2019-07-07 13:46:30Z
same
13:46
shoows no output
Avatar
then idk xd
13:47
sry
Avatar
ChillerDragon 2019-07-07 13:47:12Z
:c
Avatar
why u use php also
Avatar
ChillerDragon 2019-07-07 13:47:24Z
xd
13:47
i like it is easy
Avatar
xd
13:47
its ugly
Avatar
ChillerDragon 2019-07-07 13:48:34Z
13:48
dfq who requested these files?
13:48
stop haxxing me pls
Avatar
ChillerDragon 2019-07-07 13:51:55Z
13:52
this guii tried to hax me without vpn lol
Avatar
xdd
13:52
u know
13:52
u're not hiding anything here
Avatar
ChillerDragon 2019-07-07 13:52:42Z
xxxxxxxxxxD
13:52
no efforts
Avatar
@ChillerDragon probably disallowed by your php.ini
13:57
first try to enable error messages (probably also in php.ini) (edited)
Avatar
ChillerDragon 2019-07-07 13:57:53Z
my apache php ini is pretty similar to my cli php ini
13:58
13:58
only with this extensions
Avatar
safe_mode=0 sounds like it could enable executing external processes
Avatar
ChillerDragon 2019-07-07 13:58:48Z
yea
Avatar
(it also sounds like a bad idea to disable it)
Avatar
ChillerDragon 2019-07-07 13:58:59Z
i think i added it back then when i was using shell_exec the first time
13:59
ikr but meh
13:59
how to call shell scripts then
Avatar
I don't know; find out via google I guess
Avatar
by not using php? xd
Avatar
ChillerDragon 2019-07-07 13:59:59Z
true
14:00
i will switch to bash
14:00
bash webserver and bash backend language
Avatar
oh no
Avatar
Stop this
Avatar
ChillerDragon 2019-07-07 14:03:14Z
xd
Avatar
@ChillerDragon if you can describe the problem to solve quickly, I can help you set it up in python, I guess
Avatar
ChillerDragon 2019-07-07 14:03:54Z
making a vpn provider
14:04
troll
Avatar
maybe put it on a blockchain
Avatar
ChillerDragon 2019-07-07 14:04:22Z
xd
14:04
but i just realized my tw siet is also php and useses shell_exec and runs with same apache on same host
Avatar
@ChillerDragon you can use exec() instead, that allows you to run executables in the safemode exec directory
Avatar
ChillerDragon 2019-07-07 14:04:53Z
and shell_exec("echo foo") worked
14:04
so it might be my script
14:05
weird tho that it runs in cli
Avatar
But one problem with that is idk if it can run shell scripts
Avatar
why not?
Avatar
And the other problem is running scripts is not too wise
Avatar
it's the linux kernel that executes the right shell if you have a shebang
14:05
line
Avatar
ChillerDragon 2019-07-07 14:06:00Z
missing path probably
14:06
and env stuff
Avatar
oh god what i am seeing
Avatar
ChillerDragon 2019-07-07 14:06:16Z
xd
Avatar
@heinrich5991 I'm just not sure about how exec work, so I said idk
14:06
@Ryozuki the usual @ChillerDragon stuff
😜 2
14:07
Anything you can do in shell you can do in php, so I suggest you just do it in php...
Avatar
ChillerDragon 2019-07-07 14:07:39Z
anything you can do you can do it in shell so i suggest doing it in shell
Avatar
Interestingly enough bash is turing complete so you are right
Avatar
ChillerDragon 2019-07-07 14:08:47Z
bash is blown
14:08
sh > bash
Avatar
I think I even read a paper on the turing completeness of sed
Avatar
ChillerDragon 2019-07-07 14:09:14Z
lol
14:09
wasnt awk the one with the language?
Avatar
So anything you can do you can do in sed, thus i suggest you do it in sed
Avatar
will ddnet update to debian 10
14:09
justatest
Avatar
ChillerDragon 2019-07-07 14:09:31Z
will ddnet be written in sed?
14:10
oh i think i found the problemo xd
14:10
i used sudo and it was probably waiting for a passowrd ...
14:11
yes i comnbine shell_exec with sudo
Avatar
I suggest you create another security issue
Avatar
ChillerDragon 2019-07-07 14:11:16Z
come and register for my secure vpn
Avatar
Just allow no password sudo for all users on your machine
Avatar
ChillerDragon 2019-07-07 14:11:44Z
i didnt read my own readme
14:11
next time i send it to ryo so he can read it for me
Avatar
Not getting hacked is quite overrated imho
Avatar
ChillerDragon 2019-07-07 14:12:13Z
true
Avatar
I usually leave an unsecured vnc server running on my computer at all times
Avatar
ChillerDragon 2019-07-07 14:12:32Z
security through small user base
14:12
xd
Avatar
And I wrote a daemon that streams my webcams to twitch 7/24
Avatar
ChillerDragon 2019-07-07 14:13:16Z
lol
14:13
14:13
looks secure to me
14:13
xd
Avatar
only if the adduser-vpn.sh script is secure
Avatar
ChillerDragon 2019-07-07 14:13:54Z
who knows
14:14
it calls a bunch of openvpn stuff i dont understand xd
Avatar
pepeH 1
14:14
care to share the URL of your service? might have some fun at our next CTF meeting 😛
Avatar
I bought bitcoin with all my money, then I put it all on a wallet on my server, and I'm listening for rpc on 0.0.0.0
Avatar
ChillerDragon 2019-07-07 14:15:16Z
TestVPN has 3 repositories available. Follow their code on GitHub.
Avatar
Sharing is caring
Avatar
ChillerDragon 2019-07-07 14:15:33Z
feel free to roast it
14:15
but pls no hax mi whole vps
14:16
whats rpc @Learath2
Avatar
might be talking about rdp (microsoft's remote desktop)
Avatar
ChillerDragon 2019-07-07 14:16:48Z
14:16
i have a inivisble stargazer
Avatar
rpc means "remote procedure call" and is nothing specific usually
Avatar
ChillerDragon 2019-07-07 14:16:59Z
it says 2 and shows 1
14:17
how is that possible
Avatar
My bitcoin wallet has an rpc system so other applications can interface with it
justatest 1
Avatar
ah
14:18
nice
Avatar
I think most full node wallets have them
Avatar
ChillerDragon 2019-07-07 14:18:56Z
i wonder if i still have my bitcoin wallet
14:19
are those even worth something still?
Avatar
yes
Avatar
Bitcoin stonks have been going up lately
14:19
My heart broke when it fell below 6k$ but is better now :P
14:19
After 2 years of stagnation
Avatar
Average USD market price across major bitcoin exchanges.
Avatar
I toasted some bread, then i noticed i dont have anything to put on the bread
14:21
So im having tea and bread
Avatar
shrug sounds good
14:21
this chat is so random
14:21
from php to bread
Avatar
you forgot the intermediate bitcoin
Avatar
and im trying to enable gpu rendering on blender on arch with a amd gpu only to find out that i cant
Avatar
Update: Found butter, so now im having buttered toast
Avatar
@Ryozuki why not?
Avatar
idk i tried all
14:22
installed opencl-mesa
14:22
but nothing
Avatar
(I'm considering buying an amd card)
Avatar
amd best
14:23
u should
14:23
maybe i can
14:23
but i dont know how
Avatar
Tbh I would buy an nvidia care
Avatar
Card*
Avatar
nvidia sucks on linux
14:23
amd drivers are better
Avatar
Everything just works, I'm tired on messing around with amd
14:23
Nvidia doesnt even come close to sucking anymore
Avatar
ChillerDragon 2019-07-07 14:23:51Z
@Ryozuki install windows troll
Avatar
@Learath2 problem with nvidia is closed-source drivers. I'd like to try wayland for example
Avatar
It works flawlessly I daresay
Avatar
with the latest kernel amd got way better
Avatar
@heinrich5991 is it worth it for you?
Avatar
also amd is way cheaper
Avatar
worth what?
Avatar
for more perfomance
Avatar
I thought I cared about that but you just use wayland for like 10 minutes, u say oh cool, but its not ready yet
Avatar
@Learath2 wayland was just an example of why open-source drivers might be a better option
Avatar
and nvidia are just a shitty company trying to do shit marketing telling everyone that rtx this and rtx that when it sucks
14:26
Avatar
@Ryozuki rtx is really fun to play around with in unreal engine, and it does allow for some crazy lighting in a hybrid pipeline
Avatar
yeah enjoy the 9 fps
14:27
ur paying a shitload and it sucks
14:27
lets be honset
14:27
honest
Avatar
I get a solid 60fps with a hybrid pipeline, only a doofus would render an entire scene with ray tracing
14:27
Even cycles on blender doesnt trace rays for every pixel
Avatar
on ur own gameor on a triple aaa
14:28
cuz this memes comes from games
Avatar
I told you it was in unreal engine, so my own scenes
Avatar
ChillerDragon 2019-07-07 14:28:32Z
doesnt mean they are not tripple a @Learath2 .p
14:28
we all know you build some crazy games in your free time
14:28
xd
Avatar
Sure nvidia is a scummy company, but calling raytracing a dead end is just not having foresight at all
Avatar
i just mean
14:29
they overhype something
14:29
that its not that amazing
Avatar
ChillerDragon 2019-07-07 14:29:10Z
are they even hyped?
14:29
i only hear complains
Avatar
lot of ppl were
14:29
hype is before a thing is released
Avatar
ChillerDragon 2019-07-07 14:29:32Z
i was sceptical because nowhere was better tw support advertised troll
Avatar
tw rtx on
14:29
pls
Avatar
ChillerDragon 2019-07-07 14:29:42Z
xd
Avatar
Anyways, @heinrich5991 if having a closed source driver is a problem for you, definitely go for amd, but it is finnicky to get working
Avatar
its not lol
Avatar
I'm sure it's better nowadays but when I last tried amdgpu it took a lot of effort to get it to work properly
Avatar
i use amdgpu, the thing is it might use radeon driver first but u just need 2 lines on grub
14:31
to change it to amdgpu
Avatar
Especially for mid gen cards where amd was switching from closed drivers to open ones
Avatar
and the radeon driver is really good too btw
14:31
amdgpu and radeon are both open
14:32
the propietary is amdgpu-pro which no one uses
Avatar
@Learath2 open-source driver isn't a dealbreaker, but I'd prefer it
Avatar
i play dota 2 at max 144fps ez
Avatar
e.g. nvidia doesn't support their drivers ad infinitum
14:32
that's also a bit annoying
14:32
(trapping you with old Xorg versions)
Avatar
Amdgpu still uploads a firmware blob to the card, you just cant get fully open source, so I just gave up on kms and went for nvidia this time around
14:33
The performance really outclasses anything amd offers to begin with
14:34
It just wasnt worth my money anymore, but as i said its personal preference
14:34
Everyone has different priorities
Avatar
"Amdgpu still uploads a firmware blob to the card". I don't buy this argument. it's still more open-source than the nvidia driver
Avatar
Sure but it's still less open source then most anything on linux
Avatar
linux uploads binary blobs to intel cpus
Avatar
If you want to
Avatar
sorry, scratch that
14:35
that doesn't matter
14:35
it's more open than nvidia
Avatar
If you dont you dont have to update the microcode
Avatar
you can't possible make that an argument against amd
Avatar
Fine geez, knock yourselves out
14:38
Besides you are on arch. What do you care about old versions of xorg?
Avatar
no, the problem is that nvidia forces you to stay on old versions of xorg
14:39
fixed my issue
14:39
yay -S opencl-amd
14:39
14:39
is it possible to render using cpu and gpu at same time?
14:39
i dont think so
14:39
xd
Avatar
Well the cpu still does some calculations even when you render on gpu
14:40
Gpus are good at some sorts of calculations
14:40
Not all
14:41
now time to render my doughnut
Avatar
Doing the blender tutorial?
Avatar
ChillerDragon 2019-07-07 14:41:56Z
what is "the blender turporial" ?
Avatar
its famous
14:42
to make a doughnut
Avatar
ChillerDragon 2019-07-07 14:42:12Z
ah
Avatar
Well the tutorial everyone watches first :D
Avatar
ChillerDragon 2019-07-07 14:42:18Z
ye saw that on yt
Avatar
its the hello world
14:42
of blender
Avatar
I think blender guru made it
Avatar
ChillerDragon 2019-07-07 14:42:27Z
by this blender guru guy?
Avatar
ChillerDragon 2019-07-07 14:42:32Z
ah ye
14:42
ye saw it as well xd
Avatar
I dont remember if it used the new nice shaders though
Avatar
the vid is alreayd old but it helps
Avatar
ChillerDragon 2019-07-07 14:42:49Z
but didnt follow because i didnt want to create this crap xd
Avatar
im on blender 2.8
Avatar
You pretty much always use principaled bsdf nowadays
Avatar
there is a new render engine eeveee
14:43
eeeeeeeeee
Avatar
ChillerDragon 2019-07-07 14:43:10Z
and belender render got removed :c
14:43
its cycles
14:43
cycles has better quality but longer render time
Avatar
ChillerDragon 2019-07-07 14:43:29Z
thats why i cant port my project to 2.8 because it still uses blender render and all textures get fucked
Avatar
Cycles is the accurate renderer
Avatar
eevee is more fast
Avatar
Eevee is more like a game engine
Avatar
ChillerDragon 2019-07-07 14:43:44Z
y
Avatar
its better for those who dont have a render farm
14:43
its a big thing
Avatar
Yeah, eevee is also pretty accurate
14:44
made with evee
14:44
its amazing
Avatar
It had trouble with volumes though last i checked
14:47
Wow that looks pretty impressive
Avatar
ye that guy is amazing
Avatar
I wish I was artsy
Avatar
ChillerDragon 2019-07-07 14:49:48Z
i guess you can still become artsy
14:49
what ever that is
Avatar
im trying
14:50
:d
Avatar
ChillerDragon 2019-07-07 14:50:50Z
i belive in u
14:50
ur chat is pure art
14:50
xd
Avatar
ChillerDragon 2019-07-07 14:51:03Z
it looks dope
14:51
i like ur designs 😃
14:51
:o
14:51
a kid can do that in css too
14:51
xd
Avatar
ChillerDragon 2019-07-07 14:51:29Z
yes but you choose good colors
14:51
gpood arts
14:51
oh new update
Avatar
ChillerDragon 2019-07-07 14:51:48Z
0.3 already o.O
14:52
added newlines
Avatar
ChillerDragon 2019-07-07 14:52:07Z
auth system still anoyying af
Avatar
its a simple way
14:52
to tell ur username
Avatar
ChillerDragon 2019-07-07 14:52:20Z
i wanna type a name without using mouse and prss enter
Avatar
now u can see how many lurkers
14:52
wat
14:52
doesnt it autofocus
14:52
on input
14:52
it does
Avatar
ChillerDragon 2019-07-07 14:52:53Z
it does
14:53
but i alays misspele 7authe
Avatar
ChillerDragon 2019-07-07 14:53:12Z
xd
Avatar
ChillerDragon 2019-07-07 14:53:29Z
I want a big textbox popping up with a blingking cursor
14:53
ENTER YOUR NAME:
Avatar
i could do it
14:53
xd
Avatar
ChillerDragon 2019-07-07 14:53:40Z
yes pls
Avatar
u know there is a new scam
Avatar
ChillerDragon 2019-07-07 14:53:45Z
make it huughe
Avatar
where u fake a
14:53
popup
14:53
but its inside the web
14:53
with pos absolute
14:53
i read it somewhere
Avatar
ChillerDragon 2019-07-07 14:54:02Z
ah
14:54
like windows popup?
Avatar
ChillerDragon 2019-07-07 14:54:11Z
cool
Avatar
its amazing
14:54
xd
Avatar
ChillerDragon 2019-07-07 14:54:24Z
yes i think i saw some macos windows in a web page already
14:54
looked kinda native
Avatar
@ChillerDragon poggers
Avatar
ChillerDragon 2019-07-07 15:37:34Z
blender pro
Avatar
blender is insane
15:42
@Ryozuki stop console.log(e) for the event pls
15:45
fixed
Avatar
@Ryozuki try the principaled bsdf shader
Avatar
i dont need it for now
Avatar
Well sure, it's ashader, you don't ever "need" it 😄
15:59
It just looks cool
15:59
i think this doughnut would sell well
15:59
troll
Avatar
brick flavoured?
16:06
this is such a meh json library to work with
Avatar
which
Avatar
ddnet's
Avatar
the one we have on ddnet
Avatar
ah xd
Avatar
how are you supposed to get a nice way to write "if this object exists"?
Avatar
sometype x = parent["abc"];
16:08
if(x.type != TYPE_NONE) (edited)
Avatar
oh they rely on static initialization to initialize json_value_none gets type json_none
16:10
missed that
16:11
I seriously thought they intended for people to use &parent["abc"] != &json_value_none
Avatar
if object exists doesn't sound particularly helpful though
16:12
you probably want to check the type directly(?)
Avatar
I was trying to say if field exists
Avatar
same for field
Avatar
It does make sense that you wouldn't want to continue parsing serverinfo if the max_players field was missing e.g.
Avatar
but why don't you check for type == int then?
16:14
i.e. I say that there's a more specific check you can do
Avatar
I didn't know that json_value_none had a determined type, because I didn't notice that it had static initialization
Avatar
ah ^^
Avatar
How did you do casts to int btw?
Avatar
implicit IIRC
Avatar
there is no operator (int)
16:16
there is one to json_int_t
16:17
eh maybe the compiler is smart enough
16:17
I'll leave it implicit, see if it compiles 😄
Avatar
that's int64 apparently
16:17
I think I just added an operator int ^^
Avatar
It's possible that int64 implicitly casts to int in the first place
Avatar
I don't think you can do two implicit casts at the same time
16:18
it wouldn't know whether you want to go via char*, int64 or double
16:19
(all of these implicitly convert to int)
Avatar
apparently you can, or atleast the compiler is fine with it 😛
Avatar
shrug
Avatar
oh my i was so into blender i nearly forget about the tourny
Avatar
The movie Next Gen was made in Blender btw
Avatar
xd
17:34
@archimede67 and this is why i cant do art
17:34
looks creepy af
Avatar
1 sv is full
17:40
damn
Avatar
I've got secret codes for streamers
Avatar
ChillerDragon 2019-07-07 17:41:08Z
o.O
Avatar
can i get one
Avatar
so you can join full servers
Avatar
ChillerDragon 2019-07-07 17:41:13Z
what do those codes do?
Avatar
im doing the 4 display stream
Avatar
ChillerDragon 2019-07-07 17:41:20Z
looks like ima start streaming
17:41
xxxd
Avatar
we have 2 reserved slots, s62 counts as full
Avatar
nvm i joined
Avatar
ChillerDragon 2019-07-07 17:41:42Z
stream2win
Avatar
ChillerDragon 2019-07-07 17:44:42Z
didnt vanilla do something weird for the ingame slots
Avatar
a2c3071 Tournament livestream 2 - 12pm
18:01
5c5d79c Revert "Tournament livestream 2" - 12pm
Avatar
ChillerDragon 2019-07-07 20:33:51Z
20:34
am i stupid again or did vscode actually not undertstood that the ===== are from readme and not from conflict
20:34
lol
20:34
its even a different length
Avatar
ChillerDragon 2019-07-07 21:12:52Z
21:12
hf gl me
21:13
21:14
lol it worked
21:14
im officially git wizard now
21:18
compiled vanilla 0.7 with visual studio debug and run in debug session. Same with current ddnet. ddnet had 40-100 fps and was nearly unplayable and vanilla had 1k+ fps and was smooth o.O
Exported 443 message(s)