After almost five years in development, the new HTTP/3 protocol is
nearing its final form. Earlier iterations were already available as
an experimental feature, but you can expect the availability and use
of HTTP/3 proper to ramp up over in 2021. So what exactly is HTTP/3?
Why was it needed so soon after HTTP/2? How can or should you use
it? And especially, how does it improve web performance? Let’s find
out.
While there are many resources to help programmers write better
code—such as books and static analyzers—there are few for writing
better comments. While it's easy to measure the quantity of comments
in a program, it's hard to measure the quality, and the two are not
necessarily correlated. A bad comment is worse than no comment at
all. Here are some rules to help you achieve a happy medium.
Lately I’ve had the chance to work on a fairly large code base built
upon a service-oriented architecture. In order to test each service
in isolation, we make extensive use of Mock to simulate services
that the code under test depends on.
During this process, we noticed that each member our team seemed to
be hitting the same pitfalls, which I’m going to present in this
article in the hope that it might help other developers.
For the first time ever, bestselling novelists Jonathan and Faye
Kellermen team up to deliver the launch book in a thrilling new
series of short crime novels. This book--printed as a reversible
volume with two different covers--contains two stories featuring
different detectives solving crimes in different cities.
In the evening I started in the first story of Double
Homicide,
written by Jonathan Kellerman.
The X-Robots-Tag can be used as an element of the HTTP header
response for a given URL. Any directive that can be used in a robots
meta tag can also be specified as an X-Robots-Tag.
When your app gets bigger, managing files within a project gets more
complex. You may start to have modules shared between front-end and
back-end projects. Often, you also need to manage different versions
of those modules.
A monorepo is a way to structure your projects to manage that kind
of complexity all in one place.
Actors is a feature that is part of Swift's Structured
Concurrency, bringing a brand new format to write and deal with
asynchronous code. Although what Swift brings is new to the
language, it's not new to tech itself. Many languages supported
actors and async/await before Swift, but one interesting thing is
that they are all implemented similarly. By having these features
now in Swift, there's much we can learn from what developers
experienced by using them in other languages.
In the afternoon I finished Shards of
Earth,
The Final Architecture Book 1 by Adrian Tchaikovsky. I liked the book
a lot. It's action packed and well written; recommended.
Safari is holding back the web. It is the new IE, after all. In
contrast, Chrome is pushing the web forward so hard that it’s
starting to break. Meanwhile web developers do nothing except moan
and complain. The only thing left to do is to pick our poison.
In a recent conversation, someone shared some code from a book about
technical job interviews. They wanted to know if I agreed that the
code was “Pythonic.”
As Harry, Ron, and Hermione race against time and evil to destroy
the Horcruxes, they uncover the existence of the three most powerful
objects in the wizarding world: the Deathly Hallows.
In the evening Esme, Alice and I watched Harry Potter and the Deathly
Hallows: Part 1. While I did
like the movie I had the feeling something was missing; I give it a 7
out of 10.
Each new version of Python adds new features to the language. For
Python 3.8, the biggest change is the addition of assignment
expressions. Specifically, the := operator gives you a new syntax
for assigning variables in the middle of expressions. This operator
is colloquially known as the walrus operator.
A bloom filter is one of those data structures you are probably
already aware of, or have at least heard about. For those looking
for a simple recap, they are a probabilistic data structure which
can be used to determine if something is in a set or not, giving a
slight chance of returning a false positive result for some checks
but while using less space than a full hashmap.
What you may not know is that while you can use them as a space
efficient hash/dictionary there are other use cases you might not be
aware of.
After seeing how to extract content from a
website
and how to avoid being
blocked,
we'll take a look at the crawling process. To get data at scale,
getting a few URLs by hand is not an option. We need to use an
automated system that will discover new pages and visit them.
Recently a blog post came out which I quite like, it describes how
to use the concrete base
transformers. It’s
very thorough and gives a concrete example for using
transformers. Although it looks quite low level and I think you’ll
get more out of transformers by using full MTL.
We are pleased to announce a new, major privacy enhancement to
Firefox’s cookie handling that lets you fully erase your browser
history for any website. Today’s new version of Firefox Strict Mode
lets you easily delete all cookies and supercookies that were stored
on your computer by a website or by any trackers embedded in it.
Astronomers now think Caselden found a brown dwarf — a failed star
that lacks the necessary bulk to begin nuclear fusion in its
core. “It forms like a star,” said Sarah
Casewell,
an astronomer at the University of Leicester in the U.K. “However,
it never gains enough mass to fuse hydrogen into helium and start
burning anything.”
Like so many things in CSS, the transform property is surprisingly
remarkable.
At first glance, it may seem like a pretty niche thing. How often do
we need to rotate or skew something, after all? And yet, the more I
learn about transform, the more I find myself taking advantage of
it. In my blog's codebase, I've used the transform property more
than 350 times!
In this blog post, we're diving deep into the transform
property. I'll show you some of the cool and unexpected things you
can do with it!
I came across this website, Gridless
Design recently, and it immediately
struck a chord. It’s something I’ve been thinking about for a long
time — the way that the usual design process, where designers hand
off static mockups based, so often, on a 12-column grid, is not fit
for purpose. I know I’m far from the first person to think that way,
but increasingly with the advancements in CSS layout in recent
years, the design grid feels more like a hangover from print than
ever. A solution to a problem that, on the web, we simply don’t
have.