Eli Weinstock-Herman
"When you don't know what to do, do something"
Joe Fisk, Bell Labs

SQL is Hard (still): Reviving a stale application

Original post posted on February 06, 2018 at LessThanDot.com

Several years ago, I launched SQLisHard to help folks learn SQL. Some folks learn well from books or videos, but others learn best by getting in there and running queries. I monitored and tweaked things for about a year, trying to get the first set of exercises smoothed out. Then, like many folks, I was sidetracked by other projects and work responsibilities.

For about $10/month, this little site has kept running and helping folks. I expected to see traffic die off, since I wasn’t adding more content. Instead, there’s been nearly 7000 folks that have stopped by and successfully completed ...

Continue reading

Streaming Alerts using AWS Lambda, Kinesis, and DynamoDB

Original post posted on January 23, 2018 at LessThanDot.com

Recently I was talking to some friends about alerting on complex streaming data. Between some past event processing work we had done and earlier experience aggregating real-time manufacturing data, I was thinking a lot about projecting and evaluating results as we go versus querying the for results on some frequency. It seemed like a realistic approach and I couldn’t stop thinking about it, so I decided to prototype the pieces that I was least familiar with.

The idea is based on one that is used frequently in CQRS and I’m far from the first to have it, professional tools like ...

Continue reading

Serverless HTTP + Kinesis Lambdas with Offline Development

Original post posted on January 16, 2018 at LessThanDot.com

Lately I’ve been exploring an idea around applying custom, user-defined rules to streams of events. I’m using a combination of technologies, but the core is a FaaS setup that I can run locally that utilizes the serverless package to deploy AWS Lambda functions that consume events from a Kinesis stream.

I prefer the speed of local development feedback cycles. Getting HTTP Functions running locally was easy with serverless-offline, Kinesis was a lot trickier with more false starts. If you’re trying to get local node.js Lambdas running for HTTP and Kinesis, hopefully this will help.

Continue reading

Custom Authentication in ASP.Net Core (without Identity)

Original post posted on September 08, 2017 at LessThanDot.com

Performing Authentication and Authorization has changed from ASP.Net to ASP.Net Core. Rather than relying on attributes, ASP.Net Core uses middleware similar to NancyFX and Rails. This is a short, step-by-step approach to implementing custom Authentication in ASP.Net Core without the overhead (and assumptions) of the new Identity model.

The goal is to support basic necessities like a Login page with cookie-based authentication tickets that properly require HTTPS in production, but gracefully fail back to HTTP in local development.

Continue reading

Deploying to ServiceFabric from TeamCity

Original post posted on August 07, 2017 at LessThanDot.com

Recently I’ve been working on an application that runs partially in Azure ServiceFabric. I’ve created a local cluster to work against and now it’s time to configure my TeamCity deployment to deploy upgrades to my application automatically.

Initial details:

  • Deploying 2 projects:
    • a .Net 4.6.2 ASP.Net Core app to web app
    • .Net 4.6.2 ServiceFabric project to ServiceFabric cluster
  • Server:
    • VM: 2-core, 2048 GB of RAM
    • Windows Server 2016 x64
    • TeamCity 2017.1
    • SQL Server 2016

In the previous post I walked through the setup of a Service Fabric cluster on a local Hyper-V server and 3 VMs, followed by publishing a ...

Continue reading

Don't Blink...


Don't Blink

Recently Writing

Recently Reading