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 »

Reading Today

Recessions in Oregon (Graph of the Week)

“This morning the April employment report for Oregon was released. As expected it was catastrophic. Between the revisions to March and the preliminary data for April, Oregon has lost 267,000 jobs (-14%) in the past two months. The unemployment rate spiked to a record 14.2%.”

read full text »

Reading Today

French Defence

“This is most commonly followed by 2.d4 d5, with Black intending …c5 at a later stage, attacking White’s centre and gaining space on the queenside. White has extra space in the centre and on the kingside and often plays for a breakthrough with f4–f5.”

read full text »

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

Enabling mod_headers and CORS with Apache2

I’ve been working on a project and wanted to test out accessing media from a different domain using CORS. There’s two steps to this. Make sure you have Apache mod_headers enabled. Use apachectl -M on the command line interface and review the results. It should include something like this: headers_module (shared). If not then run … Continued

Workaday Reading

Same-origin policy

“The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin. It helps to isolate potentially malicious documents, reducing possible attack vectors.”


read »

Reading Today

COVID-19: Working Parents and Educators

““Everyone’s a Keynesian in a foxhole” is a popular economics phrase describing how public policy is important, especially in recessions. Riffing off of that I think we need to add “every parent’s an educator in a quarantine” to the list as well.”

read full text »

Reading Today

Human virome

“The human virome is the total collection of viruses in and on the human body.[3][4][5] Viruses in the human body may infect both human cells and other microbes such as bacteria (as with bacteriophages).[6] Some viruses cause disease, while others may be asymptomatic.”

read full text »