Workaday Reading

Develop, Preview, Test



"Writing tests is an investment, and like any other investment, it has to be evaluated in terms of its return and risks (e.g.: opportunity costs) it incurs in. The "not too many" keys in on that."

read »

Workaday Reading

iOSViewport.md



"Whether you're developing a web application with native-ish UI, or just a simple modal popup overlay that covers the viewport, when it comes to making things work on iDevices in Mobile Safari, you're in for a decent amount of pain and suffering."

read »

Workaday Reading

Do Not Follow JavaScript Trends



"It is one of those days. You typed in twitter.com in your browser and you saw a new tweet from someone on how to use React Hooks. But, for some reason, your company or a team hasn’t switched to using Hooks. Or, maybe you are using them, but not in a new “trendy” way. Perhaps you are using Vue."

read »

Workaday Reading

Regexes vs Combinatorial Parsing



"Recently, I’ve been working on a music app that needs to get a musical sequence (like a melody) from the server to the client. To do this, we use a format called ABC. (You can read about how ABC music notation works here."

read »

Workaday Reading

In defense of the modern web



"I expect I'll annoy everyone with this post: the anti-JavaScript crusaders, justly aghast at how much of the stuff we slather onto modern websites; the people arguing the web is a broken platform for interactive applications anyway and we should start over; React users; the old guard with their arti"

read »

Workaday Reading

Second-guessing the modern web



"The emerging norm for web development is to build a React single-page application, with server rendering. The two key elements of this architecture are something like: This idea has really swept the internet."

read »

Workaday Reading

CSS for internationalisation



"I’ve come across people who do not think that CSS is related to internationalisation at all, but if you think about it, internationalisation is more than translating the content on your site into multiple languages and calling it a day."

read »

Workaday Reading

env()



"The env() CSS function can be used to insert the value of a user agent-defined environment variable into your CSS, in a similar fashion to the var() function and custom properties."

read »

Workaday Reading

Cloud Design Patterns



"These design patterns are useful for building reliable, scalable, secure applications in the cloud. Each pattern describes the problem that the pattern addresses, considerations for applying the pattern, and an example based on Microsoft Azure."

read »

Git – suboptimal pack – out of memory – How to fix

Screenshot of "suboptimal pack - out of memory" warning

I was cloning a remote repo to set up a local install and got a suboptimal pack - out of memory notice quickly followed by the fatal failure of the clone. Man the ramparts! To the google! This was helpful: https://stackoverflow.com/a/4829883/9661226 By default pack.windowMemory and pack.packSizeLimit are set to 0 (which means unlimited). Apparently, and … Continued