Crul

joined 2 years ago
[–] Crul 19 points 2 years ago* (last edited 2 years ago) (7 children)

Spain: adding sticks to stuff, we invented:

  • The mop: A rag with a stick, invented by Manuel Jalón in 1956
  • The lolipop: A candy with a stick, invented by Enric Bernat in 1957
  • Foosball: Soccer with a stick, invented by Alejandro Campos Ramírez during the civil war (around 1936)

Source, with other 7 inventions (without sticks):

10 Spanish Inventions You Can’t Live Without | by Embassy of Spain USA | SpainInTheUSA

[–] Crul 2 points 2 years ago

I use this usercript: https://greasyfork.org/en/scripts/469297-block-lemmy-instances

You need to edit line 17

Here adapted to work also with MLMYM (https://old.lemmy.world): https://pastebin.com/z0mShfDP

[–] Crul 2 points 2 years ago* (last edited 2 years ago)

Here are another 4, just substitute XXXX with the image URL:

I also have a userscript that I trigger with a keyworded shortcut on Firefox, I just "Open image in new tab", type rev and the 5 reverse searchs open at once :).

EDIT: Here it is the userscript. It's a bit more complex that what I remembered because it also handles pages with more than 1 images: adding a number to any image and asking you to choose.. but I think that doesn't work very well.

javascript:(function() {var url;var args = '%s';var imgs = document.getElementsByTagName("img");var imgIdx = undefined;if (imgs.length == 0) return;if (imgs.length > 1) {if (args.length > 1) imgIdx = parseInt(args[1]);if (imgIdx === undefined || isNaN(imgIdx) || imgIdx < 1 || imgIdx > imgs.length) {numberImgs();imgIdx = parseInt(prompt(`There are ${imgs.length} images, select index:`, 1));}if (isNaN(imgIdx) || imgIdx < 1 || imgIdx > imgs.length) return;url = imgs[imgIdx - 1].src;} else {url = imgs[0].src;}if (!url) return;url = encodeURIComponent(url);window.open("https://saucenao.com/search.php?url=" + url);window.open("https://lens.google.com/uploadbyurl?url=" + url);window.open("https://www.bing.com/images/searchbyimage?cbir=sbi&imgurl=" + url);window.open("https://www.tineye.com/search?url=" + url);window.open("https://yandex.com/images/search?rpt=imageview&url=" + url);function numberImgs() {var imgs = document.getElementsByTagName("img");for (var img = 0; img < imgs.length; img++) {var parent = imgs[img].parentElement;if (!parent) continue;var numberDiv = document.createElement("div");numberDiv.innerHTML = 1 + img;numberDiv.className = "tmpImgNumberDiv";numberDiv.style.position = "absolute";numberDiv.style.padding = "2px 9px 2px 6px";numberDiv.style.background = "#f00";numberDiv.style.color = "#fff";numberDiv.style.zIndex = "9999";numberDiv.style.lineHeight = "normal";parent.prepend(numberDiv);}setTimeout(function() {var imgNumbers = document.getElementsByClassName("tmpImgNumberDiv");var idx = imgNumbers.length - 1;while (idx >= 0) {imgNumbers[idx].remove();idx--;}}, 5000);}})();
[–] Crul 6 points 2 years ago* (last edited 2 years ago) (1 children)

If it does, I should be able to post images on the pixelfed app that show my username as @adonis.

It cannot work as stated because there could be another @adonis accounts in other instances and the only way to prevent that would be to centralize all the signups which goes against the whole idea of decentralization. That's why the user must be @[email protected] as it is shown now.

Regarding the OAuth/JWT, again... not an expert, but what I understand is that that kind of integration is much stronger than the current system. AFAIK, it could work as you say, but that would make things much more complex for the servers; you usually provide OAuth authentication for a few services, I don't know how well that scales with ... hundreds / thousands (?) of authentication provders. But, who knows, maybe in the future it's implemented in one way or another.

We should take into account that this technology is fairly new and people are still building on it.

[–] Crul 21 points 2 years ago* (last edited 2 years ago) (7 children)

I'm not an expert, those who know more, please correct me.

Regarding logging-in with one account into another instance, I think that's not how it's intended to work. But I'm oot sure I understand what you're asking.

Regarding the unified client API, 2 days ago Manton Reece (Creator of Micro.blog) wrote a response to Dave Winer's open voicemail in where he says:

There is a lot of work to do, even outside of ActivityPub. As Dave mentions, we also need a common posting API. The most popular Mastodon client apps do not support either ActivityPub or Micropub. But a lot of progress can be made focusing on interoperability for the server-to-server part of the API. That should be the top priority with Threads set to join the fediverse.

[–] Crul 3 points 2 years ago

Source: File:Khalili Collection Spanish Metalwork ZUL114.jpg - Wikipedia

Some info from Khalili Collection of Spanish Metalwork - Wikipedia:

a janbiya dagger with sheath in a Moroccan style, dated 1877, which was presented to King Alfonso XII by the Artillery Factory.

[–] Crul 2 points 2 years ago (1 children)

Thanks! re-corrected again.

[–] Crul 2 points 2 years ago

Thanks, now it's clear.

I corrected my original comment.

[–] Crul 1 points 2 years ago (3 children)

Thanks for mediating!

What I'm getting from this dicussion is that, when signing, the operations are not encryption and decryption, but ... hashing and hash-veryfing?

view more: ‹ prev next ›