Category: Technology

  • Manjaro Linux usage notes

    I’ve been using Linux Mint Cinnamon for many years. For the most part, I love it. It’s based on Ubuntu, very similar to Debian, therefore there are plenty of resources available online. But its GUI bothers me a bit occasionally. Let me give a few examples here: The Eclipse IDE’s tooltip sometimes shows up in…

  • Accessing external USB disk attached to my ASUS RT-AC68U router

    I have my own cloud storage server using ownCloud for many years now, and love it. It’s like DropBox, only better. However, even with that, it’s still nice to have a shared storage for my home network. So today I bought a Seatate Ultra Slim USB 3 disk from Costco, with 2TB capacity. It is…

  • Initial impressions of SQL Server v.Next Public Preview

    Microsoft announced its SQL Server on Linux public preview yesterday. I’m really excited to check it out. Here are some interesting things I found during my testing. I’ll write more as I play with it further. If you want to play it on Ubuntu, it needs to be 16.04 or above. I didn’t pay attention…

  • Java regex Matcher’s first group is the whole pattern

    I didn’t realize that Java’s regex class, Matcher, uses m.group(0) to denote the entire pattern. I spent some time debugging it. Hence this note. As is stated in the documentation, “Capturing groups are indexed from left to right, starting at one. Group zero denotes the entire pattern, so the expression m.group(0) is equivalent to m.group().”…

  • Changing non-nullable column to nullable in SQL Server is quick and painless

    In T-SQL, you can only ALTER COLUMN one at a time. Initially I was worried about operational cost of this change, but it turned out this change is instantaneous. Mind you, I’m not suggesting you should do this without a good reason.