Skip to content

Instantly share code, notes, and snippets.

View emberian's full-sized avatar

emberian

View GitHub Profile
@emberian
emberian / devnetstopslot.md
Created April 3, 2024 22:30 — forked from amc-ie/devnetstopslot.md
Mina Devnet 1.5.0 Stop Slot Release

❗ This release is only to be used as part of the Devnet Upgrade ❗


This release is the first phase of the Devnet upgrade that specifies the stop slot in the codebase that formally begins the process. This isthe first stage in a two stage process; the next devnet release will usher in the start of the new Devnet and as such the new era of Berkeley functionality on our Devnet!


Supported environments include macOS, Linux (Debian 10, 11 and Ubuntu 20.04 LTS), and any host machine with Docker.

@emberian
emberian / migrationrelease.md
Last active April 2, 2024 00:42
Mina 3.0.0 Migration Tooling Release Notes Draft

The O(1) Labs team is excited to announce the release of the tools required to migrate Devnet archive database! The release will enable archive node operators on Devnet to incrementally migrate their database before the Berkeley Upgrade on Devnet.

The new tools included are:

  1. mina-archive-maintenance: A tool to verify that the devnet archive database is correct and up-to-date. If the database is missing blocks, then the tool patches using blocks exported as json files by mina daemon. Users can also find these blocks in gs://mina_network_block_data location. Please refer here for documentation on this tool.

  2. mina-berkeley-migration-script: This script uses multiple tools to migrate devnet database and verify the migrated database. For documentation on how to use the tooling, either the toplevel simplified script or understanding the individual components, please refer to the [draft documentation]

@emberian
emberian / migrationrelease.md
Last active March 29, 2024 22:53 — forked from amc-ie/preupgraderelease.md
Migration Tooling Release

April Fool's! These release notes are from ChatGPT.

You might want to read the real deal.

🚀💥 O(1) Labs Team is ALL FIRED UP to Drop the LATEST Devnet Archive Migration Tools! 💥🚀

🎉 BIG NEWS, Friends! 🎉 We're thrilled to bits to unveil the shiny new gadgets you'll need for a smooth sail through the Devnet Archive Database Migration! Get ready to kick things up a notch before the Berkeley Upgrade hits Devnet. 🚀

What's Cooking? 🔥

{"timestamp":"2024-03-22 02:10:42.349677Z","level":"Info","source":{"module":"Dune__exe__Precomputed_block","location":"File \"src/app/berkeley_migration/precomputed_block.ml\", line 238, characters 10-21"},"message":"Finished downloading precomputed blocks","metadata":{}}
{"timestamp":"2024-03-22 02:56:07.268961Z","level":"Info","source":{"module":"Dune__exe__Berkeley_migration","location":"File \"src/app/berkeley_migration/berkeley_migration.ml\", line 490, characters 6-17"},"message":"Migrating mainnet blocks","metadata":{}}
{"timestamp":"2024-03-22 02:56:07.277535Z","level":"Info","source":{"module":"Dune__exe__Berkeley_migration","location
@emberian
emberian / attach.sh
Created March 13, 2024 15:00
Setup for running mina v1.4
#!/usr/bin/env bash
docker exec -it $(basename $(pwd)) /bin/bash
docker run --entrypoint /bin/bash -it gcr.io/o1labs-192920/mina-daemon:2.0.0umt -c 'curl https://gist.githubusercontent.com/emberian/cefc1a198b0f81b5f1a442dfd43a42f1/raw/fetch-and-verify.sh | bash'
@emberian
emberian / xfrm.py
Last active January 17, 2024 21:22 — forked from Grissess/xfrm.py
import sys
from collections import defaultdict
hosts_by_pkg = defaultdict(set)
for line in sys.stdin:
line = line.strip()
if not line:
continue
host, pkg = line.split()

Methodology

I trawled recoop's website for specific claims they make about ingredients and their possible effects. I searched "$ingredient adhd", "$ingredient amphetamine", "$ingredient stimulant" on pubmed and looked at the first two pages of results. I scanned all titles and summarized abstracts to gauge relevance.

Vitamin C

Claim: Vitamin C helps accelerate excretion of stimulants, increasing recovery.

Literature: (note, i used "ascorbic acid" as an additional search term)

From grahamnorthup at yahoo.com Wed Dec 23 19:11:28 2015
From: grahamnorthup at yahoo.com (Graham Northup)
Date: Wed, 23 Dec 2015 19:11:28 -0500
Subject: [Robigalia-dev] Contribution idea: javascript VM demo
In-Reply-To: <20151223081446.GA3955@roger>
References: <20151223081446.GA3955@roger>
Message-ID: <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Here's how I got Ubuntu 18.04 working on the Dell "New XPS" 9570 with the i9-8950HK. Note that I only used this to setup Linux-only machines. Good luck!

BIOS configuration

  1. Change SATA Operation from RAID to AHCI (this probably messed with Windows, but I don't use Windows on this machine)
  2. Disable secure boot (we'll be using an unsigned kernel. you can sign it etc yourself if you want; good luck)
  3. Disable microphone (optional)
  4. Disable webcam (optional)