this post was submitted on 18 Jun 2023
199 points (97.6% liked)

You Should Know

32326 readers
6 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 1 year ago
MODERATORS
 

Why YSK: Searching topcs on reddit was simple matter of entering desired term and prepending or appending keyword reddit. With lemmy's decentralised structure finding particular topic without knowing to which, or rather if even there is community dealing with such topic(s) can be a headache inducing hurdle. So appending simple:

~~site: lemmy.*~~

site:lemmy.*

to Your google search feature can ease up search.

P.S.

to avoid certain domains You can use e.g.:

~~-site: beehaw.org~~

-site:beehaw.org

@edit: removed spaces thank You @[email protected]

top 45 comments
sorted by: hot top controversial new old
[–] [email protected] 39 points 1 year ago (4 children)

Duckduckgo has a bang for Mastodon: !msocial. Maybe we should start putting in requests for Fediverse bangs: !lemmy, !kbin, !beehaw, etc.

It would be better if they would add !fediverse that searches all of the sites. Maybe one day!

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

I assume msocial only searches mastodon.social?

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

looks like it. !msocial {{{string}} points to https://mastodon.social/tags/string. So, !msocial Cats searches https://mastodon.social/tags/Cats.

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

Very cool, I didn't know they added !msocial.

Seems it only searches tags, which seems appropriate for Mastodon.

I feel like there is a huge difference in expectations of discoverability with this UI versus Mastodon, which makes full text search a non-question here whereas on Mastodon it was a (often ill-informed but well-intentioned) argument about privacy.

On Mastodon you can opt-in to have your posts indexed by Google, hopefully kbin/lemmy can rely on DDG or Google to do the full-text search for us with a flag on robots...?

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

I just requested a !kbin bang. In the request form they ask for a search URL such as https://kbin.social/search?q={{{s}}}. I tested it and it worked on kbin. I am thinking that the more people request these bangs the more likely they get approved.

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

I'll try submitting the same, sure.

I am suspicious that the search URL will only be indexing kbin.social and not the greater kbin/lemmy universe which is not good. But it's a !kbin bang and the !msocial bang goes to mastodon.social so I guess it makes sense.

I'd much rather see a !kbin search that returned results from all kbin instances it has indexed, and a !lemmy search that does the same for lemmy instances, or a !fediforum search that returned results from both. But it's a start!

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

Being able to easily search the entire fediverse woule be amazing.

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

If you use firefox, you can use extensions to add any lemmy instances as a search engine options. Then, simply add an @ shortcut to the lemmy search engine options, and you'll have the ddg equivalent of bangs in your firefox search bar.

Firefox does allow you to change search engine straight from the search bar by typing @ shortcut. An example of this by default, typing @ddg on firefox makes you search with duckduckgo instead of your default search engine.

Keep in mind that you have to type the shortcut on the searchbar first, before typing anything else.

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

Only downside is you won't find stuff from domains without lemmy in them, e.g. feddit.de

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

There's a silver lining here. It will prompt people to search from their instance instead of giving more traffic to Google.

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

Wouldn't the search results be even more limited in that case, though?

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

lemmy.* doesn't work for beehaw.org anyway

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

Sorry, working example would be:

-site:lemmy.lm

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

Someperson shall createth a copypasta of these terms of search that shall be needed to search on ALL of the kingdom of lemmy and associates. Until then let us pray that answered questions and questioned answers shall not disappear in the never ending greatness that is lemmy, as information shall be needed as needed shall be information!

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

Every browser supports adding custom search engines to the list. So you can prepare a query with all terms to be added and save it as a search engine. Fediverse search based on Google/Bing

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

Hmm, thank You for nice idea, maybe python(or JXS)+selenium+https://browse.feddit.de+https://programmablesearchengine.google.com could give me what I need,

I should look in to that, tnx

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

Also lemm.ee

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

Sorry,

correct example might have been ~~-site:lemmy.lm~~ -site:lemmy.ml

@edit: corrected domain thank You @[email protected]

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

YSK: This doesn’t work in DuckDuckGo because I just independently had the idea to try this a few days ago and returned no results. I didn’t think to try on Google. I believe DuckDuckGo is running on Microsoft Bing so it likely doesn’t work there either

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

On DuckDuckGo you can use:

!g site: lemmy.*

to be redirected to an anonymous Google search

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

it's not "an anonymous Google search", just a regular Google search results page. they got rid of encrypted.google years ago.

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

Is there such thing as an anonymous Google search though?

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

startpage.com

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

You should use !s instead to search google anonymously.

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

Not all lemmy sites fit that though. You've already lost out on sh.itjust.works, beehaw, lem.ee, sopuli.xyz etc

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

OP is sharing a very useful tip for people new to the Fediverse. Let's not allow our pedantry to get in the way of what is still a helpful tip please.

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

Fwiw I don't think they were complaining. I found it useful to clarify that it's not a complete search.

I frequently append "Reddit" to searches for more informative results. I can imagine that in the future it would be great do perform simalr searches covering all of the fediverse

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

I don't see how my comment "gets in the way" of using it. Just something to be aware of.

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

Don't forget to add -motorhead as well ;)

Unless, you know, you're awesome.

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

Finding answers about Lemmy is an easy, 3 step process:

  1. Enter search query, followed by Lemmy
  2. Exasperated sigh, because apparently I haven't learned my lesson
  3. Enter search query followed by "Lemmy -motorhead"
[–] [email protected] 6 points 1 year ago

Cool. Had no idea that wildcards work

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

You can also search for text that is present on most Lemmy pages and in URLs like:

"Join Lemmy" inurl:post

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

I've had better results searching through the instances themselves because Google doesn't always index the keywords on time. On caveat of this method is that if the instance doesn't have the syncing out the instance where the info is from being propagated, then this trick would not work

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

Pretty sure there shouldn’t be a space between the term “site:” and the domain

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

Sorry missed that in preview

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

But will it omit other things like kbin.social?

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

probably. So you could add it as a site search string; such as: site:lemmy.* OR site:kbin.social -site:beehaw.org cats

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

Yes and no. It won't search kbin.social directly, but federation works via mirroring content, so any posts that have reached the site being searched will, well, be on the site being searched.

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

If I'm searching for something I will always use "quotes" to make sure I get a direct search for that term. Anything else is a waste of time

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

So this is a good idea in principle, but there are a lot of sites that don't follow the "lemmy.tld" format. I checked the list of instances connected to our site, lemmy.ninja. We've been up for a few days, so we've accumulated a lot of instances by now. Following the Lemmy.* format gave me 285 out of 585 of our current instances. So just under 50%.

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

Also won't work for kbin.social.

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

I feel like I didn't think about this while creating my instance

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

Somebody posted a tool that handles this sort of searching for a number of popular instances that do not fit the usual patterns, see https://kbin.social/m/fediverse/t/52753

load more comments
view more: next ›