3D Geospatial Rendering with Cesium

CesiumJS 3D Geospatial Rendering

Lou Mauget Articles, Development Technologies & Tools, JavaScript, Programming, Tutorial Leave a Comment

This blog is a brief overview of CesiumJS, a cool JavaScript client library for visualizing a geospatial Earth map, including artifacts (both real and generated). They eat their own dog food, so their homepage has a declaratively-rendered spinning globe by Cesium.

CesiumJS has a higher-level Entity API as well as a lower-level Primitive API. The API doc can be found here. I’ll point out a couple of interactive source examples that use the entity API; most Cesium apps use it. Cesium also provides open specification 3D Tiles to load, render, and cache on-demand terrain features, artifacts, and building renditions for surface viewing.

There is no IDE or download needed to interact with the material mentioned in this overview. You can interact with the material mentioned with your browser.

tRPC: Building type-safe APIs with TypeScript

tRPC: Building Type-Safe APIs with TypeScript

Jake Everhart API Development, Articles, Development Technologies & Tools, GraphQL, JavaScript, TypeScript Leave a Comment

Over the years, we’ve seen many approaches to HTTP API design. While REST APIs are still very popular throughout the industry, they offer no inherent guarantees that the client’s assumptions about the response structures will be valid.

GraphQL fills this gap to an extent by allowing client-side code greater control over the resulting structures but at the cost of added complexity. RPC (remote procedure call) frameworks attempt a different solution by sharing generated type definitions between the client and server implementations. What if there was a way to achieve the type safety of RPC by simply inferring the type definitions from the server’s code?

Enter tRPC. Since JavaScript (and specifically TypeScript) can already span across client and server implementations, tRPC allows a client to directly consume structures defined by the server’s exposed procedures. Essentially, you import your dependencies from the server to access these procedures, their return types are inferred and checked at build time, and your client code can confidently consume the returned data.

In this post, we’ll look at how it achieves these goals and what limitations it places on your project stack.

Transform Pub/Sub to Firestore Database in GCP

Rusty Divine Apache, Articles, Cloud, Data Science, Databases, Google Cloud Platform, Python Leave a Comment

This year, the client I work with has started exploring the offerings in Google Cloud Platform (GCP) after investing years into the Microsoft Azure cloud. The opportunity has allowed me to explore a few new technologies that this post will cover and that you will hopefully find interesting.

In short, I was tasked with transforming Pub/Sub to Firestore Database in GCP. The scenario explored in this post takes an FHIR healthcare data feed, extracts telephone and email information, and then stores that in a Firestore database.

To Rewrite or Not to Rewrite?

To Rewrite Or Not To Rewrite

Kevin Roper Articles, Development Technologies & Tools, Opinion, Programming Leave a Comment

A recent project got me thinking about the old trope that, upon getting involved in an existing project, the first thing any developer wants to do is rewrite it.

Obviously, that’s not always true, and in fact, I’ve rarely been tempted. But the following situation made the thought cross my mind, and it also led me to realize the reasons I didn’t bite.

Let’s talk about it, but first, I’ll talk more generally about rewriting codes, the potential benefits, and the reasons it’s typically best not to.

Programming Language

Why You Should Write Your Own Programming Language: The Life of a Donut

Keyhole Software Development Technologies & Tools, Keyhole, Programming Leave a Comment

What’s the best side project you’ve ever completed? For Keyhole Consultant Jake Everhart, so far, it’s writing his own interpretive programming language. He calls it Donut. Here’s more about why he made it, how he made it, and why it’s been so fun.