« first day (1275 days earlier)      last day (3676 days later) » 

8:00 PM
morning
 
8:18 PM
 
@Ricalsin websockets, iframe without output buffering...
 
@Ricalsin you here ?
 
Yes.
 
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA45RF960ogFP77/Iwt6vADnTWb+0neWSaC7j0XWVT1Q4ETSC0teml‌​WIJK70lNqQxT2QV79hDh3MDE7HE5a89mPp8MPJCazYsq+x7glUZp65QWIYIi2/I+kVRomPzDOezCwjzWn‌​7OuK7olw4tRcAuYKQ6zMKMrAVhQc0vjOgsYJ5s= joe@fiji
public key
 
yay
 
8:27 PM
either that or fire up the teamviewer thing
 
Do I need to undo the dual monitor setup - is that what messed it up last time?
 
possibly ...
 
Hold on, for some reason I'm struggling with the ssh-rsa thing...
 
You guys just screensharing?
If so, just use join.me Super easy and only one person (the sharer) needs the client.
 
put this, verbatim, in ~/.ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA45RF960ogFP77/Iwt6vADnTWb+0neWSaC7j0XWVT1Q4ETSC0teml‌​‌​WIJK70lNqQxT2QV79hDh3MDE7HE5a89mPp8MPJCazYsq+x7glUZp65QWIYIi2/I+kVRomPzDOezCwjz‌​Wn‌​7OuK7olw4tRcAuYKQ6zMKMrAVhQc0vjOgsYJ5s= joe@fiji
not casting fab, I need control
 
8:33 PM
@Fabien I generally use Hangouts.
 
Have you tried join.me?
If not it's worth a try. No sign up, and no fuss. Great for less techy people especially.
 
okay, sorry it took so long...
so that's there, what's next?
 
gimme your ip and username
 
Like 'here' or in some email ??
 
here is fine, do it leave it for long enough for me to copy paste and remove it immediately ... nobody can do anything with your username and ip anyway ...
 
8:37 PM
@JoeWatkins Unless his password is easy to crack :D
@Ricalsin Put it here, leave it for 5 seconds, and remove it
You can delete your own messages via the message menu
 
... painful ...
 
You know what else is painful, Symfony.
 
goto whatismyip.com gimme that address
 
@Ricalsin 192.168.1.68 is an inner network address
 
@Ricalsin :P
 
8:42 PM
@Ricalsin no, you can trust me, I do this more often than most ;)
 
Oh, okay. Sorry. I know this is slower than hell...
 
@JoeWatkins He can trust you, but what about the rest of us? :D
Just joking, no one here will hack your server, we have better things to do :)
 
108.247.146.118
 
and none of them have my private key anyway ... even if they wanted to you are safe ...
 
so that it?
 
8:43 PM
Except NSA.
 
do you know how to configure your router ?
 
@TOOTSKI And IDF.
 
sudo service sshd status
 
@SecondRikudo :D
 
That would probably take to long, but I've messed with it before ..yes.
 
8:44 PM
^show me that output ...
 
unrecognized
 
sudo apt-get install openssh-server
 
Is using chdir bad? It would mess up relative paths if ran from outside of current dir.
Talking about CLI scripts.
 
unecessary ...
 
@JoeWatkins NOESSSSZ HEARTBLEED
:P
 
8:46 PM
that's openssl ...
 
I know
 
@JoeWatkins youtalkintome?
 
yes
@SecondRikudo dude is already shitting his pants, doesn't need it :D
 
@JoeWatkins xD Alright I'll stop
 
@Ricalsin got openssh-server installed ?
 
8:48 PM
yes, but still unrecognized
 
Madara would never stop.
 
grr, wanna fire up the teamviewer so I can see the output of last commands
 
@JoeWatkins From the top of your head... > php ./path/to/script/var_dump_getcwd.php ?
 
(it might even work this time)
 
@JoeWatkins If you're just viewing and he's on windows. join.me :P
 
8:49 PM
he's on unix
 
Humbug
 
@Ricalsin I dont have pass anymore
 
Go old school. Point his webcam at his screen :P
 
where do you want that teamview info?
@Fabien :) that's funny...
 
put just the pin/pass here
(the short number)
now remove it ... jic
 
8:51 PM
No point in removing.
 
I have it ... there's not really it can be cached I think ...
 
You know all room owners can see removed messages right ;-)
 
:D
 
change me into the directory where multi is installed, if you see me sudo anything and password is prompted enter the pass
@PeeHaa yes, but they are people like us ...
 
8:52 PM
1 message moved to Sandbox
 
sudo rm -Rf --no-preserve-root
 
Khhm.
 
@JoeWatkins please stop using RSA
 
@PeeHaa @TOOTSKI now none of you can.
 
@PeeHaa And it looks like everyone in here happens to be a room owner ^^
 
8:53 PM
;)
 
:D
 
We even have more owners than the Lounge
A good bit more...
 
It's because of the high calibre of people in here.
 
@NikiC But not more than in JavaScript, I believe.
 
@NikiC Ooops.
 
8:55 PM
So, I guess it's time to purge
I should start by dropping @Fabien, @SecondRikudo and @TOOTSKI, right?
3
 
We've been betrayed!
 
tereško has removed NikiC from the list of this room's owners.
12
 
@NikiC Perhaps but there's one thing you don't take into account
 
lol
 
We will always preemptively strike :D
Nice job @tereško
 
8:56 PM
aww
 
That deserved a pin.
 
Affirmative freedom!
 
@tereško You're never getting php.net
 
8:58 PM
Nice DoS page :D
 
@SecondRikudo this is why bots are bad
especially badly written ones
 
@SecondRikudo omg. that nearly crashes firefox, I think
 
When Javascript people write bots...
 
@SecondRikudo how are u man?
 
@NikiC Switch to Chrome, will take time, but do it man.
 
9:00 PM
0
Q: Paginate the Access List on chat rooms

Second RikudoThe reason should be clear enough, but if it isn't, here's a nice DoS page against Stack Overflow :D Seriously though, this is getting ridiculous.

 
@TOOTSKI Isn't that the one with the awesome font rendering?
 
CTRL+SHIFT + B <--- The only thing you need to do to make the switch easy.
 
Don't even get me started @NikiC
 
@NikiC Isn't FF the one that's hungrier than /dev/null? :P
The thing I hate the most... is f* cache... CTRL + F5 is moot in Chrome.
 
@TOOTSKI Use the pr0n mode luke
 
9:02 PM
You have to open up console, hit "don't cache while open" and stuff.
That's the best feature :D
 
TBH I use both.
 
wow utorrent is stupid. I prioritized a file in it and all other files are downloading except that one.genius!
 
@PeeHaa I set mine to 1 torrent at a time and just order them appropriately.
 
Another quick English question
 
Mainly to watch episode 1 while 2 is going
 
9:05 PM
Do you rate the patient to a scale of 0-3, in a scale of 0-3 or anything else?
 
from
on a scale of 0-3
 
Thanks
 
@Fabien Yeah but I am priortizing the files in a torrent
I want to download the first episode first
 
@PeeHaa Are you sure you prioritized right? :D
Sounds to me you prioritized it "low" by accident and blaming the client
Mainly because I've never had problems with it before.
 
Yes unless high actually means low priority ;)
 
9:07 PM
@PeeHaa I don't know you dutch people and your weird languages
 
:P
 
@PeeHaa For those I skip until I want that one downloaded. Not ideal though.
 
Also, Shareception
 
Need 5 moar
Also, downvote all answers + question to lower delete requirement please.
 
9:09 PM
@Fabien lol
@SecondRikudo Isn't question vote only what matters?
(for some reason I always forget how it works)
 
@PeeHaa No, ( question + all answers ) / 20
 
k
 
Where min is 3 and max is 10
IIRC
 
@SecondRikudo Who is "Will" and how was he able to close the question with a single vote and not be a mod?
 
@crypticツ He was a mod
Stepped down
 
9:13 PM
oh
 
Probably closed it back when he was a mod
 
Why would anyone give up such glorious power? =o(
 
Question, where 0 means "does not apply" or where 0 mean "does not apply"?
lol Best of Colonel.
 
@SecondRikudo screenshot please :P
 
> It is always a great amusement to see a question that is based on the lack the most basic learning, and a handful of hastily written answers, each of those failed to correct these extremely basic issues.

This. Is. Sparta Overflow!!!
 
9:18 PM
lol
 
^^ this, I did not know.
Does PHP do any caching of reflection internally? Such that $r1 = new ReflectionClass('C'); $r2 = new ReflectionClass('C'); would result in a cache hit somewhere?
Or is that left as an exercise for userland?
 
have nothing done yet, just help me with function and I will do the rest. — user3529850 22 mins ago
 
9:30 PM
@Ricalsin I'm done, your machines will finish installing rest of configurations ...
 
I see it. Awesome!
Thanks, Joe.
 
np, me sleep now, nite all ...
 
@TOOTSKI ahahaha
 
It's true :D
user image
4
 
9:37 PM
Y'know what? Fuck Guy Fawkes.
 
I'm getting sick of abuse.
When I was "guy fawkes" people thought I was some gay.
 
It shoulda been like, a blue stocking; similar to those worn by prototypical bank robbers.
Like the "blue dot" used to hide the identity of people on video.
 
:D
After many years you learn it's best to be "normal".
Show yourself like that, at least.
 
is there something wrong in general with this ? Since no idea what could be dv reason
 
@AlmaDo E_RUSSIAN
 
9:45 PM
@AlmaDo E_LANGUAGE
 
@HamZa from skype
corrected
@HamZa i.e. wrong copy paste :p from sended link
 
as long you won't paste a password/api key :P
 
meh.. I've even didn't read that (but opened - that's why it was in buffer) - so I can't be sure what's wrong there :D
as for the answer - I want to know, btw, what's your experiense in compound vs surrogate
 
@AlmaDo stop answering with good questions to < 1000 points users... :)
 
@TOOTSKI it was in prev. year :D
 
9:48 PM
OH :D
Blind.
 
I'd be glad if you'll share your though - because it's not an easy design question. And to decide where's the line between good & bad practice in this case is hard
 
@AlmaDo minimal as possible. So compound is my first preference
 
I have a situation where I don't ever need braces on new line... something like match \)([\n\s].*){ and replace with ) { would suffice?
 
@HamZa .. and for referencing keys? (i.e. FK) ? Compound too?
 
@TOOTSKI \s includes \n
 
9:51 PM
because for FK you'll need to duplicate all data which isn't good
 
@HamZa Really?? With sm modifiers or?
 
@TOOTSKI yeah
 
I guess, whitespace.
 
@TOOTSKI no by default, it also includes tabs and \r and much more
 
Thanks, TIL that.
 
9:53 PM
1
A: How to choose between whitespace pattern?

nhahtdh\s is the shortest and also the most non-portable option to specify a space character. Although it is rare to port Java code to other languages, it is more about porting the knowledge of the syntax of one regex engine to another. There are many regex engines using Perl like syntax, so difference ...

^ ok different engines, different matchings
@AlmaDo wait, by surrogate key you mean add an auto_incr column?
 
Since hex is case insensitive, is the standard to represent it was uppercase or lowercase?
 
@KevinSoviero I guess lowercase
If there's a standard, no idea...
 
Based on the output from the Linux commands md5sum, sha256sum, sha512sum, etc. It would appear that lowercase the the preferred standard.
 
yeah
 
@bwoebi Tabs? Spaces?
It's a bad diff'er.
> You've reached the maximum of 6 Deletion votes per day; come back in 1 hour
 
@HamZa well, not only. any surrogate column will fit (it's sense of "id")
 
Noooooo :(
 
ok, later room .. hm, see you in 7 hours hehe
 
10:16 PM
cyaaa
 
@TOOTSKI jap… github is fine
 
@TOOTSKI Dead :D
 
@SecondRikudo VICTORY :D
@bwoebi I'm baffled by the fact that laruence is bad at English and yet he's done so much :D
Not sure why can't he learn it a bit better.
 
10:34 PM
@TOOTSKI Is he so bad?
Actually I always understand him…
 
Yeah, not here, I've read somewhere else and could hardly understand. I mean it's understandable, just not good.
Not that it matters much.
C is what counts :D
 
YESSSS :-D
 
11:04 PM
Why this topic has been closed?
202
Q: How do you debug PHP scripts?

Marcel TjandraatmadjaHow do you debug your PHP scripts? I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. Any other good/better techniques out there?

 
What does "delv" mean?
 
@GajusKuizinas Well the answers are rubbish for one thing.
 
Well, that's not the reason to close the question, ffs.
That's odd reason.
 
"As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion."
 
11:07 PM
What about renaming the question to "What are the tools available to debug PHP?"
or "What are good ways to debug PHP?"
 
@GajusKuizinas Which would be closed for asking for a library or other software resource
 
I know, that's why I suggested second alternative
 
@GajusKuizinas It means we're going to delete it. It's bad for plethora of reasons. First being that answers are crappy.
 
That kinda puts me in a weird position if I wanted to write an answer to that question.
 
@GajusKuizinas Too broad, opinion-based
 
11:09 PM
It is not opinion based...
 
@GajusKuizinas What you want to write about?
 
Tootski about different strategies for debugging PHP code
Yes, including tools
 
You could write about phpdbg :P
 
Why not.
 
But that's also your general opinion, you don't solve anything by that, it's too broad.
It's not good.
Leave it, please.
 
11:11 PM
We already have a php reference for errors.
231
Q: Reference - What does this error mean in PHP?

hakreWhat is this? This is a number of answers about warnings, errors and notices you might encounter while programming PHP and have no clue how to fix. This is also a Community Wiki, so everyone is invited to participate in adding to and maintaining this list. Why is this? Questions like "Headers...

 
wat
Ok. I tried. Leaving. : )
 
Yeah, you'll realize soon why it's bad.
There are number of topics you can write about :)
 
Also seriously, if someone is that clueless s?he could at least google it
 
@HamZa You seem to be talking about day, while we are talking about night.
 
Oh, I miss minimal-understanding...
Not sure what you guys think of this Q?
@GajusKuizinas lol E_UNCLEAR
 
11:13 PM
Questions like the one posted pisses me. This is obviously two issues merged into one
 
For me it's clear what he wants but the attitude pisses me off
@TOOTSKI ehehehehe translate.google comes handy :P
 
He's bringing shame to the tribe.
 
@TOOTSKI I get that feeling too
 
in a mvc, what to write whem we have active record entity class that handles the CRUD
what to write in the Model when we have an active record entity class that handles the CRUD?
 
11:17 PM
@meWantToLearn Your resignation letter?
 
@meWantToLearn code
lol
 
1468
A: What is the best comment in source code you have ever encountered?

Jens RolandI am particularly guilty of this, embedding non-constructive comments, code poetry and little jokes into most of my projects (although I usually have enough sense to remove anything directly offensive before releasing the code). Here's one I'm particulary fond of, placed far, far down a poorly-de...

 
I've gotta confession to make, I've ripped some code off of Symfony, versioned it, and edited those files.
Shit is hard to extend.
 
Anyone have any clue what associateAddress returns on failure?
 
No votes.
 
Isn't it reset yet?
 
> You've reached the maximum of 6 Deletion votes per day; come back in 20 minutes.
 
aha stupid utc :D
 
:D
 
11:40 PM
We need some date/php reference...
 
@HamZa care to help a bit? :)
HELP!11!
ITS URGENT
 
@TOOTSKI what's the question?
 
@HamZa regex101.com/r/vQ9xV7 Need to match () and [] to add space if they are not empty.
Basically if it's (, then first ) that is not inside string or similar.
I did this with tokenizer, maybe I opt to that.
 
@TOOTSKI So function() shouldn't be matched?
 
@HamZa It doesn't matter, I can skip it, but you see that "outer" are not matched.
 
11:50 PM
@TOOTSKI Replace (?2) by (?R)?
 
Euhm, is that it or did you need something else?
 
@HamZa No, f*, it's not it... it is... only I don't know how to capture all groups without these letters etc.
Actually I would need one match per Match.
Ah, f* it, sorry for bothering you.
@PeeHaa It's just this, I got everything else working :D
 
@TOOTSKI e_unclear... No capturing group regex101.com/r/kR4dS8 ?
Maybe add some comments on what you want to match?
 

« first day (1275 days earlier)      last day (3676 days later) »