« first day (2141 days earlier)      last day (2801 days later) » 

4:04 PM
@Danack not really, sry. you may have find it but it seems here's some basic examples of exception throwing. not sure if this is still afloat though, and I dislike the scope.apply() approach generally, but the principle of exception raising and catching seems valid.
hmm... not sure if I understood you correctly, tho
 
> elucidate
:)
/me is starting to dislike the javascript tag. my only answer on it scores a lot more than my php answers, and is a direct quote from mdn. damn js users
 
:P
 
Last day of work complete. I can officially begin my early mid-life crisis! \o/
 
Cheers! \o/
 
4:15 PM
@FélixGagnon-Grenier you should put in some effort and collect a gold badge in PHP
 
@tereško I can't even think of some witty answer to that. you are only right :)
 
@FélixGagnon-Grenier have you deleted it?
@FélixGagnon-Grenier or do you mean stackoverflow.com/a/34550171/2153758 ?
 
@bwoebi no... should I? actually no, I shouldn't, as it's the only answer on that question that actually answers the premise with vanilla javascript things, in a clear and concise way
@bwoebi yeah that one
 
that's not the top scorer one in your profile =)
 
ah… I imagined 30 and upwards being "a lot more"
 
4:20 PM
14 is a lot more than 2 I'd say
@bwoebi all of this relative to my low rep, also :p
 
@Saitama I don't think "elucidate on" is a valid combination (in that context)
 
Anonymous
@PeeHaa poooooong
 
Anonymous
@Fabor congrats! \o/
 
@JayIsTooCommon you misspelled "let's get drunk"
 
Ekn
ok, it seems I finally have an apprx time to go to Florida... Feb '17
 
Anonymous
4:23 PM
I really do want to get drunk tbf...
 
@tereško Do you not find the questions that needs answers often don't deserve them? Just different takes on the same question or ones that can just be googled
 
@tereško how does this comment sound?
> Have added some code in there ;-) could you explain the things a bit on the answer =)
 
you do not "explain on the answer"
 
ah, i see
> Have added some code in there ;-) could you explain the things a bit, about the links given in the answer =)
^ that ?
 
yes, that's sounds better
 
4:26 PM
@FélixGagnon-Grenier well, my average answer scores about 2.4 upvotes
 
for fuck sake, you are supposed to be british
 
thanks for helping me :)
 
Meh, I find non-natives often speak better English than natives
 
@bwoebi you did the maths, or that is a rough estimate? :p
 
@FélixGagnon-Grenier and your answers only about 1 upvote (rounded to the closest tenth)
 
4:28 PM
nice!
 
Questions
11.5    27      15.5
Answers
4.526   4.778   0.252
 
@tereško yeah, you have a bunch of really highly upvoted ones
What's interesting though is the ratio of 0-voted answers … which is 50% for @Félix, 25% for me and 20% for @tereško
 
my puny little averages :P :
          Score Upvotes          Downvotes
--------- ----- ---------------- ------------------
Questions 0.95  1.2              0.25
Answers   1     1.02173913043478 0.0217391304347826
 
@bwoebi I would hazard this has a correlation to the total reputation. people are more inclined to upvote answers from higher rep users, rightly or not. hey, look all these numbers, they're probably right
 
^ true dat
 
4:34 PM
@FélixGagnon-Grenier naah, I have just deleted a lot of bad answers
 
@FélixGagnon-Grenier not really, at least checking the answers from the first months I was on SO…
 
question was asked, and close, totally within a minute
 
@Fabor You're basically the personification of a twiglet
 
!!urban twiglet
 
4:37 PM
[ twiglet ] piglet + twig = a person who eats constantly and yet, they stay thin
 
can someone find bugs in my website
 
probably
will any of us look: probably not
 
@rdlowrey How's Artax coming along?
 
user895378
@bwoebi it's not lol, have spent all my time working on websocket API the last two days :)
 
@CharlesCraft50 if you want people to do code review, publish it on github
 
I want a guy who hacks website
just to test my website
 
@rdlowrey that's why I said you should discuss here instead of full-blown drafts needing you hours to work out on github
 
@CharlesCraft50 so.. you're asking for free pen testing?
 
@rdlowrey anyway, what is the Artax progress currently? (i.e. what works already?)
 
4:43 PM
@CharlesCraft50 not gonna happen
sounds too much like work
 
@JayIsTooCommon plonk
 
@FélixGagnon-Grenier hay my site msn.com plz hack and tell me how
 
Anonymous
@PeeHaa you being uncool again tonight?
 
Not sure yet. Probably not. Won't be for long though because I have to get up early again tomorrow... :(
 
@PaulCrovella meh :p
 
4:47 PM
@FélixGagnon-Grenier not quite what I meant
!!wiki twiglets
 
@Leigh Sorry I couldn't find that page.
Twiglets are a wheat-based snack with a "distinctive knobbly shape" similar to that of a small twig. The taste of Twiglets derives from the yeast extract used in its coating, and has been compared to that of Marmite. They are marketed in the United Kingdom and packaged in 24 g, 45 g, 105 g and 150 g bags and in 200 g tubs. == History == Originally launched in 1932 by Peek Freans, Twiglets are now made in Aintree by United Biscuits subsidiary Jacob's. In the early 1990s, a range of tangy Worcester Sauce Twiglets was introduced. These were not as popular as the original flavour and had been withdrawn...
 
hmmmm... interesting :)
 
Anonymous
@PeeHaa okie doke gorilla tits, in about an hour or so?
 
k
 
Anonymous
Can you change that to a kk please?
 
Anonymous
4:49 PM
Makes me feel more liked.
 
> gorilla tits
 
@bwoebi lol
 
> has been compared to that of Marmite
I'll pass
 
kkk
 
@Leigh Why twiglet? :p
Oh I was thinking from Winnie the pooh
 
4:50 PM
Because you're long and thin and a funny colour, and potentially odd tasting
 
Ekn
:D
 
potentially...
 
if you're also coated in yeast you might want to get that looked at
 
Only one way to be sure. I'm in London Thursday
 
Well you're odd smelling
 
4:51 PM
I smell like an angel thanks.
 
Thursday when?
I'm obviously working daytime
 
heh it's for the airport so no time for drinkies I am afraid.
 
favorite typo of the day > var_dumb($result)
 
Ekn
heh
 
user895378
@bwoebi Nothing. It's up to the point where I start receiving the response. Need to rewrite the existing parser as a generator next.
 
4:59 PM
@rdlowrey You probably can copy half of the code from Aerys though, the biggest difference should be the parsing of the first line of the answer?
 
user895378
unfortunately it's just different enough parsing responses that I can't ... there's a fair amount of the response parsing that depends on values from the request because HTTP is dumb.
 
@rdlowrey at least chunked decoding & Co should be easily copyable
 
Jay
how do you put a plain text file with values on each line like: name=value into an array?
I have the response in a variable
 
Anyone got fun Friday plans?
 
@Fabor Yup .. sleeping :-)
 
5:08 PM
@Fabor I'm still at work, but the unlimited free beer has started, and it's hot and we have balconies
 
@Jay look @ file() and some of the string fxns
 
@Leigh I feel for your liver
 
Seriously the only time I don't drink at the moment, is Sunday...
city life
 
Jay
@jeremy can you put a variable in file() ?
a variable that is the data not the file
 
@Leigh What do you do the rest of the time?
 
5:09 PM
evening
 
I'm usually out and about 4 nights of the week in the evening
 
Dogging?
 
I'm more of a cat person
 
user895378
@Leigh same in New York. I've never consumed as much alcohol as I have in this city
 
Oh I have, difference here is I'm doing it with other people :p
 
user895378
5:12 PM
I had a 4-week stretch not long ago where I drank every ... single ... day
 
user895378
alcoholics anonymous is for quitters, btw
 
I drink because I choose to, not because I need to
 
I don't think I have ever drunk even two days in a row, not to the point of drunk at least
 
I don't get hangovers so I don't really have much in the way of consequences to think about bar acting a fool during
 
@rdlowrey By drink, do you mean to the point of getting drunk, or just had a drink.
 
user895378
5:15 PM
not necessarily drunk, no. but at least consumed.
 
Having one a day is pretty much par for me. There might be days I skip it, but that's rare.
Usually it's a beer with dinner. I hardly consider that drinking anymore.
 
I can't drink alcohol for taste honestly. Not nice enough.
 
user895378
There's a lot of value in relaxing at the end of the day with a beer or a bourbon or a glass of red wine
 
And drinking alone just makes me sad
 
@rdlowrey Or just relaxing at the end of the day.
 
5:16 PM
@Fabor That's why I don't drink at all actually…
 
@rdlowrey I've started getting into red wine, particular ports.
 
Ahhh port, as long as it isn't that sweet stuff
 
Been enjoying this one lately: ramospinto.pt/produto.aspx?ID=105&lingua=en
 
Love a good port: 'Dow's Mignight Port' is my fave
 
I wish it was socially acceptable to order a milkshake at a bar. That's the world I want to live in.
 
5:23 PM
 
@Fabor It's probably acceptable at any bar that sells them, right?
 
@Jimbo I haven't had that particular one, but I have had other ports by Dow.
I'll have to look for that one.
 
@Trowski I love that age check thingy on there
 
@PeeHaa I don't recall seeing a no...
 
:D
 
5:25 PM
A no would do what; send you where? If you pick Google that might be favoritism.
 
@LeviMorrison Overlay something over the page I suppose.
 
Well yeah. Dunno. maybe a simspons nelson pointing at you
 
Tell you about how bad underage drinking is, lol
 
ah, port is porto...
 
Hello!
 
5:30 PM
hil-a-rious
 
Is this sentence correct? (English perspective)
> As a note, that "word" is redundant in your sentence.
 
ANyone know what shoul filter() method return implementing php_user_filter custom class?
 
> Note that "word" is redundant in your sentence.
 
It's the weirdest class name I ever saw in PHP: php_user_filter
 
5:37 PM
> Magic stuff. Been taking 1 spoon a day for 3 weeks. I can now type this review using all 12 fingers.
 
6:02 PM
14
A: What is a bucket brigade?

bwoebiAh, welcome to the least documented parts of the PHP manual! [I opened a bug report about it; maybe this answer will be helpful for documenting it: https://bugs.php.net/bug.php?id=69966] The bucket brigade To start with your initial question, the bucket brigade is just a name to the resource na...

 
@Saitama dude... that's not actually steve
it says it right there! :P
 
@bwoebi Is there any reason to expose pings/pongs to websocket clients?
 
@Trowski no
 
@bwoebi That's what I was thinking, but wanted to check.
 
except if you want to debug the underlying communication, no…
 
6:11 PM
@bwoebi thanks
 
@brzuchal thank me with an upvote if it helped you
 
there are everywhere in the docs resource type hints and you never know what do they mean
sure
 
@brzuchal that's part of why resources need to die
 
I wanted to find out all the PHP core functionalities to presend some OO API in basic functionalities
 
Anonymous
!!wotd
 
6:14 PM
truepenny: a trusty, honest fellow.
 
like Streams, Writers, Readers, Sockets, StreamFilters etc.
 
If I have learnt one thing, is that the procedural API is the most flexible one.
 
and most hated
 
Why is it hated?
 
Because there is plenty of stuff which operates on resources which should be just classes with interfaces IMHO
 
6:19 PM
@brzuchal That's not saying why. Why should it be classes with interfaces?
 
Because then it's reusable
 
@LeviMorrison maybe but you look like a weirdo. :p
 
@bwoebi One minor issue I see with an iterator of Message objects: there's no way to know if the message is binary or UTF-8 until something is received, so the isBinary() method would have to return an awaitable or throw if nothing has been received.
With an Observable, a Message object would not be generated until at the first frame header was received
Unless you see a different solution.
 
@Fabor ?
 
That's a valid point I've already considered, but the distinction between binary or UTF-8 is negligible enough to not be problematic to just have it return an Awaitable
 
6:25 PM
Re milkshake Levi
 
@bwoebi How is the distinction made in Aerys.
Am I just missing the method in the docs?
 
@Trowski it isn't done at all
 
@bwoebi Ah, guess we'll have to update that at some point.
 
And I've never seen anyone (using websockets for real) ever missing it
 
95% of people will probably never call the method, but it probably should be there.
 
6:29 PM
I installed pear mail on a server, had it install all the defaults and add the dir line to the php.ini file. Website is unable to send mail because "No such file or directory." ... did I miss something in the installation?
 
@Trowski maybe yes.
 
error message: Warning: Uncaught exception 'Exception' with message 'require_once(Mail.php): failed to open stream: No such file or directory'
 
@bwoebi Is there a reason we couldn't share the implementation of Websocket\Message between libs?
Ugh... other than it would be a circular dependency.
 
@Trowski That discussion is not relevant now. I wish to have separately designed APIs, which may or may not turn out similar.
 
or should I check that pear mail is working by writing a quick php script that utilizes it?
 
6:31 PM
@bwoebi Yesterday I've started with getopt simple procedural style to parse command line params but it's syntax is killing me and found out that it is unusable because it stops on first argument (not option/flag).Then tried out Symfony/Console
` and it has nice OO API with definitions arguments and options but it fails if tgere are unknown arguments or options on input so it found out also unusable. But from thise two tge second API is readable and firstone has brainkucking syntax thats why I prefer OO API.
 
oh god, getopt.
You've picked one of the most gruesome APIs in PHP
 
@bwoebi Yeah, looks like there would be just enough difference for it to not work.
 
Yes so I needed to write my own implementation and thinking of writing it as an ext.
 
@brzuchal I've been using CliMate for it
 
@bwoebi It's somewhat relevant, as even though they are purposed differently, it's nice to either have similar APIs or dissimilar APIs to avoid confusion.
 
6:35 PM
@Trowski Yes, but first we need the API. Then we can rename things or move it a little around to match each other closer or such.
 
@bwoebi sure there are userland implementations but I think I should have nice API simply in core. Am I wrong?
 
@brzuchal Not sure.
 
Java std library and C# have ones!
 
and... these are good reasons because?
 
yes, even Go does.
 
6:43 PM
well .. fuck
 
@brzuchal I think I agree, but it needs to be an API covering all the cases then.
 
openssh for poweshell is fucked
 
@tereško why?
 
Sure thats why I'm doing a research.
 
you cant use arrow keys
at all
 
6:46 PM
can we please just continue to use OS X or Linux directly? Thanks. :-P
 
why?
 
I'm thinking on API which could be extended in userland to provide complex and pretty implementations like Symfony/Console and which could out of the box/core ensure nice API instead of getopt
 
@tereško well, because it obviously doesn't work on Win?
 
did Steam add support for 4.x kernel while I wasn't looking?
if not, I will keep using windows
and requiring me to reboot to linux just to check VPS logs seems kinda really fucking stupid
 
@tereško Use a VM?
 
6:50 PM
.. to check logs on my VPS
are you trying to make me even more pissed off?
because, honestly, it's working
 
@tereško pissed of windows? yes :-P
 
not that is not working
 
pissed of me? no
@tereško damn :-P // okay, I'll stop pissing you off now
 
I fucking hate to configure cygwin
 
@tereško Do you still need that?
You still on 7?
 
6:55 PM
 
there's always putty
 
Can't you just use that nix subsystem thing on 10?
 
@brzuchal My requirements to a good impl should be at least pretty printing usage (i.e. -h/--help), accepting a keyed array of options for each (--long-name, -s [short option name], type, default, description) and being able to access trailing args (i.e. everything after a -- or the first argument which isn't (a value to) an option).
 
@PeeHaa I hate bash more than I hate cygwin
 
I can somewhat live with bash
 
6:57 PM
@tereško why?
 
looks like I will make a poke at putty before I commit to installing cygwin
 
(as long as you aren't needing to use control structures in bash, then it gets very ugly very quickly)
 
@bwoebi because it's "history search" is crap
I use csh/tcsh
 
@tereško I can't relate… What's wrong with it?
 
@bwoebi thanks I't may be helpfull, I'll let you know about some proof-of-concept
 
6:59 PM
@bwoebi it is bad
 
i thought you have been using cygwin form long time?
 
not since I lost my RAID0
 
ah ok :)
 
thank the world for Fridays
if i had to do the exact same thing day in, day out w/o a weekend I wouldn't be a very nice guy
 
@tereško I ignore in what way though… I must not be using it extensively enough to have noticed the glaring issues…
 
Ekn
7:08 PM
I feel RAID0 should be called AID0 as it's not redundant
 
@bwoebi do you actually use history search?
 
@tereško yes, but not much. Typically, typing 3 times arrow up is easier
 
yeah, well, in csh you type in what you want to find and then just arrow up through all the matches
 
@tereško Ah okay, yeah that seems better then
 
is there a simple way to check to see if a php server can access an LDAP server?
like a simple php script?
 
7:14 PM
try opening a socket to it ?
 
what is this opening sockets business?
I may have to wait until the server admin is back on Monday, cause the error I'm receiving, I'm not sure I can fix myself
web server is reporting that it can't contact the LDAP server
but it should have permissions
 
@bwoebi if you want to try it in bash:
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
 
@PaulCrovella thought it's ctrl+r in bash?
 
@bwoebi no, I mean tcsh style. add that to your bashrc and you don't need to enter history search, just start typing then up/down for matches
 
oh
 
7:24 PM
I figured out the problem
I need to set a conf file up for LDAPS
which is a pain in the ass for PHP, but I took notes on how to do it... just have to find them
I wish my brain had a better indexing method
"where did I put those notes...."
for future reference, if anyone cares: greg.cathell.net/php_ldap_ssl.html
 
indeed looks like a pain in the ass
 
7:39 PM
it is :/ but it works
oh! I just had to copy the folder from the other server to the new server
no extra work required
yay!
now just need URL Rewrite rules on new server and I think it's ready for testing
glee
 

« first day (2141 days earlier)      last day (2801 days later) »