Blog Post Reading Words Per Minute

By | Engineering | No Comments

On many new blog and news sites, sorry not my blog, they have a ‘how long does this article take to read’ feature. This recently came up on an internal experiment and thought it would be fun to share the results. From readingsoft.com If top readers read at speeds of above 1000 words per minute (wpm) with near 85% comprehension,…

Read More

JavaScript – Replace Only Replaces First Occurence

By | Engineering | No Comments

It’s awkward to find out that the the string.replace(targetString, replaceWith) function in JavaScript doesn’t act like it does in most other modern programming languages. JavaScript will only find the first instance of the target string and replace it. It will not continue to find other instances of the targeted string and replace it. Java/.Net/etc. will search for all occurrences of…

Read More

Parse URL QueryString in Javascript

By | Engineering | No Comments

After stumbling through a few blog and stack overflow posts, I finally landed on an article by David Walsh to find the best way to parse a website URL with Query String parameters. In his article he refers to the use of a URLSearchParams JavaScript object that is natively available in modern browser. The URLSearchParams interface defines utility methods to work…

Read More