Sunday, July 29, 2018

Thursday, June 22, 2017

Under Whose Eye?

[I don't want to bother with formatting this much right now.  I might fix it later. Also the links worked at the time of writing, but they might break later as the statewide bill might not have become law yet. -- IC 6/22/2017]


There was an anti-discrimination ordinance in St. Louis-- passed Feb 2017-- that deemed it discriminatory:
` ` For an employer to fail or refuse to hire, to discharge or otherwise to discriminate against any individuals with respect to compensation or the terms, conditions or privileges of employment, because of their reproductive health decisions or pregnancy status (including childbirth or a related medical condition).  However, nothing in this ordinance shall require a religious institution, corporation, association, or society to provide reproductive health benefits of any kind ' ' -- bottom of page 3 and top of page 4

https://www.stlouis-mo.gov/internal-apps/legislative/upload/Ordinances/BOAPdf/BB203CS-wd15.pdf

The new statewide MO bill, that I'm not entirely clear if it's law or not yet, seeks to overrule that ordinance as an extra added bonus.  The state wide MO bill's main focus is to make it extra difficult for women to get abortions.

It took me about an hour to find the section in the statewide bill.  The key phrase is "a political subdivision of this state":

` ` 5. A political subdivision of this state is preempted from enacting, adopting, maintaining, or enforcing any order, ordinance, rule, regulation, policy, or other similar measure requiring a real estate broker, real estate salesperson, real estate broker-salesperson, appraisal firm, appraiser, as such terms are defined in chapter 339, a property owner, or any other person to buy, sell, exchange, purchase, rent, lease, advertise for, or otherwise conduct real estate transactions for, to, or with an abortion facility or for, to or with a person for the purpose of performing or inducing an abortion not necessary to save the life of the mother, if such requirement is contrary to the religious beliefs or moral convictions of such real estate broker, real estate salesperson, real estate broker-salesperson, appraisal firm, appraiser, property owner, or other person. ' '
-- pg 8 and 9 http://www.senate.mo.gov/17info/pdf-bill/S2/perf/SB5.pdf

Friday, February 17, 2017

On Windows 10, get LibreOffice to show up in search box

(another pastebin type entry)

This is to get "LibreOffice" to appear in the search results for "Office" on Windows 10:
1. (After LibreOffice is installed (watch out for the spam)) Go to 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
2. Find the LibreOffice... folder (maybe rename it so it doesn't have the version number on it)

3. In the folder, rename all the files from "LibreOffice*" to "OfficeLibre*"  You can actually use the console command "ren" for that if you use an admin console.

Rebuild search indexes
4. Open Control Panel, search for "indexing"
5. "Change how Windows searches..."
6. Click "Start Menu", Advanced... Rebuild.
7. Wait a minute, then test.

In future versions of windows, it's likely the tool for rebuilding search indexes will be moved.

Also, next time it would be nice to experiment with creating symlinks with all those alternate names--or maybe just copying them.

Tuesday, January 31, 2017

Unix has a useful command named 'uptime'.  Of course, it tells you how long your computer has been running. 

Windows doesn't have that command per se though it does have various ways to get the same info.  But I don't want to use those, I just want 'uptime'.  I used to have a binary .exe that did that, but no more.

This workaround gets you pretty much there:
  1. download PsTools.
  2. from the zip, you could just run psinfo.  It gives you several pieces of information including the uptime.
  3. or if you really want to be pedantic about it, create a one-line script with this command very carefully typed: 
echo @psinfo ^| find "Uptime:" > uptime.cmd

That should get you a one-line script that runs "psinfo", but only displays the uptime line.

--
Furry cows moo and decompress.

Thursday, January 19, 2017

Joo Janta 200 Mode

You know it's a bad deal with darkness is actually comforting.
The fear of the Dark stems from the uncertainty of not knowing what monsters might be lurking there.
The comfort of the dark comes into it when you, in fact, already know full well you're surrounded by monsters, and you'd just as soon have a few moments peace where you can forget about it before they eat you.

The Joo Janta 200 Super-Chromatic Peril Sensitive Sunglasses have been designed to help people develop a relaxed attitude to danger. They follow the principle "what you don't know can't hurt you" and turn completely dark and opaque at the first sign of danger. This prevents you from seeing anything that might alarm you. This does, however, mean that you see absolutely nothing, including where you're going.-- Hitchhikers' Guide to the Galaxy

The ignorant and corrupt Congress's attempts to repeal the ACA could screw up my child's Medicare in time.  Meanwhile, Betsy DeVos's ignorance of what the IDEA act even is could eventually crystallize into a weakening or repeal of that law which would mean I'd have to depend on good ol' Missouri law makers to make sure my deaf, blind, autistic son receives an education.
Hello, Darkness, my old friend.  My good ol' cancerous, ever-growing Darkness friend.

Protip:  bottles of alcohol might make a good barter currency post-apocalypse.

--
Furry cows moo and decompress.

Thursday, November 10, 2016

T minus 18 or something

In regards to this article: Daily Beast -- 75 Lawsuits Against President-Elect Trump

It's nice to have a few things be fair (Perhaps even more so since the actual reason is partisan response to a Bill Clinton scandal.) Trump's Presidential immunity to civil suits will only apply to any scams he engages in after he takes office.

` ` [Bill] Clinton and his defense team then challenged Jones' right to bring a civil lawsuit against a sitting president for an incident that occurred prior to the defendant becoming president. The Clinton defense team took the position that the trial should be delayed until the president was no longer in office, because the job of the president is unique and does not allow him to take time away from it to deal with a private civil lawsuit. The case went through the courts, eventually reaching the Supreme Court on January 13, 1997. On May 27, the Supreme Court unanimously ruled against Clinton, and allowed the lawsuit to proceed.[3] Clinton dismissed Jones's story and agreed to move on with the lawsuit. ' ' -- [ http://en.wikipedia.org /wiki/Paula_Jones#Initial_lawsuit ]

My main point of interest in this is the cases related to Trump University. [ Trump University’s Star Student: ‘It Was a Con’ and Trump University of Utah ]  Given my general and often justified lack of faith in the system, I have zero confidence in the prosecution's ability to make anything stick.  I suspect Trump will say that he had no knowledge of how the operation was actually running.  In a just Universe, this would not so easily let him off the hook because gross negligence that allows for the defrauding of a whole bunch of people is surely almost as bad as intentional malfeasance of the same.  But it's clear we don't live in that Universe.  In a Universe that valued facts, running a scam of this kind would surely count against a supposed "man of the people" since he, at the very least, rented his name to nefarious companies that defrauded "the people".







The bad part of that will probably be:  the continued American tradition of mostly ignoring the victims of these scams.  And if the public is briefly forced to acknowledge them, then they handwave a say that the victim "deserved it" -- they "should have known better".  And the thing is--this completely shifts the focus away from the con artist.  It creates a safe space where they can continue to run their scammy games.  It allows them to get elected President, for example.

Note-- the 75 lawsuits part is a bit misleading: article points out that *most* of the 75 are basically junk and meritless for example:
` ` More than a dozen of the 20 ongoing federal cases where Trump is a defendant are actual nonsense, filed against the future president along with co-defendants Barack Obama, Hillary Clinton, and even Walt Disney, on behalf of seemingly mentally-ill plaintiffs. (Anyone can file a lawsuit.) The complaints in the wildest cases include allegations of kidnapping by the president-elect and his son—members of the supposed Illuminati. ' '



--
Furry cows moo and decompress.

Tuesday, September 15, 2015

This entry is kind of like a pastebin.  I recently managed to successfully install Cockatrice on my machine.  This is a lot more elaborate than your standard Windows install as it requires building it from source.  

So I have written down the method that just worked in the hopes that I won't have to re-guess it next time.

Note:  See the date-time of this post.  This worked on my system at this time.  This may not work years into the future as it often happens that different bits and pieces of different Linux distributions get updated (or not) in different ways.

Also, I haven't done a lot of these.  Use at your own risk.


-------------------------

Mon 14 Sep 2015 11:49:38 PM CDT ------------
On Ubuntu 14.04 LTS, these are the packages that you have to have installed before you can build cockatrice *including* servatrice:

sudo apt-get install build-essential g++ qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev libgcrypt11-dev


You probably need this repository added:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && apt-get update


You want to be able to build with the cmake-gui  so you need the 'cmake' package and then probably also the package 'cmake-qt-gui' if installing the first package does not automatically install the gui.

sudo apt-get install cmake cmake-qt-gui


You also need Qt5.  To get it, you have to search for an offline installer (b/c the Online installer is rubbish) here:


http://www.qt.io/download-open-source/

After d/l-ing the file, chmod u+x and run it because the Qt people seem to think this is Windows.  Whatever, it makes no real difference.  You wind up with a folder in your home folder with the necessary code to compile/link against.  (You will need to know if your OS is 32 or 64 bit.  But you should know that, really.)

You might also need the package

sudo apt-get install libqt5sql5-mysql

The install directions say you need that to run servatrice with a database. Don't know what that means yet.

For sound to work, you also need
 

sudo apt-get install libqt5multimedia5 libqt5multimedia5-plugins


I don't care about sound right now, so I have not bothered with it.

------------

d/l the cockatrice source from the button on the right side of this page

https://github.com/Cockatrice/Cockatrice

extract it to a folder, then cd into it in terminal

mkdir build

cd build

cmake-gui &




Then, in the gui, click Generate.

Then, for the Qt5Widgets_DIR setting, specify the path to the Qt5 stuff you previously downloaded via the offline installer.  And click to put a checkmark  in the box for WITH_SERVER setting, then click generate again and  cross your fingers.












If no errors, then in the terminal cd into the build directory and

make


and cross fingers.

if success, then 


sudo make install 


and you're golden.


You should now have the new commands:  cockatrice, oracle, and servatrice.


oracle is what you run to build your local card database .xml file (no pics yet, wait for the next part)

cockatrice is where you build a deck, and the actual game client itself.  Card artwork is downloaded on an as-needed basis.

servatrice is what you'll need to run in order to host a LAN game.

-- 
Furry cows moo and decompress.