Friday, November 25, 2016

Fix for when you can't get Wordpress to self-update



WordPress is awesome - but if sometimes the damn thing just won't update and wants your FTP credentials, which normally don't exist since it's not 1995.  You can untar from the console over the top, normally - but I'm leery of doing stuff like that and causing even more trouble potentially.

First thing to check would be setting (or resetting) the permissions and making sure the upgrade directory is really there (it doesn't exist in the release file).  Here's a cut'n'paste for setting them assuming you are using www-data as the Apache user.


mkdir -p /var/www/html/wp-content/upgrade
sudo chown -R www-data:www-data /var/www/html
sudo find /var/www/html -type d -exec chmod g+s {} \;
sudo chmod g+w /var/www/html/wp-content
sudo chmod -R g+w /var/www/html/wp-content/themes
sudo chmod -R g+w /var/www/html/wp-content/plugins

Try it again - it should work.  If it doesn't - you have an option that should almost all of the time.  You can add this line to the wp-config.php file:

define('FS_METHOD', 'direct');

That line tells WordPress to just shut up and upgrade and stop complaining about whatever it's not liking in the file system.  If you are on a hosting container like Digital Ocean or a VPS - you're fine, but this can cause problems on shared hosting.  Cheap shared hosting is fine for most stuff - but since everyone is sharing the same web server (usually there's hundreds of blogs or whatever on a single physical server) and the web server owns all the hosted files - somebody else on the same host can take over your web site pretty easy with a few lines of PHP.

<?php
$file=fopen("/var/www/html/ilovecats.com/index.php", "w" );
fwrite($file, "<html><body><h1>I smell like butt!</h1></body></html>");
fclose($file);
?>

If you aren't sure and need to use FS_METHOD - add it in, upgrade, and remove it right away.

If you are on shared hosting still and want to try Digital Ocean - this link will get you $10 credit and a few pennies for me.   :-P


Saturday, November 12, 2016

Remotsy Dev Build Review - I'm one of the cool kids! :-P







Because I happen to know the Remotsy Kickstarter guy - I hit them up for an early copy of the device that's currently on Kickstarter.  I met him outside of his possibly highly illegal lair high in the mountains of west Texas for a sneak peek.

Erick's Sinister Laboratory

Remotsy is a box that can replace most of your remote controls and can work with Amazon's Echo (probably the only device that does - which is pretty cool).  There's a web interface and an upcoming app for Android/iOS that lets you still control everything when the TV remote disappears.

The best thing about it though - is that it can integrate with SmartThings and Amazon's Alexa.  You can yell at Alexa while sitting on the couch to change the channel - but that's not where the device shines.  If you are in and out a lot, and especially if you have kids - this thing is a life saver.  Combined with SmartThings - you can make complicated rules to things automatically.  I really wish I had this when I had small kids - being able to turn on Cartoon Network automatically at 7 AM would have saved me a lot of sleep.   If you like the TV as background - you can have SmartThings turn it on when  you get home and turn it off at bedtime or when you leave.  It's pretty damn awesome.

I don't have the cases yet - but the device is really small.  Here it is with the required banana to compare against.



When you plug it in - you just have to connect to the device wifi once to set it up.





And then set it up with your Remotsy email and WiFi and you're good.  





Once you enable the Alexa skill and the SmartThings interface, it just works.   Really it's no different than a light switch or anything else you add.  You add the device with a name that Alexa can understand - and it just works.

"Alexa - turn on the TV"

And it turns on.

That's pretty damn cool.








Monday, July 11, 2016

Does the Thync work? Yup. Gonna keep it? Nope.


I've just packed the Thync up to send back before I'm charged for it.  It does work - I did do a semi-blind test and it seems to have the desired effects.  Aside from my other complaints - if you follow the directions exactly it's relatively painless and does seem to actually do what it says.  If you need or want something to perk you up or to calm you down it's worth it.

- if the 'power' level is too low, the sensation feels very much like 'bees in your head' as one of my victims said.  I'm not sure he listened to too much Nicki Minaj but this seems pretty accurate


 The lower power has a weird, skin-crawling feel that's not appealing at all.  If you don't know to turn it higher - this is the point you'd take it off and send it back.  I don't have much sense, so I turned it higher.

- if the power is too high, there's a eldritch pinching sensation that runs around your entire skull.  Not great either.  Getting to the sweet spot between the two is hard.

If everything is just right - there's no weird feelings and it works.  Anything else it's miserable.

I know how to work it now - but it's just honestly not useful enough for me.  I'm sure a lot of folks really could use this - but they aren't going to see it and they aren't going to be able to figure it out.

There are other complaints too (I'm full of complaints :-P ) - when I cancelled the order and requested an RMA, good marketing would offer a discount to keep the device in my hands rather than send it back and take the re-manufacturing charge.  I just got a generic Salesforce email with a bar code and that was it.  And I didn't get any 'you doing okay?' emails from Thync either.  And I didn't get any direct contact from them from these articles either.  I'm a moderate net celebrity (I'm more famous than most of the people in P90X at least) and I didn't get a peep.  I complained about VMWare's cloud offering sucking and I got lots of direct tweets and messages from them offering to help.

Anyway - the Thync experiment is done.  I don't see these guys being around in another year.  It's good hardware and technology - but I see lots of money being burned but not much coming in.


Tuesday, July 5, 2016

Thync Set up




Set up is pretty easy over all - it's a Bluetooth device, so you download the app (which for some bizarre reason isn't tagged for running on a tablet, so it's phone or nothing), sync the device, and start watching long rambling videos featuring a chirpy blonde chick who is the voice of 'calm'.  There's Mr. Energy who shows up later and sounds like a wired frat boy from Central Casting - but he never appears so I'm assuming he was mangled horribly in the creation of the device.  

Chirpy starts off on leading you through calm, so if you don't want to be calm you're pretty much out of luck.  First step is putting the device on your head right - where something else sort of weird crops up.  The designers had a great idea to put a picture in picture app in - but the implementation is weird.  The front camera on your phone reverses things in real time just because that's the ways optics work.  Things are always backwards and upside down - it's easy to swap the upside down but the mirror image swap is expensive and happens after the 'save' of any selfies.

You then get to watch Chirpy put the device on her head in corrected video - and then you are supposed to ape her by watching your reversed image and doing everything she does but with your other hand on the other side of your head.  Yeah, this doesn't help - and I did a terrible job first time.  Just look.



I don't know if the Thync people live in some mirror reality - but this is a pretty wretched experience overall and I could see a lot of people tossing this thing down by this point.  This is a cool idea - but Chirpy needs to be reversed.  Just like the iPhone thing and the blow in card - this is pretty obvious to anyone doing a walk through and could be fixed in 5-10 minutes of work.  This is a transformation that Adobe does in 5-10 seconds plus the minute for Googling.

So far, pretty horrible.  But does it work?  Funny you should ask - sounds like another blog posting for later...  




Friday, July 1, 2016

I Thync I can...


The Thync comes packaged nicely, like you would expect.  The electrode strips come in little sealed bags with the two flavors of them:


Energy

Calm (it's working already!)


Mine had some sort of weird funk or rouge on the actual device that looked like it was tested on a circus clown - sort of gross, but it looked like maybe tacky adhesive.  I used some alcohol pads to get it off before putting it anywhere near my precious face.  There were a couple of things that I found weird from my perspective looking through the docs.  Top one was that they only mentioned iOS.  Seriously.  iOS has a really strong following in some very specific groups - but hardcore techies overwhelmingly use Android.  Android is 83+% of the market.   iOS is substantial - but middle managers and educators are not going to be lining up to stick electrodes on their heads.


There was one thing that really annoyed me in the packaging - check out this:


I don't know who the hell this Izy dude is - but I do know that printing cards on heavy stock with embossing isn't cheap, and adding stuff like this to kits isn't cheap either.  Unless this guy paid for this particular part of the box himself - doing something like this cost $20-50k of some investor's money for a bit of self-promotion.  Could be wrong, but this makes me angry just to look at.

Next up - setting it up...



Thursday, June 16, 2016

Gonna zap mah head


Thync has been trying really hard to get new folks to buy.  Based on their docs it looks good:



So I'm gonna spend a whole $1 to try for you guys.  My brain doesn't do much anyway so no worries.

My link is http://share.thync.com/x/NR4wgE if you want to fry your head too and save $20 if you keep it.

Sunday, April 3, 2016

Adventures in shopping - the mail order mattress!


Side effect of having Amazon Prime is that I buy lots of stuff online.  It's almost the same price and I'm just bone lazy for the most part.  I don't like buying big or important items though since I want to see them in person.

Thor's mattress looks to be shot finally.  Since it's just for a teenager - it's not for anybody important or picky anyway.  I could throw down some straw, old rags, or oyster shells and it's all the same to him.  This seems a perfect chance to buy something big - so I ordered this:

http://amzn.to/1RGASXf




$99 and free shipping.  I'm anxiously waiting for Wednesday now for it to arrive.  I sort of suspect it's not going to look that impressive.