« first day (2195 days earlier)      last day (2753 days later) » 

12:32 AM
anyone online.. desperate help needed
 
12:59 AM
yeah
what's up ?
 
THANKS for replying to my query
Okay I have one problem.. I am trying to solve this with different way
either way if its possible
 
im listening
 
so one is I have this kind a result

Array
(
[0] => Array
(
[University] => Array
(
[uni_id] => 1
[uni_name] => Baruch College
)

[Industry] => Array
(
[0] => Array
(
[ind_id] => 1
[ind_name] => Finance
[UniversityIndustry] => Array
(
[id] => 1
[uni_id] => 1
[ind_id] => 1
)

)

[1] => Array
(
[ind_id] => 2
[ind_name] => Accounting
[UniversityIndustry] => Array
(
[id] => 2
[uni_id] => 1
[ind_id] => 2
)

)

)

)
I want to know if its possible in php that If I get the array results of only which has uni_id = 1 2 3 4 7 8
like I pass various uni_id to it and it will give me only those results..
 
thinking
 
Actually I am stuck into this problem
0
A: mysql many to many relationship

ArunaYou cannot achieve this from a single query as it always returns the data in tabular format. You must have to convert your data set in the code according to the format that you need

okay
 
Wes
1:07 AM
morning
right?
 
no its night here
lol
 
Wes
same here
 
looks difficult to filter the results after the query is performed
Let me think about how to build this query properly
its morning here ;)
 
yeah I am looking a solution for this like from hours. No idea how can I get results like this
thanks btw for your time
 
Wes
breakfast with pizza leftovers. mm
best breakfast ever
 
1:11 AM
im hungry now
@hellosheikh so basically we should include another select in this query in order to get the industries
 
okay
 
(SELECT count('x') FROM clientDetails WHERE clientDetails.businessDetailsID = businessDetails.businessDetailsID) as totalclients
shit
i didnt mean to send this
 
haha okay
 
please ignore
 
I am waiting....
 
1:15 AM
lol
brain fart
 
what happened?
 
you can delete your messages, you know
 
hover over your message, click the arrow on the left, delete
 
maybe I dont have enough reputation
 
1:25 AM
you don't see an arrow on the most left of your message when you hover?
I don't think chat has a rep requirement for that
 
I see but i dont see delete options, only flag for moderator
 
maybe there's a time limit, try for a recent one just to see.
 
@hellosheikh Your problem is indeed hard, I will build your DB structure locally to make some test
recent works
 
:( yeah thanks for that... how long will it take btw? @Valentincognito
 
@hellosheikh hard to tell ^^
 
1:28 AM
@Valentincognito you can delete message in certain time like may be in one or two minutes after sending it
so now you can't
 
yep I got that
 
okay but keep in mind I am waiting for you
I am counting on you
 
keep in mind that solving your problem is not my main job ;)
3
 
yeah yeah i know
I understand
 
 
2 hours later…
3:04 AM
o/
 
\o
 
morning
 
Wes
\o
trololol or freudian slip? pbs.twimg.com/media/CvGScnOUIAAVhFt.jpg
 
o/
 
3:19 AM
:P
 
3:56 AM
'nin
 
moin Joe
w3schools is down \o/
5
 
o/
 
Wes
4:16 AM
hey joe
 
Wes
am i a bad person if i want __getStatic & co. ?
 
yes
 
Wes
ha i knew it
anyway joe, i'll work on dec64 sooner or later
it scares the hell out of me :B
i thought it was simpler but plainly it isn't
 
someone asked me about using that the other day
I made it as simple as possible for you, I think ...
 
Wes
4:21 AM
who?
 
you know the answer to that question
 
Wes
i do? :B
 
I can't remember
/* {{{ proto string dec64_multiply(string l, string r) */
PHP_FUNCTION(dec64_multiply)
{
	zend_string *l = NULL,
				*r = NULL;

	if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS", &l, &r) != SUCCESS) {
		return;
	}

	RETURN_STR(php_dec64_binary(dec64_multiply, l, r));
} /* }}} */
all binary functions will look like that, all unary ones will look like the unary one ...
then you just need to do boolean ones, I think there are a couple of those, but you have a lead to take ...
 
Wes
i think i just need a couple of days of tranquillity so that i can concentrate on it properly
 
yeah probably
 
Wes
4:25 AM
i want to do too many things, and i finish none
 
code is never finished :)
 
does anyone have a 32bit cpu ?
I don't think this is a bug in php, but in asan itself, but I don't have a 32bit cpu, except maybe in my watch, or an old calculator ... but not in a real computer ...
 
UPDATE addresses
SET    state = b1.id
FROM   addresses AS a1
       INNER JOIN states AS b1
               ON ( a1.state = b1.state_code )
WHERE  a1.state <> ''
getting an error
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM addresses as a1 INNER JOIN states AS b1 ON ( a1.state = b1.state_code ) ' at line 1
can anybody tell me why is that so?
 
@Exception yeah, that is because "You have an error in your SQL syntax"
 
@FélixGagnon-Grenier and what is that error?
 
there is a fine manual at mysql.com or something like that
you might be interested in the syntax for UPDATE
 
> Can you give me an examples or questions that might confuse PHP developers
 
4:54 AM
but in your case, that part with SET x FROM y is obviously at fault. you're welcome
@Ekin lol
 
:D
 
@Ekin actually, something about '3' !== 3 might confuse some newbies. I am starting to like this question
... yeah not sure what I have with pings tonight, sorry
 
heh, I've no issue with pings
 
I met a violist from san francisco and conversed with a bunch of pretty good musicians tonight. I think I am a bit high
:)
 
how nice :-)
 
5:00 AM
yes very much. it was the doctoral recital of a cellist friend. we played a tango composed especioally for him (solo cello and string ensemble)
nostalgia is hitting pretty high right now
 
^^
doctoral recital, cool
 
Are these two identical?
public function (Request $request) { ... }


public function () {
    $request = new Request;
}
 
douchebag ^ :p
I'm pretty sure you know how they're different @Shafizadeh
 
@FélixGagnon-Grenier thanks
 
5:03 AM
sure np
5/7 would be pedantic again
more seriously, happy you solved it
 
Wes
@Shafizadeh do you still want an answer or was @felix being a douche enough? :D
 
O:)
wow. yeah I've been pretty much a douche to two person back to back
well, I'm starting to like it.
... I guess I'll have to listen to some vangelis while playing civ5 then.
 
Wes
stop trying to be acute with me, i don't get any joke, you know that :B
and that sounds disgusting even if i don't get it :B
 
that's not a joke... this is a litteral description of what music I'll be listening to while playing a very specific video game :D
but point taken. I'll be as much acute as I can as often as possible :D
 
Wes
damn :B
 
5:29 AM
@Wes ha ha ... his answer was pretty much enough ;-)
 
Wes
variadics madness is escalating fast, especially in js
 
5:50 AM
I burned my thumb
it's all your fault (whomsoever happens to read this first)
 
Wes
i did.
sorry joe
 
@Wes apology accepted
 
Wes
:D
so guys, realistically thinking to finish this thing i'm making. time to pick up a name. it's a DOM library. Pick one: Domato, Dome, KingDom, Dommy, or suggest another one
Dombass :B
 
6:05 AM
^ :P
 
wmd - wes made a dom, weapons of mass dom ...
 
Wes
no @JoeWatkins i need a name that works with a .io hipster tld
:B
eg, domato.io
on an unrelated note, i just fixed the keyboard
 
Hi,i have a drupal website where any visitor need to signup by paying some amount to access some functionalities.Right now i am using paypal with default currency as USD dollar. nOW i need a payment gateway that can auto convert payment(with currency) based on vistor's country. So is there any payment module that can fulfill my requirement.
 
Wes
doesn't paypal have apis for that?
 
I need a payment gateway that support indian currency too but paypal doesno support INR currency and i dont think paypal has country based auto convert currency
 
Wes
6:19 AM
fixer.io how about this?
 
Does anybody know what's "bail" in this?
$this->validate($request, [
    'title' => 'bail|required|unique:posts|max:255',
    'body' => 'required',
]);
code above validates inputs of a form. for example "body" is the name of a textarea which should be filled (because it is required)
I just need to know what does "bail" ? what kind of filter it is?
 
io.fixer is currency convertor but ineed a payment gateway that has inbuilt functionlaity in it.
 
7:09 AM
morning
 
Hi everbody
 
Hi Guys , i was hoping to get some advice on this group. I have a problem on how do you check if the users you want to time out if the browsers doesnt have activity. If it has an activity then users can always login, if not he idles within 15mins automatically he logouts. Any ideas thoughts?
 
@FlorianMargaine Also my server getting date raped without consent :)
 
@JayIsTooCommon Yeah thought so :)
MOmring all / @Jimbo
 
7:28 AM
meurning!
 
@PeeHaa are you there
actually i need any native english person
is english your mother language
 
- phpunit/phpunit 5.6.1 requires ext-xml * -> the requested PHP extension xml is missing from your system. < Which flag do I have to enable? Or is that just a PHPUnit bug and they require the wrong thing?
 
@lewis4u My mother language is @Jimbo
 
heh
no really guys is there anyone with english as motherlanguage
i need a word for something
 
Stop asking / polling specific people and ask your question instead
 
7:34 AM
o/
 
I already have --with-xml which adds ext-libxml, but what's ext-xml?
 
o/
 
\o
 
@kelunik afaik libxml should indeed provide that
 
php -m | grep xml
libxml
xmlreader
 
Anonymous
7:35 AM
moins
 
moin jay
 
ok my question is: If you make this thing ... on a website and you get an offer for that ...
 
@kelunik And you also have dom installed I assume?
 
how is it called that ... what you have made
opposite of that ... is an offer
 
dom is there, yes.
 
7:37 AM
Sounds like you have everything it could possibly need :P
 
Anonymous
@lewis4u You're not making much sense
 
help me how to explain it better
 
Nobody can because it makes little sense
 
for what in general do you make an offer.....
there must be one word
an offer for????
 
Anonymous
It depends what you're offering for...
 
7:39 AM
I often make an offer for my gods
 
feature, change, code, implementation, fix
job, work, etc.
 
It has been added to PHPUnit 5.5, I can't believe nobody noticed.
 
huh, github just went down? or is it just me
everything else works
 
Anonymous
7:41 AM
Not for me
 
!!github
 
good: Everything operating normally as of 2016-10-04T06:27:30Z
 
weird.. thanks though
 
@Jeeves good elephant
 
7:43 AM
hmmm. Now I'm confused because surely I have been running tests
 
@Ekin mine github is dead also :(
 
@brzuchal Works fine for me.
Wait ... configure: WARNING: unrecognized options: --with-xml
 
@kelunik having ERR_CONNECTION_TIMED_OUT and few guys from PL also, so it's smth regional maybe
 
:(
 
7:50 AM
it's back ;)
 
aye, heh
 
I've found in php-src function which is never used I think github.com/php/php-src/…
there is no usage in code
 
@brzuchal It's used by exts afaik
 
@PeeHaa Nevermind, it's just --enable-xml.
 
it's used in ext/session 5.6 it seems
 
7:53 AM
@kelunik :P
 
morning
 
Hey null o/
 
But why is it --enable-libxml and not --with-libxml? Isn't it an external dependency like openssl?
 
hola peeHaa \o
 
@kelunik I asked it a while back. Don't remember what they said about it :(
 
7:55 AM
@PeeHaa Do you know a sane regex wrapper?
 
Nope
 
moin
 
@DaveRandom moin o/
 
Wes
\o
 
hey random
 
Anonymous
7:56 AM
jo chris
 
@kelunik i suspect that there is any sane regx wrapper
@DaveRandom morning
@Wes o/
 
@NullPoiиteя You are a word?
 
@PeeHaa am i what? sorry, i don't get it
 
Good moaning
 
@NullPoiиteя I think you are missing a word in your sentence
not?
 
Wes
7:58 AM
@NullPoiиteя yo
 
@salathe yo/
 
@PeeHaa come on! man i am no English person and my English is hardly comprehensible :D
 
:P
 
@PeeHaa but none of bundled, hmmmm, ok, I'm experimenting with symbol_table for namespaces etc. and have moved current symbol_table to variable_table and found out that function
 
@kelunik --with-libxml-dir= - multiple extensions depend on libxml (the C library) and they don't depend on ext/libxml directly, e.g. you can have ext/soap but not ext/libxml if you want
 
8:02 AM
@Wes i don't know what to replay to YO when in am averse to programming ;)
 
@NullPoiиteя "yo biatch" works for @Wes
 
i am so much relived @PeeHaa Thankyou :P :D
@Wes yo biatch
 
:D
 
oh no wait they all seems to require ext/libxml as well @kelunik, I got no idea why it's like that. Regardless, if you need to specify the source dir then --with-libxml-dir= is what you need
 
Wes
@NullPoiиteя you are even better than me at unlearning english. congrats :D
 
8:06 AM
hehe
 
Wes
@PeeHaa help pls or anyone interested into clicking an unknown link in this wednesday morning :B
 
@Wes What's it about in specific
 
hahaha if one is not changing he is d dead! i just want to keep alive
:D
 
\o
 
Wes
do you do drugs @NullPoiиteя?
:D
@PeeHaa subset of dom. basically just dom with all the crap taken out
 
8:12 AM
SimpleDOM?
 
Wes
not hipster enough
 
@Wes DomAss
 
No, i can act stupid but i am not an idiot
 
Wes
2 hours ago, by Wes
Dombass :B
 
Fine, go with DomFuck then
 
Wes
8:13 AM
:B
 
"Dominic the DOM library"
Call it "@PeeHaa"
 
    public static function match(string $pattern, string $subject, int $offset = 0): array {
        $count = preg_match_all($pattern, $subject, $matches, PREG_SET_ORDER, $offset);

        if ($count === false) {
            throw new InvalidRegularExpressionError(self::getErrorMessage(preg_last_error()));
        }

        return $matches;
    }
 
Wes
y u guys cannot be serious for once :D
 
^ Can anybody see any value in wrapping $matches in an object?
Does anybody have a good name for a similar function that additionally provides OFFSET_CAPTURE?
 
Wes
how does "domato" sound in english? it means "tamed" in italian, but i like that resembles tomato :B
 
8:16 AM
It's fine to me. Meaningless and inoffensive.
Well, meaningless in terms of not being some weird slang or something
 
Anonymous
@Wes it sounds like an Italian trying to say tomato :D
 
Wes
@DaveRandom you guys have a word for anything dirty. that for sure too. probably a sexual act involving @PeeHaa's mum
:B
@JayIsTooCommon or an american, which can't pronounce t's
 
@kelunik If you were to wrap it as an object, you should OFFSET_CAPTURE in that function.
 
@JayIsTooCommon saucyDom :)
 
I don't see the point in having multiple match() functions just to get a little bit of extra info
 
8:19 AM
!!learn help
@Jeeves learn help
 
!!no
 
!!no
 
Anonymous
@Wes I occasionally domato into @PeeHaa's mum
5
 
@DaveRandom Dunno, does OFFSET_CAPTURE have a significant performance impact?
 
Wes
lol
 
8:19 AM
@Gordon !!learn how to use @Jeeves
 
IIRC, not passing $matches completely skips collecting matches for example.
!!do you see any value in !!learn?
Did I forget that one or did we forget to remap it when we deleted all mappings once?
 
The latter
 
Where are the audit logs? :P
 
You can just blame @bwoebi for that without the log :D
 
@kelunik not really, I wouldn't have thought. PCRE returns this info anyway, the only real difference is the array init php-lxr.adamharvey.name/source/xref/master/ext/pcre/…
@Gordon srsly though, there is a vague plan for this, but not doing anything about it until we have plugin manifests and the ability for plugins to live in their own repos
@PeeHaa @Trowski what's the state of amp/pg?
Also @bwoebi is it worth porting Jeeves to amp v2?
It the API frozen?
 
8:24 AM
plugin manifests? are we moving @Jeeves to use Maven?
 
FOr me it's: not tested it yet :(
 
@DaveRandom Nope.
 
@kelunik How not frozen is it?
 
Anonymous
@Gordon Did you see the new !!dad feature?
 
Dunno, didn't have much time to review the API yet.
 
8:26 AM
like, is it just finishing touches? Is it worth porting Jeeves, which is a toy application, to amp v2 to get some real world testing going on? /cc @bwoebi @Trowski
 
@JayIsTooCommon if you mean the !!learn thing that currently doesnt seem to work, then yes
 
@DaveRandom If that is possible that would be great, because asynctwitter it going to be v2 soonish
 
!!dad learn f1 / I keep pressing my F1 key repeatedly, I can't stop / Don't worry, I'm trying to get help
 
@DaveRandom Ha ha ha! Brilliant! I'll save that one about f1 for later!
 
@Gordon ^
 
8:28 AM
oh lol
 
9 mins ago, by Gordon
@Gordon !!learn how to use @Jeeves
 
it's onewordname / setup / punchline
escape a literal / in the setup with \
 
ThW
Morning
 
o/
 
Anonymous
\o
 
8:30 AM
o\
 
ThW
@kelunik Do you have a minute?
 
@ThW Sure
 
\o
 
\o
 
ThW
I am thinking about the load() problem. Adding an additional method will break BC and more important some API calls will not work any more.
 
8:34 AM
Yes, it's not fixable without BC breaks, unfortunately.
Unless you introduce a configuration option somewhere that disables non-source inputs.
 
ThW
Yes, I was thinking along these lines. I already have an argument for loading options. I could put an option into it.
 
!!dad learn constipation / Have you heard about that new movie Constipation? / I guess not, because it hasn't come out yet
 
Anonymous
@Gordon !!dad
 
Hey everyone!
 
@Gordon Ha ha ha! Brilliant! I'll save that one about constipation for later!
2
 
8:48 AM
@Kanth how do you pronounce your name?
2
 
lol
 
I kanth pronounce it
 
So I finally looked at those headphones posted the other day for helping against an open office, turns out they're sold out :<
 
@Gordon I am poor in explaining the pronunciations. If it was an oral I could explain better. You tell me how do you pronounce that word, so that I can say whether it's correct or not
 
@Kanth With @PeeHaa's mom, it's always an oral thing.
 
8:55 AM
I didn't get the context
 
ffs
 
@Sean you want bose quiet comforts. not in-ear though.
 
@Gordon Aye, would prefer in-ear just for portability. Commute, gym, etc.
 
@Sean I wear mine in the gym, too
 
Well, It's like Can and th should be pronounced like th in the anthem
 
8:58 AM
thanks for clarifying
@Jimbo you're such a feline
 

« first day (2195 days earlier)      last day (2753 days later) »