|
As some of you are probably aware, I have the habit of going on two cyclical “kicks”, every year. Right now I’m going through a health-kick, which means I’m going to try a bunch of self-improvement type things until I forget I was doing them. Anyways, I’ve been seeing Headspace ads everywhere lately, so as a form of core rejection of their business model, I’ve been meditating on my own.
|
|
Every so often, I need to kill the odd unresponsive process. While I really like proced (check out Mickey Petersen's article ), I somehow find myself using macOS's Activity Monitor to this purpose. Kinda odd, considering I prefer to do these kinds of things from Emacs. What I'd really like is a way to quickly fuzzy search a list of active processes and choose the unresponsive culprid, using my preferred completion frontend (in my case ....
|
|
A brief discussion of verification methods on Mastodon (and their downsides). Read the whole thing .
|
|
A brief discussion of verification methods on Mastodon (and their downsides). Read the whole thing .
|
|
For my second project while learning Zig, I decided to port an old, minimal SQL database project from Go to Zig. In this post, in ~1700 lines of code (yes, I'm sorry it's bigger than my usual), we'll create a basic embedded SQL database in Zig on top of RocksDB. Other than the RocksDB layer it will not use third-party libraries. The code for this project is available on GitHub . Here are a few example interactions we'll support: ....
|
|
Adding dynamic Open Graph images and social cards to a Next.js application
-
tommasoamici.com
-
3 years ago
-
eng
Vercel recently announced a new service to generate OG Images dynamically. In this post I will show you how you can add this feature to a self hosted Next.js application. Read more
|
|
Adding dynamic Open Graph images and social cards to a Next.js application
-
tommasoamici.com
-
3 years ago
-
eng
Vercel recently announced a new service to generate OG Images dynamically. In this post I will show you how you can add this feature to a self hosted Next.js application. Read more
|
|
Writing a physics engine is an extremely complex task. It requires knowledge of physics, math and programming in order to create an accurate and efficient implementation. However, if we put aside performance and restrict us to the most important features, creating a simple engine is surprisingly straightforward and very satisfying. In this article, we will […]
|
|
On October 27, 2022, Elon Musk completed his purchase of Twitter. One week later, on November 4, 2022, he laid off approximately 50% of employees, killing the company. You can still log into twitter.com, your apps still work, your integrations still work, but make no mistake: this
|
|
I just learned that dedicated IndieWeb clients do exist! Sharing for those less familiar: Social readers fetch your feeds (RSS, Atom, h-feed, WebSub) from a MicroSub server and post replies to your site with MicroPub. Your site sends Webmentions. The result resembles the pre-ActivityPub, OStatus-based Fediverse but with single-user instances. RSS/Atom feeds for Fediverse accounts and POSSE connect the IndieWeb and Fediverse; alternati....
|
A site-to-site connection between pfSense/OPNsense with IPSEC is straight-forward. This post explains some of the peculiarities needed to establish a connection, if one side is behind a Carrier-grade NAT or in an internal subnet. This can happen, for example, with an upstream WAN uplink that uses a dynamic IP address. I also show how to handle routing with multiple subnets on one end, using Classless Inter-Domain Routing (CIDR) . The s..
|
A site-to-site connection between pfSense/OPNsense with IPSEC is straight-forward. This post explains some of the peculiarities needed to establish a connection, if one side is behind a Carrier-grade NAT or in an internal subnet. This can happen, for example, with an upstream WAN uplink that uses a dynamic IP address. I also show how to handle routing with multiple subnets on one end, using Classless Inter-Domain Routing (CIDR) . The s..
|
|
Creating Tic-Tac-Toe With an AI Player & Shortcuts for Python Decorators
-
realpython.com
-
3 years ago
-
eng
How do you create a computer opponent for a simple game within Python? Would you also like to learn how to adapt the game to run in a web browser or graphical user interface (GUI)? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.
|
|
I know that I’m some years (decades?) late, but here’s my take on writing a monad tutorial. When you start learning about Functional Programming, sooner or later, you will hear about “monads” - the secret handshake for functional programmers. For those coming from imperative languages, there’s a considerable learning curve to conquer before venturing into dealing with monads. Here we will see how the sausage is made in a mainstream la....
|
|
A discussion of the fifth of five fundamentals of cloud security: measuring what matters. (Part five in a five-part series.)
|
This is part two of a series XR, VR, AR 2022. See also my prior post, Dragon’s Lair and Hologram Time Traveler. It is not a coincidence or a mistake that US Federal Government is suing Facebook (Meta) over the company’s acquisition of Within–the company behind the virtual reality exercise app “Supernatural.” Venture capital friendly… Continue reading The Supernatural Lawsuit and Apple
|
|
We recently made updates to our SoundCloud iOS and Android apps to address key user experience (UX) fixes according to user feedback. We’ll…
|
|
The Jargon File defines Molly Guard as: A shield to prevent tripping of some Big Red Switch by clumsy or ignorant hands. Originally used of the plexiglass covers improvised for the BRS on an IBM 4341 after a programmer’s toddler daughter (named Molly) frobbed it twice in one day. Later generalized to covers over stop/reset switches on disk drives and networking equipment. In hardware catalogues, you’ll see the much less interesting ..
|
|
The Jargon File defines Molly Guard as: A shield to prevent tripping of some Big Red Switch by clumsy or ignorant hands. Originally used of the plexiglass covers improvised for the BRS on an IBM 4341 after a programmer’s toddler daughter (named Molly) frobbed it twice in one day. Later generalized to covers over stop/reset switches on disk drives and networking equipment. In hardware catalogues, you’ll see the much less interesting ..
|
|
The demijohns Link to heading I had the unfortunate task of clearing the family home last year, and one of the things I found was a couple of dusty old demijohns. I had fond memories of the sound they made slowly burbling away under the stairs when I was a child. My parents used to make home-made wine (my favourite being parsnip wine or parsley wine - I can’t actually remember which of the two it actually was), and when I got to..
|
|
The Jargon File defines Molly Guard as: A shield to prevent tripping of some Big Red Switch by clumsy or ignorant hands. Originally used of the plexiglass covers improvised for the BRS on an IBM 4341 after a programmer’s toddler daughter (named Molly) frobbed it twice in one day. Later generalized to covers over stop/reset switches on disk drives and networking equipment. In hardware catalogues, you’ll see the much less interesting ..
|
|
We recently made updates to our SoundCloud iOS and Android apps to address key user experience (UX) fixes according to user feedback. We’ll…
|
|
The demijohns Link to heading I had the unfortunate task of clearing the family home last year, and one of the things I found was a couple of dusty old demijohns. I had fond memories of the sound they made slowly burbling away under the stairs when I was a child. My parents used to make home-made wine (my favourite being parsnip wine or parsley wine - I can’t actually remember which of the two it actually was), and when I got to..
|
|
I just released Eve 2.0.4, the REST API framework for #python. It’s available on PyPI and includes a relevant security fix so you might want to update ASAP. Package info Docs
|
|
Shantaram is an epic novel following the semi-fictional life of the author as he escapes from a drug fuelled stay at a maximum…
|
|
Learn how to solve the Not So Smart Fridge challenge from Snyk's 2022 Fetch the Flag CTF competition.
|
Your brain can only focus on one thing at a time. Multitasking is just an excercise in context switching and the more important a task the costlier it is to switch contexts.
|
|
Your brain can only focus on one thing at a time. Multitasking is just an excercise in context switching and the more important a task the costlier it is to switch contexts.
|
|
Today I'm launching Postcard, the easiest way to make a personal website. In 5 minutes, you can create a page that looks great on any device - with no coding or design skills required. Host it on your...
|