memory heap
366 subscribers
2.51K photos
512 videos
52 files
3.1K links
science ∩ art = wonder

all memory blocks here are allocated by @a_v_p

GitHub: https://github.com/artyom-poptsov
Mastodon: https://fosstodon.org/@avp

https://memory-heap.org/~avp/
Download Telegram
#guix_patches #ipfs

Вместе с Sharlatan Hellseher отвязали от Kubo (IPFS) ещё пачку пакетов в GNU Guix.
🔥4
#guix_patches #ipfs

Вместе с Sharlatan Hellseher отвязали ещё три зависимости от IPFS в GNU Guix, теперь эти пакеты собираются отдельно.

На рассмотрении ещё несколько моих патчей:
- gnu: prusa-slicer: Update to 2.7.4.
- gnu: iperf: Update to 3.17.1.
- gnu: book-sparc: Update to 2.1.0.
- gnu: nmon: Update to 16q.
🔥3
memory heap
#guix_patches #ipfs Очередная пачка Go'шных пакетов, связанных с Kubo (IPFS), ждёт рассмотрения: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72211
#guix_patches #ipfs

Вместе с Sharlatan Hellseher отвязали ещё одну зависимость от Kubo (IPFS) и добавили несколько связанных с ним пакетов.
🕊1
#guix_patches #ipfs

Замёржено ещё несколько моих патчей в GNU Guix:
- gnu: kubo: Add some direct and indirect dependencies. (ревью и мёрж выполнены Sharlatan Hellseher.)
- gnu: uriparser: Update to 0.9.8. (ревью и мёрж выполнены Z572.)
- gnu: uniutils: Update to 2.28. (ревью и мёрж выполнены Z572.)
🔥2
Forwarded from Decentralize!
Kubo v0.30.0
[ipfs.tech]
[https://docs.ipfs.tech/how-to/command-line-quick-start/]

Kubo was the first IPFS implementation and is the most widely used one today. Implementing the Interplanetary Filesystem - the Web3 standard for content-addressing, interoperable with HTTP. Thus powered by IPLD's data models and the libp2p for network communication. Kubo is written in Go.

Featureset
- Runs an IPFS-Node as a network service
- Command Line Interface to IPFS-Nodes
- Local Web2-to-Web3 HTTP Gateway functionality
- HTTP RPC API (/api/v0) to access and control the daemon
- IPFS's internal Webgui can be used to manage the Kubo nodes

Changelog:
[https://github.com/ipfs/kubo/releases/tag/v0.30.0]

#IPFS
2
#guix #guix_patches #ipfs

Вместе с Sharlatan Hellseher обновили Kubo (IPFS) до версии 0.30.0 в GNU Guix.
🔥2
memory heap
"Эти зависимости с вами прямо сейчас, в этой комнате? Вы их видите?" (Результат коллективного творчества сообщества @gnu_guix_ru и меня.) #guix
#guix #guix_patches #ipfs

Сегодня вечером распутывал клубок зависимостей для упаковки go-github-com-caddyserver-certmagic в GNU Guix (этот пакет является одной из зависимостей новых версий Kubo.)

Итогом стал этот набор патчей:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74355

На скриншоте показана часть графа зависимостей для go-github-com-caddyserver-certmagic, полученная следующей командой в моей локальной копии репозитория GNU Guix:
./pre-inst-env guix graph go-github-com-caddyserver-certmagic | xdot -
🔥1
Forwarded from Decentralize!
Kubo v0.32.0
[ipfs.tech]
[https://docs.ipfs.tech/how-to/command-line-quick-start/]

Kubo was the first IPFS implementation and is the most widely used one today. Implementing the Interplanetary Filesystem - the Web3 standard for content-addressing, interoperable with HTTP. Thus powered by IPLD's data models and the libp2p for network communication. Kubo is written in Go.

Featureset
- HTTP Gateway (/ipfs and /ipns) functionality for trusted and trustless content retrieval
- HTTP Routing V1 (/routing/v1) client and server implementation for delegated routing lookups
- HTTP Kubo RPC API (/api/v0) to access and control the daemon
- Command Line Interface based on (/api/v0) RPC API
- WebUI to manage the Kubo node
- Content blocking support for operators of public nodes

Changelog:
[https://github.com/ipfs/kubo/releases/tag/v0.32.0]

#IPFS
🔥2
Forwarded from Decentralize!
Kubo v0.37.0
=> ipfs.tech
=> https://docs.ipfs.tech/how-to/command-line-quick-start/

Kubo was the first IPFS implementation and is the most widely used one today. Implementing the Interplanetary Filesystem - the Web3 standard for content-addressing, interoperable with HTTP. Thus powered by IPLD's data models and the libp2p for network communication. Kubo is written in Go.

Featureset
- Runs an IPFS-Node as a network service that is part of LAN and WAN DHT
- Native support for UnixFS (most popular way to represent files and directories on IPFS)
- HTTP Gateway (/ipfs and /ipns) functionality for trusted and trustless content retrieval
- HTTP Routing V1 (/routing/v1) client and server implementation for delegated routing lookups
- HTTP Kubo RPC API (/api/v0) to access and control the daemon
- Command Line Interface based on (/api/v0) RPC API
- WebUI to manage the Kubo node
- Content blocking support for operators of public nodes

Changelog:
=> https://github.com/ipfs/kubo/releases/tag/v0.37.0

#IPFS
Возникла задача передать другу через интернет файл размером ~15ГиБ. К сожалению, при текущем плачевном состоянии интернета передача крупных файлов иногда становится нетривиальной задачей. Раньше пользовался magic-wormhole, но тут оказалось, что заблокированы релеи, через которые система работает. Быстрый танец с бубном в темпе вальса не помог, решено было перейти к плану "Б" — поискать другой инструмент.

Поскольку же давно интересуюсь IPFS и проектами, связанными с этой технологией, решил протестировать с другом передачу файла через него. Закинул файл в IPFS, через шлюз предложил другу скачать. Однако, если через IPFS-шлюз качать большой файл, используя браузер, wget или curl, то спустя некоторое время после начала передачи файла соединение разрывается.

Самым надёжным оказалось использование утилиты ipget, которая сама является нодой IPFS и качает файлы во всю ширину канала.

В итоге, получившийся порядок действий привожу ниже.

Во первых, на раздающем устройстве заносим файл в IPFS (на устройстве предварительно должна быть установлена, настроена и запущена нода сети):
$ ipfs add big-file.bin
<hash>
$ ipfs pin add <hash>
$ ipfs routing provide <hash>


Затем, на принимающем устройстве устанавливаем ipget (если его нет) и в терминале делаем следующую команду:
$ ipget <hash> -o big-file.bin


#ipfs #tools #memory_dump
🔥4