Skip to content

Instantly share code, notes, and snippets.

View thoughtpolice's full-sized avatar
👊
omae wa mou shindeiru

Austin Seipp thoughtpolice

👊
omae wa mou shindeiru
View GitHub Profile
copying path '/nix/store/y7k6gpjwwspbpwvw3vax3xc3y53qg0rj-source' from 'https://cache.nixos.org'...
these 2 derivations will be built:
/nix/store/ayr9vl7jr4z2azgpi4aifsarphmwp6qp-rust-default-1.76.0.drv
/nix/store/8b9ggcviqn7527byhjw3i6283g015xqq-jujutsu-unstable-a67aa08.drv
these 494 paths will be fetched (396.52 MiB download, 2160.07 MiB unpacked):
/nix/store/4mcxx470kb3lzgnflzpak6ag3vwvndc7-acl-2.3.1
/nix/store/zfbjg6x5k8z8byqdfnl6d2mpavk1p8gg-addr2line-0.21.0
/nix/store/273bq3425w8izrzxq13l3cvvwc0rd4ib-adler-1.0.2
/nix/store/6ajx1dfbhd9iyf379k4dvjm5g3wbipay-aho-corasick-1.1.2
/nix/store/5pqxmpz1z6qwg03i51687g9nv05bdvzl-android-tzdata-0.1.1

Testimonials

You might not be ready to make the jump to Jujutsu yet. It's understandable; new tools come with new lessons, failures, and ideas to absorb. They require practice. In order to provide some motivation, we've collected a number of real, 100% authentic testimonials — from our loving users, our silly developers — all to tip the scales and get you on our side!

What the users have to say

Rebased 950171 descendant commits
Working copy now at: kmpsky ⇜ 524b2b01 (empty) (no description set)
Parent commit : uqwumrw ⇜ a9a73403 Bug 1664278 - Expose an "always underline links" checkbox in settings. r=morgan,settings-reviewers,fluent-reviewers,Gijs
========================================
mimalloc memory allocation statistics:
heap stats: peak total freed current unit count
normal 1: 885.9 KiB 102.9 MiB 102.9 MiB 384 B 8 B 13.4 M not all freed
normal 2: 141.4 MiB 387.0 MiB 387.0 MiB -1.4 KiB 16 B 25.3 M ok
normal 4: 675.0 MiB 4.4 GiB 4.4 GiB -2.3 MiB 32 B 148.4 M ok
austin@GANON:~/src/jj$ jj diff --git
diff --git a/cli/src/main.rs b/cli/src/main.rs
index db2c991290...e8cfdf3e4e 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -26,5 +26,6 @@
fn main() -> std::process::ExitCode {
libfault::install(&APP_INFO);
+ unsafe { std::ptr::null_mut::<i32>().write(42) };
@thoughtpolice
thoughtpolice / determinator.clj
Created October 20, 2023 18:49
target determination for jujutsu and buck2
(require '[babashka.cli :as cli])
(require '[babashka.fs :as fs])
(require '[babashka.process :as process])
(require '[clojure.data :as data])
(require '[clojure.set :as set])
(def cli-opts {
:mode {:default "paths_and_contents"}
:from {:coerce :string :require true}
:to {:coerce :string :default "@"}
@thoughtpolice
thoughtpolice / zdict.h
Created October 8, 2023 19:51
zstd single file release: v1.5.5
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may select, at your option, one of the above-listed licenses.
*/
PASS [ 0.013s] jj-lib::test_view test_merge_views_branches
PASS [ 0.013s] jj-lib::test_view test_merge_views_checkout
PASS [ 0.014s] jj-lib::test_view test_merge_views_child_on_abandoned::abandon_first
PASS [ 0.014s] jj-lib::test_view test_merge_views_child_on_abandoned::add_child_first
PASS [ 0.015s] jj-lib::test_view test_merge_views_child_on_rewritten::add_child_first
PASS [ 0.015s] jj-lib::test_view test_merge_views_child_on_rewritten::rewrite_first
PASS [ 0.015s] jj-lib::test_view test_merge_views_child_on_rewritten_divergent::add_child_on_rewritten_add_child_first
PASS [ 0.015s] jj-lib::test_view test_merge_views_child_on_rewritten_divergent::add_child_on_rewritten_rewrite_first
PASS [ 0.017s] jj-lib::test_view test_merge_views_child_on_rewritten_divergent::add_child_on_unchanged_add_child_first
PASS [ 0.015s] jj-lib::test_view test_merge_views_child_on_rewritten_divergent::add_child_on_unchanged_rewrite_
jujutsu-unstable-ee9381f> test_merge_views_branches
jujutsu-unstable-ee9381f> test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 20 filtered out; finished in 0.01s
jujutsu-unstable-ee9381f>
jujutsu-unstable-ee9381f> --- STDERR: jj-lib::test_view test_merge_views_branches ---
jujutsu-unstable-ee9381f> thread 'test_merge_views_branches' panicked at 'assertion failed: `(left == right)`
jujutsu-unstable-ee9381f> left: `{"feature": BranchTarget { local_target: RefTarget { conflict: Conflict { removes: [], adds: [Some(CommitId("2441fee56e4d6110aedf1d1e66c80c004db552ee3b8677a095b9bc1c7e731b6ed41d87269d0b84a9c034a844d3af11443654d7f1430fdb005a21033de027f426"))] } }, remote_targets: {} }, "main": BranchTarget { local_target: RefTarget { conflict: Conflict { removes: [Some(CommitId("7211fcae3776f82f6fd13a6193b75b57558755a27a54e79ee8cf317ea938daa07588b150563c39375e95fbd16db9713482c5524dbe1491fbdb3cc6e9908351fa"))], adds: [Some(CommitId("a1160d5c9c171ca09a1b2aca4696581735f0e012c8f6a5adc37a
@thoughtpolice
thoughtpolice / jj-signoff.sh
Last active March 20, 2024 17:28
my jjconfig.toml
#!/usr/bin/env bash
set -euo pipefail
NAME=$(jj config get user.name)
MAIL=$(jj config get user.email)
CID=$(jj log --no-graph -r @ -T "change_id" | sha256sum | head -c 40)
SIGNSTR="Signed-off-by: ${NAME} <${MAIL}>"
CHGSTR="Change-Id: I${CID}"
@thoughtpolice
thoughtpolice / ksuid.ts
Created June 9, 2023 02:21
Standalone implementation of KSUIDs for TypeScript
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2017-2021 Mark Wubben <mark@novemberborn.net>
// SPDX-FileCopyrightText: 2017-2023 Segment.io
// SPDX-FileCopyrightText: 2023 Austin Seipp <aseipp@pobox.com>
// Implementation of KSUIDs, a K-Sortable Globally Unique IDentifier, as defined
// by https://github.com/segmentio/ksuid -- this is a port of the upstream
// project to typescript/deno, with some modifications.
//
// External API based on the one from https://github.com/novemberborn/ksuid,