« first day (2309 days earlier)      last day (2636 days later) » 

ThW
12:01 AM
here are a lot of details where I would expect a different and more useful behaviour.
 
Wes
@Gordon thanks for that, it was a good hint for an interesting read. that site though is impossible to decipher. it reads like a mystical bible about software testing
 
If I am passing an untrusted numerical variable to PHP, which will then be used in the page's HTML/Javascript, would removing all non-numerical characters be a safe replacement for escaping the variable?
Maybe it's a better question for JS room haha
 
12:18 AM
google are scammers regarding API usage, i have logs of them counting there own bots as API requests to waste peoples money or constantly block them untill they decide to pay $300 every 2 months.
0
A: YouTube Data API Queries Per Day Reached?

zeddexOne answer could be if it was not someone using my API key or hitting my site like crazy with Curl that is not logged somehow then it was actually google bot itself. Today i reached max quota again and was cut off around 5 so i could have had 7 more hours of traffic before the quota reset. I ha...

They are also lying to people about the queries made
Not sure why my question got down voted either, google forces people onto stackoverflow only to ignore everyone and people guessing about things then if they are there and don't want to answer because they scam people out of money which makes them look bad then they down vote things to try and hide them away
 
 
2 hours later…
2:15 AM
Good evening.
 
2:55 AM
Good evening.
 
Are you in the West Coast too?
 
No, in Mexico right now. I might be in a month, or so though.
 
What part?
 
Veracruz, I don't live here though. Originally from Europe, Netherlands. You are from the west-coast I take? In or near what city?
 
Orange County
Veracruz is near the ocean right?
Vacation?
 
3:04 AM
I'd call it more of a "lifestyle", I travel around the world always.
 
Working remotely?
 
Yes, trying to now. I'm only 17, so I've just recently started working remotely. You work as a developer?
 
17?
Yeah.
At what age did you start?
 
At 11 or so, when developing Minecraft plugins was the absolutly coolest thing you could do. I suppose as a PHP developer or..?
 
Full stack developer.
 
3:10 AM
Awesome!
 
I wish that, I had started that young.
 
Yes, happy I did. Yet, this is not what I want to keep doing forever. It's my personallity, I can never stop, and I need to change and reach higher goals.
 
Funny you say that. That is just how I am.
 
How old are you?
 
I have changed careers a few times.
35
 
3:14 AM
Ha! Fun to hear that. I don't know many people who do. It definitly comes with some challenges here and there
 
I don't want to do this all my life either. Shooting for creating something that generates income.
 
What careers have you had before this one, if I may ask?
 
On auto pilot lol
Real state.
Till the housing market crashed out here.
 
Every developers dream I suppose, haha. Now, I just need to turn 18. It's so hard living on my own/traveling on my own without even being legally responsible for my self, comes with a lot of hassels.
 
How do you get around that.
 
3:24 AM
My parents signing documents that allow me to travel alone, from there it's pretty normal. Expect for work and insurance etc. Also, the fact that I graduated in the US, and not in the Netherlands. Oh, that was the biggest hassel I've had so far.
When did you start programming? (My guess is 2009, after the 2008 crash.. ?)
 
haha yeah
 
Also, I don't look 17. Helps a lot.
 
Before that everyone was in real estate.
 
@Trowski github.com/amphp/amp/commit/… … I think that's a bad idea…
It should prevent being able to continue users of backpressure if there never will be a listener, but only ever a watcher for success (aka a when).
 
@bwoebi I could make a call to when resolve the deferred holding back emissions.
 
3:30 AM
@Trowski how do you mean?
 
@bwoebi Invoking when() on the stream would be the same as adding a listener, as it is a sort of listener anyway.
 
@Trowski … and what about when when() doesn't end up being called?
… then we have a memory leak?
 
@bwoebi So if nothing ever uses the stream output?
 
yes
 
That seems unusual… the object would probably be destroyed eventually if nothing used it.
 
3:33 AM
We'd effectively mandate consumption of promises
@Trowski hmm, true … it's just a circular ref then
 
@bwoebi Right, which should be garbage collected eventually.
 
well… at least unless the code is written like:
do {
    yield $emitter->emit(…);
} while ($cond);
unset($this->emitters[$emitterkey])
$emitter->resolve();
@Trowski code like this (dunno, for whatever reason) would still reference the emitters internally and thus effectively leak memory
@Trowski lets look at it the other way round - what's the advantage of implementing this? What problem are you trying to solve?
 
3:55 AM
@bwoebi Emitting a value too soon can lead to consumers missing emitted values.
One cannot create a stream and immediately emit the first value.
 
@Trowski right, you should defer that then
that's the responsibility of the emitter
(In case you return Stream)
 
@bwoebi That's easy enough for someone experienced with the library, but it's not very intuitive.
I was hoping there was an elegant way around that problem.
 
@Trowski I don't find it very intuitive to get a value emitted before I subscribe
 
@bwoebi That is a problem, I'm treating the first listener specially.
 
Also, typically you anyway only emit your first data after further I/O has been processed. You return the Stream immediately upon submitting some task though
@Trowski yeah, also interacts weirdly with two subscribers then (i.e. you get a Stream, subscribe and return it further down the chain)
 
4:00 AM
@bwoebi Sometimes data might be available in the buffer, so it could be emitted immediately.
 
@Trowski That's just if you are a server
And in this case you do not return, but call some callback with the stream, and emit your first data simply after the callback invocation
 
@bwoebi I agree, that branch makes as many problems as it fixes.
 
right
 
We'll just have to document that emitters should provide an opportunity for subscribers before emitting.
 
right
 
4:17 AM
hi all
can someone give me simple example of absolute path vs relative path please?
this is absolute path right /home/public/folder
?
 
Why did the arginfo functions change? ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX etc
 
@bwoebi This is a problem where I do not think there is a solution. Back-pressure can't be applied until there's a subscriber, otherwise memory leaks can occur like code you posted above.
 
@Trowski correct. (I think so at least too)
 
However, if an opportunity to subscribe is provided then the problem goes away, so it's probably not an actual problem.
 
anybody please..
 
wow
 
@Exception Sorry for being blunt, but you're not going to get a lot of attention here asking questions that can easily be googled, especially non-PHP related questions.
 
ohh
let it be
 
4:55 AM
@Exception you have to learn how to be resourceful, google is your friend.
 
5:13 AM
morning
o/
 
Anyone have tips for isolating multiple PHP vms in the same process?
I am using the embed SAPI to add PHP bindings to WeeChat the IRC client
Running into some trouble with the globalness of things
Curious if there is a clever way to force everything in 1 user script under a single namespace and then somehow nuke it when unloaded
 
 
1 hour later…
6:17 AM
Hello There, i am stuck in a rest api, it is working fine on local, and was also working on live until i had a ssl certificate, it is post request with xml data, but not getting any data there
gist: Xml cannot be read, 2017-02-09 17:00:10Z
<?xml version="1.0" encoding="UTF-8" ?>
<RealTimeAnswer>
	<CallUid>
		167064964
	</CallUid>
	<Ban>
		C24148
	</Ban>
	<CountryCode>
		1
	</CountryCode>
	<Number>
		8000000000
	</Number>
	<Label>
		DEMO NUMBER
	</Label>
	<AnswerTime>
		12/06/2012 8:6:22 PM
	</AnswerTime>
	<StopTime>
		12/06/2012 8:6:23 PM
	</StopTime>
	<CallerId>
		2060000000
	</CallerId>
	<CallerIdName>
		SMITH JOHN
	</CallerIdName>
	<Origination>
		2060000000
	</Origination>
	<OrigCity>
		Seattle
	</OrigCity>
	<OrigState>
		WA
	</OrigState>
	<DestType>
		1
	</DestType>
	<DestCountryCode>1</DestCountryCode>
	<DestNumber>
		2060000000
	</DestNumber>
	<WebCall>
		1
	</WebCall>
</RealTimeAnswer>



Error log

2017-02-09 11:35:09 Error: [XmlException] XML cannot be read.
Request URL: /kalls/ppc_call
Stack Trace:
#0 [internal function]: Xml::build('', Array)
#1 /home/ronrathbone1/public_html/lib/Cake/Network/CakeRequest.php(911): call_user_func_array('Xml::build', Array)
#2 /home/ronrathbone1/public_html/app/Controller/KallsController.php(24): CakeRequest->input('Xml::build', Array)
It is the xml data i am sending and getting empty response on server
 
7:05 AM
Happy Friday!
 
7:20 AM
Mornings
 
Hi guys, i have developed my website using Angular and REST API in Laravel. Everything works fine but i am not satisfied the way my scrolling is behaving. There is no smoothness in scrolling. I want the scrolling to be like dribbble.com. I want to achieve smoothness to the website
 
Dont fuck with the scrolling
 
meurning
fail
 
its not like i trying to change the scrolling, but i am missing the ingredient of smoothness to my website.
 
Search for "friday" (https://www.google.com/search?q=friday&lr=lang_en)
• Afbeeldingen van friday - No description available (/search?q=friday&lr=lang_en&tbs=lr:lang_1en&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwicgePD_4TSAhUBEhQKHTPkCkkQsAQIIg)
• Friday (1995) - IMDb - Comedy … Friday -- Open-ended Trailer from New Line. Photos. Chris Tucker and Michael Clarke Duncan… (http://www.imdb.com/title/tt0113118/)
• Friday (film) - Wikipedia - Friday is een Amerikaanse speelfilm van regisseur F. Gary Gray. In deze film spelen onder meer Ice… (https://nl.wikipedia.org/wiki/Friday_(film))
 
7:23 AM
@RonniSkansing
 
Yea still dont do it
imo
 
laravel and smooth, sounds like an impossible combination to me
 
i have my eCommerce website completed ready for production, but as the image loading is lame and the strolling is bit of stuck. i want to fix this. any tips?
 
I partially agree with that
 
why is that?
 
7:25 AM
in this case the loading of images has nothing to do with laravel
I partially agreed with naruto sorry
@WaseemAkram you mean that you have some sort of infinite scrolling function but the loading is slow ?
 
yes exactly, you got me right @Valentincognito
 
probably because of the images
unless you query a really big amount of data
 
i have resized the images to 400px without distorting the image ratio, but even then its slow
 
to have a very smooth infinite scrolling you have different approach possible
 
the query is joining 4-5 tables and retrieving the data
 
7:31 AM
What would be the best way to check if a variable has only numbers or the . (dot) character?
 
you can easily monitor your page speed with chrome dev tools to see what's slowing down your loading
 
cool, i will have a look into it @Valentincognito
 
you'll know if your ajax call is taking time or your images
for the images if you haven't done it yet you can lazy load them to gain some speed
 
Its a Angular js frontend and the backend is REST API using laravel Lumen
 
I don't know much about angular
but the calls to your backend are still made via ajax right ?
 
7:34 AM
yah
Thanks for the useful info @Valentincognito
 
@Alesana preg_match ?
@WaseemAkram no problem
 
I was thinking about using that but I thought there should be an easier way.. maybe if (is_numeric || is_float) would work?
 
@Alesana read the manual pages for both of those
 
@PaulCrovella I'm reading now, I guess I can just use is_numeric!
Ah but that wouldn't work if it has two .s
 
@Valentincognito ok, maybe not impossible, but just too much effort I don't want to put in ^^
 
7:41 AM
moin
 
@Alesana is_numeric() should do it,, unless it has 2 dots as you mentioned :D so go with what @Valentincognito said, preg_match() :)
 
@Naruto Thanks I guess preg_match is the best
Haha yeah that :D. Thanks @Valentincognito @Naruto
 
@Alesana that's a bold statement you are making there ;)
 
No, this is a bold statement
12
Haha
 
7:44 AM
haha not bad
 
Haha I am tired
 
8:06 AM
 
(noone saw this)
 
@Trucy o/
 
\o
!!friday btw
 
@Jeeves ta lad
 
8:08 AM
@Trucy So, I was right about me asking too many questions?
 
8:24 AM
morngininns room
\o/
 
@PeeHaa how much control do you have over mention-bot messages? can you replace "potential reviewers" with "pretend reviewers"?
 
@PaulCrovella I don't know yet how mention bot works. Sorry
Ping @kelunik
 
@PeeHaa pong
 
:)
That's fast
:P
Paul was asking me to pretend to review his pr :D
 
it'd be a step up from how much reviewing you usually do
 
8:30 AM
:P
Can't talk now
"reviewing"
 
@PaulCrovella Yes, you can customize that message. github.com/facebook/mention-bot
 
oh neato
 
Anonymous
What happens if you throw in a plugin again @PeeHaa ?
 
Anonymous
moins.
 
morgen
@JayIsTooCommon What do you mean?
 
Anonymous
8:42 AM
@PeeHaa github.com/Room-11/Jeeves/pull/158/… What would his behaviour be here?
 
message gets logged or some shit
 
Anonymous
Ah, i didn't know if that caused the "Something went seriously wrong" message
 
user6061856
ugh
 
user6061856
My brain
 
user6061856
I think it's dead
 
8:45 AM
if it's dead what is thinking that
 
He has a good point
 
user6061856
logic of mine is failing
 
Anonymous
well, clearly
 
You just need a break
 
user6061856
plus it's an exaggeration.
 
user6061856
8:46 AM
Yeah
 
user6061856
I guess that's what happens when you look up articles on php web sockets.
 
user6061856
o.o.
 
user6061856
Probably outa my league, but :P
 
-__-
Look at articles on Java web sockets...
 
Guys, morning :-) ..! As you know, I've a Q&A website. I wrote a business plan for it last night. What's your opinion about it?!
 
user6061856
8:47 AM
It's weird, I'll look up something and not understand it. Then few months later I end up looking at it again and I call myself dumb wondering why I didn't understand the first time.
 
@Antono that's great it means you're learning at a good rate
 
Anonymous
@Shafizadeh That isn't a business plan
 
mornis
 
Anonymous
moin pmm
 
8:48 AM
@Shafizadeh I don't know how to read it
 
user6061856
@Alesana Good, because I practice and study a lot. XD
 
@JayIsTooCommon I meant "economic plan" ..
 
Usually taking a break and coming back is good.
 
@Shafizadeh I don't understand it
 
@Trucy and @iroegbu really?! well shit ..! I thought it's clear!
 
user6061856
8:49 AM
@iroegbu Agreed. But then again, brain's fried.
 
Anonymous
@Shafizadeh nope :(
 
@JayIsTooCommon ok, I will add some details to it :-)
 
@Antono I practice all the time but I think I need to study more myself lol
 
maybe we have to convert rtl to ltr for persian flowcharts?
 
user6061856
@Alesana I tend to stumble on things in PHP.
 
user6061856
8:50 AM
I will like be messing around with stuff, then I get weird and interesting errors. It's how I learn. I mess with everything.
 
user6061856
That's why I only have one completed project. DX
 
"Your interview on monday will include a technical test" welp, I know what to do this weekend.
 
user6061856
Because I always throw it away and do it again then it turns to a big test field.
 
user6061856
@Trucy Study? O.O
 
@Antono Yeah that's how I learn everything, if you have a plan to do something with PHP and you're dedicated you're guaranteed to learn how to do it eventually lol
 
8:52 AM
@Antono kinda. I'll probably mess around with PHP7 features.
 
user6061856
@Alesana well, I started with HTML and CSS. It was kinda boring and I found out about other languages.
 
user6061856
@Trucy I haven't messed around with php7 yet.
 
Antonio are you new?
 
user6061856
@Alesana I still need to practice with MySQL though.
 
(as the technical interview will be probably about the skills I mentioned on my résumé)
 
user6061856
8:53 AM
@SalOrozco Yeah I guess
 
Ah I started the same and with JS..
 
user6061856
@Alesana But I love CSS
 
I've seen @Antono in here a lot
 
Build a portfolio.
Don't just learn and learn.
 
user6061856
HTML, CSS, JS, PHP then MySQL.
 
user6061856
8:54 AM
@SalOrozco I don't have a portfolio yet. But I know should make one.
 
@Antono I need to get you to do the front end on some of my projects then haha.. I am good with css but it just takes me a long time before I'm satisfied
I spend maybe 30 minutes deciding if the margin should be 47 or 46 pixels :/
 
@Antono that is number one. Then add what ever you do to it.
lol
 
user6061856
@Alesana IDK why but I don't see why people need more than 2000 lines of css. I honestly just think it's overkill.
 
16
32
48
 
user6061856
@SalOrozco Yeah, I just haven't really bothered making a portfolio. o.o I honestly don't know where to start with that.
 
8:56 AM
:| I guess I do everything overkill
 
Don't think about it to much.
Just do it lol
Just ship.
 
@SalOrozco is right I wish I had saved all my old projects
 
user6061856
I delete old projects because their absolute trash. XD
 
So don't just learn to learn.
 
Anonymous
@Antono Github, contribute to some OS projects
 
8:57 AM
learn to build things and add them to your profile.
 
@Antono or just push your projects on GitHub
 
user6061856
@JayIsTooCommon Speaking of github I just signed up like two weeks ago.
 
user6061856
Yet, I haven't done anything on it.
 
user6061856
XD
 
*portfolio
 
8:58 AM
@Shafizadeh Asker?
 
ThW
@Antono 2k lines CSS is not that much for a large web application. But here are ways like less or scss to handle that.
 
user6061856
I'm also kinda working a few projects right now. I'm a writer.
 
I would feel ashamed to try to contribute to Github because I feel that my knowledge level is so much less than average
 
user6061856
@Alesana ikr
 
Anonymous
!!? Imposter syndrome
 
user6061856
8:59 AM
@ThW Yeah I know. But most of my apps are considerably small.
 
Search for "Imposter syndrome" (https://www.google.com/search?q=Imposter+syndrome&lr=lang_en)
• Impostor syndrome - Wikipedia - Impostor syndrome is a concept describing high-achieving individuals who are marked by an inability… (https://en.wikipedia.org/wiki/Impostor_syndrome)
• 21 Proven Ways To Overcome Impostor Syndrome - St… - Proven steps for destroying your Impostor Syndrome and getting on with your life. (http://startupbros.com/21-ways-overcome-impostor-syndrome/)
• Impostor Syndrome - Caltech Counseling Center - Er is geen beschrijving beschikbaar voor dit resultaat vanwege de robo
 
Alesana start your own project.
and let other people contribute.
 
@tereško :D !!! Anyway, I personally am one of those geniuses (like Maryam Mirzakhani) which is mentioned in end of the clip ;-)
 
@Alesana you got to start at some point
 
user6061856
@SalOrozco But if I put my work on github people could take it. ;-;
 
8:59 AM
@AdilIlhan who asks a question and devotes some money for it
 

« first day (2309 days earlier)      last day (2636 days later) »