« first day (1703 days earlier)      last day (3471 days later) » 

11:05
@Danack dammit. that was so obvious :D thanks
@Danack Any specific reason why you asked?
@DaveRandom hehe ...
@kelunik Yeah....I'm giving a talk on DI next month.....and I think the final point I'm going to try to make is that to do DI properly, you need more than 1 layer of dispatch in an application, as it is not possible for all information to be known ahead of time to setup DI, for say the view layer. That doesn't apply to APIs as for them it is possible to know everything ahead of time.
But for a webpage, where the template/view to be displayed can't be determined until the page controller has run, you need to have another layer (or dispatch) after the controller has run, where the info for the template can be setup. You said you only need to do DI once - I was going to pick an argument ask how you were getting the info into the views.
But as you avoid that problem by serving an API, it's probably not something you've had to address.
@Danack Did you mean Aerys or Artax?
@DaveRandom Aerys.
11:18
Does anyone know of any good resources that talk about good workflows for developing, I.e automated testing, deployment, versioning and IDEs
@DaveRandom I meant applications in general, not a particular library.
Ahh, I failed to read the convo history properly
Just as an example. Say you have a front-end app, that makes an http api call to a backend server. The backend server will have it's own config setup + dispatch layer. If you wanted to get rid of the http slowness, by just putting the two apps into one, you would almost certainly still need the 2nd level of config setup + dispatch, at the place in the program where the API call was made before...
though I'm not 100% convinced that is totally correct...
@Danack If the backend server just wraps some SQL queries, you could just move them into your other app without any second level of config.
How do you deal with a function that will end up requiring about 10 parameters, like a function call that retrieves results from the db with filters, date_start, date_end, sent, offline, etc...
Array it?
11:33
@Danack To be honest: templates and views are things that are not properly implemented in my Aerys app, because there are just three or four http handlers and it's something that I have to implement later when the Aerys API stabilized.
@kelunik If it's just a plain function call then yes, but if it takes the parameters, sets up some DI config based on those parameters, then it would need the 2nd level DI stuff.
@Fabor Query builder objects....
@Danack I'd say that's accurate. You can't make decisions based on information you don't know yet. This isn't really about the API though, it's simply about requiring some application logic to execute before you can complete your setup, which is pretty much standard in any application if we're really honest. That said, I can't see this affecting DI, at that second layer you'd use factories that were injected during the bootstrap.
The reason is: You don't want to hit your disk for any request. You want to cache those things directly and it's possible, because Aerys is a long running script.
@Danack Fair enough. That's what I had considered.
@Fabor I'd rather VO it, and I think that's probably because it plays nicer with static analysis, but yeh you probably want some kind of complex structure to describe related parameters like that
11:36
@DaveRandom Yeah....but factories are boring.......and it's possible to need to have a lot of them. e.g. if a controller might want to display one of 4 views as a result of the code in the controller, then having to pass in an extra 4 parameters (1 factory for each of the possible views) would be a bit annoying....
> factories are boring
...
not sure that's a good argument for/against anything :-P
@Danack I don't see any problem with having a generic ViewFactory with multiple create* methods, I do this all the time and have never heard a good argument against it.
Heh florian already posted apparently.
@DaveRandom Presumably the views could/will have different dependencies, that the controller shouldn't be aware of. How do you get those dependencies into the view, without having a separate factory for each view?
What do you classify a query building object as in terms of where I place the file directory wise?
in the Model under?
@Danack A lot of those will be shared, but yeh I suppose it could get messy. As someone who doesn't really do DIC I guess I never really thought about it.
11:42
@DaveRandom That's actually very similar to a line I'm going to use "The usual solution to this problem is to ignore it and hope it goes away..."
I've always enjoyed burying my head in the sand. Sand is dark and soft and people can't tell the difference between you ignoring a problem and just catching up on a bit of sleep.
Oh....and the feeling of getting sand out of your head after you've had it in your hair a while is awesome....
It is strangely satisfying.
morning
12:02
posted on June 15, 2015 by kbironneau

/* by Metrakit */

2
public function processAuthorizeResponse ($code) {
    $response = $this->client->request(...);
    $data = json_decode($response->getBody(), true);

    if (isset($data["access_token"])) {
        return $data["access_token"];
    } else {
        throw new OAuthException($data["error_description"] ?? $data["error"] ?? "No access token provided");
    }
}
That's usually my face after it.
^ I want to avoid that exception, because it would be user-triggerable, but still access the error message, if it's there. Does anyone have a suggestion?
@kelunik what?
12:09
lol
@FlorianMargaine That method is requesting an OAuth provider and tries to exchange a code for an access token.
Yeah, xbox though. -_-
@kelunik yes, and?
@Fabor there's a pc one too
Get the PC one then :P
12:10
I don't understand how will the pip boy fit any kind of phone
will it have it's own screen or what
@FlorianMargaine Malformed or bad user input shouldn't result in exceptions IMO. But there may be no there good way in that case, because I can't validate the $code before.
@kelunik ah, so you want a way to manage user errors without going through exceptions
@FlorianMargaine Yes, exactly.
can one in some way call a method from another class, and set the "this" object in PHP? like JS apply /call methods. so from method A::foo we want to call method B::bar but $this should still be the A object.
@kelunik question for @Danack :D
12:15
@kelunik catch and log?
@PeeHaa no, he wants to avoid exceptions altogether
@kelunik How can that be a user error?
@PeeHaa Yes, that would be the normal way for exceptions, but users could fill your log with lots of malformed requests.
@PeeHaa $code is a value provided as query string parameter in the OAuth callback.
@PeeHaa a better example would be form validation errors
@Qtax afaik you can't in php, not even using reflection. check traits if you are trying to reuse some code
closures != methods
@kelunik No normal user would use that manually
Sounds like an exception to me
@PeeHaa If GitHub would suddenly add a Deny Access button, an error would be a normal condition. I think Facebook has something like this, so you can ask for different permissions and you can allow only some of the asked ones.
That would actually not give you a code but result in a error being present in the URL.
@kelunik so you can ask for different permissions and you can allow only some of the asked ones <- that is what you get back, but not in the URI IIRC
12:42
@PeeHaa There's a reason why I crossed that out. ^^
The only real issue I have with it, is that a malicious user can provide any invalid $code resulting in that exception.
@kelunik Don't you have a nice error page to show the (malicious) user ?
@PeeHaa There will be one later, of course. Well, the only thing that would change if not using an exception would be: there's no exception object instantiated.
12:57
> The system service "Memory Paging Management Service" could not be started because there was not enough system memory available to satisfy the requested resources. Try increasing the size of the system page file.
@LeviMorrison you were right, even with maniacally optimized php code, seems that avltree is slower than php's arrays. with the possible exception of unshift (but only on big lists) :( would be great to have a bst implemented in spl. can you do that? :D
Yay for SBS \o/
@kelunik Imo you should just throw -> catch -> display nice error page
@Worf, k, thanks.
@PeeHaa Fine.
13:15
@kelunik I think we've had this conversation before - and that I disagree with the premise that user input should never throw exceptions....But for this case, the choice is between an exception, or having a some sort of validator that either redirects the request to an error page, or continues to process the request if it's valid. And if there's no sensible place to put the validator, then exceptions aren't the worst thing to abuse...
@Jimbo * shakes fist *
@DaveRandom I responded to your msg and you don't bloody msg back!
God damn slackers with their festivals and their enjoying themselves and generally being happy
13:22
Hello all!
@Jimbo Goodnight sir
Kids these days, don't know they're born, in my day we used to dream of <incoherent mumbling> ...not even Irish.
Are we allowed to promote questions here?
@DanB Moar pings for @dan
@DanB Only if it is not about paypal :P
@Jimbo I was busy looking after having the shit kicked out of me by a small child
13:24
Haha... it is @peehaa
@DaveRandom How could I have helped you? Also scowseland != Blackpool :P
@PeeHaa It's driving me crazy...
@Jimbo I thought you were somewhere in Miseryside?
@Worf Maybe ^^.
Keep in mind the callback to do comparison between items is expensive.
@DanB YOu sure the problem isn't on paypal's end?
13:27
I'm not sure if that can be partially optimized in core or not.
The error message says they are experiencing issues
Though paypal is a piece of turd so you can never be sure
Anyway @Jimbo, been working on github.com/J7mbo/twitter-api-php/compare/… and have been trying to work out a couple of things. Firstly, is there any good reason to prohibit adding query string parameters to a POST request? It's a valid thing to do in terms of HTTP, do Twitter disallow/definitely not use it?
Also, I suspect one of the examples in your readme makes no sense
Why don't you guys align your ='s ?
@Fabor I do :)
Let's start a club, non-aligners not allowed in. Those animals.
13:33
We totally should!
@Fabor Align my what now?
I hope you mean stuff like this though github.com/PeeHaa/OpCacheGUI/blob/master/index.php#L92-L93 otherwise I'm in the wrong club again
I do. As above @DaveRandom ^
I totally do that
Okay Dave, you're in.
You monster @jimbo
Though I totally regret the decision when an extra-long variable/property name gets added in.
13:36
I don't like @Jimbo anymore!
@Fabor ouch.. mixing camel & underscores.. it's like mixing beer and tequilla..
@Fabor Yeh, I don't do it every time, there are cases where it looks stupid
I generally do for things like github.com/DaveRandom/phphuck/blob/master/src/Cmds.php though
I think we need to get our pitchforks out.
...oh, matron?
Wonder if there's a PhpStorm plugin for detecting varying coding styles in a project.
13:39
@PeeHaa Ping yourself banana face
There's "reformat code"
In a world where IDEs practically do everything for you, why is simple shit like alignment so difficult? Really... :(
ThW
ThW
@Fabor It clutters diffs
It makes me said when people do stuff like this ...

```
$arr = [
'foo' => 'bar',
'baz' => 'quix',
'quakc' => 'foobaz',
];
```

Instead of this ...

```
$arr = [
'foo' => 'bar',
'baz' => 'quix',
'quakc' => 'foobaz',
];
```
@ircmaxell you're in NY right? Are you going to be in town in September?
13:42
missing a ctrl+k there
missing difference there?
bleah, code formatting in markdown sucks :(
SO chat why you no play nice >:|
@Sherif for multiline code, use ctrl + k
Looks like DaveRandom on a Saturday night ^
13:48
Kinda like me on a Monday morning :)
ugly
ThW
ThW
@Sherif second version requires you to change lines just for formatting, making your diffs larger and the actual differences more difficult to find.
@ThW Then do it right the first time
ThW
ThW
@Sherif requirements change
@ThW Not sure how that changes the perception that ugly code is a good thing. Code, while meant to be run by machines, is entirely consumed by humans. Humans like pretty things.
13:51
@Fabor I hate it when you have a nice block and suddenly some asshole long thing comes around the corner and introduces huge whitespace :(
ThW
ThW
@Sherif "pretty" is a matter of taste, I don't think it is pretty. But I try to find more objective reasons for code formatting - and my main goal is to write source that is easy to maintain.
<?php

 $arr = [
-    'foo'   => 'bar',
-    'baz'   => 'quix',
-    'quakc' => 'foobaz',
+    'foo'            => 'bar',
+    'baz'            => 'quix',
+    'quakc'          => 'foobaz',
+    'something long' => 'uh oh',
 ];
urgh.
It burns my eyes!
13:56
@ThW Of course it is. Though there are objective reasons for using whitespace to align columns and rows of collective things. There have been many studies conducted on the subjective matter that proves objectively that humans are productive when they can process large amounts of data in chunks. It's the same reason it's easier for you to memorize a phone number in the format of 555-123-4567 more easily than 5551234567.
One things just become one big blur, your mind tends to ignore them.
@Sherif We tend to ignore too monotonic things too ;-D
@Sherif The latter is a pain because if the length of a key changes to be too short/long compared to where it was you have to reindent all of them!
ThW
ThW
@Sherif and the large whitespace makes it difficult to recognize the lines.
@salathe Get him!
I feel so clean mentally when I get to do the three Rs. Mondays should be reserved for them.
14:00
It's imo worse when the really thing is at the start for some reason
@Sherif We are all working with PHP in here so I am not sure that statement is valid :P
@LeviMorrison Really? In a world where IDEs can do all of this for you automatically you believe that your pain-point in writing code is having to do deal with indentation and alignment? I find that very hard to swallow.
Also @Jimbo here you don't use a backslash, but here you do
@Sherif I'm not saying it is "my pain-point". I am saying that it is more painful for everyone whose IDE is not configured or doesn't actually have an IDE.
That's all.
Also, when the key and the value get far away it gets harder to understand.
@PeeHaa Normalizing the language we're working with actually lends itself to emphasizing the validity of the statement more than deviating from it. It just means we're all already accustomed to a relateable syntax and so what subject matter is left is moot by comparison.
@LeviMorrison That's why you always enable whitespace characters to be visible :P
14:04
I also haven't heard you defend why you think the indented way is better.
Do you people also always show whitespace characters in your IDE / editor? Or is it just me?
@LeviMorrison I can understand that it may be mundane and in that sense painful. Though I still can't see that as a good excuse for choosing to make an already painful situation even more painful by having to stare at ugly code all day.
@PeeHaa →→···It's·just·you,·weirdo!
@LeviMorrison I have, actually. It makes it easier to digest groups of information more quickly. The human brain is used to picking up on patterns more quickly than serial information. If you align the rows and columns it effectively makes you more productive and less prone to PEBKACs in the long run.
@salathe :D I don't do the "paragraph" / line end thing though
14:07
posted on June 15, 2015 by kbironneau

/* by Frankie */

@Feeds That's not output, that is decoupling
@PeeHaa Actually, I do find that very useful especially when you set the IDE to show you tabs vs. space discrepancy in indentation. Helps me catch wonky misalignment across large code bases eventually.
that guy is good, quick to react
@Sherif \o/ I am not alone
Of course, you could just set your IDE to automatically replace tabs with spaces, but ... sometimes that causes more problems than it solves.
@AlmaDo This is what happens when you use a default exception handler. It turns the harmless pranks into fatal errors :p
@Sherif in that case it handled that well I believe
I guess, that guy will never make that silly mistake again. That's for sure.
which guy?
The one that got handled?
14:13
yep, I think so
@AlmaDo default Throwable handler?..
(... is there even going to be a set_throwable_handler()...)
14:29
@salathe I suppose an alias could be set up, but I think everyone will continue to refer to them as exceptions, so probably not.
Better than set_baseexception_handler() :)
set_explosion_handler()
@Trowski huh? it can't be an alias
@DaveRandom set_gensplosion_handler()
class Grenade implements Throwable {} <-- only instances of this are handled by set_explosion_handler()
@FlorianMargaine Damn, beat me to it.
@salathe You can't have set_throwable_handler() simply be an alias of set_exception_handler()?
14:33
does set_exception_handler() handle the *Error (not-quite-but-basically-)exceptions?
@salathe It should be, it was handling BaseException before.
@Trowski wha?!
@salathe Yeah, isn't naming fun.
ok so try-catch won't, but exception handler will, handle them... *brain explodes*
in that case we should rename set_exception_handler() to set_throwable_handler() and make set_exception_handler() be an alias. :/
@salathe Sure, that works too.
14:36
ick, ick and double ick
@salathe Yeah, unfortunately there's no easy solution for that with the exception branches being split.
@Trowski there totally is, don't make set_exception_handler() handle things that aren't Exceptions.
yeah....spoil the joke google, why don't you
@salathe That could be a possibility. The exceptions in the engine RFC doesn't mention set_exception_handler().
callable set_exception_handler(callable $handler, string $baseClassName = 'Exception')
^ backwards compatible and useful for other stuff...
14:45
(would Throwable be allowed there... unclear parameter name...)
but tbh I imagine the expectation of most people using set_exception_handler would be that it would handle all possible exceptions, and introducing new exceptions/new exception types would simply result in them being sent to the exception handler as-is, i.e. the current proposed behaviour is corrent, even if naming is not-awesome...
@salathe Yes, sorry, $baseType would be better, where $baseType must inherit (or be) Throwable
but the proposal is... they're very clearly and deliberately not exceptions
Mmmmmmmultiping!
@DaveRandom set_exception_handler(function(){ /* /dev/null */ }, \Vendor\Framework::class); ... me likey :)
Yeh, I'm just not sure how it would work in terms of precedence, or at least how you would avoid an O(scary) op to determine the correct handler for a specific scenario. And while there's an argument that this matters less for this scenario, since something already went wrong because there's an uncaught exception, it's still not obvious to me how one would implement the logic
Will think about it some more
@Trowski I presume that extending Throwable is prohibited, as well as implementing it directly?
If not then it probably should be
14:51
@DaveRandom Yes, it is prohibited.
Yeh I suppose it's doable then
Are there still going to be fatal errors, that don't become Errors? I haven't kept track of the progress with that.
@Trowski I'm talking about ensuring you can't circumvent that like:
interface Cheeky extends Throwable {}
class Foo implements Cheeky {}
@salathe There are some things that have to be, like memory_limit etc
@DaveRandom Fatal error: Class Foo cannot implement interface Throwable, extend Exception or Error instead
14:57
OK cool
I still think it should be named ItDoesntWork instead of Throwable
@DaveRandom Documenting this is going to suck, with a capital SUCK.
I quickly tested, and BaseException did trigger the function set by set_exception_handler(), and of course then so do uncaught Errors in my implementation. set_exception_handler(callable $handler, $base = 'Throwable') seems reasonable if someone can figure out how to implement it.
@salathe I agree, though I think the new hierarchy will be easier to explain than the old one.
Can anyone help me? I am looking to learn about how to code back doors to protect my website but not sure where to start?
You can now catch fatal errors, but not all fatal errors, as they derive from the new Error class. They're basically exceptions, but can't be caught with catch(Exception) but can be with set_exception_handler(). To catch() them, catch the new Error class or to also catch Exceptions, catch the Throwable class. By the way, you can't throw everything that extends Throwable, because userland code cannot implement Throwable or extend Error. ... :/
15:04
@salathe If you write it in a confusing way, yes, that is horrible. Also, replace Error with EngineException and Throwable with BaseException, it's not better, it's much worse.
@Trowski I disagree with the last point, but hey-ho.
@salathe So catch (Exception $e) won't catch this thing called EngineException, you have to add another catch block catch (EngineException $e), even though the name EngineException looks like it extends Exception, it really doesn't.
I'd rather see two kinds of exceptions, that are basically the same but don't overlap ("core vs other" exceptions) than two kinds of errors that are completely and utterly unrelated in every way.
@Trowski At least that keeps the name Exception in everything, which is a win in my book. So the hierarchy isn't based on Exception, I can live with that.
EngineException is basically an exception, but it can't be caught with catch (Exception $e).
@salathe I guess that's where we disagree, because I'm strongly against naming something _____Exception that doesn't extend Exception.
15:08
?
@Trowski And I'm (not particularly strongly) against naming something ____Error that's really an exception in disguise.
@salathe I believe the "simple" rule is that anything which leaves the engine in a potentially unstable state is a fatal error. As a general rule this is things that could not be mitigated in userland no matter what you do.
anyoneeee???
@Sherif I honestly don't think aligning makes the code easier to comprehend, personally shrug
15:09
I'd be fine with Throwable -> (Exception|Error) if we didn't have 20 years of alternative meaning to the word "error".
Or, if the old meaning of "error" directly matched up with "Error".
@salathe Maybe we should go with ShitSandwich instead of Error then
@LeviMorrison @salathe already won this one with this eye hurting diff:
1 hour ago, by salathe
<?php

 $arr = [
-    'foo'   => 'bar',
-    'baz'   => 'quix',
-    'quakc' => 'foobaz',
+    'foo'            => 'bar',
+    'baz'            => 'quix',
+    'quakc'          => 'foobaz',
+    'something long' => 'uh oh',
 ];
@salathe There will be a lot of classes out there named "Error" as well.
People who align array assignments need to be shot.
That's a more common collision than a lot of things people have made a stink over.
15:11
@LeviMorrison Absolutely, there currently are.
@AllenJB @Fabor GET HIM
me grabs pitchfork
He'd struggle lining us all up to get shot, so we're safe.
@AllenJB Right-align is the only way to go!
$arr = [
               'foo' => 'bar',
               'baz' => 'quix',
             'quakc' => 'foobaz',
    'something long' => 'uh oh',
];
2
@salathe maybe you aren't…
loads the sniper rifle
15:13
@bwoebi maybe I'm not what? :/
@salathe what a true horror
@salathe That's not right-align; that's like centered!
@LeviMorrison I spent a lot of time on GitHub looking for collisions. There were very few, and mostly from projects that looked unmaintained. Anything else used namespaces.
15:14
@salathe maybe you aren't "particularly strongly against naming something ____Error that's really an exception in disguise." … others may feel stronger about it ;-)
@LeviMorrison right-align keys :P
@bwoebi I'm sure lots of people feel strongly, or say they do even when they're not :P
that's why every language should have something like go ftm
I think the name Error makes a lot of sense, because these things were fatal errors.
@Trowski stop discussing that again and again :o
@marcio so long as the output isn't PSR-whatever-the-number-is :P
@Trowski They were, they aren't now, IMO.
Then again, I would call them exceptions now, but let's not go there :P
15:16
@salathe we should make a php-fmt that ignores PSRs :P
Maybe we should make an official PHP style guide :)
@LeviMorrison Perhaps read some of the studies done on cognitive advantages identified in structured code like sciencedirect.com/science/article/pii/S0747563205000658
(note: totally not serious)
@Trowski Because github generally has reusable code – there is tons of business code out there that isn't on github.
Error doesn't make as much sense in a library as it does in a project.
@salathe even if it was serious, it's always too late for PHP
15:19
@Sherif I'm not disagreeing with the general idea – I am just disagreeing on this case.
And maybe it is easier for you because that's what you are used to.
@bwoebi it's not his fault, a man has to defend his RFC to death
Don't use my example to weaken @Sherif's case, I won't be used as a weapon against him! *hugs @Sherif*
notes that we're apparently allowed half-a-dozen more RFCs on throwable hierarchy, but he apparently has no chance of getting a simple new notice merged =(
@AllenJB because it shouldn't get merged… it's fine as-is.
@LeviMorrison Sure, just providing what you may find to be objectively helpful information. After all arming yourself with more knowledge can never hurt ;)
15:21
@AllenJB the throwable RFC was agreed to be an exception (no pun intended) due to it's severity.
@bwoebi So referencing properties on non-objects is a potential issue, but referencing indexes on non-array(-like)s isn't?
@Sherif :)
@bwoebi Not really.
@AllenJB Even if your proposal is better I'm sure I could find an inconsistency if I look hard enough ;)
@LeviMorrison Please do and I'll endeavour to fix it
15:23
@AllenJB I'm lazy – link to PR?
@bwoebi I'd love to, but it keeps being brought up again and again :P
@LeviMorrison github.com/php/php-src/pull/1269 (as linked in my message above)
@Trowski cough TypeError cough
The only remaining argument is the Error bc break and it's not strong enough.
Anonymous
/ catch everything no exceptions..
15:28
@salathe how about centered?
@Gordon justified :)
@Fabor lol
@Fabor That was before I learned OOP!
@salathe That kind of alignment just cannot be... erm... justified
It's out there Jimbo, forever!
15:34
@DaveRandom oh dear...
@Fabor git rebase -i HEAD~80 \o/
lol
@DaveRandom git rebase -i HEAD~$(git log --oneline | wc -l)
or something like that
$ git log --oneline | wc -l
783
imma so gud
looks like this is the "official" way
$ git rev-list HEAD --count
783
15:37
@DaveRandom You've been busy... wtf is MagicPropertyAccess?
Oh you're doing what Teresko talked about... no getters / setters because you're a lazy beeyatch
:( I wish traits could officially implement interfaces
@LeviMorrison come to the lisp side, wishes come true with a simple macro
@FlorianMargaine I use Rust for this wish
I'm talking about any wish
15:43
:P
well, not literally any wish.
like, if you ask "give me 10m$", it won't work
@FlorianMargaine I wish I can use PHP?
@FlorianMargaine I'm never not going to post this when someone suggests lisp:
@bwoebi you could
@Danack and I'm always going to listen to it!
@FlorianMargaine nice… show me the simple macro :-)
@bwoebi simple is in the eyes of the beholder
15:45
@FlorianMargaine hehe
@DaveRandom Just add the getters - there's only a few and it makes the object API more concise... don't need getters for all the things
user895378
@VeeeneX I don't really understand your question ... perhaps you could rephrase it?
user895378
@kelunik lol well ... I didn't design it with obsessive performance in mind ... but I also always consider the performance impact of individual coding decisions as a matter of general principle so hopefully the library isn't excessively slow.
@Jimbo Yeh that was making some stuff available via public (some read-only) properties, I'm going to redo those as getter/setter methods and throw the magic out. It needs to exist in the BC adapter, but not anywhere else. For now I'm going to keep the only-URL-or-body params limitation in place for now, but I suspect it's pointless and can be lifted at some stage down the line. Would you be happy, in principle, to use that as a base for v2 though?
Also @Jimbo I presume the POST example in the readme is wrong, as I think you need to "set the post fields" before you "build the oauth"?

« first day (1703 days earlier)      last day (3471 days later) »