Skip to content

Commit

Permalink
Better web usability
Browse files Browse the repository at this point in the history
  • Loading branch information
alpertron committed Jun 9, 2024
1 parent 6361eb6 commit c2a7097
Show file tree
Hide file tree
Showing 36 changed files with 721 additions and 617 deletions.
11 changes: 6 additions & 5 deletions CONTFRAC.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="es_ES">
<meta property="og:description" content="This finds the continued fraction representation of rational numbers and quadratic irrationalities.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="manifest" href="contfrac.webmanifest">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/FRACCONT.HTM">
Expand Down Expand Up @@ -119,8 +119,8 @@ fieldset {border-radius:10px}
.offscr {position:absolute;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;}
.atright {float:right}
#digits {max-width:6em}
@media (max-width: 53em) {
.mysvg {grid-column:1/3; grid-row:1}
@media (max-width: 53em) {
#actions {grid-column:1/3; grid-row:2}
#inputs {grid-column:1/3; grid-row:3}
#functions {grid-column:1/3; grid-row:4}
Expand Down Expand Up @@ -237,6 +237,7 @@ svg {fill:white}
<button type="button" id="calc" title="Show the continued fraction for the requested number">Continued<br>fraction</button>
<button type="button" id="config" title="Change parameters used in the application">Config</button>
<button type="button" id="helpbtn" title="Read information about this calculator">Help</button>
<button type="button" id="clrinput" title="Erase input boxes contents">Clear<br>input</button>
</div>
<input type="checkbox" id="converg"><label for="converg" title="Show the best approximations as rational number for the requested number">Show convergents</label>
</fieldset>
Expand Down Expand Up @@ -454,7 +455,7 @@ To enter numbers in hexadecimal format, you will need to precede them by the str
<h2>Source code</h2>
<p>You can download the source of the current program and the old continued fraction applet from <a href="https://github.com/alpertron/calculators">GitHub</a>. Notice that the source code is in C language and you need the <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> environment in order to generate JavaScript.</p>
</div>
<p>Written by Dario Alpern. Last updated 31 May 2024.</p>
<p>Written by Dario Alpern. Last updated 9 June 2024.</p>
</div>
<div id="helphelp"></div>
<div id="result" aria-live="polite"></div>
Expand Down Expand Up @@ -555,8 +556,8 @@ self.onmessage=function(b){k?(m(e.getInputStringPtr(),b.data[0]),e.doWork()):Web
"name": "Continued Fraction calculator",
"description": "Web application that finds the continued fraction representation of rational numbers and quadratic irrationalities.",
"image": ["https://www.alpertron.com.ar/contfrac.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
9 changes: 5 additions & 4 deletions CUAD.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<meta property="og:locale" content="es_ES">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:description" content="Halla soluciones de ax^2 + bxy + cy^2 + dx + ey + f = 0.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/CUAD.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/QUAD.HTM">
Expand Down Expand Up @@ -228,6 +228,7 @@ button:disabled {color: #808080; background-color: #606060}
<button type="button" id="stop" title="Detener el cálculo">Detener</button>
<button type="button" id="helpbtn" title="Leer información sobre esta calculadora">Ayuda</button>
<button type="button" id="config" title="Cambiar los parámetros de uso de la aplicación">Config</button>
<button type="button" id="clrinput" title="Limpiar las cajas de entrada">Borrar<br>entrada</button>
</div>
</fieldset>
<fieldset id="functions"><legend>Funciones</legend>
Expand Down Expand Up @@ -322,7 +323,7 @@ button:disabled {color: #808080; background-color: #606060}
<h2>Código fuente</h2>
<p>Puedes bajar el código fuente de esta aplicación y del viejo applet de ecuaciones cuadráticas enteras desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
</div>
<p>Escrito por Dario Alpern. Actualizado el 31 de mayo de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 9 de junio de 2024.</p>
</div>
<div id="result" aria-live="polite"></div>
<div id="footer">
Expand Down Expand Up @@ -418,8 +419,8 @@ button:disabled {color: #808080; background-color: #606060}
"name": "Resolución de ecuaciones cuadráticas en dos variables enteras",
"description": "Applicación Javascript que halla soluciones a ecuaciones cuadráticas enteras en dos variables.",
"image": ["https://www.alpertron.com.ar/cuad.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
9 changes: 5 additions & 4 deletions CUADMOD.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="es_ES">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:description" content="Halla soluciones de la ecuación ax^2 + bx + c (mod n).">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/CUADMOD.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/QUADMOD.HTM">
Expand Down Expand Up @@ -217,6 +217,7 @@ button:disabled {color: #808080; background-color: #606060}
<button type="button" id="stop" title="Detener el cálculo">Detener</button>
<button type="button" id="helpbtn" title="Leer información sobre esta calculadora">Ayuda</button>
<button type="button" id="config" title="Cambiar los parámetros de uso de la aplicación">Config</button>
<button type="button" id="clrinput" title="Limpiar las cajas de entrada">Borrar<br>entrada</button>
</div>
</fieldset>
<fieldset id="functions"><legend>Funciones</legend>
Expand Down Expand Up @@ -295,7 +296,7 @@ button:disabled {color: #808080; background-color: #606060}
<h2>Código fuente</h2>
<p>Puedes bajar el código fuente de esta aplicación y del viejo applet de ecuaciones cuadráticas modulares desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
</div>
<p>Escrito por Dario Alpern. Actualizado el 31 de mayo de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 9 de junio de 2024.</p>
</div>
<div id="result" aria-live="polite"></div>
<div id="footer">
Expand Down Expand Up @@ -389,8 +390,8 @@ button:disabled {color: #808080; background-color: #606060}
"name": "Resolución de ecuaciones cuadráticas modulares",
"description": "Applicación Javascript que halla soluciones a ecuaciones cuadráticas modulares.",
"image": ["https://www.alpertron.com.ar/quadmod.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
6 changes: 3 additions & 3 deletions DIST.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="es_ES">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:description" content="Dos tests de conocimiento de distancia entre ciudades.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/DIST.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/DISTANCE.HTM">
Expand Down Expand Up @@ -381,8 +381,8 @@ Me parece que ud. tendría que jugar a un juego de rol.</div>
"name": "Distancia entre ciudades",
"description": "Aplicación Web que incluye dos tests de conocimiento de distancia entre ciudades.",
"image": ["https://www.alpertron.com.ar/dist.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
6 changes: 3 additions & 3 deletions DISTANCE.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="es_ES">
<meta property="og:description" content="Two tests about distance between cities.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/DIST.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/DISTANCE.HTM">
Expand Down Expand Up @@ -381,8 +381,8 @@ You will perform better playing a role player video game.</div>
"name": "Distance between cities",
"description": "Web application which includes two tests about distance between cities.",
"image": ["https://www.alpertron.com.ar/distance.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
9 changes: 5 additions & 4 deletions ECM.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="es_ES">
<meta property="og:description" content="This factors numbers using ECM and SIQS algorithms.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/ECMC.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/ECM.HTM">
Expand Down Expand Up @@ -802,6 +802,7 @@ button:disabled {color: #808080; background-color: #606060}
<button type="button" id="openwizard" title="Enter expressions and loops in an easy way">Open<br>wizard</button>
<button type="button" id="fromfile" title="Evaluate or factor expressions located in an external file">From<br>file</button>
<button type="button" id="bmode" title="Program this calculator using blocks">Blockly<br>mode</button>
<button type="button" id="clrinput" title="Erase input box contents">Clear<br>input</button>
<input type="file" id="getFile" accept=".txt" aria-label="Select file">
<label for="getFile" id="lgetFile">From file</label>
</div>
Expand Down Expand Up @@ -1031,7 +1032,7 @@ The line to type is: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigits(co
<p>You can download the source of the current program and the old factorization applet from <a href="https://github.com/alpertron/calculators">GitHub</a>. Notice that the source code is in C language and you need the <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> environment in order to generate JavaScript.</p>
</div>
</div>
<p>Written by Dario Alpern. Last updated 31 May 2024.</p>
<p>Written by Dario Alpern. Last updated 9 June 2024.</p>
</div>
<div id="helphelp"></div>
<div id="result" aria-live="polite"></div>
Expand Down Expand Up @@ -1218,8 +1219,8 @@ The line to type is: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigits(co
"name": "Integer factorization calculator",
"description": "Web application that factors integers using ECM and SIQS algorithms.",
"image": ["https://www.alpertron.com.ar/ecm.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
9 changes: 5 additions & 4 deletions ECMC.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="es_ES">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:description" content="Factoriza números enteros utilizando los algoritmos ECM y SIQS.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/ECMC.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/ECM.HTM">
Expand Down Expand Up @@ -798,6 +798,7 @@ button:disabled {color: #808080; background-color: #606060}
<button type="button" id="openwizard" title="Facilitar el ingreso de expresiones y ciclos">Abrir<br>asistente</button>
<button type="button" id="fromfile" title="Evaluar o factorizar varias expresiones contenidas en un archivo">Desde<br>archivo</button>
<button type="button" id="bmode" title="Programar la calculadora mediante bloques">Modo<br>Blockly</button>
<button type="button" id="clrinput" title="Limpiar la caja de entrada">Borrar<br>entrada</button>
<input type="file" id="getFile" accept=".txt" aria-label="Seleccione archivo">
<label for="getFile" id="lgetFile">Seleccione archivo</label>
</div>
Expand Down Expand Up @@ -1018,7 +1019,7 @@ La línea a escribir es: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigit
<p>Puedes bajar el código fuente de esta aplicación y del viejo applet de factorización desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
</div>
</div>
<p>Escrito por Dario Alpern. Actualizado el 31 de mayo de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 9 de junio de 2024.</p>
</div>
<div id="helphelp"></div>
<div id="result" aria-live="polite"></div>
Expand Down Expand Up @@ -1203,8 +1204,8 @@ La línea a escribir es: <code>x=1;x=x+1;x&lt;10000;x;sumdigits(x, 10)==sumdigit
"name": "Calculadora de factorización de números enteros",
"description": "Aplicación Web que factoriza números enteros utilizando los algoritmos ECM y SIQS.",
"image": ["https://www.alpertron.com.ar/ecmc.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
8 changes: 4 additions & 4 deletions EULAM.HTM
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:locale" content="es_ES">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:description" content="muestra una representación gráfica de los números primos.">
<meta property="article:published_time" content="2024-05-31">
<meta property="article:published_time" content="2024-06-09">
<meta property="fb:app_id" content="1495228927625175">
<link rel="alternate" hreflang="es" href="https://www.alpertron.com.ar/EULAM.HTM">
<link rel="alternate" hreflang="en" href="https://www.alpertron.com.ar/ULAM.HTM">
Expand Down Expand Up @@ -217,7 +217,7 @@ Cualquier número en la línea diagonal menor que 41<sup>2</sup> = 1681 debe ser
Las diagonales cuyos números no se pueden dividir por primos pequeños tienen mayor cantidad de números primos, porque la mayoría de los números compuestos son divisibles por primos pequeños.</p>
<h2>Código fuente</h2>
<p>Puede bajar el código fuente de esta aplicación y del viejo applet de visualización de la espiral de Ulam desde <a href="https://github.com/alpertron/calculators">GitHub</a>. El código fuente está escrito en lenguaje C, por lo que es necesario <a href="https://emscripten.org/docs/getting_started/downloads.html">Emscripten</a> para generar JavaScript.</p>
<p>Escrito por Dario Alpern. Actualizado el 31 de mayo de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 9 de junio de 2024.</p>
</div>
</article></main>
<div id="cannotShow"><p>No se puede mostrar la espiral cuando el valor del centro es menor que el valor inicial.</p></div>
Expand All @@ -235,8 +235,8 @@ Las diagonales cuyos números no se pueden dividir por primos pequeños tienen m
"name": "Espiral de Ulam",
"description": "Aplicación Web que muestra una representación gráfica de los números primos.",
"image": ["https://www.alpertron.com.ar/eulam.png"],
"datePublished": "2024-05-31",
"dateModified": "2024-05-31",
"datePublished": "2024-06-09",
"dateModified": "2024-06-09",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
Loading

0 comments on commit c2a7097

Please sign in to comment.