Main
Main
Artwork
Artwork
Books
Books
Donate
Donate
Licenses
Licenses
Shorts
Shorts
Software
Software
Source
Source

Changes to Index Page and a Discussion About PHP

05-23-2017

You may not have noticed. I completely re-wrote the code for the Insanely Witty Stupidity index page. It no longer contains any javascript. Instead, I replaced all the javascript code with php. You can test it by turning off javascript in your web browser and clicking the "Main" link at the top of every page. Or if you're like me... open Emacs and visit insanelywittystupidity.com with eww or w3. :D Or, perhaps you prefer a command based web browser like links or lynx?? They all work pretty well, now-- at least when they view my index page.

I plan on replacing the javascript code on the following pages as well:

/html/old_news.html x
/html/psd_quotes.html x
/html/soc_quotes.html x
/pub/html/google.html x
/pub/math/ran_num_gen.html x

And of course, I plan on writing php replacements for all of my javascript "programs":

/candice/candice_0.1.html x
/oracle/oracle.html x
/scrambler/scrambler.html
/seq_seq/seq_seq.html x

When I'm finished, all these pages will work with any browser-- even text based browsers. I spent the last few months writing a javascript translator in php. It works okay. But, it's kind of slow. And, it's not finished. I misunderstood how user interaction works in php (e.g., running a php function when a user clicks an input). Re-writing the code I wrote to translate javascript interaction would be incredibly frustrating. So, I don't really feel like working on a translator anymore. Instead, I'm going to convert all my javascript pages to php. I'll convert most of the code for my javascript programs to php. For some of the heavy functions that scrambler uses (scrambler is a bitch!), I plan on compiling a program in c++. A php interface for a user will request solutions from a precompiled scrambler binary so a php binary (which is less efficient) won't have to do all the work.

If you're interested in checking out my javascript translator, its location is "/html/js_eqv.html". For some obscure or "unknown" reason I've never understood, apache daemons are designed to not allow users to download scripts containing php code?? So, I'm hosting zipped versions of my code here. You can't use js_eqv directly, obviously. You can test it from *my* server with a URL like this: http://insanelywittystupidity.com/html/js_eqv.html?../candice/candice_0.1.html. /html/js_try.html will translate a page and execute it. However, none of the user interaction features will work (if the code works at all).

Here's a complete list of URLs for filtering the javascript programs of Insanely Witty Stupidity:

(view resulting code)
Candice
The Oracle
Scrambler
Sequence Sequester

(execute code)
Candice
The Oracle
Scrambler
Sequence Sequester

Keep checking this page to view the status of each project. I'll mark projects I've completed with an "x". If I discover additional javascript pages I forgot about, I'll add them to the list.

Back

______________________________________________

Random Fact: The name "Insanely Witty Stupidity" is a sarcastic homage to William Shakespeare's pretentious (and completely confusing) application of poetic literature in character dialog. After all-- the lack of realism portrayed by Shakespeare character interactions makes it difficult for people to take the work seriously.

html revised 2024-04-23 by Michael Atkins.

The maintainer of insanelywittystupidity.com does not care if people duplicate this page or any part of it-- as long as this notice remains intact.