Skip to content
Skip to SEARCH-2
Skip to CALENDAR-3
Skip to RECENT-POSTS-2
Skip to RECENT-COMMENTS-2
Skip to ARCHIVES-2
Skip to TAG_CLOUD-2
Skip to CATEGORIES-2
Skip to META-2
Skip to CALENDAR-2

Micha's Blog

Micha's Daily Rant, updates, travels, and more..

Shrunk Expand

Primary Navigation

  • Home
  • Motorbikes
    • Micha’s Dragstar
  • Sample Page
← Older postsNewer posts→
  • Category Archives Technology
  • Computer Games | Computers | Android » PS4 | PS3 | PlayStation » Programming | Windows | Hardware | Linux
  • Using a Garmin GPS in Japan..

    Posted on 2020-06-08 13:17 by micha Comment

    Free maps for your Garmin GPS covering the whole world : http://garmin.openstreetmap.nl/


    Technology Travel 📎and tagged Garmin GPS Maps
  • Gotcha when testing Unity Objects for null in C#

    Posted on 2019-04-03 00:34 by micha Comment

    Unity has overloaded the ‘==’ operator, specifically, checking objects against “null” might not always do what you expect. More information can be found in this blog post from Unity.

    Specifically, if a Unity Object (as opposed to a C# object) gets destroyed, it will be set to a “fake null” object.  In this case, the following statements are true:

    1
    2
    3
    4
    
        obj == null          // true    obj is null          // false
        (object)obj == null  // false
        obj ?? value         // obj

    obj == null // true obj is null // false (object)obj == null // false obj ?? value // obj

    Note the different results between lines 1 and  2 & 3.

    If obj truly is null, then the results are as expected:

    1
    2
    3
    4
    
        obj == null          // true
        obj is null          // true
        (object)obj == null  // true
        obj ?? value         // value

    obj == null // true obj is null // true (object)obj == null // true obj ?? value // value

    It may be more readable to provide an Extension Method to UnityObject:

        /// <summary>
        /// Extension Method on Unity Objects returning whether the object really is null.
        /// </summary>
        /// Unity overloads the '==' operator so that it returns true on both null references
        /// as well as references to destroyed objects. This function only returns true if
        /// the reference truly is null, and returns false for "fake null" objects.
        public static bool IsTrueNull(this UnityEngine.Object ob)
        {
            return (object)ob == null;
        }

    /// <summary> /// Extension Method on Unity Objects returning whether the object really is null. /// </summary> /// Unity overloads the '==' operator so that it returns true on both null references /// as well as references to destroyed objects. This function only returns true if /// the reference truly is null, and returns false for "fake null" objects. public static bool IsTrueNull(this UnityEngine.Object ob) { return (object)ob == null; }


    Programming 📎and tagged C# CSharp programming Unity
  • Debian – multiple monitors and multiple GPUs

    Posted on 2018-10-16 12:51 by micha Comment

    Using

    xrandr

    to enable a monitor plugged into a secondary GPU, such as an integrated graphics card.


    Computers Linux Technology 📎and tagged debian gpu graphics Linux monitor
  • Oculus Rift Core 2.0 (v1.31) and Desktop Panel Pull-out, aka, pinning windows

    Posted on 2018-10-15 12:52 by micha Comment

    Some information to pin windows using Oculus Dash 2.0 / Core 2.0 / v1.31


    Computer Games Technology 📎and tagged Computer Games Oculus VR
  • The Last Guardian (PS4) – Completed

    Posted on 2018-02-27 05:11 by micha Comment

    Completed The Last Guardian (8/10). Some comments and questions (spoilers!)


    Computer Games PS4
  • Autoscreen

    Posted on 2018-01-18 11:19 by micha Comment

    Automatically start or resume a “screen” session when logging in.


    Linux 📎and tagged Linux screen
  • On Passwords and Backups…

    Posted on 2018-01-13 23:54 by micha Comment

    TL;DR: ensure backups work before reusing the source disks and double-check your passwords!


    Computers 📎and tagged backup password
  • Gitolite and GitWeb on Debian 9

    Posted on 2017-11-30 12:25 by micha Comment

    Install and configure gitolite and gitweb on Debian 9 ‘stretch’.


    Computers Linux Technology 📎and tagged computers debian Git gitolite gitweb Linux server
  • Proper UK International Keyboard layout for Windows

    Posted on 2017-11-12 16:54 by micha Comment

    Download a comprehensive international keyboard layout for UK keyboards from http://www.zolid.com/uk-intl-kb/index.htm


    Computers Technology Windows 📎and tagged computers windows
  • GitHub releases

    Posted on 2017-10-18 09:53 by micha Comment

    GitHub is not consistent between web interface and API when it comes to determining the “Latest Release”.


    Programming 📎and tagged Git GitHub programming

Posts navigation

Previous 1 2 3 … 6 Next

  • October 2025
    M T W T F S S
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
    « Sep    
  • October 2025
    M T W T F S S
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
    « Sep    
  • Recent Posts

    • Upgrading Urutu – my home desktop
    • Mocking system functions in C++ with GoogleMock
    • Upgrading “boa” from Debian 11 to Debian 12
    • Renewing motor-vehicle inspection in Tokyo
    • Hiroshima Tour – Day 10
  • Recent Comments

    • michamicha on Hiroshima Tour – Day 7
    • Jon-o AddlemanJon-o Addleman on Hiroshima Tour – Day 7
    • E NelsonE Nelson on Windows 7 – RTC using UTC
    • michamicha on Weekend ride-out to Karuizawa
    • ArchArch on Weekend ride-out to Karuizawa
  • Archives

    • October 2025
    • September 2025
    • August 2025
    • May 2025
    • April 2025
    • May 2024
    • January 2024
    • July 2023
    • June 2023
    • April 2023
    • November 2022
    • October 2022
    • August 2021
    • January 2021
    • September 2020
    • June 2020
    • March 2020
    • April 2019
    • October 2018
    • March 2018
    • February 2018
    • January 2018
    • November 2017
    • October 2017
    • August 2017
    • May 2017
    • April 2017
    • December 2016
    • August 2016
    • April 2016
    • March 2016
    • November 2015
    • October 2015
    • June 2015
    • May 2015
    • December 2014
    • November 2014
    • October 2014
    • September 2014
    • August 2014
    • May 2014
    • April 2014
    • March 2014
    • February 2014
    • January 2014
    • December 2013
    • August 1982
  • Tags

    airport Android autumn leaves C# c++ Computer Games computers CSharp debian dive computer Diving drivers food Garmin Git GPS Hardware japan Linux LVM Maps momiji motorbike Nextcloud onsen piwigo PlayStation Poland2015 programming PS3 PS4 PS5 Rant scuba diving shearwater shearwater peregrine Ski technology travel unit test Unity win7 Win10 windows wordpress
  • Categories

    • Android
    • Clothing
    • Computer Games
    • Computers
    • Diving
    • Entertainment
    • Food
    • Hardware
    • Japan
    • Linux
    • Live Shows
    • Micha's Daily Rant
    • Motorbike
    • Movie
    • PlayStation
    • Programming
    • PS3
    • PS4
    • Sailing
    • Skiing
    • Technology
    • Travel
    • Uncategorized
    • Windows
  • Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

©2025 raindrops Entries RSS and Comments RSS Raindrops Theme