Result: https://mcflurry.jshowers.com/ My new rescue dog McFlurry is popular at cafes and different places around town. I wanted to make a site featuring some photos of her, including photo metadata like: dates and GPS location data. My goals were to develop this quickly, without touching code, and completely for free. I started a new git [&hellip
Read More…
I was recently faced with the challenge of needing to add translations to a hierarchal database setup in Django/Python. We wanted these translations to be stored in the database for multiple languages (for access through a CMS), where not every field on the model needed to be translated. These translations should be auto generated from [&hellip
Read More…
Where am I? In real time: whereis.jshowers.com When I went full time digital nomad, I started using a public Google calendar to share with family and friends where I was. This also helped me organize my thoughts and travel dates. I wanted to make a simple graphical representation of this calendar, so I decided to [&hellip
Read More…
Recently I was tasked with sorting a list of countries, that were translated to Portuguese, in alphabetical order. Because the list contained special characters, “normal” Python .sort() was not working, putting the accented characters at the end of the list since their mathematical UTF8 representation was technically after the English alphabet. “África do Sul” should [&hellip
Read More…
A MiddlewareFilter is the perfect tool for creating conditional logic on MVC controllers or actions using .NET Core. It receives the Middleware benefits of natural dependency injection, and also can dip into the MVC pipeline. You can use it conditionally, see current MVC routes, and also short-circuit before the MVC action happens. Here is how to [&hellip
Read More…
What is dynamic routing? The purpose of dynamic routing is to produce pretty, intuitive URLs on your website that help improve SEO and make your application look more professional. For example, if I own the site ferrets.com and have a database of the different breeds of ferrets, I could use dynamic routing to produce URLs [&hellip
Read More…
My boyfriend started growing some indoor plants from seed that require a specific photosynthesis schedule. He asked me to remember to turn a light switch on in the morning, and off at night for the plants. What year is it?? Coincidentally, my co-worker and friend had recently given me a few Z-Wave devices: a USB [&hellip
Read More…
In order to maintain historical accuracy, data should not be truly deleted from a database. A soft delete can be used to signify a record is no longer valid, while persisting the data for any later use. Usually this is done by adding a “disabled” or “deleted” boolean column to each table on the database. [&hellip
Read More…
I first noticed the yield keyword on some shared code at work about a year ago. Befuddled, I read MSDN’s description of the yield keyword a few times, yet I still didn’t completely understand it. In traffic law, the yield sign is defined as follows: A yield sign indicates that each driver must prepare to stop [&hellip
Read More…
A friend of mine, who runs the facebook page borkborkiamdoggo, approached me a few months ago wanting to set up a WordPress site that would consist of posts from the Facebook page. Each Facebook post with an image, should turn into a post on the WordPress site, helping to engage SEO and visibility to the [&hellip
Read More…