« first day (2197 days earlier)      last day (2751 days later) » 

1:08 PM
1st Nov hear @_DaveRandom talk about 'Asynchronous != Non-linear: leveraging generators to write readable asynch code' @Marble57TStreet 7pm
5
/me shits self
Also "asynch" makes my face tick
 
Awesome!
Could you please do me a massive favour and record it?
 
^++
 
I'd like to see a recording of your face ticking too
 
That would probably be simpler
I dunno, I could try and get someone to do it but obviously it will be difficult for me to do it myself :-P
 
Anonymous
 
1:13 PM
yeh that will go really well
 
that's ... not a word
 
evenin
 
ingreedily
 
!!scrabble ingreedily
 
@Gordon ingreedily = 15, TOTAL SCORE = 15
 
1:15 PM
I need to add the word verification api. then we'll know what's a word and what isnt
 
Wes
i'll finish the rfc this weekend @DaveRandom just adding more examples and stuff, but i'll need you to review the engrish :D
 
Noo, dev is wanting to use regex to parse html
@DaveRandom Rooting for you!
 
/o
 
@DaveRandom We can adapt it, make a cranial mount
 
Wes
@DaveRandom sorry for the multiple pings, an use case of [...$map] could be the reordering of the linked list keys, eg
['a' => 0, 1, 2, 3, ...['a' => 4]]
could produce:
[1, 2, 3, 'a' => 4]
rather than
['a' => 4, 1, 2, 3]
which could be useful...
 
1:21 PM
@Leigh hehehe
 
Wes
and it's even O(1)... ish
 
Wow, I've never seen an if nest so tall in the wild
This thing goes 75 layers deep.
 
Wes
if you want to skip keys you could always do,
[0, 1, 2, 3, ...array_values($iterator), 4, 5]
 
if($params[0] && $params[0] == 'some-page-name')  {
    return $this->somePageName();
} else {
    if($params[0] && $params[0] == 'another-page-name') {
        // Rinse and repeat another 74 times.
    }
}
 
lol
@Sean thank god for git blame and your fist
 
1:30 PM
The infamous 21k line controller strikes again
 
@DaveRandom asynch? wut
 
This thing should have a blog just for the stuff that's in it
 
inorite
@Sean wat
 
@DaveRandom I wouldn't mind having a look at that talk…
 
\o/ room 11 pre-presentation
 
1:32 PM
lol
 
Let me start drinking now so I can make good suggestions during the talk
 
@DaveRandom It's been brought up before: i.imgur.com/6RkA1RO.png Lags out my IDE when I need to touch it.
 
I will be asking for reviews when I have finished putting it together, which will be hopefully by the end of tomorrow
 
@Sean wow
 
@Sean I hope your IDE is buggy and that leading 2 is an artifact?
 
1:33 PM
Start pulling things out
 
@Sean Ugh, you use ?> :-(
 
@DaveRandom It's.. legacy. I don't, but most of our files do haha.
Hence, big push for coding standards, etc. etc.
@bwoebi I sure as hell wish it was ):
 
You don't need coding standards. You need a big fire
 
Do you know how PHPStorm highlights errors and warnings in the right bar?
 
yea
gimme
Are was that an actual question? :P
 
1:35 PM
 
Thought so :P
@Sean Are you sure they aren't hiding messages in it
That pattern looks suspicious
 
@Sean stahp.
 
Hiding messages? :P
 
Like morse or something
 
The stupid thing is I can't even view those imgur images, because the content filter blocks imgur for "Adult content" ._.
Somehow I can upload images though
 
1:38 PM
@Sean Sounds about right
No child should have to look at the images of your codebase
 
Anyway, 5 down, 70 more to go.
 
Anonymous
@Sean You taking out your team?
 
@JayIsTooCommon Hahahah, nah, trying to refactor this huge if block nest hell
 
@Sean WTF? 18000 lines?
 
@Gordon 21,372
 
1:42 PM
@Sean can you please do me a favor and run phploc on the codebase and post the results here for my amusement?
 
Sure
Can you use wildcards in --exclude?
 
dunno
 
0
Q: Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers. (CORS )

Farhad SaadatpeiI have a main domain and a subdomain (Mautic Is Installed), unfortunately, I have a cross-origin HTTP request problem if mautic is setup within a subdomain. When I load the example.com I get the following errors in Safari Console: Failed to load resource: Origin https://example.com is not allowe...

Can someone please help?
 
@Sean it uses the sf file finder underneath. does that allow wildcards?
 
@Gordon link
 
1:53 PM
Lines of Code (LOC) 815973… dafuq? are you writing an operating system?
 
Aight, so that included a couple of packages and a wordpress blog, lemee run that again
Lines of Code (LOC) 462956
 
@Tiffany Just answer it with a link to Laravel. It's like giving a kid one of those distraction devices
i have just done log in page — My Coder 22 secs ago
 
334889, rooted out swiftmailer and phpexcel.
 
@Sean full list pls
 
1:59 PM
 
@Machavity lol, how much you wanna bet it isn't encrypted, and vulnerable to various attacks?
 
@Sean ouch Average Complexity per Method 9.18
 
@Tiffany I'll see your unencrypted and raise you a mysql_query
 
@Sean lol, I love it how removing wordpress lowered the global functions from 2500 to 96
 
Yep :P It really brought the numbers right down.. relatively speaking
 
2:02 PM
:P
 
Public Methods versus Non-Public Methods also smells. You probably got lots of getters and setter there
Minimum Method Length 0… why do you have method that does nothing?
@Sean thanks for sharing
 
Routes require public methods, and we have a lot of routes. Almost all of processing happens in routes, so nothing is really pulled into private methods either. We have very fat controllers. No idea about the 0-length method, i'll try and root that out haha.
From the looks of it, a parent class has an empty method and expects child classes to fill it in where needed. No idea.
 
http://stackoverflow.com/questions/40178494/ajax-couldnt-send-reques‌​t-controller-when-htaccess-lock-the-folder-in-mvc-struc
 
@Sean honestly the worst thing is the superglobals accesses, imho
the avg cyclomatic complexity looks fine
 
2:18 PM
@FlorianMargaine per LLOC yes, but not per method. 9 is too high.
 
I'd discount avg, we have a lot of empty classes.
or classes with simple methods.
Hmm. That superglobal count doesn't seem right though, pretty much everything we do is inside one class or another.
 
2:33 PM
@Machavity how do you know he's using mysql?
 
A texan knows everything.
Except how to put dispenser.
 
@littlepootis only thing from texas are steers and queers
 
Anonymous
@PeeHaa You got a console?
 
Nope
 
Anonymous
2:45 PM
:(
 
Hi I have a problem
I am getting conflict when doing commit in svn and now I am getting 3 more files in my controller .How can I resolved it now.
 
@DaveRandom I found an array of PostMessageActions … going to investigate there tonight.
Got to go now
 
!!should @bwoebi fix you NOW or later tonight?
 
Dunno.
@⁠bwoebi should later tonight.
 
pfff
 
2:57 PM
Lol
 
3:09 PM
"I agree with @taylorotwell" - @Ocramius at #zendcon2016
@Ocramius are you okay?
 
wait wat? interfaces can have constants?
 
Anonymous
@Leigh aye
 
@bwoebi that will presumably be the queue of things that's been building up ever since, however the one that's "stuck" won't be in it any more.
 
hey , i can't find meaning of @ sign before session_start Like @session_start. Can somebody please help?
 
@Leigh yes, and they are actually constant, unlike class constants which can be overridden by a child
 
@DaveRandom well you say that - bugs.php.net/bug.php?id=73348
 
@beginner The meaning of the @ sign is "don't ever use this"
It's called the error suppression operator and it's evil
 
thanks @JayIsTooCommon @DaveRandom
 
@Leigh err... lol :-P
 
3:30 PM
lol
 
@Leigh Uhm ... not a bug? :P
 
god dammit I hate github showing me commits from the future
there has to be a way to fix this shit
 
Ah yes, the old git checkout HEAD^-2
 
by commits from the future I actually mean the commit times
 
@Ekin Set your time correctly.
 
3:37 PM
it is correct? :(
 
That's a question, so I guess not. :P
 
@kelunik why?
 
@Leigh I don't know why it shouldn't work. I see more the interfaceclass doesn't work as a bug.
 
It's because the grandchild class doesn't trigger zend_do_implement_interface
where the check happens
 
@kelunik interface constants not being overridable is by design, it's documented behaviour. Whether or not you agree with that design, that is a bug by those rules.
 
3:43 PM
It also makes this possible
interface A {}
abstract class B implements A {}
class C extends B implements A {}
Where you should get the "Cannot implement previously implemented blah" error
 
@DaveRandom Changing it now is a BC break. Allowing it for interfaces now is not.
@Leigh Why should it not be possible? Why should that error?
 
@kelunik Not sure you're understanding, a direct implementer (i.e. class C implements I) cannot override the constant, that is an error today. An indirect implementer (as in the bug report) bypasses
@kelunik Because class B implements A, A {} errors
 
@Leigh That's fine, because it doesn't make sense. But just think about someone extending a class to make it support a certain interface. Then the author of the base class decides to implement the interface as well directly in the base class. Should that really break the child?
 
@kelunik yes :)
 
@Leigh 3v4l.org/rRd0G works fine, too. It's just shadowing the parent constant.
@Leigh What's the reason for that?
 
3:49 PM
@kelunik No, that is not the same
 
@Leigh I know that it's not the same. It's taking the definition from a class instead of an interface.
But why should there be a difference?
 
@kelunik the interface constant is documented as being different
 
If we have interface → class → class, you can see that as everything fine, because the first class inherits it from the interface and the second class inherits it from the parent following class → class semantics.
@Trowski @bwoebi Do you have time discussing about the aerys-session API?
 
@kelunik that's the problem, the child class inheriting it from the parent class, when it shouldn't be, it should be inheriting it from the interface
 
@Leigh Where is defined that interface inheritance works that way in PHP?
 
3:58 PM
@kelunik I doubt it is, but it's logical that the constant is provided by the interface, not the class
 
@Leigh It's just as logical as that the parent inherits the interface and the grandchild just inherits from the parent.
 
!!github
 
@Ekin AWS has issues I heard.
 
I see
 
@Ekin afaik there is currently a large ddos attack commencing against dyndns
 
4:04 PM
I thought they fixed it
 
> The upstream DNS incident has been resolved. We continue to monitor our systems while they deliver a backlog of webhook events.
 
huh
 
Can't access Twitter on Desktop currently.
 
@kelunik Sure. Almost anytime in the next 5 or so hours.
 
God the web is so broken...
 
4:06 PM
yeah, beat me to say that
 
hmm, someone recently grabbed the entire chat log for room11. who was that?
 
@Trowski Currently we require drivers to do serialization and locking, I think we should move serialization to the core session manager and maybe locking too. So have a separate LockDriver and StorageDriver.
 
!!github
 
good: The upstream DNS incident has been resolved. We continue to monitor our systems while they deliver a backlog of webhook events as of 2016-10-21T14:01:51Z
 
@kelunik Agreed.
 
4:10 PM
!!fr handle github status timeouts and tells us it's all fucked up beyond any repair
 
Oh nice. It'd be cool if new github statuses were pushed automatically
But then we'd have to poll server-side
 
@JayIsTooCommon ^
Make yourself useful kid
 
this is what I mean btw by commits from the future :( the ones within the last 15 mins etc are always "an hour from now"
it's always +1 hr and my time & zone are correct :|
 
Just move over here already. I don't have those issues :p
 
@Ekin Does momentjs.com/timezone tell the right TZ?
 
4:15 PM
So I am thinking @Jimbo. Poll every 5 minutes and pin if it's broken
 
Yep
Unpin when resolved
 
@all @JayIsTooCommon because he should make it
@Jimbo exactly. Unpin + shit is fixed message
 
@kelunik o.O no it's -1hr, mine is equal to googling "current time montevideo"
 
All Well?
 
All bon
You?
 
4:17 PM
@Ekin Your browser does something weird maybe?
 
yeah I suspected that but couldn't find any settings for it
checking it properly now
 
has anyone tried connecting to a CAS server through PHP?
 
\o/ Over Enjoying PHP Work
:D
 
how does one do that
nevermind
 
@SagarNaliyapara ... your enthusiasm makes me nervous ...
 
4:19 PM
why? @Tiffany
 
one does not over enjoy PHP work
>Support group for those afflicted with PHP.
fuck it, I don't know the quote markdown
 
nope, doesn't the browser always use system time?
 
Morning.
 
Nervousness causes the brain to create anxiety.
@LeviMorrison 'nin
 
Meh, I have plenty of anxiety.
Some of it PHP induced.
 
4:23 PM
take it easy is the slogen that you have to keep in back of the mind
1
Q: Difficulties using PHP to authenticate with CAS

user unknownI'm currently trying to get PHP to login and authenticate with a CAS single sign on server which is proving difficult. The official site has some basic source code here which is supposed to handle the authentication and log in a user. As far as I can see and in my testing it completes steps 1 an...

 
I wish that were the case.
 
hi everybody
how I can save php code in mysql?
 
@zohreh why you want to save php code in mysql?
 
@Ekin Does momentjs.com/timezone/tests work fine?
 
the code that was shared with me uses phpCAS, and I think I have it implemented correctly, but the error message I'm getting from phpCAS is useless.
 
4:25 PM
I downloaded a Magento site that is not currently under any sort of version control. I am trying to set that up by uploading it to BitBucket. I have downloaded the site and created a repository locally. In Git Extensions when I try to Commit it just locks since there are 26604. What is my best solution?
 
I need my user can save php function @SagarNaliyapara
and can run it anytime he want
@SagarNaliyapara
 
@zohreh that doesn't make much sense...
 
how I can do it?
 
why does your user need to be able to save php functions in a mysql database?
 
@TylerJensen have you commited befor any time?
 
4:28 PM
maybe it's some sort of poor man's AWS Lambda
 
!!rfcs
 
you can insert almost anything into a mysql database, but you have to be careful with SQL injection, especially if you're going to be handling PHP.
 
@SagarNaliyapara I have not. This is my first
 
pokes Jeeves
 
if you haven't uploaded then you have to commit it first time
 
@Jeeves where art thou?
Apparently @Jeeves is a little slow today. It is Friday… so I guess I can forgive him.
 
he should insert some math method .he need change them .before I get new version and place it in code but now I want he can change himself @Tiffany @SagarNaliyapara
 
I have always worked in an existing one. This is my first time setting up a new one
If I hit Commit it locks up. I am assuming since it is 26604 Commits it locks up.
 
@zohreh set up ssh access?
 
or a github repository
 
4:33 PM
what is ssh access?
@Tiffany
 
inserting php code directly into a mysql database can create security vulnerabilities... you're better off doing it a different way
!!ssh
 
@kelunik well, no fails for America/Montevideo, the rest is still running but, Mvd tests end at 2015 :D
 
poor Jeeves
 
thing is, this has been going on since Uruguay skipped DST this year
 
can you get me a tutorial?@Tiffany
 
4:35 PM
@zohreh google is a thing
 
what I should search?@Tiffany
 
151
A: How do I do an initial push to a remote repository with Git?

Josh LindseyOn server: mkdir my_project.git cd my_project.git git --bare init On client: mkdir my_project cd my_project touch .gitignore git init git add . git commit -m "Initial commit" git remote add origin youruser@yourserver.com:/path/to/my_project.git git push origin master Note that when you add ...

 
"set up ssh for another user," etc
 
@zohreh get file content and store it.
 
4:36 PM
"set up ssh for server"
 
Use prepared statements and parameterized queries.
 
I cant it cant save some characters @SagarNaliyapara
 
Wow it must be not a correct space to ask but is any one is learning php here ?
i am currently into a new project , i am learning it at the same time . so any one is doing same ?
 
@akashraigade Yup visit here, most welcome to the new world guide.room11.org
!!dad
 
What do you get when you cross a snowman with a vampire Frostbite
 
4:42 PM
github.com/amphp/artax/issues/100#issuecomment-255423069 < @DaveRandom @bwoebi I'm right that that's a PHP bug, right?
 
@SagarNaliyapara I looked at that. I created a repository through Eclipse. When I follow that it seems to create a new repository. I am trying to get my existing one into Git Extensions
 
just commit it.
with initial you have to upload everything just check git ignore properly
as usual but with more files
nothing else @TylerJensen
 
uuuugh, phpCAS doesn't support the version of CAS I'm running on. :|
 
Cannot find the server "github.com"… Hmm…
 
@Trowski DDOS
 
4:51 PM
it works for me at the moment
 
what's github hosted on? AWS?
 
I'm having trouble with github, twitter, a few other major sites. Fortunately I don't need them to do my job; it's just inconvenient ^_^
 
@SagarNaliyapara thanks for the link for PHP CAS, unfortunately, not going to go the CAS direction, but thanks anyway.
 
@Tiffany Times ago they were hosted on Rackspace, dunno if that's still the case.
 
Cheers!
 
4:56 PM
Rackspace has some kind of DDOS protection, doesn't it?
 
Any issue with GitHub? working well here...
 
aw, fuck, I wanted to go to something that started 15 minutes ago, and got sucked into fixing this crap.
 
@LeviMorrison dynstatus.com
 
fryyyydaih
 
5:00 PM
:D
 
@SagarNaliyapara I can't type that in, I can't type anything. It seems to have stopped in the middle
 
now next if git commit -m "first commit"
and enjoy it
 
@TylerJensen it can be slow sometimes.
give it a minute or two
 
@Tiffany ok
It started again
 
I remember committing one time, and I thought it was hanging, but it turned out to just take a while
 
5:06 PM
evening room
is github auth works on packagist for you now?
 
o/
github and a few other sites apparently were victims of DDOS a bit ago
 
thanks for the update, now i see on gh status that they under some pressure - status.github.com/messages
 
@Tiffany oh! great thanks!
 
np :)
 
5:20 PM
why is considered a bad pratice use global into functions?
 
@yessure It makes it more difficult to reason about the program's behavior.
 
@pinepain thanks for that status message link
 
@SagarNaliyapara @LeviMorrison posted a news article with more infos
 
this whole thing just reminded me of this post
3
 
have you heard that the usa dns servers are under a ddos attack?
 
5:27 PM
@Ekin thanks for that, interesting read
yup, @yessure
 
@Tiffany i have go through it.
 
'nin
 
o/
 
5:45 PM
\o
 
\o\
 
@PeeHaa how does it work. TELL ME
 
!!haskell "magic"
 
dammit, I think my brain is starting to fray at the edges, time for lunch
 
5:55 PM
Return value: "magic" — Output: none
 
is Jeeves all better now?
 
!!haskell map (*2) [1..10]
 
Return value: [2,4,6,8,10,12,14,16,18,20] — Output: none
 
me likes this one
 
Anonymous
@PeeHaa @PeeHaa yes sir
 
@JayIsTooCommon Random out of context pings \o/
 
!!haskell length [1..]
 
Error: Evaluation killed!
 
lol tnx @AwalGarg
You had one job @kelunik
 
6:02 PM
!!haskell subsequences [1,2,3,4]
 
Return value: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3],[4],[1,4],[2,4],[1,2,4],[3,4],[1,3,4]‌​,[2,3,4],[1,2,3,4]] — Output: none
 
ouch, should've left at 3
 
!!haskell subsequences [1..100]
 
Anonymous
@PeeHaa what's the correct way to do the polling?
 
:D
 
6:03 PM
@PeeHaa very nice :D
 
iirc it uses tryhaskell.org
 
oh. boring then :(
 
:D
@JayIsTooCommon Use an amp repeat timer
And scrape the status page
Or does it provide json?
 
I wouldn't say it's boring :P
!!haskell let 2+2=5 in 2+2
 
Return value: 5 — Output: none
 
HTTP/1.1 200 OK
Content-Type: application/json
Date: Fri, 21 Oct 2016 18:05:58 GMT
Server: GitHub.com
Status: 200 OK
Strict-Transport-Security: max-age=31536000
Timing-Allow-Origin: github.com
X-OctoStatus-Request-Id: 7e91fdcb-6947-44b7-b36e-cd83db448fee
Content-Length: 56
Connection: keep-alive
 
hmm that actually seems to be a thing
 
X-OctoStatus :D
 
lol
 
@PeeHaa nice. Btw, all this is documented, right? :P
 
6:07 PM
@AwalGarg hahahahah
!!command list
 
Commands currently mapped:
 3v4l - Executes code snippets on 3v4l.org and displays the output (3v4l # Eval)
 > - Executes code snippets on 3v4l.org and displays the output (3v4l # Eval)
 ? - Retrieves and displays search results from Google (Google # Search)
 anmol - Get a random dad joke (JeevesDad # DadJoke)
 at - Get reminded by an elephpant because, why not? (Reminders # at)
 caniuse - A quick search tool for CanIUse, a browser comparability feature list for modern standards. (CanIUse # CanIUse)
 
@PeeHaa awesome! jeeves now officially > cap :D
 
!!questionify what the fuck
 
what the fuck?
 
haha, !!dad is still also anmol :P
 
6:08 PM
lol ^ nice plugin
 
!!questionify
 
?
 
Anonymous
@PeeHaa ok. I'm done with people for today so perfect time to code.
 
great
 
@AwalGarg We still do google so we have that either way :P
Alsoooooooo
!!friday
 
Anonymous
Those fucking teeth
 
!!reminder stock up beers in 1 hour
 
Reminder set.
 
Hello everyone, I have a wired request from a client and I feel like it is not even possible to do. But before I respond I would like to check for possibilities on how I can solve this (if it is possible to do). My client has asked me to develop a small app that can search a website like Best Buy or Wallmart for items such as Monitors by Brand and Size. But the thing is that website doesn't have API for me to query those results.
 
Anonymous
6:31 PM
@IamCavic if a company is happy for you to list their products on your app, then I would expect them to have an API?
 
I agree but I wonder if there is possibly something that I am not in a know of..
 
@bwoebi @kelunik github.com/async-interop/awaitable/pull/… Having second thoughts, I'm still concerned about confusion due to the name…
 
@PeeHaa Hm?
 
was trolling
 
6:53 PM
Does anybody know how I get pdo_mysql when using docker run -ti php:5.6?
 
why do apple need to make it so hard just to compile shit ...
 
Found the answer: docker-php-ext-install mysql mysqli pdo pdo_mysql
 

« first day (2197 days earlier)      last day (2751 days later) »