zulip-archive: Looking for maintainer - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

Our public archives are down because of Zulip API change.

It might just require a simple change to adapt to using the new API, but I don't have time for doing that. If any of you is interested in taking over maintenance, I'd be happy to add you as a collaborator to https://github.com/srid/zulip-archive

cc @Lysxia who originally reported it.

Pavan Rikhi

I can't commit to ongoing maintenance, but if you continue to ping me on breakages I can poke a bit.

Sridhar Ratnakumar

@Pavan Rikhi Nice man, thanks! We are up now: https://funprog.srid.ca/

Sridhar Ratnakumar

About the avatar, we are missing some - not sure why. Eg: Sandy Maguire avatar is not showing up here: https://funprog.srid.ca/polysemy/finally-catching.html

Pavan Rikhi

Yeah, seems like it's null if zulip is using their "gravatar" instead of an uploaded image:
https://zulip.com/api/get-users

Will be null if the client_gravatar query parameter was set to True and the user's avatar is hosted by the Gravatar provider (i.e. the user has never uploaded an avatar).
Changes: In Zulip 3.0 (feature level 18), if the client has the user_avatar_url_field_optional capability, this will be missing at the server's sole discretion.

Pavan Rikhi

gravatar avatar(or fallback we provide) can be embeded like this:

<img src="https://www.gravatar.com/avatar/<md5-hash-of-email-address>" />

https://en.gravatar.com/site/implement/images/

Pavan Rikhi

@Sridhar Ratnakumar dirty / 5-minute patch that falls back to gravatar profile pictures:
https://github.com/prikhi/zulip-archive/commit/da2e45d50aaaee0c41dd0db8f81670a0714d4c69

Pavan Rikhi

hmm, tempted to set the default to one of the image sets... would make it easier to use avatars to discern different users