Wednesday, March 19, 2014

VOS is a lot of computer power in a very tiny package

I am pretty pressed for time at the moment but I had a couple minutes tonight to play around with the new embedded VOSBASIC commands. The page above was generated as CGI on-the-fly from a couple lines of VOSBASIC hardcoded into the source as a response to a request for a URL called "/queryfilter.cgi" with a few arguments passed as parameters. One of the parameters specified the table to look for stored queries on and output that as an HTML form. Another line called the output function for a "DATABROWSER" to that table piping in the results of the query. As you can see above you get a lot of page for less than 5 lines of VOSBASIC. This same page in Lua (my former embedded webcgi language) or something like PHP would take about 500 lines of included libraries just to get ready to output some HTML.

I know it has a long way to go but you gotta admit I might be onto something here. Only took me about 14 years of prototyping. This is a 384K executable that includes the JQuery and JQuery-UI libraries, SQLite, UPNP, mini-XML and mini-JSON to support all kinds of AJAX style web transactions in addition to the Raphael library and a bunch of custom drawing code for all sorts of real-time graphic interfaces like gauges, sliders and dials.. 

When I get some time I am really going to dig into this and bring it to a beta version so I can put it up on SourceForge or Github.

P.S. I played around some more with my $9.95 Cuecat. Once cracked, these barcode readers are better than devices costing hundreds of dollars. They can literally recognise nearly any barcode in the world. With just one installation of Vault-OS, a Cuecat and a label printer you could do some pretty amazing inventory management. One thing needed before I could release even an alpha version of VOS is a real-time lookup where you just wave the Cuecat over your inventory item and it reads in the barcode and can either jump to the existing record or create a new one to start an inventory tracking record for that item whatever it is. This would be invaluable in food storage and well within Mom'n'Pop budgets.

P.P.S. Check out this solution I found to generate and display Code 39 (U.S. Military barcode for inventory systems) in the browser without using a graphic canvas or an image. I've got to integrate this as soon as I can. The sample page he included seemed to work just fine on my Compaq Evo T30 Thin Client browser which is running IE 5.5 from back when dinosaurs roamed the earth in addition to Raphael graphics.


Some dude said...

dude, not all of your fans are thals who plan for the future and think of important shit like having fully functioning robust OS that Just Works. Some of us are cro mags and we would truly appreciate it if you would come out with a computer game to while away the time before the inevitable nuclear holocaust.

Joking aside, cool work.

Tom Fahy said...

That is elegant → the software and the singular process that it required. Truly.

Tex → Something especially for you:

In my travels, I have stumbled upon only a handful of folks that I have RECOGNIZED, including you, "Koanic," and Jim Penman. So, thank you. This is the only means by which I am able to repay you -- with song.


samhuih said...

Shamhat reminds me of Eugene Chadbourne. Course Eugene plays an electrified rake. Shamhats more modern.