Lemmy

12572 readers
3 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
351
 
 

In a comment I wrote, I was surprised to see something I didn't write showing up, in the form of a third dot.

So, where did the third dot come from?

Well, markdown-it has an extension where "typographic replacements" are done. You can see them all in action here (tick typographer on and off).

So, wherever two or more dots are written, even if around quotes, three dots will be rendered ('..' => '..')

While it may seem nice, this is more trouble than good IMHO. Not to mention the fact that people using other apps, utilizing other markdown implementations, will not see what others see (which is why some of you probably had no idea what the hell I was talking about at the start of this post).

It is my opinion that use of non-standard markdown extensions should be kept to a minimum, or preferably not used at all. And since a new UI is going to be written (which may open the possibility to use a high-quality markdown Rust crate), this should be a deliberate implementation choice going forward.

352
 
 

Hi all,

I'm having an issue with my Lemmy on K8S that I selfhost. No matter what I do, Pictrs doesn't want to use my Minio instance. I even dumped the env variables inside the pod, and those seem to be like described in the documentation. Any ideas?

kind: ConfigMap
metadata:
  name: pictrs-config
  namespace: lemmy
data:
  PICTRS__STORE__TYPE: object_storage
  PICTRS__STORE__ENDPOINT: http://192.168.1.51:9000
  PICTRS__STORE__USE_PATH_STYLE: "true"
  PICTRS__STORE__BUCKET_NAME: pict-rs
  PICTRS__STORE__REGION: minio
  PICTRS__MEDIA__VIDEO_CODEC: vp9
  PICTRS__MEDIA__GIF__MAX_WIDTH: "256"
  PICTRS__MEDIA__GIF__MAX_HEIGHT: "256"
  PICTRS__MEDIA__GIF__MAX_AREA: "65536"
  PICTRS__MEDIA__GIF__MAX_FRAME_COUNT: "400"
***
apiVersion: v1
kind: Secret
metadata:
  name: pictrs-secret
  namespace: lemmy
type: Opaque
stringData: 
  PICTRS__STORE__ACCESS_KEY: SOMEUSERNAME
  PICTRS__STORE__SECRET_KEY: SOMEKEY
  PICTRS__API_KEY: SOMESECRETAPIKEY
***
apiVersion: apps/v1
kind: Deployment
metadata:
  name: pictrs
  namespace: lemmy
spec:
  selector:
    matchLabels:
      app: pictrs
  template:
    metadata:
      labels:
        app: pictrs
    spec:
      containers:
      - name: pictrs
        image: asonix/pictrs
        envFrom:
        - configMapRef:
            name: pictrs-config
        - secretRef:
            name: pictrs-secret
        volumeMounts:
        - name: root
          mountPath: "/mnt"
      volumes:
        - name: root
          emptyDir: {}
***
apiVersion: v1
kind: Service
metadata:
  name: pictrs-service
  namespace: lemmy
spec:
  selector:
    app: pictrs
  ports:
  - port: 80
    targetPort: 8080
  type: ClusterIP
353
 
 

Is there currently a way on Lemmy-ui to mark a post as "read" so that it no longer shows up in the feed? As the admin of my personal server I know I can remove the post but I'm looking for a solution that doesn't affect others on my instance. I see a setting for hiding read posts but I don't see a way to mark a post as being read.

354
 
 

RIght now lemmy doesn't calculate or display a user's "karma". And many think this a good thing (me included).

Interestingly, kbin does calculate karma, even for us lemmy users (you can all probably just search on kbin.social and find your karma now, +/- federation inconsistencies).

Whenever karma comes up, this fact often comes up, along with the identification of up/down voters, such that many lemmy users will probably know that they actually do have karma and can go look it up if they want to. Some lemmy apps/frontends are also reporting karma AFAIU.

So I think the question now presents itself of whether this is an issue we want users to have some control over, within the bounds of what can done over federation/AP of course.

I can imagine a system where karma is an opt-in setting of one's profile, and a protocol is established that any platform/client that understands up/down votes ought to respect this setting and that non-compliance risks defederation.

Though lemmy/kbin obviously lean more "public internet resource" than microblogging platforms like mastodon, I think it makes sense to value user health and safety here, and this seems like a not unreasonable option to establish a norm around.

Thoughts?

355
 
 

Not sure if that's the right place to ask, but I used to use Boost for Reddit and I was able to follow people (I don't know if this was a Reddit or a Boost feature).

Is it possible to follow users in Lemmy? The only options I see are to either block or msg user.

356
16
submitted 1 year ago* (last edited 1 year ago) by PropaGandalf@lemmy.world to c/lemmy@lemmy.ml
 
 

Hey all,

I am very happy with Lemmy and what the platform has to offer. I also think that it has an important place in the fediverse as it serves a special content niche. For me, this niche is the uncomplicated transfer of information through text together with the quick exchange of information with other users. It is a perfect kind of mixture between a long blog without much commentary and the user-based microblogging platforms.

I think it would be exciting to see how Lemmy could make use of this text in different ways. Typst is a markdown-like LaTeX alternative. It offers real-time compilation, a simple syntax and the formatting strengths of LaTeX. Imagine how cool it would be to be able to format your posts the way you really want including maths formulas, coloured boxes, fancy tables and much more. And you could simply save these configurations as templates and import or even store them directly for later, so you would have a consistent style for each new post.

The whole thing is also open source and written in Rust, which would certainly favour an implementation in the rust-written Lemmy. What do you think?

Mockup:

357
 
 

Hi there, Been running my own little Lemmy instance basically to see how it runs with federation and stuff like that. I have had open (email validation) for the odd person or 2 that might want to use it.

Early this morning (my time 4:43am) I had about 15 new users all at the exact same time registering as users with same structure names (random words) followed by 4 numbers. Being all within 1 minute of each other they are obvious bots.

Going through the UI I have not been able to find a way to remove them. I have since changed my registration policy to make the person fill in an application, captcha, email validation etc. to help stop polluting the ecosystem with bots.

Any help would be appreciated. I am running it all under docker

358
 
 
359
18
custom feeds (jlai.lu)
submitted 1 year ago* (last edited 1 year ago) by chat_mots@jlai.lu to c/lemmy@lemmy.ml
 
 

Hello ! I am a new user and I was wondering, is it possible to have custom feeds with some communities in it ? Like a multireddit.
If I want to have my « technology » feed I’ll put some c/technology coming from differents instances.
I would like to do this to have some feeds without memes. Thanks for the answers !

360
 
 

For any UI devs:

I've starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein's monster that lemmy-ui has become.

Some reasons for doing this:

  • lemmy-ui uses infernojs, which is based on the react model. IMO is largely superseded by signal-based reactivity in use in android jetpack-compose, SolidJS, and most new UI frameworks.
  • I had to hack on isomorphic support / server-side-rendering to infernoJS, and it's very messy. Leptos has isomorphic support out of the box.
  • All the benefits of Rust over javascript.
    • Since leptos is in Rust, we can import the lemmy types directly.
    • I've been waiting for years for a good rust UI framework, and I think we're finally here with leptos or sycamore.
  • lemmy-ui uses bootstrap, which is showing its age and limitations. Tailwind (and daisyUI) seem to be much more future-proof.

I plan on leaving the site design and component styling to other, more skilled UI devs, while I work mostly on the auth, services, params, and overall back-end structure.

  • Please use daisyUI classes tho whenever possible over exhaustive tailwind ones.
  • I'd also like it if the UI could match that of jerboa's (whenever possible), so that a change in one could be represented in the other, and so that things like badge appearance for admins, could be recognizeable across lemmy's front ends.

You don't really need to learn rust to help out with this, as the components look very similar to JSX. Instructions for running it are in the CONTRIBUTING.md . Feel free to contribute!

Right now only the home page, and post pages are working, but ready to be styled.

361
 
 

lol, lmao even

362
 
 

Hi, I enabled 2fa about 2 weeks ago, it seemed to work but now I can't log in, it doesn't say anything, I just see 400 http status in browser's debugger (F12), i have only this Jerboa session logged in and no browser session to disable 2fa

363
 
 

Hello

I am happy on this instance and 2 other federated instances that take good care of the culture by not federating with some other instances.

Yet sometimes I wonder what the "firehose of trash" would be like if I would see really everything and am wondering if there is a "catch all" Instance that is not limiting anything at all?

I would like to take a peek down the abyss for once.

364
 
 

There's so many niche instances but I'm yet to see a football (soccer) or general sport one. Why is that?

365
 
 

There's a link on https://join-lemmy.org/instances to https://github.com/maltfield/awesome-lemmy-instances which is no longer updated (due to this bug), should the link still really be there given the fact that many new users will join through there?

366
 
 

cross-posted from: https://lemy.lol/post/778691

While I want to block content bots, I don't want to block useful bots like @CommunityLinkFixer@lemmings.world @remindme@mstdn.social. Because of this, I will block them one by one. I am sharing it here for community benefit. Any addition/removal is welcome.

  • @linkbot@lemmy.link
  • @bot@lemmit.online
  • @KensandRssBot@lemmy.kensand.net
  • @PostBot@chat.maiion.com
  • @lemmybot@lemmy.staphup.nl
  • @philly_bot@fanaticus.social

gist for programmatic use: https://gist.github.com/ismailkarsli/0c6c7aa4f70d1905adea1b30271f16f7

367
368
 
 

I couldn't find this using the search.

369
 
 

For example this comment: https://lemmy.sdf.org/comment/984558 and this post: https://lemmy.sdf.org/post/873681 I both deleted, however from other instances they still appear to be there.

In case of the post others can still interact with it (comment and vote) except me, OP. In case of the comment, it just keeps the original text instead of deleted by creator, it can be interacted with, but it is also accessible to me as OP.

This is how the comment and the post appear from lemmy.ml. Still there, alive.

Edit: As per other lemmy user, this is already a known bug: https://github.com/LemmyNet/lemmy/issues/3588
The comment: https://lemm.ee/comment/1133649

370
 
 

See title. A nice feature in Mastodon is the ability to set the federated feed to remote only, helping give it more utility in terms of community discovery. I think on the latest versions they've even made this the default for the federated feed, but I don't know that that needs to be the case here.

In general I'd just appreciate the option to view only remote communities in All to help find other remote communities & posts within the Lemmy web interface.

371
 
 

I’ve received more positive interactions in the last month here on Lemmy and I ever did in my 12 years on Reddit. On Reddit I am generally too anxious to post shit or engage in any way which led me to live that lurk life. I’m sure more toxicity will come as the user base continues to grow but, for now, this place is pretty fuckin’ cool and I appreciate you all.

372
 
 

Hey folks, was just thinking that one of the major benefits of forums is that it stores and indexes knowledge for the rest of time. I still regularly look up stackoverflow questions written years ago.

Are lemmy instances (such as https://programming.dev) going to be similarly indexed?

If there's been no thought on how to implement this, I was thinking that meta tags could be used to indicate to search engines that homegrown content (i.e. content that belongs to your own instance) should be indexed while federated content (i.e. content on your instance that was federated from other instances) should remain non-indexed.

That way, searching the title of this post on Google will only lead to a single result on the single instance that owns it.

Thoughts?

373
 
 

tl;dr: With Lemmy Go you type lg beekeeping on the address bar and it takes you to the most popular beekeeping community, or you can pick one from the given suggestions.

Get Lemmy Go for Firefox

Get Lemmy Go for Chrome

More information about Lemmy Go on GitHub

Why

On Reddit, I had a simple search keyword for navigating directly to subreddits, where I could just type r firefox and be taken to reddit.com/r/firefox.

I wanted to have the same behavior for Lemmy, but the Fediverse makes this a lot more complicated.

So I made Lemmy Go to try and make it as simple as possible to jump to a community, or even find new ones more easily.

It's still a work in progress, so it might be a bit unstable and missing a bunch of features. But I've been using it myself for a few days, and it's already pretty helpful.

Usage

Type lg followed by a space (some browsers also accept tab instead), and then type the name of the community you're looking for.

Example: lg linux

Lemmy Go will search its database for any community that has the text linux in its name (e.g. linux_gaming) or title (Linux Gaming).

If you just type a community name and press enter, Lemmy Go will take you to the most popular community from that list.

If you don't press enter right away, you will be shown a list of communities that match that query. You can then select the specific one you want.

Preferred Instance

If you set your preferred instance in the user settings (click the extension icon), Lemmy Go will try its best to navigate to that community in your preferred instance, although this isn't always possible (in which case Lemmy Go will just navigate to the remote instance instead).

For instance, if your preferred instance is set to lemmy.ml and you select firefox@lemmy.world, Lemmy Go will take you to lemmy.ml/c/firefox@lemmy.world.

But if lemmy.ml blocks the lemmy.world instance, then Lemmy Go will take you to lemmy.world/c/firefox instead.

Read the readme on GitHub for more information about how Lemmy Go works

374
375
view more: ‹ prev next ›