« first day (2492 days earlier)      last day (2680 days later) » 

00:00
man I haven't really made any real PHP contributions in a while
I should trawl the bugtracker
00:17
Why when I click null links on the calendar in a jquery datepicker does it send me to localhost/#?
@AntonioNogueras Is the href attribute set to #?
@Alesana yes. Every date on the calendar is set to that
@AntonioNogueras That is so it doesn't go to any link, if you set it to javascript:void(0) I believe it won't do that
True, but I'm using those links to trigger an event
It will still trigger any event, just won't add the hash to your url
Oh I just realized this is the PHP room anyways
00:43
love too contribute 2 php
Nicely done :B
@NikiC given you were behind PHP 7's engine exceptions, does this feature request to have require() use them sound reasonable? it'd be trivial to implement I assume, I'd do it myself. do you think it would need an RFC to get into 7.3 or so?
01:09
hmm. this opcache bug interests me: bugs.php.net/bug.php?id=74268
I wonder if it's a configuration issue, but I don't know opcache well enough to say.
01:20
hmm
does JSON_THROW_ON_ERROR need an RFC
I hope not
02:19
@Andrea as long as it's additional and opt-in only, that's fine without RFC I think.
@bwoebi yes and yes
 
1 hour later…
03:35
moor
nins
 
1 hour later…
04:37
Hahaha
Morning room
04:58
!!dad
!!version
he's dead
@PeeHaa fixitfixitfixit
Soon we might be able auto-generate web templates
05:57
Ok ... I want to buy a server for the first time. Is there any note I should know?
buy a server, as in a server rack in your own home, or like some services like aws, digitalocean?
Hello all great people out there around the globe
Now, it's a time to help your buddy in his problem
Here is my problem
0
Q: What exactly does happen by means or URL encoding and URL decoding while dealing with cookies in PHP?

user2839497I'm learning the concept of Cookies in PHP from this link Till now I've understood that A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. Wi...

06:24
mornin
morning tereško
06:44
morning
morning
06:57
mornor
mornin
mhodor
07:15
Any weekend plans?
Yeah, going finishing my house building.
Just a couple of hard work hours :)
> finishing a house in a few hours
mornin
Finishing a house in a few hours per every fcking day, it's never ending story :(
I'm finishing it from February ;/
i'm cleaning the house... already started... like, ocd level cleaning :B
i'm not proud of it.
wat, a programmer actually cleans stuff?
07:23
you don't?
sometimes
building stuff is way up on my priority list though
Sometimes I clean my laptop keybord from crumbles :)
;)
heh, I honestly often clean two things, my glasses and my violin
:)
I do this only to my laptop and not often, about one time per month or smth
When the keybord buttons don't want to push :P
07:27
heh ;) all that to say, @brzuchal you expanding ur house or smth?
I'm finishing boulding my house, so I don't have time for anything, I hope it ends this year...
I'm sure you'll manage :)
what a great project that must be though!
that being said, it's late in the morning, I just might be watching the last kingdom from now on. all the best for your house.
Thx, i'm going to build now c ya
ahahahaha
*and they sand
07:38
omg i need to know the story behind this photo now
damn i can't find anything
anyone here know advanced regex?
sorry to post here, but regex room is empty
08:12
posted on August 12, 2017

New Cyanide and Happiness Comic

lol
o/
\o
o/
08:17
\o
o/
I clean often, but usually only the mornings. Cleaning is something once I start I just can't stop. Starting is the hard part.
@Fabor you absolute mother fucker, you broke combo .... go to a corner and whip yourself ...
He didn't even state he was breaking the combo...
08:23
Maybe I like the whip ( ͡° ͜ʖ ͡°)
:P
@Fabor in that case, use the bat-o-nails ...
Ooh yeah
Wish I has a build buddy :( not even sure it's possible in modded Terraria
@JoeWatkins not enough people around. maybe in winter chat.stackoverflow.com/transcript/message/38537407#38537407
user924016
08:40
mornings
Hi everyone

I am trying to use a regular expression to match a string, but it doesn't work: http://www.regextester.com/?fam=98327
The string: "('Alex', 0.55)\n"
regex: [^\n]([A-z]+)
I want to keep Alex only not the backslash n
Am i doing this incorrectly?
morning
@Andrea Fine by me
morning NikiC
It was not converted originally because it uses a weird extra error reporting mechanism
something called zend messages iirc
Also wondering what you would do about the first warning. Keep it and only replace the fatal? Make the warning itself an exception?
@Linus morning
HOW THE FUCK threading works on twitter
i keep getting messages grouped differently every time, in wrong order
it doesn't make sense. what an absolute piece of shit
ThW
ThW
09:45
@trilolil no here is more then one character before the first letter. I would suggest looking for the quotes: [^']*'([^']+)'
The beginning of my town
@DaveRandom you are not wrong about changing ctor signature. depends on how you see it... in languages that have first class citizens classes also ctors must follow lsp, because the "class" objects likely have a method that is supposed to be compatible with super classes' ones
e.g.
class A{ function __construct(int $a){} }
class B extends A{ function __construct(stdClass $a){} }
(new ReflectionClass("A"))->newInstance() is incompatible with
(new ReflectionClass("B"))->newInstance()
10:14
new user asking gibberish. getting perfect english answer by another new user. I smell sock puppets and plagiarism. will flag in case you are slacking today
you dont say
@Gordon Doesn't look like sockpuppetry, deleted the plagiarism though
Thanks :)
@MadaraUchiha probably too new to look like sock puppetry yet
They didn't even vote for each other
doesn't "smell" mean figuratively "it could be but i'm not sure"
10:29
@WesStark yes
@WesStark Yes
so i searched for you :B
anyways. thanks for handling
10:40
beautiful
10:55
@WesStark yeh but that way madness lies, to me reflection is a sign that you did something wrong somewhere already, i.e. it's a tool for fixing problematic code, not for writing code with
except for stuff like DI containers, which should be making zero assumptions anyway
i.e they should be 100% dynamic and not assume any particular type to be magically compatible with any other type unless it is explicitly declared to be via explicit configuration by the consumer
ctors are explicitly exempt from LSP, in PHP anyway (and many other languages) and they should stay that way
@DaveRandom Do you even know any language where they aren't?
11:17
morns
11:34
@kelunik c# java & co
changing signature is overloading, not override
so it doesn't really count
there aren't many languages like php
@DaveRandom for github.com/DaveRandom/LibDNS/issues/15 the guy does kind of have a point. Would moving that function to be a static method on a class be acceptable?
@WesStark It's not overloading. Constructors aren't inherited in Java.
11:58
morgen
@PeeHaa moin o/
12:12
@PeeHaa mornin o/
@kelunik so when you extend a class and you don't define a ctor? in that case they get inherited?
@kelunik i can't set phpstorm to properly format this
        return [
        "object" => $this->object,
        "member" => $this->member,
        "content" => $this->content,
        ];
each entry should be indented, but instead it's aligned with return
12:28
@WesStark Then it doesn't compile, unless the parent has an empty constructor, then there's an implicit empty constructor that calls the parent IIRC.
continuation indent does:
return [
    "object" => $this->object,
    "member" => $this->member,
    "content" => $this->content,
    ];
ofc i want ]; to be at col 0 -__-
@WesStark Autoformats correctly for me on paste.
yes but not while you write it
same here
nah, writing does the same as well tho :/
oh... nvm, he can't see my messages...
like,
foo(
Indent$var,Enter
Indent$otherVar,Enter
Indent)
12:32
@WesStark Yes, it works.
Cursor is placed in the middle with the correct indent.
i might have some other setting that messes it up
 
1 hour later…
13:38
> Admittedly, I am not an expert programmer. Please be tolerant if I use the wrong terminology. I need to migrate PHP code from PHP 4 to 7. I diligently added 'i' to all the database calls (e.g. myslq_connect became mysqli_connect). In the code below, the connection is done in the class constructor (it wasn't used in the PHP 4 compatible code).
"I diligently added 'i' to all the database calls" gave me a good chuckle
13:54
mine are totally different lol
i don't abuse whitespace like you guys
if ( ) {
is
if(){
for me :B
Heh I don't know much anything about mysqli, but did he add i's in places that they shouldn't be?
hey can we edit the code of netbeans ?
14:11
World Elephant Day is an international annual event on August 12, dedicated to the preservation and protection of the world's elephants. Conceived in 2011 by Canadian filmmakers Patricia Sims and Michael Clark of Canazwest Pictures, and Sivaporn Dardarananda, Secretary-General of the Elephant Reintroduction Foundation in Thailand, it was officially founded, supported and launched by Patricia Sims and the Elephant Reintroduction Foundation on August 12, 2012. Since that time, Patricia Sims continues to lead and direct World Elephant Day, which is now supported by over 65 wildlife organizations and...
\o/
user924016
@Leigh happy elephant day
@RonniSkansing thanks that's what i want
is forcing a 7 character password too much?
should I lower it to 5
@Andrea no, they don't
eval is what's leaking there ;)
Let me find the duplicates
@Andrea Only inside eval.
Can't find it, but there definitely is one
The problem is basically that rtd keys are not actually guaranteed to be unique
14:58
@NikiC rtd?
@PaulCrovella ah, khanacademy..
'tis quite nice
should I automatically create a login cookie for users or should I ask them if they want to be remembered
user924016
@user7594714 7 is okayish
user924016
5 is too low
user924016
on the persisted login cookie, I dunno depends on your context
evenin room
@Jeeves happy elephant day =)
he dead?
!!uptime
╔══════════════════════════════════╗
║ [19 seconds] without an accident ║
║   since [2017-08-12 15:43:49]    ║
╚══════════════════════════════════╝
11 hours ago, by Sheik Yerbouti
@PeeHaa fixitfixitfixit
done
15:44
nice
Updating php too while I'm logged on
3 messages moved to Trash
!!worldrecord
:P
@WesStark you worked with blender?
@kelunik runtime definition key
16:26
@PeeHaa i tried. it's like the least comprehensible program ever created :B
i bet you noticed already :B
I actually think I like it :D
:B
what about sketchup?
never heard of that until now
that is way easier, but has probably less stuff than blender
but iirc it has plugins and it's very supported. like all 3d printers support it, cvc and stuff
I'm just playing around a bit, but it's kinda cool
16:34
if you are modeling hardware i've used inventor for a while. it's probably the simplest to use as parts are already modeled. like you can pick screws, gears, etc
@NikiC What's that?
also contains a physics engine that actually can simulate mechanical movement
and there are plugins for fluids afaik
I started out with reading up on the unreal engine
Now trying to render some random model
unreal engine has an ide i believe
It has looooads of stuff
16:36
but you can import models from other software like 3d max, sketchup etc.
after months of work my site is finally finishing up
@WesStark I kinda got suckered in by stuff like this youtube.com/watch?v=qx5L8K99j10
That's just so easy
@kelunik A temporary key used to store late-bound functions, classes etc
It's based on the the filename and the lexing pointer
ah, sketchup doesn't have that stuff imho
just basic camera animation. i doubt you can morph
Not that interested in the morph part even for now. Just that glass of wine looks cool :D
16:38
If two definitions occur in the same file at the same character and the lexing pointer happens to be reused you get a collision
Usually this doesn't happen, but especially with eval it can
And why does it leak?
Because the collision isn't deleted?
oh dunno, haven't checked that. but it stands to reason that if you destroy an active function definition at runtime Bad Things Are Going To Happen.
@NikiC But doesn't that happen with any closure?
No
Closure doesn't even matter here
You can get the same effect without a closure, you just have to generate a new function name each time to avoid a redeclaration error
16:55
If I generate a new function every time it obviously leaks.
17:35
Passing of unterminated C string as argument to %s in format string – #75067
18:15
trying to grant priv to a user using GRANT
SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER,DROP,SHOW ON db.* TO 'user'@'*'; but I get error on 'ON'
Surely those quotes are wrong
However I stay as far away from mysql as possible
@PeeHaa From MySQL doc: GRANT SELECT ON db2.invoice TO 'jeffrey'@'localhost';
oh weird
What is the actual error you get?
evenings o/
18:31
@PeeHaa Databases or View expected, got ON
What is your exact query?
GRANT
SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER,DROP,SHOW ON db.* TO 'user'@'*';
same line
Your database is called db?
No, it's called machuser
Soooooooo
:)
18:35
GRANT
SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER,DROP,SHOW ON machuser.* TO 'mach_user'@'*';
/o\
19:38
twitter.com/brennanmgilmore/status/896434516260212737 nazi car hits protesters (graphic)
that's the problem with guns. nobody reacted because "what if the guy in the car has a gun?"
if guns were not allowed to possess, someone would have smashed the window and hit the motherfucker hard
that is the kind of person that for sure has guns
I wish that this person gets in jail.
20:16
@Trowski What's the current status? Says pendingTransfer + autoRenewPeriod now. Website works again for now.
 
1 hour later…
21:38
What lies at the bottom of the ocean and twitches? A nervous wreck
:(
:) \o/ yay popular question badge
@NikiC an issue regardless :p
22:23
Is eating a whole ice-cream cake in less than 12 hours acceptable?
22:40
Yes
23:30
+1
I'm not really joking too you know, i ate like 75% of that thing -_-

« first day (2492 days earlier)      last day (2680 days later) »