mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2015-12-09, 19:24   #23
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by alpertron View Post
In my particular case, it does not matter who runs the service, because the previous version (in http) was already in the clear. So I have nothing to hide.
My point is that "nothing to hide" doesn't matter (and is an awful phrase anyways).
Dubslow is offline   Reply With Quote
Old 2015-12-09, 23:57   #24
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·32·131 Posts
Default

Quote:
Originally Posted by alpertron View Post
It is related to the change from http to https in my Web site.

Notice the following line (you can see it through "View page source" contextual menu):
<param name="archive" value="http://www.alpertron.com.ar/ecm.jar" />

You cannot use a link to http in an https page.

I changed the HTML. Please check again.
Now works on the 64 bit Windows 7 machine,but still fails on the 32 bit Windows XP machine. "View source" on both machines shows the change to

<param name="archive" value="//www.alpertron.com.ar/ecm.jar" />

dropping the "http:"
wblipp is online now   Reply With Quote
Old 2015-12-10, 02:27   #25
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

23×3×5×11 Posts
Default

Actually the web site has about 50 different static pages, so if you want to know which page is accessing someone in your LAN, it is very easy: just access all pages and write down the length of the data using Wireshark for each accessed page. So when other people access my Web site, you just use Wireshark in promiscuous mode and again write down the length of the data. Then compare the value against the lengths of the different pages.

The encrypted communication is only useful for the guestbook or for feedback sent by e-mail. Anyway, I think that nothing there is confidential.
alpertron is offline   Reply With Quote
Old 2015-12-10, 02:58   #26
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

132010 Posts
Default

Quote:
Originally Posted by wblipp View Post
Now works on the 64 bit Windows 7 machine,but still fails on the 32 bit Windows XP machine. "View source" on both machines shows the change to

<param name="archive" value="//www.alpertron.com.ar/ecm.jar" />

dropping the "http:"
I changed the value to: ecm.jar.pack.gz
alpertron is offline   Reply With Quote
Old 2015-12-10, 11:34   #27
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

23×3×5×11 Posts
Default

Quote:
Originally Posted by wblipp View Post
I'm also getting this now. It broke sometime in the last few days. The "send a message" page is also broken - I can enter a message and click "send", but it reports "unable to send message"
I've just fixed this error.
alpertron is offline   Reply With Quote
Old 2015-12-10, 18:01   #28
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Even on a site like yours, using https has some benefits. Without https, any man in the middle could add ads to your pages (making them money at the cost of your page loading slower, and giving your visitors a worse experience, malware, and tracking cookies), or replace your .jar's with malicious ones (giving your visitors' computers malware, when there's a vulnerability to exploit, which you should assume is always). There is a slight cost to the bandwidth and processing on the server and client side.

Since it's free for you to enable https, I'd say it's worthwhile.

Last fiddled with by Mini-Geek on 2015-12-10 at 18:17
Mini-Geek is offline   Reply With Quote
Old 2015-12-10, 19:41   #29
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

24508 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Even on a site like yours, using https has some benefits. Without https, any man in the middle could add ads to your pages (making them money at the cost of your page loading slower, and giving your visitors a worse experience, malware, and tracking cookies), or replace your .jar's with malicious ones (giving your visitors' computers malware, when there's a vulnerability to exploit, which you should assume is always). There is a slight cost to the bandwidth and processing on the server and client side.

Since it's free for you to enable https, I'd say it's worthwhile.
Furthermore, according to http://www.webpagetest.org, it is faster to use TLS with the content delivery network (CDN) than using plain HTTP with the Web server.
alpertron is offline   Reply With Quote
Old 2015-12-21, 04:05   #30
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2·32·131 Posts
Default

Quote:
Originally Posted by alpertron View Post
I changed the value to: ecm.jar.pack.gz
It still doesn't work on my old XP machines, but they will disapear soon so it isn't worth supporting them. Put the effort into abandoning java altogether. It looks like jar.pack.gz doesn't work on XP machines

http://bugs.java.com/view_bug.do?bug_id=6557205
wblipp is online now   Reply With Quote
Old 2015-12-21, 20:29   #31
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

23×3×5×11 Posts
Default

I did not know about that. The change to C language proceeds very slowly because I have a lot of work during these months.
alpertron is offline   Reply With Quote
Old 2016-03-25, 03:11   #32
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

24508 Posts
Default

I converted another applet to JavaScript. You can see the alpha version at https://www.alpertron.com.ar/polfactnew.htm . In a few days after performing more tests I will move it to the definitive location inside the Web server.

The new application can factor polynomials modulo a prime number or a power of a prime number.

Please let me know if you find any error in the application and/or the help text. Thanks in advance.
alpertron is offline   Reply With Quote
Old 2016-07-30, 01:13   #33
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

23×3×5×11 Posts
Default

At this moment there are 8 applets that I converted to HTML5 applications:

https://www.alpertron.com.ar/ULAM.HTM (draws Ulam spiral)
https://www.alpertron.com.ar/GAUSSPR.HTM (shows Gaussian primes graphically)
https://www.alpertron.com.ar/FSQUARES.HTM (decomposes a non-negative integer into a sum of up to 4 squares)
https://www.alpertron.com.ar/FCUBES.HTM (decomposes an integer not congruent to 4 or 5 (mod 9) into a sum of 4 cubes)
https://www.alpertron.com.ar/CONTFRAC.HTM (finds the continued fraction expansion of quadratic irrationalities).
https://www.alpertron.com.ar/POLFACT.HTM (factors a polynomial modulo a prime).
https://www.alpertron.com.ar/DILOG.HTM (computes the discrete logarithm modulo an integer greater than 1, prime or not).
https://www.alpertron.com.ar/GAUSSIAN.HTM (finds the value of an expression that includes Gaussian integers, and optionally it factors that Gaussian integer).

Notice that the last two applications, which need a factorization algorithm, include trial division and ECM, but not SIQS yet.

All source code is GPL and now it is hosted at GitHub

Please let me know if you find any error.
alpertron is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GHz days converting? Unregistered Information & Answers 10 2010-03-16 21:56
Converting from v4 to v5 devjonfos Linux 4 2009-01-29 10:15
Sun Tries to Get Hip to JavaScript ewmayer Programming 1 2006-10-07 21:23
JavaScript for 2-player interactive game-playing? ewmayer Programming 2 2006-02-04 19:22
Converting Logs Numbers Math 5 2005-08-14 06:29

All times are UTC. The time now is 04:15.

Wed Aug 12 04:15:28 UTC 2020 up 26 days, 2 mins, 1 user, load averages: 1.91, 2.24, 2.30

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.