Skip to content

Commit

Permalink
Fixed reloading of integer factoring calculator when random function …
Browse files Browse the repository at this point in the history
…is being used and fixed crash when skipping primality test on integer factoring calculator.
  • Loading branch information
alpertron committed Dec 15, 2024
1 parent b2c021e commit cd128d9
Show file tree
Hide file tree
Showing 38 changed files with 1,128 additions and 1,074 deletions.
8 changes: 4 additions & 4 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-11-04">
<meta property="article:published_time" content="2024-12-15">
<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 @@ -454,7 +454,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 10 November 2024.</p>
<p>Written by Dario Alpern. Last updated 15 December 2024.</p>
</div>
<div id="helphelp"></div>
<div id="result" aria-live="polite"></div>
Expand Down Expand Up @@ -555,8 +555,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-11-04",
"dateModified": "2024-11-04",
"datePublished": "2024-12-15",
"dateModified": "2024-12-15",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
8 changes: 4 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-11-04">
<meta property="article:published_time" content="2024-12-15">
<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 @@ -323,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 10 de noviembre de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 15 de diciembre de 2024.</p>
</div>
<div id="result" aria-live="polite"></div>
<div id="footer">
Expand Down Expand Up @@ -419,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-11-04",
"dateModified": "2024-11-04",
"datePublished": "2024-12-15",
"dateModified": "2024-12-15",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
8 changes: 4 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-11-04">
<meta property="article:published_time" content="2024-12-15">
<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 @@ -296,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 10 de noviembre de 2024.</p>
<p>Escrito por Dario Alpern. Actualizado el 15 de diciembre de 2024.</p>
</div>
<div id="result" aria-live="polite"></div>
<div id="footer">
Expand Down Expand Up @@ -390,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-11-04",
"dateModified": "2024-11-04",
"datePublished": "2024-12-15",
"dateModified": "2024-12-15",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion ConsoleApplication1.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>"4355465656575656323111" 0 23</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>"6,4,011000,967895639564795647956789250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000435155426262626272788%01967895639564795647956789250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000435155426262626272788=2^2(0,0)*19^1(0,0)*417961^1(19,400000001)*30470471985764336862605452422594452592466761252844164886197516036185194312387997923251212433695966848581566222685848679661499517897602886393706589849292158837786300635705245226229241484253315500728536873057534076145860498946073915987376812669124631245498981962431901541052873354212474369618217967705120812707405714887274171513610121518514885360117331521362040955974361244230921066798098387170094817459045221922619574553606676220987125593057725481564069374893829807087264122729154155531257701077373247743210490930972028490696500391184823464390218226102435394689935185340259019382191161376300659630922502338734953739702986642294376748069795985749866614349185689573907613389766030801916925263361892616775249365371410251195685721873571936137582214608540031246934522598998471149222056603367299819839650110895514174767502231069405997210266029605633061457887219142455875069683535066668899729879103552723818729498685284033677783333851723007649039025172205062194798079246628273929864269632812630843547603723792411253681563590861348307617217874394979435880381183890362976449955857125425577984548797615088489117405690961596895404116652032127399446359827830826321116084993575955651364601003442904960032156110259091159222989704781068090084960080007464811310146161962479752895605092341151447144590045482712501884147085493622610722053014515708403415629687937391287703876677489048021226860879364342606128322977502685657274243290641949846995293819279789262634552027581520763899024071623907493761379650254449577831424463047987730912692811051748847380497223425152107493282866104732259708441696713329712580838882096654951060027131718031108165594397563409026201009185067506298434542935824155842291505666796662846533528247850876038673464749103385244077796732230997628965381937549197173899000145946631384267910163866963664073920772512267891023325142776479145183402279160017322190347903273271908144539801560432671947861164079902191831295264390696739647957584559324913089977294532264972090697457418275867844128997681601871944990082806769052614956897892387088747514720272944126365857101499900708439304145602101631491933457906359684276762664459124176657630735882055981299690640992819904249439541009807135115477281373142470230476049200762750591562370651807226033050930589217654278748495673041264615598106043386823172496955457566615066956007857192417474357655379329650374077964211971930395419668342261598570201525979696670263493483841793851579453585382368211388143869882596701606130715545230296606621191929390541222745662872851773251571318855108490983608518498137386024054875933400484734221613978337691794210464612727024770253683956158588959256964166513143570811630750237462346965386722684652395797694043224128567019410901974107632051794306167321831462744131629506102243989271726309392503128282303851316271135345163783223793607537545369065534822626991513562270163962666373178358746390213440966980172791241288062761836630690423269156691653048968683681013300283997789267419687482803419457796301568806658994499486794222427451365079516988427149901545838008809434373063515495464887872313445512858855252045047265175458954304348970358478422627948540653314543701445828677795296690361062395773768365948019073549924514488193874548103770447481942095075856359803905149045006591524089568165450843499752369240192266742590815889520792609836802955299657145044633350958582260067326855854972114623134694385361313615385167515629448680618526608941982625173162089285842458985407729429300819932960252272341199298499142264469651474659118913008629991793492694294443739966169092331581176234146248094917946889781582492146396434117058768641093307748809099413581649962556315062888642720253803584544969506724311598450573139599149202916061546412225064061000906783168764549802493534085716131409389871303781931807034627632721713269898387648608362981235091312347324271881826294797839989855512834929574768937771705972566818435212854787886908108651285646268431743631582851031555575759460810936905596455171654771617447560896830087017688253210227748521991286268336040922478413057677630209517155906890834312292295214146774459818021298637911192671086536782139960426929785314897801469515098298645088895853919384822985876672703912566004962185467065108945571476764578513306265417108294793054854400290936235677491440588954471828711291244876914353253054710846227279578716674522264038989283689148030557875017047045059228027796204174383^1(19,350000001)"</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
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-11-04">
<meta property="article:published_time" content="2024-12-15">
<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-11-04",
"dateModified": "2024-11-04",
"datePublished": "2024-12-15",
"dateModified": "2024-12-15",
"operatingSystem": "Any",
"applicationCategory": "EducationalApplication",
"author": {
Expand Down
Loading

0 comments on commit cd128d9

Please sign in to comment.