uncategorized
Ruby config options fail
Ruby is a horrible nightmare language, like almost all modern languages. They try to be so clever and modular, but end up making a maintenance hassle as various modules come and go, dependencies break, and the developer community moves on to the next shiny thing that claims to be the best thing to happen to programming since C.
Oh well.
If you get a bunch of "invalid option: --no-rdoc"
errors, it is because sometime in the last few years --no-rdoc
and --no-ri
were depreciated in favor of --no-document
. And, apparently, just recently builds started barfing on the deprecated errors. Building universally with these options is a pretty standard thing as it vastly improves build time and the rdoc system is a whole big kettle of annoying weirdness you just don’t need to wade through.
Now Ruby, being oh-so-clever and friendly, has all sorts of places where these might be set universally or semi-universally. The references will tell you about /.gemrc
and /etc/gemrc
, but only by doing a grep -FrHIis 'no-rdoc' *
at / did I find these sneaky little bastards:
basejail/usr/ports/sysutils/vagrant/Makefile:RUBYGEM_ARGS= --no-ri --no-rdoc -l --no-update-sources \
basejail/usr/ports/Mk/Uses/gem.mk:RUBYGEM_ARGS+= --no-rdoc --no-ri
basejail/usr/ports/devel/ruby-gems/Makefile:DOCS_VARS_OFF= RUBY_SETUP_OPTIONS+="--no-ri --no-rdoc"
basejail/usr/ports/devel/rubygem-io-like/Makefile:DOCS_VARS_OFF= RUBYGEM_ARGS+=--no-rdoc
After converting those to the “new” “better” “shiny” version of the config option string did my gems build.
A utility for disabling Windows 10
While there may be people who actually like Windows 10, there are also many people who aren’t interested in fully exposing every part of their digital life to for-profit mining as means of offsetting Microsoft’s declining profits in the desktop OS business, and if you’re one of those, fighting Microsoft’s truly viral (and malware) marketing techniques is quite a hassle. It appears there may be an easier way.
Micrsoft has finally provided an “easy” way for people to turn off windows OS update (e.g. from 7.x or 8.x to 10) from happening automatically and without user intervention (and frequently in outright defiance of clear user intent because profits first!)
The short form for people who are comfortable with some of the internal workings of Windows is:
Search for "edit group policy" and open the editor then follow the selection cascade as: Local Computer Policy -> Computer Configuration -> Administrative Templates -> windows Components -> Windows Update ->> Turn off the upgrade to the latest version... ->> [x] enabled
The longer instructions are at this link: https://support.microsoft.com/en-us/kb/3080351
Easy, no?
I suggest doing this and then downloading and installing the following program. It will pretty much do the same thing but it also checks to see if Microsoft has already kindly filled your hard disk with malware without your permission and offers to delete it:
https://www.grc.com/never10.htm
Note that my previous posts about removing specific “updates” are still relevant. The above should prevent windows 10 from auto-updating but Microsoft has been pushing updates with “telemetry” to Win 7 and Win 8, which are also spyware and are tracking you and reporting your usage patterns back to Microsoft without telling you or asking you.
Welcome to the new economy: you’re the product.
Fall weather is arriving…
It only got to 47.5C today according to our new roof-mounted weather station. It seems to be about 3 degrees cooler away from ground level, but we’re still down about 4-5 degrees from peak temperatures.
Nom Nom Leg
I came home to find that Tortuga, one of the stray cats that’s adopted us, had developed a nice open wound on her forelimb. When I left two weeks ago it was a bit swollen, presumably abscessed, and then drained. I’m sure it was really gross. Anyway, the cat just couldn’t get enough licking that yummy puss and had turned the wound into a nice open sore.
The vet gave me some antibiotics and antiseptic cleaning solution and this lovely and stylish Elizabethan collar that Tortuga clearly just loves to wear. Her thought bubble probably reads something like “once this collar comes off and I can get my teeth around your neck, you better sleep lightly.”
3 capitals
Interesting bit of trivia, @phragments, how one can drive through the three capitals: but one only takes 90 seconds…
— Sent from my mobile device
made it to DC
It was a fun weekend with the Westtown gang.
Debate O Rama
The debate was entertaining. Sarah was not the trainwreck we’d all hoped for after the Couric intervierws, but it had its moments.
I thought most remarkable was that she occasionally went off script and got lost. The prep worked, but I guess they couldn’t cover every possible question. There were moments where the Sarah we came to know and love from Couric came out.
Otherwise she filled the time trying to be cute and mugging for the camera, rolling her eyes and making cutsy expressions and spouting folksy aphorisms.
Great Customer Service
I got a pair of Seth Thomas WBL-714-FS-SETH clocks out of a factory salvage; no instructions of course. They seemed simple enough, but I couldn’t get them to sync. There are the typical (for a radio sync clock) time zone buttons which make the hands move to the appropriate relative position by time zone. There is a big button that makes the hands move and a small button that seems to do nothing. They were not synced. I let them sit for a few days and they still were not synced.
I looked up the company’s web site and wrote a little note on their form, expecting nothing:
"I have two WBL-714-FS-SETH clocks. They do not seem to set themselves to the time signal. After a couple of days, they are not synchronized. Any hints?"
A day later I got this from Donna at the company:
"Dear David: It sounds like they are not receiving the signal. Have you tried moving them to a different location and see if they receive the signal? If not, try that. If you have tried different locations, then try taking the battery out for about 5 min, then put it back in, hit your time zone and if should advance to 4, 8 or 12. It will stay there till it receives the signal. You may just have to move them. Let me know how you make out."
It worked perfectly and now both clocks are synced. It was such a pleasant, prompt, and above all accurate response that it made me wonder if I’d ever received such good service before and as far as I can remember only McMaster Carr compares.