Wednesday, May 18, 2022

Organizer/Storage for Lego Robot Inventor Kit (Mindstorms) 51515

Ever since I got my kid the Lego Robot Inventors 51515 kit, I have been looking for a good way to store the pieces and I think I have finally found the solution thanks to!

On that website, I found a link to a storage organizer system sold at Harbor Freight: Storehouse Toolbox organizer with 4 drawers. If you dont have a harbor freight near you, I think these from Amazon are similar organizer systems:

ABN Tool Box, 10in 1pk - 4 Drawers Toolbox Organizers and Storage, Toolkit Workbench Garage Organizing Set Plastic Chest - -

VonHaus Multi-purpose Small Parts, Crafts or Tool Organizer/Storage Box - 4 Removable Trays & Adjustable Dividers (10.9 x 10.1 x 6.9 inches - Black/Orange) - -

Here are some images of my organized 51515 kit:

Here is where you can buy the labels ($10 for the PDF) and find more information on LEGO Robot Inventor Set Case Label PDF Files (

Monday, May 02, 2022

GitHub - Quickly create a patch file

Recently I had to create a patch file to submit to an open source project.

Here is a quick way to do it via the GitHub web-pages.

  1. Go to your pull request (eg:
  2. Add ".patch" to the end. Click enter.
  3. This will redirect you to a new page with the patch info with some additional email info, etc.
  4. Copy the entire text and paste it into a file. Save the file with an extension of .patch.
  5. I found that I needed to add a new line at the end of the patch file.
That is your patch file!

To apply the patch file:
  1. Create a new branch from master (or whichever branch the patch is to be applied to).
  2. Switch to the branch.
  3. Run the following command: git apply name_of_patch_file.patch
If you instead want to manually create your patch using GIT:
  1. Switch to the branch with your changes
  2. Run the following command: git diff master > ..\name_of_patch_file.patch

Wednesday, April 27, 2022

AWS Athena's Information_Schema

The information_schema in most database systems is very useful to get information about tables, views, columns that might be available in that db.

Here are the information schema views available. (WARNING: queries against the information_schema views are very slow)



  catalog_name,  schema_name

FROM information_schema.schemata



  table_catalog,  table_schema,  table_name,  table_type

FROM information_schema.tables



  table_catalog,  table_schema,  table_name,  column_name,  data_type,  is_nullable,

  column_default,  comment

from information_schema.columns

order by

  table_catalog,  table_schema,  table_name,  ordinal_position

Retrieved by looking at the PrestoDB test cases: presto/presto-product-tests/src/main/resources/sql-tests/testcases/system at 2ad67dcf000be86ebc5ff7732bbb9994c8e324a8 · prestodb/presto · GitHub 

Pentaho Data Integration - Java Defined Class - Main working sample

 The sample code provided in PDI for "main" doesnt work. Here is the fixed up version:

mypublicnotes/ at master · rajrao/mypublicnotes (

Pentaho Data Integration - Stripping characters out of string fields

 Here is a generic method (actually 2) for stripping out characters from all string fields in Pentaho.

mypublicnotes/ at master · rajrao/mypublicnotes (

These methods are convenient when you are loading a variety of tables or files and you dont know the names of all the string fields ahead of time and so cannot use field based transformations (like Replace in String, etc).

Thursday, February 17, 2022

PowerBi Icons for Diagrams

 I found a couple of awesome resources for PowerBi icons that you can use in diagrams.

1. Official repo of PBI icons: microsoft/PowerBI-Icons: Icons (PNG and SVG) for Power BI (

2. Marc Lelijveld repo: Marc has provided an xml document that allows you to easily import all the icons into Draw.Io. This makes the whole process extremely easy. marclelijveld/Power-BI-Icons: Icons (PNG and SVG) for Power BI ( The most import link from Marc's repo is the raw link to the xml file: This link can be used in Draw.Io via File >>Open Library from >> URL...

Once done, you will get all the icons in the left pane:

Here is more info from Marc's blog: Power BI Icon Library – now includes official icons to use in / – Data – Marc (

Saturday, January 29, 2022 activate not working

The kids YouTube activation site ( doesn't seem to be working. I was able to sign in via

With 2 kids at home, I feel like a catastrophe has been averted. Hope it helps you.

Thursday, January 27, 2022

Emails from service dont go to Email Groups

If you use a distribution group for emails in (eg: Subscriptions to reports or to Dataset refresh issues), you might find that you dont receive the emails if you are using Office365. This is likely because by default Distribution Lists in O365 disable receiving emails from external addresses and this has to be enabled.

This can be done by following the instruction here: You need to enable the option: "Senders inside and outside of my organization"

PowerBi REST API - A binary operator with incompatible types was detected. Found operand types 'Edm.String' and 'Edm.Guid' for operator kind 'Equal'.

 I was trying to query to get workspace with a certain ID.

Using this as the filter (id eq 9c02ab25-0e94-4835-92e6-62ac6460acd0):, causes it fail with the error

  "error": {
    "code": "InvalidRequest",
    "message": "A binary operator with incompatible types was detected. Found operand types 'Edm.String' and 'Edm.Guid' for operator kind 'Equal'."

The fix is to put your GUID within single quotes: id eq '9c02ab25-0e94-4835-92e6-62ac6460acd0''9c02ab25-0e94-4835-92e6-62ac6460acd0'