Category Archives: Uncategorized

Startup: registering / running corporation in Hong Kong

Summary free, simple & fast bank account opening with Neat (don’t need to visit HK) $200 UD (setup), and $1,200 USD for annual running costs; by using Kams  (accounting, audit, office services; in simple case; government fees are excluded) Details As a startup, … Continue reading

Posted in Uncategorized | Leave a comment

Play Json with Scala Trait

To be able to use trait with Play Json; you need to provide un/apply methods for the trait; and define a case class that could be instantiated. (there might be a better approach)   import play.api.libs.json.Json trait PaginatedTrait { def … Continue reading

Posted in Uncategorized | Leave a comment

Using Lambda with multiple handlers in AWS Step Functions

Problem Using lambda function with multiple handlers is non-trivial in AWS Step Functions Solution Lambda is great; however one of the limitations is that only a single handler function is used.  Maintaining multiple lambda functions gets cumbersome quickly. One common … Continue reading

Posted in Uncategorized | Leave a comment

Ordering Business Cards in Japan (Tokyo)

I spent about an hour (probably too much) looking at various options for ordering business cards in Japan.  Hopefully this post will save somebody a little bit of time. There are quite a few companies that offer business card printing.  … Continue reading

Posted in Uncategorized | Leave a comment

Food Delivery: Amazon Fresh in Japan

Typically Amazon enters market with a strong offering; however in the case of Amazon Fresh (recently launched in Japan) to me (as analyst and consumer) it is not clear what advantage Amazon Fresh provides in comparison with existing and mature Japanese companies (e.g. … Continue reading

Posted in Uncategorized | Leave a comment

Online SaaS Peer Assessment / Grading / Polling

Have spent several hours looking for a web-based tool that allows students to vote for each others presentations; by the best free solution was https://www.poll-maker.com/ (p.s. last year spent half a day counting students votes; so decided to automate it this … Continue reading

Posted in Uncategorized | Leave a comment

java.lang.NoSuchMethodError: com.amazonaws.transform.JsonErrorUnmarshaller: method (Ljava/lang/Class;)V not found

Problem An exception or error caused a run to abort: com.amazonaws.transform.JsonErrorUnmarshaller java.lang.NoSuchMethodError: com.amazonaws.transform.JsonErrorUnmarshaller: method <init>(Ljava/lang/Class;)V not found Solution AWS had some strangely maintained libraries for lambda “com.amazonaws” % “aws-lambda-java-core” % AWSLambdaLibsVersion, “com.amazonaws” % “aws-lambda-java-events” % AWSLambdaLibsVersion, “1.1.0” // https://github.com/aws/aws-lambda-java-libs The … Continue reading

Posted in Uncategorized | Leave a comment

No compatible version found: @types/react-dom@15.4.2

Solution Was puzzled by the No compatible version found: @types/react-dom@15.4.2 In the end chaning all of the react related vers to “^15.4.1”, did the trick also had an error (2nd one bellow); but that was due to a server already … Continue reading

Posted in Uncategorized | Leave a comment

React (TypeScript): infinite scroll

Recently I had to use an infinite scroll (lazy loading).  It took me a while to find a solution that worked well for my very simple case (lazy loading items in an infinite scroll fashion).  Hopefully this will save somebody … Continue reading

Posted in Uncategorized | Leave a comment

ReactJS: Uncaught TypeError: Cannot read property of undefined

Problem You get: Uncaught TypeError: Cannot read property of undefined This is due to react trying to render components that rely on variables that haven’t yet been set (quite a common occurence). Solution You can use conditional rendering shortcut to … Continue reading

Posted in Uncategorized | Leave a comment