« first day (2196 days earlier)      last day (2745 days later) » 

4:23 PM
@kelunik Without wait(), how would I e.g. do a bunch of artax requests in the middle of an otherwise synchronous script?
As long as there's still some way for me to do that then there's no need for wait() IMO
 
@DaveRandom well, you could do an intermittent \Amp\execute() and create a new Artax request inisde it … but that's meh.
 
4:38 PM
I have a class that is private. I am trying to call a function that is within the class, but I'm told that the function is undefined. the function definition is not defined with static or public, does it need to be in order to call it?
 
@Tiffany A class cannot be private
 
private function __construct()
 
@bwoebi what do you mean by "intermittent"?
 
That just means you cannot instantiate it.
Also why are you doing that :)
 
@DaveRandom I mean in middle of the sync code
 
4:42 PM
@PeeHaa I dunno, I'm copying code from the web server to create an LDAP connection, and the constructor was defined private.
 
!!package daverandom/ldapi
 
[ daverandom/ldapi ] Simple object oriented wrapper around ext/ldap
 
!!package daverandom/simpleldap
 
[ daverandom/simpleldap ] Extremely succinct object oriented LDAP client API
 
actually don't use that
E_TOO_MUCH_MAGIC
 
4:43 PM
!!package crazy/fetish
 
@Tiffany what are doing with LDAP?
 
[ [crazy-max/cws-dump](git://github.com/crazy-max/CwsDump.git) ] PHP class to replace var_dump(), print_r() based on the Xdebug style.
 
using ``ldap_connect``` doesn't need ot be anything fancy
 
\o/ I broke it
 
wait, it returns git:// urls sometimes??
 
4:44 PM
Are you allowed to share the class in public? @Tiffany
 
@DaveRandom something silly.
I have to put out a fire...
brb
 
@DaveRandom Also new for me.
 
@Tiffany whatever it is, I have probably done it before and will likely have a code sample you can copypasta
Also I highly recommend that first package, it makes LDAP a lot nicer to work with IMO @Tiffany
the second one works and it lets you do some pretty complicated stuff with very little code but it's too magical (much like simplexml, hence the name)
 
someone kill me please
make it a quick death
 
Anonymous
Lol
 
Anonymous
4:51 PM
> I will totally accept the US election result... If I Win
 
Anonymous
DT
 
@PeeHaa, you see? Not even Jeeves can markdown properly :P
 
hahaha
 
@DaveRandom double handy, since his guitar indicates slash direction... mind blown
Or was that the point :x
 
5:04 PM
Noite
 
nn
 
5:35 PM
@PeeHaa How do I run @Jeeves locally again? Didn't do that for a long time now.
 
Do you want to use a dedicated openid or your own account?
 
I still have the credentials of the official one.
 
:)
copy the config.sample.yml -> config.yml -> setup configs -> php cli/run.php
And don't forget to composer install
Saying it mostly because I always forget that
 
Forgot composer install.
Had to adjust most things in the config, but works.
 
brofist :P
 
5:48 PM
Which one is more better as a validation error message? (English perspective)
- Your comment should made of at least 10 characters
- Your comment should be at least 10 characters
- Your comment should be containing at least 10 characters
 
Your comment should contain at least 10 characters
 
thx
 
also, "more better" is known as "best"
 
correct ^
 
6:05 PM
!!changelog
 
[ Jeeves ] [ 976b154 ] fix return type - Commited by: gooh on 20.10.2016 12:26
 
@Linus so, that's the rumored "Old Man Logan" movie
 
how?
20th fox released that trailer
 
6:28 PM
Just sitting here at this award ceremony wanting to mess with Jeeves
 
award ceremony?
 
Anonymous
@kelunik what's the point in the else? github.com/Room-11/Jeeves/pull/103/…
 
Anonymous
!!version
 
Some business award do
 
6:31 PM
@JayIsTooCommon Can be another if as well, right, I know.
 
@Wes narcos seems pretty good so far
 
Anonymous
@PeeHaa I got fed up of reading the subtitles #brexit
 
lol
 
6:53 PM
wat
 
In Symfony does anyone know how to get access to the full container builder inside an extensions load() method? I'm integrating with another bundle which adds some service definitions inside it's extensions load() method. In my bundle I can't access those service definitions because a separate container builder gets passed into my load() method
 
why does visual studio have to be so shit ...
 
Well, all of my fucks are gone for the day, my obscenity filter disappeared when that happened...
I'm cussing out my computer, I'm saying "fuck" about two or three times a minute now...
 
7:09 PM
@JoeWatkins I've been using VSCode lately and I find it actually nice
 
@pmmaga fuck off
 
:P
 
ok..
 
btw I mostly hear good things about it from the people actually using visual studio. Are you sure you aren't holding it wrong?
 
7:14 PM
one day, when you least expect it, I'm going to flying ninja karate chop you in the throat, for questioning my ability, and being a bitch ...
 
<3
 
@JoeWatkins What?! Visual studio is the most awesome thing the earth has ever seen!!!
— Nobody, ever.
 
exactly
wtf
it just started creating the damn library and windows is shutting down
I really hate windows
 
:P
 
only 169 unresolved symbols
 
7:31 PM
!!is Visual studio is the most awesome thing the earth has ever seen!!!
 
"I was sad, because I had to use Visual Studio, until I met the people who had to use CodeWarrior."
 
Yay we won an award
 
Anonymous
Congrats!
 
Anonymous
Thanks @PeeHaa
 
Anonymous
7:33 PM
!!uptime
 
@JayIsTooCommon I have been running for 7 hours, 12 minutes and 30 seconds, since 2016-10-20 12:21:25
 
@JoeWatkins btw I have still not successfully installed a VC++ compiler... so... yeh
I have tried on 2 different computers and been unsuccessful on both
apparently it really doesn't like installing on top of C#/VB, you have to do it the other way around
there are several miles of forum devoted to the topic
 
Sorry forgot to pull
 
!!scrabble Supercalifragilisticexpialidocious
 
@PeeHaa If you pull, you can directly merge #103.
 
7:40 PM
Still broken? :'(
 
!!uptime
 
@PeeHaa I have been running for 16 seconds, since 2016-10-20 19:41:53
 
@Gordon How is it broken?
!!scrabble foobar
 
@PeeHaa foobar = 11, TOTAL SCORE = 11
 
!!scrabble Supercalifragilisticexpialidocious
 
7:42 PM
@PeeHaa Supercalifragilisticexpialidocious = 56, TOTAL SCORE = 56
 
Ah, it needed a restart
 
!!scrabble PeeHaa
 
@bwoebi PeeHaa = 11, TOTAL SCORE = 11
 
what's the difference between score and total score? :)
 
!!scrabble test three words
 
7:43 PM
@bwoebi test = 4, three = 8, words = 9, TOTAL SCORE = 21
 
!!scrabble it can count multiple words
 
Anonymous
!!plugin disable lmgtfy
 
@Gordon it = 2, can = 5, count = 7, multiple = 12, words = 9, TOTAL SCORE = 35
 
@bwoebi Why do we wait for the timeout here: github.com/amphp/aerys/blob/master/lib/Websocket/…?
 
Plugin 'lmgtfy' is now disabled in this room
 
7:44 PM
oh fancy
 
!!haskell zip [1,2,3] ["one", "two", "three"]
 
@kelunik we want to have close frame sent first — at least for normal closes
 
Return value: [(1,"one"),(2,"two"),(3,"three")] — Output: none
 
@bwoebi So we need a close after buffer write instead of timeout?
 
@kelunik this is happening too.
@kelunik the timeout is just in case we don't get enough TCP window space to write our close message immediately
 
7:46 PM
 
@bwoebi Had a look because of github.com/amphp/aerys/issues/105
 
@DaveRandom ^ I got around to it ...
 
@kelunik yeah, seen it
 
It indeed doesn't log a debug close
 
@JoeWatkins \o/
 
7:47 PM
[19:40:37] debug accept ::1:33482
[19:40:37] debug accept ::1:33484
[19:40:37] debug GET / HTTP/1.1 @ ::1:33482
[19:40:37] debug accept ::1:33486
[19:40:37] debug GET /ws HTTP/1.1 @ ::1:33486
[19:40:37] debug export ::1:33486
[19:40:37] debug GET /favicon.ico HTTP/1.1 @ ::1:33482
[19:40:37] debug GET /favicon.ico HTTP/1.1 @ ::1:33482
[19:40:43] debug close ::1:33484
[19:40:44] debug close ::1:33482
 
@kelunik yeah, it doesn't log anything, neither open nor close
@kelunik debug export is: leaves Server class
 
It logs accept and close, but not for exported sockets.
 
there's no further logging in websocket
@kelunik yes … because there's no logging in Rfc6455Endpoint class
 
!!haskell Hello, World!
 
Error: `<hint>:1:6: parse error on input \`,'
`
 
7:49 PM
@Jeeves Whoops, will fix.
 
Add a newline @ eof while you are at it <3
 
!!changelog
 
[ Jeeves ] [ a292cb0 ] Turn any space into a newline for haskell errors - Commited by: Niklas Keller on 20.10.2016 19:50
 
Atom did it automatically.
 
!!haskell Hello, World!
 
7:51 PM
Error: <hint>:1:6: parse error on input `,'
 
yay
 
!!haskell "Hello, World!"
 
Return value: "Hello, World!" — Output: none
 
!!haskell putStrLn "Hello World!"
 
Return value: () — Output: Hello World!
 
7:55 PM
!!haskell reverse "A man, a plan, a canal: Panama"
 
Return value: "amanaP :lanac a ,nalp a ,nam A" — Output: none
 
@JoeWatkins awesome :-)
> Vladimir Putin is a highly intelligent sociopath who is cold, calculating and ultimately impotent because he is fully aware that someone equally bad-ass will come after him if he tries anything. He is essentially a Bond villain.

Donald Trump is a mentally challenged perpetual adolescent who is entirely unpredictable because he seemingly thinks no more than 30 seconds ahead. He is essentially Wile E. Coyote.

Between a Bond villain and Wile E. Coyote, which one is more dangerous to world around them? Which one would you associate more with the term "collateral damage"?
I enjoyed that
 
8:20 PM
Hi guys, I'm having issues with a pull request to my BitBucket repo. I have a merge conflict and I don't know how to get the pull request code on a local branch.
 
@Dan is it a public repo? Can we see the PR in question?
 
@DaveRandom it's not on PC, so - fuck 'em
 
@DaveRandom Private I'm afraid. I just wondered if the process is any different because I don't have read access to the other person's repo'.
 
@DaveRandom unfortunately, Hillary too is a Bond villain
 
8:27 PM
.. so there is that
 
This seems to say you can't merge, but I don't know how that's been working every other time. I only have this issue when there's a merge conflict.
 
Putin is more like Doctor Doom
 
@Dan you have no access to the other repo at all?
 
@DaveRandom No, if I look at the two commits in the pull request it says I don't have access to view.
But I can see the code in the merge request.
 
That's... really weird
I mean really I would argue that if the other person hasn't given you access to their fork then it's their job to resolve the merge conflicts so you can merge the PR
 
8:30 PM
Normally I'd hit "merge", it's automatic and I'd pull the code, then carry on.
@DaveRandom I see what you mean, but what if I actually want this code? I mean, I can see it, I just don't know how to "get it".
 
Anonymous
@DaveRandom can't wait
 
@Dan Well afaik there's no way to do that if you have no access to the other repo. If you have that access, then it's pretty trivial, you just pull down the remote branch and do the merge locally, resolving conflicts as normal.
Sorry :-/
I know on github they create virtual "branches" in the target repo so you can just check out a PR without messing about with remote URLs, but afaik bitbucket doesn't have that
 
@DaveRandom I guess I'd better ask for read access then! Is it normal to have no read access when receiving a pull request?
 
I would say no, it's pretty weird not to give the owner of a repo that you forked access to your fork
However it may be the case that it's just the default settings for private repos
 
OK, I shall bare this in mind. Thank you for your time, I appreciate it.
 
8:35 PM
No problem, sorry I can't be more helpful
for reference, here's atlassian's relevant docs on what you would do if you had read access @Dan: confluence.atlassian.com/bbkb/…
@tereško There will be a port eventually I expect
 
@DaveRandom Yeah, I read that page. I had the right direction at least :P
 
but yeh, sucks that it's not in the initial release sched
 
Right, time to wrap up, 21:37 here and still working : \
See you later.
 
@DaveRandom another Arkham Knight?
 
@Dan also worth noting, if it's someone who sends me a lot of PRs I tend to add them as a remote so I can just pull down arbitrary branches without having to find URLs
@tereško it's a rockstar open world game, it will be built on an engine that's more or less a copy/paste of the GTA V engine. Gameplay-wise, at least, that PC port is pretty much perfect.
 
8:39 PM
there is hope
 
:-)
 
then again GTA5 port came out like two years after the console release
 
Yeh that sucks
 
they basically remade the game
 
Code Coverage Report:
  2016-10-20 20:39:10

 Summary:
  Classes: 97.44% (38/39)
  Methods: 99.07% (106/107)
  Lines:   99.60% (247/248)
<3 @bwoebi
 
8:40 PM
and Rockstar has been quoted saying that they don't see PC as a good market
 
Sssh, stop ruining my optimism with your reality and facts!
 
Anonymous
I think it'll be good, I just hope they go down the same path as red dead 1
 
Anonymous
You're right though, looks just like GTA
 
Holy moly, that's some good coverage
 
1 line away from perfect :P
 
8:47 PM
@JayIsTooCommon Of course it does, the first one looked just like GTA IV :-P
 
@pmmaga Before bob fixed it it told me 100% coverage
 
@Wes remember that stupid error I was having yesterday? Well it was zone.js fucking with me by hiding real errors. The root problem was single quotes. Fecking single quotes. stackoverflow.com/a/38247580/576767
 
Hi guys, what do you recommend for documenting your REST API's (e.g. Swagger)?
 
@taco Swagger is a good start.....but possibly not enough.
For the record, I strongly recommend not using any of the inline annotation based swagger generators.....they're completely impossible to maintain. Instead just chuck everything into a json array that is in the correct swagger format.
i.e. don't use this github.com/zircote/swagger-php
 
@Danack That's what I was looking at. Hmm
 
9:01 PM
It's fine for trivial examples, but when you get to wanting to do more complicated stuff, having to encode swagger values inside PHP docblock annotations drives me up the wall.
Just sticking it in a json file is so much easier.......and you don't end up with 30 lines of comment between each piece of controller code.
 
how do you stick the info in a JSON file?
 
pritt stick
 
Oh - sorry. I should have said. That library is fine for entities actually - it's just for the actual API endpoints that it's becomes unwieldy.
 
I just started reading about functional programming. wtf am I reading?!
 
@taco I can send you an example tomorrow.....but basically, open a file....put stuff in it, save it as JSON.
 
9:03 PM
@Danack Okay, a ping will work if I'm offline. Thanks!
 
i love functional programming. it takes smart people who would otherwise be competing with me and turns them into unemployable crazies
 
@Tiffany Something that will not help you to grow as a PHP developer. I highly recommend that you put it down unless you have a couple of years to burn.
 
@Danack YML works too if Swagger supports it
 
If you have a couple of years to completely rebuild your understand of programming concepts from the bottom up, knock yourself out.
 
er, YAML
 
9:05 PM
Yeah..........no.
 
okay
 
@Danack it's happening again. I've been subjected to Radio 1 all day (I'm considering taking it to the ECHR) and now I have this in my head. Halp.
 
level of workyness in windows matching proper os
 
9:08 PM
@Danack wow that is like instantly addictive
@JoeWatkins :-P
 
Phones Dave's support group....
@Ocramius listens to that ^^ while coding.
 
@DaveRandom I know another good song with the same name ("False Alarm")
 
s/another//
Chocolate currency stronger than real currency https://t.co/xqGpirhIu0
 
9:27 PM
@Danack that's great.
@DaveRandom I was looking at it cause I kept hearing about it in different places, so I was curious. There's an article on medium that introduces you to some of the concepts and ... yeah
 
Anonymous
@PeeHaa how's the track going ?
 
I got to the point where it said there aren't variables and went "wait, wtf?!"
or that variables are immutable
 
@JayIsTooCommon I made the start better and the rest worse for now. Didn't spend much more time on it. 1 sec
Also I borked my vst license up to the point I have used the "thank you for trying this demo" text as placeholder vocal again :P
 
Anonymous
legally steal a Mac and legally torrent logic
 
Yeah I cannot get rid of it. I should probably just reinstall everything
@JayIsTooCommon That would mean a different GUI :(
I don't like change
Also it would involve finding the vst's again for mac
 
Anonymous
9:42 PM
@PeeHaa 00:42 - so cool, sounds mint. To be honest... I like the demo vocals :p
 
Wes
\o
 
Yeah I will try to keep it in where it belongs. I have it sampled so I can safely fix my license and keep using it somehow :)
yo wes
 
@Wes did you get to read that article?
 
Anonymous
Soop wesworth
 
Wes
not yet
 
9:49 PM
o/
 
Wes
\o
 
\o/
 
Pro tip: don't mix Corona, wine, and long speeches
 
@Sean why not?
 
!!haskell map (*2) [1..10]
 
10:02 PM
Return value: [2,4,6,8,10,12,14,16,18,20] — Output: none
 
Wes
haskell, what
 
just saw kelunik added this
(that above just multiplied each item in the list, if you were asking)
 
Wes
nope, it's just strange to have that in the php room :D
 
indeed :D
 
!!haskell filterM (const [True, False]) [1, 2, 3]
 
10:06 PM
Return value: [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]] — Output: none
 
Wes
powerset?
 
o_O
 
Wes
i don't get how it works tho
... nobody can
schiaparelli still dead
 
@Wes i have no idea. My google-fu is way stronger than my haskell-fu.
 
Wes
lol
 
10:15 PM
!!haskell subsequences [1,2,3]
 
Return value: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]] — Output: none
 
that filterM one is explained here stackoverflow.com/a/5378799/2852427
 
1 hour ago, by Danack
i love functional programming. it takes smart people who would otherwise be competing with me and turns them into unemployable crazies
3
 
:D
hah, his own reply is quite funny there
> Looks like my tweet from 2009 is making the rounds again. Welcome, new followers! If you're wondering what's happened in the last 7 years...
> ... I now make a living hiring functional programmers. You may consider yourselves victorious.
 
Wes
lol
 
10:28 PM
!!haskell let 2+2=5 in 2+2
 
Return value: 5 — Output: none
 
Wes
did you just broke math?
 
wut
^Terrence Howard believes 1x1=2, so he created his own language
 
:D
above was redefining (+) x y = 5
any other value would not work given it was for 2 + 2
 
Wes
10:44 PM
new south park episode
 
Anonymous
Am off, G'night o/
 
Wes
\o
 
11:05 PM
I think I'll sleep, nn all
 
Wes
gn joe \o
 
cya joe
 
11:24 PM
night
 
Wes
11:47 PM
damn trial expired
!!should i spend 900$ for something i probably don't need
 
Dunno.
 
Wes
DAMN JEEVES
!!should i spend 900$ for something i probably don't need, again?
 
@Wes no.
 
Wes
i asked jeeves! he's guaranteed to give unbiased results! :B
 
He's biased by his RNG. You can't trust him. Trust me instead.
 
Wes
11:52 PM
:D
it wouldn't be the worse thing i've bought. it actually could open up to work opportunities (it's the 3d program i used to make amphp logo)
when i got my driving license i bought a sports car that consumed more gas than i could afford, so i ended up not using it. that was wasted money :B
 
@Wes buying a sports car in itself was probably already quite expensive…
 
Wes
indeed :B
at least for a 18yo
 
sports cars are not for regular use, silly
It has "sport" right in its name.
 
Wes
spent all money there and had no money left for the gas
what if i'm sporty all the time
 

« first day (2196 days earlier)      last day (2745 days later) »