Re: [Languagetool] Firefox extension

2012-11-14 Thread Jan Schreiber
> We now have an SSL certificate (i.e. we support https) and I did
> some load testing today which went okay. Assuming the extension
> will not get hundreds of thousands of users in a short
> time, everything should be fine with the server we have today.

Good news. Thanks for testing, Daniel! --Jan


Am 14.11.2012 00:07, schrieb Daniel Naber:
> On 09.11.2012, 17:16:41 Daniel Naber wrote:
> 
>>> What 
>>> kind of server capacity would be needed behind that.
>>> I was thinking 'cloud-like'.
>>
>> We simply don't know because it hasn't been tested yet. It also depends
>> on  how popular the extension will become.
> 
> We now have an SSL certificate (i.e. we support https) and I did some load 
> testing today which went okay. Assuming the extension will not get hundreds 
> of thousands of users in a short time, everything should be fine with the 
> server we have today.
> 
> If the server process crashes, it will need to be restarted manually. At 
> least I have an automatic notification about the server being down.
> 
> Regards
>  Daniel
> 

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-13 Thread Ruud Baars
Daniel,

I once started the server by starting the gui from the commandline, 
after having the server switched on.
By testen every once and a while, i was able to kille the process 
entirely, and start the gui (and server again).
Problem is to let the port be freed entirely.

Maybe it is of help?

Ruud

On 14-11-12 00:07, Daniel Naber wrote:
> On 09.11.2012, 17:16:41 Daniel Naber wrote:
>
>>> What
>>> kind of server capacity would be needed behind that.
>>> I was thinking 'cloud-like'.
>> We simply don't know because it hasn't been tested yet. It also depends
>> on  how popular the extension will become.
> We now have an SSL certificate (i.e. we support https) and I did some load
> testing today which went okay. Assuming the extension will not get hundreds
> of thousands of users in a short time, everything should be fine with the
> server we have today.
>
> If the server process crashes, it will need to be restarted manually. At
> least I have an automatic notification about the server being down.
>
> Regards
>   Daniel
>


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-13 Thread Daniel Naber
On 09.11.2012, 17:16:41 Daniel Naber wrote:

> > What 
> > kind of server capacity would be needed behind that.
> > I was thinking 'cloud-like'.
> 
> We simply don't know because it hasn't been tested yet. It also depends
> on  how popular the extension will become.

We now have an SSL certificate (i.e. we support https) and I did some load 
testing today which went okay. Assuming the extension will not get hundreds 
of thousands of users in a short time, everything should be fine with the 
server we have today.

If the server process crashes, it will need to be restarted manually. At 
least I have an automatic notification about the server being down.

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-11 Thread gulp21

> What will probably confuse users sooner or later is the way LT handles
> spell checking. For languages with a variant: if we get a language code
> with variant ("en-US"), spellchecking is activated, for languages without
> their variant ("en") it's disabled.

As soon as drop-down lists are supported by the sdk, the user won't be 
able to enter the language directly, but he can choose from a list which 
lists languages with variant only.

> Now the thing is that, I think, the
> language detection will never return a variant, simply because most
> variants are so similar.
>
> Maybe the extension could load https://www.languagetool.org:8081/Languages
> and suggest variants? Or am I missing something and there's no problem at
> all?

With autodetect=1 the server uses the most common variant, so spell 
checking is enabled. Now it might be confusing for the user when he set 
"en-GB" as language, but the language detection returns "en-US".

Regards
Markus


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-10 Thread Daniel Naber
On 08.11.2012, 21:03:39 gulp21 wrote:

> During the last days I was working on a LanguageTool extension for 
> Mozilla Firefox. As I think that it is working quite good now, I want it 
> to be tested.

What will probably confuse users sooner or later is the way LT handles 
spell checking. For languages with a variant: if we get a language code 
with variant ("en-US"), spellchecking is activated, for languages without 
their variant ("en") it's disabled. Now the thing is that, I think, the 
language detection will never return a variant, simply because most 
variants are so similar.

Maybe the extension could load https://www.languagetool.org:8081/Languages 
and suggest variants? Or am I missing something and there's no problem at 
all?

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Daniel Naber
On 09.11.2012, 23:38:25 Nathan Wells wrote:

> I just noticed this now - for the api is it possible to change Khmer to
> km-KH instead of km-KM?

Done. Could you try with the latest snapshot[1] to make sure it didn't 
break anything? Especially LibreOffice/OpenOffice integration?

Regards
 Daniel

[1] http://www.languagetool.org/download/snapshots/?C=M;O=D

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Nathan Wells
Ah - that was me..en_US :)

I experimented with Khmer and then changed it back.  Awesome - now it works!

I just noticed this now - for the api is it possible to change Khmer to
km-KH instead of km-KM? Though maybe in the future it would be best to have
a drop-down list so it wouldn't matter...

Thanks,
Nathan


On Fri, Nov 9, 2012 at 11:30 PM, Daniel Naber wrote:

> On 09.11.2012, 17:25:02 gulp21 wrote:
>
> > 500 usually means that the lt server has encountered an error. Try to
> > run a lt server in a console window and see whether an error message
> > appears when trying to check a text.
>
> For those errors we also return a (plain text) body that describes the
> error. It would be helpful if that gets displayed in some kind of "show
> more" windows. Today, the server returned some of those type 500 errors
> because the language was en_US, whereas it should have been en-US.
>
> Regards
>  Daniel
>
> --
> http://www.danielnaber.de
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Daniel Naber
On 09.11.2012, 17:25:02 gulp21 wrote:

> 500 usually means that the lt server has encountered an error. Try to 
> run a lt server in a console window and see whether an error message 
> appears when trying to check a text.

For those errors we also return a (plain text) body that describes the 
error. It would be helpful if that gets displayed in some kind of "show 
more" windows. Today, the server returned some of those type 500 errors 
because the language was en_US, whereas it should have been en-US.

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Nathan Wells
Here's what I get: Error: java.lang.IllegalArgumentException: Missing
'text' parameter

at 
org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHttpHandler.java:73)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)
at 
sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:668)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:640)
at 
sun.net.httpserver.ServerImpl$DefaultExecutor.execute(ServerImpl.java:156)
at sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:424)
at sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:389)
at java.lang.Thread.run(Thread.java:722)



On Fri, Nov 9, 2012 at 11:23 PM, Daniel Naber wrote:

> On 09.11.2012, 19:37:40 Nathan Wells wrote:
>
> > I keep getting an "An error occured. Status code: 500" even though I
> > checked the box to use api.languagetool.org
>
> Can you access http://api.languagetool.org:8081/ with a browser? Does it
> print a message that the text parameter is missing?
>
> Regards
>  Daniel
>
> --
> http://www.danielnaber.de
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread gulp21
> I keep getting an "An error occured. Status code: 500" even though I
> checked the box to use api.languagetool.org 

500 usually means that the lt server has encountered an error. Try to 
run a lt server in a console window and see whether an error message 
appears when trying to check a text.

Regards
Markus

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Daniel Naber
On 09.11.2012, 19:37:40 Nathan Wells wrote:

> I keep getting an "An error occured. Status code: 500" even though I
> checked the box to use api.languagetool.org

Can you access http://api.languagetool.org:8081/ with a browser? Does it 
print a message that the text parameter is missing?

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Daniel Naber
On 09.11.2012, 13:20:51 Ruud Baars wrote:

> What 
> kind of server capacity would be needed behind that.
> I was thinking 'cloud-like'.

We simply don't know because it hasn't been tested yet. It also depends on 
how popular the extension will become.

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Nathan Wells
Very excited for this!!


I keep getting an "An error occured. Status code: 500" even though I
checked the box to use api.languagetool.org

any idea why?

Also, is occured spelled wrong?

-Nathan


On Fri, Nov 9, 2012 at 7:20 PM, Ruud Baars  wrote:

> That is exactly the reason of my question.
> Suppose the link to become protected, and it leads to 1 address. What
> kind of server capacity would be needed behind that.
> I was thinking 'cloud-like'.
>
> Ruud
>
> On 09-11-12 12:59, gulp21 wrote:
> >> Both tools require or request a local server.
> > In the settings of the Firefox extension, you can enable using the web
> > service at api.languagetool.org, which can also be used for the grammar
> > check extension for Thunderbird. The option is not enabled by default
> > because the connection is not encrypted, and therefore the connection is
> > not safe against eavesdropping.
> >
> > Regards
> > Markus
> >
> >
> --
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_nov
> > ___
> > Languagetool-devel mailing list
> > Languagetool-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Ruud Baars
That is exactly the reason of my question.
Suppose the link to become protected, and it leads to 1 address. What 
kind of server capacity would be needed behind that.
I was thinking 'cloud-like'.

Ruud

On 09-11-12 12:59, gulp21 wrote:
>> Both tools require or request a local server.
> In the settings of the Firefox extension, you can enable using the web
> service at api.languagetool.org, which can also be used for the grammar
> check extension for Thunderbird. The option is not enabled by default
> because the connection is not encrypted, and therefore the connection is
> not safe against eavesdropping.
>
> Regards
> Markus
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread gulp21
> Both tools require or request a local server.

In the settings of the Firefox extension, you can enable using the web 
service at api.languagetool.org, which can also be used for the grammar 
check extension for Thunderbird. The option is not enabled by default 
because the connection is not encrypted, and therefore the connection is 
not safe against eavesdropping.

Regards
Markus

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Jaume Ortolà i Font
Hi,

Great job! It works fine. I have tested the extension in two kind of
real-life situations: composing a message in gmail and using this new
WYSIWYG Wikipedia editor.[1]

What I miss now for this extension to be really useful is a more
direct connection between the error messages and the points in the
text where the corrections have to be made. If the selected paragraph
is long or if there many errors, you get lost along the way. And when
you go back, the window with the error messages frequently is already
closed.

Regards,
Jaume Ortolà

[1] http://www.mediawiki.org/wiki/VisualEditor:Test


2012/11/8 gulp21 
>
> Hi,
>
> During the last days I was working on a LanguageTool extension for Mozilla 
> Firefox. As I think that it is working quite good now, I want it to be 
> tested. So if you have Firefox installed, drag the attached xpi file in 
> Firefox to install the extension. If you find any problems or have 
> suggestions, please let me know. Here[1] you can find a description of the 
> add-on.
>
> Regards
> Markus
>
> [1] http://languagetool.svn.sourceforge.net/viewvc/languagetool/trunk
> /extension/common/locales/en-US/description.txt
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Ruud Baars
Both tools require or request a local server.

Is that caused by not having (scalable) capacity?
Any idea what would be needed for a central server (farm).

Ruud

On 09-11-12 12:15, Daniel Naber wrote:
> On 09.11.2012, 11:00:54 Marco A.G.Pinto wrote:
>
>> What I would like to have would be a Thunderbird extension, not Firefox.
> See
> https://addons.mozilla.org/de/thunderbird/addon/grammar-checker/?src=search
>
> Regards
>   Daniel
>


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Daniel Naber
On 09.11.2012, 11:00:54 Marco A.G.Pinto wrote:

> What I would like to have would be a Thunderbird extension, not Firefox.

See
https://addons.mozilla.org/de/thunderbird/addon/grammar-checker/?src=search

Regards
 Daniel

-- 
http://www.danielnaber.de


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: [Languagetool] Firefox extension

2012-11-09 Thread Marco A.G.Pinto

  
  
Dear Markus,
  
  What I would like to have would be a Thunderbird extension, not
  Firefox.
  
  Could you do it for Thunderbird?
  
  Thanks!
  
  Kind regards,
   >Marco A.G.Pinto
     ---
  
  
  On 08-11-2012 20:03, gulp21 wrote:

Hi,
  
  
  During the last days I was working on a LanguageTool extension for
  Mozilla Firefox. As I think that it is working quite good now, I
  want it to be tested. So if you have Firefox installed, drag the
  attached xpi file in Firefox to install the extension. If you find
  any problems or have suggestions, please let me know. Here[1] you
  can find a description of the add-on.
  
  
  Regards
  
  Markus
  
  
  [1]
  http://languagetool.svn.sourceforge.net/viewvc/languagetool/trunk
  
  /extension/common/locales/en-US/description.txt
  



-- 
  
  

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel