Do You Live in a 15 Minute City? / / No Comments A 15 Minute City is an urban environment which promotes a sustainable future by ensuring that all the essential needs of individuals can be accessed without having to get in a car or use public transport. These essential needs include such things as grocery stores, health care facilities, cultural attractions, transit stops, educational facilities and leisure activities. Individuals living in a Maps Mania… more → Posted in: Interactive Maps Tagged with: City, live, Minute
Determine Default App for File Type from Command Line / / No Comments One quality of life improvement any developer can make for themselves is ensuring different file types open in the app they’re most proficient in. If you know me, you know I prefer accomplishing as much as possible from the command line. The duti utility allows users to determine default file type from command line. The duti utility allows developers to query which app is the default for different file types. You can install duti with brew: brew install duti Once you have duti available, you can check on the default app for file type with the following command: ~ duti -x md Xcode.app /Applications/Xcode.app com.apple.dt.Xcode You can set the default app by using its package: duti... more → Posted in: JavaScript Tagged with: Command, default, determine, file, from, line, type
Mapping the Growth of a City in 3D / / No Comments Zurich 4D is an interactive 3D map of Switzerland’s largest city. The map was developed by the city’s Building Department in order to provide a freely accessible 3D model of the city. The Zurich 4D map allows you to explore more than 50,000 buildings in Zurich in glorious 3D and is used by the city for planning construction projects, modeling noise pollution, and city planning etc. What Maps Mania… more → Posted in: Interactive Maps Tagged with: City, Growth, Mapping
Skip or Only Run a Test with JavaScript Mocha / / No Comments Whenever I start to feel anxiety about a big change I’m making, I start writing more unit tests. I’ll write down my fear and then write a test that attacks, and eventually relaxes, that fear. There are two actions that I’ve been frequently using with test writing: skipping all but one test or single tests. Skip a Test Oftentimes I will create tests with empty bodies so that I don’t forget to write them. To skip a test which is incomplete or known to fail, you can use xit: xit('does the thing I want', () ={ }); Once the test is complete or ready to be applied, you can change xit back to it. Run a Single Test To run only a single test with the Mocha test framework,... more → Posted in: JavaScript Tagged with: JavaScript, Mocha, only, Skip, test
Building a Placeholder Web Component with No External Dependencies / / No Comments As my readers can tell, I’m on something of a web component kick, and while I’m enjoying building silly examples, today I wanted to share one I thought might actually be useful – a placeholder component that doesn’t use any external services. Raymond Camden… more → Posted in: JavaScript Tagged with: building, Component, Dependencies, External, Placeholder
Watercolor World / / No Comments Watercolor World has added the Scott Polar Research Institute’s collection of watercolor paintings to its interactive map of watercolor paintings. Watercolor World is an interactive map and free online database of documentary watercolour paintings, all of which were painted before 1900. The Scott Polar Research Institute at the University of Cambridge owns a large collection of polar paintings Maps Mania… more → Posted in: Interactive Maps Tagged with: Watercolor, World
A PDF Embed Web Component / / No Comments I’m still pretty new to web components (see my post back in May, My First Web Component), but I’ve been playing with them, and other libraries that wrap them, off and on. Recently I decided to revisit something I had tried at the time I first played with the technology, a wrapper for Adobe’s PDF Embed library. Raymond Camden… more → Posted in: JavaScript Tagged with: Component, EMbed
Exploring the Lakes of Mars / / No Comments Freie Universität Berlin’s Jezero Crater interactive map allows you to take a virtual tour of the landing site on Mars of the 2020 Perseverance rover. This tour includes a synthesized 360 degree panorama of the crater as it might have once looked, when water still existed on Mars. The interactive Jazero Crater map shows the track of Perseverance, revealing the parts of the Jezero crater which Maps Mania… more → Posted in: Interactive Maps Tagged with: Exploring, Lakes, Mars