:IF: I AM IMMUTABLE! Blogging with IMIM

@Traktion hoping for some troubleshooting help. After much trial, I successfully uploaded a directory with a few blog posts and a few images (nine files in total). I downloaded the directory from Autonomi to check that it was indeed there. It was. I went to the page where the blog should be, but it came up empty with just the Home, Article, and copyright info showing. Any ideas?

Here is where it should reside: http://localhost:8080/imim/blog/437f9190faf53a1c50480cd58c97ac3bcb5e58b833ba8cc103bc7e1957d40362

3 Likes

I can download your content OK, I just havent had time to get into IMIM properly.

Five Smooth Stones

By Metatheoretic Machine - 03/15/2021

five_smooth_stones

Adapted from image source: lightwise / 123RF stock photo

The Magic Question of Self-Referential Metaphysics

You can count these stones on one hand.

Memorize the following:

1 What

2 about

3 that

4 statement

5 ITSELF?

The whole point of having you memorize that question is so that when you are exposed to general universal claims about knowledge, truth, or reality, you will think about what the implications are for that view itself.

A friend memorized that question, had a eureka moment, it blew his mind, and it changed his life.

Here’s a few expanded versions of the question:

Is that statement itself merely the product of the factors it cites as fully explaining or determining everything?

Is that statement ITSELF relative, subjective, economically determined, socially determined, psychologically determined, genetically determined, environmentally determined, evolutionarily determined, illusion, maya, bs, meaningless, stated only because of the speaker’s or writer’s background, or due solely to some combination of explanatory or determining factors?

Or is that statement itself getting its own free ride past scrutiny?

Memorizing at least the first of these key questions is your ticket to developing a thoroughly rational metaphysic without having to read a lot of books, online essays and discussions, journal articles, and so on.

hmm, curious! I can download the archive through the CLI and it looks fine. However, when I try it through sn_httpd, it doesn’t seem to think it is an archive.

I’m assuming that archives are represented a little differently in the latest ant CLI.

I quickly patched sn_httpd and now I can browse the archive, but when I run it through IMIM, it still thinks its a random binary.

So, I think you’re good - it looks like you did the right things. It just looks like something has broken between releases. I’ll investigate!

1 Like

From some more digging, the old version of the libraries support the old archive, but the new version supports the new archives.

I’m assuming archives are formed from serialising a data type that has changed. It looks like this revision probably caused the breaking change: refactor(autonomi): use deterministic serialization · maidsafe/autonomi@f13415e · GitHub

So, I’ll see if I can re-upload the existing blogs and then push a new version of sn_httpd. Hopefully, there won’t be breaking changes like this post TGE.

4 Likes

fwiw, the new CLI can’t download old archives either!

paul@mini-vader:~/Downloads/tmp$ ant file download 0cbeea01ef444821a7dede14f2c78858f5c3f19271410fe49d7ad83401c3d194 traktion
Logging to directory: "/home/paul/.local/share/autonomi/client/logs/log_2025-01-23_23-28-09"
🔗 Connected to the Network                                                                                                                                                             Error: 
   0: Failed to fetch data from address
   1: Failed to deserialize
   2: array had incorrect length, expected 3

P.S. loving the fast network connect though - much faster than before and only takes a few moments now! sn_httpd will get the same treatment on startup too, in the next version.

4 Likes

The Archive format will be changing again before long (sorry :blush:)!

Good news is that I’ll soon be adopting it for dweb/awe so we’ll have more compatibility over time.

6 Likes

Just to update this thread too, IMIM has been uploaded again with the new ant libs archive format.

If you grab the latest sn_https, blogs can be opened again.

3 Likes

@Traktion should the link above work now with the latest version of sn_httpd? I tried it but it didn’t seem to work. Do I need to upload again?

1 Like

As long as you have updated with docker, it should direct to the new IMIM version, as well as sn_httpd. If you are running sn_httpd directly, you will need to change a launch parameter too (to map the imim name).

I’m considering recommending using sn_httpd in proxy mode for apps, as it means xors urls work easier, along with pet names.

I’m working on a version of IMIM that has different url routing to do this.

Anyway, in the interim, a latest docker and a hard browser refresh on the page should render it.

1 Like

What launch parameter do I need to change?

Let me know if you are able to see my friend’s blog post at this link: http://localhost:8080/imim/blog/437f9190faf53a1c50480cd58c97ac3bcb5e58b833ba8cc103bc7e1957d40362

I’m still not able to see it there…

Thanks!

Looks good to me!

The parameter needed is the 4th: 32d46d5de052c6327eacd1f2bcf1b59a4bfd6922d856004a28504e5ef65efcfa80633b8c86c8c01bea9fde36344bd2461c72bdc8ef02273c647436a55e0ef84b850dd45c14bddfbe1c35b405c6213f5b

e.g.

sn_httpd 127.0.0.1:8080 static http://ignore 32d46d5de052c6327eacd1f2bcf1b59a4bfd6922d856004a28504e5ef65efcfa80633b8c86c8c01bea9fde36344bd2461c72bdc8ef02273c647436a55e0ef84b850dd45c14bddfbe1c35b405c6213f5b
1 Like

Note, that with the latest sn_httpd, I’ve pushed a new version of IMIM too which doesn’t need the parameter at all, if used as a proxy.

Some details here: Sn_httpd - Serving Autonomi data over HTTP - #55 by Traktion

1 Like

I’ve uploaded the latest IMIM blogging app to the live network!

If you’ve not had chance to play with this before, it combines with AntTP to provide a web app experience on Autonomi.

If you’ve already got a browser setup with AntTP as a proxy, browse to hear to see my blog: http://62003e683b5a792f425a75c5d7d99d06e80f7047be8de8176b7d295e510b3b4c/blog/cec7a9eb2c644b9a5de58bbcdf2e893db9f0b2acd7fc563fc849e19d1f6bd872

Alternatively, you can access it via this QR code, with a configured browser:

Github: GitHub - traktion/i-am-immutable-client: Angular based client application for i-am-immutable blog

(NOTE: The README is stale on the above - another for the todo list! The OP on this thread has some basic instructions to get you started though!

5 Likes

That last link is broken - which is a shame

1 Like

Try

2 Likes

Just a quick note that this is being submitted into Impossible Futures too. Lots of cool things I’d like to add, but it will all build on where this prototype is today: Impossible Futures

4 Likes

For those who couldn’t attend the pitch or see the stream, here is a video I made earlier on my phone of IMIM in action.

And in the spirit of dog fooding…

AntTP (with proxy): http://0879b035d77e525db98175d407e6ee604914dcfa98529374a37a8c2446723731/IMIM.mp4

AntTP (without proxy): http://localhost:8080/0879b035d77e525db98175d407e6ee604914dcfa98529374a37a8c2446723731/IMIM.mp4

Ant CLI: ant file download 0879b035d77e525db98175d407e6ee604914dcfa98529374a37a8c2446723731 imim

I’ll try to do a proper pitch video from my laptop with some commentary too, as this only a glimpse of what is possible.

9 Likes

I also re-recorded my pitch from Wednesday…

EDIT: Adding autonomi links too!

AntTP (with proxy):
http://0076c76eebb2a44e438d78556ce27ad4a555dc5b2faa607c116a0a9264db3be5/imim-impossible-futures-pitch.mp4

AntTP (without proxy):
http://localhost:8080/0076c76eebb2a44e438d78556ce27ad4a555dc5b2faa607c116a0a9264db3be5/imim-impossible-futures-pitch.mp4

Ant CLI: ant file download 0076c76eebb2a44e438d78556ce27ad4a555dc5b2faa607c116a0a9264db3be5 imim-pitch

7 Likes

Dog Food is Delicious! http://62003e683b5a792f425a75c5d7d99d06e80f7047be8de8176b7d295e510b3b4c/blog/705a5fa9b2b2ee9d1ec88f7f6cae45a9e40d4cf8ea202252c9d7e68eb6e17c8b/article/dog-food-is-delicious.md#article

I figured I should be writing a blog article for Impossible Futures, so here is a wee treat for those with AntTP installed :sweat_smile:

4 Likes