« first day (2311 days earlier)      last day (2631 days later) » 

10:00 PM
... ya, that could happen...
 
usually accompanied with strange beards and haircuts with shaved sides
 
i'll throw $2 pp to the first guy to help me fix this lol
 
@tereško you mean that?
 
yes
 
user6061856
 
user6061856
10:03 PM
While that is valid code, the inconsistent link tags are driving me nutz.
 
Woops, I'll get that fixed haha
 
user6061856
Sorry totoally off topic to what you want done. ;_;
 
No problem. :)
 
user6061856
Okay does the div that wraps the toggle button supposed to have a class or a id?
 
user6061856
 
10:08 PM
Nope.
 
user6061856
also I don't think you need a class for body since there is only ever going to be one body.
 
I put it there to utilise the skin CSS in one of the stylesheets :)
"<body class="skin-default">"
 
user6061856
hm
 
Hmm I think I found the error
 
user6061856
I don't think I'll be able to help, the fact I don't have access to your stylesheets.
 
user6061856
10:17 PM
Oh you did?
 
user6061856
(plus don't feel like going through a thousands of lines of stylesheets)
 
Yeah. It was a stupid error on my part. I didn't think it would have any effect.
 
user6061856
hmm
 
I had a section tag above the navbar code, which caused it
Thanks for the help man
 
user6061856
Your project seems interesting. Would it be okay to ask what it's for?
 
10:19 PM
Sure. It's a social media panel where users can order likes/followers for their FB/IG and deposit funds :)
If you'd like I can set you up with an account and some free credits for the help?
 
@nicarpe dude wat?
 
user6061856
Wait, they can order like buy likes and followers?
 
people actually would pay for likes / followers?
 
Yup.
 
user6061856
um
 
10:20 PM
IG likes are $0.05 I believe
 
user6061856
I'm not interested in that
 
Per 1000, that is
 
I don't want to live on this planet anymore
 
Ah alright haha
 
user6061856
XD
 
10:20 PM
You haven't seen the fake followers on others IG profiles and stuff?
 
That's social media panels for you right there :p
 
user6061856
I don't see the point though
 
user6061856
why buy likes and folllowers?
 
I thought these crap people would actually have the decency to program bots to do that
 
user6061856
10:21 PM
I mean, it's your program and you can make it do whatever you want. I just don't see the point. :P
 
money, probably
 
I am doing this to learn PHP :)
 
user6061856
Oh
 
Fun little project + you earn some cash on the side
 
user6061856
I guess that's good.
 
user6061856
10:23 PM
(although I wouldn't build an app like that)
 
user6061856
I'm honestly not sure what app I want to build.
 
user6061856
There is like an app for everything now.
 
user6061856
So hard to think up something unique that others haven't made first. U.U
 
@Terminal-JS you can also start by reinventing the wheel, like writing a php templating engine
 
Yeah that's true
 
user6061856
10:25 PM
@FélixGagnon-Grenier I've already done that.
 
user6061856
It was shit, but it worked. XD
 
is it on packagist?
 
user6061856
no
 
user6061856
I deleted it
 
user6061856
It took 40 minutes to make lol
 
10:26 PM
plot twist, now make one that you would actually use :)
 
Well.. If it wasn't for this project I wouldn't be on Stackoverflow right now. I haven't used it for ages, and just came back to get some help with my code, but it seems like I'll be staying :p
 
@nicarpe gods be blessed, you didn't write codes
 
user6061856
who me?
 
user6061856
oh
 
user6061856
CX
 
10:27 PM
because my code is shit? hahahahaha
 
don't think I understood that correctly hahah
 
user6061856
You code isn't shit, but it does have inconsistent things . . .
 
user6061856
;-;
 
user6061856
I can't say my code's better
 
10:28 PM
hi. I am trying to debug my laravel app using Xdebug in sublime. I have started, I have a breakpoint on the line of the error, the browser starts with 127.0.0.1:8000/XDEBUG_SESSION_START=sublime.xdebug but I dont get anything in xdebug
 
haha, I bet it is
 
user6061856
LOL
 
I started coding just 3 days ago
 
user6061856
XD
 
user6061856
@Olivvv 127.0.0.1:8000/ doesn't go anywhere because that's your computer's localhost IP.
 
10:29 PM
but I have been coding java before, so I guess that helps quite a bit
 
user6061856
@Olivvv Only you have access to it
 
user6061856
@nicarpe Java is a class based OOP language right? I can't remember.
 
yup
pretty fun
 
@Terminal-JS how do I give access to xdebug ? I have added a bloc of code to php.ini that is supposed to do that
 
I started coding because I wanted to design cheats for a game
well actually I started with C++ or .NET
more specifically VB.NET lol
 
10:35 PM
gosh I have a shitload of steam games. can't begin to choose how to waste my afternoon
 
I'm currently installing Divinity: Original Sin
 
installs torchlight 2**
 
I hope it has a better writing
 
ok what's up with /me doing stuff with chat formatting when written at start of message
 
/me test
 
10:37 PM
...
test
Oh...
I think I installed some user script for chat
 
nope, not workin on my box
 
/me retests
aaaaaa
who the hell would replace /me with italics. I mean, can we stay meta, damn user scripts maker
@tereško first or second?
 
first one
I dont buy early access games
 
user6061856
@Olivvv I don't know anything about XDebug
 
> this is especially true as there are no exclamation marks over their heads telling you that this person is important or that they have information you need.
jaw drops
 
user6061856
10:43 PM
I love borderlands 2. But I need a better computer to play it.
 
user6061856
I used to play it when I had a powerful computer.
 
ok the weird thing is that In php.ini I have zend_extension = "C:\xampp\php\ext\php_xdebug.dll" but there is no php_xdebug.dll file there
 
user6061856
o.O
 
11:01 PM
@FélixGagnon-Grenier "culture shock"
 
initially I did this tutorial: kerryritter.com/… it does not say to download the .dll anywhere.
Now I downloaded it and have added it to C:\xampp\php\ext\ and corrected the path in php.ini and restarted everything but still no luck
 
Related to this PR github.com/php/php-src/pull/2381 from a few days ago, is_callable callable_name for closures is also not so useful. But for this one the only clean way I can think of doing it is making a separate class entry for every individual closure. Any ideas?
Ideally callable_name would be something like Closure<special-identifier>::__invoke instead of Closure::__invoke
 
11:19 PM
@adsr maybe - though there was also an idea to have a method for closures that returned what they created from.
$closure = Closure::fromCallable('strlen');
echo $closure->getOrigin(); // 'strlen'

$closure = Closure::fromCallable([$foo, 'bar']);
var_dump($closure->getOrigin()); // ['instance of foo', 'bar']
 
anyone here familiar with html?
 
@adsr what is callable_name actually used for?
 
Wes
@Danack purpose?
 
@Wes debugging stuff.
try {
   $fn();
}
catch (\Exception $e) {
   echo "Something went from with a closure that I have no idea where it came from.";
}
...
 
Wes
dunno, aren't file, line sufficient? backtrace shows that, right?
 
11:34 PM
@NikiC I am running into this only because I'm writing PHP bindings for an API that requires callbacks to be expressed as a string
 
@Wes yeah, but still involved work. It means you can't include all the information in a log statement, and a programmer has to go look up information, rather than having it all to hand.
 
@adsr sounds ... weird
 
WeeChat :)
 
give a unique identifier to all callbacks, pass that?
 
There are work arounds, I could maintain a custom a hash
Yeap
 
11:41 PM
Using the callable_name thingy sounds super unstable and limited
 
@LeviMorrison I'm trying to run the php.net site inside a local docker machine. I'm hitting a problem as apparently the code uses $_SERVER["SERVER_NAME"] to generate links, but as the server is running with php -S 0.0.0.0:8000 .router.php the links generated aren't valid. Am I doing something dumb, or is this something everyone just hacks around?
 
also wrt the earlier pr, I'm wondering if callable_name shouldn't just cut off the nul part
I mean the previous behavior (where you get only class@anonymous) is clearly wrong, but I think it might make more sense to get class@anonymous::method than class@anonymous\0!§(/)&(/$)!"§::method
As the main use case for callable_name is probably display in error strings
or not, dunno
the naming scheme for anonymous classes is shitty...
 
I am also not sure of the intended purpose of callable_name
I am just abusing it :3
 
tried using session_save_path('/Temp'); on window but got this ( session_start(): Failed to read session data: files (path: /Temp) )
 
@NikiC yes…
 
11:57 PM
!!version
 

« first day (2311 days earlier)      last day (2631 days later) »