Blog

#links

Really impressive demo. First, this is for single-page applications. Second, there is an API for multi-page applications. Check it out in Chrome Canary and look at the code. I discussed this with my team yesterday. The demo is built on Astro. All that is shipped to the browser is 301kB. Of that 291kB is images. Less than 5.5kB for the document, CSS, and JS. CSS is powering the transitions and only a bit of JS intercepts the navigation event, loads the fragment of HTML, injects it into the DOM, and adds the necessary classes to trigger the animations.

This is a truly impressive demonstration. With very minimal effort, one can use an SSG like Astro— which can run as an SSR too— and deliver a fully working application that requires no JavaScript but progressively enhances to dynamic page transitions with easy— something that is extremely difficult even for SPA libraries— and asynchronous page loading. Only 150 lines of JS are in this project— 150 lines that ship to the browser.

For an old curmudgeonly standards guy like myself, this gives me some hope that we can get back to the days of the largest assets we send to the browser are images instead of hundreds of kilobytes of JavaScript.

Source: Bramus

pugnacious (adjective)
having a quarrelsome or combative nature

Pugnacious individuals are often looking for a fight. While unpleasant, at least their fists are packing an etymological punch. Pugnacious comes from the Latin verb pugnare (meaning “to fight”), which in turn comes from the Latin word for “fist,” pugnus.

Merriam-Webster

I love looking up words that I come across. Looking into the origins. And then you’ll catch me laughing because your said porcelain. I know, I am weird. This word came up in reading through an old Spurgeon sermon this morning.

You are in a public place, praying silently. No one else around. The police approach you and ask the nature of your prayer. They then arrest you because you are not allowed to pray in this public space. Clearly this is a Muslim country where Shariah Law is enforced, right?

No, it is Britain.

Watch the video. I’m not exaggerating this. This isn’t a case of a Christian “praying” but also screaming at people or blocking sidewalks.

Christian, the old howl of “Christians to the Lions” is returning to London, just as Spurgeon feared. Not long before it is here in the States.

Something non-designers understandably struggle with is how to make things look good. One of those things is long form content that’s well set and readable. Luckily, CSS makes this easy, you just have to know what to change. That’s exactly what we’re going to teach you in this article.

Set Studio

So many good tips in this article from Andy Bell. I’m using many of them already on this site. Long-form content can be hard to format, so if you need some help, tap the link above!

There are many reasons to love the return of blogs. Folks taking the time to make a well-reasoned argument without truncating it to 140 characters is one of the biggest. And boy, William makes a great point here. Aside from the obvious spelling mistakes.

Clouds, and VPS’s before that, work on the age-old principle of buying in bulk and selling by the piece. You run one big server for $1,000/month, then you rent it out to seven people for $200/month, and voila, you’ve cleared a $400/month profit.

DHH, Don’t be fooled by serverless

This is something that has bothered me for some time. The prices of these services when compared to full servers is absurd. Hear that whole sentence. Compared to full servers. The response of many would be either a) “the prices are very low!” or b) “no one needs a full server!” The whole sentence matters. If you need a full server, the price is very high to rent it piecemeal. If you are going to eat a whole cow in a year, buying it pound by pound from the grocery store will cost substantially more than buying a whole cow.

But what happens if a customer needs the performance of a whole box, most of the time? Then they’re paying $1,400/month for $1,000’s worth of computing. Or maybe, because they’re reserving the whole box, they’ll get a deal at $1,250/month by committing to a whole year. That deal is far less obviously good on both sides. It’s basically a credit agreement at a 25% APR. Tread wisely!

But if you execute enough functions to fill the computing power of a whole box, it’s a terrible deal.

And then there is the lock-in. If you build an application in PHP or Ruby, you can basically run that anywhere. These cloud services are designed so you have to architect around them. If the pricing of my server for this site goes too high, I can take it elsewhere. It’s just HTML.

The further down the rabbit hole you go with “cloud-native” services in serverless, the harder it’ll be to climb out when you realize that you should own the donkey rather than rent it. And especially once you realize that paying to rent a whole donkey at the piece price of a hundred slices is an even worse deal than just renting the whole donkey by itself! […] And if you start off with a proprietary serverless setup, you might well find the lock-in impossible to escape by the time the rental math no longer works.

So who are these services best suited for?

The cloud is primarily for companies that have big swings in use – like Amazon’s original AWS case of huge demand around Black Friday and Christmas, which left them with unused capacity for the rest of the year – or for early outfits that don’t do enough business to either warrant owning a whole computer or spend so little on the cloud that it just doesn’t matter.

Now when you look at it like that, it makes you wonder why we give these people such a large stage while the very quiet majority don’t get a voice at all. The very quiet majority are out there building more than 90% of the web, after all.

Even a slight change in that dynamic would likely have a massive positive impact.

The (extremely) loud minority by Andy Bell

This is something bothering me a lot lately. There seems to be a sense that the majority are using JavaScript-heavy solutions for all the things, but the statistical truth is they are in the minority.

Even if you discount that: considering React has been around for a decade now, < 4% share of the top 10 million websites is pathetic, considering how much we are made to feel like it is the “biggest framework” (well, at least in bundle size, that’s true).

Edward I of England, also known as Hammer of the Scots, forced members of the Scottish nobility to swear fealty to him by signing oaths of allegiance that were collected on a number of parchments that together made up what came to be called the Ragman Roll (or Ragman Rolls, or Ragman’s Roll).

Over time ragman roll, for a long roll of parchment full of “nonsense,” eventually became rigmarole, a long, unnecessarily time-consuming hassle. No doubt a word that has always been useful.

Mental Floss

Especially in the long dark winter evenings, having your own website to constantly add to and improve is a great comfort blanket.

Hicks

I want the vibe to be less like a pristine Apple store, and more like a chaotic second-hand bookstore.

Adactio

This is one of the goals of this site. It is more stream of thought. But with that comes chaos. I relaunched Finley, I am. yesterday and quickly noted that the welcome article got pushed down because I published a second post. A quick, maybe not permanent fix was to add the Pinned Articles section on the homepage. I will be interating and dabbling on this site and have set it up to make that easier because of Astro. I deploy with a push to Github, making experimenting easy.