« first day (2245 days earlier)      last day (2696 days later) » 

1:11 AM
is @bwoebi around?
I was wondering
 
Wes
actually @LeviMorrison please trash that message. before i get flagged :B
ty
 
!!changelog
 
[ Jeeves ] [ 1d43f1c ] Hit it in parallel - Commited by: ekinhbayar on 07.12.2016 23:41
 
Wes
thanks :P
 
1:14 AM
if ^^^ that was using \Amp\all instead, would that line throw in case none of the requests succeed
I think I did right using some() there, but in doubt of everything at this hour
ugh, I should sleep
 
1:34 AM
@Ekin What's up?
 
does this look okay to you?
20 mins ago, by Ekin
I think I did right using some() there, but in doubt of everything at this hour
 
@Ekin nah, you need all()
@Ekin at least your code seems to rely on both keys being present…
 
riight, okay thinking
yeah, in any case heads one has to succeed, and the branch is master by default if no other is given
so... right
thanks @bwoebi
 
@Ekin well, if one needs to succeed, yield the heads one and put a try/catch around the other?
// good night
 
thought the same first, but in any way I need the master/given branch too
thanks again, night
 
 
1 hour later…
Wes
2:53 AM
what a time to be alive
 
3:20 AM
morning
 
@Wes I just would not want my charger to look like that
 
3:37 AM
!!friday
 
@Linus Happy Prebeccaday!
 
Wes
@Alesana YYY????
 
@Wes Imagine trying to sleep at night!
 
Now, if the lights lit up in sequence to indicate charge...
5/10 lights == 50% charge, etc...
 
morning
 
3:52 AM
@Sara that would be a good idea!
 
Morning
 
I'm all about the awesome ideas
 
As far as making that charger better you sure know how to do it, I still just like my charger to be a simple cord :s
 
Wes
would be awesome if it indicated charge :B
 
4:14 AM
As long as they dont blink. Lawd I hate blinking charging lights
 
lolyeah, the light bulbs lighting up as the charge highers ;)
ffs
@Wes
no seriously
 
@Wes gross -_-
 
ugh, me eyes maate!
 
4:20 AM
gosh what an Are Souls
 
NOOOOOOOOOOOOOOOOOOOo
NOOOOOOOOOOOOOOOOOOOOOOOOOooOOOOOOOOOOOOooooooo
 
Wes
internet has a gif ready for everything
 
@Wes NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoo
 
lol plz
 
Wes
4:21 AM
:B
.
nothing to read here
 
@Wes meh. I'll admit it is a bit less angrying than the two last ones
 
I couldnt run the exporting mysql function . why it couldnt?
this is the code which i ran
SELECT
orderNumber, status, orderDate, requiredDate, comments
FROM
orders
WHERE
status = 'Cancelled'
INTO OUTFILE 'C:/tmp/cancelled_orders.csv'
FIELDS ENCLOSED BY '"'
TERMINATED BY ';'
ESCAPED BY '"'
LINES TERMINATED BY '\r\n';
Please help me any one
 
@Wes you seem to be in need of some serious chillout youtube.com/watch?v=ecuKOcPzAJ8
 
Wes
@FélixGagnon-Grenier i hate star wars
 
I thought we could be friend
;) even the music? the music is quite good, y'know
 
such beautiful...
amaze majesty
much pompous
 
 
1 hour later…
5:35 AM
I want to make whole tr clickable in datatable using jquery dtpotions or dtcolumns
 
Ok
 
here is my code
$scope.dtOptions = {
"ajax": {
"url": Routing.generate('pos_category_getservices', {'categoryId': serviceCatId}),
"type": "POST"
},
"sAjaxDataProp": 'services',
"processing": true,
"serverSide": true,
"paginationType": 'full_numbers',
"searchDelay": 1500,
"pageLength": 200,
"dom": 'lfrti',
"bLengthChange": false,
"bFilter": false,
"bInfo": false,
"bAutoWidth": false,
"columnDefs": [
{"width": "85%", "targets": 1},
{"width": "15%", "targets": 2},
{"className": "cr-searchresults-name", "targets": [1]},
 
6:00 AM
Suck it keyad
keypad*
 
6:21 AM
i want to display the error(Incorrect verification code.) into my html form..how can i all that error into my form... if ($_POST["vercode"] != $_SESSION["vercode"] OR $_SESSION["vercode"]=='') {
echo '<strong>Incorrect verification code.</strong>';
} else { ' success'}
@littlepootis please help me
 
Apparently upgrading from 5.6 to 7.1 breaks special character output when running in CLI. Can't seem to figure out why.
 
Wes
"special character" ?
 
i.e. echo chr(179); just shows a little box. Win 7 Ultimate SP1.
Using Ansicon running through CMD. No cmder or conemu.
 
Wes
chcp 65001
php.exe ...
 
Got that.
 
Wes
6:27 AM
and?
you also need an unicode font
 
@wes i want to display error into another place in the same file..how to display that error(Incorrect verification code)....if ($_POST["vercode"] != $_SESSION["vercode"] OR $_SESSION["vercode"]=='') {
echo '<strong>Incorrect verification code.</strong>';
} else { ' success'}
 
Wes
they say here lucida console is one
 
I'm aware. The only thing I changed was my PHP version and update some function calls (ereg_replace to preg_replace, etc).
Now it's all broken. There's also a really bad freeze if I attempt to close the console that was never there before.
 
Wes
wait, i'm on windows too.. let me try it
 
I was using chcp 437 (I think) and when it broke tried 65001 (with no change) before coming here.
 
6:32 AM
Is dropbox integration need charge to drop box???
@jhmckimm
 
Please don't do that.
 
what???
 
If someone knows, they will answer. There's no need to mention people who don't know.
 
oh sharikkum muthaloly
poda thayoli @jhmckimm you are nice
 
I'm quite confused and don't know why ZendGuard or ionCube loaders don't support PHP7 after a year it's been released. Has anyone have any idea why ?
They both support only PHP till 5.6
But none of those has support for PHP7 features
 
Wes
@jhmckimm i don't know if it worked with 5.6 but it doesn't work with 7.1
 
Yep, now the question is, why?
brb gonna trawl through changelogs.
 
Wes
tried 7.0?
downloading 5.6...
 
Am just doing that now.
Yeah, same on 7.0.14.
 
Wes
@MadaraUchiha i actually wrote 4 times the rfc, changed my mind 4 times
 
6:48 AM
@Gordon they say "Encoding Language: PHP 5.6" so would be able to write PHP 5.6 code only and run it on PHP7 but that is not what I expect
Thanks for links
Would it be hard to write an extension which allows simply for storing parsed AST nodes in an encoded file and loader which overloads default behaviour checking file type like magic numbers and load from encoded file ?
 
@Wes I find this strange because it's still recognizing chr(27) for ANSI escapes.
So really it's just a display issue, but the php version shouldn't affect that, right?
 
Wes
no idea
 
chcp 437 works on 7.0.14
Urr, no. That's 5.6.28
chcp 437 does work on 7.014 though, just not 7.1.0.
And the weird console freeze is back... Looks like I'm sticking with 7.0.14 then.
 
Wes
7:09 AM
@jhmckimm actually chr(179) doesn't work but i think it's just the font
other characters work
 
I use several, to draw boxes and progress bars and such. None of them work with chcp 437 or 65001 on 7.1.0.
 
Wes
must be 65001, that is utf-8
you shouldn't use others regardless...
 
65001 doesn't work.
Or I would be using it.
 
Wes
what's the difference between php.exe and php-cli.exe?
 
No idea, I'm not that in-depth with PHP. I imagine is has something to do with the CLI SAPI though.
 
7:19 AM
@abdul no
 
Wes
@jhmckimm it's strange because if i try to print stuff from phpunit output (that runs in cli) characters work, but they don't when i do php -f file.php
no actually it works, i forgot to set lucida console
@jhmckimm same 5.6. are you sure you set the correct code page and the font after that?
 
Yes.
 
7:42 AM
hello
everything ok here?
0
Q: php globe array, separate first file of directory from

user3799112I'm trying to get .php files in a directory to an array using globe(). Works fine. Than I would like to have the first file in one div and all the others in another div. <?php $files = glob("kalenderitems/*.php"); $num_files = count($files); $i = 0; ?> <div class="kal-item-<

 
"Let us continue this discussion in chat." - So that other people trying to learn from your question miss out? :)
 
throw new ┻━┻;
 
Morning all
@Jeeves morning
 
@PeeHaa Yes, I am. Are you?
 
o/
 
moin
 
8:20 AM
morgen @brzuchal @DaveRandom
 
Wes
\o
 
o/
 
gut moaning
 
hey @PeeHaa spot the dumbass mistake: github.com/Room-11/Jeeves/commit/…
 
o/
 
Wes
8:31 AM
@DaveRandom well done :P
 
@rdlowrey Can I get back to you in a couple of years when my GF is out of medschool? :D
I already work for an LMS company, seems too perfect. If only I was single
On a different note... do you have that salary range somewhere official? I have my yearly review next week ^^
 
@rdlowrey Let's talk in four years, when Trump is gone. :P
 
Morning 11
 
\o
 
Anonymous
8:48 AM
@PeeHaa Karl Pilkington
 
Anonymous
Moin o/
 
@DaveRandom lol
@JayIsTooCommon I said good
 
Anonymous
:O
 
@PeeHaa Brian Cox
Joy Division
 
@DaveRandom Meh I give you that one
Surely he is import
 
9:03 AM
No he's from Oldham
Also a substantial amount of science is done here - notably Turing and Rutherford (two people without whom you wouldn't be talking to me now) did some of their most important work here. Although neither of them were born here.
 
@DaveRandom They were working that hard to get out of that shithole probably
 
22 hours ago, by DaveRandom
Manchester is totally the best.
 
:P
 
monis! o/
 
Another fun puzzle today
 
9:17 AM
hey @pmmaga
 
rrcovering from a bad cold.. the temp goes below 0 and i can't handle it :X
 
Hmmmm... never been in any place below 10 and I nearly froze...
 
@DaveRandom is oldham something like dry aged ham?
 
Anonymous
!!wotd
 
stickybeak: a busybody; meddler.
 
9:36 AM
@Gordon No it's just been left out in the rain
 
ewwww
 
@Gordon Yeh it's like that burger that escapes after a bbq and you find it when you go to clean the garden next spring
 
@JayIsTooCommon Wanna hear a TCP joke?
 
Anonymous
:P
 
9:46 AM
moin
 
@Danack I'm still considering using your fork, but I may just as well need something even lighter, like a simple cli router
 
Use his spoon instead then
 
or his knife
 
Anonymous
They wouldn't be lighter
 
9:49 AM
I would argue that a spoon is simpler than a knife
 
I want to ask someone, "where hi is living right know", can I ask him like this? "Where are you from?"
 
"Where do you live right now?"
 
ah ok thx
 
Anonymous
oh god
 
"Where are you from?" is more ambiguous, "from" could include where they were born
 
Anonymous
9:50 AM
@Shafizadeh He's not joking
 
I wasn't I just missed a word :-P
 
@DaveRandom Yeah I was suspected about it, it refers to the birthday place kinda
@DaveRandom true, I meant was this :-)
 
any opinions on thephpleague/climate?
 
@Sean I was gonna tell you a UDP joke, but you might not get it.
Got it? Now it's a TCP joke.
 
@SergeyTelshevsky console library as usual, I see forward for some nice implementation of console or console application as an ext to PHP so there won't be dependency problems installing developer tools which has different requirements, as for now most of people use symfony/console in different version causing dependency collisions and hell
 
10:03 AM
Yeah, that's one more reason for me to not use symfony/console
 
Yes but, not using symfony/console doesn't mean your libraries don't use each can have some CLI with commands most of them uses symfony/console then sometimes it's impossible to use some library CLI in one project with single vendors set
 
for the first time in history, there is an article on phpclasses that is not total nonsense ... they actually got dmitry to review ... props to whoever made that decision ...
 
user7029249
which is correct way : or is it depends on something ?

1)SELECT * FROM order_details WHERE dorder_id = :dorder_id

2)SELECT * FROM order_details
 
@JoeWatkins I've read that, nice article
@abcd both are correct, but different queries
 
rainbow elephpant made it
 
user7029249
@brzuchal when i use 1st one its display blank, but when i use 2nd one its displaying results.....
 
@brzuchal yeah
 
Can I ask a lazy question @DaveRandom?
 
Anonymous
@abcd they both do different things, it depends on what you want.
 
Can multiple plugins be triggered in jeeves or does it abort when the first plugin gets triggered on a message?
 
10:08 AM
so we just moved to our new office building. there is some doors which have stop signs on them. I couldn't resist. I had to write Hammertime below one.
 
user7029249
Thanks @JayIsTooCommon @brzuchal
 
@abcd 2) query selects one record from order_details and 1) select all records from order_details, display blank may be is an error: memory limit or execution timeout
if 1) executes with success
you need to debug it
 
what's status of object type rfc ?
 
!!rfcs
@Jeeves ?
 
@PeeHaa Yes thanks.
 
10:14 AM
oh right. It was just slow
@Jeeves nevermind
 
@PeeHaa Yes, I'm OK. Are you OK?
@PeeHaa Are you sure you're ok???
 
oh lol
 
Anonymous
wtf ?
 
Yeah @Jeeves is a bit buggy after my last changes :P
 
@PeeHaa I asked you first.
 
10:16 AM
@Jeeves yes I am fine...
 
@PeeHaa Yes, but are you?
@PeeHaa Yes I am, are you?
 
^ :)
 
awwww..... he really cares about you! :)
 
Anonymous
wtf xD haha
 
Anonymous
!!changelog
 
10:23 AM
[ Jeeves ] [ 058ea4e ] Yield all() them promises - Commited by: ekinhbayar on 08.12.2016 03:07
 
Yeah @Jeeves I blame @Ekin too
 
@PeeHaa Yes. Are you serious?
 
Yes
 
Anonymous
oh cleverbot
 
Anonymous
@Jeeves Are you racist?
 
10:24 AM
@JayIsTooCommon YES I am ok!!!
 
hehehehe
 
Anonymous
my god he's alive
 
@PeeHaa you know, you could just have told us how much you feel uncared for.
 
I don't talk about my feels. I just cry like a man
 
but programming that into @Jeeves is kinda like getting a Real Doll.
 
10:25 AM
@Gordon Yes why.
 
lol
 
@Jeeves because!
 
@Gordon I'm ok, are you ok?
@Gordon How old are you?
 
Not sure why it does that im ok thing every time
 
Oh my. Now he cares for me, too. Not sure if good or bad.
 
10:26 AM
Nor do I understand why it replies twice
 
@Jeeves old enough to be your dad
 
@Gordon Yeah thank you. Are you ok?
@Gordon Yes I am okay.
 
@Jeeves Will debug you later today
 
@PeeHaa Yes why.
@PeeHaa I am ok. Are you ok?
 
:P
I suck
 
Anonymous
10:27 AM
this is hilarious
 
Anonymous
@Jeeves What are you ?
 
@JayIsTooCommon How old are you?
 
It should really be able to respond better than that
 
Anonymous
cleverbot does though, so is it just a shit API ?
 
@JayIsTooCommon Nope. Probably shit programming job on my end
 
hahahahah
yeap
 
Anonymous
XD
 
lol
 
Anonymous
pmsl
 
omfg
That's the second retarded thing I did in two days
Maybe I should just change profession
 
Anonymous
10:30 AM
become an erotic dancer
 
Turn my hobby into my full time occupation. I like it
 
Anonymous
lol
 
@JayIsTooCommon Doesn't explain the two responses though, so there is another thing I fucked up
 
Anonymous
@PeeHaa i still don't understand yield so I have no idea
 
ELI5 is that it gives back the control so other stuff can be done and eventually gives a result whenever it comes back
 
Anonymous
10:34 AM
so like... an async return?
 
yes
 
Anonymous
ah well, that's simpler than I thought
 
@PeeHaa You know Commentiquette?
 
@Fabor Eric?
 
Shrug Only discovered it yesterday
Guy makes funny videos about comments on the internet. Dumpert steal a lot of his videos, so wondered if you knew it.
 
10:36 AM
Yeah I know :)
 
hahahahha
 
@JoeWatkins I think it's time to start voting, as far as I understand everything from mailing list there are no significant objections
 
You know the discussion doesn't really start until voting opens :p
 
Day 8 complete! (Answer code / spoilers)
I enjoy splitting out my code like that, it makes moving from part 1 to part 2 incredibly easy.
 
10:50 AM
@Sean That's easy with minimal code as well. :P
 
True that.
 
@bwoebi @kelunik is this statement regarding "define() is notoriously slow" still valid?
http://php.net/apc_define_constants
 
@staabm Dunno, I guess not.
 
Get emails whenever a single IP runs into many site errors in a short period of time
 
@staabm not that slow, no.
 
Anonymous
11:02 AM
mornin boob
8
 
11:27 AM
depends how it's called right @bwoebi ?
 
@JoeWatkins hmmm?
@JayIsTooCommon the stars made me realize that it isn't a typo…
 
oh I thought define() was optimized away, looks like I remember wrong
 
Anonymous
@bwoebi :)
 
@JoeWatkins only defined()
 
ah
that's kinda odd
 
11:29 AM
why?
 
Wes
\o phpeeps
 
@JoeWatkins do you ever need define() in hot paths?
 
@Wes o/
 
you're going to call it with higher frequency than defined()
 
@JoeWatkins no!?
you may call defined() somewhere in a loop… but define()?
You can define things only once…
 
11:30 AM
I think so, you're likely to define more constants than any single request needs to check
 
@JoeWatkins you usually use const though
 
Anonymous
hoi wes
 
define() is for the rare weird dynamic case @JoeWatkins
 
yeah
I think if you measure the perf of const vs define, there will still be the kind of gap that would lead you to say that define() is very slow though ... they both got faster since that was written but it's not wrong whatever, there's still a big gap ...
 
compared to const, sure
 
11:33 AM
well what were they comparing it too when they wrote that ?
 
dunno? general cost?
 
yeah I just got there ...
 
@SergeyTelshevsky I would recommend trying it first before writing your own. It does 'just work' and the ability for parsing parameters is quite useful.
 
11:48 AM
@Danack can ve start voting on object types ?
 
user895378
Morning o/
 
Anonymous
@Jeeves test
 
@JayIsTooCommon Yeah thank you. Are you ok?
 
Anonymous
@rdlowrey o/
 
@PeeHaa I'm sure you will regardless
 
user895378
11:49 AM
I setup lots of filters in my email so now I only see the useful GitHub PR mails.
 
user895378
For the last year it's all been noise
 
Anonymous
@PeeHaa I don't think it was the cleverbot causing the double response, it looks impossible for that to be the case? i.e. It must be the message being processed twice before hand ? :S
 
@JayIsTooCommon Yes better look into another fuckup from my side
2 hours ago, by PeeHaa
Can multiple plugins be triggered in jeeves or does it abort when the first plugin gets triggered on a message?
I already did :P
 
@PeeHaa No all relevant plugins are executed always
e.g.
!!uptime @Jeeves You fight like a Dairy Farmer!
 
@DaveRandom I have been running for 12 hours, 6 minutes and 16 seconds, since 2016-12-07 23:46:17
@DaveRandom I have been running for 12 hours, 6 minutes and 23 seconds, since 2016-12-07 23:46:17
@DaveRandom How appropriate! You fight like a cow!
@DaveRandom I am fine.
 
Anonymous
11:53 AM
xD
 
Anonymous
oh dave, you'll love this
 
Anonymous

PeeHaa

1 hour ago, 5 minutes total – 37 messages, 4 users, 0 stars

Bookmarked 15 mins ago by JayIsTooCommon

 
However obviously there can only be 1 command executed per message
 
@DaveRandom poop
 
@PeeHaa why what do you want to do?
 
11:54 AM
Incoming
 
I'm sure we could have some kind of event.stopPropation()-type thing
But then we'd need some kind of priority ordering and a way to specify it
 
We have terminator which handles conversational messages. Yesterday I implemented cleverbot also in terminator. So first it tries to find a special cased response and falls back to cleverbot
However I don't want cleverbot it other rooms
xy ftw \o/
So I cannot disable the plugin in a room because I do want the hardcoded responses
 
So make another plugin...?
 
But I cannot split it up into a different plugin because it's based on whether it already matches
 
oic
 
11:57 AM
@DaveRandom I am typing. jesus
Stop pressuring meeee
 
Just add a command to enable/disable that element of it for a room
e.g. see !!dadgreet
 
Goddamnit dave
I was just typing whether that was an ok workaround for now :P
Now you can type :D
 
We already have so I say yes
also you need to learn to type faster
 
That only results in even worse sentences and borken words
 
Here is my javascript code :
 
11:59 AM
Here is mine: void(0)
 

« first day (2245 days earlier)      last day (2696 days later) »