My modified version of VUE: Visual Understanding Environment |
Thursday, June 28th, 2018 05:05:25 GMT |
Last modified June 28, 2018 at 6:27 AM EDT.
However, it's still nowhere near as easy to install and run as I would like - sorry about that!
Also, I still consider myself mostly a newbie to Java programming. I tried my best, but it's quite possible there might be glitches in it that are my fault.
But, I've been happily using this modified version of VUE almost daily, with no changes to the code since Feb. 22, 2017, and I haven't yet noticed any serious problems:
And I'm not sure how to use the Pro-Grade security manager library in other operating systems besides the two Puppy Linuxes I most often use.
My version of VUE can work without the Pro-Grade security manager library, but I don't trust Java's excessive-seeming permissiveness, so I much prefer using VUE with Pro-Grade.
(I also like using Pro-Grade for debugging, since it can generate log files that provide clues about what VUE is doing, or trying to do.)
And it definitely works nicely in Lighthouse 64 Puppy Linux 6.02 Beta 2 and Lucid Puppy Linux 5.2.8 version 004, with the Pro-Grade security manager library.
But, hopefully it will be once I'm done renovating APSK - Apollia's Puppy Linux Setup Kit.
Ideally, I'd like to make it possible to easily compile all this stuff yourself from source code, with APSK walking you through the process, and optionally automating some of the boring parts that it's possible to automate. (But that might take quite a while for me to build.)
You can even download things and try them out, even though a lot of that stuff isn't done yet.
But many (like my modified version of VUE) are quite done enough to be useful, and for me to use them very frequently.
Someday, I'll get around to labeling them all better. (One thing I forgot to save from GitHub was the short descriptions of my repos, so I'm going to have to rewrite a lot of them.)
Finally, here's an already-compiled copy of my modified version of the wonderful concept mapping software VUE: Visual Understanding Environment, along with some other useful things.
Around 34 MiB, hosted on Dropbox
The file's SHA-512 checksum:
And here's the source code of my modified version of VUE:
Since VUE is Java software, it should run in just about any operating system you can use Java in - though probably not with all of VUE's features working right.
I was easily able to run my modified version of VUE in non-virtual Windows XP without the Pro-Grade security manager library. (And I'm guessing it probably works in Windows XP inside a VirtualBox also, since the unmodified VUE definitely did.)
However, even with those (the two Puppy Linuxes I most often use), it's still nowhere near as effortlessly easy to install and try out as I would like it to be.
Now that I deleted all of my Git repos from GitHub and moved most of them to my own website instead, you can observe a lot of my progress with various projects here:
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Heard that GitHub will be acquired by Microsoft, so I deleted all my GitHub repos |
Monday, June 4th, 2018 06:41:59 GMT |
News |
Last modified July 9, 2018, 10:00 PM EDT.
(June 23, 2018, 7:30 AM EDT: Finally released this: GitList and Gitolite Setup on DreamHost Shared Web Hosting)
This worries me, partly because Microsoft is such a titan of closed source software.
And also because I can think of at least 3 websites I also loved which unfortunately were acquired then shut down by a big company - the streaming music service MOG, the language-learning website Livemocha, and the Gaia social networking site (formerly known as Zaadz).
Especially after mid-April 2018, when very important features of GitHub's website suddenly temporarily stopped working in my favorite web browser, Pale Moon.
I almost gave up on GitHub then. But GitHub went back to normal in Pale Moon so soon that I (probably unwisely) relaxed and just kept using GitHub, even though I really knew better. I just wasn't in the mood to try to figure out how to set up my own hosting for my Git repos.
I also would like to start publishing things on Apollia.com (where I might try to present myself and my work in a way that seems more appealing to potential employers or clients than Astroblahhh.Com probably does - not that I really want to work on anything except my own projects at the moment) or at least Apollia.org - which might end up being the hopefully improved successor to Astroblahhh.Com.
It's exactly the same repo as the previous zip download, but making it into a bare repo shrinks it to around 344 MiB instead of around 410 MiB. However, you'll have to convert it back to a normal Git repo to use it.
I only have 2 GiB of space available in my free Dropbox account, so, I will probably have to delete the 410 MiB zip file at some point to make room for other files.
End of addition.
So far, I have some vague ideas of what to do with Apollia.org and Apollia.com. I definitely don't want to have to use my web browser or FTP software to update my websites anymore.
One of my favorite things about GitHub (even though it has a really excellent web interface) was the fact that all I had to do to upload updates to my repos was type commands into my GNU/Linux system's own console window. And I probably could have automated that if I really wanted to.
So, I think I might end up somehow using Git (which is not the same thing as GitHub) to maintain Apollia.org and Apollia.com.
So, maybe GitHub will be OK? I hope so.
But, I still want to figure out how to host my own Git repos on my own websites. I always thought that's something I ought to learn how to do.
But, I plan to try GitList, which is written in PHP, so I'm hoping it will be easy to set up not only on my own computer, but also on my web host, so I can continue to easily share my programming projects with the world.
I also might try GitPrep, which is written in Perl, a language I still like, even though PHP is still my favorite.
But now, I like using both, often in the same repo - Mercurial for private stuff that's too messy and unpolished to consider releasing, and Git for updates I'm OK with publishing (even though many of those updates were rather messy and unpolished too).
I'm so accustomed to this arrangement now, that's the top reason I'm probably not going to switch to using Mercurial for public updates.
For a while, it was #1 on GitHub's trending repos list, and it appeared in the GitHub Explore email newsletters I received on June 4, 5, and 6.
Oddly, the repo suddenly vanished from the trending repo list and newsletter, despite the fact that the repo's number of stars still seemed to be growing fast. So, I wonder if GitHub censored it?
Another problem was that GitHub doesn't make it easy to export all the posts from a repo's Issues section, so continuing to use the Issues section would have only made it more difficult to quit using GitHub for discussions.
Here's a summary of people's suggestions:
Posted June 6, 2018, 10:18 AM EDT:
What free (as in freedom), libre, open source GitHub alternatives might work best on shared web hosts, or could most easily be modified to work well on a shared web host?
I haven't tried any yet, so I'm not sure how well these will work, but these 3 seem like possibilities:
https://github.com/klaussilveira/gitlist
https://github.com/yuki-kimoto/gitprep
https://github.com/phacility/phabricator
Still, I'm mentioning it because perhaps it might be possible to make a version of Phabricator that would definitely work well on a shared web host.
I'm also interested in anything that could possibly be useful in building a GitHub alternative for shared web hosts. Like this:
Quote:
Posted June 7, 2018, 3:05 PM EDT:
Might be a useful component of a GitHub alternative for a shared web host:
https://github.com/sitaramc/gitolite
"Can be installed without root access, assuming git and perl are already installed."
"Gitolite is useful in any server that is going to host multiple git repositories, each with many developers, where "anyone can do anything to any repo" is not a good idea."
End of quotes.
Here's a very detailed forum post about that:
So, maybe there's a chance Gitea or Gogs might work on DreamHost shared hosting?
So, that sounds promising, since on shared hosting, it's important not to use too many resources.
I like the nice, easy interface, and the fact that it's written in my favorite language, PHP, which will probably make it easier for me to modify.
I think Gitea and Gogs have more features, but GitList might be all I need, at least for now. And if I stick with GitList, I won't have to try to make Go work on DreamHost.
I still have much more to learn about how to use and configure Gitolite. But, I'm hoping I'll soon figure things out well enough to publish some new Git repos containing documentation of how I got GitList and Gitolite to work on my websites.
Thanks to the creators of GitList and Gitolite, and all the authors of web pages which helped me figure out how to install and use them!
Donations and microdonations are welcome.
I guess I'm also going to give up (for now) on the idea of publishing documentation of how I set this stuff up, since everything just seems too hard at the moment.
Got some sleep, and am definitely not feeling as fatigued as I used to get. So, hopefully I'll soon get much better as long as I strive to eat well enough, replenish my recently-lost iron, and avoid stress and putting too much pressure on myself to get things done fast and perfectly.
And maybe take more breaks, even though making progress with my projects often relaxes me a lot more than escapism does. Though quite probably my projects are themselves a form of escapism (probably avoidance of taking a more direct, obvious, and relatively more conventional approach to attempting to solve my eternal money problems), since I think I definitely qualify as a structured procrastinator, a concept described in one of the best self-help books I ever read, The Art of Procrastination. I don't know if I ever read another self-help book which described me so well.
So, I should probably just stop ever publicly declaring what my current priorities are, because quite often when I do that, I start to feel burdened by the top priorities and want to escape them and do something else instead.
I thought that was really comforting, so, I just thought I'd write it down here, in case it helps anyone else, and also to remind me of it if/when I forget it again.
Quoted from that email (with bold not added by me):
Then the answer is an unequivocal YES.
LinkedIn is one of the "Big Three" (along with Github and your blog) that every developer must have in their promotional platform."
I think no one's career should be dependent on digital sharecropping on a website controlled by anyone other than yourself - even if that controller isn't Microsoft.
Dilberts of the world, it's time to rebel! :-D
Just imagine what Dilbert could achieve if he quit his job and started a free (as in freedom), libre, open source software company along with Alice and maybe even Wally, who I suspect might secretly be very competent, if Wally would use his intelligence for more noble goals than just duping his corporate overlords into paying him for doing hardly anything. :-)
Behold!!!!!
I recently heard that Microsoft is going to acquire GitHub, one of my favorite websites:
June 3, 2018, from Bloomberg.com
Even before I heard about this, keeping my stuff on GitHub had already been somewhat bothering me for a while.
And I actually still am not really in the mood to do that. But, at least the various things I've been working on, such as the renovated APSK (Apollia's Puppy Linux Setup Kit) - which I made huge progress with in April and May - and my very convenient VirtualBox Guest Setup Scripts - will probably make it much easier for me to figure out how to host my Git repos on my own websites.
All that might take a while, though, so, for now, here's a big zip file of nearly all the repos I had on GitHub, downloaded soon before I deleted them from GitHub:
About 32 MiB, hosted on Dropbox
The file's SHA-512 checksum:
And here's the Git repo of my modified version of VUE: Visual Understanding Environment - in a separate zip file, since it's so big:
About 410 MiB, hosted on Dropbox
The file's SHA-512 checksum:
Addition, June 27, 2018, 9:00 PM EDT. Here's my modified version of VUE: Visual Understanding Environment converted to a bare Git repo to make it smaller:
About 344 MiB, hosted on Dropbox
Until Apollia.org is designed and working, Astroblahhh.Com is still my primary personal website.
Additions, June 4, 2018, 7:15(?) AM/7:32 AM EDT. Here's a somewhat comforting article:
June 4, 2018 from TheNextWeb.com
Additions, June 6, 2018, 2:20 AM/11:08 AM EDT. Here's an article that increases my doubts about Microsoft's intentions:
June 12, 2017, from PCGamesN.com
Anyway, I'm definitely not going back to hosting my repos on GitHub. I still haven't really tried very hard yet to move to a GitHub replacement, nor even looked very hard yet.
Several years ago, I thought I liked Mercurial more than Git, since the commands in Mercurial overall seemed easier to understand and remember.
Additions, June 9, 2018, 2:15 PM/5:01 PM EDT. Here's a GitHub repo for GitHub evacuees:
The repo used to have an Issues section, but quite understandably, the owner didn't want to have to keep moderating lots of arguments which distracted from the main purpose of the repo.
Thanks for all the replies to my issue post, formerly at GitHub alternatives for shared web hosts!
And here are the software links and info I posted:
* GitList, written in PHP: http://gitlist.org/
* GitPrep, written in Perl: http://gitprep.yukikimoto.com/
* Phabricator, written in PHP - https://phacility.com/phabricator/
However, the Phabricator Installation Guide says:
"A Shared Host: This may work, but is not recommended. Many shared hosting environments have restrictions which prevent some of Phabricator's features from working. Consider using a normal computer instead. We do not support shared hosts."
* Gitter, written in PHP -
https://github.com/klaussilveira/gitter
"Gitter allows you to interact in an object oriented manner with Git repositories via PHP."
Thanks for any ideas!
* Gitolite, written in Perl - http://gitolite.com/
Quotes from the Gitolite Overview page:
"Gitolite is an access control layer on top of git."
I never used the Go language (or "Golang") before. But, I read that Go can be used on DreamHost, my shared web host which I've been happily using since 2006.
From Sept. 11, 2017 at Discussion.DreamHost.com
The Gitea and Gogs home pages each say they have "low minimal requirements and can run on an inexpensive Raspberry Pi."
I'm not sure if DreamHost's shared hosting has enough Java features enabled for Gitblit to work.
So far, I've had some good luck getting GitList (written in PHP) working on a test website on DreamHost shared web hosting.
Next, I want to see if I can get Gitolite (written in Perl) working, since for extra security, I'd like to limit edit access to my repos to exclusively my own IP address.
Additions, June 10, 2018, 1:00 PM/1:03 PM EDT. Happily, I was able to get Gitolite working on my test website on DreamHost shared web hosting.
Additions, June 11, 2018, 10:04/10:06 PM EDT. This is taking longer than I hoped, I guess largely because I'm very stressed out, have once again been getting increasingly fatigued, and I haven't been eating very well lately.
Additions, June 11, 2018, 10:58 PM/10:59 PM EDT. Anyway, I think I need to just give up on trying to set everything up perfectly. I can't even figure out how to make my Apache web server .htaccess files work the way I want them to.
Additions, June 12, 2018, 7:55 AM/9:54 AM EDT. Before sleep, I finally got one of the .htaccess files I was struggling with working. Was too tired to announce how much better that suddenly made me feel.
A TV show I recently watched had some great quotes about how strength is nothing without faith. Basically about how even if you actually have everything you need to overcome whatever problems you're facing, you might still mistakenly think all is lost if you have too little faith. And "You've got strength, all you need is some faith" (paraphrased from memory).
Additions, June 12, 2018, 12:05 PM/1:24 PM EDT. I just got a promotional email from the Simple Programmer mailing list regarding this $29 course.
"Am I hurting my career if I don't have a carefully crafted LinkedIn profile that properly presents my skills, passions and experience?
Even if Microsoft wasn't the owner (or soon becoming the owner) of two of those three things (and besides that, Microsoft could easily afford to tempt possibly most developers to sell their own blogs) - I would still find the above very dismaying.
But, fortunately, we software engineers (especially the ones who are much better at programming than I am) are far from helpless to do something about this. We actually can build our own platforms and set ourselves and everyone else free!
Addition, June 22, 2018, 5:43 PM EDT. I'm finally done setting up GitList and Gitolite on Apollia.org:
Addition, June 23, 2018, 7:23 AM/7:30 AM EDT. And here are my setup scripts and documentation:
Making that was a lot of work, but, it made it possible for me to set up all these other GitList/Gitolite installations pretty fast:
https://apollia.com/gitlist
Where I someday might put only my favorite or most impressive-seeming work, to try to entice people to hire me, buy products from me, or send donations or microdonations to me.
https://astroblahhh.com/gitlist
Perhaps this is where I should put software which actually has Astroblahhh in its name, like Astroblahhh Desktop.
https://eryss.com/gitlist
The future home of the Eryss astrology software.
https://non24.com/gitlist
A fitting place for things related to sleep issues, like my Primitive Relative Scheduler script.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Various plans and projects - funding welcome |
Saturday, May 27th, 2017 01:28:10 GMT |
Last edited May 27, 2017 at 1:45 AM EDT.
For various reasons, I have wanted for years (actually, decades) to be able to move into my own place. But, my financial problems and health problems have so far made that impossible. (Or at least, not at all realistically feasible.)
Even just having enough money to realistically be able to move out would probably improve my situation dramatically - even if I ultimately decide to stay where I am to save money.
So, if anyone would like to help fund my possible move out to my own place, or any of my other plans or projects, donations and microdonations are welcome.
Been too stressed out to feel like dealing with (or even reading) a lot of my email, so, I probably won't respond to messages, and might not even check for a long time to see if I got any donations, because as long as I don't look, I can maintain my hope that maybe someone has financially rescued me and I just don't know it yet. :-)
So, please don't be worried if you don't get a reply for a long time. I will check my mail, etc. eventually when I'm feeling sufficiently better.
Thanks again to all you kind people out there. Because of you, I'm doing much better now than I otherwise would have been.
I still think my severe sleep issues are probably incurable, but, as long as I have sufficient energy for a good long while after I wake up, I don't mind being wide awake and energetic even at often unusual times. Fortunately, more and more lately, I've been able to feel that way despite (and surely partly because of) no caffeine.
For too much information on my health struggles, read this. :-)
So, I'd much rather just keep working on renovating my Puppy Linux Setup Kit (primarily), among other things.
That (and a lot else in my life) has gotten much easier lately, thanks to the wonderful concept mapping software VUE, which I forked and modified to make it more comfortable to use as my main note-taking tool.
And the magnificent GNU Emacs and multifiles-apmod.el continue to be very helpful.
So far, I still have only read part of The Art of Unix Programming by Eric S. Raymond. But that, and doing so much with Bash scripting since early 2016, and seeing even more clearly how naive the monolithic designs of many of my past projects were, have encouraged me to improve the overall architecture of my projects by splitting things up into smaller, more independent tools, rather than having so much stuff unnecessarily blobbed together.
I actually probably would have used PHP and HJSON if they were available at startup in most Puppy Linuxes, because PHP is still my favorite, most comfortable language, and you can do more with HJSON files than INI files, like put in values with multiple lines.
But, I don't know of any Puppy Linuxes which have PHP and HJSON built in, and it seems unreasonable to expect users (or even myself) to compile PHP from scratch (even with helpful scripts walking users through the process) every time they switch to a new Puppy, just so the users can get on with using the rest of the setup kit.
Bash is still definitely not my favorite language, but, it's a lot better and more capable of doing what I need than I originally thought.
Here's a cool blog post I ran across a while back which shows how object-oriented programming can be done in Bash!
Then I won't have to struggle to remember details like the rather complicated series of characters sometimes needed to refer to an array in Bash - "${array[@]}". Instead, I'll be able to just put only the array's name in a specially-decorated bubble. Then, my visual programming system will somehow know to wrap the array name with those mysterious hard to remember characters automatically when the VUE map is converted to Bash source code.
I suspect being able to rename things, hide clutter away, easily put nicely-styled comments and/or lolcat pictures wherever I want, and not have to type </> > and quotes all the time, might make XSLT and XML code a lot more fun to read and easier to write, too.
But, instead, I ended up pondering and working on the renovated design for my Puppy Linux Setup Kit, and trying to see how far I could get with just .ini files and Bash scripts. Fortunately, pretty far.
Don't know how long it will take for me to finish, but, at the moment, I'm more interested in continuing with that than with returning to trying to build a visual programming system yet. I'm quite pleased with how the setup kit is evolving, despite (and probably also partly because of) the limited tools I'm restricting myself to.
It won't actually be a version control system, though, since it's not going to save old versions of files, and is mainly just going to deal with the repos as they currently are. One of its main jobs will be to make it easy to locate things by nickname rather than by their filepaths. That will be quite convenient, and make it so trying to reorganize my files won't cause as much chaos anymore.
Even though it will have a variety of shell commands, it's probably usually not going to require you to open a terminal window and type in commands. One of the top goals of my Puppy Linux Setup Kit is ease of use even for non-technical people, so, I want it to have plenty more GUI (graphical user interface) stuff than the previous versions did, and prettier terminal text with customizable colors.
Again, not sure how long it will take, since it probably will depend a lot on my future health and energy levels, which I'm not at all sure I can predict, though I seem to have been getting better lately.
Going to continue to encourage my improvement by reducing (and continuing to avoid) stress in various ways, eating better, exercising more, taking my vitamins, and doing various other life-improving things, like reading a lot, getting more organized, cleaning my room, and the rest of the house. And working on my programming projects - without overdoing it to the point where I neglect much of the rest of my life.
And, asking publicly for donations and microdonations, in addition to sometimes being truly helpful on a financial level, also enables me to indulge in the comforting, stress-reducing (and thus possibly health-boosting) fantasy that maybe someday someone (or many people) will, through their generosity, rescue me and my family from ever having to worry about money ever again.
And even much smaller amounts of money definitely helped tremendously. Thank you all!
I actually will probably end up staying here, but even if I do stay here, having more money will make things much better and might also help me get over my possible adrenal fatigue and possible PTSD faster.
I think I might actually be en route to becoming healthier (except for being older) than I ever was in the past, back when I was still a headachy caffeine addict who too often ate poorly (often just due to lack of interest in food - not always for lack of appealing food).
I still don't yet feel up to seeking work, such as freelance work at Upwork.com (formerly known as oDesk). I'm not yet sure if my recently improved energy is going to last or not, and I'm concerned that feeling obligated to get things done quickly and well might stress me out and thereby harm me more than the money from jobs might relieve my stress. I'd probably feel most comfortable doing very easy, relatively mindless stuff like transcription, but the pay for that is generally so low it's probably not worth the trouble it would be for me and the time it would waste.
So far, it's looking like the core of the renovated Puppy Linux Setup Kit might turn out to be .ini files and Bash shell scripts after all, rather than PHP or Perl and HJSON. (However, I have so many old-style Puppy Linux Setup Kit scripts that I'm definitely working on keeping them perfectly useable, with some slight improvements.)
I suspect I'll like Bash even more if or when I build a visual programming system using my modified version of VUE as the GUI (graphical user interface), and some separate PHP and XSLT scripts to convert VUE maps (which are in XML format) into source code in any programming language I want.
At first I intended to only update my Puppy Linux Setup Kit minimally in the old-fashioned way, with more scripts in the style of the released version of the setup kit, just so I could easily get back PHP, PHP-GTK, XSLT, etc. anytime I restart my computer.
The new design is actually reminiscent in some ways of version control systems like Mercurial and Git, because repos are one of the basic building blocks of my in-progress, unreleased, renovated Puppy Linux Setup Kit, and it's going to have shell commands like "apsk init" and "apsk commit". (APSK is short for Apollia's Puppy Setup Kit.)
Anyway, I'd rather just keep working on it than try to explain everything about it, since I'm still hazy myself on a lot of details. I'm trying to get it done as fast as I can, without messing it up by being overly hasty.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Salty XML Transformer v1.0 |
Monday, March 27th, 2017 01:58:39 GMT |
Blog post last edited April 3, 2017 at 2:23 PM EDT.
Salty is now at Version 1.2.
I just finished and released this today:
A crude but effective-enough way to use (or try to use) any XSLT sheet to transform any XML file or VUE concept map file.
Named "Salty" because the name XSLT reminds me of salt, and because I didn't have the energy or patience to try to make something more perfect and less crude. ("Crude", "coarse", and "vulgar" are some of the less frequently-used meanings of the word "salty".)
By the way, here's my modified version of VUE again.
But, I'm probably going to be preoccupied for a while with trying to build a visual programming system, since I think even a relatively simple, primitive one might make programming far easier, faster, and more fun.
Also fixed that for some but not all plain, non-VUE XML files. To avoid garbage (mojibake) output, those XML files must use Unicode entities instead of normal Unicode characters.
Also fixed a small glitch that stopped plain, non-VUE XML files from even being read.
If you liked the Simple Schematron Demo for PHP 5.6.28 and Saxon/C 1.0.2, here's another PHP and Saxon/C-requiring thing you might like.
Anyway, it's good enough that I can now much more easily play around with XSLT 2.0 in PHP, and try to figure out how to use XSLT to do clever things with VUE (Visual Understanding Environment) concept map files.
Someday, I'd like to update my Puppy Linux Setup Kit sufficiently to make it tremendously easier to install everything you'll need to be able to use the Salty XML Transformer and/or the Simple Schematron Demo, such as PHP, Saxon/C, etc.
Addition, March 28, 2017, 11:17 PM EDT. Updated to Version 1.1, which hopefully fixes the problem (at least with VUE maps) of some Unicode characters such as 🗁 being transformed into garbage characters (also known as mojibake).
Addition, April 3, 2017, 2:23 PM EDT. Updated to Version 1.2. Now it's possible to give Salty arguments to pass as parameters to XSLT.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
A simple Schematron demo for PHP 5.6.28 and Saxon/C 1.0.2 |
Sunday, February 5th, 2017 04:38:05 GMT |
Today, I figured out how to use the XML-validation language Schematron with PHP 5.6.28 and the XSLT processor Saxon/C 1.0.2.
And since examples of using Schematron with PHP plus Saxon/C currently seem to be quite rare on the web - possibly even nonexistent, except for my own - I put together this GitHub repo:
Everything else is unmodified stuff from the official Schematron repo.
Soon, I'll be able to be far more sure I'm generating valid VUE: Visual Understanding Environment concept maps with tools other than VUE itself. (Here's my slightly modified version of VUE.)
I only authored the PHP script and the "README.md" file. The included Schematron schema and XML files are my slightly modified versions of things from the the official Schematron repo.
Now that I can use Schematron, I'm guessing I'm probably going to have a much easier time with all of my current and future XSLT projects.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
How to get the Schematron Testing Framework (stf) to run in Lighthouse 64 Puppy Linux 6.02 Beta 2 |
Friday, February 3rd, 2017 22:56:21 GMT |
The operating system with which I accomplished the below was Lighthouse 64 Puppy Linux 6.02 Beta 2.
So, I've been trying to figure how to use the XML-validation language Schematron, so I'll have a way to validate concept map files I generate or modify with XSLT instead of VUE.
In addition to Schematron, I also stumbled across some Java software called the Schematron Testing Framework (stf), which I'm not yet sure I'm going to need, but, figured out how to run anyway just in case I ever do need it.
Here's my entire "properties.xml" file:
Quoted from the official web page about libre, open-source editions of Saxon:
Quoted from the official XML Calabash web page:
Here's the official Apache xml-commons web page.
Quoted from the official Apache Ant home page:
I've been messing around with XML and XSLT lately, since I want to use XSLT to do some clever things with VUE: Visual Understanding Environment concept maps. (Here's my slightly modified version of VUE.)
It took me a while, but I finally figured out I needed to download some other Java software, and edit the "properties.xml" file included with the Schematron Testing Framework (stf) to tell it where to find that other software in my system.
In addition to the Schematron Testing Framework (stf) itself, I had to download the following three Java programs. I lazily downloaded binaries instead of compiling anything from scratch. (Possibly other versions than the ones I used would work.)
"Saxon-HE (Home Edition) is the open-source version of the Saxon XSLT and XQuery processor."
"XML Calabash is an implementation of XProc: An XML Pipeline Language."
I also used:
"Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other."
With everything installed and the "properties.xml" properly configured, all I had to do to run Schematron Testing Framework (stf) was go to stf's "example" folder, open a console there, and type:
That resulted in this output:
To confirm that Schematron Testing Framework (stf) was really reading the example XML files "foo-1.xml" and "foo-2.xml", I edited them, which, as expected, changed the output of the "ant" command a bit:
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
VUE: How to detach images from bubbles (also known as nodes) |
Thursday, January 12th, 2017 02:12:57 GMT |
Last edited Jan. 12, 2016, at 2:37 AM EST.
These instructions work for me using VUE in either Lighthouse 64 Puppy Linux 6.02 Beta 2 or Lucid Puppy Linux 5.2.8 version 004. Haven't tried this in Windows or on a Mac.
You can select multiple images to drag out by clicking one image, then pressing the Shift key on your keyboard when you click the other images. Once you've selected all the images you want, click one of your selected images, then drag all of them as a group to wherever you want.
Happily, detaching the images makes it possible to more easily resize the images, the same way you resize a bubble. (Click on the image to select it, which makes white boxes appear at the corners and edges, which you can click on and drag to resize the image.)
And using VUE's Layers feature, you can actually use images as backgrounds for anything on higher layers!
Using just the controls in that small window, you can create new layers, lock and unlock layers, show or hide certain layers, move whatever bubbles, images, etc. you want to other layers, reorder layers, duplicate layers, merge layers, and remove layers. And perhaps do other things I don't know about.
The rename-layer feature in VUE 3.3.0 - and in my own slightly modified version of VUE - currently doesn't work in Lighthouse 64 Puppy Linux 6.02 Beta 2 and Lucid Puppy Linux 5.2.8 version 004, and also in a MacOS. No idea how to fix that yet, but I might try to figure it out.
This blog post applies to both the official version 3.3.0 of the concept mapping software VUE: Visual Understanding Environment, and my own slightly modified version. I haven't tried this in other versions.
I've been a delighted user of VUE since perhaps 2010. But it was not until the past several days that I finally stumbled across a way to detach images from nodes! (Or, as I prefer to call nodes - bubbles.)
Here's how to detach an image from a single bubble:
If you want to detach images from many bubbles:
If you put an image back into a bubble, it can get stuck again, but you can just repeat the above process to make another detached, bubble-free copy. Or use the undo feature.
I don't know if there's a maximum size for images, but, you can definitely resize them to be larger than their full size.
To work with layers, go to the Windows menu and choose Layers, or press Ctrl-5.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
My slightly modified VUE: Visual Understanding Environment |
Sunday, January 8th, 2017 05:04:12 GMT |
I slightly modified the wonderful concept mapping software VUE: Visual Understanding Environment to work better for me in Puppy Linux.
My modified source code is available from here:
If I recall correctly, that already worked in Windows XP, but it mostly didn't work right for me in any edition of Puppy Linux I tried VUE in - namely, Lighthouse 64 Puppy Linux 6.02 Beta 2 and Lucid Puppy Linux 5.2.8 version 004. (Except I was always able to open other VUE map files.)
Reminds me a little of HyperCard.
Once you have Ant installed, you can run the command "ant all" in the "VUE2/src" folder, which after about 20 seconds results in a runnable "VUE.jar" file which you can find at the path "VUE2/src/build/VUE.jar".
And you can run VUE.jar by opening a console in the "VUE2/src/build" folder and typing:
Eclipse also has debugging features I mostly haven't figured out how to use yet, and the useful ability to generate Javadoc pages like these.
Eclipse still listed a bunch of errors even after I excluded these folders using Eclipse's Resource Filters feature:
But, Eclipse still was able to build VUE anyway.
My top goals were:
So, I fixed that, in a crude but effective-enough way. And now I can not only open other VUE maps, but do things like launch other programs and scripts, and visit web pages, just by clicking currently inconveniently tiny buttons in VUE.
I don't feel like writing in 100% thorough detail about how to compile the source code, but, one way to compile it is by using Apache Ant. (I used v1.10, and in the past, version 1.9.6 also worked for me.)
java -jar VUE.jar
It's also possible to build and run VUE using the Eclipse Java EE IDE for Web Developers Neon.2 Release (4.6.2), and probably other versions.
This old forum post on how to put VUE into an Eclipse project was helpful, though I didn't follow all of those instructions. I told Eclipse to base the project on the Ant build file at VUE2/src/build.xml, and that worked fine.
src/java15
src/oki/old
src/maclib
src/old
src/build
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
The death of Star Trek actor Anton Yelchin was possibly a result of software-controlled car parts |
Thursday, September 1st, 2016 12:14:21 GMT |
I was very saddened to find out today that the actor Anton Yelchin, who played Chekov in the recent Star Trek movies, died possibly because of the software-controlled "e-shift transmission" in his Jeep Grand Cherokee, which was involved in a recall. He was only 27.
So, I updated this blog post again:
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Sandstorm |
Sunday, August 7th, 2016 05:05:19 GMT |
I recently heard about a very impressive project called Sandstorm which makes installing web apps (like WordPress or MediaWiki, and many others) as easy as installing phone apps.
One reason I'm so pleased to have run across this is because I had been idly wondering for years if there might be good ways to make my and others' web apps easy to install other than using a combination of my Puppy Linux Setup Kit and Astroblahhh GLMP-GTK, plus VirtualBox to make them hopefully more secure.
And, as the author of some amateurish (yet still useful at least to me) web apps (and other things), I'm definitely interested in someday seeing if I can easily convert Astroblahhh Desktop and/or the WordsPlatz blogging software and/or the Eryss astrology software and/or other and/or not yet created things into Sandstorm packages.
I don't feel up to writing a complete set of instructions on how to install everything in Lighthouse 64, and it would probably be better for me to just add scripts to my Puppy Linux Setup Kit to automate most everything.
But, here are a few notes.
Wasn't sure that would work because I thought maybe that package was only for Debian GNU/Linux.
To compile the GNU Core Utilities, I had to do these commands before running ./configure:
And you can check if the "export" command really created the "FORCE_UNSAFE_CONFIGURE" environment variable by doing these commands:
I don't have the expertise to judge Sandstorm's technical and security merits, but, from the perspective of a user, I find Sandstorm very pleasant and easy to use.
To my surprise, I was able to successfully do all the steps in Sandstorm's packaging tutorial while using Lighthouse 64 Puppy Linux 6.02 Beta 2!
FORCE_UNSAFE_CONFIGURE=1
export FORCE_UNSAFE_CONFIGUREprintenv | grep UNSAFE
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Bash Script: flexishacheck |
Monday, July 25th, 2016 13:07:57 GMT |
Here's a boring but useful enough Bash script I finished today:
I made this because the not-yet-finished (nor released) renovated Apollia's Puppy Linux Setup Kit (APSK) is going to use SHA-512 checksums to verify that various files are intact, or got downloaded correctly.
Actually, if I recall correctly, the released APSK already does check the SHA-512 checksums of downloaded files. But I want the renovated APSK to be far more flexible - and flexishacheck definitely helps with that, since now I won't have to update checksum record files just because a checksummed file got renamed.
I also want the renovated APSK to be able to use other things to verify that downloaded files are intact, such as GPG signatures.
From what I understand, two different files sharing the same SHA checksum or GPG signature is supposed to be extremely rare, even if the two files are only slightly different. But unfortunately, I'm quite far from understanding all this stuff as well as I'd like, so I'm not sure how helpful (or not) SHA checksums and GPG signatures will really be. But I assume checking SHA checksums and/or GPG signatures is at least better than just blindly trusting that a download succeeded and got the correct file.
At least I've been learning a lot from my struggles to renovate APSK and understand checksums and GPG. At this rate, I don't know if I'll have APSK renovated even before the year is over, but, I'm going to keep trying.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Links: Amazing 3D graphics inside a web browser |
Thursday, July 7th, 2016 05:26:30 GMT |
Last edited 3:48 AM EDT.
Wow, I've been so out of touch with what web browsers are capable of these days! I guess if I were more of a gamer, I wouldn't have been so behind the times for so long. :-)
I'm also pleasantly surprised at how much of the below works fine (or OK, with some imperfections) in Puppy Linux, now that I have a nice, mostly uncrashy laptop with a decent amount of RAM - my Toughbook CF-C1 with 8 GB of RAM which I got on eBay for less than $200.
I'm also using Lighthouse 64 Puppy Linux 6.02 Beta 2 and the web browser Pale Moon, version 26.2.2 (x64).
Not everything I tried works, but the below mostly do. Things do get a bit slow and choppy sometimes, but, many things are remarkably smooth, especially if I don't have a lot of other web browser tabs open. And pretty much everything that works at all runs much better than how Second Life runs on my other Toughbook CF-C1 with Windows 7 and only 4 GB of RAM.
I'm extremely impressed!!!!!!!
(Addition, 3:31 AM EDT. Also, watch out for possible overheating. About a half hour ago, I accidentally overheated and crashed my laptop with the "geometry / terrain / fog" three.js example. Before this, the last time I had a crash from overheating was June 14th.)
Dungeon demo from Pixelcodr.com
Quarto game from Pixelcodr.com
Block game from Pixelcodr.com
Livecodelab from sketchPatch.net
It would be so fun to have 3D graphics in Astroblahhh Desktop, the Eryss astrology software, or a CMS (content management system, for lack of a better term), or a music service, or my daydream of a JavaScript port of the concept mapping software VUE: Visual Understanding Environment, or a 3D browser for graph databases like OrientDB or Neo4j. And tons of other things.
Wow... :-D
Warning: If you have a laptop or other battery-powered device, I don't recommend visiting the below pages unless you have your device plugged in, because I'm guessing the software on those pages might quickly use up your battery power.
Behold!
Not all of these work on my system:
I don't even know exactly how all these things were made yet, but if it was just (or primarily) JavaScript, I'm stunned. :-D
This definitely could make a lot of my (or anyone's) projects and websites more exciting. :-D
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Now I'm 35; daydreams and plans for the future |
Monday, July 4th, 2016 21:48:11 GMT |
Yesterday (July 3rd) was my birthday. So now, I'm 35, and I still haven't really gotten my life together yet. :-)
But fortunately, I already mourned the possibly irretrievable loss of my youth a while back, so, the transition from 34 to 35 isn't a very big deal to me.
And who knows what science, technology and medicine might someday achieve?
Except actually, I think I'd rather reincarnate as a male supermodel than live forever in my current body. :-) So, even if future scientific advances can't save me from old age and death, fine with me, I guess. :-)
My Puppy Linux Setup Kit, Astroblahhh Desktop, the Eryss astrology software, and the WordsPlatz blogging software are definitely still pretty far from as refined and perfected as I hope they someday will be.
But, hopefully I'm well on my way to creating versions of them (and other things) which will be good enough that I'll hopefully be able to share them without having to feel so sheepish about how flawed they are. :-)
Roughly in order of priority, and the possible future chronological order I'm going to work on them:
Lately, I've been relying more on NoteCase and VUE instead of Astroblahhh Desktop, since Astroblahhh Desktop has been in partially-updated disarray ever since last September, and I've been reluctant to even use the VirtualBoxed Windows version of Astroblahhh Desktop anymore, and also have avoided even using the stable-enough Astroblahhh Desktop 2.4, mostly because it needs to run on a web server because I haven't added PHP-GTK and SQLite database capabilities to it yet.
Astroblahhh Desktop already had some NoteCase-related import capabilities since years ago, though maybe not in a released version until 2015. But nothing related to VUE, yet.
Though I still haven't done a huge amount of work on APSK ever since mid-April. In May and June, my temporary top priorities were to get a new (to me) used laptop on eBay with much more RAM than my former usual laptop, and good batteries, and get it working nicely. That's largely done now - but, that was done mostly by adding new installers to the old version of APSK, not by enhancing the new version of APSK.
The old APSK is way too cumbersome and annoying to add new stuff to, and it really needs to be redesigned. That was the best I could do at the time I wrote all that stuff (especially since I was in a hurry), but I think I learned a lot since then (Sept. 2014), and can do much better now.
Another problem is, since I was using a desktop computer instead of a laptop when I built the old APSK, I didn't give as much thought as I should have to making it efficient, instead of redundantly loading a lot of probably mostly unneeded stuff for every single different setup kit script that gets run.
For example, my Navig Perl script already can use my Fashionizer library written in Bash. (It can, even though maybe it shouldn't, for efficiency's sake. :-) Even the Fashionizer, which I made as recently as maybe January, February, and/or March of 2016, should probably be split into even smaller separate parts.)
Those Hjson text files will be converted to plain JSON, then the data from them will be read using the marvelous software jq, which is a command-line JSON processor.
I'm also trying make it far easier to add, relocate, or remove files and scripts in Puppy Setup Kit repos, and make it more easily possible to work with numerous different repos scattered across numerous different disks, without having to waste so much time and energy editing setup kit scripts just to change various things' filepaths simply so the setup kit can find them.
I accomplished a lot toward all these goals earlier this year, and it really seems like it's all going to work... someday. :-) And I learned a lot from forcing myself to write Bash scripts instead of Perl scripts.
Or, I guess I could use PHP to make some working prototypes more quickly and easily than I'm capable of doing with Bash, Perl, or anything else. Then, once I've figured out how to make things work with PHP, maybe I could translate everything into Bash and/or Perl? Or maybe I should just stick with PHP?
I don't know, but another thing I want is for it to be possible for anyone to use whatever languages they want with the setup kit.
So, if anyone (like me) wants to use an odd mixture of Bash, Perl, and PHP scripts, or even languages I usually try to avoid, like Python - I want it to be allowed. :-)
And I even want to keep all old-style Puppy Setup Kit scripts working, but at the very least copy them into the RAM disk and launch them from there instead of a physical disk, to avoid making physical disks do unnecessary work.
And, now that I finally arrived at the ideas of using Hjson and jq with my Puppy Setup Kit, I think they mght also be useful with Astroblahhh Desktop, and also with my notion of somehow making my Astroblahhh Desktop data compatible with graph databases such as OrientDB or Neo4j, which are far more flexible than MySQL and SQLite.
But, at the same time, I somehow want to avoid losing compatibility with MySQL and SQLite. If this is too difficult, though, I'll probably just make my graph DB stuff separate from Astroblahhh Desktop, and hopefully give Astroblahhh Desktop some excellent Hjson export capabilities.
But, I'm going to keep at it anyway. :-) I recently read an amusing blog post that basically said, programmers are the ultimate optimists.
Surprisingly, even for me, that seems true to a great extent, at least with programming. Not so much with anything else - which is why I was surprised to realize that, wow, despite my cynicism about many other things in life, I really have overall tended to be incredibly optimistic about my programming. :-D
Though far from 100% optimistic - which is actually good in various ways, since for one thing, it leaves room for some pleasant surprises when sometimes I get better results than my expectations. (Even though my expectations tend to be quite tentative.)
For example, my blogging software WordsPlatz has served me pretty well with hardly any changes since 2008 or 2009.
And sometimes I get lucky and actually manage to finish things much sooner than I not-altogether-optimistically feared. I feel like I got very lucky with my efforts to get cozy with the GNU Emacs editor, and my effort to modify the multifiles Emacs add-on, which resulted in multifiles-apmod.el. That all only took around two months, but I was bracing myself to spend even more time on them if I really had to.
And GNU Emacs, multifiles-apmod.el, and numerous other great Emacs add-ons have all turned out to be even more wonderful and helpful than I imagined before I started working with them. :-)
So, I now feel a lot more sure that regardless of my projects' difficulty, it's quite possibly just a matter of time and enough effort before I finally succeed at most or all of them.
In any case, I don't think I've achieved world-class talent (yet?). :-) But doubtless I'm a lot closer than I would be if my severe sleep issues hadn't stopped me from being capable of enduring a normal job (which probably wouldn't have been in the field of programming), and I've definitely improved a lot over all these years.
I shudder to think of how much worse my life might have turned out if I had been more capable of forcing myself to stick with my almost minimum-wage part-time job as a copy editor/typist at a small local newspaper (which I barely endured from Nov. 2002 to Jan. 2004), or any other time-wasting probably minimum wage job that would have gotten in the way of me cultivating more valuable skills.
It's so close to releaseable that sometime, I probably ought to just temporarily put everything else aside (despite the fact that all the other stuff seems probably more important), polish it up a little and finally release it.
Even more than the AHK version, I want a PHP-GTK version, too.
Or even a hybrid web app + command line app + PHP-GTK version. Actually, since Eryss will probably be a smaller, easier project than Astroblahhh Desktop, and I also want to make a web app + command line app + PHP-GTK version of Astroblahhh Desktop, I might be able to quickly get a better idea of how to build Astroblahhh Desktop by working on Eryss first.
Maybe that's sufficient justification for me to work on Eryss first?
That would make it much easier to update and improve all my websites. I could finally more easily make my websites nicer, more useful, more organized and easily searched, instead of messy, lazy, and cluttered.
And then, once I also hopefully get some truly great, useful, easy to install and use projects finally completed, perhaps freelance work and/or purchases (if/when I finally get around to creating some sort of products to sell) and/or donations and/or microdonations will just flow to me without me having to make any effort to somehow market myself or seek work?
Even just getting rid of the redundant-looking section of Blog Archive links at the upper right and lower right would probably be an improvement.
I'd also like to automate the addition of a comment section to the bottom of all of my blog posts - an iframe containing each blog post's official comment thread at the Eryss.Com Forum. But, on the other hand, I'm not sure doing anything to popularize either of my forums is the best idea at the moment, since even the nicest, politest forums I ever posted to always tended to stress me out due to my social anxiety.
I still intend to keep my forums around forever, but I probably am going to continue largely avoiding them (and any other forums I'm tempted to post to) until I finish more of my top projects.
Or, better yet would be for me to have such a good memory that I wouldn't need Astroblahhh Desktop or other things as much anymore. :-)
So, I'm definitely interested in trying to make more use of ideas I read about recently in the great book You Can Learn To Remember: Change Your Thinking, Change Your Life by Dominic O'Brien, who won the World Memory Championships numerous times.
End of addition.)
The "journey" memory method described in the abovementioned book made me think maybe virtual worlds could be a useful mnemonic tool.
And, for a long time, I've been thinking it would probably be so cool to have a 3D version of the VUE concept mapping software. And the easiest-seeming way I can think of to possibly implement something like that hopefully quickly would be to somehow import VUE data into an OpenSim. :-)
Except I'm not sure the Android phone I have can run that.
Or maybe even to build my own edition(s) of Puppy Linux.
I also someday want to try a Devuan-based Puppy Linux.
So, I definitely have plenty to keep me busy. And who knows what random cool new (or new to me) things I'll hear about in the future which might inspire me to work on totally different things instead.
But, I hope somehow all of the above will somehow help with that too.
And music definitely usually helps my productivity and ability to concentrate.
And, as explained in this old blog post, astrology (among various other things) played a significant part in me becoming more agnostic and hopeful, and less depressed, close-minded and cynical. So, maybe that could help other people too, even though astrology is usually considered a frivolous subject.
And I'm still very curious about whether any part of astrology can be proven to have objective validity, so I'll be quite happy if my software will help scientists, skeptics, and any other curious people to investigate astrology.
I hope this blog post was interesting, thought-provoking, and educational, and that I can get at least some of the above done well in a reasonable amount of time, so hopefully I'll have many more (and hopefully increasingly high-quality) things to share with you all in the future.
Also, Happy Independence Day!
Even though I haven't accomplished as much as I would have liked to with my life thus far, I'm glad I at least managed to do as much as I did, despite all my limitations, such as my severe sleep issues, and the various forms of oppression I and my family have had to deal with, some of which I described back in Nov. 2015 on my Self-Help page.
Here's a summary of what I consider my most important not-yet-finished projects, most of which have taken much longer than expected.
I'm hoping to build the renovated APSK out of a lot more small, modular, replaceable, separable pieces which could also easily be used with unrelated things.
And I also want to make it possible to customize APSK's behavior by simply editing Hjson text files rather than scripts. (Of course, it will still be possible to edit scripts, but hopefully less necessary.)
But I'm actually pretty close to just giving in to the temptation to make PHP a required part of the Puppy Setup Kit, because no matter how much I've tried to force myself to get used to other languages, PHP is still easiest for me and still my favorite.
With all my past experience with how long my projects (except the tiniest ones) have tended to take, I'm definitely very aware that the above might take quite a bit longer to complete than I hope.
But I definitely have some logical reasons for optimism - since a lot of the stuff I've already made (both released or not) is remarkably useful, despite its lack of polish.
So, there's definitely not much chance I'm going to give up on my projects out of a sulky lack of confidence in my abilities. I'm well-aware my work hasn't been flawless, but, I've accomplished much more than I originally had any idea I was capable of.
I wish I knew how close I am to having spent at least 10,000 hours doing and studying programming (and related subjects). 10,000 hours is the number mentioned in the intriguing book Outliers by Malcolm Gladwell as being the roughly estimated point at which people might have put in enough effort to finally achieve world-class talent.
And now, here's a list of some less highly-prioritized projects or daydreams of mine.
And here are some things I've scarcely even started working on yet, but which might become higher priorities at some point.
I could go on and on, but, that's already a ton of stuff. :-)
Since this blog post is mostly about software-related goals and daydreams, I didn't even mention any of my other even more huge goals, like "End world poverty".
Even the more frivolous-sounding projects like a streaming music interface and the Eryss astrology software would/will doubtless help me become a better programmer and make it possible for me to do a better job with all of my other projects too.
Thanks again to everyone for all your kind support of any kind!
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Perl Script: Apollia's Primitive Invoice Generator v2.0 |
Saturday, July 2nd, 2016 04:32:44 GMT |
An old, messily-coded, yet still useful Perl script. Generates an HTML page containing a list of tasks billed by the hour, and/or a list of projects with a fixed price. Automatically totals up the amount due.
Even though this script is version 2.0, I never released it to the world before. I first wrote it maybe over a decade ago, and was recently reminded of its existence by a feature request from the person I made it for.
The code is really messy, and in retrospect, definitely not the best way to do things. But, it works well enough anyway, and the person I made it for has been happy with it for all these years.
So, this script is proof that you don't have to write the most perfect, elegant code to get something done adequately.
Perhaps I'd make it possible to input data via a spreadsheet, or maybe an Hjson text file, or either one. And then maybe somehow convert the input to XML, and transform it into a nice-looking HTML page using XSLT. :-)
Or maybe not. I don't really feel like thinking it through very carefully, because it's tiresome to dwell on such boring things as writing invoice software.
But, if I had to write it again from scratch, I'd probably do things much differently. I'd probably much rather write it in PHP instead of Perl, since despite much struggling with Perl, I'm still much more comfortable with PHP than Perl and probably most other languages.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Wishing I had a non-Java version of VUE |
Friday, July 1st, 2016 18:33:28 GMT |
Probably my least favorite thing about the wonderful concept mapping software VUE: Visual Understanding Environment is the fact that it's Java software.
Because of Java's reputation for security problems, I don't even like to install Java on my computers outside of a VirtualBox. And even without using VirtualBox, Java uses up a big chunk of memory, which I always like to conserve, even though now I have a laptop with 8 GB of RAM.
So, I've been daydreaming about somehow porting VUE away from Java and into something else. Into what, exactly? Anything I like more than Java!
I think it would be great to be able to run VUE in most any web browser on any platform, without having to use the Java applet version of VUE.
And perhaps existing VUE concept map files - which are in XML format - could be read using the JavaScript software Saxon-CE, which makes it possible for web browsers to use XSLT 2.0, a language which is useful for processing and drastically transforming XML data.
I'm guessing Saxon-CE might also help make it possible to output concept map files which would be perfectly compatible with the Java version of VUE.
And perhaps saving that concept map data would be (or could be made) as simple as using TiddlyWiki's save feature.
And maybe it could also be somehow made into a viewer and editor for OrientDB and Neo4j graph databases.
So, just thought I'd share the ideas.
But in particular, I was thinking JavaScript might be especially nice. :-) (Yes, I am aware that Java and JavaScript aren't related, despite the similar names. :-) )
A few years ago, I was able to use the JavaScript library Raphaël to randomly generate very VUE-like graphics for my rather cumbersomely-named Astroblahhh.Com Simple Generator of Many VUE Nodes with Random Colors and Fonts v1.0. :-)
Having a JavaScript version of VUE would also make it tremendously easier to somehow build a VUE concept-map-style viewer or editor for Astroblahhh Desktop data, or for other web apps, like maybe the not-yet-existing CMS - content management system, for lack of a better term - of my dreams. :-)
I don't know if I'll ever really go to the trouble to try to build a JavaScript port of VUE, or any other port of VUE. But, even if I don't ever get around to it, I think it might be quite worthwhile and useful for someone(s) to do.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Links: Saxon-CE and XSLT 2.0 demo - Knight's Tour |
Friday, July 1st, 2016 07:29:24 GMT |
Lately, I returned yet again to reading about XML (Extensible Markup Language) and XSLT (Extensible Stylesheet Language Transformations).
Mostly because I'm interested in seeing if I can convert info stored in VUE: Visual Understanding Environment concept map files (which are XML files) into radically different formats using XSLT, which is reputed to be good at drastic transformations of XML data.
I only just started looking at Saxon-CE, so, I haven't yet done anything clever with Saxon-CE myself.
But, I was quite impressed by this demo I found via the Saxon-CE manual:
That makes me even more eager than I already was to learn more about XSLT. :-)
Yesterday, I stumbled across Saxon-CE (Client Edition), which is "Saxonica's implementation of XSLT 2.0 for use on web browsers."
I had no idea XSLT could be used for anything like that. :-D
Maybe my daydream from last January (and long before that), of being able to edit actual source code with VUE, really could come true. :-)
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Bash Script: Relative Landmark |
Friday, July 1st, 2016 03:19:52 GMT |
I released a small but useful enough Bash script on GitHub:
Basically, it just opens a folder. I use it as a substitute for relative symlinks, since symlinks have some annoying side effects I usually don't want.
Why do I call it "Relative Landmark" instead of something like "Relative Folder Opener"? It's shorter, and also, this script reminds me of the landmark inventory items in the virtual world game Second Life, which you can double-click on to instantly teleport to a location.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Made Toughbook CF-C1 capable of sleep mode in Lighthouse 64 Puppy Linux 6.02 Beta 2 |
Saturday, June 11th, 2016 20:50:00 GMT |
Bash Script |
To make it possible to put my Toughbook CF-C1 into sleep mode while using Lighthouse 64 Puppy Linux 6.02 Beta 2, I had to slightly edit the script at this location:
The problem was, by default, that script stops the laptop from entering sleep mode if there are any mounted USB media. And I almost constantly am using at least one mounted USB Flash drive, containing usually mounted TrueCrypt volumes.
So, I edited the suspend script to make it ignore mounted USB volumes. And now, I can put my Toughbook CF-C1 in sleep mode just by shutting its lid, and wake it by opening the lid.
Or, if my Toughbook CF-C1 is in tablet mode, I can put it to sleep by double-clicking the suspend.sh script, and wake it by nudging the power switch.
Warning: Maybe this changed script is dangerous?
Anyway, I assume that if you use this script, you probably should avoid disconnecting any mounted USB media while your laptop is asleep. And please be very careful in general.
(Addition, June 24, 2016, 5:40 AM EDT. Still no crashes at all!)
I've put my computer to sleep and woken it up repeatedly since June 14th, and browsed Clevnet, Amazon, YouTube, and other things with reckless abandon, and most everything has worked fine. Except for Amazon freezing up my web browser momentarily several times - but it soon unfroze.
So, I now believe the below problems I had before were probably due to my laptop overheating. Ever since moving the box further away from my laptop's vent, my CF-C1 has been remarkably stable. Even my desktop computers with 4 GB of RAM used to crash - or at least their web browsers crashed - much more frequently than my CF-C1 with 8 GB of RAM now does.
I've only been using the CF-C1 indoors and with AC power rather than batteries lately, since the weather has been lousy at times, and I'm still getting used to the CF-C1.
I'm looking forward to finally making more progress with my Puppy Linux Setup Kit. I already have GNU Emacs and my custom Emacs settings working nicely in Lighthouse 64. It should be easier to relax and focus on programming now that I hopefully don't have to worry about my CF-C1 crashing at any moment.)
I'm still trying to figure out what happened. I'm not sure whether or not it's related to the modified sleep script, since things had been running mostly fine since I woke up my CF-C1 around 3:40 PM on June 12, 2016.
Soon before the crash, sometimes web pages seemed a bit slower than they should have, and web videos were starting to get a little choppy. I considered closing and reopening my web browser, or maybe restarting X Windows, to try to fix or close whatever might be gumming things up, but I didn't.
At the moment the crash happened, I had only maybe 5 or 6 tabs open in the Pale Moon web browser, mostly looking at various legally free (as in price) ebooks from my local library's website, Clevnet. I was actually momentarily looking away from the screen at another computer, then when I looked back, it was like the above. Ctrl-Alt-Delete (or backspace) did nothing, so all I could do was reboot.
I had a different probably Clevnet-related crash happen before with the laptop I was using before this, the 1.5 GHz one with only 2 GB of RAM, while running Lucid Puppy Linux 5.2.8 version 004. (If I recall correctly - unlike this crash, that crash just made the screen mostly black out, and didn't display any readable text.) Didn't expect something like that to happen with the CF-C1, since it has so much more RAM - 8 GB - and multiple cores.
Maybe I should only use my Windows 7 CF-C1 for reading Clevnet books from now on. (Or a VirtualBox.) I am quite annoyed if Clevnet is to blame for yet another crash, since reading books on a computer is not something that truly requires overly elaborate software that appears to maybe be prone to crashing one's entire GNU/Linux system. I'm also annoyed that I can't use whatever font I want, or even change the text color and background to whatever I choose, etc., etc.
Just yet more reasons why free (as in freedom), libre, open source software and ebooks are inherently better.
But when I closed and reopened my web browser, went to the History menu and chose "Restore Previous Session", then clicked on the single Clevnet tab, it showed the typical book-loading page for a second or so, then gave me pretty much the same error screen.
This time, I noticed there was a visible mouse cursor, but I couldn't move it at all with my USB mouse. (I forgot to try the touchscreen or stylus.) My computer was totally unresponsive to any keypresses, so, again, all I could do was reboot.
Definitely seems Clevnet-related, since it happened just about immediately after trying to return to my Clevnet tab.
This time, I didn't risk reading Clevnet at all. I only had two tabs open - Astroblahhh.Com in the tab I wasn't looking at, and the tab I was looking at was the humorous page I linked to in my most recent blog post. Thanks to the NoScript add-on (which works in Pale Moon as well as Firefox), I didn't have JavaScript or anything else enabled on that page.
However, I had just been watching some YouTube videos, and with one of them, Flash crashed. But my entire system didn't crash until maybe after a minute or so after I had closed my YouTube tabs.
So, maybe it's some sort of Flash-related problem? I don't know whether or not Clevnet uses Flash, but it's probably possible.
To conserve vertical screen space, I have my taskbar (which has a CPU monitor widget) configured to autohide, so I wasn't able to see what the CPUs were up to when any of these crashes happened. I wonder if the CPUs were going crazy with activity after Flash crashed?
Rather than getting rid of my taskbar's autohide, I guess I'll just configure the GKrellM system monitor widget software (which is conveniently available by default in Lighthouse 64) to always float on my screen so I can keep a closer eye on what my CPUs are doing.
And, I'm going to see if I can crash my computer the same way while not even using the above sleep script. If I can, then, hopefully the sleep script isn't to blame.
First, I went to Clevnet and borrowed all the Dilbert comic books I could, since it seems like Clevnet ebooks with lots of images are harder work for my computers to deal with, judging by how they had slowed down my old 1.5 GHz + 2 GB RAM computer, and the fact that it only took one Dilbert comic book to crash that computer totally.
So, for my experiment, I opened 10 of them at the same time! And surprisingly, everything was fine.
Then, leaving all those Clevnet tabs open (plus a few others), I proceeded to open about 30 different YouTube tabs. I also repeatedly returned to the Clevnet tabs and turned lots of pages. Lots of the YouTube videos crashed, but many kept running, and so far, nothing at all has taken down my entire system. Even Pale Moon didn't crash.
Just for the sake of my experiment, I repeatedly closed and reopened Pale Moon and restored my previous session. I also installed and ran the Redshift screen tinting software.
And, most recently, I re-added the above modified sleep script to my system, and experimentally put my computer to sleep and woke it up again while my Clevnet tabs were open and I had numerous YouTube videos in progress. Still couldn't crash my computer!
I'm not sure why not. Perhaps making a bit more room next to the laptop's vent helped dissipate some heat? I had usually been keeping my laptop on a small table with a box sitting maybe too close to it, but had moved it further away before starting my experiment.
In any case, I still am not sure what the problem is. It's comforting that it's so difficult to crash my computer even despite trying quite hard - but it's unsettling that I don't have much of a clue when or how the problem might strike again out of the blue.
Addition, 10:21 PM EDT. It seems Clevnet is now giving me an error when I try to log in:
Surprisingly, when I searched Google for the text "The user record is locked for text update" within quotes, there was only one page found:
To my knowledge, I haven't had problems so far yet (Addition, June 14, 2016, 10:34/10:38 PM EDT - since I first wrote this post, I did run into some major problems, but I'm not sure yet if they're related to this script or not. See the updates below.
Additions, June 17, 2016, between 9:39 PM and 10:35 PM EDT. No crashes at all ever since June 14, 2016, after I moved a box which was sitting too close to my laptop's vent! The box was originally about 2 to 3 inches away, and now it's about 5 inches away.
Additions, June 13, 2016, between 2:41 AM and 3:37 AM EDT. At about 1:59 or 2:00 AM, my first major crash of my CF-C1 while using Lighthouse 64 happened. I took a picture with an (unfortunately unjailbroken) Android phone:
Additions, June 13, 2016, between 6:38 PM and 7:34 PM EDT. The second major crash happened at 6:14 PM EDT today. I decided to risk reading Clevnet ebooks in Lighthouse 64 again. Like before, it worked fine for a while.
Additions, June 14, 2016, between 7:48 PM and 8:24 PM EDT. The third major crash happened at 7:31 PM.
Another thing I wonder is if maybe it's some kind of problem with overheating. Fortunately, even in GNU/Linux, the fan works, and when my computer is working hard at something, the fan already automatically works harder also. But if that's not enough, maybe I need to do something like, continually keep the bottom of my computer elevated so heat doesn't build up? Or find software to control the fan?
Additions, June 14, 2016, between 9:52 PM and 10:59 PM EDT. I tried really hard to deliberately crash my computer. At first, I didn't use the above sleep script nor attempt to put my computer to sleep at all.
(0) The user record is locked for text update
Addition, 10:25 PM/10:45 PM EDT. Yay, the Clevnet error is already fixed! I was able to log into Clevnet. Didn't have to do anything special, I just kept trying to log in.
▲ Top ▼ Bottom △ TOC ↓ Down Up ↑
Bash Script: Rotate Toughbook CF-C1 Screen in Lighthouse 64 Puppy Linux 6.02 Beta 2 |
Saturday, June 11th, 2016 19:41:00 GMT |
Happily, I stumbled across a way to rotate my Toughbook CF-C1's screen while using Lighthouse 64 Puppy Linux 6.02 Beta 2.
The solution was the rotate-desktop.sh script by mildmojo. I just had to slightly modify it to make the touchscreen work properly with both the stylus and my fingers.
Thank you so much to mildmojo! Being able to convert my Toughbook CF-C1 to tablet mode in GNU/Linux makes it far more pleasant to use!
Here's my slightly modified version on GitHub:
And here's a zip file hosted here on Astroblahhh.Com, containing scripts with executable permissions, so you can simply double-click on them to run them.
I haven't tested these scripts in any other form of GNU/Linux, but hopefully they would work.
Apollia's Floating Volume Control v1.0 |
Thursday, May 5th, 2016 19:49:46 GMT |
AutoHotkey |
To my surprise, I recently ended up making this:
It's an AutoHotkey script, so, it's for Windows. It works for me in Windows 7 with AutoHotkey v1.1.23.05 (Unicode 64-bit). I haven't tested it with other versions of Windows and AutoHotkey, but hopefully it will work.
It's a slider which controls the volume of your computer's audio. The slider can be either horizontal or vertical. It can either constantly float in the foreground above all other windows, or it can easily be summoned by single-clicking the taskbar icon.
By default, the slider is unusually large because my Toughbook CF-C1 has a touchscreen, so I wanted the slider to be difficult to miss with my fingers. Also, to avoid accidental repositioning, you can configure the window to be impossible to drag around the screen.
The window can be configured to have whatever amount of transparency you want. Double-clicking the taskbar icon mutes or unmutes.
One flaw is that currently, the only way to permanently save your settings is to edit the source code.
But, since this software is free (as in freedom and as in price), libre, and open source, hopefully everything about this software can be changed or fixed however you like.
But also, releasing free (as in freedom), libre, open source software on non-libre platforms like Windows and Macs helps give those platforms' oppressed users a taste of freedom - which could result in a nice, healthy craving for even more freedom.
I also tried PKVolume (which is what I always used to use in Windows XP), but I couldn't get that to work either.
That's largely thanks to a lot of very helpful AutoHotkey Forum posts, example scripts, and script snippets by many authors, and the excellent AutoHotkey documentation.
Also, AutoHotkey is overall really nice, easy, fun to work with, and actually one of my favorite things in Windows.
And I was able to ease the boring chore of making the About window by modifying some code from DimScreen.ahk by Skrommel. DimScreen and tons of other great AHK scripts are available from DonationCoder.com.
Thanks to everyone above, or connected with the above!
Why am I still using Windows at all? Because it's hard to get away from for some things, like listening to legally free (as in price) audiobooks from my local library website, Clevnet.
And why did I make this particular thing? Because I've finally been trying to put my Toughbook CF-C1 with an annoying widescreen (or less annoying tallscreen, if you turn it sideways and use it in tablet mode) to more use... and when I tried a few existing AHK volume slider scripts, none of them worked for me in Windows 7.
Fortunately, the Floating Volume Control took less than 4 days to put together. (The creation timestamp on the original script file is May 1, 2016, 3:54:22 PM EDT.)
Also, thanks to Saki, the artist who made the GPL-licensed icons I used as the Floating Volume Control's taskbar icons.
And thanks to IconArchive.com, which makes it really easy to find nice icons.