Live data from Hacker News

Show HN: Proxino -- Monitor and Debug your JavaScript

proxino.com

21–30 of 49 posts

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#21
post #18

Seriously, the beacon/tracker JS requires the whole jQuery (1.7.1)? https://www.proxino.com/p.js

Wow. jQuery is 80% or more of the whole file. It could be loaded asynchronously, and completely avoided if it's already loaded (which is very likely).

Worst of all, it uses exactly one function, jQuery.ajax, which could be replaced with a `new Image; image.src = message` call or a 10 line XHR wrapper.

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#22
I think you could better communicate potential objections and overcome them with your copy/video.

One I have is, how's this going to impact performance?

Also, once I sign up for the free trial, I'm presented with an account screen but not really told what to do next. Sure, I figured it out, but I think it should be more welcoming.

Good luck! I may use this.

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#24

I think you could better communicate potential objections and overcome them with your copy/video. One I have is, how's this going to impact performance? Also, once I sign up for the free trial, I'm presented with an account screen but not really told what to do next. Sure, I figured it out, but I think it should be more welcoming. Good luck! I may use this.

One more suggestion, don't send emails from noreply@proxino.com. Especially considering that your registration email comes from here, and is sent to potential customers who may have a quick question before buying.

noreply@ says you don't want to talk to me.

Make is easy to answer questions and help people. Utilize a tool like Zendesk, if needed.

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#25
For hackers:

    window.onerror = function(m, f, l){
      var err = JSON.encode({ message:m, file:f, line:l })
      (new Image).src = '/errors?e='+err
    }
For Google Analytics users:

    window.onerror = function(m, f, l){
      var err = [f, l, m].join(' : ')
      _gaq.push(['_trackEvent', 'Errors', 'App', err, null, true])
    }
Analytics will allow you to filter by OS, browser, and all the other environment data it already captures. And nice graphs as a bonus :)

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#26
post #16

There are already services (like Sentry) that track errors well. I want a service that focuses on the non-error logging part. I typically develop my JS with a lot of console.log calls. Let's say a hundred at page load, and more for each user action, and when there's new data coming down from the server. I'm trying to fix a bug that my friend is having on my new project, but I can't reproduce it locally. I want to see…

In the Proxino video, I believe it said you can log arbitrary messages which can then be accessed via the web backend. You could probably just make a wrapper for console.log which both pushes the message to Proxino and logs it in the console.

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#27
post #26
post #16

There are already services (like Sentry) that track errors well. I want a service that focuses on the non-error logging part. I typically develop my JS with a lot of console.log calls. Let's say a hundred at page load, and more for each user action, and when there's new data coming down from the server. I'm trying to fix a bug that my friend is having on my new project, but I can't reproduce it locally. I want to see…

In the Proxino video, I believe it said you can log arbitrary messages which can then be accessed via the web backend. You could probably just make a wrapper for console.log which both pushes the message to Proxino and logs it in the console.

Yes, I saw that. I'm hoping Proxino will add more structure to that data and ways to interact with it.

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#29

I think you could better communicate potential objections and overcome them with your copy/video. One I have is, how's this going to impact performance? Also, once I sign up for the free trial, I'm presented with an account screen but not really told what to do next. Sure, I figured it out, but I think it should be more welcoming. Good luck! I may use this.

One more suggestion, don't send emails from noreply@proxino.com. Especially considering that your registration email comes from here, and is sent to potential customers who may have a quick question before buying. noreply@ says you don't want to talk to me. Make is easy to answer questions and help people. Utilize a tool like Zendesk, if needed.

Great suggestion. Thanks!

Re: Show HN: Proxino -- Monitor and Debug your JavaScript

#30

For hackers: window.onerror = function(m, f, l){ var err = JSON.encode({ message:m, file:f, line:l }) (new Image).src = '/errors?e='+err } For Google Analytics users: window.onerror = function(m, f, l){ var err = [f, l, m].join(' : ') _gaq.push(['_trackEvent', 'Errors', 'App', err, null, true]) } Analytics will allow you to filter by OS, browser, and all the other environment data it already captures. And nice graphs…

Why wrap everything in json? Then you'll just have to decode it on the other end. Just use url parameters, it's what they are for:

    (new Image).src = '/errors?m='+encodeURIComponent(m)+
       '&f='+encodeURIComponent(f)+'&l='+encodeURIComponent(l);
This way it also works on browsers that don't have native JSON (old IE mainly, but also firefox before 3.5). And those are also exactly the browsers where you are likely to get errors since you are probably not testing using them.
Post reply on HN