Skip to content

Instantly share code, notes, and snippets.

The target audience is people who are familiar with Urbit's architecture, though not necessarily much of its code.

Plunder and Urbit

As some of you already know, i recently left my job as a core dev for the Urbit Foundation to work on a similar system called Plunder. Plunder was created in 2020 by two former Tlon employees, after their proposal for a new version of Nock was rejected. They have since reworked that significantly and built a reference implementation of their own system. You can follow its continued development on its mailing list.

I've known about Plunder for quite some time now, but their recently released demo -- in which the system is used to serve a 70 GB dataset, complete with metadata and searchable -- made me feel the need to explore it again and in greater detail. Doing this with my personal server doesn't feel like a big ask, but there is currentl

@frodwith
frodwith / noun.py
Created May 18, 2023 01:11
Urbit nouns with mug, jam, and cue.
"""
Urbit nouns with mug, jam, and cue.
"""
import mmh3
from bitstream import BitStream
def byte_length(i: int):
"""how many bytes to represent i?

"Stepwisdom" and "step nomadism" are two competing philosophies of how to sequence code upgrades, and they have a very long history in Urbit.

Stepwisdom is the idea that the system should guarantee that every update to a piece of code is run stepwise, in order. That is, you only ever upgrade from version n to n+1. This is very nice for developers -- instead of considering n different possible upgrade scenarios, you can consider only one. This sounds so nice that we've always planned to do it, though somehow we've never quite got there.

#!/bin/bash
# Delete all duplicate rules
/sbin/service iptables save
/sbin/iptables-save | awk '/^COMMIT$/ { delete x; }; !x[$0]++' > /tmp/iptables.conf
/sbin/iptables -F
/sbin/iptables-restore < /tmp/iptables.conf
/sbin/service iptables save
/sbin/service iptables restart
if [ -f /tmp/iptables.conf ] ; then /bin/rm -f /tmp/iptables.conf ; fi
/+ *chat-json
:- %say
|= [[now=@da eny=@uvJ bec=beak] ~ ~]
:- %json
(inbox-to-json .^(inbox %gx /(scot %p p.bec)/chat-store/(scot %da now)/all/noun))
@IanColdwater
IanColdwater / twittermute.txt
Last active November 17, 2024 02:37
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@joshschmelzle
joshschmelzle / nanopi-m4v2-notes-and-cheatsheet.md
Last active October 28, 2021 00:21
nanopi-m4v2-notes-and-cheatsheet.md

Important Specs

Source

SoC: Rockchip RK3399
CPU: big.LITTLE,Dual-Core Cortex-A72(up to 2.0GHz) + Quad-Core Cortex-A53(up to 1.5GHz)
RAM: Dual-Channel 4GB LPDDR4
Onboard Networking:
 Ethernet: Native Gigabit Ethernet
@Harold2017
Harold2017 / go_cpu.md
Created June 25, 2019 04:48
golang cpu usage in docker

Golang CPU usage in docker

// test.go
package main

import (
	"fmt"
All albums uploaded to the /jp/ denpa thread since June 2018.
IF A LINK IS DEAD PLEASE CHECK THE LINKS HERE FIRST: https://gist.github.com/dnpcllctns/9424fcc4c80429253d3194251b4a15ed
If it's not there/not available then comment and let me know!
For uploads 2016 - 2018 see https://nyaa.si/view/1068471 or https://gist.github.com/dnpcllctns/9424fcc4c80429253d3194251b4a15ed
June - December 2018:
妄想の旅団 - 古代アイドル!黄泉比良坂88! (FLAC) - https://mega.nz/#F!W8UUVSwJ!1H_Y1fn55w-PqFqP0UUy-g
妄想の旅団 - ゆりゆりやんもえフィーバー (FLAC) - https://mega.nz/#F!ihFCCS7L!0fN-sPmjfW1r76DSW_EQ8w
シルクパラソル collection- https://mega.nz/#F!K91hzIqS!PPuzfXX0neFufLV5-le6Ww
とろ美 ‐ ねぎとろ美 - https://mega.nz/#!qgE01IjJ!C4IV1FwCy81ZqYpRM_AUx1mDeQIag1HvlWjdPyNHJxk
@dnpcllctns
dnpcllctns / denpa
Last active March 21, 2024 14:27
denpa
denpa collections.
Credit and thanks to all the original uploaders and those who have archived it so far.
Hopefully this will be a helpful addition. Long live denpa!
Updated April 2021. Please comment or email [email protected] if you have any requests/suggestions/problems.
Uploads from the /jp/ thread since June 2018:
https://gist.github.com/dnpcllctns/f79394cd283ee30834ee6e4bb484b502
Uploads from the "/jp/ Denpa Thead Collection (Jan 2016 - Jun 2018)" torrent that aren't included below:
https://mega.nz/#F!74shSKyB!uvt6pnVg0VSctLwd8D6mbA