« first day (2390 days earlier)      last day (2558 days later) » 

12:43 AM
user image
7
 
1:08 AM
Ugh... I believe today was the last of my participation on meta for a little while now..
 
1:37 AM
@Tiffany you deserve a no moderation day once in a while ;)
 
2:00 AM
Unable to upload new release for package – #74525
 
 
1 hour later…
3:07 AM
@tereško were you the one to share this twitter gold nugget? anyway have a laugh/suicidal thoughts again twitter.com/PresidentMazey/status/823540064424706048
 
3:35 AM
Segfault generating phar.php – #74527
Segfault generating phar.php – #74526
 
 
1 hour later…
4:59 AM
moin
 
5:13 AM
o/
 
Morning joe.felix
o/
 
o/
 
5:34 AM
\o
 
5:58 AM
\o
 
\o
 
6:43 AM
o/
 
Top o' the mornin' to you laddies!
 
7:08 AM
Morning all! Is anybody able to shed some light on stackoverflow.com/questions/43726162/… ?
 
if some error is logged in production,do i need to check error log on server every day for that or there is some automatic email can be setup which mails me about error is logged and you need to fixed?
 
hi.can you help me on this
 
7:30 AM
 
meurnin
 
@Tiffany HAPPY BIRTHDAY!!! (belated)
 
posted on May 02, 2017

New Cyanide and Happiness Comic

 
@Tiffany Happy birthday!
 
No clue here @Mostafa, but then again.. i've never used Curl for FTP actions..
 
Anonymous
7:42 AM
mornin
 
Check the file present in ftp location, since it clearly says -
cURL error (78): Remote file not found
The resource referenced in the URL does not exist.
 
@FélixGagnon-Grenier oh, yeah, I remember that
 
Anonymous
@FélixGagnon-Grenier what is she replying to?
 
Morning 11
 
7:58 AM
moin
 
hey everyone
quick question how can i pass name, height, mass from one page to another without using submit(like passion through form) is there any other means to it ???
 
Hm. Slack or hipchat
@Smple_V Uh, GET in links, AJAX to session, cookies (why would you do this), local storage
Depends what you're trying to do
 
@Sean thanks mean i want to pass these three detls (name, height, mass ) from one page to another .
also i want to ask is it possible to store or pass more than one value in session ?
 
Sounds like it would be preferable to use form submission
 
u mean like get and from ?
like get all the data and pass it using form when the submit button clicked ?
 
8:05 AM
@Smple_V use a session
 
Is it normal for wordpress to funnel any requests to images through wordpress instead of serving it as is? @PeeHaa? @DaveRandom?
 
okay so i went through the session seems like it should work. Just to be clear i can pass all three values (name, height, mass) from one page to another using different session name and when i logout the use session unset and destroy the relevant details will go away from the user's memmory
 
:D
 
What are you complaining about Sean.. at least you have tests :)
I'm limited to php lint on most of our legacy files ;p Lucky I don't have to touch them that often.
 
8:23 AM
Apr 20 at 7:26, by Jimbo
Can anyone recommend a solid list of reliable https proxies (free / paid)? Asking for a friend. Yes a friend I don't have time for any illegal shit atm
^ dedicated for just one user
 
Oh that isn't tests
That's application monitoring
3 of our main sites have ground to a halt
 
8:59 AM
@Jimbo "https proxies"?
 
most of them are crap filled with ads
 
@Gordon No idea
Morngins
 
@Jimbo True story: I went into a xxx store to buy Pamela Anderson's home video for a friend some years ago. She requested it as a birthday gift. So I walked up to the clerk and asked whether they have it and added that it's for said friend. ALL the people in the store broke out in laughter and went "mmmright" on me.
6
 
Haha, actually true? Holy crap
Mine is also properly true
 
Why a proxy instead of a vpn @Jimbo?
 
9:05 AM
Not my choice, I told you it's actually not me
 
Still why? What's his/her reason for this?
 
Anonymous
@PeeHaa hoimoi
 
It's hard to recommend something not knowing the specifics :P
@JayIsTooCommon o/
 
@Jimbo You want some proxy in Bosnia
 
proxies just work, type the URL in the browser.nothing to config
 
9:09 AM
I know he wants to automate switching through proxies when he gets blocked on one
So he wants to feed a working list to whatever his software is doing
 
@Jimbo Will he get blocked based on volume / malicious stuff?
 
sounds dodgy even for Bosnia
 
Also it sounds like he wants to do stuff without getting a proper solution
Imma step away
 
@PeeHaa Not malicious. Think torrents. Not sure though
Oh wait, no
I remember now (he's not in)
He's wanting to scrape sites
and when he gets blocked, he switches to another one, so he has a reliable source of data
@DaveRandom are you drunk again?
 
9:17 AM
@Jimbo Buy ips / vpses instead
 
Having to set up and configure a shed tonne of VPS's instead of just switching to another proxy
Much more work
Plus, they're expensive
 
lol
No they are not
c'mon
 
Compared to a proxy?
high throughput scraping...
 
What does a paid proxy cost?
 
I don't know, I was asking you guys :P
 
9:19 AM
A cheap vps is cheaper than a paid proxy
 
@Jimbo uh... no? :-P
 
Okay okay, so assume he gets a shed tonne of EC2 instance
which all come from a certain IP range
and he scrapes, and this site figures out he's scraping, they just block the EC2 ip range
 
2 mins ago, by PeeHaa
@Jimbo Buy ips / vpses instead
Than buy / rent ips
Or even better. Prevent getting blocked in the first place
 
@PeeHaa Hmm, how'd we 'clever scrape'? Do a bit then switch to another vps?
docker, explained https://twitter.com/fioroco/status/858377428166725632
 
@Jimbo tor
 
9:23 AM
Hm, tor is slow as shit, but that might work
 
If you are just scraping sites, that shouldn't be an issue
 
@Jimbo yes that and don't hit servers too hard. And mimick legit bots
 
basically your choice is: small-ish performance penalty, or maintenance nightmare
 
Hmm, I'll suggest tor, never thought of that, cheers. Fallback is @PeeHaa with strategic scraping
 
I would personally choose the former every time
 
9:27 AM
I like evading blocks
Such a nice sport
 
hello, I'm looking for resources to understand more about the zval and references etc, and how php extensions really work. I saw references to the book "Extending and Embedding PHP". But I see it is more for PHP5. Is there anything more updated and relevant for PHP7.
 
we all do
 
@JAamish I don't think so. The 4 most recent posts here might be useful for you.
 
Thanks @DaveRandom @Gordon
 
9:34 AM
@PeeHaa should become an american football player or rugby
 
!!wotd
 
dox: to publish the private personal information of (another person) or reveal the identity of (an online poster) without the consent of that individual.
 
@JAamish This chat room is also a good resource if you have any specific questions arising from those resources, quite a few PHP internals developers hang around here. You may or may not get an answer at any given time (depending on who's around at the time), but if you don't it worth trying again later.
Also @JAamish you might find lxr.room11.org useful. That has a load of stuff on it but we maintain all currently active branches of PHP on it, you can choose which project(s) you are working with on the front page.
php-src@master is what will eventually be PHP 7.2
 
Anonymous
@JAamish There is also a screencast by @JoeWatkins on youtube youtube.com/watch?v=5FoHyfu8meM
 
Anonymous
There isn't a month that passes by without me telling myself to learn C to check out the php src, but getting started with C is difficult :/
 
9:41 AM
@samayo I found learncodethehardway.org/c very useful when I was starting out
 
Thanks for the tips @DaveRandom, @samayo
 
:-)
 
Anonymous
@DaveRandom Did you have any existing knowledge of CS before that? I know nothing about TCP/IP/Networking .. So it may not have the same effect for me.
 
Anonymous
I need an online tutor.
 
I found that alcohol helps a lot
 
Anonymous
9:43 AM
I know it seems like a joke, but I could get a lot from asking someone on person, than I could by reading about it for days/weeks (which I don't have)
 
@Naruto I hate scrum
 
Anonymous
I will hire someone from India :)
 
Anonymous
^ serious
 
@samayo That really has nothing to do with networking or anything like that. The biggest thing you need to know about when you pick up C coming from a high-level language is "manual" memory management, I found that book really helped me understand it
 
@PeeHaa you just run, like Forest...
 
9:44 AM
:P
 
Before I picked up that I basically knew PHP and VB
Amazingly I survived that experience, and became the well rounded psychopath you know and love
 
@DaveRandom Do you want to contribute the cancellation primitives to Amp?
 
@kelunik So here's the thing about that. Yes, I very much do, but I am aware that right at the moment I am just not reliable enough.
I have the best intentions and then RL keeps getting in the way.
So I have booked time this week to finish amp/dns, but I am not going to commit myself to doing anything else while that is outstanding.
(I did some more work on Fri, btw, but I then didn't touch a computer for the rest of the weekend)
and I'm sorry I am so fucking unreliable, it's pissing me off as well :-(
 
@DaveRandom Don't worry, we have many other things pending until v2 is ready.
 
OK well if no-one has implemented cancellations by the time I have finished amp/dns, I will do it
I will structure amp/dns around being able to easily add cancellation support
 
9:49 AM
@kelunik A month to go for proper RCs or am I being too optimistic now?
 
Amp itself should finally be relatively stable after the iterators changes have been merged, but we have to make the stream changes and rewrite Artax now I guess. I want to release them at the same time as Amp.
 
mornes
 
Not trying to be pushy here btw. Just interested :)
 
Gr, manager declined to buy the IT office a screen for monitoring the server lol.
 
@pmmaga o./
@Sean lolwat
He's not your manager right?
 
9:51 AM
Yeah he is
 
@PeeHaa Note sure whether there will be proper RCs or it being simply released.
 
@kelunik I would really suggest doing the RC dance and hope people will start playing with it
Especially that last thing will be hard :(
 
@Sean You didn't ask for a big enough one youtube.com/watch?v=7Ew8rdu7ZY4
 
@Sean What other jobs have you find yet? :P
@JayIsTooCommon lolwhat
 
9:52 AM
@JayIsTooCommon I've had that before
 
Your websockets are drunk
 
Oct 24 '16 at 8:21, by DaveRandom
@PeeHaa your name is currently appearing for me as "slogan"
Aug 18 '16 at 15:04, by DaveRandom
@PeeHaa Umm, so for me, this message, your name says "slogan" :-S
Always @PeeHaa
 
lol
 
Anonymous
how odd
 
Both times I've reloaded the page to fix it
 
9:53 AM
It's not just the name
 
Anonymous
Is there a meta post anywhere kicking off about chat being shit and abandoned?
 
The messages are also weird
Yes weird. From me. inb4 bad jokes
 
@PeeHaa Holy shit that was a little awkward
My direct-manager kinda guy was looking over my shoulder when SO popped up with that notification
 
@Sean Because of my typo? :P
@Sean hehehehe
 
Thankfully me and him are in the same boat
 
@Sean I just expedited getting you a new job :P
 
Hahah :P
 
:D
 
I'm not just being a spoiled dev right? Having a monitor to track that sort of stuff is handy
I've never had one before. The only room screen I've had was tracking Trello in my first job, and it was useful
 
I would not take it as a good sign when somebody is bitching about a fucking monitor
As in I don't understand what somebody would have against it
 
10:01 AM
The same thing that they have against my suggestion, 12 months ago, that we spent £3000 on replacing all our LAN switches.
They didn't do it because £3000 sounds like a lot of money, until 2 weeks ago when we lost ~£35000 from losing 2 days of trading because... guess why
 
You fucked up?
:P
 
Actually for once, no
 
:-)
 
You have to sell these things as "here's how much money we will lose if you don't do this"
Which I didn't do well enough 12 months ago, so in that sense I did fuck up, because I already know that's how to get this sort of stuff
I used to hit the same thing when spec'ing up phone systems as well. People don't want to fork out the extra £2500 for a redundant CPU, until eventually a site gave me a perfect case study, then everyone was happy to do it.
 
mb_check_encoding Documentation Confusing – #74528
 
10:13 AM
@DaveRandom can I interest your boss in some fine APM and infrastructure monitoring? :)
 
is it me you're looking for?
 
yes bro after very long time?
all fine?
 
I am pretty sure that's not the correct lyrics
 
mornin
 
10:16 AM
morning to all experts
 
o/ mornin tereško
 
@Gordon lyrics depends on mood of people
 
@SagarNaliyapara actually, no.
on a completely different subject: if any of you ever wondered why german engineering is said to be the best in the world: this is from an pre-school kid's educational tv series
2
 
Anonymous
@Gordon what is that supposed to be proving? I'm confused
 
@JayIsTooCommon you having to ask already proves my point :)
 
Anonymous
10:24 AM
that your language is bad?
 
on the contrary. it's a very precise language.
 
ThW
@JayIsTooCommon the language teaches you to think in a specific (descriptive) way
 
Wes
@Gordon our pre-school kids educational series are called "peppa pig"
actually that goes up to university
:B
 
please help me
how to access php files of one computer by other which havnt wampserve
r
 
@Wes I know. I tell the son to skip that on YT when he clicks it by accident
 
10:30 AM
i didn't understand that :(
 
Anonymous
@Gordon why's that?
 
I just found a black widow, totally smashed it ...
 
Anonymous
harsh
 
avengers??
 
whatever dude, it had muscles, and teeth, and I think it was probably packin' ...
 
Wes
10:32 AM
@JoeWatkins in europe? isn't it like from asia
 
Anonymous
we have false black widows, but not black widows afaik
 
I think they are the only native dangerous species
I'm not a spiderist, so don't know if it was false or not, smashed it anyway ...
 
Anonymous
or we did have, until Joe decided to be the cruel man that he is.
 
Wes
lol
 
it was me or the spider, I'd do it again ...
 
Anonymous
10:35 AM
could have put it outside.. Poor thing probably just wanted to bite your hand off. That's all.
 
Wes
lol
 
I was outside
 
Anonymous
Well.. now you have no excuse.
 
Wes
how close to your house. i wouldn't risk to host it in my house like while i'm sleeping
 
on the driveway
 
Wes
10:37 AM
i hate spiders, insects
 
I usually leave them alone if they can't do me any harm ...
 
Anonymous
me me me
 
@Wes spider are said to bring luck ... probably related to the fact, that they eliminate insects, that in ancient times were one of the main sources of spreading disease
 
@PeeHaa @Jay died, can you flush him and get a new one please ...
10
 
lol
 
10:39 AM
ahahha
 
Wes
lol
 
Anonymous
@JoeWatkins there's been enough death for today.
 
Wes
@tereško i don't like them :B i don't care the small ones...
 
I saved a life today, some poor little fly or other spider, or small vole or whatever the fuck they eat is going to get to go home to mrs (or mr) fly or spider or vole ...
 
Wes
lol
 
10:44 AM
@DaveRandom cancelling in amp/dns is basically not retrying in case a request would need some other request (e.g. truncated response), right? (or perhaps dequeuing if it's not yet sent when using tcp)
 
Anonymous
@JoeWatkins she was vegan.
 
:P
 
11:01 AM
@bwoebi Right, but it shouldn't ignore the response and still cache it.
 
@bwoebi Yeh, basically it will just unset() the internal request state (unknown responses are already silently discarded top avoid blowing up when the server does something weird)
So whatever point the request process has reached, it just won't progress to the next stage
 
DateTime::diff seems to ignore $absolute = true – #74529
 
@kelunik good point, that will require slight restructuring but I think it is reasonable to do caching-related things as the first stage in processing a recieved response (before mapping it on to request handlers)
 
Wes
does $absolute even make sense
 
Yes
It's relevant for e.g. DateTime::add()
 
Wes
11:13 AM
?
 
@Wes if you just want to know that 2 dates are 6 months apart and not care about which one comes first
 
@Gordon nice :)
 
I can imagine cases where you want to know the difference between 2 dates and add it to a third, and you don't want to add a negative to the third (effectively subtracting)
 
Wes
@pmmaga so much redundancy, with add, sub, $interval->invert, $absolute
i hate ext date
 
It's just sugar. I don't see a good reason to force people to check ->invert every time
It's OK for there to be more than one way to do something...
Although I concede it might be nice to have abs() work with DateInterval objects (in which case I'd be fine with getting rid of the arg)
 
11:30 AM
Wrong note for rand() – #74530
 
Did you recover from your fuckup yet @bwoebi?
 
5, that's got to be close to a record
 
13 messages moved to Trash
 
oh sorry @kelunik
 
11:56 AM
Is there anything on Linux to run a script at half the speed / inserting a noop between every other op?
 
@kelunik nice?
 
@kelunik virtualbox
 
Anonymous
12:15 PM
The wordpress site I am (hired) working on has 51 Javascript files and 26 CSS files.
 
Anonymous
Total of 77 asset files
 
Anonymous
I can't be the only one to find this is insane
 
Anonymous
depends on the scale, surely
 
@samayo don't try to reason with WP. You are gonna have a bad time.
@kelunik E_XY
 
@JayIsTooCommon a student that accuses the University of not being inclusive by letting kkk members express themselves freely
Ofc it's lab equipment on a lamp.
@samayo only 77?! Imagine with some images!!
 
12:23 PM
missing context much? :-P
 
Ugh, on mobile.!
 
Anonymous
@DaveRandom Yeah. That isn't even the half of it. The WP site was created (outsourced) to India. It was a mess, now I have to make it work.
 
Anonymous
Good thing is that I get to update my CV with more experience, for now
 
Anonymous
@FélixGagnon-Grenier hahaha, wonderful
 
@samayo Step 1: Install (and configure, properly, having read the docs!) W3 Total Cache
 
Anonymous
12:29 PM
@DaveRandom Nice plugin
 
@DaveRandom Or even better, don't put the wordpress on the internet, but instead just publish all of the pages as one massive static site.
 
Don't even get me started on that
 
Anonymous
@Danack Not possible. It's a match-making site but for accountants and people who need accountants. It has to be dynamic.
 
Wow wordpress is not a good platform for that
 
@samayo I would have made that matching service be a separate API, and just call it through Javascript...
 
12:32 PM
@Jimbo @Naruto thanks :)
 
btw current status: REACTJS ALL THE THINGS.
 
<3 ^
I really hope you are serious, because I am :)
 
@Gordon google says it's a railroad carpet cleaning machine
 
Anonymous
@Danack The CTO doesn't want to me to make changes like that. He wants me to "follow and do" the same thing as designers in India did
 
@Danack I am so sorry
"Hey, let's mix CSS, JS, HTML etc all in one file. Fucking brilliant idea"
 
Anonymous
12:44 PM
That's exactly what I have currently.
 
Anonymous
Don't forget jQuery also.
 
@Jimbo actually, it's more like "hey let's have our view layer in one place, and have it do the view, and only the view", which is a brilliant idea ;)
 
But it's behavior, presentation and aesthetic in the same language.
 
@Tiffany kinda. not carpet but gravel
 
user4962466
Hey peps
 
user4962466
12:52 PM
question of the day for the OOP purists
 
Anonymous
 
user4962466
is it considered an anti-pattern to inject a DI container into a service class ?
 
@0x13a Probably
@0x13a If you are using it to just instantiate / grab stuff you are using it as a service locator
 
user4962466
i have a strategy pattern implementation, where the context class that instantiate the strategy, needs the container to instantiate a different strategy class
 
@0x13a Yes, that's a "service locator"
 
user4962466
12:54 PM
so either i use the container
 
user4962466
or i put tons of dependency in the context calss
 
Ah, I know exactly what you're saying dude
So if you were using something like auryn, then you wouldn't need to worry about injecting the container because it's all done via reflection
Are you using a framework? Because if so, there'll be DI limitations
 
user4962466
you got it
 
user4962466
symfony
 
user4962466
3
 
12:56 PM
I just did this recently
 
user4962466
or i could just return the string and use reflection to instiantiate that classes in the client
 
My solution (may not be the right one, but it was one that worked) was to use an abstract factory. A factory can use a container to get what it needs, it can use whatever it wants to create something. So.. abstract factory class (constructor takes container), then in concrete factory classes grab what you need
 
user4962466
injecting the abstract factory into the context class then
 
user4962466
it sounds nice
 
user4962466
yeah
 
12:58 PM
It's a downside of not having the auto wiring though
 
user4962466
the point is that all is based on this crap DI container pattern
 
That's that pimple thing right?
 
user4962466
and everything now depends on it
 
user4962466
Symfony container
 
user4962466
btw thanks
 
user4962466
12:59 PM
@Jimbo say hello to the dudes in palma
 

« first day (2390 days earlier)      last day (2558 days later) »