home of

Christian Battaglia



found on LuaRocks and used by lua-resty-openidc

This lovely package I took over in 2018/2019 from https://github.com/SkyLothar that uses your favorite linux OS's packaged openssl binaries to make doing crypto calculations in NGINX super duper fast (lightspeed). The concept here is basically that you have a full async/threaded runtime inside your NGINX gateway that you can be making use of as long as it is non-blocking. Many people are moving away from this concept in favor of edge lambdas in cloud providers like AWS but I would argue that raw boxes are alive and well! I currently have NGINX on all servers I manage and having the capability to do programmatic non-blocking computation inside of a path resolution is superb!

rust actix-web

rust std::future + tokio (practice makes perfect)

There's a fancy new feature coming up in Rust called async/.await that is going to change the game IMO for digital signal processing, web development and any I/O heavy project. The ability to use a pluggable runtime like tokio in the Rust ecosystem means that we're not far off from having a lower level zero cost abstraction for just about every protocol like eBPF. I've been following actix closely as they transition to using the new std::future along with a massive tokio rewrite landing soon!


Many a friend pass through NYC and it's my duty to make sure I show everyone how much fun this beautiful, bright city is. That said, this city is 100% based on word of mouth. Timeout NYC can only go so far with the recommendations and nobody wants their favorite local spot blowing up! Each and every time a friend passes along a recommendation I store it on my phone and now suddenly I'm approaching 1000 locations in all of the world that I can "recommend". Great and all but I want to take it one step further and beat Google at the "my maps" game by doing group collaborative, low maintenance recommendations in your favorite city! For now I'll have a secret url on that website to get to a "friends-only" spot to add a recommendation. Again, the goal is to let you keep all your spots but let you share them quick and easy! Yelp, Google, Apple, whatever! Copyright on location data is a hard thing and might get a little quirky to figure out but for now it's great to share with my friends that are only in town for the weekend and don't need hand holding through the city!


Grand Central began as a product requirement for work at Amplify. We have what we call the "Curriculum" application that is about 3-4 years worth of Angular 1.x code that is the main interface for how Amplify users consume our curriculum content in English and science classes. We set off to re-use these Angular components hand in hand with some React code and stumbled into arcadeJHS/AngularVueIntegration which outlined exactly what we wanted to do: 1 DOM instance shell of each framework we want to use together (Vue, React, Angular 1x or Angular 2+). The beauty of this is that we're able to reuse initialized services in Angular world as well through constants! In total DTW Grand Central is:

  • router5
  • angularJS
  • react
  • redux
  • dependency injection service registry (lifecycle maintenance of all services in one place)

Beauty of this is that you can combineReducers for additions to the Redux store on the fly which also means you can extend your routes with future loading js bundles without having to destroy your current heap and virtual DOM! I don't know if people are doing this sort of thing yet for micro-frontends!

@dtw/open-maps (coming soon!)

An open source project that powers https://downthewhole.com/ by using Open Street Map, Open Map Tiles, Docker and redis to render maps of the whole world! Two main databases: 1 for OSM and 1 for custom locations and then a redis cache for hot-searched geo positions! GEORADIUS command is amazing!

@dtw/ax (coming soon!)

An iOS app for personal knowledge:

  • note taking
  • ebook highlights
  • music discovery
  • music making
  • etymology/vocabulary
  • link saving
  • identification storage
  • personal finance
  • ssh client
  • entertainment/art reviews
  • aggregate travel tips (what plug do I need, etc)

For a while now I've been dipping my toes into React Native as a platform and I fully expect to open source my tooling along the way! All of the above are things I've thought of as I've gone about my life navigating the subway to and from everywhere in NYC when I have a hot minute in the tunnel without internet and a thought that springs into my head. We need to start making use of your phones computational power for something other than just games. Think of it like Spotify offline downloads but with all of the easy to reach data that you need throughout your day to day life. When you get back on the network you can sync back up and even exchange notes from your ebook/Kindle with friends!

@dtw/notes (coming soon!)

The intelligence engine driving my note taking. Every time I write a link in my text editor (VSCode) it detects that I just typed a url and silently makes a request to a server that then looks up meta tags, open graph data and even article text using tools like codelucas/newspaper. Markdown is a beautiful "language" and I've been using it since I graduated from high school for all my notes collecting links, thoughts, life events, etc and I want to enable Gmail predictive style typeahead and other things to further my AI knowledge. A while back there was this small Mac app (the name evades me) that allows you to create a decision network graph and other zoom-in-able data structures using bulleted lists and other weird markup that I want to enable. Think of it like an always growing automatic table of contents for everything you write. A corpus but more Wikipedia-esque!


  • intelligent typing
  • automatic linking references
  • decision trees
  • pro/con lists
  • syntax highlights for code

@dtw/audio (coming soon!)

Listen to Spotify daily? A little too much? Did you know you can follow other peoples' discover weekly playlists? What if you could dig in further to your music preferences with a little bit of Spotify API secret sauce and an acquired company called The Echo Nest. A special API from Spotify allows you to get data for each and every song you play. What BPMs do I like in the morning? What key of songs do I like in the evenings in the winter time? Combine your daily Last.FM scrobbles with Spotify api and boom you have a full music analysis tool. This one I'm still trying to figure out what I want to do with it. Houndify should be releasing their Soundhound api soon and we'll all have full Shazam powers and the copyright industry's crazy metrics for detecting if a certain piece of sound already exists. Crazy stuff but I think there's a lot to do creatively here.