Anything and everything.
This is a quick one, and half-assed.
While trying to use Windows 10s built-in Print to PDF functionality was giving me an error, an error that wasn’t particularly informative.
Short version, it has to do with my changed TMP (or TEMP) environment variable. I’m not sure which, as I have both of them pointing to the same location, which is a different location from the default.
To minimize writes to my SSD, I pointed TMP and TEMP and to a path on my mechanical drive, where I have a D:\Users\USERNAME folder containing my as-relocated-as-possible C:\Users\USERNAME folder.
The virtual printer didn’t like the permissions on the relocated temporary folder. I’m not sure which local account it’s using as I didn’t really dig too deep, so I just granted full control to Users and Authenticated Users on the temp folder and it worked again.
Not that I need another computer, but there’s just something about getting a new bit of hardware to play with. After being impressed with the performance of the QNAP-TS251+ with its Celeron J1900 CPU, I’ve been itching to get a mini system with a low watt processor. There’s a lot of options out there, from dirt cheap ARM SBCs to pricey high-end i7 Intel NUC systems. Some of the hardware I’d been looking at includes the Udoox86 Ultra, UP Squared, Raspberry Pi 3, ODROID-XU4, and a myriad of lower-end Intel NUC and Zotac ZBOX systems. I’ve been hemming and hawing over picking up any one of these devices for months now.
A few weeks back, GearBest had a sale on the ACEPC AK1 that I just couldn’t resist. The ACEPC AK1 is a mini-PC similar to (some might even say cloned from) the HP Elite Slice. Slightly smaller than a stack of five CD jewel cases, its hardware specifications are:
- Intel Celeron J3455 with integrated Intel HD Graphics 500
- 4GB DDR3L RAM
- 32GB eMMC storage
- Intel AC3165 Dual Band WiFi (supports 2.4GHz & 5GHz) and BlueTooth v4.0
- Ethernet RJ45 10/100/1000M
- 2xUSB 2.0
- 2xUSB 3.0
- 2xUSB Type-C (one internal)
After years of resisting the BIOS‘ successor, UEFI, a nifty little bit of hardware I recently purchased has left me with no alternative but to finally figure out how the darned thing works. To experiment, I turned to Oracle’s VirtualBox hardware virtualization software, and my go-to Linux distribution – Slackware. At the time I’m writing this, Slackware 14.2 is the latest release, while VirtualBox is at v5.1.28.
For a while now I’ve been tempted to try to put together a retro-gaming PC (I’ve also been kicking my own ass for getting rid of so much great – and perfectly functional – hardware that I’m now interested in buying again, such as my AWE64 Gold, or 3dfx Voodoo 3… damn damn damn). Playing with MS/FreeDOS in a VM, and with DOSbox, is fun, but it doesn’t compare with having the real thing chugging away next to your desk.
While refreshing my memory of the good old days and brushing up on the state of emulation with regards to 16-bit realmode OSs, I came across the OS/2 Museum, which has an absolute ton of fascinating, if useless (to any but the nerdiest of computer nerds) information.
As an aside, the author of OS/2 Museum is one Michal Necasek, a name that tickles at the back of my memory. I know the name, but I’m not certain where from. I think he was fairly active on the Watcom USENET groups right around the time they were preparing to open source it, but I could be mistaken. I’ve been meaning to ask, but time has a way of getting away from me.
Anyway, links lead to reading, which leads to more links, and more reading, until I found myself on a fairly plain page on this web site. It’s about the DESQview multitasking software for DOS, and a few other bits of software written by QuarterDeck, including QEMM. And lo’, long forgotten by myself, there is my tiny contribution to the page, as I am the selfsame Andrew who contributed QEMM 97.
That must have been well over a decade ago, as I don’t remember frequenting comp.os.msdos.desqview much (if at all) after finally making the switch from MS-DOS/Windows 98 to Windows XP back around 2002/2003. I’m really surprised that page is still up, as a lot of the links I came across that supposedly contained The Good Stuff (neat old programs, that is) more often lead to a 404.
Life’s funny sometimes. I went looking for a bit of information on the feasibility of scratching a particularly pointless itch, and find myself “virtually” bumping into a familiar name and a familiar place, both almost forgotten.
Oh, and if you’re interested in old hardware, old operating systems, or just looking for something interesting to read, definitely check out OS/2 museum.
One last thing. While poking around, I found out Vernon D. Buerg passed away in December of ’09. Like a lot of PC geeks who grew up in the 90’s (and 80’s, I suppose), “Vern”‘s LIST program was a mandatory part of my toolbox for years and years. Needless to say, I was quite saddened when I found out, and worse that he passed 6 years ago and I never saw anything about it. I’m surprised it never made it to Slashdot (at least a quick Google didn’t turn up any hits). I’m also more than a little disappointed.
There’s a lot of neat content on Tumblr, but sometimes an individual’s choice of theme leaves much to be desired. In such cases, I switch to archive view, e.g. by going to
blogname.tumblr.com/archive/. From there one can view all the posts made to a tumblr by year and month.
I came across one blog that has an annoying hover element on it’s /post/ pages that makes it difficult to get to the content itself. Viewing the source and opening the URL, or viewing the page info and saving from there didn’t take too long to become tedious, so I did a quick Google for a solution.
Enter Element Hiding Helper for Adblock Plus. This extension presents a handy popup that allows one to select an element, refine it, then add it to Adblock Plus‘ filters. Unfortunately, this had the effect of rendering the archive view unusable as the same tag (
div class="hover") was used there. Due to the way element filters work there’s no way to limit the scope to only specific parts of a site, it only works by domain name, so to get around this an exception must be added (exceptions can specify more than just the domain name to apply to). What I ended up with, then, is a rule for
blogname.tumblr.com##DIV.hover, with an exception as
@@blogname.tumblr.com/archive/. This is definitely much easier than searching through the page’s media for the correct image.
I’ve had a bit more time to mess around with my NAS as I try to make it less just a storage device and more a private home server. Most of the included server software works just fine, and is even fairly up to date (PHP’s only a few minor rev’s out of date, while Apache is the latest 2.2.*).
I’m still a bit annoyed about the SSH daemon restricting logins to the admin account only. Like most *nix users, I’m not overly fond of the idea of working in the root account, where one typo can hose the system. While it somewhat makes sense given the nature of the device, I’d still prefer the ability to log in as any user I like. Assigned to the proper groups, and with the appropriate security considerations and judicious use of account elevation, there’s no reason not to allow it (although neither
sudo seem to be available in the default firmware).
Enter Entware-ng. I feel like I’m more than a little late to the party, but from what I understand there have been several methods of getting software onto QNAP hardware outside of the QNAP provided Applications installer – Qnapware, Optware, and now Entware-ng.
Entware-ng is a “software repository for embedded devices like routers or network attached storages” that uses the OpenWrt buildroot to bring many (about 1,800) software packages to numerous Linux devices and architectures.
Installing Entware-ng on my TS-251+ was as simple as downloading one package and installing it via the QTS App Centre. The TS-251+ runs x86_64 Linux, but I grabbed the autodetect package and let it do it’s thing.
Entware-ng installs to the
/opt directory, which ends up as a symlink to
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/ (CACHEDEV1_DATA is the root of the internal storage on the NAS). Beneath it, we have all the usual subdirectories like bin, share, etc and so on.
Once installed we can shell into the NAS and manage packages via the opkg package manager (*sigh* another bloody package manager to become familiar with). There’s a list of available packages one can peruse, and it seems to be quite exhaustive. If you need a SSH client, and are on Windows, PuTTY is highly recommended. I usually just use the SSH client available as part of MSYS2. Cygwin also includes a SSH client, as does pretty much every Linux distribution.
At this point I’ve only installed a few packages to test things out, like Midnight Commander and sudo, in preparation for having an unrestricted SSHd. I feel like I’m playing catch-up on the last few years of (embedded) Linux stuff. I haven’t really used Linux outside of running a few VMs here and there (I’ve just setup an ArchLinux VM to try it out) for a number of years now, and beyond occasionally opening up an MSYS2 or Cygwin shell to use some *nixy command, my *nix-fu has become quite weak. Plus, I find that as I get older it gets harder and harder to learn and retain this stuff, or even remember things that I remember knowing!
Next up I’ll have to figure out how to get the Entware-ng SSHd running in place of the stock QNAP version. I’d also like to set the NAS up as a DNS server with dnsmasq servicing requests for my home network, and maybe even a web proxy with squid. I’m also planning to check out the OpenWrt buildroot system, as I know just the very basics about cross-compilation. For the time being, it’s back to the forums and wikis to wrap my head around this stuff. If the process is complicated, I’ll follow up this post with another detailing what steps were necessary. Then again, I might just be thick and making this out to be harder than it is.
Getting old sucks, btw.
A while back I picked up my first NAS, a QNAP TS-251+. I’ve been wanting to set up some sort of network storage for years now, but never really had the means (read: money) to do so. I had considered repurposing an old computer to run something like FreeNAS, but ’round here they’re usually handed down to family members as I upgrade to newer hardware. The other problem, of course, is that desktop-class hardware is overkill for such a job.
The TS-251+ is a slight upgrade over it’s predecessor, featuring a quad-core 2.0 GHz Intel Celeron processor capable of bursting up to 2.42GHz (the older TS-251 features a dual-core part clocked at 2.41GHz that can burst up to 2.58GHz), 2GB of RAM, and supporting up to two drives. I upgraded the RAM to 8GB with a pair of Corsair Vengeance 4GB sticks, which is the maximum amount of memory the unit supports.
For storage, I bought a pair of 3TB Western Digital ‘Red’ NAS drives, configured to run in RAID 1 (mirroring). As I’m primarily using the NAS as a backup solution, redundancy is particularly important. While it would have been nice to load it up with the biggest drives it can handle, the 3TB drives were at the sweet spot between price and capacity. I also have a 3TB Western Digital MyBook that, once I get everything organized, I’m planning to wipe and use to backup the NAS, just in case.
On the software side, the NAS runs a 64-bit Linux… sorry, GNU/Linux, underneath QNAP’s interface. While it’s set up a little differently from what I’m used to (Slackware, primarily), it’s familiar enough that I’m not too lost. There’s a decent selection of server software available, including Apache, ProFTPd, and SSH.
One annoyance, however, is that only the admin account can be used to connect via SSH. There’s no easy way around it as, from what I’ve read, this behaviour is hard-coded into the server binary. Digging through old forum posts and the QNAP wiki did yield some ways to bypass the restrictions of the SSH server, but no sooner would I look deeper into what was suggested before I’d come across information that would render the suggestions moot. Turns out there’s been a handful of methods of getting 3rd party software onto QNAP’s devices (Optware?), but the ones I looked into had been deprecated in favour of something called Entware-ng. I haven’t really had time to look into it further, but it seems like it should be possible to install a SSH daemon that’s not restricted.
Other than slowly starting to migrate my media collection to the NAS, I haven’t done a whole lot else with it yet. All my music and a handful of videos are on it, and play fine over Samba, although occasionally my computer loses connection with the NAS. I’m not sure what’s going on here, but I suspect it’s my router; I’ve got a shitty Bell Connection Hub that’s a combo modem/router. The routery part of it is not that impressive. Unfortunately, when I tried putting it into bridged mode to run my own router, I ended up getting lower throughput than running everything through the CH. Why, I don’t know. The modem has Gb ethernet ports, as does my ASUS router, so there’s no reason the speeds should be lower.
But I digress. The NAS supports a bunch of neat features I’ve yet to experiment with like on-the-fly media transcoding and virtualization. I did set up a wiki with DokuWiki to make it a little easier to share some stuff. I went with DokuWiki because it supports flat files for content storage. Although the NAS includes an SQL server (MariaDB), flat files are ideal for my needs.
My family’s not all that used to things like SMB shares and network drives and all that, but a web page is something they can understand. It’ll be tedious, creating pages for the stuff they want, but I’m sure there’s some bit of software out there that can make the process easier. If not, it’ll be a great excuse to brush up on my shell scripting, or maybe learn Python, to hack together some sort of a tool that can be autorun from a cron job to automate pulling data out of info files to generate content accessible through DokuWiki.
First, though, I’ve gotta finish dumping several gigs of content onto it.
I wish I had something more informational to post, rather than just rambling on about some piece of hardware I bought, but I don’t. I need to find something interesting to say, instead of leaving this blog to languish.
I know of no critic of evolution—perhaps save the late William F. Buckley, Jr.—who is at once so eloquent and so ignorant as David Berlinski. The man has spent years attacking evolutionary biology and defending intelligent design (ID), and is, to my knowledge, the only living creationist who is not religious. (He claims to be an agnostic, though I have trouble believing that.) He’s also a Senior Fellow of the Discovery Institute, a position reserved for only the Highest Poo-Bahs of Ignorance.
Yesterday, at the Discovery Institute’s News and Views site, Berlinski wrote “Majestic Ascent: Berlinski on Darwin on Trial,” a post apparently designed to fête the twentieth anniversary of Phillip Johnson’s execrable Darwin on Trial: the book that launched the ID movement. Johnson’s book is full of inaccuracies and lies (I use the word deliberately, because no honest scholar could make the claims that he did). And…
View original post 1,646 more words
It’s been many a long year since I’ve had a physical printer connected to my computer; instead, I’ve been using PDFCreator as a virtual printer, the output of which I can then send off to the real printer connected to another household computer if necessary.
Unfortunately, the developers started included some pretty shitty “extra” software in 2009. Over the years they’ve changed what crapware is installed, but never removed it entirely. So, on to the point of this post – installing PDFCreator v1.6.2 (current as of March 2013) without any extra crap.
This is the point where one really needs to start paying attention. I unselect Images2PDF and PDFArchitect, because I (initially) had no freaking clue what they are and was installing a virtual printer, not a kitchen sink. Incidentally, Images2PDF supposedly lets you make a PDF out of images, and PDFArchitect looks like a PDF editor of sorts. But with no description in the installer, the average user will have no idea.
I also unselect the COM samples option, and ensure only the English language translation and help file are installed.
After selecting what parts of PDFCreator will be installed, we come to the disingenuous part of the installer. It’s deceptive that “Express” is marked as recommended, and the “Custom installation” option is grayed out (which implies it’s not selectable at all). Adding “(advanced)” is the icing on the lame-cake; it’s a sure-fire way to scare off the general computer user.
Select the “Custom installation (advanced)” option, and uncheck each of the previous hidden boxes.
But wait, there’s more! As if avoiding one round of crapware wasn’t enough, we’re presented with a second! The wording “I accept” and “I do not accept” are again deceptive. Just select “I do not accept” and move along.
Triple check the options listed, ensuring just the components desired are installed.
I don’t have a problem with software developers, even Open Source developers, trying to make a buck off their work. Generosity and a desire to share doesn’t put food in your belly. But being disingenuous and deceptive not the right way to try to earn a few dollars.
Unfortunately, I haven’t found an acceptable alternative that delivers the functionality of PDFCreator that I desire. I’ve been meaning to dig out a copy of Visual Studio and see if I couldn’t roll a crapless installer based on the available source code, but just never seem to get around to it (and have completely forgotten what little I knew of VB anyway).
One of the (many) things I absolutely hate is when, during the installation of a program, a ton of other crap is silently installed beside it without any warning or indications.
I just noticed a new service, “hasplms.exe”, running. I have no idea where it came from or what installed it. I did give Lightworks a spin yesterday (not impressed), as well as my lengthy ordeal attempting to install Tomb Raider Anniversary which I complained about in my last post, maybe one of them install it… but I dunno.
With no idea where it came from, and no uninstaller to be found, I turned to the Internet. It didn’t take long to find a YouTube video illustrating the uninstall process, and it was surprisingly pain-free. From hasp.com/srm (which redirects to sentinelcustomer.safenet-inc.com/sentineldownloads/) download the command line run-time installer and run it as
And it looks like the service’s gone, without me having to rage and fume about yet another bit of computer BS. Now I just have to see if anything breaks…
A few comments have prompted me to provide slightly more explicit instructions, with pictures. Anywhere you see my name (Andrew), expect instead to see your name (or whatever the name of the account you are using is).
First, downloading the software:
Open the Downloads folder, or wherever you saved the file to, and right click on the downloaded file. Click on “Extract All…”.
A window will open, asking where you want to extract the files from. Remove the highlighted part.
This is the path we want the downloaded files extracted to. Again, if your name’s not Andrew, that part of the path will be different.
Returning to the window that was showing us the Downloads folder, you’ll see the newly created folder.
Ensure that the “haspdinst” program was properly extracted, if you must.
Now you must open a “Command Prompt”. You can do this in various ways, but for now just use the Start Menu.
Your command prompt window may not look exactly like this; I use it fairly frequently, and so have resized and customized it to suit my uses. Also, be aware that I run Windows with UAC permanently disabled. I don’t know if UAC will interfere with this process. If it does, you’ll have to look in to running the command prompt with elevated privileges.
This next part may look like gibberish, but there’s only three commands that really need to be run (they are underlined in pink in the picture). Obviously, <ENTER> is the enter/return key.
cd Downloads<ENTER> cd Sentinel_LDK_Run-time_cmd_line<ENTER> haspdinst.exe -purge<ENTER>
Hopefully this clears things up a bit.