Home Source V2.6.2

enterprise social

Description

The Honk Foundation is pleased to announce the initial release of Enterprise Social, previously known as Honk Enterprise, previously known as honk3. It’s reworked and retuned, reimagined and remade. A social network for the future.

I wanted to rewrite the honk frontend for a while, just to try some new things, but the changes would only be visible to me. Showing it off would require letting users create their own accounts. But I have no interest in hoarding your data. The only migration technique that effectively works is hostname based, which requires vhosting support, making everything a bit more complicated. And the original honk code is not very efficient at multihosting.

What started out as a frontend project turned into a from scratch rewrite of everything else. But it’s finally, mostly, done. So grab a CNAME and check it out.

what

Enterprise Social is a server for a federated social network. Using the ActivityPub protocol, it communicates with other servers running honk, azorius or flak, or even humungus or mastodon. It supports displaying and interacting with microblogs, macroblogs, discussion forums, and version control commits.

ambitions

Honk makes some effort at dynamic page refreshing, but it was a late addition, and never entirely complete. Many actions trigger a full page reload, which isn’t too bad since it still reloads fast enough, but it’s wasteful as all the old posts have to be resent from the server to the client. I wanted to build a new interface which wouldn’t lose state, and only load required data.

Another issue is that I have a number of overlapping lists. Got the coolkids, the techbros, the bigbrains. Switching between them results in many posts being sent two or three times. It would be better to only send the identifiers and have the client fill in the timeline.

A quick test revealed that client side rendering can be very fast. Not sure how all these sites manage to make it slow, but not my problem. The server can help the client by tracking which posts the client already has when it responds to requests.

So that was the big dream. Well, still is. But abandoned it in favor of the old model of server side rendering and having the client just swap contents. I was changing the data model on the server too frequently, which required a client side update, and there was just too much in flux.

reality

As soon as the prototype front end was done, it needed a real backend to work with. This is fine. I’ve done this before. But second system syndrome sets in. Most of the code was actually copied from azorius, the previous second system, but reworked again.

Lots of little changes in design had consequences that required more changes, with more consequences, with more changes. As one example, honk was designed to be very forgiving of missing or corrupted data. There’s no need to actually check the author of a post. It’s just a URL, stored as a string. I decided to change this to a number, personid, joining against the persons table. So now it’s imperative that a person row exists. Similarly, if a post is a reply, we can reference the parent as URL, as honk does, or make it a postid, which requires that it exist. But if these objects can’t be fetched, what to store in the database?

I think I’ve got it sorted out now, but it took a few schema iterations, which weren’t supposed to be taking as much time as they did. The result is the frontend got enough attention to be functional, but not fantastic.

A lot of existing features from honk haven’t been reimplemented yet, but they’re on a roadmap somewhere. I should make another post listing all the differences, both additions and removals.

features

The Honk Enterprise Brand Safety Council is pleased to announce an exciting new triangle avatar design that combines the familiar comfort of stable and reliable shapes with the promise of dynamic fun with its playfully skewed lines.

Part of the frontend rewrite that has started going well is a redesign of the look. The old honk didn’t really look like anything, so I decided to lean into a style a little more. There’s a few looks available now. Cyber, paper, and amber. Only enough to establish a general art direction, but now I have something fun to noodle with for a few weeks.



There’s also an advanced <video> player builtin.

Despite the total failure to really get anything done as planned with the interface, the backend rewrite is more exciting.

nomads

With the fake news out of the way, time for the real news.

An ongoing issue for the fediverse is account migration. Servers go down, or admins become unruly, or whatever, and when the server dies, your account dies with it. There’s a Move activity, which doesn’t really do anything; don’t believe the lies.

The root of the problem is that your user@host identity is not just the user@ in front of the hostname, but also very much the @host part, too. (Technically, your identity is some https url, which definitely includes the hostname.) A number of proposals have been proposed using fancy directories and chains of blocks and advanced wizardry, which can be deployed just as soon as we rewrite all existing software. Or, what if, we simply leave the host part of the identity in control of the user as well, instead of piling multiple users onto a single hostname.

So that’s what Enterprise Social does. You pick a CNAME, you point it at the server. When you want to move to another server, you point the CNAME at another server. It’s so simple it may even work. Other software won’t even know there’s been a change.

The downside is there won’t be any cool blog posts with interactive diagrams explaining how it works.

honk one

So what’s the story with honk one? It’s not going anywhere.

honk3.org

I’ve got my instance set up at honkasaurus.world. Although it’s technically hosted by honk3.org.

If you’d like to see how bad things are, pick a domain name, point its CNAME at honk3.org, then hit the signup page, wait a few moments for let’s encrypt to figure out what’s what, and it should be good.

Specifically, visit the login page and create a user by entering user@domain.example.com into the signup form at the bottom. You can poke around on honk3.org (it’s all the same server, after all), but after about 15 seconds, visiting domain.example.com should work as well.

When you’ve had enough, you can export your data, and import into your own server. Well, assuming you want to continue running some flavor of honk, or something that permits import. A lot of supposedly free social network software has this weird attitude that it’s your data, but you can’t bring it here.

Import should also work, if you want off Masto Don’s wild ride, but maybe give it some time before asking about that.

I figure I’ll run the honk3.org server until I get tired of it, or something bad happens, and then you’ll have to move, but the good news it should be pretty seamless. It will always be your hostname, your identity.

dev timeline

This took a bit longer than expected, and still dropped the more ambitious aspects of it, but come on. There was a heat dome which required daily meming. I made a few posts hinting at progress along the way.

05 Apr 2024: A brief experiment would seem to confirm that client side templating can be fast. Used handlebars.js to fill out a template with an array of 1000 elements, jammed it into the dom with insertAdjacentHTML. Instant. So far below measurement threshold I had to scale up to laughable numbers, and then the bottleneck became layout.

This was the first test to prove viability of the client concept.

17 Apr 2024: Scrum lord is asking why honk enterprise won’t be ready in a month, and my excuse is I’m over here stacking yaks.

At this point, I was busy adding ActivityPub support to humungus, so I could add it to honk3. So the scope of this project had expanded to first bringing up multiple other projects. That was a bit of a timing setback.

26 Apr 2024: As a reminder, all statements about honk enterprise are forward looking statements, and users are cautioned not to place undue reliance on these statements.

23 May 2024: The release of Honk Enterprise has been delayed yet again as we investigate the theft of ideas and technologies by the Honk Freemium team.

This was about adding drag and drop support to the post editor. Got it working, figured honk could use it too.

06 Jun 2024: Just received word from the Honk Enterprise Brand Safety Council that the new avatar redesign has passed initial review and is advancing to focus group testing.

Spent some time designing aesthetically pleasing avatars, so I think at this point I had enough of the app up that I needed to separate posts by different users. Also, it was fun.

14 Jun 2024: Honk Enterprise will not be launching next week, a decision that reflects our commitment to providing a trusted, secure and robust experience for all customers and gives us the opportunity to seek additional feedback prior to general release.

Pretty close to done here for the main features, but needed to add some filtering and configuration.

27 Jun 2024: The honk enterprise team is hard at work performing covert testing on an unsuspecting public.

Almost done. Switched focus to some more interoperability testing.

01 Jul 2024: Honk Enterprise could not be released today because the lazyass PR team refused to work over the weekend and there’s no announcement ready.

Bought myself another day to finish up the let’s encrypt integration by finding someone else to blame.

code

honk3.

You should be able to run it yourself as well, of course, but there’s likely to be some churn until everything stabilizes.

There was no content provided. You can visit the original post here.