Skip to content

Instantly share code, notes, and snippets.

View andrew's full-sized avatar
🚙
I may be slow to respond.

Andrew Nesbitt andrew

🚙
I may be slow to respond.
View GitHub Profile

CPU

$ sysctl hw.physicalcpu hw.logicalcpu
hw.physicalcpu: 4
hw.logicalcpu: 8

go-ipfs 0.4.21

1k 11019
2k 54
4k 354
8k 1033
16k 1227
32k 1366
64k 1223
128k 1250
256k 1243
512k 911

IPFS Camp Package Manager Deep Dive

Package Managers: What Now, What Next?

Community evaluation and ideation session to recap the current (as of late June) state of the IPFS-enabled package manager landscape, discuss happiness and pain points, and do some ideation/co-creation around the direction of our next rounds of package manager efforts.

Existing materials

  • Fundamental package management concepts
  • Problems with package managers

File system based

Approach:

Mirroring these registries into MFS and adding the root CID to dnslink/ipns then rsyncing updates on a regular basis along with transport plugins like https://github.com/JaquerEspeis/apt-transport-ipfs

Problems

  • Performance of adding/update large registries to MFS takes many hours, causing mirrors to lag behind the source
  • updating indexes files like Packages.gz in MFS isn't supported with the filestore
I wonder if gist notifications show up in Octobox?
@andrew
andrew / with_accepts.json
Last active May 9, 2019 13:58
curl -H "Accept: application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*." registry.npmjs.org/babel-plugin-syntax-object-rest-spread
{
"versions": {
"6.0.2": {
"name": "babel-plugin-syntax-object-rest-spread",
"version": "6.0.2",
"dependencies": {
"babel-runtime": "^6.0.2"
},
"directories": {},
"dist": {
{
"state": "pending",
"statuses": [
],
"sha": "0ed87dacfb18331e90a84e66be30bd97685a3417",
"total_count": 0,
"repository": {
"id": 76692542,
"node_id": "MDEwOlJlcG9zaXRvcnk3NjY5MjU0Mg==",
{
"state": "pending",
"statuses": [
{
"url": "https://api.github.com/repos/octobox/octobox/statuses/586917fd011cf8510b0661c315005a52db976a39",
"avatar_url": "https://avatars2.githubusercontent.com/oa/1508?v=4",
"id": 5587380061,
"node_id": "MDEzOlN0YXR1c0NvbnRleHQ1NTg3MzgwMDYx",
"state": "pending",
"description": "The Travis CI build is in progress",
@andrew
andrew / ranks.csv
Created April 17, 2018 11:42
Cargo sourcerank 1.0 scores
Score Count
0 4372
1 13
2 32
3 598
4 511
5 804
6 1570
7 2312
8 1539
@andrew
andrew / scores.csv
Created April 17, 2018 11:42
cargo sourcerank 2.0 scores
Score Count
30 1
31 5
32 12
33 44
34 81
35 70
36 105
37 116
38 137