Quarantine Foods

The year 2020 started normal. Every weekday, I go to office. Three times a week, I pump those muscles at the gym. Every four days, I visit the grocery store to pick up a loaf of bread, along with other ingredients. Every Friday evening, I have a video chat with my family.

🕒 12 Timezones Away — 3 Timezones Away — Oops, It's Here

The first sign of problem occurred on Chinese New Year's Day. Traditionally, my mother's extended family would have an annual gathering during the holidays. However, my mother informed me that their gathering has been canceled, because there's a Coronavirus outbreak in parts of China. I thought, well, this doesn't affect me, because I live in Maryland USA, 12 timezones away from China.

The next week, China entered a lock down due to the spreading virus. My father found himself relying more on grocery delivery services. A difference from what I observed in 2017 is that, the gated community is not allowing delivery persons to enter the neighborhood, and my father has to collect his deliveries at the neighborhood entrance. At the same time, I heard on Twitter that the Coronavirus has reached the Chinese community in Seattle, 3 timezones from me.

In early March, the Coronavirus reached Maryland. A week later, public schools are being closed. This is when things started to get serious.

Getting Started with NDNts in Node.js

This article shows how to get started with NDNts, Named Data Networking (NDN) libraries for the modern web. In particular, it demonstrates how to write a producer and a consumer application in Node.js using JavaScript programming language, and transmit a few Interest and Data packets via NFD forwarder on the local machine.

Prepare the System

This guide is written for Ubuntu 18.04 operating system. If you have a Windows PC, you can enable Windows Subsystem for Linux and install Ubuntu 18.04 from the Microsoft Store. If you have a Macbook or a Linux machine other than Ubuntu 18.04, you can install Vagrant, and create a virtual machine using bento/ubuntu-18.04 template. All steps below should be executed inside Ubuntu 18.04 environment.

To use NDNts, you must have Node.js. As of this writing, NDNts works best with Node.js 14.x, and you should install that version. The easiest way to install Node.js is through Node Version Manager (nvm). To install nvm and then install Node.js, type the following commands in Ubuntu 18.04 terminal:

$ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
$ nvm install 14
Now using node v14.2.0 (npm v6.14.4)

Introducing NDNph and New Version of esp8266ndn

NDNph is my latest Named Data Networking (NDN) client library. This article gives an overview of this library.

History and Motivation

In 2016, I started esp8266ndn. It contains a copy of ndn-cpp-lite, UCLA REMAP's C++ library that does not use dynamic memory allocations. I then added integrations with ESP8266's network stack and crypto functions, making esp8266ndn the first NDN library that works on the ESP8266 microcontroller. Using this library, I built several projects, including a wearable jewelry and a call button. University of Memphis also deployed several sensor nodes using esp8266ndn.

Over the years, esp8266ndn gained many new features, and widened platform support to include ESP32 and nRF52. However, using ndn-cpp-lite as the core is becoming problematic:

  • New protocol features show up slowly, because ndn-cpp-lite author would not add a feature until ndn-cxx has it, and design discussions for ndn-cxx sometimes take several years.
  • There is no generic TLV encoder/decoder, making it difficult to support TLV structures in application layer.
  • ndn-cpp-lite is bloated with obsolete features, due to their backwards compatibility guarantees. Consequently, binary code size is unnecessarily large.
  • Although I can add patches to ndn-cpp-lite during importing into esp8266ndn, it has been difficult to test these patches. This isn't ndn-cpp-lite's fault, but is still an issue.

Thought Provoker #3

The title comes from a geocache named Thought Provoker #3. Inside the container there is a thought provoking question:

If you could travel across the United States of America (and had no other obligations, financial or time constraints) what mode of transportation would you use and why? Walk/run, ride a bike, ride a motorcycle, hitchhike, drive a car, drive a RV/motorhome, take trains, or something else?

Here are my answers.

First Choice: Geocaching Express 6000

The Geocaching Express 6000 GPS Receiver is a powerful GPS receiver, as shown in Geocaching International Film Festival (GIFF) 2019:

Geo-snatching

Geo-snatching is the act of finding loopholes instead of geocaches.

This includes:

  • armchair geocaching;
  • hacking your smartphone's location so you can log Adventure Labs or solve Whereigo cartridges without visiting the location;
  • logging an FTF on a friend's cache that you helped place;
  • finding your own caches by adopting it to a sock puppet account (aka rule 52612);
  • other general tomfoolery.

The term geo-snatching was invented by gsmX2 on this Facebook post. This article explains what geo-snatching or geosnatching means in geocaching, and how a geo-snatcher or geosnatcher differs from an honest geocacher. Content of this article does not necessarily reflect blog owner's views.