nadiyar
60 following, 141 followers
I feel sorry for people whose clients don't render my markdown cause my italicised text wld just look kinda awkward to them.
I'm working on a Linux machine that I'm not a sudoer and Emacs is not installed. I didn't realize how much #Emacs is ingrained into my routines and workflows. Fortunately there is tmux and nano, so I can manage, but probably not as efficient as when I have my own Emacs config at my fingertips.
both `snap` and `flatpak` require sudo too. They don't have Guix installed either.
P.s: I am sitting behind this machine, so no, I cannot use tramp from my own computer.
--user flag@nadiyar I totally forgot about that. it took me few moments to realize that the flathub remote was only set for the system and not user and I had to add it. I installed Emacs from flathub and cloned my config. Now life is much much easier. Thanks a bunch 👍
Before I get some comments about Flatpak not needing sudo, this is short answer:
https://discussion.fedoraproject.org/t/flatpak-non-sudo-install-still-installing-as-system/137019/2
It seems my only option left is #AppImage, but @probono 's repo have packages until Emacs version 27.1
AppImages rock. I can perhaps send a PR to update his repo, but first I should learn more about AppImage packaging.
@Mehrad Flatpak is nothing but an effort to add mandatory software installation, an antifeature that not even Windows has, into Linux
That's only if the Flatpak remote is added as a system remote. If you add it as a user remote (use --user for remote-add and install commands) it works without root privileges :)
The reason this isn't the case for the person in the thread is that IIRC Fedora adds the default Flatpak remotes as system.
درخواست فرستهی بلاگی درمورد نحوهی استفاده و چگونگی کانفیگ Emacs
@hosein
من خیلی بالا و پایین کردم و آخرش یکی دستمو گرفت و کمک کرد که Emacs رو درک کنم، چون به عنوان editor واقعا نمیشه نگاهش کرد. به عنوان editor نگاهش کنی خودتو بد جور محدود کردی به نظرم. پیشنهاد من اینه که کانفیگ من رو که شبیه بلاگ پست هست استفاده کنی تیکه تیکههاشو. عملا میتونی قسمت قسمتشو جدا استفاده کنی و سعی کردم ثسمت ها با هم وابسته نباشن، یا اگه هستن مشخصه از متن و کانفیگ. از بخش README شروع کن و بعد config.org. هر قسمتیش رو سوال داشتی من هستم
دمت بسی گرم 🥰
منظورت از فقط ادیتور نیست چیه؟ (با فرض اینکه از X Window Manager اش استفاده نکنیم.) درکت رو میتونی بگی جوری که بفهمم منم تا حدی؟
@hosein
اینکه میگم ادیتور نیست اینه که Emacs دقیقا یه Lisp Interpreter هست. در واقع تو کانفیگش نمیکنی، تغییرش میدی به چیزی که خودت دوست داری. همه چیزش بجز هسته ی اصلیش به سادگی قابل تغییره، اونم نه با زبونی مثل Lua یا چیزی مثل Yaml، بلکه با زبونی که مقدار خیلی زیادی از خود Emacs باهاش نوشته شده. درنتیجه فلان کارایی رو دلت میخواد و نداره، میتونی بنویسیش و خیلی نرم مثل بقیه ی خودش اجراش میکنه. به دید ادیتور نبینش، به دید مجموعه چیزی ببینش که میتونه بجز ویدئو همه چیزو توی بافر اجرا کنه.
۱/۳
@hosein
در واقع Emacs نمیاد workflow خودشو بهت تحمیل کنه، بلکه بهت بستری میده که workflow خودتو توش پیاده کنی. برای همین هم توش بازی داره، دوتا کلاینت IRC دارن، حداقل ۳ تا کلاینت ایمیل داره، ۴ تا ترمینال داره، پخش موسیقی داره، مرورگر داره، PDF virwer داره، مرورگر فایل داره، چیزی شبیه htop داره، دوتا ماشین حساب داره، برنامه diff داره، و ... . ولی همه ی اینا لود نمیشه تا استفاده نکنی. برای همین به شدت سریع باز میشه و سبک هست و bloat نیست. چیزی رو که اجرا کنی تازه لود میشه.
۲/۳
@hosein
هدف این نیست که از همه ی اینا استفاده کنی. هدف اینه که ببینی محدودیت فقط در تخیل و خلاقیت خودته. یه کسی باهاش برنامه مینویسه، یه کسی فقط ایمیل چک میکنه، یه کسی باهاش داستان مینویسه.
پیشنهاد میکنم ازش برای نوشتن یادداشت استفاده کنی (مثلا markdown) برای چند روز و کم کم ببینی چیکار میخوای برات بکنه. سعی کن لذت ببری ازش تا اینه بخوای باهاش فقط کارتو راه بندازی. با nano و vim هم میشه کار راه انداخت، ولی نمیشه ازشون لذت برد چون اونا در مرحله اول فقط ادیتور هستن.
۳/۳
@Mehrad @hosein
زبون el خیلی عجیبه، tsoding یه ویدیو داده یکی دو روز پیش که یه پلاگین برای خودش درست میکنه و یکم زیادی برای من عجیبه. اما خیلی جالبه که راحت میشه این کارو کرد.
یه سوال برام پیش اومده و اونم اینه که اگه من به یه کامپیوتر دیگه ssh کنم، میتونم از emacs استفاده کنم؟ چون تا جایی که میدونم بیشتر گرافیکیه تا متنی مثل ویم.
@smjt2000
@hosein
لیمکس یک dialect از lisp هست. در نتیجه هر کدوم از lisp ها رو یاد بگیری تقریبا ۸۰٪ راه رو برای بقیه رفتی. منطقش از بقیه ی زبونا راحتتره:
۱. همه چیز لیست هست که با پرانتز باز شروع میشه و با پرانتز بسته تموم میشه.
۲. آخرین عبارت هر فانکشن return میشه
حالا دوتا مثال:
اسم فانکشن اول میاد و تمام argument ها بعدش
(+ 1 2 3 4)
عملا برابره با
1+2+3+4
مثال ۲
(defun foo ()
(+ 1 2)
(+ 2 3)
)
اینو با (foo) اجرا میکنیم و باید ۵ برگردونه چون آخرین چیزی که اجرا میشه return میشه
@smjt2000
@hosein
در مورد سوالت، ایمکس توی ترمینال هم با تمام امکانات اجرا میشه بجز چیزایی که ترمینال توش محدودیت داره، مثل نمایش عکس و PDF و سایز کاراکتر های مختلف. ولی کسایی که با ایمکس کار میکنن خودشون ssh نمیزنن که توی remote بخوان emacs نصب و احرا کنن. از کامپیوتر خودت با خود emacs میتونی ssh بزنی و با کامپیوتر ریموت کار کنی توی محیط گرافیکی، انگار که پشت اون کامپیوتر نشستی. یه چیزی داره به اسم tramp که اینو برات بی دردسر انجام میده.
البته من در حد @lxsameer و بقیه در مورد Emacs نمیدونم و تجربم کمتره، ولی اگه خواستین میشه یه Jitsi ردیف کنم و هر کسی دوست داره بیاد و دور هم با Emacs کار کنیم و سوالا رو جواب بدیم. جایی هم که سوادم نرسه صاف میگم «نمیدونم» 😅
من چون یکی بهم کمک کرد که emacs رو درک کنم، فکر میکنم حرف زدن و سوال پرسیدن حضوری بهتر جواب میده تا خوندن کتاب و وبلاگ.
راستی @lxsameer این دوتا playlist رو توی یوتیوب داره که شدیدا پیشنهاد میکنم:
https://youtube.com/playlist?list=PLlONLmJCfHTreXptL9k7AMiOTf90t4TRG&si=pAL7m26abpLD0x2m
https://youtube.com/playlist?list=PLlONLmJCfHToFfk1WgTOwZMfIr062jIN9&si=x0g1bDMV1XO8gWMh
@Mehrad @hosein @lxsameer
آره اینا رو توی ویدیو یاد گرفتم ولی آخه اون همه پرانتز؟
چیزای جالبی داره، مثلا when که همون if هست اما بدون else. ولی اینکه if فقط یدونه بدنه میتونه داشته باشه یکم عجیبه! خب اگه من بخوام چندتا کار باهم انجام بدم چی؟!
درباره Jitsi هم من پایهام. هر موضوعی مربوط به کامپیوتر و برنامه نویسی که باشه. حتی اگه موضوعی باشه که اصلا چیزی ازش سر در نمیارم، یا جلسه انگلیسی باشه. یچیزی میشه ازون وسط یاد گرفت.
@smjt2000
بجای اون همه کاراکتر دیگه که زبونای دیگه استفاده میکنن، lisp فقط از پرانتز و فاصله استفاده میکنه به اضافه ی چند تا کاراکتر دیگه برای کامنت و quote و unquote . درنتیجه syntax خیلی سادهتری داره. پرانتز اصلا اذیت نمیکنه اگه ادیتور خوبی داشته باشی که بتونه توی ساختار درختی کمکت کنه حرکت کنی.
در مورد if هم که گفتی، میتونی از progn) استفاده کنی که همه ی expression های داخلش رو کپسوله میکنه. توی R ما از {} استفاده میکنیم مثلا.
https://www.gnu.org/software/emacs/manual/html_node/eintr/progn.html
@Mehrad @hosein @lxsameer
جالبه.
همیشه دوست داشتم زبونایی که قدیمی یا متفاوت هستن رو امتحان کنم، مثل perl, cobol یا همین lisp. خیلی خفنه بنظرم زبونی بلد باشی که آدمای کمی یاد دارن، lisp که بخاطر ایمکس زیاد استفاده میشه ولی خب.
دوست داشتم ایمکس رو امتحان کنم، امروز نصب کردم و این باعث میشه یکی ازون زبونای متفاوت رو یاد بگیرم. با اینکه همین پایتون هم مثل آدم بلد نیستم!
@smjt2000
ایمکس اولش خیلیقیافش زشته. باید یا قیافه رو بیخیال بشی اول کار، یا کانفیک یه کسی رو استفاده کنی و کم کم کانفیگ خودتو درست کنی که به نیازها و سلیقت بخوره.
این که lisp بخاطر emacs استفاده میشه درست نیست. مثلا کل Guix مثلا روی Scheme هست که یه «گویش» (dialect) از lisp هست. مرورگر Nyxt با common lisp نوشته شده. مقدار زیادی از Grammarly با lisp نوشته شده، و ...
شاید این ویدئو در مورد تاریخچه ی lisp برات جالب باشه:
@Mehrad @hosein @lxsameer
قبل از هر چیز تم مورد علاقم رو نصب کردم، challenger deep، الانم برای شروع از tutorial خودش دارم پیش میرم.
بعد از ظاهر اولین چیزی که اذیت میکنه کلیدهای حرکته.
اینکه کلی گویش مختلف داره جالبه، چرا باید اینجوری باشه؟ چرا مثلا پایتون یا C گویش نداره، یا اگه داره چرا کمتر اسمشون میاد؟!
ویدیوی جالبی بود، اینکه فقط برای لیسپ یه کامپیوتر درست کنیم نشون میده چقدر اون زمان خفن بوده!
ممنونم که با حوصله جواب میدی و حتی لینک میذاری❤️، کاش بعضیا یاد بگیرن!
@smjt2000
کلید های حرکتی Emacs برعکس vim اکثرن به دلیل شباهت اسمی هستن. مثلا C-n برای next. هر کاری هم که C (یا همون Ctrl) انجام میده، M (قدیم به اسم Meta و الان همون Alt) نوع دیگه ای انجام میده. مثلا M-f یک کلمه میره جلو ولی C-f یک کاراکتر. ۱۰۰٪ کلیدها رو هم میتونی عوض کنی، ولی پیشنهاد میکنم با کلید های دیفالت یاد بگیری چون خیلی راحتترن.
توی README کانفیگ من یه سری توضیحات هست که برای درک Frame، window، و buffer کمک میکنه.
توی همین هفته شاید جور کردیم یه Jitsi گذاشتیم.
@Mehrad @hosein @lxsameer
آره میدونم ولی خیلی جدا از همن. کلیدای ویم کنار همن، یا حتی مثلا WASD هم چسبیده به هم.
حدس میزنم چون ایمکس چیزی مثل normal mode, visual mode... ویم رو نداره(حدس میزنم) پس نیاز داره به کلیدهای ترکیبی اما خیلی پرتن.
من کی باشم که بگم این اشتباهه باید اینجوری باشه، توسعه دهنده اصلی دوست داشته اینجوری باشه، ولی ناموسا بد دسته!
همون جور که گفتم درباره موضوع Jitsi بحث کامپیوتری باشه اگه راهم بدین خوشحال میشم منم باشم. مخصوصا ایمکس که زیاد چیزای خفن ازش دیدم.
@smjt2000
What makes Emacs great, is that you can pretty much do whatever you like. You don't like the default key bindings? Nay bother, change them. You've used to vim? Use evil-mode.
I used to have a lxmode, that modified all the nav keys for code review, with only 3 keys in total.
So even the sky is not a limit.
Sorry for replying in English.
@lxsameer @Mehrad @hosein
I don't want to change default navigation key bindings, this can cause problems if I use someone else's computer. How likely is it that I will use Emacs on someone else's computer? Probably never!
I like the name "evil-mode", you're trying to use Vim keys on Emacs? That's my enemy :/
Thanks for the reply. I understand English, but I have trouble writing and speaking. I use AI to do this!
@Mehrad single user nix maybe? That's what I'm doing on a similar situation.
@lxsameer
Interesting. Where does the store go? In home?
@Mehrad You can set it in your nix.conf.
https://nix.dev/manual/nix/2.32/command-ref/conf-file.html#conf-store
@Mehrad Depending on how angry / motivated you are you can create ~/bin and ~/lib and adjust $PATH and $LD_LIBRARY_PATH. Been there, done that, huge waste of time. But sometimes there is no alternative.
@Mehrad Is building Emacs from source an option? I do this on my system and install it in my own directories. No need for SU rights. However, the necessary development libraries have to be available.
@ericsfraga This is an Ubuntu machine with almost nothing on it other than R and Python. You have a valid point though. I can give that a try and see how it works. For now I managed to get it working with Flatpak, but when Emacs is containerized it might not have access to everything in the system. If Flatpak had glitches, I will have no choice but to compile or stick to nano and tmux. Thanks for the suggestion.
RE: https://mastodon.social/@AltTextHealthCheck/115661242856067969
61% AltText, mstdn.social? Not great not terrible. But we can and should do better!
Wish #Codeberg wasn't so inaccessible to screen reader users. I hate Microsoft, GitHub, and all the AI slop that comes along with it, but I can actually navigate by repositories using standard screen reader navigation keys on GitHub, headings in the readme don't announce the name of the repository before the text every single time, etc. I will say though, major props to Codeberg for making an accessible CAPTCHA. Codeberg is a fork of Forgejo, and it is open source, so yes, I could technically go modify it. But that's not really what I want to do. I just want a git platform I can use. It seems like GitHub is still that, for now. Hopefully not for long though.
It sounds frustrating considering you already have trouble using #Codeberg but they're in a very close touch with the community in their Matrix room, so just mentioning the struggle is already an idea.
And if using matrix clients also isn't feasible I would suggest my assistance if you guide me how to reproduce issues considering I've never used a screen reader.
@nadiyar @TheQuinbox The accessibility fixes probably need to be put into Forgejo if people are serious about decentralization.
@x0 @nadiyar @TheQuinbox They would be. Any accessibility contributions are welcomed and I kinda doubt the Codeberg folks would want to maintain such extensive improvements as downstream patches anyway.
Unfortunately my rage is already maxed-out so I can't assign this the full quota of anger it deserves 😡
Dear Women's Institute: if you don't represent trans women, you don't represent ANY women.
There is nothing in law or recent ruling that compels any organisation to exclude trans people. There is always another option:
- redefine your membership requirements
- join with other orgs and fight this in court
- close the org
All these are preferred to this.
... and if you have kids in Guides, pull them out. Again, the Guides have other options - there is no justification for this.
@dentangle Please either add hashtags or CW this stuff, Fedi filters aren't context aware. I already sufficiently know the world hates me and to avoid humans at all cost.
edit: Given instance rules I think this even *has* to be CW'd.
Edit: and a pair of pink gloves! lmao
Quoted posts are now shown.
Added metadata to remote users in the people page (contributed by dandelions).
Fixed memory leak (contributed by dandelions).
Fixed user matching (contributed by rakoo).
Rendering visibility conditionally, with lesser reach if needed (contributed by byte).
Added a button next to a follow notification to follow back.
Fixed typo in man page (contributed by spky).
Updated Czech and German translations (contributed by pmjv and zen).
If you find #snac useful, please consider buying grunfink a coffee or contributing via LiberaPay.
I'm currently in Barcelona for the Ombra Festival and without any laptops nor macOS systems remotely accessible via SSH, so I won't get around to updating the MacPort until I'm back in the USA next week (though if others submit a Pull Request, that'd be cool!). Just wanted to let you know I'm not ignoring you!
I need to iron out and update my credit card info with Liberapay too, sorry about that. My life and finances in particular, are a bit out of sorts at the moment.
MacPorts merged my 2.85 snac update here:
https://github.com/macports/macports-ports/pull/30539
I think I ironed out the Liberapay issue too, so hopefully the funds reached you OK by now.
Happy holidays!
I had no idea that #snac has stopped working with Lemmy and NodeBB groups. I'll take a look at it.
I was reading a blog post just now, when I noticed a discrete little box containing a disclaimer that the post had been written with the assistance of an #LLM
Whilst I appreciate the honesty, it's a bit like putting a disclaimer on the menu that you've pissed in the soup. I still regret having eaten it.
I don't want your #AI slop in my brain thanks.
It's a blog post. I want to see your little tics and typos and idiosyncracies - this is a conversation between humans. Leave out the robot.
🧕🤖🧔
@dentangle just unfollowed an artist on the fediverse and another YouTube channel because they admitted to and advocated for "ai" use.
It's a bit sad especially because that illustrator was doing some nice work. But I don't feel like normalizing slop. 🤷
@nadiyar I have a similar-effect one on my web site front page.
"I go to great lengths to keep this web site, as delivered from my web server, completely free of cookies, Javascript, trackers, ads, external third-party requests and anything created using generative AI (including but not limited to large language models and image diffusion models). Should you by some miracle encounter any, *please* let me know so that I can evict it."
with a link to my /ai page.
I've seen a few posts today about "Migrating X from GitHub to Codeberg", so I think that I should also share my testimony.
Nothing worth a separate blog post -- I've typed the repository URL, clicked 'import' and everything just worked.
Big thanks to @Codeberg !
I fucking hate dealing with bugs and spending hours tracing issues :(
@nadiyar
Setup @delta and @torproject relays
@nadiyar
یه ویتامینی بخوری هم خوبه، بجز بعضی ویتامینا که زیادش دفع نمیشه رو زیاد نخوری، مولتی ویتامین روزانه هم میتونه خوب باشه.
It used to be recommended that when you reply to someone, it would be polite to set the post privacy level to "Quiet Public" (formerly 'unlisted') so the Live Feeds aren't all clogged with Public posts that are actually replies. I've become accustomed to doing that automatically. But it seems like most people are replying set to Public and the Live Feeds are not showing those posts. Is there any purpose now to the Quiet public privacy setting?
Feditips currently says: Unlisted / Quiet Public – Anyone can see it, but it won’t appear in the trending posts list or the Local or Federated timelines, it won’t show up in search results and it won’t show up in other people’s hashtag follows. Unlisted can be useful for replying in threads, so that you’re not filling search results etc unnecessarily. Normally indicated by a crescent moon 🌙
https://fedi.tips/who-can-see-my-posts-in-mastodon-how-do-i-send-dms-in-mastodon/
But, like I said, they aren't showing up in the local timeline (live feed). So, is the only purpose to avoid them showing up in searches?
Unlisted will appear in your followers home feeds, but anyone can visit it and it shows on your profile to anybody.
It can still be boosted, etc.
Some people never use it, some default to it.
I like it for when I'm just spouting and don't feel the need for everyone to know.
Others do followers only in that situation.
So really just personal preference and mood.
@davey_cakes I see. Thank you. That makes sense. 🙂
I do followers only in replies sometimes because I don't want them to be boostable. And if I toot a selfie.
I have all my toots default to unlisted.
It's a pain I need to also hit save now for choosing a different status instead of just the drop down. Why?
it worth mentioning I'm not using Mastodon as fedi software
it worth mentioning I'm not using Mastodon as fedi software
(Sorry for double notification, I accidentally deleted the comment so I had to post it again)
@photovotary@beige.party @davey_cakes@mastodon.ie
@nadiyar @photovotary @davey_cakes
Seems like you should only see it if you are following my replies and a follower. But maybe that's changed as J says.
@photovotary I came here to write “I don’t know.”
Following to find out though.
@LoganFive @photovotary @LikeItOrLumpIt @nadiyar @davey_cakes
I think the missing key word is "public" timelines
this will appear in the timelines of people that follow me, but won't appear on searches, on my mastodon homepage without a session... but If i follow you, i see your silent replies... but if Nancy doesn't and search for a tag or keyword.. they are not there...
Last month, 18 people ordered print books from my store instead of going to the Bezosbeast.
Writers, set up your own stores. It's worth it. #writing
If you see something, say something! Call them out and make sure they hear you!
- "Hey! I like your shoes!"
- "Thank you for opening that jar for me!"
- "I'm glad you're here!"
- "Do you need a hug??"
- "The world is better because I know you're in it!"
- "Your hair looks great!"
- "Daamn! Have you been working out?"
- "I hope you have a lovely day!"
You never know which act of kindness will make all the difference to someone, so take every opportunity to be kind. Your kind words today may be why they're still around tomorrow.
Also, it's a great way to make friends.
@alice I see lovely chomnky shoes all the time but it seems like it would be creepy for an older guy to comment on a young woman's clothing. Even shoes.
Sometimes I do compliment a funny t-shirt, they invite commentary.
@jef good rules of thumb when complimenting anyone, but especially femme-folx, are to:
1. compliment choices, not inherent qualities.
2. don't compliment sexualized things.
3. only compliment when they have an easy out.
4. compliments are gifts, not transactions.
5. compliment, then fuck off. They'll stop you if they want to continue the interaction.
You never know when to use each one, to avoid using a word coming straight out of Shakespeare plays in the middle of flirting.
شما یادتون نمیآد. #ویندوز ۸ قرار بود ۱۲۸بیتی باشه و گنو/لینوکس رو برای همیشه تموم کنه!
@danialbehzadi
خب هرچی بیتها رو بیشتر کنیم بهتره؟
آخه همیشه میگن ۳۲ ضعیفه و ۶۴ خوبه
@milad
نکته اینه که پونزده سال ازش گذشته و هنوز یه پردازندهٔ ۱۲۸بیتی هم ساخته نشده!
@danialbehzadi @milad
شایعهای بود که دیگران ساخته بودن. وگرنه مایکروسافت هیچوقت همچین ادعایی نکرده. واقعاً بعید بود ازت که همچین شایعهای رو باور کرده باشی.
@danialbehzadi @milad
اینکه باور کردی مایکروسافت همچین ادعایی کرده رو میگم ازت بعید بود.
@danialbehzadi @milad
انگار ریسک پنج به صورت تئوری میتونه
یک سری اسلاید هم پیدا کردم
https://www.hipeac.net/events/sessions/8197/first-128-bit-risc-v-european-workshop/
I am long beyond tired of machines, instead of functional controls, have "touch sensitive" bullshit. It is over 20 years since they became fashionable and it is time that the credulous masses recognise that buttons remain the superior technology.
A machine should do what it is told when I press the button. I should not have to find its fucking g spot
Things to do this weekend besides shopping:
- manage your mind goblins
- nap for 1,000 years
- investigate Pi until you get to the weird stuff
- investigate pie
- read a book out loud in the forest. it may seem like no creatures are listening, but they are, and they appreciate it