Skip to content

Instantly share code, notes, and snippets.

View paolobarbolini's full-sized avatar
🦀
Update dependecies and support IPv6

Paolo Barbolini paolobarbolini

🦀
Update dependecies and support IPv6
View GitHub Profile
serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::TaggedSerializer<serde::__private::ser::T
@paolobarbolini
paolobarbolini / instructions.md
Created May 21, 2024 06:16
My steps for getting DaVinci Resolve Studio working on Arch Linux (as of 2024/05/21)

Install

yay -Sy davinci-resolve-studio

Start

LD_PRELOAD=/usr/lib64/libglib-2.0.so:/usr/lib64/libgdk_pixbuf-2.0.so.0:/usr/lib64/libgio-2.0.so:/usr/lib64/libgmodule-2.0.so /opt/resolve/bin/resolve
@paolobarbolini
paolobarbolini / crates.tsv
Last active April 17, 2024 11:06
crates.io top 20k crates by recent download count as of ~2024-04-17 10:50 UTC - results sorted by popularity
syn 2.0.59
bitflags 2.5.0
hashbrown 0.14.3
regex-syntax 0.8.3
proc-macro2 1.0.81
indexmap 2.2.6
base64 0.22.0
regex-automata 0.4.6
libc 0.2.153
quote 1.0.36
@paolobarbolini
paolobarbolini / repos.txt
Created March 31, 2024 17:16
Archived repositories from https://gist.github.com/paolobarbolini/39d71835218eff19637f8c1ab47b705b - scraped from the GitHub API in the course of 3 hours
https://github.com/abonander/buf_redux
https://github.com/abonander/multipart
https://github.com/abonander/safemem
https://github.com/arkworks-rs/curves
https://github.com/bbqsrc/mio-named-pipes
https://github.com/BurntSushi/regex-automata
https://github.com/bytecodealliance/regalloc.rs
https://github.com/ctz/ct-logs
https://github.com/cybergeek94/const-cstr
https://github.com/docopt/docopt.rs
@paolobarbolini
paolobarbolini / repos.txt
Created March 31, 2024 15:28
Repositories from the top 5k crates by recent downloads (some may be missing)
https://bitbucket.org/marshallpierce/line-wrap-rs/src
https://codeberg.org/jssfr/rxml
https://codeberg.org/valpackett/devd-rs
https://codeberg.org/xfix/array-macro
https://codeberg.org/xfix/enum-map
https://fuchsia.googlesource.com/garnet/
https://github.com/01mf02/hifijson.git
https://github.com/06chaynes/http-cache.git
https://github.com/10xGenomics/lz4-rs.git
https://github.com/1aim/rust-regex-cache.git
@paolobarbolini
paolobarbolini / crates.csv
Last active April 7, 2024 09:25
Notes taken while analyzing the crates.io scraping results for the top 5000 crates by recent downloads
crate notes
inflections Unmaintaned. No apparent repository. May be replaced by heck
str_inflector Same as inflections
convert_case Passively maintained. May be replaced by heck
simple-mutex Repository apparently deleted
varint-rs Repository apparently deleted
json-pointer Broken repository link. Found repository https://github.com/remexre/json-pointer but it doesn't contain the latest releases
osmesa-sys Repository apparently deleted
repng Repository apparently deleted
retain_mut Deprecated - The API is now available in the std
@paolobarbolini
paolobarbolini / .gitlab-ci.yml
Created November 12, 2023 17:27
Gitlab CI example for MultiArch images
image: docker:latest
variables:
DOCKER_BUILDKIT: 1
services:
- docker:dind
build:
before_script:
@paolobarbolini
paolobarbolini / README.md
Last active August 25, 2023 02:42
Top crates by crates.io reverse dependencies count

Top crates by crates.io reverse dependencies count

As of the database dump from 2023-08-12-020056.

File on GitHub Gist truncated to 2000 to make file rendering smoother.

Exported with query
CREATE MATERIALIZED VIEW all_versions AS (
@paolobarbolini
paolobarbolini / explain.txt
Last active August 2, 2023 05:52
crates.io `serde` reverse dependencies query EXPLAIN ANALYZE output
Limit (cost=513870.08..534308.54 rows=10 width=99) (actual time=10808.569..12615.884 rows=10 loops=1)
-> Unique (cost=513870.08..3444730.43 rows=1434 width=99) (actual time=10808.566..12615.851 rows=10 loops=1)
-> Nested Loop (cost=513870.08..3444723.26 rows=1434 width=99) (actual time=10808.562..12615.801 rows=13 loops=1)
Join Filter: (versions.crate_id = crates.id)
Rows Removed by Join Filter: 887880
-> Index Scan using idx3 on crates (cost=0.42..54507.51 rows=121264 width=20) (actual time=0.031..0.344 rows=31 loops=1)
-> Materialize (cost=513869.66..781830.70 rows=1434 width=83) (actual time=261.982..373.001 rows=28642 loops=31)
-> Nested Loop (cost=513869.66..781823.53 rows=1434 width=83) (actual time=8121.412..10487.713 rows=29474 loops=1)
-> Subquery Scan on versions (cost=513869.23..740005.96 rows=4002 width=8) (actual time=8121.369..10121.764 rows=29753 loops=1)
@paolobarbolini
paolobarbolini / crates.sh
Last active May 14, 2022 06:30
An experiment at an idea of checking crates.io releases against the files on the corresponding git revision
#!/bin/bash
# An experiment at an idea of checking crates.io releases against the files
# on the corresponding git revision (and in the future maybe even complaining
# if there's no tag associated to it, or giving you a diff since the last release IDK)
#
# Depends on curl, jq, tar and diff
#
# I'm not very good at bash, so you'll have to excuse the mess :)
# Still very useless, as it doesn't handle workspaces