« first day (2161 days earlier)      last day (2790 days later) » 

12:00 AM
lol, I've just lost 1k rep (doc rep recalc)
(Note that it does not match)
 
@bwoebi awesome
I'll try to understand it tomorrow ^^
 
hehe
 
Dmitry's reply on internals is making me want to try implementing packed strings again
or rather, updating the existing implementation, but it's the same amount of effort
the first thing you have to do is get rid of every use of ->val and ->len
 
@bwoebi Just tried it ... I think I found a bug
 
@NikiC which case?
 
12:06 AM
@bwoebi 110101 + 1010011 = 1001000
That matches, even though it shouldn't (there's a zero missing)
@Andrea I don't think implementing it in that way is a good idea, due to the issue with the pointer semantics
 
- 110 + 1010 = 1000
… Indeed… let me look…
Forgot to check for carry from left operand there
 
@bwoebi You need to test this stochasically
 
just checking for the third digit of right op to be 0…
 
or really, just systematically, going through all 8-bit numbers shouldn't take too long :)
nite
 
12:21 AM
@NikiC That's what I'm going to try…
 
o/
 
Ekn
\o
 
Wow, has officially surpassed and [In number of questions tagged on Stack Overflow. Not in quality or anything that counts]
 
o/
I can't chat with Jarvis and it has 54 reps..?
 
I'm the only person on Stack Overflow to ever ask a question tagged . I deserve a gold badge just for that.
 
12:55 AM
@Sherif :D
 
Then again... I should also be hung for using ncurses.
 
My rep has been nuked :D
I finally feel clean
 
Ekn
I feel the same
 
5000 -> 600 lol
@Ekn How much did you have?
 
Ekn
I got hundreds of rep just because I added "open up" doclink to "Using Console" js topic ... I'm glad they did this
 
12:58 AM
What we lost rep?
 
Meh, mine looks the same.
 
@Fabor Well, you didn't use Documentation Beta then :P
 
Nope
 
12:59 AM
493 rep?
I thought you have way more
 
He spent all his rep paying for my flight to China.
 
@Sherif Ahh.. Oh well
 
@Fabor Speaking of which, I still haven't gotten that ticket by the way!
 
Now why can't Jarvis access chat writing privilege :c
 
@Sherif heh.
 
1:01 AM
@Jarvis Why you suck so much?
 
He has 54 rep and can't write
 
Yeah I don't really bother with rep. Questions I could answer don't often deserve them and ones that do deserve answers I don't know.
 
@Slayther Wait isn't Jarvis the bot?
 
@Sherif Yeah, he is
 
Ekn
@Slayther about ~ 1.1k something I think, then it was almost 1.5k cause of docs
 
1:03 AM
@Ekn Oh, not that bad of a loss
I lost 4400 :D
 
@Fabor I know how to count to elebenty one and twelve.
So...
 
I wonder who lost the most rep
 
Nobody lost anything. SO Documentation sucks ass. It should burn to the ground.
worst idea ever
 
That is true
Just being curious on how many people will dig up graves for their lost ones
RepOverflow
 
RepOverflow. That sounds like the laravel site someone's going to build just to bitch about how they lost all their rep on SO.
:p
 
Ekn
1:06 AM
What I hate most is people who answer in 1 sentence and get ~35 (min) rep with that, and that stays just as a single sentence, not being descriptive at all. Compared to that docs are, em, alright.
 
@Sherif :P
@Ekn Yeah, and with docs, you could get thousands with just grammar or minor formatting fixes.
 
@Slayther Have you ever thought that might have been the point?
 
@Sherif Grammar and formatting?
 
No, creating illusive value to the person contributing.
 
Ah, well, somewhat
 
Ekn
1:09 AM
Right
 
But then again
What would be the point of that
If you only fix non-programming problems basically
To get to them
Which most surely did
 
One of the very first things Joel ever said to me about SO was "I couldn't care less if this guy gets an answer or not. The only reason we make a big spectacle out of giving people rep and badges is to get people coming back and asking more questions."
 
@Sherif Yeah, I guess SO needs visitors no matter what
 
So all this fighting over rep just means you fell into the trap.
Granted, it was a very clever trap.
 
now I feel trolled…
 
1:11 AM
Wait a second
I get it now
 
regex101 and preg_match returning different results
 
Low-rep users get high rep privileges for small amount of time
And they feel powerful
And they lose it, and want to gain it back
 
Ekn
@bwoebi um, how exactly?
 
@Ekn It says it's matched in php …
but not in regex101
 
Ekn
huh
 
1:15 AM
People do strange things for internet points.
 
True. I chocked on water for reddit karma. Worth it.
 
@Ekn no, I'm just dumb
 
Ekn
:-P you're not
 
@Fabor Yeah, humans are like that. Do everything to feel recognized or powerful.
 
1:17 AM
/me checks number of likes on latest instagram photo
 
Recognition is a significant motivator in the human psyche.
 
Well, it lead us where we stand now
For better or worse
Shit, I forgot Jarvis's email
 
Hello, world!
 
:D
 
\o
 
1:22 AM
o/
 
Ekn
\o
why do you guys use another account?
 
Bot
 
Ekn
uh, you don't need one?
at least to test it
 
@Ekn because it requires SE OpenId auth
 
But in the long run, I do
 
1:23 AM
regex101.com/r/yD1kL7/17 @NikiC verified with all types of random inputs up to 7 digits
 
@Ekn @PeeHaa made me
 
@Fabor What is your alt?
 
"NotJeeves"
 
Ah ok :P
 
@NikiC (with random I really mean a three times nested for loop)
 
1:26 AM
@bwoebi That's pretty amazing
 
It's … just PCRE.
 
Ekn
I was saying the same to myself (primarily because of comments ^^)
 
@bwoebi Yeah and we humans are just cells
 
Now… someone who's not me please optimize that, lol
 
:D
Well, I gtg now. Good night pps.
 
Ekn
1:28 AM
> 24761 steps
 
nn
 
@Ekn yeah, a good thousand steps per 4 digit additions
 
Ekn
that regex debugger is quite useful
ooh, yeah I see
 
@Ekn the most expensive part is all the backtracking (i.e. \d*(?<g>\d\k<g>))
 
user4710450
Hi all dear PHP developers
 
user4710450
1:33 AM
Hope you doing all well :D
 
user4710450
I have a question :
 
user4710450
Is it possible to right a .php file with which I can send emails with a SMTP server?
 
@Ekn the actual verifying logic once the groups (i.e. parts to the right of current offset) are collected , the actual logic is relatively small.
 
user4710450
Something like this : mail.php?title=test&body=Hi+this+is+a+email ?
 
user4710450
And I want this to be available for AJAX requests
 
1:34 AM
@Ehsan it is possible
 
user4710450
@Saitama Can you give me some clues, I'm newcomer to PHP :|
 
look at swiftmailer ot phpmailer
 
user4710450
Thanks
 
Ekn
@bwoebi it does seem like that indeed, though it must be quite hard(er than a shorter, a bit more trivial example) to debug and optimize such an example
 
user4710450
What is composer.json?
 
1:37 AM
@Ekn debugging is not the hardest part … fixing was :-D
 
Regexper makes it look purty too.
 
user4710450
I don't want to create a PHP application
 
user4710450
I just want to create that mail.php
 
user4710450
and then call it from my Rails website
 
1:39 AM
@Fabor It doesn't like PCRE specific constructs though
 
Ekn
^^
 
user4710450
Any ideas on how to do this!?
 
well, you can try your luck with mail()
 
user4710450
Is it a function in PHP?
 
yep
 
1:42 AM
@Saitama nooooo
 
"luck"
 
user4710450
Hi @littlepootis, nice to see you here
 
Hi :P
 
@Fabor please find me something supporting (?(groupname)) and (?(DEFINE)) constructs …
 
mail() sucks though
 
user4710450
1:43 AM
Can you please put a sample code?
 
Don't use mail()
 
@bwoebi Don't look at me, regex is just hieroglyphics to me.
 
user4710450
I almost know nothing about PHP :|
 
@Fabor I mean for visualizing it
 
You should really use PHPMailer or SwiftMailer
 
user4710450
1:44 AM
let me try my luck with mail() and if it didn't work I will turn to PHPMailer
 
Ekn
eih, I don't think it gets any easier than regex101
 
seems legit
 
user4710450
It's not working >:-(
 
@Ehsan Don't try mail().
 
I told ya
 
user4710450
1:49 AM
What the hell they designed it for?
 
Because PHP
 
         ^
phew just in the nick of time
 
2:03 AM
> This role will spend significant time working in a PHP4 codebase. Experience with on-premise PHP 4 style applications is strongly preferred.
Pretty sure PHP 4 came out before @Saitama was born
 
I doubt it
I was born 6 months after PHP 3 :3
 
user4710450
Invalid Domain, please check your input. .10
 
user4710450
What does this error means?
 
user4710450
I'm trying to create a Sub Domain in my Cpanel host
 
user4710450
Is this code valid?
 
2:17 AM
no
 
user4710450
What's the problem?
 
user4710450
I have put it in the root of PHP Mailer
 
user4710450
@littlepootis,could you please help me?
 
php?> to ?>
 
user4710450
Oh
 
2:24 AM
actually, the new preferred way is to just leave out closing tags
 
you don't need them. and it prevent to make such an error, as well as undesired white space after your closing tags, which could lead to more confusion about headers and stuff
@Fabor tell me this is an archive of a job offer. right?
 
12 sept :P
 
there are actually still web hosts that run php4? the world is truly a fascinating place...
 
user4710450
Guys
 
user4710450
2:35 AM
Is it possible to deploy this mail.php to heroku?
 
> Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
well, if that is anywhere near true, deploying php should be possible.
 
Wes
@Ehsan did you just post your google username and password in a public chat?
 
user4710450
I'm just going to change it :(
 
lol
quick!
go fetch the mails!
 
Wes
vOv
also mornings
 
2:40 AM
o/
... :(
 
Ekn
\o~
 
user4710450
:P
 
Wes
user image
3
 
2:52 AM
@Wes :))) ... what's that?
 
Wes
it's the macarena
 
ah :-)
 
Ekn
heh
fluck. I had forgotten how bad hotel wifi's are around here. There's like a default 7 seconds lag on everything.
 
@Ekn you need to wait for 4 AM, when everyone stopped watching pr0n =_=
currently packet loss of 75% here
 
@Ocramius only 75%? you're lucky… recently I had like 95% loss…
 
3:02 AM
Well, it's a fairly ok-ish hotel
 
Ekn
@Ocramius hah, well, here people go out at 2 AM, so that wouldn't work either, lol
 
Sometimes data feels faster :(
What a job description :P
 
Paste it here.
 
> Small PHP fixes required for my website
That's it. $50
> Need a front end web developer to build database-backed website
 
@Fabor reading the job description with this wifi took too long - new retainer needed
 
3:10 AM
@Ocramius lol
> I'm looking for a programmer to hook my mafia game script up to my web server. Apply if you can do this in an hour. Thanks.
 
good morning
 
user4710450
Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
 
user4710450
I'm getting this error
 
user4710450
OH
 
user4710450
I guess it's because I changed the password
 
user4710450
3:25 AM
:)
 
Wes
eeeeeeeeeeee macarena
 
not sure where that does exist
happy to see at least another one
 
user4710450
I'm getting that error again
 
user4710450
I know all my google account credentials are right
 
3:29 AM
got a question: is there a way to know what are the parameter a function require based on the function name?
 
user4710450
 It can also be caused by not having the openssl extension loaded (See encryption notes below).
 
@happy no and yes
 
say there is
function myFunction($input){echo $input;}
If I know the function is named 'myFunction' is there a native php way to say the parameter is $input?
 
user4710450
How can I install openssl on my host?
 
3:30 AM
!!? How can I install openssl on my host
 
user4710450
This is what the PHPMailer is saying
 
user4710450
Is it for me!?
 
Wes
no
 
> I am looking a Cakephp 2.x programmer to clone spotify.com ($900)
6
 
3:32 AM
no
@Fabor Damn. CakePHP 2.x is ooooooooooooold.
 
@Fabor mdr -> Mort De Rire (a big lol)
 
Wes
@littlepootis i'd say thats not the major problem in that
 
Well, yeah.
 
Wes
still looking for jobs @Fabor? :B
 
@Ehsan have you tried to activate the debug switch in phpmailer?
 
user4710450
3:34 AM
No. I have no idea on how to do that
 
@Ehsan what version of phpmailer are you using?
 
@Wes Yeah. Some work would be nice to nullify costs. Ideally remote contract but needs must :P. I'm not going made looking though. Only applied for one freelance project
 
user4710450
The latest from Github
 
Turns out Jeeves development doesn't pay well.
9
 
user4710450
8
Q: SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed

1088Am trying to send mail to a gmail address but it keeps on getting this error "SMTP -> ERROR: Failed to connect to server: Connection timed out (110)SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed." What could be the problem? require 'class.phpmailer.php'; ...

 
3:36 AM
remote part-time *
 
Wes
lol
 
@Ehsan https://github.com/PHPMailer/PHPMailer

add this after initiate the thing;
$mail->SMTPDebug = 3;
 
user4710450
I have put that
 
user4710450
Actualy the example
 
user4710450
 
user4710450
3:37 AM
Server logs
 
@happy and continuing laughter in grave… I'm sure :-P
 
Wes
mornin bob
 
After recalc, almost 50% of rep gained by all users from Docs was lost.
 
@Ehsan must be other log because a code 200 look fine to me
 
user4710450
 
user4710450
3:40 AM
This is the debug result
 
user4710450
The problem was about $mail->isSMTP()
 
user4710450
I commented it out
 
@Ehsan are you able to connect directly to your gmail account?
 
user4710450
Ya
 
because the latest log says 'https://support.google.com/mail/?p=BadCredentials '
have you changed you app key?
 
user4710450
3:42 AM
What is app key!?
 
Wes
is docs still a thing
 
user4710450
OH it's sending
 
user4710450
Ya the problem was password
 
user4710450
and $mail->isSMTP()
 
i do not know if it apply to you but gmail can be configured to require a 2 level auth. When that is the case it is possible to generate a key to be used with a connector or a app
 
user4710450
3:44 AM
:)
 
user4710450
Guys the problem is solved :D
 
user4710450
I happily sent my first email
 
Wes
i don't often answer SO questions, but when i do, OP always disappears [meme.jpg]
 
@Wes moin
 
mornin
 
user4710450
3:50 AM
Thank you all
 
user4710450
I'm thinking about coming to PHP :)
 
;)
 
user4710450
Yet Rails does very fast
 
user4710450
PHP is more powerful
 
Wes
"rails is fast" has never been said before, except by fanboys
 
user4710450
3:52 AM
By fast
 
Rails is not fast. It's notoriously slow.
 
user4710450
I mean the development speed
 
Wes
ah.
 
user4710450
Scaffold
 
Of course, it's a framework.
 
user4710450
3:52 AM
It's what makes the development fast
 
Laravel, the most popular PHP framework, has that too!
hides
 
Wes
get him!
 
user4710450
I gtg
 
user4710450
Have a nice day :)
 
Ekn
nah, just wait, he'll come and ask an XY or "does anyone here use Larevil"
 
Wes
3:59 AM
:P
so larevil is a trap for noobs? clever
 
It's the McDonalds of PHP
Aug 19 '15 at 23:01, by Fabor
Depends on specific needs. Laravel fits a purpose like a fast-food fills your stomach. Is it quick and easy? Yes, is it sustainable long-term? No. Organically grow your own framework or source the best libs to sow a nice foundation to which your project will come to fruition.
 
Wes
please don't insult fast food
there now i'm hungry
 
I've just had dinner :-)
 
Wes
DIY secret alcohol box that your kids won't find twitter.com/TheGoogleFactz/status/775043517554970624
 
4:14 AM
@Fabor strangely, that message actually improved my respect for laravel. I do, sometimes when very drunk, like some McDonalds.
 
Wes
look how happy she is when she gets to get the bottle wine
 
@Fabor fast-food is too good for being compared to Laravel…
I mean … you can even survive with fast-food…
 
@Wes Ugh, why hide alcohol?
 
@FélixGagnon-Grenier heh. Larevil sucks for many reasons, sure. So does PHP though right? :)
 
@littlepootis so that you forget about it and don't get drunk.
 
4:17 AM
hmmm
 
@Fabor there are … varying degrees of suckiness.
 
Wes
@bwoebi i don't think that's how it works :B
 
@Wes no? … oh??
 
Wes
addicted people usually hide secret spares
i had always like a dozen smoke packs as spare at home, just in case the world ended and i couldn't buy more at the shop
:B it's how addicted people's mind work
 
@Wes that was next level, I don't think I ever thought of that :P
 
4:21 AM
I remember smelling Scottish Whiskey as a kid. It smelled worse than grape poop, so I put it backin.
 
Wes
next level? @FélixGagnon-Grenier
any smoker has at least a couple of spare packs at home
 
I … don't have multiple laptops… … so… I'm not addicted … right? :-D
 
@bwoebi really? glares intensifies
 
:-P
 
Wes
:B
@bwoebi what if it breaks? OMG GET ONE OR TWO SPARES NOW
 
4:23 AM
@Wes I'll resort to the desktop… obviously!
 
Wes
WHAT IF IT BREAKS THAT TOO
 
Then I'm fucked, but nvm!
 
Wes
:B
 
you don't have a tablet?
and even after that, you probably have a cellphone :D
 
what i do love is how internet access became more accessible
yesterday i was with my gf at a park and she freaks out because her cellphone was not getting internet for some reason and I litteraly just pull my arm in the air with my phone and got internet access. Free internet, provided by the city, in a park. This is even better. It's like watchdog dream
 
4:34 AM
@FélixGagnon-Grenier can't code efficiently there
 
Wes
wait, is pinterest still a thing
 
my eyes are figuratively falling off my head. nn
 
Wes
nn
 
4:49 AM
@FélixGagnon-Grenier literally would be funnier…
 
lol @Gordon
 
> PHP work as to be done. More info on demande
These job proposals are fantastic.
 
Wes
5:11 AM
@Fabor check codementor.io
 
Cheers @wes, I will check it out
 
Your Thursday song of the day is Killswitch Engage - My Curse.
 
Wes
@MadaraUchiha how bad is:
function(){
   var x = function(){ return rofl(); };
   var rofl = function(){ return 1; };
}
reference rofl before it's even declared
it's not actually a reference though, it just comes before in code
but at the evaluation time it will be referenced correctly
does that make you cringe? :B
 
5:58 AM
Good mornin
 
\o
 

« first day (2161 days earlier)      last day (2790 days later) »