Author Archives: Neil Rubens

About Neil Rubens

see http://ActiveIntelligence.org

Azure Functions: System.InvalidOperationException: ‘The host has not yet started.’

Problem was getting the following exception System.InvalidOperationException: ‘The host has not yet started.’ System.InvalidOperationException HResult=0x80131509 Message=The host has not yet started. Source=Microsoft.Azure.WebJobs.Host StackTrace: at Microsoft.Azure.WebJobs.JobHost.StopAsync() in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\JobHost.cs:line 121 at Microsoft.Azure.WebJobs.Hosting.JobHostService.StopAsync(CancellationToken cancellationToken) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Hosting\JobHostService.cs:line 32 at Microsoft.Extensions.Hosting.Internal.Host.<StopAsync>d__10.MoveNext()   Solution Solution was … Continue reading

Posted in Uncategorized | Leave a comment

Microsoft.Azure.WebJobs.Host: Error indexing method ‘HubFunction.Run’. Microsoft.Azure.WebJobs.ServiceBus: Value cannot be null.

Got the following errors when trying out Azure’s Event Hub trigger for Azure Functions Warning: Cannot find value named ‘Endpoint=sb://DDDD’ in local.settings.json that matches ‘connection’ property set on ‘eventHubTrigger’ in You can run ‘func azure functionapp fetch-app-settings <functionAppName>’ or specify … Continue reading

Posted in Uncategorized | Leave a comment

Evaluating Startup

There are many articles about how to evaluate startups.  I wanted to add my 2c. An approach that I’ve recently stumbled upon; when evaluating startup is to trying to find a great aspect about it (or imagine how it could … Continue reading

Posted in Uncategorized | Leave a comment

Adding Typescript to AWS Amplify React

Here are a few small changes that you need for enabling support for typescript in AWS Amplify React   in tsconfig.json change target to: “target”: “es6”,   Then install necessary packages (here are the basic ones): npm install typescript –save … Continue reading

Posted in Uncategorized | Leave a comment

2018 Best Laptop for Startup’s Technical Founder

I have an analytical mindset; which is a blessing and a curse.  Am having great time working on my startup sectormap.net but then spend way too much time on trying to decide what to buy (laptop in this case). Spoiler: clear … Continue reading

Posted in Uncategorized | Leave a comment

Startup: registering / running corporation in Hong Kong (Banking, etc.)

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