I went for a nice Easter hike at the Hampton Hills trail area today.
Continue reading post "#3376"Toby's Log page 25
After weeks of fairly solid spring-like weather, mother nature decided to give us some snow for April Fools Day.
Continue reading post "#3370"Covid shot 1
I got my first Covid vaccine shot today, the Pfizer one. It was unplanned until maybe an hour and a half beforehand when a few time-slots popped up as available at the Wolstein Center. In a mere five weeks, I will be theoretically mostly immune to the disease that has so dramatically affected the world for over a year.
Continue reading post "Covid shot 1"People across the street had a fire in their basement.
Continue reading post "#3364"Overnight going into Friday was quite windy.
Continue reading post "#3361"The spring weather keeps going strong. We breached 70°F today and I opened my house’s windows for the first time this year.
Continue reading post "#3358"I had a reuben and a shamrock shake this evening to belatedly celebrate St Patricks Day.
Continue reading post "#3351"Summit County has deemed my property to have increased 71% in value in the last three years (when they last adjusted it). I know the market is hot, but that seems extreme.
Continue reading post "#3349"Idea: A lodging establishment called Linked Inn. It would likely cater to business travelers and have some nice common spaces for meeting others as well as conference rooms.
JS: ES Modules and Node bare specifiers via response rewrite
I’ve been playing with JS lately, including ES modules and building with Rollup, Babel, and Terser, along with other accessories. One thing I’m disappointed with of ES modules in the Nodejs ecosystem is dealing with third party imports. Using the “bare” specifiers that Node expects works fine in that environment and thus tools running in it (possibly needing helpers), but they don’t work at all directly in the browser. This is discussed in this post by Jake Archibold, for instance.
Import maps are one solution in the works, but that requires explicitly mapping every dependency, which could get complicated fast when dependencies have dependencies. It also is only in draft stage and only works in Blink based browsers currently.
I eventually gave in to the idea of having server code rewrite the paths in the js file responses to point to a symlinked node_modules
folder, similar to what is mentioned in this post by the Polymer project. I created a PHP test server for one of my projects that does this.