Despite the term async and its association with asynchronous
network I/O, this blog post argues that the
Tokio runtime at the heart of the Rust async
ecosystem is also a good choice for CPU-heavy jobs such as those
found in analytics engines.
To me, the two core features of Stacked Git are (1) allowing you to
name your commits, and (2) to navigate among them. Together, they
create a wonderful companion to help you keep your history clean.
If you've done any coding in Python, there's a good chance that
you've used a number in one of your programs. For instance, you may
have used an integer to specify the index of a value in a list.
But there's much more to numbers in Python than just their raw
values. Let's look at three things about numbers in Python that you
might not be aware of.
The descriptor protocol allow us to completely customize attribute
access. Python’s documentation describes the
protocol
with types involved described with words. Let’s look at how we can
write those as type hints.
SSH bastion hosts are an indispensable security enforcement stack
for secure infrastructure access. Every security compliance standard
that deals with remote infrastructure access (e.g., FedRAMP AC-17 -
Remote Access, HIPAA §164.312(a)(1) - Access control, SOC2 CC6.1 -
Manage Points of Access) mandates preventing direct network access
to the servers and APIs. Although it is relatively easy to deploy a
bastion host in your infrastructure, it should be noted that
securing a bastion host requires careful consideration from design
to deployment. After all, bastion hosts are the first target for
attackers looking to compromise access to infrastructure.
In this article, you will learn how packets flow inside and outside
a Kubernetes cluster. Starting from the initial web request and down
to the container hosting the application.
I’m maintaining a lot of different
projects at
the moment. I thought it would be useful to describe the process I
use for adding a new feature to one of them, using the new
sqlite-utils
create-database
command as an example.
I like each feature to be represented by what I consider to be the
perfect commit—one that bundles together the implementation, the
tests, the documentation and a link to an external issue thread.
Data-oriented programming (DOP) is not a new concept. It's a
paradigm that can be used by developers in any programming language,
it's purpose is to reduce complexity of information system that they
are designing.
One of the strongest sides of Go programming language is a built-in
concurrency based on Tony Hoare’s CSP
paper. Go
is designed with concurrency in mind and allows us to build complex
concurrent pipelines. But have you ever wondered - how various
concurrency patterns look like?
In this article, I’ll show you 20 smaller C++20 things that are
very handy and good to know. Ten language elements, and ten more for
the Standard Library. Most of them with a cool example.
Here’s a very quick “how to” post on how to find your domain’s
authoritative nameserver.
I’m writing this because if you made a DNS update and it didn’t
work, there are 2 options:
Your authoritative nameserver doesn’t have the correct record
Your authoritative nameserver does have the correct record, but an
old record is cached and you need to wait for the cache to expire
To be able to tell which one is happening (do you need to make a
change, or do you just need to wait?), you need to be able to find
your domain’s authoritative nameserver and query it to see what
records it has.
There’s chaos in Hollywood at the end of the New Year’s Eve
countdown. Working her graveyard shift, LAPD detective Renée Ballard
waits out the traditional rain of lead as hundreds of revelers shoot
their guns into the air. Only minutes after midnight, Ballard is
called to a scene where a hardworking auto shop owner has been
fatally hit by a bullet in the middle of a crowded street party.
Ballard quickly concludes that the deadly bullet could not have
fallen from the sky and that it is linked to another unsolved
murder—a case at one time worked by Detective Harry Bosch. At the
same time, Ballard hunts a fiendish pair of serial rapists, the
Midnight Men, who have been terrorizing women and leaving no trace.
Determined to solve both cases, Ballard feels like she is constantly
running uphill in a police department indelibly changed by the
pandemic and recent social unrest. It is a department so hampered by
inertia and low morale that Ballard must go outside to the one
detective she can count on: Harry Bosch. But as the two inexorable
detectives work together to find out where old and new cases
intersect, they must constantly look over their shoulders. The
brutal predators they are tracking are ready to kill to keep their
secrets hidden.
In the evening I started in The Dark
Hours
by Michael Connelly.