This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.
⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.
| We got a root project (project-a) which has a submodule (project-b). That submodule in turn has a submodule (project-c). | |
| Each project also contains some files. | |
| project-a @ 5r210h6/ | |
| ├─ some-file.a | |
| ├─ other-file.a | |
| ├─ third-file.a | |
| ├─ project-b @ 196a095/ | |
| │ ├─ some-file.b | |
| | ├─ more-file.b |
| /** | |
| * Typed Web Worker. | |
| * | |
| * type InputData = { name: string }; | |
| * type OutputData = { nameLength: number } | |
| * | |
| * // main.js | |
| * const worker = createTypedWorker<InputData, OutputData>(worker); | |
| * | |
| * // worker.js |
There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.
While it's not possible to define a <script type="importmap"> within a module, it is possible to define it in a synchronous <script> tag, as long as it's before any module starts executing.
Example (works in Chrome / Edge / WebKit / Safari / Firefox)
<!DOCTYPE html>
<html lang="en">
<head>| const std = @import("std"); | |
| // usage: | |
| // ./file-path:0 10 | |
| // 1 2 3 | |
| // 1. file path | |
| // 2. Byte offset in file | |
| // 3. ms update interval | |
| pub fn main() anyerror!void { |
As an exercise, I started to design and implement a database in some of my free time. As I started working through some of the details, there were a few things that I knew I wanted to work with and a few things I wanted to evaluate. Since I'm looking at more of a CP system, my mind immediately jumped to Raft. But which implemenation to use? And what storage mechanism? Since I had more familiarity with Hashicorps implemenation, I started there.
The first thing I wanted to do was consider the performance characteristics of the underlying data stores. One of the nice features of the hashicorp implementation is it allows callers to plugin in different stores for logs, stable, and snapshots. There's a whole slew of community implementations.
| // you need this in your cargo.toml | |
| // reqwest = { version = "0.11.3", features = ["stream"] } | |
| // futures-util = "0.3.14" | |
| // indicatif = "0.15.0" | |
| use std::cmp::min; | |
| use std::fs::File; | |
| use std::io::Write; | |
| use reqwest::Client; | |
| use indicatif::{ProgressBar, ProgressStyle}; |
| describe("when navigating between focused buttons", () => { | |
| let buttons: HTMLElement[]; | |
| beforeAll(() => { | |
| let rendered = renderTestAccordion(); | |
| buttons = rendered.buttons; | |
| }); | |
| it("should move focus to the next focusable button on `ArrowDown` press", () => { | |
| // document.activeElement is the body here, cool | |
| buttons[0].focus(); |