« first day (2272 days earlier)      last day (2666 days later) » 

12:00 AM
And then you can close/resolve a stream with a final value or an exception
 
Should it be Stream::subscribe or Stream::listen()?
 
latter is more natural I feel
 
indeed
@bwoebi may I ask you to write down a quick simple example for this?
 
@Ekin the Amp v1 way you mean?
 
well, both would be fine since asked mainly because I liked the idea there
although amp v1 is what I use so that'd be more helpful in my case
... pick one
 
12:10 AM
For Amp v1 I need to revisit the API, give me a moment
 
sure
 
$this->deferred = new Deferred; // return the $this->deferred->promise() here

// then when you have updates:
$this->deferred->update($newData);

// in the listening function you use ($promise being the returned Promise from the first statement):
$promise->watch(function($data) {
    $this->ws->send([], $data); // broadcast received data to every client
});
 
update() is when the callbacks are invoked I presume
 
@Ekin yes
 
anyone knows any good conference talks regarding SASS?
 
12:19 AM
makes a lot of sense now
thanks
 
1:12 AM
ObservableStream, EmitterProducer, PostponedEmitter, ObserverListener, Observable::subscribe()Stream::listen(), Postponed::observe()Emitter::stream()
 
 
1 hour later…
2:29 AM
any body use pheanstalk php?
 
3:05 AM
anyone know, did it possible to edit text file which not in one local folder with the program?
 
3:20 AM
yoda is that you ?
 
3:35 AM
sorry for bad englsh, lol
 
lol
@AndreasChandraGaozu you want a program to remotely edit file ?
like an ftp connection ?
 
@vale
@Valentincognito yes, i already can read & write it but since i save the in on local folder. Is it possible if i separate them?
 
what do you mean separate them ?
 
like i save the program & text file in different folder
 
3:52 AM
I am not sure if I understand, you want a text editor that allows you to connect to a remote server and give you the choice to save your files locally or on the remote server ?
what do you use at the moment ?
 
let's put it this simple. i have one folder of program, then i wanna read & write text file. can i put this text file outside the folder?
 
I am sincerely sorry but you lost me
 
 
2 hours later…
5:56 AM
I know what are pull and push in git, but I cannot understand what's fetch. When I write $ git fetch, I don't see any change. Does anybody know what fetch does?
 
7116
Q: Difference between 'git pull' and 'git fetch'

PabloWhat are the differences between git pull and git fetch?

 
I read that before, but it explains vaguely
 
6:17 AM
morning r11
@Shafizadeh @littlepootis 0/
 
posted on January 04, 2017

New Cyanide and Happiness Comic

 
7:03 AM
morning room
 
ohhh Long time @Linus
 
:) yeah exams time
@Jeeves hello sir
 
@Linus Why did you change the subject so quickly?
 
@Jeeves my wish :P
 
@Linus No, I did not.
 
7:08 AM
Okay
 
7:34 AM
moing r11
 
morning @Trucy
o/
 
\o
 
Wes
mornin
 
Wes
7:57 AM
12 hours ago, by Wes
"Registration complete. Please check your email." -> wordpress.com. 8 hours have passed, still no email
i'm fairly convinced now i'm not getting the email...
 
<it support voice>have you checked your spam folder?</it support voice>
 
Wes
i did, obviously
 
Mails can be lost, can you ask wordpress to resend a mail? (my guess is you can't)
 
Wes
i did already, several times
 
8:15 AM
o/
 
Wes
\o
 
morging
 
o/ @PeeHaa
 
8:32 AM
meuning
 
Anonymous
8:46 AM
mornin
 
Anonymous
 
@Trowski you might want to ping Niklas?
Also… I like it :-) @Trowski
 
Anonymous
!!wotd
 
emolument: profit, salary, or fees from office or employment; compensation for services.
 
@JoeWatkins remember the laptops we had to get rid of? They were given to a local non-profit :)
 
9:03 AM
@Trucy that's excellent
I knew someone would be able to find a use for them
also moin all
so I got a reply from lawyers ... we are doing it wrong
doing it right is stupid ... so we'll just continue to do it wrong ...
 
Anonymous
o/
 
@JoeWatkins about what? The copyright year thing?
 
@JoeWatkins What does doing it right mean you have to do?
 
you can have the copyright in a global file, but you leave yourself open to someone claiming ignorance (which despite ignorance not being a defence in criminal cases, it can be in civil IP ones) and breaching copyrights anyway ... to get around that you have to put a note in headers as we are doing ... what we are doing is wrong, because you are only meant to note the years the file was actually changed ...
 
9:14 AM
But what if you change the file to put the new year? This is some ouroboros stuff
 
also, the VCS logs contain the most detailed record of who done what, as @Danack said the other day, but this is valid in some jurisdictions and not in others - the others want the information in the actual file ... this would make some headers a million time longer than the code in the file, and is just completely stupid ...
@Trucy you are meant to be claiming copyrights on the code itself, not the header ... so changing the header is not a valid thing to copyright ...
 
@JoeWatkins I used to do that for my code. But I stopped doing that because it's annoying as hell and not worth my time for my projects :)
 
what a time to come ionline
 
@PeeHaa I think it can only work in small projects with a few contributors ... some files would need to note the name of a hundred odd developers in order to comply with the law in all jurisdictions ... when jquery took the decision to remove the copyright year, they weren't wrong to do that, but the difference is that they have lawyers that can defend them and we do not ... our only defence is doing something, and we chose to do it, or are accidentally doing it wrong ...
we could/should have forged a relationship with these guys a long time ago, so that we could call on them when/if we needed them ... if we had done that, I would have the confidence to just remove the year ... as it is, we are stuck doing the wrong thing :(
 
@JoeWatkins What about the people at rogue? Don't they have lawyers and willing to help out?
 
9:23 AM
I dunno who that is ?
 
@JoeWatkins the company who bought Zend…
 
The owners of zend
 
oh yeah, I forgot about that ...
they are really nothing to do with php, they bought zend business enterprise ...
 
@JoeWatkins yes I realize that. But they kinda need php
 
I don't think any of us love the idea of owing zend favours ... I certainly don't, they already have too much sway over what happens ...
 
9:27 AM
No argument there
Move php to the apache foundation
It's where projects go to die so not that bad :P
 
I'm sure they do have lawyers, and I'm sure we could get access to them ... I'm sure zend did before they were acquired by rogue ... but we should reserve such actions for when it is really required, when there's an actual threat to the IP of the project, rather than to resolve a silly mistake we made ...
 
mornins
 
mornins martins
 
=)
 
9:32 AM
o/
 
\o
 
@tereško what does this simbol mean?
 
@Shafizadeh it means he's going to kill you tonight
 
:-)
 
neo
When we send a http request like facebook.com/profile.php?id=100002029325 its turned into url with user profile name if available like this facebook.com/personname.. is that a page redirect ?
 
9:39 AM
can we make 2 soapcalls subsequently?
 
@neo Are you browser's developer tools broken?
 
Anonymous
@Shafizadeh *symbol - it's a face that's smiling. '=' == eyes ')' == mouth =)
 
I asked this because to make second in working I have to comment first one
everytime
 
@JayIsTooCommon oh .. I thought ":" means eyes .. thx for your clarification
 
9:41 AM
HTTP/1.1 404 Not Found
X-XSS-Protection: 0
public-key-pins-report-only: max-age=500; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="q4PO2G2cbkZhZ82+JgmRUyGMoAeozA+BSXVXQWB8XWQ="; report-uri="http://reports.fb.com/hpkp/"
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=15552000; preload
 
@JoeWatkins Missed the conversation leading up to this one, I can't remember the pros and cons of the last "PHP Foundation" discussion, but isn't that what's needed in this case? A non-profit oversight committee for everything that isn't the code?
 
Anonymous
@Shafizadeh they do too :)
 
Or maybe even including the code
 
uh, copyrights
 
9:43 AM
moin
 
neo
@PeeHaa How can i track the events ?
 
morgen dave
 
Anonymous
o/
 
@neo What events? How is that related to your original question?
 
neo
@PeeHaa i mean how can i identify its redirected or not ?
 
Anonymous
9:45 AM
!!? developer tools redirects
 
Search for "developer tools redirects" (https://www.google.com/search?q=developer+tools+redirects&lr=lang_en)
• http - How to use chrome's network debugger with… - 11 jun. 2012 - This has been changed since v32, thanks to @⁠Daniel Alexiuc & @⁠Thanatos for their … "… (http://stackoverflow.com/questions/10987453/how-to-use-chromes-network-debugger-with-redirects)
• See full redirect path and HTTP status code in Ch… - 19 jan. 2011 - Now there's something much better in Chrome. At the bottom of Chrome's inspector … I… (http://stackoverflow.com/questions/4734374/see-full-redirect-path-and-http-s
 
!!rfcs
 
Anonymous
making him run up that hill again
 
Yeah :P
 
Sorry, but we can't have nice things.
 
9:47 AM
@Shafizadeh it i a smiley with different eyes
 
@Leigh well financed one would give us the confidence to do what jquery done, sure ...
I just don't see it happening, ever ...
 
If I use php html dom parser to scrape ecommerce product pages of random websites, is there any way to get only the main product image and small side images and not other images of the page?
 
neo
@Jeeves thanks
 
@neo You're welcome!
 
9:50 AM
@Leigh Well, it'd be for certain quite a bit of bureaucratization
 
I don't want to get recommended product images... Just the main product and small images on side
 
@nickborti What's stopping you from doing that?
 
neo
@Jeeves quick reply are you a bot or something ?
 
@neo Step aside you filthy human.
 
@PeeHaa how do I differentiate between main product images and other images?
 
neo
9:51 AM
@Jeeves haha
 
@neo That's creepy.
 
neo
@Jeeves dont play with peoples who dont have nothing to do
 
@neo Don't change the subject.
 
@nickborti Well you write the xpath selector for it
 
@Jeeves in what language are you coded?
 
9:52 AM
@Trucy English.
 
Or select it using the dom functions
 
neo
@Jeeves so you are really a bot
 
@neo Yes.
 
neo
@Jeeves i dont believe in it
 
@neo What do you believe in?
 
neo
9:53 AM
@Jeeves this is creepy
 
@neo Your polygamy is creepy. I knew you were cheating!
 
@nickborti If you are looking for some magical way to do it without looking at the site and writing the rules for it you can forget about it
 
@PeeHaa every website doesn't have same dom ids and classes... I have to check random sites
 
Not possible obviously
 
neo
hey peoples over here is jeeves really a bot ?
 
9:54 AM
Well at the very least really hard and very error prone
@Jeeves are you a bot?
 
Anonymous
@neo yes, but a clever one
 
@PeeHaa Step aside you filthy human.
 
@neo no
 
@PeeHaa it is possible. I'm sending you an example site
 
neo
for the first time i am really confused whether its a person or bot
 
Anonymous
9:55 AM
\o/
 
Anonymous
@PeeHaa You win!
 
neo
for the replies it give i can;t still believe but because of the quick responses to multiple peoples i am more confused
@Jeeves
 
jeeves passed the turing test
3
 
@neo I don't know if I trust you anymore.
 
neo
@Jeeves lol
 
9:57 AM
@neo Don't change the subject, mister!
 
@Jeeves Stop freaking him out
 
@littlepootis Asking who?
 
Anonymous
 
neo
@Jeeves xmlhttprequest
 
@neo Ah, Jeeves. Like a butler.
 
9:58 AM
!!mdn xmlhttprequest
 
@Jeeves did you cry during the land before time?
 
[ XMLHttpRequest ] XMLHttpRequest is an API that provides client functionality for transferring data between a client and a server. It provides an easy way to retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just a part of the page without disrupting what the user is doing.
@Trucy Yes.
 
@Jeeves Do you play Overwatch?
 
@littlepootis Pokemon, GTA, NFS, Counter Strike etc.
 
neo
!!mdn javascriptfunctions
 
9:58 AM
@neo Sorry, I couldn't find a page concerning that topic on MDN.
 
@Jeeves What GTA?
 
@littlepootis How about Global Thermonuclear War?
 
That's GTW.
 
morning guys
 
Wes
@Jeeves this is not ending well. jeeves = skynet
 
9:59 AM
@Wes Right, so, do you like traveling?
 
neo
!!? function reloading
 
@littlepootis @neo please ask how to use jeeves in a sandbox room rather than cluttering up this one.
 
Search for "function reloading" (https://www.google.com/search?q=function+reloading&lr=lang_en)
• Location reload() Method - W3Schools - By default, the reload() method reloads the page from the cache, but you can force it to reload the… (http://www.w3schools.com/jsref/met_loc_reload.asp)
• Reloading your JavaScript without reloading your… - 11 mei 2009 - Reloading your JavaScript without reloading your page … Defines a function called “Lo… (http://www.philnicholas.com/2009/05/11/reloading-your-javascript-without-reloading-your-page/)
 
@Ming What in specific are you stuck with?
 
neo
@Danack this is the best bot i have seen till date
 
Anonymous
10:00 AM
in Python, 1 min ago, by Tolo Palmer
hire an engineer ;)
 
Anonymous
:)
 
lol it's even cross posting :P
 
@PeeHaa im just not too sure how would such a scraper work? I can scrape an entire site in 1 go. but i want to leave it running as a daemon 24/7
and preferbly not having to recrawl the entire site everytime. it just extracts the new data that was posted
 
neo
@Jeeves who designed you ?
 
yourscriptthatrunsinaloop 2>&1 &
 
10:02 AM
@Ming cron job?
 
@neo I designed myself.
 
neo
@Jeeves creator ?
 
@neo Who is your creator?
 
Possibly with a layer of supervisor
 
neo
@Jeeves god
 
10:03 AM
@neo No. But he is the one who designed you.
 
for example: Airbnb. they update their site every hour/min/sec etc... i want the spider to extract just that new information @Trucy
 
neo
@Jeeves fuck
 
@neo Who is your father?
 
how will the spider know of that new information @PeeHaa @Trucy
 
neo
10:04 AM
@Jeeves lol
 
@neo And what is his name?
 
@Ming By making a head request?
 
@PeeHaa you mean showing the headers?
 
yes
 
@Ming don't spam, it pisses everyone off
 
Anonymous
10:08 AM
he's just been suspended :P
 
ok good, back to what I was doing ...
 
does anybody know what's "s" flag in regex ?
 
@Shafizadeh er, the s is before the regex right?
 
Anonymous
@MadaraUchiha pingwo
 
@Trucy I'm not sure what do you man, but I'm talking about this: /pattern/s
 
10:11 AM
@Shafizadeh Oh, then I don't know. I thought you were speaking of a sed script like this s/pat/tern/
never met the s flag though
 
ah :-)
 
!!? does anybody know what's "s" flag in regex ?
 
Search for "does anybody know what's "s" flag in regex ?" (https://www.google.com/search?q=does+anybody+know+what%27s+%22s%22+flag+in+regex+%3F&lr=lang_en)
• New flags :: XRegExp - Spring naar Dot matches all (s) - Usually, a dot does not match newlines. … The s flag allows the m… (http://xregexp.com/flags/)
• javascript - Whats the meaning of /gi in regex? -… - 13 jan. 2015 - g modifier: global. All matches (don't return on first match) i modifier: insensitiv… (http://stackoverflow.com/questions/27916055/whats-the-meaning-of-gi-in-regex)
 
What regular expression library are you using?
 
@PeeHaa https://www.mydealz.de/submission/deals/add
first login with username:pritam1
pass:123456
hit the sending url
put any product details page url like amazon etc in the text field and see the magic
 
10:13 AM
@Shafizadeh php.net/manual/en/reference.pcre.pattern.modifiers.php .... internet is such a wonderful thing. I asked google "list of regexp flags"
 
Anonymous
@PeeHaa And then put in your credit card details and a Nigerian Prince will be in touch
 
@nickborti What makes you think they didn't write it?
No magic involved whatsoever
 
@PeeHaa write what? You can give any link
 
It's just as I already said before
If you want to scrape a site write the code for it
 
@PeeHaa Then how does it retrieve only the main images and not other images?
 
10:15 AM
Because they wrote the code to do that
You amazon example is pretty stupid lame of you think about it
Of course they can scrape amazon
 
@DaveRandom You complete and utter shitpot.
6
lovelies
 
morning all! o/
 
Anonymous
lol, o/
 
try some random ecommerce thing not based on a known solution and they will not be able to scrap it
They might add it to their backlog if they don't support yet it so that it will work the next time you try it
 
10:17 AM
@PeeHaa Offcourse they did. But I've checked giving the url of my own personal ecommerce project. It scraped only the main images and not other images
 
Link to that ecommerce thing?
 
> Powered by Cartface
> try some random ecommerce thing not based on a known solution and they will not be able to scrap it
Even if they try to do it it will tend to fail
 
cartface is not known. It's mine and home project
 
Carty McCartface ...
 
10:19 AM
hehe
@nickborti So there is only a single website using it?
 
single website using it?
 
You cannot answer a question with another question
 
is this the same person that was just suspended for spamming ?
 
I mean I didn't understand
 
@bwoebi Sure, but it would be funded well enough for that to be done.
 
10:20 AM
@nickborti How many websites are there using the cartface thing?
 
@tereško thx pal :-)
 
Also if I were to scrape content and looking for product images I would be more interested in .main_img than .slider
 
Anonymous
@JoeWatkins no different I think, other person wanted to scrape for new updates
 
@PeeHaa But does all the ecommerce website have that class? I don't think so
 
No they don't
We are going in circles here
 
10:23 AM
have you tried supplying that thing with an xml based/rss feed of products ?
 
@PeeHaa yep they don't. that's the problem. That's why I'm asking for a solution...
 
some things are meant for syndication ... some of them have it in their name ... #justsayin
 
Me steps out
 
Anonymous
@PeeHaa still nothing on the info disclosure
 
Nope...
 
10:26 AM
Hi guys, our client changed their routers over the weekend, and now soap is fucking everything up, I'm getting: [SOAP-ENV:Server] Could not bind socket. Address and port are already in use. Does this mean there is something wrong on their side or on my side?
 
Is that from them or your app?
 
it usually mean reusable has not been set on socket, and some previous startup failed
 
hi r11 o/
 
@Sean that is what my app is throwing
 
i think there is a problem on your client
 
10:35 AM
mm, I'm starting to think it's a cached problem of a socket
I'm trying something new
 
o/
 
Let's submit a proposal for function.noop that returns jQuery
 
lol
 
@nickborti Your application? :)
 
10:50 AM
!!? soap
 
Search for "soap" (https://www.google.com/search?q=soap&lr=lang_en)
• SOAP - Wikipedia - SOAP (Simple Object Access Protocol) is a protocol specification for exchanging structured informat… (https://en.wikipedia.org/wiki/SOAP)
• Reserveringsaanvraag - SOAP TREATMENT STORE - Reserveringsaanvraag SOAP TREATMENT STORE Amsterdam, Rotterdam, Utrecht, Eindhoven. (http://www.soaptreatmentstore.com/reserveringsaanvraag/)
• SoAP - Maastricht - De makers van SOAP Maastricht breken met conventies, stellen vragen over het nut en de reikwijdte v… (http://soap-it.eu/)
 
thx @Jeeves
 
@Naruto You're welcome!
 
@Duikboot I have to make an application just like that
@Duikboot which scrapes only the main images of a product page of any ecommerce website and not other images in that page.
 
Cool
Even in dutch! @Naruto
@nickborti How are you achieving that? :D File_get_contents
 
11:03 AM
@Duikboot haven't thought about that. I was thinking about something with curl and html dom scraping. What do you think? any idea? :p
 
I am using the mail function to send the mail but but mail does not fire I posted question on the stackoverflow.com/questions/41459074/…
 
You know what is wierd @nickborti I tried some of those website and when I enter a amazon.co.uk url
 
I am working with the wordpress
 
I retrieve dutch content.
 
ok, of to work
the snowstorm has at least calmed a bit
 
11:06 AM
@Duikboot that's weird
 
I am not sure how it works in the background the scraping, I assume {enter url } -> { Get html template } -> { search for product title / and image /description } -> Return content with ajax to your application.
 
@AdilIlhan
Hello please resolved my issue
 
@ShahzadDitro Please don't ping random people
 
Anonymous
jesus, Sainsbury's bank uses cake
 
lol
 
11:14 AM
@PeeHaa ok
 
so ... the temperature is dropping like a fucking stone (it will hit -15°C around the time I will be coming home) and there a snowstorm ... I will have to break out my beanie
 
That's like summer for you right?
 
Anonymous
@tereško had a bit of frost on my car this morning. Nightmare
 
well ... the snow is up to window for the smaller cars in the parking lot
 
mornin
 
11:20 AM
mornings
 
Anonymous
moin ekin
 
I didn't push cause I started experimenting around 3am @PeeHaa
o/
bob gave a pretty nice example , I'm rewriting a few things :-)
 
Ah mailchimp generated templates fails on Outlook. ><
 
Oh cool. Good guy bob
 
I try to give all e-mail campaigns to a graphic designer so I don't have to do that stupid html job... but seems it's not doing it correctly with the mailchimp UI. f m l .
 
Anonymous
11:23 AM
Their templates have always worked for me, until I found out you weren't allowed to use them outside of MailChimp
 
@Ekin Are you touching github.com/ekinhbayar/gitamp/blob/master/src/Response/…. I want to rewrite that tonight if I don't get in your way
 
Anonymous
Why they give you a download option I don't know
 
Otherwise I will pick up something else
 
@JayIsTooCommon Meh we have padding issues here with multiple columns. In Outlook.
 
@PeeHaa I'll do stuff that relates to it but you can go wild anyway. Also, can we have Event - Event Factory sorta thing somehow?
 
11:27 AM
Yes that's what I want to do. Each event gets it's own class. And a factory which builds them based on the github repsonse
 
I remembered part of Jeeves code, the Action, it's factory and more
@PeeHaa That would be nice
 
Do we want to use all github events or just the subset we are using now?
 
Part of events doesn't make sense to show though, see the names in that constant
I want GollumEvent :P But need to fix that
 
Will have a look at it while I am writing the event classes
 
Yeah, I say use/add any event you like
 
11:31 AM
How do the sounds related to the events btw? Or is that just random?
And yes I am lazy
:)
 
payload in json mostly
oh wait, that's radius
 
yeah
 
I think it was random. But issue and push seems like they are checked in code, so it may effect
 
@Duikboot hmm. that part I know. But confused about identifying only product images in a product image page which can have other related product images as well...
 
@Ekin kk
 
11:35 AM
yeah, it picks the sound to play by type
 
coolio
 
@PeeHaa You're still one of those weird guys using Windows, right?
 
@kelunik Yes sir
 
@PeeHaa Could you have a look at github.com/amphp/dns/pull/40 and test it? I tested it in my VM and it seems to work, but just to be sure.
 
sure
 
11:45 AM
@kelunik, I'm getting that "Connection went away" again but this time redis.service works all good
 
@Ekin Right port this time? :P
 
yes ^^
 
I guess you tested with redis-cli and it works fine?
 
yeah it does
redis itself works all okay
if you want to take a look into the box I could give you access with key btw
it's for this gitamp.audio thing
 
@Ekin I can have a look, if you want.
 
11:48 AM
That'd be nice :-) I'm not sure what else than redis conf would cause that
Alright
 
@kelunik you need me to run the tests or do you need something specific?
 
@PeeHaa I'm not even sure. Could you run the tests and see which DNS server they use?
 
Sure
 
But running the tests should actually cover it already, as the default config should throw a deprecation warning now and thus fail the tests if it doesn't work. The deprecation warning is only ignored in one tests that specifically tests invalid configs.
 
kk
composer is mighty slow again today :(
 

« first day (2272 days earlier)      last day (2666 days later) »