this post was submitted on 05 Jul 2023
185 points (99.5% liked)

General Discussion

12104 readers
2 users here now

Welcome to Lemmy.World General!

This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.


πŸͺ† About Lemmy World


🧭 Finding CommunitiesFeel free to ask here or over in: [email protected]!

Also keep an eye on:

For more involved tools to find communities to join: check out Lemmyverse!


πŸ’¬ Additional Discussion Focused Communities:


Rules

Remember, Lemmy World rules also apply here.0. See: Rules for Users.

  1. No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
  2. Be respectful. Everyone should feel welcome here.
  3. Be thoughtful and helpful: even with β€˜silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
  4. Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
  5. Posts concerning other instances' activity/decisions are better suited to [email protected] or [email protected] communities.
  6. No Ads/Spamming.
  7. No NSFW content.

founded 1 year ago
MODERATORS
 

See the linked page for information about how it works, limitations, etc. and I'll of course answer any questions below!

As I have stated in the release section, this software is alpha so please don't be afraid to report bugs!

Releases are here: https://github.com/CMahaff/lasim/releases

Right now the program only supports Lemmy BE 0.18.1-rc9, but new releases will try to support new versions as they are released. The Lemmy API is changing a ton right now, but I'll try to keep up.

all 21 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago (1 children)

The culture appearing in the Lemmy/Kbin universe reminds me of some gaming communities where people help each other, some by giving advice or tips they've learned, others by using their skills to create addon tools to solve a problem.

[–] CMahaff 3 points 1 year ago

For sure! The whole reason I made this was because I saw so many posts asking for a way to do this.

That said, it's obviously a stop-gap until the devs add an official way to do this via Lemmy itself, but the last time I saw them talk about that it was (understandably) pretty low on their priority list - and I'm not nearly comfortable enough in rust or databases to make a PR to Lemmy itself - at least not yet.

[–] [email protected] 7 points 1 year ago

Amazing, this will help users move to smaller instances!

[–] Drunemeton 5 points 1 year ago

I’ve not used this, but wanted to say thanks for making it! I’m sure it’ll be indispensable to some.

[–] trouser_mouse 5 points 1 year ago

Awesome work, can't wait to see how it progresses as well!

[–] [email protected] 5 points 1 year ago

I've manually just migrated but will keep this in mind for future, thanks!

[–] [email protected] 2 points 1 year ago (1 children)

I got stuck on step #2:

Run LASIM.

How?? There isn't an executable file!

[–] CMahaff 1 points 1 year ago* (last edited 1 year ago) (2 children)

Which platform are you using?

I know for Ubuntu (Linux) I have to chmod the binary after unzipping it (that is, use the terminal set the binary to execute with "chmod 755 lasim").

Mac OS X is untested - I don't have a Mac to try it out, but it might have a similar problem.

[–] [email protected] 2 points 1 year ago

AH I see, the zip file, I was looking at the repo

[–] SKLC 1 points 1 year ago (1 children)

MacOS. Literally has no extension or anything. I have no idea how to run this thing.

[–] CMahaff 1 points 1 year ago (1 children)

Yeah I can use GitHub to generate Mac OS X artifacts but I can't test them, so maybe it doesn't even work.

I suspect it's just a permissions thing on the binary though, and running into the same issues as Ubuntu. I assume nothing happens if you just double click it? Or an error message?

[–] SKLC 2 points 1 year ago (1 children)

This is what I get if I double click it (after all the security prompts).

[–] CMahaff 1 points 1 year ago

Yeah it's not treating it as an app, it's trying to open it as a text file haha. But I don't own a Mac, so I can't debug the steps one would need to take to make OS X treat it as an application.

I think it's just a permissions thing, but again I'm not sure. I think a terminal call to mark it as executable or changing the extension might do it.

I guess I'll have to find someone in my life with a Mac hahaha.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I hope I never have to use this since I really like my instance, but thanks a bunch for making it! I curate my feed by blocking all communities I have zero interest in, which results in a gigantic blocklist that would not really be feasible to migrate manually, so having a tool to do it is a lifesaver.

Edit: just because I'm curious and I know next to nothing about programming- would it be possible to port this to Android too?

[–] CMahaff 2 points 1 year ago

Unfortunately not super easy to port to mobile because of the language I wrote it in - which in my defense, I chose because it's the same language as the Lemmy back-end and "official" API.

You are the second person to ask though so I guess I should have thought more about that!

We'll see how long the project lasts and maybe I'll consider it in the future, but the hope is that this is a stop-gap until Lemmy has an official method for transferring this data.

[–] [email protected] 2 points 1 year ago (1 children)

I'm trying to use it, but I keep getting an error, "missing field infinite_scroll_enabled"

I have no idea what's going on lol

[–] CMahaff 2 points 1 year ago (1 children)

If you give me the instance I can confirm, but that field was added in Lemmy 0.18.3, and I suspect the instance you are trying to use doesn't support that yet. You can see the Lemmy version at the bottom of the page.

LASIM 0.2.0 only supports Lemmy 0.18.3.

LASIM 0.1.2 only supports Lemmy 0.18.2.

So you can wait for your instance to upgrade and then use LASIM 0.2.0, or you can use the older LASIM 0.1.2.

Note: if say your old instance is Lemmy 0.18.2, and the new one is Lemmy 0.18.3, you can use LASIM 0.1.2 to download, then use LASIM 0.2.0 to upload.

[–] [email protected] 2 points 1 year ago

Yeah, I eventually realized that. I'm an idiot. I knew there were two versions, but my dumb ass didn't bother to check both instances.

Thank you very much for the help, and the tool itself

[–] [email protected] 1 points 1 year ago