@kaiser what if in your case you need to catch the exception and log the error (notify your admin) but make sure the client side does not horribly fail? That is a good case to "go off and drink beer" in try/catch imo. Don't see a problem with your logic there...
@userabuser well, logging only happens in the background and off to Loggly or Slack. Still it's slightly bugging me that I (if I) add a fix there and use it as if/else.
hrm so you're saying not sure how you test IF you need to fix there or not? Sorry just asking to clarify as little confused?
yeah and logging should happen in background of course for sure... example in our case we have some processes that can throw exceptions if certain servers are down but still degrade gracefully for the user but send us log/push notifications to admin
If I understand you correctly ( I could be wrong ) why don't you just extend Exception and test for instance of SomeExceptionClass so you know what to do...
I was more about unit tests. I started using PHPSpec in this project - switching away from it as it's kind of not-major-enough and now I have to think about what happens if I unit test that. Kinda the wrong approach, but that's how it is now.
I will look... ended up writing my own custom logger for our use cases but that's very narrow and its a pain to keep extending it with more features when other more important app dev needs to be done
yeah this is also a strong point vs hipchat... HC is mobile too but its just not as strong as slack imo, even though HC should be better than slack in reality because its owned by Atlassian/BitBucket/Jira - they have far more money to dev the product than slack do... but they just are ass backwards sometimes
I yesterday met the boy friend of an ex colleague at a party. He got a company in SF that builds a project management tool named blossom. Looks pretty nice from the screenshots. Sadly no free OS plan.
@kaiser I heard of blossom through friend but not looked, UI is looks nice a clean... hmm you tempt me to show boss this to move off JIRA now :D hehe..
so long as it has Kanban style workflow (which it does) then should be ok
JIRA is an awesome product but its so SLOW if you use their hosted service
but also they allow you to buy JIRA and host it yourself... starts at like $10
I have just set up and integrated loggly (credentials and connection). Don't log so far and the UI is quite overwhelming. If you know something better that has a free plan, please let me know. They got no phone app btw.
eeee.. no phone :/ ...you might need to wireup push notifications/sms yourself through 3rd party, depends on how mission critical your logging is, but for me I need phone
just about everyone I know in reasonable sized app/mission critical app, talk about NewRelic <--
Give a warm welcome to PHP dev Tom Nowell from @cftp to the #WCEU speakers table! http://2014.europe.wordcamp.org/2014/09/01/tom-nowell/ @Tarendai http://t.co/xhLUhOxyHd
@kaiser so in the spring engine lobby chatrooms there was a bot called Cookiebot
and if you did nice things I gave people cookies
it did other stuff like banning people or enforcing swear word rules in certain channels
there was ( still is ) a website for managing and sending cookies between users, though it's fallen a little into disrepair, the fb connect plugin's broken a bit
Is it possible to get a list of ALL Meta boxes and not just the ones from the current page?
I thought I could just loop through all the screens which I wanted to retrieve meta boxes on and use convert_to_screen(); and then global $wp_meta_boxes; but that didn't quite pan out as I imagined it would.