Removal of Badges #9

Closed
opened 2025-11-06 08:12:28 -06:00 by GiteaMirror · 11 comments
Owner

Originally created by @memoryruins on GitHub (Apr 29, 2018).

Previously opened an issue about formatting and badge use on the awesome-rust list https://github.com/rust-unofficial/awesome-rust/issues/419.

For awesome-embedded-rust, I propose continuing with the format we have now, which is the "simpler alternative" in the above link, except without any graphical badges (the graphical logo at the top looks fantastic, however). Removing the noise of misaligned badges, It's easier to read and especially to load. Bringing up now before the lists begin to grow, especially with the many crates to be added for no-std #2.

Originally created by @memoryruins on GitHub (Apr 29, 2018). Previously opened an issue about formatting and badge use on the awesome-rust list https://github.com/rust-unofficial/awesome-rust/issues/419. For awesome-embedded-rust, I propose continuing with the format we have now, which is the "simpler alternative" in the above link, except without any graphical badges (the graphical logo at the top looks fantastic, however). Removing the noise of misaligned badges, It's easier to read and especially to load. Bringing up now before the lists begin to grow, especially with the many crates to be added for no-std #2.
Author
Owner

@therealprof commented on GitHub (Apr 30, 2018):

@memoryruins So you're proposing to revert #1? I'm more in favour to go with #20 instead which would also remove a lot of the badges from the entry page to unclutter the entry page.

@therealprof commented on GitHub (Apr 30, 2018): @memoryruins So you're proposing to revert #1? I'm more in favour to go with #20 instead which would also remove a lot of the badges from the entry page to unclutter the entry page.
Author
Owner

@memoryruins commented on GitHub (Apr 30, 2018):

Ah yes, my bad. I would have left a comment there if I saw earlier. Many awesome lists do without, and the ones that add structure and alignment, e.g https://github.com/bnb/awesome-hyper, still experience sluggish load times.

I’m also in favor of splitting certain sections into their own pages, and less badges may be best in the long run there as well.

@memoryruins commented on GitHub (Apr 30, 2018): Ah yes, my bad. I would have left a comment there if I saw earlier. Many awesome lists do without, and the ones that add structure and alignment, e.g https://github.com/bnb/awesome-hyper, still experience sluggish load times. I’m also in favor of splitting certain sections into their own pages, and less badges may be best in the long run there as well.
Author
Owner

@berkus commented on GitHub (May 1, 2018):

I don't like those badges either, they're cluttering the page.

@berkus commented on GitHub (May 1, 2018): I don't like those badges either, they're cluttering the page.
Author
Owner

@RandomInsano commented on GitHub (Sep 16, 2018):

Exhuming this thread from the dead, I do think removing the badges is a good plan. @japaric what was the original reason to add them? They’re neat but was there other reasons than the coolness factor?

The practical reason I can see is to check for newer versions of crates in one place.

@RandomInsano commented on GitHub (Sep 16, 2018): Exhuming this thread from the dead, I do think removing the badges is a good plan. @japaric what was the original reason to add them? They’re neat but was there other reasons than the coolness factor? The practical reason I can see is to check for newer versions of crates in one place.
Author
Owner

@eldruin commented on GitHub (Sep 28, 2018):

Aside from the coolness factor, it has been useful to me to distinguish which projects have a published crate and which ones do not.
Personally, for the ones with a published crate I assume that the library is usable, there is a reliable versioning and a somewhat thought-through API, even if it is not complete.
Without a published crate I expect more of an unstable and not very usable project.

The slow loading is somewhat annoying, though. Would this be better if we used pngs instead of svgs?

@eldruin commented on GitHub (Sep 28, 2018): Aside from the coolness factor, it has been useful to me to distinguish which projects have a published crate and which ones do not. Personally, for the ones with a published crate I assume that the library is usable, there is a reliable versioning and a somewhat thought-through API, even if it is not complete. Without a published crate I expect more of an unstable and not very usable project. The slow loading is somewhat annoying, though. Would this be better if we used pngs instead of svgs?
Author
Owner

@therealprof commented on GitHub (Sep 28, 2018):

@eldruin If this is done right (haven't checked) SVGs would be vastly smaller than PNGs. I think the main problem here is that each image is individually loaded from the server...

@therealprof commented on GitHub (Sep 28, 2018): @eldruin If this is done right (haven't checked) SVGs would be vastly smaller than PNGs. I think the main problem here is that each image is individually loaded from the server...
Author
Owner

@RandomInsano commented on GitHub (Sep 29, 2018):

vastly smaller

Depends on the resolution of the rendered image. A one pixel bitmap beats them all.

It could be the browser implementation of parsing and walking a new complex data structure each image that is the delay we’re seeing.

Update: (now with facts!)

-rw-rw-rw-@ 1 me  staff  3060 29 Sep 09:09 lpc82x.png
-rw-rw-rw-@ 1 me  staff   963 29 Sep 09:09 lpc82x.svg

Forced full refresh of:
SVG: 1.56MB, between 16 to 20 seconds
PNG: 1.69 MB, 9.5 seconds first refresh, 2 seconds

SVG:
image

PNG:
image

If I were to guess, the badge generator or one of it's content delivery network servers is not caching SVGs. I had the browser cache disabled for both tests and they were performed on Firefox 61.0.2.

Considering that drastic improvement, I've opened a PR for this change and we can keep arguing if it's ugly or not later.

@RandomInsano commented on GitHub (Sep 29, 2018): > vastly smaller Depends on the resolution of the *rendered* image. A one pixel bitmap beats them all. It could be the browser implementation of parsing and walking a new complex data structure each image that is the delay we’re seeing. Update: (now with facts!) ```text -rw-rw-rw-@ 1 me staff 3060 29 Sep 09:09 lpc82x.png -rw-rw-rw-@ 1 me staff 963 29 Sep 09:09 lpc82x.svg ``` Forced full refresh of: [SVG](https://github.com/RandomInsano/awesome-embedded-rust/blob/master/README.md): 1.56MB, between 16 to 20 seconds [PNG](https://github.com/RandomInsano/awesome-embedded-rust/blob/pngs_instead/README.md): 1.69 MB, 9.5 seconds first refresh, 2 seconds SVG: ![image](https://user-images.githubusercontent.com/71530/46246794-a68e0180-c3c8-11e8-98b0-8bba8e2ed02a.png) PNG: ![image](https://user-images.githubusercontent.com/71530/46246860-611e0400-c3c9-11e8-8d90-38bd652d63ef.png) If I were to guess, the badge generator or one of it's content delivery network servers is not caching SVGs. I had the browser cache disabled for both tests and they were performed on Firefox 61.0.2. Considering that drastic improvement, I've [opened a PR](https://github.com/rust-embedded/awesome-embedded-rust/pull/91) for this change and we can keep arguing if it's ugly or not later.
Author
Owner

@therealprof commented on GitHub (Sep 29, 2018):

Sorry, but I don't see any improvement here. It neither renders faster for me nor would I consider it a fattening the already big page further a worthwhile tradeoff.

@therealprof commented on GitHub (Sep 29, 2018): Sorry, but I don't see **any** improvement here. It neither renders faster for me nor would I consider it a fattening the already big page further a worthwhile tradeoff.
Author
Owner

@RandomInsano commented on GitHub (Sep 30, 2018):

Really?! Can you open your browsers profiler, disable caching (both FF and Chrome support this) and check the networking timeline?

Update: I just did it myself (for science!) and you're right. Yesterday I ran refreshes about five or six times per page and it seemed to be consistent. Today they're inconsistent in both browsers. As good as 1.07 seconds on one load and as bad as 20 seconds in others regardless of the content type served up.

I think these speed differences are mostly in the caching somewhere out on the Internet. I'll go close that one off.

@RandomInsano commented on GitHub (Sep 30, 2018): Really?! Can you open your browsers profiler, disable caching (both FF and Chrome support this) and check the networking timeline? Update: I just did it myself (for science!) and you're right. Yesterday I ran refreshes about five or six times per page and it seemed to be consistent. Today they're inconsistent in both browsers. As good as 1.07 seconds on one load and as bad as 20 seconds in others regardless of the content type served up. I think these speed differences are mostly in the caching somewhere out on the Internet. I'll go close that one off.
Author
Owner

@Israel-Laguan commented on GitHub (Jan 18, 2023):

As there is already a failed test for this change, maybe this PR needs to be closed.

@Israel-Laguan commented on GitHub (Jan 18, 2023): As there is already a failed test for this change, maybe this PR needs to be closed.
Author
Owner

@berkus commented on GitHub (Jan 18, 2023):

I'll go and close this - seems like the consensus is to not proceed.

@berkus commented on GitHub (Jan 18, 2023): I'll go and close this - seems like the consensus is to not proceed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-embedded-rust#9