<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 20, 2013 at 11:34 PM, Rouslan Placella <span dir="ltr"><<a href="mailto:rouslan@placella.com" target="_blank">rouslan@placella.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 04/20/2013 04:29 PM, Abhishek Kandoi wrote:<br>

> There was something I wanted to know about.<br>
> Would it be better to show an alert on the client side when an error<br>
> which can impact the client side system occurs?<br>
> Or as per my opinion we can simply create a custom modal box to show<br>
> only those errors which affect the client-side system badly in a simple<br>
> yet nice manner. Something like "Ops something went wrong, it may affect<br>
> your working. Want to send a detailed error report to the developers of<br>
> phpMyAdmin".<br>
<br>
</div>Dialogs for this feature should not be modal as, IMO, that would be too<br>
intrusive.<br></blockquote><div><br></div><div style>Got it, this would disrupt their working and may even make a bad impression of intrusion.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="im"><br>
> This way we can get a detailed report from the user for really bad<br>
> errors. Hence helping our developers to better understand the possible<br>
> cause of the error, and hence better diagnose it. We can encourage<br>
> clients to send a bit descriptive error report which may contain what<br>
> all they did which resulted in a particular error. Tackling and fixing<br>
> bugs would become easier this way.<br>
><br>
> Also I would request you to refine my idea so that I can set particular<br>
> goals for this project. Some more ideas from your side would be really<br>
> helpful.<br>
<br>
</div>Refining the idea is your job, not ours.<br></blockquote><div><br></div><div style>Sure, thanks for telling about this.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
Oh, and we use bottom posting on this mailing list...</blockquote><div> </div><div style>Sorry, but I didn't understand what you want to convey. I am doing it wrong? Please guide me if yes.</div><div style><br></div>
<div style>Ok, so here is what I have thought this far.</div><div style><br></div><div style>The client-side system would be behaving in the background without any disturbance to the client. The client-side system will send any Ajax Related error to our server-side system where the error will be stored in a database according to its type and the predicted level of problem that it can cause to the client-side system.  Errors reported will contain no information about the client hence protecting their privacy. It would also be devoid of any kind of sensitive information which could possibly be hacked over a network hence removing the need for an encryption system.</div>
<div style><br></div><div style>At the server-side there would be a web-interface that will allow phpMyAdmin developers to diagnose errors related to Ajax. The system will provide all the information related to an error for the developers to look upon (I would be documenting both the client and server-side error system at the end of the GSoC). The documentation will also provide some information related to common errors that may occur on the client-side, thus helping them in the process of diagnosis.</div>
<div style><br></div><div style>The server-side web-interface would comprise of a simple left-side navigation menu for easy access to various locations on the website. The home screen would provide an overview of the recent errors that were added to the database and latest discussion by various developers on popular errors. Then there would be a functionality to directly forward bug reports to the phpMyAdmin bug tracker. Also as suggested on the ideas page there would be a functionality to search the database for specific types of errors based on their type, how frequently they occur. Moreover I was thinking of a small wiki for the error system so that a developer who has figured out the cause of a particular error can then document the problem to help others in fixing similar errors. This way other developers will be able to search the wiki for errors similar to one they are working on based on some tags(maybe), and hence fix them without loss of valuable time.</div>
<div style><br></div><div style>What do you think about it? Please comment.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
Bye,<br>
Rouslan<br>
<div class="im"><br>
> On Tue, Apr 16, 2013 at 3:15 AM, Rouslan Placella <<a href="mailto:rouslan@placella.com">rouslan@placella.com</a><br>
</div><div class=""><div class="h5">> <mailto:<a href="mailto:rouslan@placella.com">rouslan@placella.com</a>>> wrote:<br>
><br>
>     On 04/15/2013 07:16 PM, Abhishek Kandoi wrote:<br>
>     > Hi Rouslan,<br>
>     ><br>
>     > Thanks for replying. I was unable to reply properly using my<br>
>     SourceForge account.<br>
>       I have worked with a few mailing lists like Google Groups, but this<br>
>     one seemed different to me.<br>
>       I didn't even get emails when you people replied on this thread<br>
>     because I had my Digest Mode On,<br>
>       thus I didn't have an option to Reply to All.<br>
>     ><br>
>     > I will be formatting manually for this time only, as I have no<br>
>     email to reply to.<br>
>       (Didn't wanna spoil the reply format)<br>
>     ><br>
>     > Rouslan Placella wrote:<br>
>     ><br>
>     >> Hi Abhishek,<br>
>     >><br>
>     >> have you got a live demo of this application that I could try?<br>
>     ><br>
>     > Yes, you can try it online at<br>
>     <a href="http://faceinbook.co.nr/flowork/home.html" target="_blank">http://faceinbook.co.nr/flowork/home.html</a>.<br>
><br>
>     Out of curiosity, was the app a college project?<br>
><br>
>     Also, I would like to hear from you about what you think are the<br>
>     shortcomings of your implementation. Would you do anything differently<br>
>     if you had to do it again from scratch?<br>
><br>
>     >> From your email, I'm getting the feeling that you didn't fully<br>
>     >> understand where the different components of the system will<br>
>     reside...<br>
>     ><br>
>     > Yeah, I got it a bit wrong on the first go. But on reading the<br>
>     idea again I understood<br>
>       what exactly it is about.<br>
>     ><br>
>     ><br>
>     >> The server-side component of this system will not be for the users of<br>
>     >> phpMyAdmin or administrators of individual phpMyAdmin<br>
>     installations, it<br>
>     >> will, instead, be used by the members of the phpMyAdmin development<br>
>     >> team[0] to globally diagnose issues.<br>
>     ><br>
>     > I thought a client-side component for handling errors as well as<br>
>     one for<br>
>     diagnosing issues was suggested. But actually the suggestion was for a<br>
>     client-side<br>
>     component for sending errors to a server-side component with the data<br>
>     containing<br>
>     nothing that concerns the user about his/her privacy. Thus there is no<br>
>     need of encryption<br>
>     as you said, because the data contains no sensitive information.<br>
>     ><br>
>     ><br>
>     > And also as you wrote that there is no means to check if a request<br>
>     is valid,<br>
>     and hence no need for checking for authentication.<br>
>     ><br>
>     ><br>
>     > I would be happy to implement what you suggested about restricting<br>
>     the number<br>
>     of requests per IP to prevent the defacing of the server-system. Also I<br>
>     will be<br>
>     more than pleased to work on the server-side part to allow the<br>
>     phpMyAdmin developers<br>
>     to analyze and diagnose the errors.<br>
>     ><br>
>     ><br>
>     > Also to prevent the back-end from attacks such as DoS you<br>
>     suggested a global limit<br>
>     on the number of requests. It seems easy to implement but will play an<br>
>     important role<br>
>     against DoS attacks.<br>
>     ><br>
>     ><br>
>     > I will reply back after I work out a plan for the server-side<br>
>     interface<br>
>     and functioning for comments from you all.<br>
>     ><br>
>     ><br>
>     > Rouslan Placella wrote:<br>
>     ><br>
>     >> The wiki is pretty comprehensive on the matter. Do you have a more<br>
>     >> specific question?<br>
>     ><br>
>     > Yes, is there a place where I can upload a draft of my application<br>
>     for my mentor to review it? If not, is posting it to the mailing<br>
>     list fine?<br>
><br>
>     Not that I know of. You can post to the mailing list, but your draft<br>
>     will be visible to other gsoc candidates.<br>
><br>
>     Bye,<br>
>     Rouslan<br>
<br>
<br>
</div></div><br>------------------------------------------------------------------------------<br>
Precog is a next-generation analytics platform capable of advanced<br>
analytics on semi-structured data. The platform includes APIs for building<br>
apps and a phenomenal toolset for data science. Developers can use<br>
our toolset for easy data analysis & visualization. Get a free account!<br>
<a href="http://www2.precog.com/precogplatform/slashdotnewsletter" target="_blank">http://www2.precog.com/precogplatform/slashdotnewsletter</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Abhishek Kandoi<br>First Year, Computer Science and Engineering<br>Indian Institute of Technology Roorkee<br>About Me : <a href="http://about.me/kandoiabhi">about.me/kandoiabhi</a>
</div></div>