Playing around with a new theme

Recently I had the urge to start blogging again, but I knew my theme here was severely out of date. Specifically it didn’t work for beans on a mobile device.

I decided to start fresh, and what you’re seeing is an early iteration of a new theme. There are still a fair number of issues with it. I over-estimated the amount of space I had on a phone for a top nav menu, and I have a lot of images that need resizing.

Problem is I don’t have a proper staging server for this site so I have to experiment ‘live’ but since I haven’t posted here in like 5 months I figure traffic must be near zero so I’m not going to worry about it too much.

Just figured I’d better make a post about it on the off chance someone stumbles onto the site before I get it finished.

My Frankensteinian PC gaming setup is complete (for now)

First a recap, very briefly. I needed a new laptop at the same time I was suffering from FOMO around my friends playing PC games together. So after a few sidetracks that didn’t pan out, I decided to blow the budget and bought a gaming laptop.

Zowie XL2411P

My last update was when I ran a wired Ethernet connection (since it is in a corner of the apartment with poor WiFi reception) to the laptop and confirmed that Parsec worked great. Since then I decided that a 1080P 15″ screen is just a little too small for me for gaming (keep in mind I’m nearly 60 and my eyes are getting worse all the time) so I added a 24″ 144hz 1080P monitor. I capped at 1080P because the GPU in the laptop (a GTX 1070 Max-Q) can only do so much. I’d rather higher settings at 1080P than mid-settings at 1440. I think 4K is out of the question for this GPU.

As I started using it more, it became a bit of an issue having to use headphones all the time. It’s hard to chat with Angela wearing headphones. So I bought a little USB-powered soundbar to go with the monitor since the monitor has no speakers

GoGroove Mini SoundBar

Of course with no headphones I started to really notice the sound of the fans, so I bought a USB-powered cooling pad to see if I could quiet it a little (it worked, somewhat).

Then I bought a powerstrip with USB charging ports so I could power soundbar and cooling pad without drawing more power from the laptop. And a non-powered USB hub just to try to neaten things up.

It was about this point that I realized I should’ve bought a desktop gaming PC AND a modest laptop because right now this laptop sits in a nest of cables and cords that just seems kind of silly. I mean, it works great but to take it somewhere I have to disconnect the external drive, the USB hub, the displayport cable, the Ethernet cable and the power cable.

Just a few cables to detach before I go mobile.
Also how does the camera always pick up so much dust that my old eyes can’t see?
I can sure see it in the photo!

When I have some ‘play money’ built up again I’m going to look at one of those Thunderbolt docking stations, but they’re like $300 so that might be awhile. In theory with one of those I’d just have the power cable and the docking station attached to the laptop. Much easier to grab and go that way.

And then danged Nvidia put the Nvidia Shield TV on sale and I made an impulse buy. And y’know what? That has pulled everything together perfectly. The Shield TV is mostly a media streaming box like the Fire TV or Apple TV, but it has a few gaming features. One of them is GameStream which offers in-home streaming. Alternatively you can run the Parsec Android client on it.

Nvidia Shield Gaming Edition

So far GameStream has been working well. I can now stream from the laptop to the 60″ TV in the living room. So far I’m only using it for games I play with a controller since if I have to drag out keyboard and mouse I may as well go sit at the desk.

This weekend I was playing Anthem like this. It was running on the laptop in a corner of the kitchen but I was in the living room on the couch with a warm puppy laying beside me and it ran perfectly. GameStream has a virtual mouse feature if you need to just click one or two buttons. In fact it has a virtual keyboard too but I wouldn’t want to do much typing with it. The only thing I haven’t sorted is a way to voice chat while doing GameStream but if I’m going to be doing MP I’d probably sit at the laptop in order to be at my best anyway. Streaming is for more casual gaming. I’ve been playing a lot of My Time At Portia by streaming this way.

Nvidia Shield also supports GeForce Now, which is a cloud-streaming game service. I tested it a bit and it seems to work fine, but for right now I have enough ‘local’ stuff to play.

I’m really content with how I have things set up now. It’s a good thing I do since I’ve really blown through my ‘mad money’ for the time being. Thankfully tax refund season is upon us so can build the piggy bank back up!

PC gaming post #46 (or somewhere around there)

So after my semi-failed experiment in streaming games from my old machine upstairs to the entertainment center downstairs I thought I was done with PC gaming once again.

Then I had to buy a laptop. See, “my” laptop was actually provided by the company I worked for. They got bought and I thought I’d sort-of inherited the laptop but nope, last week I was told I needed to return it. I really wanted a laptop for ‘downstairs use’ so I started shopping. And then I got a crazy idea, and expanded my shopping horizons to include gaming laptops. Thanks to advice from Stargrace I wound up with an MSI, specifically the GS65 Stealth Thin.

This was the dumbest possible time to buy a new laptop since CES just happened and Nvidia announced the RTX chipset and all that but I’ve never been known to have a shred of patience.

After getting over some sticker-shock induced buyer’s remorse, I’m pretty happy with the machine except for the puny SSD drive inside (512 GB). I’d read that there is a 2nd SSD slot so figured I’d just install an additional TB drive, but didn’t research things thoroughly enough. To get to that slot you have to basically take the entire laptop apart, voiding the warranty, AND a TB SSD drive is $200-$250 and honestly I’ve spent enough for now. But I have a plan.

I skipped the whole ‘hook it to the TV’ idea and set up a desk in the corner of the kitchen devoted to PC gaming. Then I connected a 3 TB external drive and installed Steam on the external drive. I figure I’ll put most of my games on the external drive since I’ll be playing them seated at the desk with external mouse (and eventually bigger monitor) anyway, and I can just disconnect that drive when I just want a laptop to sit on the couch and do Internet stuff. Thanks to the machine having USB 3.1 ports, and the external drive also supporting USB 3, the access speed doesn’t seem to be a huge problem. ~knock on wood~ Eventually I might upgrade to an SSD Thunderbolt external but again, the cost of the laptop has definitely used up my “fun money” for the time being.

But then an even BETTER idea hit me. My machine upstairs can play older games and indie-type games, perfectly well, and it has plenty of drive space. I can still put Parsec streaming to use. I can stream older games from the upstairs PC and just install the latest or least input-lag sensitive games on the laptop itself. I haven’t tried this yet since I’m waiting for a 50′ ribbon Ethernet cable to run a hard line to the kitchen (Wi-Fi is a little dodgy in there) and then I’ll put it to the test.

My hope is that by the time this gaming laptop gets long in the tooth one or more of the various cloud-streaming services will have things working well enough that this can be my last GPU purchase, but we’ll see. The laptop has the GTX 1070 MAX-Q or something like that. QMAX? Anyway, not as fast as a proper 1070 but the display is 1080P and it seems fast enough to run today’s games at High or Ultra settings and still get 60 FPS. I wouldn’t try to drive a 4K display with this machine, though. Basically it was the best mobile GPU I could afford, and it’s why the hard drive is so small. For a similar price I could’ve got a 1060 MAX-Q and a 1 TB drive but I figured the GPU was more important.

One last obstacle. Whenever I’m sitting at the desk playing games, Lola is on the couch looking very confused and upset that I’m not over there with her. So next step is to get a doggie bed to put next to the desk. 🙂

My latest attempt at living room PC gaming

For most of my gaming life I was a computer gamer as opposed to a console gamer. The first system I owned that could play games was an Atari 400 which I got in 1980 or so, and the first console I bought was a Turbografx-16 in 1989. For a long time consoles were the ‘side project’ and PC gaming was my focus. In addition to playing games I loved building and tinkering with PCs.

As I got older the appeal of PC tinkering faded while at the same time consoles got more powerful and started to get more and more attention from developers. I went longer and longer between PC upgrades and spent more time on consoles. Then I started working from home full time, and that was the final nail in my PC gaming coffin. See, we live in a 2 bedroom apartment. One bedroom is our office and I sit there all day every day working. It is (obviously) where the PC is. When the work day is done, I HAVE to get out of there for my mental health. When you work from home full-time you need routines to help your brain flip over to work mode in the morning and turn off work mode in the evening.

So for the last 5 or so years, at least, I’ve played almost no PC games. Problem is, almost all of my online friends are still over there in the PC world. I’ve tried to find a ‘tribe’ of older console gamers but haven’t had much luck. Every so often I try to combine the best of both worlds and bring PC gaming out of the office and into the living room. So far I’ve always failed.

My most recent attempt began when Belghast mentioned ParsecGaming. You’re probably aware of Steam in-home streaming and the Steam Link system, right? It’s a way to stream games from the PC in your office to the TV in your living room. I’d tried Steam in-home streaming a few times but always found it was more fiddly than it was worth. It turns out Parsec does the same thing, except it works. Parsec actually does a lot more than that; you can stream games from a friend’s house or enable virtual-couch-co-op with far away friends. I can’t speak to those features since I was only interested in office->living room.

Setting it up was dead simple. You install Parsec on both systems and enable sharing on your ‘host’ PC then connect from your remote PC. In my case my remote was a laptop. Even on 5 Ghz wireless it worked pretty well and it gives you full access to the host machine, so if a game needed something tweaked I could do it from the remote client rather than running upstairs to click a UAC “accept” button or something. After playing through a Warframe mission without any serious issues I thought my problem was solved!

Of course laptop on the coffee table isn’t the living room experience I was looking for; I wanted the games on the 60″ 4K TV. This simple idea led me down a rat hole as it seems my Samsung Smart TV is pretty persnickety about having a PC hooked up to it. First I tried connecting through a 3-way HDMI splitter and it was no-go. I bought a higher-end HDMI switch rated for 60Hz and UHD. Still no good. Bought some certified high-speed HDMI cables. Still no good. If I connected direct to the TV it (apparently) worked, so finally I just decided to devote an HDMI port to the PC and it worked…for a few moments. Then the signal started dropping out.

At first I thought it was playing games through Parsec which was causing the dropouts. Or maybe just games in general for some reason (but with this laptop I couldn’t test that since it won’t run games on its own). But long story cut a slight bit, it was a timing thing. It ran fine for a while but even if I didn’t connect to Parsec eventually it started glitching. After trying a bunch of stuff I finally got a system that worked. Turn off UHD Color for that HDMI port. Turn off the TV and the laptop. Turn on the TV, then the laptop. Then I had a steady signal, but I had to do that start up sequence every time, which wasn’t ideal (waking the laptop from sleep wasn’t enough, I had to power it off and on again).

Still it worked! Now I had a wired ethernet connection to the laptop in the entertainment center and a wireless keyboard and mouse over at the couch. I bought the $25 Windows Wireless Adapter for an Xbox Controller (which I later found out I might not have needed; newer Xbox controllers can apparently connect to Windows 10 via Bluetooth). I sat back on the couch and… no, wait I couldn’t sit back, I had to perch on the edge of the couch to use the peripherals on the coffee table.

But it worked! I did another test Warframe mission. Success! Played some of Tom Clancy’s The Division. Success! Except…I have those games on console and frankly my Xbox One X is more powerful than my aging PC up in the office, AND there is some input lag using Parsec. Or maybe it is the PC itself. It’s small and I might not have even noticed if I hadn’t been playing these games on the consoles, but they just felt a tad sluggish while streaming them from the PC.

But what about other kinds of games, like MMOs and strategy games? In a fit of nostalgia I d/led World of Warcraft and tried to play that. It worked fine except a lot of the text I couldn’t read from across the room. Ditto strategy games; most of them just haven’t been crafted with the intention of being usable from 10′ away. It isn’t that I absolutely can’t read stuff, but that I have to really concentrate to read them, which isn’t ideal in a gaming environment when you want to be able to glance at a UI component and understand what it is telling you.

So, that was kind of the end of this attempt. In order to play “action games” I’d need to upgrade my PC significantly which I don’t really have the money or the patience for right now. Text-heavy games don’t work great on the TV so they’re out. It isn’t all bad news though. I can still stream MMOs and strategy games to the laptop with it sitting on the coffee table.

I have a desk in the corner of the kitchen that I’m not doing much with, but WiFi reception there is pretty crummy. So now I’m thinking of getting a 50′ Ethernet cable (cheaper than a Wifi extender and more reliable once it is in place) and running it from the entertainment center into the kitchen so I have a wired connection there. I think using the laptop would be more comfortable on a desk than on our low coffee table. And then I was thinking…maybe I just buy a new gaming PC and install it at that desk in the kitchen and give up on the streaming idea.

Or, crazier idea, subscribe to Shadow.tech and get a virtual gaming PC for about $30/month, at least to start with, just to see if the PC gaming itch ‘sticks’. $30/month is high but better to do that for 2-3 months and then get bored, rather than spending $1500 and getting bored after 2-3 months.

Decisions, decisions….

Mixed reality at Microsoft’s Build Conference (and E3)

This week Microsoft is holding its annual Build developer conference. Yesterday was the Windows Keynote and as has been true for the past few years, there was a segment on Hololens, Microsoft’s augmented reality headset.

What was different about this year is that Microsoft has broadened its horizons some. While in the past it seemed like they were embracing augmented reality and to a certain extent downplaying virtual reality, this year they’re embracing both. In fact they’re backing away from either of these terms and instead talking about mixed reality, a term that encompasses both VR and AR.

As part of the discussion they announced new motion controllers for use with mixed reality, and at the same time they announced that Acer (and eventually other hardware developers) will release a mixed reality bundle this holiday. It’ll include a visor and a pair of the new motion controllers for $399. That’s really cheap.

Microsoft continues to embrace the “inside-out” tracking they first showed on Hololens. Rather than having to use an external camera (as with Playstation VR) or set up sensors (like the Vive uses), Hololens and the Acer visor both put the cameras on the visor itself. By tracking stationary external objects (presumably the corner of a room, or a window or door) the system can extrapolate how the visor is moving, and it can also track the motion controllers.

The upside of this is easy set up and a self-contained experience. Hololens is an untethered experience that you can presumably put on anywhere and use. The Acer visor is tethered but at least doesn’t require any other set up other than plugging it in.

The downside is that the system can only track things you’re looking at. If you think about, say, a tennis game, the system wouldn’t be able to track your hand directly when you reached behind yourself for a serve. (As far as I can tell the visor doesn’t have any backwards facing sensors.) That said, the system probably has a rough idea of where your hand is based on the last place it was “seen” and gyroscope (or some other kind of) data from the controllers.

This year the presenters studiously avoided talking about gaming and mixed reality, instead urging us to look forward to learning more at E3 next month. I assume Microsoft’s E3 press event is going to talk a lot about mixed reality.

If Microsoft is smart, the same visor will work on your Windows PC and your Xbox. That seems like an obvious thing but remember they tried to sell Kinect for Windows as a separate SKU from Kinect for Xbox. I don’t think they’ll make the same mistake again, though.

The $400 price point for the visor and controllers is potentially disruptive (more so if the same visor can be moved from the Xbox to a PC easily). The Playstation VR bundle, which includes the visor, controllers and the camera you need to make is all work, is $500 and it’s currently the cheapest full VR experience (stuff like the Gear VR that uses a cell phone is cheaper, of course). The Acer is $100 less and presumably can be used for AR and VR. The form factor is that of a VR visor but the forward facing cameras mean is should be possible to project the real world into the visor in order to make it “virtually transparent.”

Of course how well this works will depend on the quality of the cameras and the displays inside the visor. If nothing else I hope we get a ‘peekaboo’ feature where we can tap a button and see the world around us without taking the visor off. Helpful for checking to see if that thump you just heard was the dog knocking something over or aliens coming into your house to abduct you. (Hey just because I’m paranoid it doesn’t mean the aliens AREN’T after me.)

If you’re a developer you can pre-order a devkit that includes just the Acer visor for $299. It ships in August, which seems pretty late if MS expects support for the holiday season.

My expectation for E3 is that Microsoft will announce Project Scorpio bundled with the Acer Mixed Reality set for $799. I’m basing that on my expectation that Project Scorpio alone will be $499, so the bundle will save you $100 off of buying the two items separately, and I’m sure it’ll include some kind of software. Either a game or a demo disk or something. Of course the Mixed Reality bundle (and Project Scorpio) will both be available separately as well.

What I’m not sure of is whether the Acer visor will require Scorpio or if it’ll support the original Xbox One in some scaled down capacity.

I’ve also read some hopeful speculation that Microsoft might surprise us and launch Scorpio earlier than expected…potentially in August. The idea is that they’d want to get the new console out in time for all the big fall releases like Destiny 2. If the Acer dev kit isn’t shipping until August, and the retail version not until (presumably) the November timeframe, I think it makes an August Scorpio launch less likely. I think MS is going to want to introduce these two products at once. They seem pretty serious about succeeding in mixed reality.

I guess we’ll learn more next month!

Vexed by Vagrant

We (the company I work for) have a suite of sites that have been having performance issues. We’ve done a few optimization passes and they’ve helped, but not enough and we were seeing diminishing returns. Finally I got approval to beef up hosting for them. I was over-joyed because for once here was a solution to the problem that wasn’t going to be a big headache.

Boy was I wrong. I didn’t factor in that the newer hosting plan was running more recent versions of Ubuntu, PHP and MySQL. The ISP moved the sites for us…and they blew up. *sigh* Fortunately they were able to roll things back, but now it’s up to me to figure out how to get these sites running on newer software.

I didn’t want to update my dev server and potentially blow up a bunch of other sites, so I turned to Vagrant. I’ve been looking for a good reason to use it and this seemed like the ideal situation. I know the cool kids all use Docker now but I still haven’t really wrapped my head around Docker yet. Vagrant feels reasonably intuitive to me.

Soon enough I was off to a good start. I pulled down the ‘official’ (Canonical-supplied) Ubuntu 16 Vagrantbox, installed Apache, PHP and MySQL. Everything was looking good; it was serving pages through a forwarded port. The next step was to create a custom box from the server as it was running. The idea is that you create this Vagrant box with all the software configured the way you want it, then you can spin up identical virtual machines really easily. You can give a less tech-savvy co-worker (yes, they do exist even though I’m a NOOB) a copy of the box and with a minimum of instruction they can spin up an identical setup.

So I did that…and something went wrong. When I spun up a Vagrant VM from my box, I couldn’t SSH to it. Seemed to be an issue with the SSH keys or something. It wasn’t a complete train wreck…Apache was still serving pages via a directory shared between Windows and the VM, so I could have forged ahead but I knew that sooner or later I was going to want to SSH into the virtual machine for something.

Off to Google to find out what I’d done wrong. And oy, did I find a lot of info. I wasn’t the first one to have this issue, but some of the bug report threads started in 2014 and ran up to last week. I found a dozen or more fixes, none of which seemed to work for everyone. Most of the fixes involved SSHing into the VM using a username and password, which, I read time and time again, is vagrant/vagrant (obviously these aren’t production boxes). But try as I might I couldn’t log in with username and password. I could connect to the port so I knew SSH was running but I couldn’t authenticate.

I went further and further down the rabbit hole, eventually uninstalling Vagrant and VirtualBox and starting from scratch, all to no avail.

About 5 hours into this process, I found a new post about it. Apparently the official Ubuntu 16 boxes don’t use vagrant/vagrant as the username and password, even though they are ‘supposed’ to according to Vagrant’s guidelines. Instead they use ubuntu as a username and no one seems to know what the password is.

To say I was frustrated to learn this would be quite an understatement. The fix for the bug is apparently to use the v0rtex/xenial box which is set up with a vagrant/vagrant account. You can read more about the bug here.

So now I’m back to square one and tomorrow I’ll install a LAMP stack on the vortex/xenial box, then try packaging it again. Still think I’m doing something wrong with my packaging, unfortunately. Today was wasted by a bug that was preventing me from fixing a different problem, more or less. That’s going to look great on my weekly productivity report. /sigh

Maybe I should’ve tried Docker after all…

[Update: SOLVED (I hope)]

OK I finally got a working box, here’s what I did, based on the info in this thread.

You start in your existing VM — the one you’re going to build from.

Add
config.ssh.insert_key = false
to the Vagrant file

vagrant up
to start the machine.

vagrant ssh
to SSH in.

Run these commands:

wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
chown -R vagrant:vagrant .ssh

Exit your SSH session.

Now create your new box. I followed these instructions

For me the command was

vagrant package --base arcus_default_1484688088638_34762 --output ../arcusv2.box

where “arcus_default_1484688088638_34762” is the name of the VM I wanted to base the box off of..you get this from VirtualBox. And I was naming my new box arcusv2.box and putting it one level up in my directory tree.

Then create a new directory, move into it.

Do something like this to add the new box
vagrant box add arcusv2 ../arcusv2.box

Then
vagrant init
to create the initial vagrantfile. Add
config.vm.box = "arcusv2"
config.ssh.insert_key = false

(obviously substitute whatever you named your new box for ‘arcusv2’)

And finally

vagrant up

And if you’re lucky like I was, the box will start up without authentication errors.

Apollo astronaut Gene Cernan has died.

I’m old enough to remember the first moon landing. What a time that was. Every kid wanted to be an astronaut. We drank Tang and ate Space Sticks and anything that was freeze dried. We built plastic models of the lunar module. It was the start of a bold new world of human exploration of space.

And then it all stopped.

Now there are just a handful of humans who’ve set foot on a chunk of rock other than earth. On Monday we lost one of those few, Gene Cernan. Here’s NASA’s profile of him. Rest In Peace.

There are now six people who’ve walked on two worlds:

Buzz Aldrin
Alan Bean
David Scott
John Young
Charles Duke
Harrison Schmitt

A sad day.

Any Linux experts in the audience? Problems with Suspend

I had to work last night, and before work I was messing around with a laptop, so very little gaming to speak of. When my frustration peaked I did play a little Diablo 3 which felt pretty cathartic, honestly.

So I’m vexed by Linux and this laptop. I have an old Lenovo V570 that was cheap when I bought it a long time ago (it came with Windows 7 pre-installed, that’s how old it is). I had it set up to dual-boot into Linux Mint and Windows 10 Preview. Since Win10 Preview isn’t a thing any longer, the other day I decided to reformat everything and make the laptop a dedicated Linux machine.

I’ve tried two distributions, Ubuntu and Linux Mint and they both have the same problem: the laptop won’t wake up from Suspend. (Granted Mint is based on Ubuntu so I shouldn’t be surprised they have the same issue.) So I close the laptop, then open it and I just get a black screen. Fans might be running but there’s nothing I can interact with. I have to cut power and restart. For all I know maybe the screen just isn’t waking up…it’s hard to say.

If this was a desktop machine I’d probably just roll with it but for a laptop it’s an issue. I looked at /var/log/pm-suspend.log and I don’t see any errors, so I think the problem isn’t the suspend itself, but waking from suspension. I’ve Googled and tried lots of things but it seems like Linux Suspend issues have been with us a long time and it’s tough to get current info. I’ve checked the size of the swap partition, put esoteric scripts in /etc/pm/sleep.d/, tried installing various kernels… so far nothing works.

Currently I have Mint 18.1 installed. Before wiping the laptop I think I had Mint 16.something and it had no issues with Suspend. Now I wish I’d just re-sized the partition rather than wiping everything.

At one point I did see a tip to add something to grub to force it to wake the keyboard. The theory was that when you opened the laptop when it was suspended, the keyboard didn’t ‘wake up’ so it was effectively dead so there was no way to wake the machine. I lost that page in a reboot though and haven’t found it again yet!

I’m not averse to just trying a different distro, if someone can recommend a good distro for noobs that isn’t based on Ubuntu.

Or if anyone has any suggestions on how to fix this issue I’d appreciate that too. In truth I can only work on it so long before frustration mounts since everything I try has to be tested by Suspending the machine, finding that the fix didn’t work, then killing the power, then booting everything up again. It’s pretty time consuming.

Vera Rubin obituary at the NY Times

Vera Rubin died last month, and her obituary in the NY Times is a fascinating read, not just because of the great work she did in identifying the mysteries of dark matter in the universe, but because of the obstacles she had to overcome in order to even be given a chance to do that work.

I can’t pretend to know what it feels like to be a woman fighting to be considered equal to men in so many aspects of our culture, but Dr Rubin’s story at least shows how much progress has been made inside of one lifetime. For instance, in 1948 Rubin was turned away from the astrophysics program at Princeton since they didn’t allow women in that program. Another story recounted in the piece is how she had to meet with astrophysicist George Gamow in the lobby of the building where he worked because women weren’t allowed in the offices.

Anyway, well worth a read for a number of reasons, IMO:
Vera Rubin, 88, Dies; Opened Doors in Astronomy, and for Women