Numbers Guessing Game
Your Numbers Game
Get
clueYour
answerYour
ScoreClue? Score 0/0
-
Recent Posts
- PHP Exif Quiz Geographicals Tutorial
- PHP Exif Quiz Tutorial
- PHP Exif Retention off iPhone Images Tutorial
- List to Grid Layout CSS Media Query Tutorial
- List to Grid Layout Primer Tutorial
- Out and About WordPress Blog Content Tweaks Just with iPhone Tutorial
- Command Line History By Date Tutorial
- Overseas Travel Global Roaming Mobile Primer Tutorial
Categories
- Ajax
- Android
- Animation
- Anything You Like
- Code::Blocks
- Coding
- Colour Matching
- Data Integration
- Database
- Delphi
- Eclipse
- eLearning
- ESL
- Event-Driven Programming
- Games
- GIMP
- GUI
- Hardware
- Installers
- iOS
- Land Surveying
- Moodle
- Music Poll
- NetBeans
- Networking
- News
- Not Categorised
- OOP
- Operating System
- Photography
- Projects
- Signage Poll
- Software
- SpectroPhotometer
- Tiki Wiki
- Trips
- Tutorials
- Uncategorized
- Visual Studio
- Xcode
Meta
Tags
Ajax animation background button canvas command line CSS Did you know DOM dropdown email emoji event form game Google Google chart hashtag HTML IFRAME image iOS Javascript MAMP media mobile navigation onclick overlay PHP popup programming select share sharing SMS SVG table text textarea tutorial url video web browser webpageYour Background Image
OnTopList
Tag Archives: imagemap
GraphViz Dot Venn Diagram Resharing via PHP on AlmaLinux Tutorial
Regarding … recreating … yesterday’s GraphViz Dot Venn Diagram Recreatable via PHP on AlmaLinux Tutorial … offered a DIY Dot data based usage set … whereas … resharing … is happening today, offering other users you can email or SMS to, that same opportunity In order to make this happen, yes, hashtag methodologies do make a contribution, just in case there is too much data regarding (PHP $_GET[]) argument URL length limitations. So with an email body link such as … https://www.rjmprogramming.com.au/venn_diagram_basis.php?doiv=_0000000000114.74.162.103&rand=18967564#title=x%2dx&fmt=svg&two=&three=&one=graph%20V%20%7B%0A%20%20node%20%5Bshape%3Dcircle%20fontsize%3D12%5D%0A%20%20A%20%5Bheight%3D1%20fillcolor%3D%22%2390806090%22%20style%3D%22filled%22%20pos%3D%22184%2C144%22%20label%3D%22%22%20xlabel%3D%22A%22%20%20xlp%3D%22184%2C144%22%5D%0A%20%20B%20%5Bheight%3D1%20fillcolor%3D%22%2382927290%22%20style%3D%22filled%22%20pos%3D%22236%2C144%22%20label%3D%22%22%20xlabel%3D%22B%22%20%20xlp%3D%22232%2C150%22%5D%0A%20%20C%20%5Bheight%3D1%20fillcolor%3D%22%2366b69690%22%20style%3D%22filled%22%20pos%3D%22209%2C96%22%20label%3D%22%22%20xlabel%3D%22C%22%20%20xlp%3D%22202%2C96%22%5D%0A%20%20mylabelABC%20%5Bshape%3Dplaintext%20pos%3D%220%2C0%22%20label%3D%22%22%20xlabel%3D%22%22%20xlp%3D%22210%2C126%22%5D%0A%20%20mylabelAB%20%5Bshape%3Dplaintext%20pos%3D%220%2C0%22%20label%3D%22%22%20xlabel%3D%22%22%20xlp%3D%22210%2C148%22%5D%0A%20%20mylabelAC%20%5Bshape%3Dplaintext%20pos%3D%220%2C0%22%20label%3D%22%22%20xlabel%3D%22%22%20xlp%3D%22200%2C120%22%5D%0A%20%20mylabelBC%20%5Bshape%3Dplaintext%20pos%3D%220%2C0%22%20label%3D%22%22%20xlabel%3D%22%22%20xlp%3D%22220%2C120%22%5D%0A%20%20mylabel%20%5Bshape%3Dplaintext%20pos%3D%220%2C0%22%20label%3D%22%22%20xlabel%3D%22My%20Venn%20Diagram%22%20xlp%3D%2284%2C160%22%5D%0A%7D … matters are possible and definitive … and no … my advertising pitch to Ponds regarding … well … life and all matters did not fly … that being the reason we’re still running this blog?! URL to PHP Venn Diagram Dot data web application … which opens the Graph Creator as a popup window child IP address derived filename suffix to personalize data … as part of location.search (ie. (PHP $_GET[]) URL ? and & arguments) uniquifier to not run into caching repeats … as part of location.search (ie. (PHP $_GET[]) URL ? and & arguments) GraphViz output filename prefix … as part of location.hash (ie. hashtag data) GraphViz output data format … as part of location.hash (ie. hashtag data) GraphViz Dot based input data … which can be lengthy … as part of location.hash (ie. hashtag data) To get all this going we needed … to change image_venn.html inhouse Venn Chart Graph Creator web application … to change http_methods.php to change venn_diagram_basis.php GraphViz Based Venn Diagram Editor PHP web application Previous relevant GraphViz Dot Venn Diagram Recreatable via PHP on AlmaLinux Tutorial is shown below. We did not start yesterday’s GraphViz Dot Venn Diagram Sized via PHP on AlmaLinux Tutorial showing the two “recreatable” style links … … challenge here reaches a new more fruitful recreatable PNG or recreatable SVG or recreatable HTML phase via … … because it involved more work. Perhaps if you used those links you will have noticed it navigates you to a very long (PHP $_GET[] argument) URL containing the Dot code of relevance to that “recreation” into the inhouse (tweaked venn_diagram_basis.php) GraphViz Based Venn Diagram Editor PHP web application, and yet, if you are a regular reader you may have noticed that previous incarnations of the GraphViz Based Venn Diagram Editor PHP web application were exclusively based on HTML form method=POST scenarios. Well, a tweaked make_graphviz_peers.php PHP “require_once” helper, here, … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged $_GET, 404.php, AlmaLinux, alphabet, animation, argument, attribute, bar chart, border, box, cache, character, character set, chart, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, curl, data, delimitation, delimiter, deployment, design, dimensions, DOM, dot, dpi, dropdown, edge, editing, ellipse, email, emoji, encoding, error 404, exec, family, family tree, file, form, format, full circle, geo chart, Google, Google Charts, graph, GraphViz, hash.hashtag, hashtagging, height, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, integration, interface, interfacing, intersession, intrasession, Javascript, JSON, keyboard, korn shell, label, language, layour, line chart, localStorage, map, map chart, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, Png, point, points, polygon, position, positioning, post, posted, programming, px, Python, QuickChart, radar chart, recall, require, require_once, scatter chart, serverside, session, setTimeout, share, sharing, shell, size, SMS, software integration, solution, stop press, submit, SVG, switch, tab, table, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, uniquifier, units, url, user input, venn chart, Venn diagram, verb, width, Wikipedia, xlabel
|
Leave a comment
GraphViz Dot Venn Diagram Recreatable via PHP on AlmaLinux Tutorial
We did not start yesterday’s GraphViz Dot Venn Diagram Sized via PHP on AlmaLinux Tutorial showing the two “recreatable” style links … … challenge here reaches a new more fruitful recreatable PNG or recreatable SVG or recreatable HTML phase via … … because it involved more work. Perhaps if you used those links you will have noticed it navigates you to a very long (PHP $_GET[] argument) URL containing the Dot code of relevance to that “recreation” into the inhouse (tweaked venn_diagram_basis.php) GraphViz Based Venn Diagram Editor PHP web application, and yet, if you are a regular reader you may have noticed that previous incarnations of the GraphViz Based Venn Diagram Editor PHP web application were exclusively based on HTML form method=POST scenarios. Well, a tweaked make_graphviz_peers.php PHP “require_once” helper, here, now includes into all the PHP GraphViz family the new “near the top” codeline … <?php foreach ( $_GET as $key => $value ) { $_POST[$key] = $value; } ?> … which pleases us in it’s brevity for quite a useful result. Also it feels like we’re completing a cycle of functionality, returning to the GraphViz Venn Diagram work of a couple of days ago, within a workflow (and we have formalized this at the (tweaked image_venn.html) Graph Creator web application end of things, via two new right hand table cell links). This means a big URL argument call of a PHP GraphViz family web application may be equivalent to as if the textarea and other elements had been filled in by an actual user and submitted. Maybe we’ll run into length issues down the line, and if so, or sooner, we’ll allow for hashtag usage here, but wonder whether the make_graphviz_peers.php can help out enough here, generically … we’ll see! Previous relevant GraphViz Dot Venn Diagram Sized via PHP on AlmaLinux Tutorial is shown below. To reinvent how Google Charts Image Charts worked those 7 parameters to determine the look of their three circle Venn Diagram Charts makes my head hurt. As such, we default a GraphViz Dot (actually neato -n “whole of Dot”) approach to the “phase two” (after “splashpage”) section of a user defined Venn Diagram Chart chosen option in our Graph Creator web application, further to the day before yesterday’s QuickChart Interfacing of GraphViz via PHP on AlmaLinux Tutorial. But in following through on this new arrangement, we found ourselves confronting “skew if” PNG images … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged $_GET, 404.php, AlmaLinux, alphabet, animation, argument, attribute, bar chart, border, box, character, character set, chart, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, curl, data, delimitation, delimiter, deployment, design, dimensions, DOM, dot, dpi, dropdown, edge, editing, ellipse, email, emoji, encoding, error 404, exec, family, family tree, file, form, format, full circle, geo chart, Google, Google Charts, graph, GraphViz, height, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, integration, interface, interfacing, intersession, intrasession, Javascript, JSON, keyboard, korn shell, label, language, layour, line chart, localStorage, map, map chart, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, Png, point, points, polygon, position, positioning, post, posted, programming, px, Python, QuickChart, radar chart, recall, require, require_once, scatter chart, serverside, session, setTimeout, share, sharing, shell, size, SMS, software integration, solution, stop press, submit, SVG, switch, tab, table, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, url, user input, venn chart, Venn diagram, verb, width, Wikipedia, xlabel
|
Leave a comment
GraphViz Dot Venn Diagram Sized via PHP on AlmaLinux Tutorial
To reinvent how Google Charts Image Charts worked those 7 parameters to determine the look of their three circle Venn Diagram Charts makes my head hurt. As such, we default a GraphViz Dot (actually neato -n “whole of Dot”) approach to the “phase two” (after “splashpage”) section of a user defined Venn Diagram Chart chosen option in our Graph Creator web application, further to the day before yesterday’s QuickChart Interfacing of GraphViz via PHP on AlmaLinux Tutorial. But in following through on this new arrangement, we found ourselves confronting “skew if” PNG images when the GraphViz produced PNG’s behind the scenes Dot coding mentioned no width or height parameterization. So we researched the issue and came upon this excellent link, thanks, to start using … /usr/bin/neato -n -Tpng -Gsize=5.7,3.6\! -Gdpi=100 /home/rjmprogr/public_html/ITblog/payloadv.dot -o /home/rjmprogr/public_html/ITblog/renderv.png 2>> /home/rjmprogr/public_html/ITblog/renderv.err … with much more success! What’s with 5.7 and 3.6 here? Well, 5.7 (inches) x 96 is approximately 550 (pixels) and 3.6 (inches) x 96 is approximately 350 (pixels) to mean that the GraphViz interfacing more suits our pre-existing image size ideals. The “dpi” stands for “dots per inch” and it’s value here affects the resolution and size of the PNG file created. This Venn Diagram Chart arrangement seems limited when you know it is limited to three Venn Diagram Chart circles, until you get to the followup annotation menu that appears to the right of the web application screen, where open or filled in circles (or rectangles) and user added texts can augment your user entered parameters from a Javascript prompt window answer (where ~~ stands in for line feed and xlabel attributes are there available for the user to change the gist of their Venn Diagram Chart text). And so, the Venn Diagram Chart creation … … challenge here (with thanks to Calculating Probability Using a Venn Diagram for the inspiration) reaches a new more fruitful recreatable PNG or recreatable SVG or recreatable HTML phase via … a changed image_venn.html inhouse Venn Chart Graph Creator web application … calls on … a changed … <?php if (isset($_POST[‘incont’]) && isset($_POST[‘inhi’])) { file_put_contents(str_replace(‘+’,’ ‘,urldecode($_POST[‘inhi’])), explode(‘##’,str_replace(‘`’,’#’,str_replace(“~~”,”\n”,str_replace(‘+’,’ ‘,urldecode($_POST[‘incont’])))))[0]); file_put_contents(str_replace(‘+’,’ ‘,urldecode($_POST[‘inhi’])) . ‘x’, str_replace(‘`’,’#’,str_replace(“~~”,”\n”,str_replace(‘+’,’ ‘,urldecode($_POST[‘incont’]))))); while (file_exists(“/home/rjmprogr/public_html/ITblog/payloadv.dot”)) { sleep(5); } echo “<html><body onload=\” parent.document.getElementById(‘myvenn’).src=’/ITblog/renderv.png?rand=” . rand(567,26789056) . “‘; \”></body></html>”; exit; } ?> … http_methods.php PHP iframe hosted helper … and … good ol’ WordPress blog TwentyTen theme’s 404.php altered code snippets … <?php if (strpos(str_replace(‘cht=gom’, ‘cht=b’, str_replace(‘cht=v’, ‘cht=b’, … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged 404.php, AlmaLinux, alphabet, animation, attribute, bar chart, border, box, character, character set, chart, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, curl, data, delimitation, delimiter, deployment, design, dimensions, DOM, dot, dpi, dropdown, edge, editing, ellipse, email, emoji, encoding, error 404, exec, family, family tree, file, form, format, geo chart, Google, Google Charts, graph, GraphViz, height, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, interface, interfacing, intersession, intrasession, Javascript, JSON, keyboard, korn shell, label, language, layour, line chart, localStorage, map, map chart, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, Png, point, points, polygon, position, positioning, post, posted, programming, px, Python, QuickChart, radar chart, recall, require, require_once, scatter chart, serverside, session, setTimeout, share, sharing, shell, size, SMS, solution, stop press, submit, SVG, switch, tab, table, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, url, user input, venn chart, Venn diagram, verb, width, Wikipedia, xlabel
|
Leave a comment
QuickChart Interfacing of GraphViz via PHP on AlmaLinux Tutorial
Yesterday’s GraphViz via PHP on AlmaLinux Dot HTML Table Tutorial tweaked us to discovering another item to add to our list of GraphViz guises last reviewed at GraphViz via PHP on AlmaLinux Dot Colour Wheel Tutorial, adding … the recent, alas now deprecated, Google Charts Image Charts GraphViz option means of drawing SVG graphics within an HTML image … we’ve known about before about yesterday … today’s interest, that being PHP Image GraphViz via Pear on AlmaLinux install, via the AlmaLinux cPanel “Module Installers” Pear installer page, means by which we can use GraphViz calls in PHP code … and, for the future … GraphViz installs for Python via pip GraphViz via Dot language via command line GraphViz via QuickChart product interfacing, we interface to, thanks But, it’s not just the very interesting (curl https: posted JSON data based) QuickChart GraphViz interfacing that we add to our inhouse Image Based Graphs web application, we now have, in a first review, “splashpage aspect” improvements to all of … Bar Chart Line Chart Venn Chart Scatter Chart GraphViz Chart Google-O-Meter Chart Radar Chart Pie Chart … the most work left with this interfacing, in all likelihood, will go to the “missing from the list above” Map Chart, and some Venn Chart user entered parameter logics, where any Map Chart replacement logic will never match the Google means by which region boundaries were defined and, hence, able to be allocated a shaded colour, though we think we’ll be able to show region place name text, in position, moving forward, using Google Chart Geo Chart and/or Map Chart and Wikipedia, thanks. So, if this is an HTML web application, why the “PHP” mention in the blog posting title? Well, it is good ol’ WordPress Blog TwentyTen theme’s 404.php that remaps URLs from Google Chart Image Chart friendly ones to QuickChart friendly (so far only “splashpage” wise) ones via PHP code snippets … <?php if (strpos(str_replace(‘cht=gom’, ‘cht=b’, str_replace(‘cht=v’, ‘cht=b’, str_replace(‘cht=gv’, ‘cht=b’, str_replace(‘cht=p’, ‘cht=b’, str_replace(‘cht=s’, ‘cht=b’, str_replace(‘cht=r’, ‘cht=b’, str_replace(‘cht=l’, ‘cht=b’, qcpc($theqs)))))))), ‘cht=b’) === false) { // allow in Quick Charts // || 1 == 1) { header(‘Content-Type: image/png’); echo file_get_contents(‘http://chart.googleapis.com/chart’ . $theqs); } else if (strpos($theqs, ‘cht=gv’) !== false) { if (1 == 1) { exec(“curl -X POST ‘https://quickchart.io/graphviz’ -H ‘Content-Type: application/json’ -d @payload.json -o render.png”); if (3 == 3) { header(‘Content-Type: image/png’); echo file_get_contents(‘render.png’); } else { file_put_contents(‘xccgxv.xccgxv’, “<html><body onload=\”top.window.open(‘” . ‘//quickchart.io/graphviz’ . str_replace(‘&’,’&’,explode(‘#’, qcpc($theqs))[0]) … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged 404.php, AlmaLinux, alphabet, animation, bar chart, border, box, character, character set, chart, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, curl, data, delimitation, delimiter, deployment, design, DOM, dot, dropdown, edge, editing, ellipse, email, emoji, encoding, error 404, exec, family, family tree, file, form, format, geo chart, Google, Google Charts, graph, GraphViz, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, interface, interfacing, intersession, intrasession, Javascript, JSON, keyboard, korn shell, language, layour, line chart, localStorage, map, map chart, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, Png, point, points, polygon, position, positioning, post, posted, programming, px, Python, QuickChart, radar chart, recall, require, require_once, scatter chart, serverside, session, setTimeout, share, sharing, shell, SMS, solution, stop press, submit, SVG, switch, tab, table, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, url, user input, Venn diagram, verb, Wikipedia
|
Leave a comment
GraphViz via PHP on AlmaLinux Dot HTML Table Tutorial
In the GraphViz Dot command line world, there are a variety of (what we think of as) “verbs” supplied along with Dot installs for various purposes … think neat -n that helped with the Venn Diagrams of day before yesterday’s … but today we’re back to using “verb dot” again, thanks to QuickChart Graph API, thanks, with … GraphViz based … Dot based html_table_basis.dot code used for … graphs based on HTML table code … for our “how we got there” html_table_basis.php PHP hosting Dot first go HTML Table web application. In so doing we were able to test the integrity of yesterday’s GraphViz via PHP on AlmaLinux Require Once Tutorial … spoiler alert … all okay (but we still have to remember to make our crontab arrangements for each new such web application)! And remind ourselves to revisit the excellent QuickChart product, which can help us get over the demise of Google Charts Image Charts … somewhat. Previous relevant GraphViz via PHP on AlmaLinux Require Once Tutorial is shown below. What is a near relative to … external Javascript talents regarding peer to peer arrangements on the client side of web applications … for the PHP server side … … arrangements? We’d say … require .. and/or … include … styles of PHP syntax, as explained below … The include (or require) statement takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement. Including files is very useful when you want to include the same PHP, HTML, or text on multiple pages of a website. By peer to peer arrangements, we’re referring to those programming occasions where you’ve written a series of web applications, in today’s case, a series of server side PHP ones, further to the work of yesterday’s GraphViz via PHP on AlmaLinux Dot Circular Layout Tutorial, and want each to have means by which they can link to the others. In external Javascript client side land, that would involve an arrangement like … visit each HTML code and add the link to the external Javascript … and … within that external Javascript a dropdown (or some other HTML) element would be dynamically added to the webpage via DOM methodologies … based on … essentially a hardcoded list (which, likely, needs to be rewritten when something new in the peer list happens) the programmer knows about … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged AlmaLinux, alphabet, animation, border, box, character, character set, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, data, delimitation, delimiter, deployment, design, DOM, dot, dropdown, edge, editing, ellipse, email, emoji, encoding, exec, family, family tree, file, form, format, Google, graph, GraphViz, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, intersession, intrasession, Javascript, keyboard, korn shell, language, layour, localStorage, map, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, point, points, polygon, position, positioning, programming, px, Python, QuickChart, recall, require, require_once, serverside, session, setTimeout, share, sharing, shell, SMS, solution, stop press, submit, SVG, switch, tab, table, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, user input, Venn diagram, verb
|
Leave a comment
GraphViz via PHP on AlmaLinux Require Once Tutorial
What is a near relative to … external Javascript talents regarding peer to peer arrangements on the client side of web applications … for the PHP server side … … arrangements? We’d say … require .. and/or … include … styles of PHP syntax, as explained below … The include (or require) statement takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement. Including files is very useful when you want to include the same PHP, HTML, or text on multiple pages of a website. By peer to peer arrangements, we’re referring to those programming occasions where you’ve written a series of web applications, in today’s case, a series of server side PHP ones, further to the work of yesterday’s GraphViz via PHP on AlmaLinux Dot Circular Layout Tutorial, and want each to have means by which they can link to the others. In external Javascript client side land, that would involve an arrangement like … visit each HTML code and add the link to the external Javascript … and … within that external Javascript a dropdown (or some other HTML) element would be dynamically added to the webpage via DOM methodologies … based on … essentially a hardcoded list (which, likely, needs to be rewritten when something new in the peer list happens) the programmer knows about But using PHP require_once in our minimally tweaked code … just adding … <?php require_once(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . ‘make_graphviz_peers.php’); ?> … into twopi_vs_circo_example.php PHP hosting Dot second go Circular Layout web application, is all the “code visiting” needed (as long as somebody … anybody … executes it once in a while … more on that later) in this server side methodology. The reason server side works so well is that server side can read and adjust web server code files, where PHP writes PHP here in this solution, whereas external Javascript client side approaches cannot do this. With this in mind, what goes into that make_graphviz_peers.php to suit any/all … PHP include or require standalone web surfing curl command line curl scheduled in crontab command line scheduled in crontab … modes of use to achieve this peer to peer additional dropdown functionality? Quite short … <?php // make_graphviz_peers.php // October, 2024 // Look for <h1 id=myh1>Trying out <span title=’Actually neato -n for this Flow Chart idea’>Dot</span> GraphViz hosted in PHP … Continue reading →
Posted in eLearning, Event-Driven Programming, Operating System, Tutorials
|
Tagged AlmaLinux, alphabet, animation, border, box, character, character set, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, clientside, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, data, delimitation, delimiter, deployment, design, DOM, dot, dropdown, edge, editing, ellipse, email, emoji, encoding, exec, family, family tree, file, form, format, Google, graph, GraphViz, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, include, inshes, install, intersession, intrasession, Javascript, keyboard, korn shell, language, layour, localStorage, map, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, peer, peer to peer, permissions, PHP, pip, pixel, point, points, polygon, position, positioning, programming, px, Python, recall, require, require_once, serverside, session, setTimeout, share, sharing, shell, SMS, solution, stop press, submit, SVG, switch, tab, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, user input, Venn diagram, verb
|
Leave a comment
GraphViz via PHP on AlmaLinux Dot Circular Layout Tutorial
In the GraphViz Dot command line world, there are a variety of (what we think of as) “verbs” supplied along with Dot installs for various purposes … think neat -n that helped with the Venn Diagrams of yesterday’s GraphViz via PHP on AlmaLinux Dot Venn Diagram Box Tutorial … and today we start down the road, thanks to How to Create a Graph with a Circular Layout in GraphViz, thanks, with … GraphViz based … Dot based … twopi based … (and circo can be good) … graphs with a Circular Layout … for our “how we got there” twopi_vs_circo_example.php PHP hosting Dot first go Circular Layout web application. Previous relevant GraphViz via PHP on AlmaLinux Dot Venn Diagram Box Tutorial is shown below. Onto yesterday’s GraphViz via PHP on AlmaLinux Dot Venn Diagram Editing Functionality Tutorial the improvements, today, are … user can control the Venn (or, it’s getting towards other uses) Diagram fill colour and opacity … circles can be ellipses also … the dot (or neat -n) shape option Box is coded for as far as diagram editing is concerned … which means some other Polygon shapes work too, except that changes (via two discrete click/taps) followed through on, turns Polygons without 4 sides into a Box with 4 sides user can add dot (or neat -n) generic node attributes via the Font Size textbox ( eg. 14 fontcolor=blue margin=0 ) Those Javascript functions of yesterday now look like … <?php echo ” function movethis(xprevlastoh, xpos3, xpos4, xptx, xpty, firsttime) { var mshape=’ellipse’; var mxpts=0, mypts=0, mx=0, my=0, mxnew=0, mynew=0, wasto=null, szeroouterHTML=”, newr=0, newry=0, svgindexofinterest=0; var ynft=’youllneverfindthis’, ynftw=’youllneverfindthis’; var yntxtft=’youllneverfindthis’, yntxtftw=’youllneverfindthis’; var yncolft=’youllneverfindthis’, yncolftw=”; var zncolft=’youllneverfindthis’, zncolftw=”; var ges=szero.outerHTML.split(‘</g>’), gess=[], dotx=0, doty=0, dotdx=0, dotdy=0; var hashbit=(xprevlastoh + ‘##’).split(‘##’)[1]; var hashcs=hashbit.split(‘,’); var precursor='[height=’; var defcol=’#90806090′; var atoz=’0123456789abcdef’; var partsof=document.getElementById(‘one’).value.split(‘[height=’); var eight=8; var ynn=’youllneverfindthis’; relrec=”; wasfrom=null; var wh=[]; var sets=[]; var cpts=”; var shapeword=’circle’; var diameter=’diameter (or use comma for ellipse width,height)’; ellfill=”; ellfillop=”; if (xprevlastoh.indexOf(‘<polygon’) != -1) { eight=4; ynn=’cx’; mshape=’polygon’; shapeword=’polygon’; diameter=’width and height’; } if (eval(” + hashcs.length) > 6) { dotdx=eval(1 * eval(eval(” + xptx) – eval(” + hashcs[0]))); dotdy=eval(1 * eval(eval(” + xpty) – eval(” + hashcs[1]))); svgindexofinterest=eval(” + (” + hashcs[6].replace(/^0000/g, ”).replace(‘-‘,”))); } if (eval(” + partsof.length) > eval(” + svgindexofinterest)) { //alert(xprevlastoh); if (eval(” + svgindexofinterest) == 0) { relrec=partsof[svgindexofinterest]; if (xprevlastoh.indexOf(‘<text’) == 0 && eval(” + hashcs.length) > 1) { if … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged AlmaLinux, alphabet, animation, border, box, character, character set, chgrp, chmod, chown, circle, circo, circular, circular layout, client pre-emptive iframe, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, data, delimitation, delimiter, deployment, design, DOM, dot, dropdown, edge, editing, ellipse, email, emoji, encoding, exec, family, family tree, file, form, format, Google, graph, GraphViz, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, inshes, install, intersession, intrasession, Javascript, keyboard, korn shell, language, layour, localStorage, map, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, permissions, PHP, pip, pixel, point, points, polygon, position, positioning, programming, px, Python, recall, session, setTimeout, share, sharing, shell, SMS, solution, stop press, submit, SVG, switch, tab, temporary, textarea, tree, tutorial, Tutorials $_POST, twopi, units, user input, Venn diagram, verb
|
Leave a comment
GraphViz via PHP on AlmaLinux Dot Venn Diagram Box Tutorial
Onto yesterday’s GraphViz via PHP on AlmaLinux Dot Venn Diagram Editing Functionality Tutorial the improvements, today, are … user can control the Venn (or, it’s getting towards other uses) Diagram fill colour and opacity … circles can be ellipses also … the dot (or neat -n) shape option Box is coded for as far as diagram editing is concerned … which means some other Polygon shapes work too, except that changes (via two discrete click/taps) followed through on, turns Polygons without 4 sides into a Box with 4 sides user can add dot (or neat -n) generic node attributes via the Font Size textbox ( eg. 14 fontcolor=blue margin=0 ) Those Javascript functions of yesterday now look like … <?php echo ” function movethis(xprevlastoh, xpos3, xpos4, xptx, xpty, firsttime) { var mshape=’ellipse’; var mxpts=0, mypts=0, mx=0, my=0, mxnew=0, mynew=0, wasto=null, szeroouterHTML=”, newr=0, newry=0, svgindexofinterest=0; var ynft=’youllneverfindthis’, ynftw=’youllneverfindthis’; var yntxtft=’youllneverfindthis’, yntxtftw=’youllneverfindthis’; var yncolft=’youllneverfindthis’, yncolftw=”; var zncolft=’youllneverfindthis’, zncolftw=”; var ges=szero.outerHTML.split(‘</g>’), gess=[], dotx=0, doty=0, dotdx=0, dotdy=0; var hashbit=(xprevlastoh + ‘##’).split(‘##’)[1]; var hashcs=hashbit.split(‘,’); var precursor='[height=’; var defcol=’#90806090′; var atoz=’0123456789abcdef’; var partsof=document.getElementById(‘one’).value.split(‘[height=’); var eight=8; var ynn=’youllneverfindthis’; relrec=”; wasfrom=null; var wh=[]; var sets=[]; var cpts=”; var shapeword=’circle’; var diameter=’diameter (or use comma for ellipse width,height)’; ellfill=”; ellfillop=”; if (xprevlastoh.indexOf(‘<polygon’) != -1) { eight=4; ynn=’cx’; mshape=’polygon’; shapeword=’polygon’; diameter=’width and height’; } if (eval(” + hashcs.length) > 6) { dotdx=eval(1 * eval(eval(” + xptx) – eval(” + hashcs[0]))); dotdy=eval(1 * eval(eval(” + xpty) – eval(” + hashcs[1]))); svgindexofinterest=eval(” + (” + hashcs[6].replace(/^0000/g, ”).replace(‘-‘,”))); } if (eval(” + partsof.length) > eval(” + svgindexofinterest)) { //alert(xprevlastoh); if (eval(” + svgindexofinterest) == 0) { relrec=partsof[svgindexofinterest]; if (xprevlastoh.indexOf(‘<text’) == 0 && eval(” + hashcs.length) > 1) { if (relrec.indexOf(‘ xlp=\”‘) == -1 && relrec.indexOf(‘ pos=\”‘) == -1) { relrec+=precursor + partsof[1].split(‘]’)[0] } } else { if ((partsof[eval(-1 + eval(” + svgindexofinterest))] + ‘~’).indexOf(‘ ‘ + svgconto.document.getElementById(xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)]).outerHTML.split(‘>’)[1].split(‘<‘)[0] + ‘ ~’) != -1) { precursor=’ ‘ + svgconto.document.getElementById(xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)]).outerHTML.split(‘>’)[1].split(‘<‘)[0] + ‘ [height=’; } relrec=precursor + partsof[svgindexofinterest].split(‘]’)[0]; } } else { if (xprevlastoh.indexOf(‘<text’) == 0) { if ((partsof[eval(-1 + eval(” + svgindexofinterest))] + ‘~’).indexOf(‘ ‘ + svgconto.document.getElementById(xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)]).outerHTML.split(‘>’)[1].split(‘<‘)[0] + ‘ ~’) != -1) { precursor=’ ‘ + svgconto.document.getElementById(xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)]).outerHTML.split(‘>’)[1].split(‘<‘)[0] + ‘ [height=’; } } relrec=precursor + partsof[svgindexofinterest].split(‘]’)[0]; } } console.log(’31:’ + xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)]); // lastoh ##pointx,pointy,pxx,pxy,cx,cy,svgindexofinterest,dotx,doty,svgid if (svgconto.document.getElementById(xprevlastoh.split(‘,’)[eval(-1 + xprevlastoh.split(‘,’).length)])) { //alert(‘found’); if (xprevlastoh.indexOf(‘<‘ + mshape) != -1) { console.log(‘1:’ + xprevlastoh.split(‘##’)[1]); if ((” + xpos3) != (” + … Continue reading →
Posted in eLearning, Event-Driven Programming, Tutorials
|
Tagged $_POST, AlmaLinux, alphabet, animation, border, box, character, character set, chgrp, chmod, chown, circle, client pre-emptive iframe, co-ordinate, co-ordinate set, co-ordinates, coding, collaboration, colour, colour picker, colour wheel, command line, contentDocument, crontab, data, delimitation, delimiter, deployment, design, DOM, dot, dropdown, edge, editing, ellipse, email, emoji, encoding, exec, family, family tree, file, form, format, Google, graph, GraphViz, hierarchy, horizontal tab, HTML, IFRAME, image, imagemap, img, implementation, inch, inshes, install, intersession, intrasession, Javascript, keyboard, korn shell, language, localStorage, map, neato, node, onblue, onclick, onload, onmousedown, onsubmit, ontouchdown, opacity, organization, output, output format, outputs, overlay, ownership, package, PDF, permissions, PHP, pip, pixel, point, points, polygon, position, positioning, programming, px, Python, recall, session, setTimeout, share, sharing, shell, SMS, solution, stop press, submit, SVG, switch, tab, temporary, textarea, tree, tutorial, units, user input, Venn diagram
|
Leave a comment


Thanks. Since then, a Shower Songs project at https://www.rjmprogramming.com.au/HTMLCSS/shower_songs.html is an improvement regarding "Radio Play" on mobile platforms.