Thursday, January 30, 2014

KSP: Multiplayer and Squad's backstory


So at Porygron or Polygon, they had a really well written and good insight into the company that is Squad and how KSP came to be. Obligatory iframe:


or just click here: http://www.polygon.com/features/2014/1/27/5338438/kerbal-space-program

Go dreams, crowdfunding (thru early access model), doing what you love, and space! Also, do what NASA wants to do with asteroids in KSP (coming soon)!


So still no multiplayer announcement I can see, but NASA project confirmed:
http://kerbaldevteam.tumblr.com/post/74888946036/devnote-tuesdays-the-almost-forgot-to-title-this

Dev blogs on tumblr ... hmm... anyway, I have a tumblr too in case you were wondering, check out the "about me" page.

Sunday, January 26, 2014

Oh how wonderful blogs and forum posts that solve your problems/issues

Here is a post dedicated to all the wonderful blogs and forum posts that solve your problems/issues. That feeling you get solving the issue after the frustration of the problem is quite invigorating.
... Until the next problem appears.

Today it was a quick google search and I found the solution and solved my simple problem of a cached sources list getting corrupted. That Skype one plagued me for months (also mostly because I worked around the problem and my initial search didn't yield the solution)!


Saturday, January 11, 2014

Oculus Rift VR


Oculus Rift. (OR)
VR's big comeback. Or at least the biggest name in VR these last couple of years.
The set up OR of the day - we played on a laptop

I was, and still am extremely excited by the immense possibilities the OR brings to VR and can't wait to see how things will develop in the future!
Especially with Star Citizen "coming out" at the end of this year. This VR/AR headset has so many different applications that VR/AR comes with including remote tele-operations, education, entertainment media including games, videos, etc.

I was able to try the OR thanks to a fellow Computer Science student, after I participated in his research at the CSIRO/RSISE in ANU. He said many people experienced nausea and couldn't take more than 10 minutes with the OR on, but surprisingly, I didn't want to vomit at all, and quite enjoyed it! This might have been partly due to my biggest disappointment - being able to see the pixels and pixel borders after the LCD screen's light passes through the OR's lenses. The lenses let your eyes see the screen from individual perspectives creating a 3D experience, as well as helping you be able to focus your eyes to infinite distance while being able to look at the light from the screen.

Here are some photos:

Always RTFM first right? I like Friendly Manuals.

Includes 3 different lenses for near-sighted people. Otherwise, you can wear your glasses inside/under the headset.


 Le treasure chest. And headset.

 Side - angle views. The viewing angles on the display were pretty darn good.



Too bad you can clearly see the black pixel borders when you put on the goggles through the lenses. It's worse than it appears in this photo with my camera.


An OR with one lens cap (left) taken off.








And a close up of that area below:



I think the biggest thing going for the OR is that it makes you feel like you're there. This makes for just the wonder and awe of exploring the world that you're now in - when you wear the headset - to be quite a delight.

The biggest problem I had that broke the immersion was seeing the black pixel border lines, I hope this will be fixed in future higher resolution versions. It also alerted me to having to try before I buy the consumer version, since I definitely wouldn't spend $300 on the immersion breaking and awfully low-res to the point of blurriness (720p screen divided into half for each eye) dev-kit as a consumer product.

I could also feel a bit of latency or probably judder, although it's being worked on, and I think my head naturally compensated by moving my head slower. (Valve is supporting Oculus Rift and aren't manufacturing hardware for now, preferring to be a platform where OR users will seamlessly launch apps and games from). Unfortunately, this must also be checked out before I buy for gaming purposes, as when you're desperately looking around the cockpit for that hostile spacecraft, you don't want your vision to be blurry and laggy, creating more nausea or noobplay.


A little Carmack envisioning a SoC (running Android) 4K integrated headset/future OR:
http://www.engadget.com/2013/10/18/oculus-rift-john-carmack-interview/


And most recently:

CES 2014 (Crystal Cove) updates:
  • 1080p OLED (still not sure that's enough resolution after the lenses)
  • New Positional tracking via IR-LEDs on the OR and an external camera on your monitor. 
  • Lighter, smaller
  • Lower latency, via OLED & technologies as talked about in the video in the link below
  • Apparently winner of "Best of CES 2014"
  • Still aimed to price accessibly at ~$300
  • No release date but 2014 "big year" for OR
http://www.engadget.com/2014/01/09/the-oculus-rift-crystal-cove-prototype-is-2014s-best-of-c/
So apparently they sold 55k units, with only 7.5k units sold during their Kickstarter!

For those worried about nausea, with positional tracking, it might be better. Someone does a write-up of their pleasant experience with Crystal Cove after previous nausea with the old version:
http://www.pcgamer.com/2014/01/10/oculus-rift-crystal-cove-prototype-hands-on-at-ces-2014/

Pidgin - my favourite IM, and Skype crashing my X Session

Pidgin - Because all the protocols are in one place =)
Skype, MSN, FB, Steam, etc.
Unfortunately Skype's a nuisance and needs to be running for pidgin to incorporate it.

Pidgin works cross-platform so I can have my logs (at ~/.purple/logs) symlinked to my window's partition logs so cross-partitions they're all the same logs =)
I could also symlink some of the files as shown in the config file link below. 

Good cheatsheet for config files:
https://developer.pidgin.im/wiki/ConfigurationFiles

Learnt that account.xml contained saved passwords in plain text.
https://developer.pidgin.im/wiki/PlainTextPasswords

And that Pidgin 3.0 will support a keyring feature (Like KWallet, Secret Service)
https://developer.pidgin.im/wiki/KeyringSupport

Help Pidgin get there! https://developer.pidgin.im/roadmap

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

Speaking of Skype being a nuisance, for some reason when I logged into Skype my X session would crash, and the KDE log-in splash would display (logging back in). Since my KDE saves the previous session and restores it on login/boot, Skype would run and auto-login, and crash the session again, so I had to spam killall skype to stop the loop. 

Here is how I went about researching the bug trail to the fix:

[OK, so I wrote the intro above this line a couple of months ago and kind of forgot the whole process of how I got to the problem but here is a summary:]

While searching for a solution to the problem, I found this:
community.skype.com/t5/Linux/Skype-forces-reboot-on-Ubuntu-11-10/m-p/2844027
I may have used the search term I got while running skype in the terminal or something (still not too sure where Skype stores its logs)
Xlib: extension "RANDR" missing on display ":0.0".
skype: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
So my suspicions that it was related to the X server were confirmed, but I still didn't know the cause.
Then I found this:
http://ubuntuforums.org/showthread.php?t=2183029
And the work-around actually worked so now I hypothesise Skype loads some font loaded by X in "unix/:7100" and that supposedly caused it to crash.

The bug is in launchpad:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/738526

I opted to comment out the part in my xorg.conf instead of going to the extreme of uninstalling XFS:
# Apparently comment the below out to stop Skype crashing X Session
# Or sudo apt-get remove xfs (X Font Server)
#Section "Files"
#    FontPath        "unix/:7100"
#EndSection

Edit: Skype dumps massive (read GBs) of log files. If you delete the folder ~/.Skype/Logs as per this link from Arch forums, it won't create logs any more. It's probably some nefarious NSA reporting method.