« first day (2230 days earlier)      last day (2944 days later) » 

00:00
I'm out. later all
And there's no way to replace a stream context after resource creation?!
wtf…………………………
oh god.
I have no fucking clue what to do about that
That's really fucked.
Time that I learn some serious swearing … not sure how to describe that accurately.
 
2 hours later…
02:00
@bwoebi you need to live in the UK for a few months, then you're gonna be a foul-mouthed tosspot
 
3 hours later…
04:34
Hi everyone i am trying to setup cronjob in zend framework using lamp server.
But i am unable to access models inside it
assuredly, you get an error message out of it?
class model_class not found
that might sound like an autoloading issue.
i am following linkedin.com/pulse/…
Yes i think so
@FélixGagnon-Grenier thanks for your response If you know any better way or article please guide me to right direction
05:02
@PraveenKumar tbh I don't really know Zend, but that seems like a questionable way of setting cron jobs (also hardly official). anyway, have you just tried to... set up a cron job? you want to run a script every hour?
Yes i have done it before
but i dont know how to use it in zend
i want to use zend models in my cron job
morning @FélixGagnon-Grenier
o/
05:21
@FélixGagnon-Grenier done it :)
Thanks by the way
 
1 hour later…
06:30
mornin folks
Hello I am thinking to develop one product which may have 100000 simultaneous request by profession i am php developer but due to some reason i have to think should i go with php+mysql or java+hadoop?
what factor i should keep in mind while i am going to develop product
?
06:46
!!should @YadavChetan go with php+mysql or java+hadoop?
@⁠YadavChetan should java+hadoop.
Right now i am in analysis phase thats why i have time to select development platform.
@Gordon You know... to C how they make the Python Go!
good afternoon all
when i try to connect with FileZilla then it's not connect and send me error
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
please any one know how to fix this?
06:57
yes check your password username and port multiple time
if all is right then select plain_ftp in filezilla
okay
@PraveenKumar thank it's working
No problem always welcome
It's a little bit embarrassing though given that I've been working with HTTP for years and thought to know all the concepts about it.
07:53
@YadavChetan Err.. req/s is not a valid measure. The thing that matters is what's done every request.
MNornigns
08:22
good mornings
@YadavChetan "may have" is pretty cool. Instead of looking at the language, look at the scaling options.
08:34
anyone here use Jenkins? I can't figure out how to get a shell to run on the master after the slave has been built. I want to run an ansible playbook (hosted on the same server as Jenkins).
but each time I try it tries to run the shell on the remote machine (the slave)
Stupid question: If I stream videos, they can be hosted anywhere (just 1 location for worldwide) without much performance problem since they are buffered anyways? As long as the front end is distributed?
Anonymous
monrdsa
@Patrick It makes more sense to use a proper cdn imo
Because buffering is annoying and video is (/ can be pretty) heavy
@PeeHaa I was hoping I can just get a hetzner and pay an order of magnitude less for my traffic than with something like AWS :(
But maybe it's more expensive for a reason...
meurning
08:43
There are more players than just aws :P
@Porlune yes but not with master and slave.
@Patrick In the end it all depends in the size / encoding / concurrency / audience / requirements
Hell you could even possibly just host it on youtube if it's public
any help in corn job it's not working for me stackoverflow.com/questions/40758447/php-cron-job-not-working/…
Anonymous
Damn corn jobs
I had a client who refused to say cron. Even after telling him it was stupid multiple times. So annoying
08:46
@PeeHaa Not public, just for an idea that I've been toying around with in my head (netflix-style video site for instructionals in a specific niche)
@Patrick How many concurrent users. What size. What quality?
any help in cron jobs it's not working for me stackoverflow.com/questions/…
Anonymous
@m7md You already said that...
@JayIsTooCommon I lol'd
@m7md Did you check in the mailbox of the user running the cron?
08:48
I'll forever read it as corn ... it's funnier ...
Also drop the -q from the call
-q doesn't do anything in cli
i didn't receive any email no email for running cron or for the script mail
@JoeWatkins you mean like this home/username/public_html/testcron.php
@PeeHaa users no idea, a few thousand max, concurrent only a fraction of them. size and quality not sure yet, I have seen some sites with a few MB per video and some with 250-500 GB. Some middle ground probably
08:50
@JoeWatkins you mean change the command to this home/username/public_html/testcron.php
no, I didn't say that, I said "-q doesn't do anything in cli"
path and /path are different
ok usr/local/bin/php /home/username/public_html/testcron.php like this ?!!
no
/usr/local/bin/php
yes what should i do ?!
are you broken or something ?
08:53
no but i don't understand what you try to tell me
evidently
I don't have the patience for this ... sorry ...
sorry for that
@JoeWatkins please if you can tell me what should i do :(
@Patrick Investigate your requirements before being able to make an educated decision :)
but... that sounds like work :D
you are right of course
@deceze gratz!
08:56
@m7md I tried, you are not really listening ...
@Patrick :D
Anonymous
He got mod?
Yea
@JoeWatkins i tell you i didn't understand that is if you can please explain what you try to tell me
please stop now, go read the answers to your question ...
08:58
Bom dia! :)
@PeeHaa have I seen that name before ?
@JoeWatkins He used to hangout in here some times a long long time ago
it seems familiar but I don't see their name when @
Anonymous
@PeeHaa Which one is he talking about? meta.stackoverflow.com/questions/338289/…
mornin
09:01
\o
@JoeWatkins Yeah cannot find his last message in 11. But you probably have seen him at some point
@JayIsTooCommon jigar?
@tereško yo
Morning!
Good meowing
yo sean / slathe
Anonymous
@PeeHaa ah
Anonymous
09:11
!!wotd
savoir-faire: knowledge of just what to do in any situation; tact.
so it's just a fancy word for drinking?
09:30
Girlfriend likes your business card, @kelunik :P
Spotted it when I was going through my wallet yesterday
!!dad
What did one ocean say to the other ocean? Nothing, they just waved.
2
Hello Everyone.
Hello Every two.
haha
can anybody please tell me any third party api which tells me location without asking for HTML5 Geolocation persmission ?
for example this website zopper.com is giving me approx location without asking for persmission of HTML5 . it must be using some third party ..
09:43
any API doing geolocation by IP
Used IP for getting location bu that is not accurate everytime.
i mean its only accurate once in 10..
this website must be using some analytics api .. like google does
> Welcome to Zopper! You seem to be near Laxmi Nagar, Delhi. If your delivery location is different, please change it below.
how build a website?
Anonymous
@agassaa magic
@VikasSharma what makes you think this thing is accurate?
09:46
as you are out of india it may be using default location.
black magic?
@agassaa any magic
then I want to learn that magic
Gordon how did you search for that example ?
Welcome to India @Gordon :p
09:48
@Linus which example? the location? it says so right on top of the page.
I have tried many IP apis but this is accurate in guessing location.. they are also not accurate but they are at least give me the region.. by IP its accuracy is very very low.
moin
@bwoebi you want me to RFC that change? Prob needs it
Anonymous
hoi dave
Wish mercurial had ff merging
@agassaa well, start by spinning around. first at a slow speed. chant IA IA KTULU F'TAGHN. Then spin faster with each round until you collapse. When I do this, my web IDE opens on my computer.
Anonymous
09:52
lol
@agassaa depending on your operating system, it might also require you to sacrifice a chicken, because the Ancient Ones don't like Windows, but they do like chicken, so you need to bribe them.
I, too, use ɯɹoʇsdɥd as my IDE
@Sean s/had ff merging/was git/
^ Too right
Is ff-ing a git specific feature?
dunno, other things may do it as well
09:56
you don't want to !!urban ff.
Hi everyone
Do we have in yii2 pro in chat room ?
need urgent help
Gee it's urgent
Anonymous
urgent and it needs a pro
@agassaa if that magic then still doesn't open your favorite web IDE, you need to say Klaatu barada nikto. This will revert whatever else has happened. But you have to be precise, otherwise bad things will happen. And then you have to learn Groovy.
Please can anybody help me
?
Anonymous
10:02
@alwaysLearn You haven't asked your question, so how can somebody help you?
Anonymous
@Gordon You alright?
@alwaysLearn we don't have a yii2 pro in here right now and "urgent" requests are usually answered with at least one day delay
I have yii2 activeform and submitting form using ajaxvalidation
@JayIsTooCommon I am fine. Thank you.
10:03
now my problem is I am getting validation errors from server in response but those validations are not being displayed at frontend
I am kind of stuck off
<?php
  $objActiveForm = BActiveForm::begin([
              'action' => '/adverse-events/ajax-handle-adverseevent-data-forpatient',
              'validationUrl' => '/adverse-events/ajax-validate-adverseevent',
              'validateOnBlur' => false,
              'validateOnSubmit' => true,
              'validateOnChange' => false,
              'enableAjaxValidation' => true,
              'options' => ['id' => 'frm_addadverseevent' . $patientId, 'class' => 'frm-adverseevents'],
  ]);
  ?>
Anonymous
@alwaysLearn What makes you think they should be displaying on the frontend?
I am sure that Yii issue can be solved with the same spell that opens a web ide
Anonymous
lol
but you have to spin into the opposite direction
@JayIsTooCommon I mean they should be displayed under corresponding input fields
{"adverseevents-0-received_by_axios":["Select method of reporting"]}
I am getting response from server too
10:08
@JayIsTooCommon good luck prying all that implicit context from his head
but they are not getting displayed
Anonymous
@alwaysLearn But why should they? Where is the code that displays the errors under the inputs?
Ok @JayIsTooCommon if you permit can we start separate chat room
?
Anonymous
What's wrong with this one?
lets discuss things there
Okay I am fine here too
If I am not wrong when we perform ajax validations validation messages are displayed for corresponding input in error div .. right ?
@DaveRandom well, buy it?
/** Action to validate data * */
public function actionAjaxValidateAdverseevent() {
/** validate email for uniqueness * */
if (Yii::$app->request->isAjax) {
$postedData = Yii::$app->request->post();

$isFormSubmitted = ($postedData['AdverseEvents']['is_submitted']) ? true : false;

$scenario = \cms\models\dbtables\AdverseEvents::SCENARIO_DEFAULT;
if ($isFormSubmitted) {
$scenario = \cms\models\dbtables\AdverseEvents::SCENARIO_EVENT_SUBMITTED;
}

$objAdverseEventsModel = new \cms\models\dbtables\AdverseEvents();
@alwaysLearn are you running $objActiveForm->end() somewhere?
@Gordon Already have :-P
@pmmaga Yes I have that in view
10:16
@DaveRandom then it should say have not want ;)
@Gordon a) don't have it yet! :-P and b) only remembered that I am an adult with my own credit cards and keys after posting that message
well, "adult"
@alwaysLearn Ok. Why are you formatting your response as JSON? Are you sure that the Yii client-side can deal with that?
@pmmaga am not formatting it .. this is what yii validate gives us
> Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
10:21
@pmmaga I think thats the requirement for yii2 validation url
and its working for me on other places
@tereško Fun time. Which colour? Black, grey, white? This fits a GTX 1080
@Sean Wrong ping? :P
@kelunik Oh actually yes, I meant @Danack I think :P Sorry!
morning
@Sean Not that my cards are ugly, I don't even have cards. :P
10:36
Hi all.
(Moarrrggh)
Bye all ;)
@DaveRandom no, let's do that without RFC … A patch against 5.6 and sell it as possible sec issue
@bwoebi OK, well that's obviously the preferred approach if it's legit. It is technically a breaking change, though, even if it only breaks code that is already terrible and should be fixed anyway.
@DaveRandom Which change?
10:51
Also can we add stream_context_replace(streamresrc $stream) while were at it (in master only, I guess)?
@DaveRandom dunno, you can just reset all options … if we make it CoW anyway.
11 hours ago, by bwoebi
@Danack Yes. It turns out stream_context_set_option() on an arbitrary socket without own stream context will overwrite the DEFAULT stream context.
@Danack Even though some can be id's of entities (so there'll be a relationship), I can't enforce this because it's just a kvs. I'm confused :-) - Also I'm using Doctrine (Y)
So in more words, if you call stream_context_set_option() on a stream resource (rather than a context) when you didn't pass an explicitly created context at stream creation, it modifies the default ctx and the change propagates to all streams using the default ctx
Which includes things like SSL peer name related options
@WyriHaximus ran into it causing a real-world problem last night
Which I managed to repro on win, and he has managed to repro on 5.6/7.0/7.1 this morning (because it's essentially by design, but the design is wrong)
@DaveRandom Yes, it is. Should probably implicitly create a new context?
11:02
@kelunik Yes.
@DaveRandom Sall I prepare a patch or do you?
@bwoebi I wouldn't mind if I can, let me see if I can figure it out in the next hour or two, but if I can't I will prob defer to you as I guess it will take you 2 mins :-P
@DaveRandom fine
@Jimbo I would go with a black (if with a window) and with (if without a window)
@Jimbo I wonder, how much Corsair 570X costs :D
11:20
@bwoebi so I need to base it on 5.6 so it can merge upwards, right?
@DaveRandom yessir
k cool
I haven't worked on php-src (vs pecl exts) for ages
@DaveRandom you basically just need a separate_context_param function to be used instead of decode_context_param in setter functions
@bwoebi right, which is basically just a wrapper for decode_context_param which does a deep copy if decode_context_param() returns the default context (?)
@DaveRandom uh, I'd say any context used in multiple streams?
11:25
> you dont seem to have any experience for developing open source scripts. if you did you would have realised that the minimum requirements for opencart is php 5.3 so using bcrypt is out! – github.com/opencart/opencart/issues/1269#issuecomment-38146718
@bwoebi Right, but only if the arg is php_file_le_stream or php_file_le_pstream
yes
@Sean E_WAT ?
11:36
@Danack Sorry, wrong person, it's @thw
Got there in the end, rofl.
lol
@Jimbo "some can be id's of entities" My instinct would be a separate table of key-values for each type (with appropriate foreign key relations), and then a final table for key-values pairs which are just strings. Though....this is getting hard to be sure about without seeing the actual tables.
You guys got any budget for a DB design contractor?
@Sean Seems like a good business card, not even a name on it? :P
It is haha, it has TW's name on it, I just forgot which user he was in 11 :P
I mean the name kind of gives it away now that I look but I'm not a smart man
11:52
@JoeWatkins according to nested classes I've asked you yesterday could you please checkout and tell me what you think about my improvement gist.github.com/brzuchal/8d44b1b8f312dd1ad2ebefc4cec150ae
Does anyone sees it usefull to have nested public/private classes like this two examples gist.github.com/brzuchal/8d44b1b8f312dd1ad2ebefc4cec150ae ??
The whole thing is those classes are available to specified objects for their internal validation and state representation
Almost perfect for Aggregate in DDD I think
I like private inner classes
Qool, I need supporters for the idea.
@Gordon what do you think about that solution ?
I haven't checked your particular solution, but I like private inner classes because they let me hide implementation details in a more oop'sy way
then again, nothing they do cannot be achieved without them if you dont mind the missing encapsulation
Namespace class visibility pls
Yes I would also want to rather have package visibility
11:58
yeah, if I have to choose then that over the other
Yeah I know, but this particular solution allows to create objects of inner classes which have reference to owning $this
Namespace classes are just classes it's just a case to add their private modifier

« first day (2230 days earlier)      last day (2944 days later) »