blawsybogsy

@blawsybogsy@lemmy.ml

Author of lem.el, a lemmy client for emacs: codeberg.org/martianh/lem.el

This profile is from a federated server and may be incomplete. Browse more on the original instance.

blawsybogsy,

(or a b)

i never thought of lisp as concise before

German NGO calls pro-Palestine demonstration ban ‘highly problematic’ (www.anews.com.tr)

During a news conference in Berlin on Monday, Beate Rudolf, director of the German Institute for Human Rights, expressed concern over the recent sporadic banning of pro-Palestinian demonstrations, stating that it raises issues of concern. She emphasized that everyone in Germany has the right to freedom of assembly, including the...

blawsybogsy, (edited )

EDIT: all good, I worked it out, I found some other api docs.

Is the ModeratorView listing type in this release? If so what feed view is it available in? I can’t see it in the lemmy.ml webUI at the moment, nor in the API docs, but the code is merged.

blawsybogsy,

i was going to test these new changes out for my client, but it seems that voyager.lemmy.ml is down?

blawsybogsy,

ah its back up now, thanks.

blawsybogsy,

cool bananas.

blawsybogsy,

feel free to message me or to open an issue on the repo if you run into issues getting lem.el going. others have already helped me iron out a few getting-started issues.

blawsybogsy, (edited )

interesting. mastodon.el also uses plstore, so if it works (saving your credentials) your machine’s encryption should be working. but the auth process for the two services is totally different, so I had to write the lem.el auth code from scratch. I can take a look at it v soon, I’m keen to have any auth issues sorted out asap.

it’d help if you cd describe when the error message appears, or what exactly you do that causes it.

actually a backtrace would be most useful to track down the error.

you cd also try opening the plstore file in your .Emacs.d folder and encrypting / decrypting it.

thanks!

blawsybogsy, (edited )

that’s interesting and also pretty frustrating. i didn’t think i’d encounter such issues using plstore. are you able to provide a backtrace for the error? it’ll show what is calling the encryption functions, and there could be an error before the one displayed. also try manually opening the .plstore file in your .emacs.d directory and encrypt and decrypt it while open. maybe you do just have some plstore problems. / btw, lemmy and lem.el require markdown, so best to install it. the latter requires markdown-mode too.

blawsybogsy,

glad you got going!

thanks for opening issues in the repo.

bindings are just work to do. development moving v fast, mainly I’m just still trying to add basic features. eg posting is only 4 days old.

I’m not sure about the markdown issue, I just require markdown-mode. mayb I use a fn in the mode that requires the binary.

Lemmy uses markdown, so to render post content I take the markdown data, render it using markdown-mode, then render the HTML output.

not sure how else to do that, nor how to not rely on markdown mode.

I shd look into it more, but mainly I had to just find my own way, as Lemmy is hardly documented at all.

feel free to make more requests, its easier than fumbling along alone.

blawsybogsy,

yeah actually, rendering markdown is what requires the binary

blawsybogsy, (edited )

does that really matter? its clear that lem.el is an Emacs library, and is thus named as such (.el), and is thus not a standalone piece of software. I really don’t think its a problem. there are no Emacs libraries with the same name.

blawsybogsy,

lem.al also implements a client, similar in design to mastodon.el. i did the api layer so that others could implement other kinds of interfaces such as a gnus front end if they desired.

documentation for lemmy link types?

Is there anywhere that lemmy’s various types of internal links are documented? like !community links @user links, links of the form lemmy.com/c/community@otherinstance.net. i have also seen links that just have “/c/community@otherinstance.net”… at the moment i’m only developing rendering code for them as i happen upon...

blawsybogsy,

thanks for clarifying, so i guess my other link type is an error on my end somewhere…

blawsybogsy,

yeah, the relative ones are always on another instance it seems. if you strip the ‘/c/’ you can hit the ‘/community’ endpoint with the ‘comm@inst.ance’ part as the name parameter and it returns the community_view for it. works fine.

blawsybogsy,

from a quick check, i have C-p and C-S-B working, but C-n and C-s and (many i think) others not working. ff 114 on linux.

blawsybogsy,

i’m building a client, happy to help if i can, also to receive help! main issues i have had so far is how to actually use a number of the methods’ parameters, like limit (whats the max value?), page (how does pagination actually work?), etc. so far i have been storing any useful info about the API (like the valid values for a given type) in my own lists then querying them in my code.

blawsybogsy,

but i figure the whole community is already about best practices the API / endpoints

blawsybogsy,

i’m just unsure how to actually correctly fetch the next set items in order to update display, whether for scrolling or paginating. for my client i just want to append at the bottom of the screen.

are maximum Limit values documented somewhere?

The Limit property is just a number, but it is different for different API endpoints. I’d like to have a list of the different values so i can easily stay within the max for each endpoint. Are the values documented somewhere? From the official js-client docs site, not even a given endpoint documents its maximum.

blawsybogsy,

hm, yes but they’re rate limits, not the maximum values that can be passed to the limit param. they must be different because my rate limits are post: 6, comment: 6, and that’s definitely not the max value for limit for fetching those items.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • modclub
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • Leos
  • kavyap
  • Durango
  • normalnudes
  • ethstaker
  • everett
  • GTA5RPClips
  • cubers
  • khanakhh
  • ngwrru68w68
  • anitta
  • provamag3
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • lostlight
  • All magazines