« first day (2197 days earlier)      last day (2742 days later) » 

Wes
12:01 AM
i never owned a normal car in fact. i love old crocks with ridiculously big turbos and rust everywhere
 
Wes
12:12 AM
the only thing it's blocking me actually is that the windows version costs twice the mac one
i hate that...
 
12:31 AM
any wordpress developer here ?
 
Wes
sorry, we don't do wordpress here
 
12:57 AM
goooooooooood morining
the remaining folks
 
hey guys what would cause a error to report as far as headers on a live server but not on a localhost php server?
on my localhost zend server with error reporting on it reports not issues but when i upload it it gives me headers issue
 
Wes
1:11 AM
!!canon wsod
!!google php white screen of death
!!fuggettabotit
@Case you probably need to enable all errors and have them displayed, check "php white screen of death" on stackoverflow
 
 
2 hours later…
hey Wes
I need some halp deciding on one thing
it's about that interval parsing thing again
so, this thing allows leading/trailing data
to separate leading data from interval, I just went with finding "in" back then
ie. foo in 2 days 3 hours bar
however I feel that "in" there should be up to the user, I think
so I should actually treat it as leading data, right?
or maybe since now it has ParserSettings passed, I should ask for it there
 
0
Q: while looping vs foreach looping

Pure Rhymer OrganizationIm trying to print it in excel but I dont get it why the foreach loop give me an Warning: Illegal string offset but in while loop it just run smoothly this is the while loop include 'db.php'; $sql = "SELECT * FROM customer"; $result = mysql_query($sql); $row = mysql_fetch_assoc($result); $excel...

Help please
 
2:59 AM
o/
 
\o
 
You ever play D&D Ekin?
 
haven't played in the last few years
but it was fun, I remember playing in a small group of friends
 
Looks like fun. Never played myself.
 
3:15 AM
 
mornus
 
Wes
@Ekin y u no pinged? anyway, i didn't understand the question :B
would this do a nice logo? or sucks?
 
just in case you had better things to do :P
logo of what exactly is that @Wes?
 
Wes
subset of DOM. basically just dom with all the crap taken out
back to your question?
 
3:32 AM
basically, given a string: foo in 2 days 3 hours bar the IntervalParser separates the leading data by "in" at the moment
however, I think it's ridiculous to do that, I mean normally "in" there is also leading data
 
Wes
i think "in x" is part of the actual pattern, not a separator
 
given the aim is to find the interval, and if the user wants to keep track of any leading/trailing data as well
I feel like "foo in " = leading, "2 days 3 hours" = interval, "bar" = trailing
 
Wes
so you are asking if it should be taken out or appear in the leading thing?
 
the latter BUT then how do I know from where to separate
so I thought maybe, at least I could ask for the user to define a leading separator
 
Wes
separate within the leading string you mean?
 
3:37 AM
separate the leading from the interval
imagine later I allowed full string representation
like : "foo in three days four minutes bar"
how the hell I'll know where the interval starts :P
the foo could be "ask this three times in a row" followed by (in) (three days four mins)
 
Wes
why do you need to do that?, i mean, can't it be an Array<string|Interval> ["foo in ", new Interval(...), " bar"]
 
hmm
well, if you check the array[0] here 3v4l.org/T5qBt
what I return is kinda similar, except that I just get rid of the "in"
at the moment... but I started to think "in" is kinda limiting
 
Wes
i wouldn't remove it, unless explicitly requested
 
that's also a valid point
maybe I should allow more stuff to be decided on ParserSettings
 
Wes
but it's not a task of your library i think
if i wanted to remove it i would remove it myself from the output array
 
3:45 AM
yes, true, but the leading separator is how I find the interval and the offset at the moment :|
since this is used on strings it is kinda complicated for me to find the interval start accurately without a leading separator, I think
this is just the case where a leading data is expected btw
in case of multiple intervals for example, one could define the separator symbol/word in the settings
or use default comma sep.
 
Wes
if you use that as a hint it's even more important to keep it, so that if one wants to reconstitute the string it doesn't get lost
 
that sounds right, yeah
maybe I should ask for the leading separator in the settings too so it's not just "in" that is allowed
I feel like I made it way too complex
 
Wes
i don't know... i have the feeling that "in" shouldn't even be used
 
that, yeah
but then it's not that easy to accurately find where the interval starts
 
Wes
this actually reminds me that i should've written a script to convert occurrences of dates in texts to the html <time> equivalent
 
3:53 AM
:-)
in my case time units are all strings
and in case of leading data, which can also have the same strings appearing, without a separator I am lost
 
Wes
"the same strings appearing"?
 
ie. "remind me I have 2 hours left in 4 hours"
without the "in" there I'd need to return both "2 hours" and "4 hours"
where the former is actually leading data
another one, " remind me to spend two hours at X then do Y for 3 hours in 1 day"
dunno, this is all like a word play, confusing :P
 
Wes
i'd have one thing converting
"remind me I have 2 hours left in 4 hours" to the array ["remind me I have ", new Interval(2 hours), " left in ", new Interval(4 hours)]
and another thing built over it that solves this kind of special cases, like, if string contains more than two matches, pick the one that comes after "in " and merge the rest.
because otherwise you are doing too many things in the same place. each step must do its job and make sure interpretation can happen in subsequent steps
doing it in one run looks unnecessarily complicated
 
yeah, that sounds like a better way now
 
Wes
sorry :B
are you doing this for jeeves?
 
4:03 AM
not really, I mean it started because I needed to normalize strings like 1hr, 2s, 3d to strtotime acceptable ones in Reminder plugin
but then I went to have a proper interval finder :D
but yeah, these bits are not for jeeves, more so the very first composer package I made is actually not that bad
even though no one will use it :P
 
Wes
i was so excited when i published my first thingy on packagist. nobody gave a fuck :B
 
heh, I had no expectations from the start :P
 
Wes
btw, i just noticed you are one of the 4 cool persons that starred it github.com/Netmosfera/Symbola/stargazers xD
i should probably tag a version or something
maybe people look only for stable code?
 
not sure if they do, but I say tag a version either way
btw, this is how strtotime work with above mentioned strings 3v4l.org/Lpv7P
literally doesn't get any abbreviation
 
Wes
i haven't used strtotime in ages
ah, i see
 
4:15 AM
:D is that a mix of Dome and Domato
what's the name btw?
 
Wes
domato
and, the logo is clueless
it's a dome, or an igloo, made out of a tomato
beautifully crazy :B
 
indeed :d
 
Wes
i am too much in love with rhinoceros 3d
i need to buy it
i thought i needed a renderer too (e.g. vray) but i found out now that the embedded one is not that bad
 
pricey though, but the interface looks pretty
 
Wes
the above pic is legit ,especially considered that i'll convert it to vector anyway
eh it's not cheap. i hate that costs twice the mac version
rhinoceros is great, i always used it for fun, it's the simplest program in the world and it's incredible the awesome stuff you can make in just few minutes
 
4:20 AM
:-) sounds great indeed
 
Wes
i wonder if "autodidact" classifies as student
:B
 
heh I wish it did... well, I always use a profs email for such stuff :P
 
Damn mosquito bites. If I was as popular with the ladies as I was with mosquitos I'd be set. Gah so many!
 
Wes
damn that gives me an idea :B
lol
 
:D
 
Wes
4:24 AM
rhinoceros is so simple but it's actually high quality software. chances are you own products (from shoes to cars) that were designed with rhino
even 2d drawing only is better than everything else i know
i'll buy it :B
 
I always wanted to learn autodesk/maya properly
that one looked really amazing
 
Wes
indeed
so many things to learn, too little time...
 
the site for the neo rhinoceros party of canada is now down. such linksy was not had :(
 
Wes
what is he saying
 
heh
The Rhinoceros Party (French: Parti Rhinocéros) was a registered political party in Canada from the 1960s to the 1990s. Operating within the tradition of political satire, the Rhinoceros Party's basic credo, their so-called primal promise, was "a promise to keep none of our promises". They then promised outlandishly impossible schemes designed to amuse and entertain the voting public. The Rhinos were started in 1963 by Jacques Ferron, "Éminence de la Grande Corne du parti Rhinocéros". In the 1970s, a group of artists joined the party and created a comedic political platform to contest the federal...
 
4:28 AM
Parti Rhinocéros
heh
 
Wes
imgur.com/a/Pjhev better the second one's angle, right?
 
<3
there was a rebirth a few years ago
 
Wes
you guys are weird
 
the father was general secretary of a official canadian political party for a few years
 
yeah 2nd I think is better
 
4:29 AM
@Ekin you mean.. you've heard of it?
 
ah sorry, it was for @Wes
 
:D
 
for a moment there...
hey it's that time where I get in here moderately drunk. expect me to say nonsensical things @Wes
also since we won that hockey game I'll be particularly exuberant
 
Wes
even more than your standards ? :D
 
4:31 AM
heh congratz
 
:)
hehe, yeah even more
 
/s/exuberant/belligerent
 
oh hai @Fabor
meh, so not belligerent
I'd belligere you in a minute
 
Wes
belligerent - why you change letters, you britsmen. it's be[l]ligerant[e] in italian, spanish, french, portuguese, latin
and probably other languages.
 
Hey Felix
Should drink beer out here, coupled with heat and dehydration you get drunk pretty fast.
 
4:35 AM
nice
 
Think I had like half a beer yesterday before it went to my head.
 
Wes
lol noob
 
haha
@Wes actually that was one of my usual unsuccessful try at humor
Aug 27 at 1:06, by Fabor
i''#'ll map yopu in a minute!
 
lol
 
Wes
4:37 AM
Aug 27 at 1:09, by Fabor
moar ckeba!b!
haha
 
Aug 27 at 1:04, by Fabor
jaaaaaro terskoetc
 
Wes
...etc
 
that's like, pretty mapped himself :P
 
4:39 AM
@FélixGagnon-Grenier lol. I wonder where I was that night
 
hahaha
yeah me too
seemed like a cool place
 
ah right, just before I left for this trip. I remember (sort-of) now.
 
I can't believe I didn't ennd up like that still actually
 
Someone make an extension to detect roughly how drunk someone is and disable any social website/chat rooms.
 
Wes
i.imgur.com/L86NBTu.png i.imgur.com/1JSyLUR.png . @PeeHaa what happened to this?
 
4:41 AM
@Fabor what, you hate fun that much?
 
@FélixGagnon-Grenier Cringe is more apt
 
:D
 
wes
 
you too @ron
 
Wes
4:46 AM
is ronni drunk too? :B
 
tho you could keep a bit more of suspense :P
 
@Wes you know all the issues with headers start error i had all day
 
Wes
yeah. did you solve it?
 
inb4 they were all related to a dumb mistake about ob_start
 
I'm very glad I forked that detecca userscript
 
4:47 AM
shit did I write that out loud?
 
=)
not drunk yet
 
Wes
:D \o
 
!!? detecca
 
but ill be high in 8 hours or so =)
 
Wes
lol
 
4:48 AM
"On a hiiiiiiigh way to helllll"
 
i delete all the files on the server
 
hahhahahaha
 
@wes and added a session start thats it and same error its on the host side lol there looking into it all day lost lol
 
Wes
4:50 AM
@Case ragequit?
 
lol
almost
 
but seriously, is there an ob_start() first line of ur topmost file @case?
 
yep
 
pfff I don't believe you
(also don't take me too seriously)
 
Warning: session_start(): Cannot send session cache limiter - headers already sent
Warning: session_start(): Cannot send session cookie - headers already sent by
but no code at all blank page lol
 
4:53 AM
blank page is content sent
one empty space before a php opening tag is content sent
` <php`
^ this sent content
 
there is none the support tech confirmed it was there side php7
 
@Ekin Well you still have to celebrate your move, so you could end up like I was. Fingers crossed.
 
@Case ok anyway. the problem about error messages is, they are not wrong
so if it says headers already sent, it means headers are already sent
 
it a common issue for beginners to get that error and not understand it
 
4:56 AM
@Fabor I kinda tried doing that yesterday with too much vodka and no sleep... ended up like a moron but nothing fun, made it even worse actually
 
has nothing to do with a beginner how long would it take you to figure out its your host when it works on a localserver
 
1 min?
 
Wes
30s?
 
@Ekin -_- no sleep is normal for you though. You went out with friends?
 
4:57 AM
@Fabor err, no, unless you count Ace
 
hmmmmmm :)
 
so like, 1 lt shitty absolut bottle and about 30-35 hours
 
@Ekin While Ace is excellent company perhaps extend the conversation beyond "Hahruuuuuuuu" and "Woof" by having more people :P
 
@Case have you considered the possibility that.... headers are actually sent? and I don't mean empty content forcing header. I mean.. headers.
localhosts and shared hostings are usually very different, if your webhost knows what they're doing at least a little
ampps config vs someone selling you hosting should totally not be configured in the same way
my point is: works on localhost but not on server doesn't mean much about the cause, the same code can have different effects on two different servers, be it because php version, because php.ini, because whatever
 
@Fabor heh, you're right but most o'them are in Buenos Aires. so I talked with the guitar if not ace :P
 
5:05 AM
Fly to Cambodia, we'll do a send-off :P
 
actually two of my friends are there :D and another one just returned back from there
 
Oh? Where abouts in Cambodia?
 
Wes
weren't you in thailand @Fabor
 
Know if they enjoyed it?
@Wes Still am but by the time she flys I will be in Cambodia.
 
Wes
have a sit man and stay :B
actually i'm very much jelly
 
5:09 AM
Don't be, just get flying.
 
Wes
hey barney
 
hey @Wes
 
Wes
weren't you blond
 
@Fabor it seems they were in siem reap 11hrs ago
 
Wes
til blond and blonde are not synonyms
 
5:11 AM
Yeah, there's usually only two places people go, there and Phenom Penh
 
yeah, they have been sharing really nice photos all the week
iirc they recently crossed the border from Thailand
 
Yeah, it's about $30 to go to Cambodia visa wise, but Thailand for me is 30 days visaless
Money is weird over here.
 
also they were not allowed to enter the hard rock cafe in Phuket and they were live on facebook :D it was a funny moment
nobody including them understood the reason
 
I paid 44 baht (about £1) to get from Bangkok to Hua Hin via train (4.5 hours). Yet a 10 minute tuk-tuk can cost 200 baht.
 
huh, weird indeed
 
5:17 AM
Dinner is 40-80 baht (cheap). McDonalds 100-200 baht. Burger King 300 baht.
Beer 40-90 baht.
 
but still very cheap... comparing to here
 
Just basically really inconsistent pricing.
Yeah, it's all cheap.
 
moin
 
mornin'
 
5:19 AM
mornin Joe
 
Mornjoe
 
:)
 
would I be able to get some sorta invitation (for visa) from phpuk?
it seems like it'd make things easier
also if I can make it there, I'll stay for a week max. actually wanted to have a week more but timings...
 
What passports do you have?
 
Wes
5:27 AM
\o joe anmol
 
@Ekin I could write an invitation if you like, might be easier for you to outline it and I just throw in some embellishments.
 
a regular one? @Fabor someone just told me to try to get one from the organizers(??) which is why I asked actually
 
I meant from which country :P
@Ekin Ah, fair enough. Maybe Farkie then
 
ah well, Turkey, thought you knew that
I have an invitation from my cousin who lives there already though
but I am told getting that makes things easier, not sure how/why
 
Thought you may have a multi nationality as you're away so much
 
5:31 AM
ah, well here they don't do that apparently
 
Should be fine tbh
 
alright I'll see next week. I think it should be fine too
 
Oh wait PHPUK not NW.
Sounds fun :(
Someone sponsor me to come and then fly me back out to Asia :P
 
yeah, the one in Feb since I already had plans to go to Farnham by then
 
Come to india :p
 
5:36 AM
No thanks -_- been there, wasn't a fan.
 
May you didn't have good guide!
 
you probably could get someone to do an invitation for a visa
 
alright, I'll see if I really need it first by talking to someone at the embassy I think
 
Just tell them "John Smith said it was okay". There's a good chance it'll work.
 
:D
 
5:49 AM
Failing that tell them you know "Joe Watkins" and if they don't let you in, he'll release something evil in to the next version of PHP and bring down the internet.
 
haha
 
hi Friends
 
hehe
 
any one can know that how to change the port of plesk server to 80 ?
 
I'm reluctant to say so, because I might be wrong, but I think I remember this coming up before, with the visa thing ...
 
5:53 AM
Hello, Anyone have experience in vBulletin?
 
yes, don't ever use it
recently my passwords were leaked onto the interweb because of shitty vbulletin
 
ohh
 
it's got to be up there in the top 5 targets for haxors, and pricks ... using it is like walking around Baghdad with a picture of Mohammed on your t-shirt ... it makes you a very appealing target for a certain kind of individual ...
 
I have an issue using it, viewing numbers on forum is not the same for logged-in and guest users
 
nobody here is going to be able to help, you might want to try their support forums ... I assume you have access to those, and have a license to use it ...
afk, walking dogs
 
6:08 AM
morning
 
Wes
yo kelunik
 
user1804599
Is there a tool that takes a bunch of source files and dumps fully-qualified type hints and types in PHP doc comment to a file?
 
@rightfold Which format are you looking for?
 
6:52 AM
I am sending email with attachments to multiple recipients. Issue is this every recipients is different different attachments. So can anyone tell me why this is happening. I want to simply send email with attachments to multiple users.
 
'nin2
 
Hi Joe
 

« first day (2197 days earlier)      last day (2742 days later) »