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.

Friday, April 12, 2013

The following is my reply to Veit's comment which was a reply to Kos on Veit's blog post at
http://www.onlinerule.com/the-salty-droid/

I originally replied to him on his site.  But I'm guessing he didn't like what I had to say.  So I think he decided it would be better to delete it.  That's cool.  I'll just post it here:

Wyrd says:   
Your comment is awaiting moderation.
April 12, 2013 at 5:37 pm   
 

Veit wrote
maybe I should highlight the bit where I say that I disapprove of what they’re doing with their marketing.

Maybe I should quote a great line from one of my favorite music groups:
“You can’t shake the Devil’s hand and say you’re only kidding.” — TMBG

Veit wrote

I have ‘invested’ $2k in Product Launch Formula when I was a complete newbie, and boy, it was useless for a newbie without a list or a product or even any clue how to sell stuff online.

I have ‘invested’ thousands on dodgy coaching, I’ve had all the phone-calls from the boiler rooms, believe you me, I’ve been there.


Maybe you should ask for your money back. Or at the least, maybe you should call out those that scammed you.

Veit wrote

All I’m saying here is this:

don’t take the existence of “the Syndicate” and boiler rooms and IM-scams as an excuse for dumping babies, bathwater ‘n all that good stuff.

Frank Irwin Kern and his ilk are not babies floating in icky bathwater. There kinda like… little baby anti-christs floating in the blood of their victims… or something.

Veit wrote

There is a reason why they’re so successful,

Yes. The reason is because they lie and misrepresent themselves in order to sell people a dream that can’t ever really be delivered. And then they take the money and run. And you apparently envy them for their sales success. And for some reason you think it’s possible to have the one without the other. (false)

Veit wrote

and it’s worth studying what they’re doing (e.g. very effective use of sales-psychology), and then use it for good, not evil.

You remind me of Boromir making his case for how they should take the One Ring and use it for good. I think you’ve been seduced by the siren song of POWER.

Veit wrote

I’ve seen far too many people who say they want to learn how to sell, but they run the moment they sense there’s a pitch coming at the end of a seminar or a webinar.


As well they should! If I go to a seminar to learn stuff, then I expect to *just* *learn* *stuff*. I do not expect or need to have gone to a seminar only to be sold something at the end. That’s not right.

Veit wrote

Fer cryin’ out loud, if you want to learn how to sell,


Wait, I’m confused–was the mission here to have a successful online business or was the mission to learn how to be good at selling? The two things are related, sure, but they are definitely not the same thing.

Veit wrote

observe what successful sellers are doing and learn from it. And if it’s unethical, then don’t do it. But don’t say “selling is evil” and use that as an excuse


The reason why people often say “selling is evil” is that the reality is that selling, when it’s not in service of some actual valuable product or service *is* evil. And that’s what the Sturgeon’s Law 90% of sales is all about: selling you noisy shiny crap (or noisy, shiny, crappy ideas) that have no real value to anybody ever.

So: You’re right. Selling, in and of itself, is not evil. But the vast majority of those that rely heavily on salesmanship and selling are doing so because they don’t really have a product or service of value to sell. In this case, they sell the sizzle because they have *no* steak.

Veit wrote

for not doing anything or worse – complaining and whining about those ‘evil guys’ that are responsible for your lack of success (btw, that comment wasn’t directed at you Kos)

I often agree that complaining and whining are not very helpful. But actually vocalizing that “Hey! That guy over there! He’s a scammer!” or “dude! That thing I bought from that guy was utterly *useless*! Don’t buy from him.” That kind of thing is called: the market voicing its collective discontent.

Now, c’mon, Mr. Veit Business Professional: don’t you know that old maxim, “The customer is always right.” ?

And yet here you are.. trying to silence the customers and telling them that they should learn from the corrupt business practices of evil people. Shame on you. A wizard should know better.


Furry cows moo and decompress.


Wednesday, January 25, 2012

Copy error messages to clipboard

I wouldn't believe it if I hadn't just tested it. In the (should be) immortal words of the poster "From Windows 2k onwards you have been able to copy the text in error messages to the Windows Clipboard by pressing Ctrl + C, but Microsoft forgot to tell anyone."

Yes, it's true. I tested with an error message from my own code:

When that popup has focus, if you Ctrl+C, then Ctrl+V into a text window, you get:

---------------------------
AutoKeys.au3: HlprMkREWinActive
---------------------------
Unable to set The Raiser's Edge as active.
---------------------------
OK
---------------------------

I haven't checked to see if it works with all MsgBox( ) type things, but it probably does.

Oh--also it turns out Windows NTFS since maybe NT 3.0 does support something like the Unix symlink. (Symlinks are different than .lnk files because, for most purposes, they are treated as a real file or folder. It allows for one file or folder to appear to exist in multiple names and/or locations within the filesystem without crufty wasteful copying.) In NTFS, they're called Junctions, and they only work for folders. (Apparently, in Vista, MS added some new feature that finally allows for full symlinks.) Google for 'sysinternals junction.exe'. Be very careful with them though--since they're transparent to most all the programs on the OS (i.e. treated as actual folders), it's easy for a lot of accidental damage to happen.

--
Furry cows moo and decompress.