« first day (2105 days earlier)      last day (3069 days later) » 

Wes
Wes
can i have [email protected] ? @DaveRandom :B
Thanks. Now I'm sure I have incoming spam...
@Wes no :-D
Wes
Wes
dammit :P
:-)
Wes
Wes
18:03
@bwoebi will pick bwoebi@ then :B
@Danack @DaveRandom which CFLAGS would affect that?
> No errors. PDO? Mysqli? I don't think so. Regular MySQL.
18:22
If anyone has any knowledge of CakePHP and can help me out here stackoverflow.com/questions/38462718/… much appreciated
Anonymous
I edited one example to include a warning from manual... Rejected because it came from the manual. This system is shite.
@JayIsTooCommon haha
Just kill it already :(
Anonymous
It needs to be burnt with fire
18:27
you mean the entire docs thing? yes!
yeah I started with the private beta. tried to add proper exception handling errors. some guy I've never ever seen in any php context rejected all that because they prefered their try catch block. gg
I added an xml topic in the beta. submitted it for review. then it was gone. went to meta, found someone else had it happen, too. left a me, too comment. never heard of anyone. then couldnt be bothered anymore
Wil
Wil
I'm doing my once every 2 months PHP activity and something has got the better of me... I can't seem to get a simple query string! I've tried server/get id without any luck... just tried a line from a SO question to print them all and still not... I feel so silly, I don't suppose anyone knows what is going on? (picture incoming)
If only I got veto powers, as the PHP manual editor.
guy i have this
#89 came here
865 came here
*26 came here

how can i replace the numbers that dosnt start with # i tried using this : ([^\#][\d]+) didnt work
Wil
Wil
18:29
You are not outputting anything
Also a picture of code is pretty crap
@ChrysUgwu replace with what?
Anonymous
@Gordon yeah completely
replace
865 came here and *26 came here
with noting ''
do i use the correct ways in php
for($row=0;$row<$arr.length;$row++)
echo $arr[$row]["name"];
Wil
Wil
18:32
@PeeHaa ahh ****....
get error on length
2 messages moved to bin
@ChrysUgwu your try doesn't work because [^\#] matches numbers
@gtzinos that's now the third time I see that exact same code dump without any explanation
18:33
@PeeHaa he's gone, Jim
for a minute
@Wil I assume that's a fuck underneath those *s? ;-)
wasn't that suppose to escape and match '#' as a character?
I will take your silence as a silence of shame so a yes :p
all cool @Gordon?
Wil
Wil
@PeeHaa yeah! long long day
18:35
@ChrysUgwu No, it matches anything that isn't a # character.
hehe it happens
@JonClements because of the kick? yeah. But there is this horrible new feature called documentation I already hate. Can you destroy it for me? :D
lol
yeah am trying to match any digit that doesn't start with '#'.
@Gordon :)
18:38
like:
*234 good
#234 bad
234 good
+124 good
@ChrysUgwu Can you set up a 3v4l.org with your attempt please?
10
Q: Regex: Finding strings that doesn't start with X

peirixI am completely hopeless with regular expressions... I have a Velocimacro named #addButton, and I have a JS function named addButton(). Now I want to find all the places the JS function is called. So I need to search for "addButton", where "addButton" doesn't start with the hash key. Any ideas?

look! I linked to a regular Q&A. it didnt need a documentation
@Gordon /me copy/pastes that Q&A into the documentation site
@salathe I think i will plagiarize all of your spl wiki into it
Wes
Wes
@salathe reminder: github.com/php/web-php/pull/114 :P
18:41
@Gordon lawsuit incoming! :P
@salathe heh, i wrote good portions of it
@Gordon feel free to plagiarise your own portions of it :P
@salathe where is the fun in that?
@Gordon It's documentation. It's not meant to be fun!
Wes
Wes
18:42
yay! :B
@salathe oh, at least SO got that thing right
i hope there ill be an api
then i just push my php documenter output to my new framework :>
i don't wont to document the api :>
18:46
And you want to replace everything that doesn't start with # right?
(?:^|\s)(?<!#).*?\s
try that
maybe exlude the last \s tho
(?:^|\s)(?<!#).*?(?:\s)
#Fail
xD
@jeeves well then flag the hell out of it
If anyone is free, can you please take a look at my stackoverflow question: stackoverflow.com/questions/38512215/…. Essentially i want to run wordpress and laravel under the same domain on an ubuntu nginx server
18:53
I think I also implemented a regex tester at some point
@Wes merged.
Wes
Wes
ty salathe \o/
8 messages moved to bin
!!regex /(?:^|\s)(?<!#).*?(?:\s)/ 324 foobar #123 bazqux
@PeeHaa Pattern must be wrapped in a code block
18:55
I think I just lost all interest in using that SO documentation thing: stackoverflow.com/documentation/proposed/changes/16402
happy?
@PeeHaa that was a bit greedy. you removed virepros question, too
@⁠PeeHaa error has been logged. Fix it fix it fix it fix it.
oh :|
Wes
Wes
definitely unhappy
18:56
Sorry @virepo!
Let me get it back :)
7 hours ago, by Gordon
Stack Overflow Documentation is the new W3Schools.
no fix?
what do you mean @PeeHaa ?
1 message moved from bin
@virepo I had accidentally binned your question
why ? aha
18:57
Collateral damage
Reverted though
lol @tereško
ohh, you could always try and answer it though @PeeHaa ;)
Someone reported tereško? I'm SHOCKED
18:59
@Machavity wat?
1
Q: Add Wordpress as subfolder to existing rails site using nginx

silviu.rosuI have a running app using rails (unicorn) and nginx. My client asked me to move a wordpress blog onto existing server as a subfolder. Let's assume current site is www.example.com. The blog link should be www.example.com/blog I do not succeed to configure nginx to server wordpress blog. My curren...

@tereško People are flag-happy. Someone flagged you in the Docs room
@tereško You got flagged in docs
they got triggered by use of "fuck" ?
any one interested in a revival of github.com/everzet/jade.php
19:00
@ChrysUgwu did you try what was suggested?
@PeeHaa that doesnt help me :/
Why not?
im kinda making a node engine right now, and wonder if i should implement the jade syntax
because i dont understand it
and thats a question without an accepted answer ,
@salathe which?
19:03
@tereško We know. It's your favorite word. I'm sure your house is decorated with it
@virepo That's because the cnfig which almost correct
my config doesnt look like that
Try that laracast thing
That doesn't really warrant star it's not even english :p
can you post it again.
none of the provided answers worked for me.
Wes
Wes
is there a math function notation for the equivalent of (int)(bool)$integer ? or, 0 if it's 0, 1 if it's any other number that isn't 0
it works with this '123 foobar #123bazqux' but mine don't heave letters proceeding the number
mine #124(space) not #123(characters)
19:09
We should summon Col Shrapnel and let him write the php mysql docs
2
@ChrysUgwu (?:^|\s)(?<!#).*?(?:\s|$)
matches the next space or ending of the string
regexer.com is a great help if you want to jump into regex
except with negative lookaheads.. because it has a js engine
i tried it again: 3v4l.org/CuqWL
@ChrysUgwu I'm confused, your said "[I] am trying to match any digit that doesn't start with '#'." but your example (3v4l.org/5n6NO) replaces more than just digits (see the *26).
@Gordon He got banned again btw
19:13
sorry. can you look make it work with the example i provide?
@Machavity I know. he wrote an open letter
@Gordon Oh?
@ChrysUgwu if you want more special chars than * add it between the [] with a pipe as separator
Why does this return an error?
$stmt = $con->prepare("INSERT INTO limiteds (1) VALUES (:1)");
$stmt->bindValue(':1', 'Example (123)');
$stmt->execute();
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1) VALUES ('Example (123)')' at line 1 )
19:16
@TheCodesee are you running emulated prepares?
literally only what i posted here
@TheCodesee And you really have that field?
...
is it working @ChrysUgwu ?
@PeeHaa what?
also .. .you seem to be missing the point of named parameters, @TheCodesee
19:17
yeah thanks
wat indeed
Should my code be working?
whether PDO is emulating prepared statements or not is determined in the "connection"
@TheCodesee Read the error message
And read where it tells you the error is
@TheCodesee no
19:17
I've read it but I can't see any syntax errors
@TheCodesee why do you have a column "1" ?
you aint even earn rep for helping in chat right? xD
is this your first day doing DB design?
19:18
What's wrong with having a column named '1'?
@StefanHövelmanns You get room 11 rep which is actually worth something :P
@TheCodesee you mean asside from it being really dumb idea?
Yeah, there's nothing which says you're unable to have a column named '1'
are you trolling?
19:20
I simply want to know why my code isn't working.. I can post a question rather than asking here if you want to laugh at my column names.
That's kinda annoying, but also great
@Wes This gif isn't appropriate. It should be more like "easy task, yay!"
@TheCodesee because "1" is a reserved value
didnt know it would pop up this big xD
... for a lack of better description
Wes
Wes
19:21
@bwoebi if and only if you know what you are doing :B
@Wes sure I do…
can anyone motivate me to di the dishes?
Wes
Wes
can't say the same @bwoebi :B
two different htmls
@Wes read through pcre.org/current/doc/html/pcre2pattern.html and stop complaining.
@TheCodesee your error is due to same problem as with using "order" as table name ... or "where" ... or "select"
also, in DB table, the columns are attributes of the entity .. and "1" makes for wery shitty attribute
19:23
@Wes ugh damnit
Wes
Wes
the fix works though
it's a mess regardless..
@Wes yeap I can haz title on mobile
@TheCodesee would you write in PHP $foo->1 = 2 ?
Wes
Wes
i would
but just to annoy @PeeHaa
19:26
@tereško $foo points to the fact that 1=2? yeah!
Ekn
Ekn
evenings
some 11'ers might want to keep an eye here stackoverflow.com/documentation/design-patterns/topics
@DaveRandom No, not at all really. :-/
Wes
Wes
are people repwhoring-racing on this new site?
Ekn \o
@Ekn oh. oh. ooooh. nOOOOOOOOOOOO
Ekn
Ekn
19:30
Context.java
Everybody knows PHP is just java with crappy OOP support
:P
@PeeHaa Java uses objects? When did that happen?
@Machavity they use special Java-objects which nobody understands.
Wes
Wes
19:37
is there a way in phpunit to create a test class programmatically?
abstract class MyTests extends PHPUnit_Framework_TestCase{ ... }
new class(...) extends MyTests{}
I am not even going to ask what you are doing... ;-)
Wes
Wes
rofl
@Wes there used to be a skeleton generator. also phpshtorm should be able to
@PeeHaa he's playing with his PHPUnit
so just use phpstorm
in your class, press ctrl shift t or something
Wes
Wes
19:40
eh it's not really what i was thinking to do. i have no problems with copy/pasta. i wanted it to be automagic :B k, tho...
Or something? /me presses shift alt f1 enter
nope didn't work
Wes
Wes
try alt F4?
Alt + F then X
@Gordon you ever created a custom language plugin?
Wes
Wes
19:45
ah good to know @Gordon i think i use like 1% of phpstorm's features :B
@StefanHövelmanns what's that? for phpstorm?
@StefanHövelmanns in phpstorm? no. have you?
@wes yes, and no i heavent, but i'm writing a template engine at the moment and need custom highlightning etc
i guess i'm just to lazy to walk me trough java
Wes
Wes
would be cool to know how that is done :B
the thing is i would need to have something custom in thre
since the syntax depends on what language container is loaded...
ugh..
Anonymous
As of tomorrow, I'm 20 and I don't like it... I don't want to be an adult
19:51
sweet... 20
@JayIsTooCommon It's ok. They don't check the age of Pokemon Go players
@JayIsTooCommon 20 jesus. @Danack is like 3 times your age
if anyone want to check it out: github.com/hvlmnns/Underware
far from production ready tho
Errr sorry the phoenix formerly knows as @Danack
19:55
@JayIsTooCommon it's a common trend. A lot of people, who describe themselves as "progressive", seem to be afraid of becoming adults.
:P
!!urban progressive
[ [Progressive](http://progressive.urbanup.com/7292193) ] A term that former liberals co-opted when they discovered that their delusional beliefs didn't fit any recognized definition of the word liberal.

These fools are frequently self-loathing, unsuccessful losers who can only feel better by projecting their failures onto their opponents.

A "Progressive" is identified by the following behaviors/beliefs:

- Knows what is best for everybody else - Claims to be well-informed even though they get their news/talking points from the Daily KOS and/or MSNBC
Downvoted it because @Jeeves couldn't parse it
Hmmm, I might be mildly progressive
19:58
@AnmolRaghuvanshiVersion2.0 I love you too :-)
Anonymous
Self-loathing , unsuccessful loser.. I'll take that :D
Anonymous
@Gordon so if I still play with my Lego, it's ok - right?
Anonymous
@PeeHaa 3x more cooler as well, tbf
Anonymous
that's a lie actually.. I was never into Lego...
@Gordon probably because of the "Knows what is best for everybody else" point :D
20:02
@kelunik stackoverflow.com/documentation/proposed/changes/… someone else has implemented your example
@JayIsTooCommon You weren't. I still like lego
Anonymous
@Machavity I haven't stooped to that level yet ;)
@AnmolRaghuvanshiVersion2.0 implemented approved.
Anonymous
@PeeHaa :P
@JayIsTooCommon a lot of developers play with lego. our first prototype was a lego prototype. and @Jimbo will soon work in an office where they have an entire room full of lego
20:05
@kelunik sorry misreaded
I always buy lego for my niece and nephew, but I buy it mostly for myself so I can build something :P
@PeeHaa Just read from instead of for ...
@PeeHaa we recently bought a box of duplo for the son. I play more with it than him
@kelunik :P
or rather… I build more than him. he is good at disassembling though
20:08
@Gordon Holy shit. I just found a use for kids!
@Gordon hehehe
@Gordon You He really needs a new laptop. For educational purposes! Yeah!
I am so much waiting for the moment I can actually start buying technical lego for "them"
Then shit gets real
Anonymous
@Gordon serious about Jimbo?? That sounds pretty cool
@Machavity oh, he already writes a lot of perl on my notebook. that actually allow me to do work again
20:12
Why do you want to remove it?
@JayIsTooCommon there it is
it's worthless, someone made it just to repwhore
RIP productivity
Anonymous
Wtf xD that is awesome haha
Anonymous
@tereško I haven't mentioned this yet, but I fucking hate this whole thing.
20:14
oh, I completely agree
found it
you can delete topics, if you click on "edit title"
lolwat
yeah, the UI is awesome, much intuitivinizing
oh wow that pop up to bottom and animate thingy is pretty annoying
the whole thing is shit, and I suspect they only did UX testing on 4K
Good to know I can just keep ignoring it :)
20:18
@tereško hahahaha, totally. It's so unusable on full hd
I have 3440x1440, and it still is unusable
13
score
6
6 examples
11 contributors
> The following code does the exact same thing as the above code, but with no method chaining:
NO, IT FUCKING DOES NOT
@tereško no? (except for the echoes)
that method chaining example is very bad. I already started a rewrite that uses a simple pojo instead of that horrible arithmetics class… but my browser keeps freezing and its not fun to edit on full hd
@tereško Try 1800 px in height.
20:23
also, the whole thing doesnt mention when its appropriate to use and there is no mention of CQS either
i thought only my browser freezes..
@AnmolRaghuvanshiVersion2.0 it freezes regularly when I try to edit the docs. I always get warning about scripts running amok
Anonymous
I think I'm gonna go with pooHaa and just ignore it from now.. It's a losing battle
¯\_(ツ)_/¯
!!should I do some nntp stuff or tweak templates?
You should do some nntp stuff.
user924016
20:26
so.. I kinda didnt partition my setup right when I installed my laptop long ago.. and now I am wondering if I can take the partition I am on and like.. chip some gb's of it into a new partition (lsnap 10GB from /sda2 ..)
@RonniSkansing yes
user924016
YES!
user924016
thanks god, I will continue on the task then
user924016
my usb's sucked with kali(+persistence) with lag on write/read
user924016
20:27
so I knew I had to get it on the ssd
@RonniSkansing Not sure if fdisk also can do it, but I think I have used gparted (or something like that) in the past
@PeeHaa fdisk can do it but is more complicated iirc
i have the same issue with my boot partition
i have to delete unused kernels regularly because ubuntu laments about having no space to install updates
i think I did that today
user924016
=) you think? hehe
Yes gparted looks indeed like that thing I used
user924016
I am gonna google some tut on it
20:29
Well yes. because I don't want to be the one who screwed upi your drive :P
user924016
before I smash my install to bits
user924016
=)
>
CAUTION: Editing partitions has the potential to cause LOSS of DATA.
You are advised to BACKUP your DATA before using gparted.
user924016
yay
user924016
well ssh keys are backed up
user924016
20:29
so I guess all is cool
It should just work though, but dicking around with your dics always warrants that warning
hehe dics...
user924016
=)
Anonymous
There's an R11 hangouts?
You are looking at it? :)
Anonymous
Yeah that was a stupid thing to say to be fair.. I was just reading up and it was mentioned.. Had visions of saucy video calls going on without me :C
20:39
:)
user924016
There was some r11 hangouts at some point
user924016
it was mainly people wanting to look at @rdlowrey
but what if i dont want the array check to occur on an input with a certain name
Anonymous
@RonniSkansing lol
Wes
Wes
20:45
this documentation thing is so unnecessary for php
user924016
what do you mean?
ok so what i mean is
when the form is submitted, the input value is checked to see if it is in an array
Anonymous
It's stupid, there should be an exception for PHP, it does need it at all
Wes
Wes
php.net is pretty good already
for some input fields, i don't want this to happen (to be checked)
user924016
20:47
well gparted usb ready.. lets see how this goes..
user924016
@PeeHaa I am blaming you..
fingers crossed :P
user924016
=)
Anonymous
Php.net is spot on, and regulated by pro's. This is just rep whores regulating rep whores
@FlorianMargaine tcpipguide is actually really nice yes
Wes
Wes
20:49
also for html, css, js to be honest. mdn is a good resource already, for instance
Anonymous
Yep :/
user924016
well that didnt take long
Wes
Wes
what is ssleay32.dll?
user924016
success 10GB released
@Wes openssl lib for windows
iirc
@RonniSkansing \o/
Wes
Wes
20:55
the hell lol? it didn't compile openssl for whatever reason, but still tries to load it? :P lol
@Wes it's the exact opposite - PHP really needs something like this, but it is being fucked up by repwhores and dunning-kruger victims
That depends on what you think docs is / should be
Either way it's too late for any steering when the gates opened so
Wes
Wes
needs how? i think i know what you mean, but that would be classified as "subjective" for many people. right now it can only be redundant with php.net
@PeeHaa oh, steering is not a problem. This chat room can easily perform a complete take-over, because approving anything takes 2-5 votes

« first day (2105 days earlier)      last day (3069 days later) »