Reading Notes, August 2018
Video: Steve Jobs responds to an Insult
Jobs responding to a question/insult about a particular technology. I think his response is a good reminder that before any technology, you need vision and principles for what youâre doing. Those will guide you more than any technology. In fact, focusing too much on just whatâs going on with the tech can often blind you to the potential of what youâre trying to do.
As we have tried to come up with a strategy and a vision for Apple, it started with âwhat incredible benefits can we give the customer, where can we take the customer?â not starting with âletâs sit down with the engineers and figure out what awesome technology we have and how we are going to market that?â And I think thatâs the right path to take.
Article: âWeftâ by Ethan Marcotte
I think we often focus on designing or building an element, without researching the other elements it should connect toâwithout understanding the system it lives in.
Later:
the visual languages we formalizeâtheyâre artifacts that ultimately live in a broader organizational context. (And in a context thatâs even broader than that.) A successful design project understands that context before settling on a solution
Article: âUTC is enough for everyone...right?â by Zach Holman
This is just a fantastic deep dive into working with dates and time in programming.
Tweet: Debugging techniques with customized console.log via @brian_d_vaughn
Look at this screenshot of the console.
One of the most powerful web debugging techniques I'm aware of is adding colors to console.log. Makes it possible to spot high level patterns in an otherwise noisy stream of data.
A cool technique I didnât know existed. Thereâs also a gist on how to implement.
Tweet: How selective sampling works by
A neat little .gif depicting the idea of downsampling in computer graphics but on a physical, real-world object.
Article: Flexibility by Jeremy Keith
Jeremy quoting from and commenting on the new book Flexible Typesetting from A List Apart.
It appears the book nods to the materiality of creating things for the web. Specifically, typography on the web should honor and respect the nature of its medium, which tends towards design being a suggestion, not a mandate. Hereâs a quote from the book:
Of course typography is valuable. Typography may now be optional [on the web], but that doesnât mean itâs worthless. Typographic choices contribute to a textâs meaning. But on the web, text itself (including its structural markup) matters most, and presentational instructions like typography take a back seat. Text loads first; typography comes later. Readers are free to ignore typographic suggestions, and often prefer to. Services like Instapaper, Pocket, and Safariâs Reader View are popular partly because readers like their text the way they like it
As the author states, âReaders [on the web] are typographers, too.â
Article: âThe Bullshit Webâ
First, the author gives us a preface from David Graeber detailing what he means by âbullshitâ:
Huge swathes of people...spend their entire working lives performing tasks they secretly believe do not really need to be performed. The moral and spiritual damage that comes from this situation is profound. It is a scar across our collective soul. Yet virtually no one talks about it...These are what I propose to call âbullshit jobsâ.
Then gives a good example of the kind of bullshit going on in the web: CNN claiming to have the highest number of âvideo startsâ in their category. This is a stat that we all know doesnât represent anything real but Iâm sure goes over well in a marketing meeting:
I donât know exactly how many of those millions of video starts were stopped instantly by either the visitor frantically pressing every button in the player until it goes away or just closing the tab in desperation, but I suspect itâs approximately every single one of them.
Or what about those âplease sign up for our newsletterâ emails?
[newsletter signup forms are everywhere.] Get a nominal coupon in exchange for being sent an email you wonât read every day until forever.
As a developer, you probably think âthese things only exist because of marketersâ. Then the author hits on a few things closer to home, which I think in certain cases are valid points:
there are a bunch of elements that have become something of a standard with modern website design that, while not offensively intrusive, are often unnecessary. I appreciate great typography, but web fonts still load pretty slowly and cause the text to reflow midway through reading the first paragraph
The article is a good look at what the web is becoming and how some of the things we think are so great, if we step back for one second, we might realize arenât so great after all.
Article: âSecuring Web Sites Made Them Less Accessibleâ by Eric Meyer
A reminder about how different internet access is around the world.
Eric was in rural Uganda teaching web development and trying to access the internet where his only option for connectivity was satellite internet:
For geosynchronous-satellite internet access, the speed of light become a factor in ping times: just having the signals propagate through a mixture of vacuum and atmosphere chews up approximately half a second of travel time over roughly 89,000 miles (~152,000km)... Thatâs just the time for the signals to make two round trips to geosynchronous orbit and back. In reality, there are the times to route the packets on either end, and the re-transmission time at the satellite itself. But thatâs not the real connection killer in most cases: packet loss is. After all, these packets are going to orbit and back. Lots of things along those long and lonely signal paths can cause the packets to get dropped. 50% packet loss is not uncommon; 80% is not unexpected. So, youâre losing half your packets (or more), and the packets that arenât lost have latency times around two-thirds of a second (or more). Each.
The web and its foundational architecture of TCP/IP is actually pretty amazing when you stop and think about it in light of Ericâs story. But anyway, his point was that to combat the problems of satellite-only connectivity, people create caching servers but those become problematic when everything is HTTPS because HTTPS is meant to stop man-in-the-middle attacks and a caching server is essentially a man-in-the-middle. Ericâs point is that âSecuring the web literally made it less accessible to many, many people around the world.â
I donât really have a solution here. I think HTTPS is probably a net positive overall, and I donât know what we could have done better. All I know is that I saw, first-hand, the negative externality that was pushed onto people far, far away from our data centers and our thoughts.
Article: âExploring the potential of friction-free deploymentsâ
I actually really love Netlifyâs ethos about how deploys should be so mundane, routine, and predictable that you could deploy every minute if you wanted. So this project was a cool outworking of that vision:
I decided to look at what could happen when continuous deployment is so mundane, so solved, so predictable, that I could deploy with confidence every day. Every hour. Every minute.
Article: âFive Key Benefits of âGoing Serverlessââ
What I love about JAM STACK
Imagine wanting to setup a cron job to scrape stack overflow once a day for support questions about your open source project. Itâs hard to justify paying 7 bucks a month for a server for something like this but in the serverless pay-per-execution landscape this would likely land under the free tier or a couple of cents a month.
Iâve been trying this on a few projects with Netlify and it works like a charm. Loving it.
Article: Bits by Ethan Marcotte
I totally agree with Ethanâs assessment here. People are always saying âthe web is slow, hereâs how to make it fastâ and they solve the problem from a technology perspective. But the mainstream web isnât primarily slow because of an ignorance in how to make it fast. Itâs slow because at the core of the webâs essence (and this is something that I think just happened organically over time) people expect everything on it to be free. So money has to be made somewhere, and it gets made by the boatloads of tracking/analytics JavaScript and other bloated bandwidth that ends up on websites.
ultimately, the webâs performance problem is a problem of profitability. If weâre going to talk about bloated pages, we should do so in context: in the context of a web where digital advertising revenue is cratering for publishers, but is positively flourishing for Facebook and Google. We should look at the underlying structural issues that incentivize a company to include heavy advertising scripts and pesky overlays, or examine the market challenges that force a publisher to adopt something like AMP.
Letâs stop kidding ourselves. This is the core issue.