Reading Files in NodeJS

posted in: Uncategorized | 0

When I first needed to read some files in node I just assumed they would fit in memory.  A few 1000 lines is easy: const recordString = fs.readFileSync(filename, ‘utf8’);const recordStrings = recordString.split(“\n”); But then I needed to read in a … Continued

Cosmos DB

posted in: Uncategorized | 0

I have been coding changes to a product so it will work with Cosmos DB as a “drop in” replacement for MongoDB via the MongoAPI.  Several thousand lines of “just for CosmosDB” later I would say that “drop in” is … Continued

Unlocked Phones and APNs

posted in: Uncategorized | 1

Yesterday I bought an unlocked T-Mobile phone (LG V20. I like them big with replaceable batteries).  Aside from having to enter passwords and update 2 factor authentication for a half dozen sites the transition was trivially easy.  Log in to … Continued