The Trouble With IPFS and Python

art

The saga continued today… on twitch.tv/msrobot0. I attempted to web3 ify ex-worlding. By web3ify I mean that you don’t log in – you connect your wallet to the site (its safe). And if you create a world, this is the user associated with the world. Otherwise worlds are anonymous.

Also by web3ify I mean we don’t use databases. We just use ipfs – which is a database – and probably less secure – but its web3.

I have made a bunch of sites before that connect to a wallet but this is my first time creating a site that connects to ipfs. And it is a pain. I am writing this in python. I had an old version of the ipfs daimon installed. A lot of sites said to upgrade this – so I did. Thanks homebrew – I am on a mac. Then I was using a client library ipfshttpclient. I apparently was using an old version so I force installed version 7. Pip used to handle package dependencies I think but maybe I am deluded. Anyway it clashed with some other library. I uninstalled that library and then did a clean install of the new ipfshttclient and everything seemed ok.

Until I got an error that my ipfs daemon version (11 – the latest) was not supported yet.

I just threw in the towel. I fired up my trusty request for humans library. I mean this is why we cant have nice things and I still use vi. Things seemed to g a little better – I got a 400 error – which is still an error but I think I was getting a 503 error before (a gateway error – which is worse -imho). At least here I am connecting with the ipfs gateway – I think.

Anyway- it still did not work because it needs a keyword file. I tried a few things that did not work – and this error is logged on the internets – from October 21. I do feel like have made progress. I wrote this blog post while finishing my twich live stream. And now I am going to close it out with a yoga kriya.

Happy Full Moon in Leo Folks – be bold and use conditioner even if you are bald.

Thinking about Communication

art
  1. I am twitching at twitch.tv/msrobot0 4 days a week. Twitching during a live stream – even when there is no one watching – is really leveling up my programing practice for two reasons.

Narrating what I am doing helps me understand what I am doing and to find better ways to improve – it provides transparency to my process. It reminds me of teachings. When teaching yoga for example you need to explain how to do each kriya and it is a much different experience than just practicing yoga. You get an inner and more nuanced understanding.

I am less likely to write garbage code. Since someone might watch, I take extra care to write good code. Its kind of nuts that I can only behave in the panopticon but it is a good thing to know about myself. I also take care of my environment and use tmux and my nice vi config.

2. I started my newsletter again – It’s going to be short and I hope fun. I am experimenting with different forms of communication – twitch, medium, my blog, my secret blog you can only access with my token (which I will gladly send you if you sign up for my postcard project https://twitter.com/hackerm0m)

https://therewrite.substack.com/p/what-happens-at-the-end-of-history

3. My favorite type of communication is one on one though. This could be hanging out, conversation, carousing, or pair programming.

Helms and Edges

art

These days I am into dual meanings or multiple meanings.

Two words that have stood out to me in the last few days are Helm and Edge.

Helm is a package manager for Kubernetes. Kubernetes is a system for managing containerized applications.

Kubernetes is an English rendering of the greek word κυβερνητική -pilot.

Helm is the front of a ship, also “the handle or wheel which controls the direction in which a ship or boat”, also the head of something.

I like that middle definition – the helm is a tool.

I also think of Helms deep from The Lord of the Ring. I also thing of the Helm of the astrology chart – which is the ascendant. The ascendant is often referred to as how the world perceives the chart owner. However, if we think about the ascendant as the Helm, then it is what drives the vehicle, the life.

Edges… Edges

One way to think about edges is in graph theory. We have nodes and we have edges. My older kid used to be obsessed with the edge of his train tracks – he would always ask what is an edge. I think about optical illusions as playing with edges. When I paint it is important to pay careful attention to edges. I was reading an article today and the more edges a field has the less vulnerable it is not pests. Edges are the in between spaces. Edge is also the name of a browser. Edge can also mean a quality – edgy itself is a quality.

If I were to write an esoteric language it would be a language of edges. maybe I would just represent them as pipes | or _ – / \. Now I think of super Mario. For some reason my edge language cannot have any bends or curves. = is not an edge it is a symbol – * is a shape. an edge is what makes a shape and a symbol.

A language of edges

Knowledge and Web3

art

I was working on a hackathon project today around web3 and knowledge creation. The internet seemed rooted in a utopian knowledge project and was inspired by things like Vannevar Bush’s Memex. The history of the world is littered with knowledge projects. Does web3 provide any technology to rethink knowledge? What web3 can do is connect knowledge with value in an exact and quantifiable way, and provide a clear lineage of knowledge – what ideas grow from which ideas.

We have the encyclopedists of the enlightenment – people like Diderot. We have the monasteries, universities, and libraries of the Middle Ages and the libraries of the ancient world like the Library of Alexandria. Reading and writing, once the barrier to knowledge, are table stakes, and the barriers now are things like spaceships and laboratories.

I am constantly amazed at what I can learn from web2 crowdsourced information like youtube and Wikipedia. This sort of knowledge is like a modern decentralized encyclopedia or library. For this hackathon, we are working on networks of knowledge – a flow diagram to accumulating more knowledge. It is about optimizing knowledge production – or perhaps solutioning.

To connect knowledge production to solutioning makes me uneasy. I definitely am interested in purposeless knowledge – but I am probably in the minority. And, truth be told, we do have a bunch of problems that could use organized knowledge solutions to fix – like climate change. Many times when I attempt to solution – one of the best things I can do is simplify the problem and remove chaos – ie do less and have other people do less. But with some of these tricky problems we are facing today perhaps we need a new way to think about knowledge just as the encyclopedia was a new way to think about knowledge during the enlightenment.

Lyotard – Book Club – Theory of Computation

art

100 years ago I went to Las Vegas with my girlfriends. Because I am a super nerd I brought along a copy of “The Postmodern Condition.” This is a short book and the only thing I remember is that Lyotard adds another level to the 3 metacategories of Kant: Aesthetics/judgement, Epistemology/knowledge, Ethics/action.

Lyotard adds speed. In the postmodern world we have a new category of speed. This really spoke to me as a technologist because computers give us power over processes. And this power, is the power to streamline (ie automate, ie make faster).

This also makes me think about the theory of computation. ToC is an Aristotelian project that attempts to categorizes computational processes by the time with which things happen. You have things that happen in polynomial time or non-polynomial time. This expands into space (in the time-space continuum), and certain processes have certain space limitations.

I would call this new category – Optimization. My notion of optimization is not really the fastest, but perhaps the most resiliant. It is a category the only pertains to networks and system – to relations not subject/object distinctions. Kant’s project is thoroughly embedded in the subject/object distinction.

Most people reference something about narrative as the most salient point of TPC -this obviously was not my takeaway.

I was reminded of Lyotard while I was listening to the Hermitix podcast on my way home from picking up a birthday gift for one of my children. The show interviewed Lyotard scholar Ashley Woodward, and one of things I found interesting was that there were not a lot of scholars familiar with the corpus of Lyotard’s work. One reason might be because it was so genre bending.

Sounds like my kind of corpus. So I went to Woodward’s site and found this list– about 30 books in Lyotard’s corpus. I thought -what if I read allof Lyotard’s books this month. That sounds a bit insane, but why not. Lets give it a shot. I doubt it will be the closest reading ever.

I remember reading about cinematographer Walter Murch and how he listened to particular composers or styles for months at a time and how that affected his perception of music. What I do that with authors.

Well I am putting down my current books – and picking up Lyotard.

I am excited for my month of Lyotard. I am thinking perhaps I will do other authors in other months.

Expertism and Do-ocracy and Loop

art

I was actually going to write about this yesterday but I forgot. I am dragging today. I am not sure why. I stopped drinking coffee in December but yesterday and today I could have really used a cup. Today I broke down and had some black tea -puer.

So on to expertism and the Do-ocracy and how to organize. I have been very interested in organizations and leadership, especially since my last job in “change management” and my current job as a “leader.” My friend Camille participated in this talk and it really resonated. It basically is about how to run egalitarian organizations – organizations were people are not differentiated by role or expertise or how much or how little they contribute. There are different strategies that panelists have for group admission – but once people are in the group they are valued as individual humans not with what they can do or contribute.

Can anyone be a leader? I recommend Every Cook Can Govern by CLR James. Although I want to feel like am special – I am special because everyone is special – not because I have some special leadership power… I also think that anyone can be a leader.

I am also reading Loop by by Brenda Lozano. I am sucked in by this book. . It is post-modern but in the most elegant and natural way – not precious I love the references to Proust and Beckett – I feel like the narrator and I are part of the same lineage.

Live Coding on Twitch

art

Today is the new moon in Aquarius – it is also the Chinese new year – the year of the tiger. I have decided to see if I can live code on twitch (https://www.twitch.tv/msrobot0) every day for the next 30 days.

I have been working on a lot of software projects lately. Some are on public repos – some are not.

One thing I got back into was writing generative audio and video. For this project, and really for most projects, I am using python -and if I need a front end I use react. This is not super sexy. I would love to program this in Rust – but it is much easier for me to use python and get it done quickly. I am using midi for audio and to manipulate the audio I am using the mido library for video. I was working on that today.

I notice then when I code I don’t always talk… so that will be something I have to work on. To narrate what I do while I code. Also some of my code is really ugly – but I have let that go. Maybe this exercise will force me to do some refactoring.