« first day (2328 days earlier)      last day (2620 days later) » 

Wes
12:39 AM
@corey how so? it's surprisingly lightweight considering what it can do
windows? linux? mac?
 
Wes
1:06 AM
When your code is a mess but everything works out in the end https://t.co/UEyb93sPq6
 
 
1 hour later…
> (has no internals knowledge)
 
Wes
> (knows nothing)
i wanted to add that because while i make it seem something trivial, could be actually hard to implement
 
your lack of internals knowledge doesn't change that either way
 
Wes
well, perhaps one would vote no if implementation would suck
it's not a huge gain. if it's not easy doing it, well, better not doing it
in fact discussion will not be on whether that is good or bad, it will be on the implementation. and i have no idea about that. so i wanted to make it clear :B
should i remove it? makes me appear like a fool
which i am, but i would rather appear kind of professional :B
 
I'd remove it
 
Wes
2:35 AM
done. thanks :B
 
@Wes Hey, my implementation for return types worked fairly well and Dmitry rewrote the whole thing anyway.
 
Wes
rofl
 
Wes
2:49 AM
speaking of documentation @LeviMorrison since php doesn't support return type variance, php inspection in phpstorm thought to match it so this is an error now:
class A{ function x(): A{} }
class B extends A{ /** @return B */function x(): A{} }
i'm so depressed by everything...
 
@Wes Wait... they really did that?
 
Wes
yeah, it's a weak warning, though
this is the eap. what do you get in older versions?
 
Ah, I don't actually specify a return type (I just leave it to docblock)
 
Wes
no, i mean. it's worse than just that: i.imgur.com/zqnYdmC.png
B is not inferred. only understands the original type now
 
 
2 hours later…
4:45 AM
Mornings
 
Wes
5:01 AM
\o
 
5:16 AM
mornin
 
Wes
@NikiC so, when i'm adding (no existing key is found) a new entry in the open addressing hash table i could reuse one of the tombstone buckets encountered during the iteration. Should I reuse the first encountered or the last encountered? If I've understood cache locality correctly, reusing the last one will be better, right?
hey brzuchal \o
 
o/
 
Good morning guys
Laravel experts here?
 
Wes
5:36 AM
yesterday, by Paul Crovella
36 mins ago, by Saitama
Jan 29 at 20:22, by kelunik
Jan 5 at 9:13, by kelunik
Dec 23 '16 at 9:42, by Joe Watkins
we don't do laravel
looking forward to see how big this will become
:P
 
morn morn morn morn
 
\o
 
Wes
\o
@astrosixer just a joke though, no rudeness intended
 
Hello
I want to use google alert feature
but there is no API for that
i want to get news based on keywords specified by users
i have searched alot but there is no API so i am confused how to do it
 
5:53 AM
morning r11
o/
 
6:26 AM
!!? google alerts api
 
Search for "google alerts api" (https://www.google.com/search?q=google+alerts+api&lr=lang_en)
• database - Google Alerts API? - Stack Overflow - 13 mei 2009 - class googleAlerts{ public function createAlert($alert){ $USERNAME = 'XXXXXX@⁠gmail.co… (http://stackoverflow.com/questions/860442/google-alerts-api)
• Google Alerts is Dying: Four Alternatives for Mob… - 21 okt. 2013 - Pros: API (Google never offered this with Alerts), dashboard statistics, real time a… (https://www.semrush.com/blog/google-alerts-dying-5-great-alternatives/)
 
@MuneemHabib I can see several libs for that in these results. Maybe don't search in pornhub?
 
@Wes no worries
Bad luck for me that you guys don't do Laravel
I just want to learn Laravel
 
Wes
you want to learn Laravel... on purpose?
 
apparently
 
Wes
6:31 AM
... also a joke :B
 
Awaits to join a new company
They are using laravel there
Yes I want to learn laravel
 
morning
 
morning !
got a chance to use yield from :D
 
Linus is a laravel expert
6
iirc.
 
@astrosixer do you need a laravel expert? I had to use laravel in lots of work projects, dunno just another framework, you can avoid doing some ugly stuff like statics everywhere, but I guess that depends on how the company you are going to use it
 
6:45 AM
@Linus Now you should say proudly that Yes I am doing laravel when someone comes here and asks for laravel expert. :p
2
 
:P
 
7:00 AM
@astrosixer great news. this means r11 will have an expert laravel basher
 
@littlepootis lol :P
 
0
Q: Paypal: How to work with doCapture API?

Ankit ShahI have below Paypal PHP SDK https://github.com/paypal/PayPal-PHP-SDK https://developer.paypal.com/docs/classic/api/merchant/DoCapture_API_Operation_NVP/ I would like to use doCapture API. I have already done Paypal Transaction with Authorize Method, now want to capture it. Not able to find e...

Any one can help on above ones ? Thanks
 
7:54 AM
And a happy birthday to me \o/
15
(also moin dear laravel experts)
 
Wes
happy birthday \o
 
8:15 AM
ty Wes o/
25 years old, I somehow feel wiser
 
think back 5 years about what an idiot you were, then imagine yourself at 20 thinking back 5 years as well
30 will be no different, it never stops
 
Yeah the biggest error I did at 20 was signing for a credit
Never doing this shit again
But yeah, I don't get all the "I feel old"
 
@Trucy gratz trucy!
 
gz @Trucy
 
8:27 AM
being stuck btn laravel and yii... any advice on which i should stick too?
which 1***
 
@emilkitua sanity
 
@emilkitua I don't know the btn framework, but I bet it's the better one of the three
 
liquor
 
tnx @PeeHaa and @Izopi4a :)
 
@Trucy Congrats. Now you're another year closer to
not having to write php
 
8:29 AM
@PeeHaa hahahaa.. btn = between... so i should drop both?
 
Yes drop it all
 
@emilkitua this one
 
From as high a building as possible
And set it on fire
And nuke it from earth to be sure
 
@littlepootis only the dead know the peace of not writing php
 
:P
 
8:29 AM
that'll just get it all over the place
 
@PeeHaa hahaaa ok
 
ha
 
tbh I'd rather be close to a nuclear bomb than a PHP framework
 
8:40 AM
Happy birthday! @Trucy
 
thanks @Akshay
 
@Trucy happy birthday!!
 
Thank you @Linus :D
 
Happy birthday ^^
Moin 11
 
8:50 AM
o/
 
\o thx @Sean
 
happy b'day @Trucy, have a good one!
 
happy birthday @Trucy
 
thanks @Saitama and @JoeWatkins :)
 
8:55 AM
also, moin all
 
o/
 
Anonymous
mins
 
Anonymous
@Trucy Happy birthday brah
 
morgen new people
 
@JayIsTooCommon thx brah init
 
Anonymous
8:57 AM
!!wotd
 
malfeasance: wrongdoing (used especially of an act in violation of a public trust).
 
> Oh, I see, "may not" as in "are not allowed to".
O.o
 
Anonymous
wa ?
 
!!scorpio
 
> ♏ Scorpio | Oct. 23 to Nov. 21
Don’t worry: They’re not laughing at your repeated and costly failures. They’re laughing with your repeated and costly failures.
http://www.theonion.com/features/horoscope
 
9:00 AM
OP got confused by english bugs.php.net/bug.php?id=74049
 
thanks, @Jeeves. that helps.
oh, and for the birthday @Trucy :
!!pisces
 
Wes
@PeeHaa my guess he's italian. we say vital referring to things of primary importance :B
 
> ♓ Pisces | Feb. 19 to March 20
The presence of Jupiter in your fourth house indicates newfound personal maturity. The presence of empty pizza boxes in your first apartment, however, suggests otherwise.
http://www.theonion.com/features/horoscope
 
1841€ for a 2 TB usb stick I mean come on what the fuck (plus we have a "Copie privée" tax, meaning that we have to pay an extra 200€ to pay)
@Jeeves TIL I'm mature
 
@Trucy ILL hurt you.
 
Wes
9:03 AM
also mornings phpeeps
 
morgning wes
 
@Trucy When I see stuff like that I assume someone put a decimal point in the wrong place
 
@DaveRandom I wish :[
 
Good moanings
 
9:07 AM
free uk delivery though
 
> I don't often spend £2000 on castors, but boy is this product worth it! Not only does it turn the carpet fibres to pure gold as it rolls over them, it is capable of walking my dog unattended, and makes a great spare wheel for my solid gold Lada Riva.
 
it must deliver itself
 
@salathe o/
 
/me goes to work
ttyl
 
9:09 AM
à plus
 
mornings 11!
Happy birthday, @Trucy! :)
 
thank you @pmmaga :D
 
posted on March 01, 2017

New Cyanide and Happiness Comic

 
9:30 AM
@PeeHaa did that gitamp memory leak have correlation with those funky requests or was that entirely unrelated?
 
!!booze @PeeHaa is a slacker
 
@PaulCrovella It may have been related. Or it may be related to the dns failures. Or it may be related to none of those and just our crappy code.
Really have no idea tbh :(
 
you were never able to recreate it locally?
 
Nope not really
Not even on production when I tried to find it
 
who was it that said they have 0 gh notifications ?
 
9:32 AM
does "not really" mean "not at all" or something else?
 
All feels random to me. Which is obviously not the case, but no idea
@PaulCrovella Not at all
 
On production after pounding with ab I do see increased memory
 
I have 85 and need somewhere to forward them ... volunteers please
 
you can send them to jeeves
 
9:33 AM
But I am not sure how to interpret that
 
@Jeeves is too terrible
 
@JoeWatkins Why are you terrible?
 
@Jeeves thanks for proving my point
 
@JoeWatkins You're welcome!
 
@PeeHaa an unreasonable increase, or appropriate for the pounding?
and did it drop when you stopped?
 
9:35 AM
imo unreasonable
And no it didn't drop
 
ab is the worst ever tool for anything ... use wrk, or something else that is good
 
But bob confused me
@JoeWatkins I just need to automatically send requests
Not trying to benchmark
 
ab is not able to put pressure on anything
 
60
A: Reason for Stack Overflow being down due to webcams?

Martijn PietersBlack hat hackers have recently discovered the joyous existence of millions and millions of IoT devices, mostly routers and web cameras, that can be hacked and turned into a large DDOS botnet. Such networks are generally known by the malware that creates them, Mirai. Apparently such a Mirai botn...

 
Not needed
 
9:36 AM
Gotta love IoT
 
Feb 10 at 23:49, by PeeHaa
ok gitamp it leaking mem and I have no clue why
I start trying to do stuff from there ^
 
Does somebody have an idea why a build on Travis works for a branch but not for a tag? travis-ci.org/sebastianbergmann/php-code-coverage/builds/… and travis-ci.org/sebastianbergmann/php-code-coverage/builds/… run on the same revision, one works the other does not. Installing the dependencies with Composer does not work on the tag for some reason I have not figured out yet.
 
well wrk will more realistically emulate the kind of traffic ayres is able to deal with ... even if you don't need the pressure, it may behave differently whatever
 
But honestly I have no idea how to find out about this stuff :(
 
> after start 44.80 Mb aerys
I'm getting 0.8 at start
 
9:38 AM
@PaulCrovella Try connecting one client
 
are you using the cache @sebastian ?
 
It only starts retrieving data from github once a client connects iirc
 
@PeeHaa no change
 
hmmmm
 
ballerinalang.org #interesting
 
9:40 AM
I can give you access to the prod machine tonight when I get home again @PaulCrovella
 
@JoeWatkins What cache? I clear the Composer cache: travis-ci.org/sebastianbergmann/php-code-coverage/builds/…
 
@PeeHaa I don't know if that'll help, but will have a poke. you got verbose logging happening?
 
I just looked at .travis.yml, no directories entry, so no caching ...
then I'm not sure how that happens
 
@PaulCrovella Not really that verbose. We are mostly logging two things: 1) all requests 2) mem usage
 
I blame @PeeHaa
@kelunik is usually pretty clued up about travis, don't know if he's around yet though
 
9:43 AM
@PeeHaa aside from when it shits the bed does memory use tend toward stability?
 
yes I think so
 
are you measuring memory usage there with php functions or with sys tools ?
 
php
 
the php functions tell all kinds of lies, is that where bob confused you ?
 
@PaulCrovella I haven't looked at it since the last deploy mostly because I have no clue what to do though
@JoeWatkins Yes probably. Something something array size something
 
9:44 AM
and the sys tools are not realiable either, because of the way zend mm allocs chunks of sys mem
 
That was it I think
 
moin
 
But no idea :|
 
that's not a leak, the trace from vg says there's a memory error (something already free'd the object, so there is refcounting problem in an ext/core somewhere, probably ext)
when you use vg to check for leeks set USE_ZEND_ALLOC=0 in env, this will force sys allocator to be called when ze calls emalloc, and give you a more realistic idea of what is actually leaking memory, if anything ... and a more precise location of the leak ...
 
Again. No idea what I am doing :P
@JoeWatkins I thought I did that for above result
Not sure
Will check again tonight
 
9:49 AM
it most likely wouldn't effect memory errors like that one shown, would only show a more precise summary of leaks ...
memory errors like that under zend mm may cause heap corruption or faults ... but definitely wouldn't report a leak, it's the opposite of a leak
run using a debug build of php, if you use zend mm and a debug build, and no leaks are reported by zend mm (at shutdown, end of script) you can be pretty confident you have no leaks because of user code ... checking for leaks in internal code, and extension code, needs to be done by an internals person, without zend mm ... some internal code, or extension code doesn't use zend mm
where zend mm is not used (because internal/ext code calls malloc, not emalloc), even a debug build can't report those leaks, it doesn't know about them ...
 
IIRC @Ekin already recently installed a debug build
Will ask her / check it
What is zend mm btw?
zend memory management?
And how do I use it?
 
yes, it allocates large chunks of memory from the system at once (which is why sys tools tell lies about consumption), it does things like caches blocks and makes the allocation of chunks that are common (sizeof(zval) for example) faster (by using aforementioned caches), but when you free memory (efree) it is not returned to the system, and may be inserted into the cache rather than the free list, this is why the php functions tell lies too ...
 
Ah yes. That explains the fact I couldn't see a mem decrease
 
it's used by default, it can be disabled with USE_ZEND_ALLOC=0 in env, but should only be used for debugging, by internals people ...
 
aka deep C creatures
5
 
9:55 AM
oh, funny
 
@JoeWatkins Ah I see. So basically run with vg without USE_ZEND_ALLOC=0 and see what it gives me. If nothing interesting run with USE_ZEND_ALLOC=0 and complain at internals if something is still eating me memory?
 
vg+zend mm is typically used for checking for memory errors (read/write errors, like the one you posted), vg without zend mm is typically used for checking for actual leaks ... vg will always report that some memory is leaked, because some modules rely on process shutdown to free memory (this is normal, but frowned upon practice in the C world) ... it takes an internals dev to know the difference between a false positive and a real leak reported by valgrind ...
 
kk
tnx
Also will probably bug you later with stupid questions
 
if your script faults, or reported heap corrupted, that's when you do vg with normal zend mm (so nothing in env) ... you send that report to internals ... and they run vg without zend mm (with USE_ZEND_ALLOC=0 in env) to find out what's going on
 
@PeeHaa btw, it starts picking up github events onStart, so before anyone connects
 
10:01 AM
or they might, or they might be able to tell from the report what's going on ...
 
@PaulCrovella oh
@JoeWatkins k
 
Wes
someone with 7.2 (with parameters variance patch) can check if this works? externals.io/thread/735#email-14404 thanks
 
I'll build it quick and try
 
moagain
 
Wes
10:10 AM
ty joe. morning dave \o
 
no compile error
\o
 
Wes
nice. so it makes sense completing the job, even just for consistency's sake
 
Anonymous
@Gordon please keep this up
 
yes, it makes @Gordon some kind of near surface dwelling crustacean, possibly a new kind of krill, with a lifecycle unknown to science ...
let's all hope he doesn't get gobbled up by a whale ...
 
@PeeHaa what are the Handler $ips and $connections buckets doing? it looks like it's filling them up and (hopefully) emptying them, but otherwise I don't see where they're used
 
10:18 AM
@PaulCrovella Dunno why that is in there /cc @Ekin
They should be emptied afaik on close
I actually don't see the need for them no
Ah I see what happened
That can be removed for gitamp indeed
 
@JoeWatkins a procrustacean
 
hehehe
 
Hi guys :)
 
@Gordon full circle, back to NikiC where the C is actually for Cnidaria
 
10:36 AM
:)
 
can we add that comic to feeds yet?
it's typically on point
 
Do they have a feed
 
i'm subbed to it on feedly, so i'm presuming so
 
PeeHaa has made a change to the feeds posted into this room
posted on February 20, 2017 by CommitStrip

posted on February 23, 2017 by CommitStrip

posted on February 24, 2017 by CommitStrip

posted on February 27, 2017 by CommitStrip

posted on February 28, 2017 by CommitStrip

 
10:41 AM
Dissapoint they didn't account for oneboxing it :(
 
did you want to do something with Events besides getAsArray at some point? (I'm giving things a once-over, will send a pr to remove dead code in a bit btw)
 
foreach($_POST['content'] AS $p => $v){
    $_POST['content'][$p] = xssProtection($v);
}
If I was allergic to code smells I'd be dead and buried by now
 
@PeeHaa no, I was thinking about an RSS plugin for Jeeves that would just post the links
 
@PaulCrovella Maybe. In the next version we want to support different sources. Meaning we have to move the message formatting from the clientside to the backend somewhere
Not sure where makes sense yet though
 
@JoeWatkins lol
 
:-)
 
May someone suggest me package of php lib for start to developer QUIZ app in laravel?
 
Currently we do message formatting here, but to support different sources it would need to be moved to the server side
 
Any Symfony/Doctrine pros around?
 
javascript, eww
 
10:45 AM
I know I know
 
Hi all, I am having a small issue with my SSL. All webpages are displaying SSL correctly, however when the user refreshes the page it doesnt show the SSL but if you click on a link it will show again.

Options +FollowSymLinks
RewriteEngine on
RewriteBase /

# Redirect non www. to www.
RewriteCond %{HTTP_HOST} !^www\.website\.co\.uk
RewriteRule (.*) https://www.website.co.uk/$1 [R=301,L]

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Remove trailing slash
 
I think it will makes the most sense if the message formatting moves to dedicated classes and not the Events
But I haven't given it too much thought yet
 
Trying to figure out a good approach for using entities to retrieve/store data with a Saas/Rest service. It pretty much feels that doctrine's objectmanager could be implemented to do such a thing.. but hard to find info about it (and i'm quite new with symfony)
 
also, i might change those global function calls to use fqns.. because \reasons
 
Can't you please first implement proper namespaces / imports for builtins into phpsrc? :)
 
10:48 AM
no
 
!!poop
 
💩
 
GUYS! May someone suggest me package of php lib for start to developer QUIZ app in laravel?
May someone suggest me package or php lib for start to developer QUIZ app in laravel?
 
you seem to be broken
 
Are you okay?
 
10:51 AM
@ATIKON google "laravel quiz module"
 
Use libxml2, it would make a very good QUIZ app in laravel
Or libenchant. That one's magical.
 
Nice joke, i've google it.
 
@DaveRandom libmagic
 
But, maybe someone worked with smth? has experience and can share knowledge?
 
Anonymous
Could just make your own..
 
10:53 AM
@nathancording normal or hard refresh? Have you tried checking the "network" to see what's exactly going on?
 
You could just write the entire thing in JavaScript.
 
@PeeHaa all output to a client should be done through some kind of view or equivalent, even shit like json from apis (which is why I despise jsonserializable.. ffs can you imagine having htmlserializable?)
 
Anonymous
@littlepootis JQuery*
 
@PaulCrovella Yes agreed
 
@JayIsTooCommon yeah, but i don't have much time and i don't wanna create new one if alternative solution exists
 
10:54 AM
!!remind examples
 
Examples:
• !!reminder foo at 18:00
• With timezone: (ie. UTC-3) !!reminder foo at 18:00-3:00
• !!reminder bar in 2 hours
• !!reminder unset 32901146
• !!reminder list or just !!reminders
• !!in 2 days 42 hours 42 minutes 42 seconds 42!
• !!at 22:00 Grab a beer!
 
!!remind list
 
Registered reminders are:
• @⁠DaveRandom http://chat.stackoverflow.com/transcript/message/33706606#33706606 → Id: :33706826 → Saturday, 29th April 2017 12:01 (UTC) - Set by Gordon - Seconds left: 5101593
• what happens → Id: :35514705 → Thursday, 21st December 2017 00:00 (UTC) - Set by Trucy - Seconds left: 25448733
• Happy PeeHaa day → Id: :35763899 → Wednesday, 21st February 2018 00:00 (UTC) - Set by Trucy - Seconds left: 30805533
• You're dead. → Id: :35763950 → Sunday, 21st February 2117 00:00 (UTC) - Set by Paul Crovella - Seconds left: 3154943133
 
@ATIKON you're wasting your time here :p
 
Anonymous
!!? Laravel quiz module
 
10:54 AM
@HamZa okay :(
 
Search for "Laravel quiz module" (https://www.google.com/search?q=Laravel+quiz+module&lr=lang_en)
• Laravel Quiz Module | PHP | Software Architecture… - PHP & Software Architecture Projects for $627. Laravel Module - Quiz Platform Laravel 5.1.9, mysql… (https://www.freelancer.com/projects/php/Laravel-Quiz-Module/)
• Quiz package for Laravel? - Laravel.io - The Lara… - Hi,. anyone knows of a quiz package for Laravel (or independent)? … Sponsors. Laravel.io wouldn't b… (https://laravel.io/index.php/forum/03-13-2014-quiz-package-for-laravel)
 
!!remind setup mailserver on spare vps at 21:00
 
Reminder 35894849 is set.
 
@Jeeves i saw that, but there are no examples :p
 
@ATIKON Anxiety, for another example.
 
10:56 AM
OK, bye guys!
 
have a nice life
 

« first day (2328 days earlier)      last day (2620 days later) »