Spyke

Posts

summit·SummitbyRedjard

[feature] support for "lemmyverse.link" links

I've seen a few lemmyverse links pop up more recently, for example stamets is posting this one at the moment: https://lemmyverse.link/lemmy.dbzer0.com/post/55776236

They all open in the browser, breaking the user experience, taking forever to redirect, ...
It would be much better to instead open the linked post on the current account instance, the thing you would get when stripping the "https://lemmyverse.link/" prefix and then using "view in my instance".

View original on lemmy.dbzer0.com
14
rfc3339·RFC3339byRedjard

Accurate representation of the different date formats

Some years ago in a chain of discussion the more typical simple pyramid representation of date formats was improved to incorporate every (big and) little detail of the various formats accurately.

The annotated regions of usage are debated however.

The first insight is that numbers themselves are ordered most to least significant, that's why every numeric element is sloped top to bottom. This shows why dd.mm.yyyy is not well-ordered, even ignoring the time component.

Then, am/pm is actually its own segment of the time notation when it is used, and as the biggest is misplaced when put after time.
Put between date and time it is still inefficient, but at least placed in order (and is alphabetically sorted).

Another neat detail is the quirk of 12h time to call the first hour 12 instead of 00. This is represented by the lowest section of the hour bar spiking to be the widest.

One remaining inaccuracy is that the width of the bars does not match their encoded amount of information. It would be sensible to have the day be 5x wider than am/pm, and the (4 digit) years 2.6x as wide as the days, but alas that would be too impractical for such a well-designed infographic.

::: spoiler I inverted the original because I prefer darkmode. Here is the original :::

View original on lemmy.dbzer0.com
28
iso8601·ISO8601byRedjard

Accurate representation of the different date formats

Some years ago in a chain of discussion the more typical simple pyramid representation of date formats was improved to incorporate every (big and) little detail of the various formats accurately. The annotated regions of usage are debated however. The first insight is that numbers themselves are ordered most to least significant, that's why every numeric element is sloped top to bottom. This shows why dd.mm.yyyy is not well-ordered, even ignoring the time component. Then, am/pm is actually its own segment of the time notation when it is used, and as the biggest is misplaced when put after time. Put between date and time it is still inefficient, but at least placed in order (and is alphabetically sorted). Another neat detail is the quirk of 12h time to call the first hour 12 instead of 00. This is represented by the lowest section of the hour bar spiking to be the widest. One remaining inaccuracy is that the width of the bars does not match their encoded amount of information. It would be sensible to have the day be 5x wider than am/pm, and the (4 digit) years 2.6x as wide as the days, but alas that would be too impractical for such a well-designed infographic. ::: spoiler I inverted the original because I prefer darkmode. Here is the original :::

View original on lemmy.dbzer0.com
148
summit·SummitbyRedjard

Automatic hyperlinking treats punctuation differently to webui reference

Ran across this broken link here. Summit shows links differently to the webui, and probably also other apps. I think matching webui behavior is best here.

There seems to be more complex regex at play, including checking for matching brackets etc.. Probably best to dig that out of the sourcecode.

Examples:

Summit: https://en.m.wikipedia.org/wiki/Orion_(spacecraft)
Raw: https://en.m.wikipedia.org/wiki/Orion_(spacecraft)
Webui: https://en.m.wikipedia.org/wiki/Orion_(spacecraft)

Summit: https://example.org/aa(aa
Raw: https://example.org/aa(aa
Webui: https://example.org/aa(aa

Summit: https://example.org/aa(aa)
Raw: https://example.org/aa(aa)
Webui: https://example.org/aa(aa)

Interestingly while writing this, I noticed the rules for android long press text select also match webui behavior.

View original on lemmy.dbzer0.com
14
summit·SummitbyRedjard

Low performance on custom emoji images

Take this comment as an example: https://lemmy.dbzer0.com/comment/20455448

There are a few images with notable resolution (500×500) in that vote comment, that are shown at very small size. Whenever they come into view, the fps of the entire app drops notably for me, down to perhaps the tens. I've seen it go even lower on other votes with more emoji.

My phone is quite powerful, and browsers for example can display similar cases fluently even on much worse hardware.

View original on lemmy.dbzer0.com
13
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇪🇺

{ "id": 3545581254, "name": "Flag of the EU", "description": "The European Union is a supranational political and economic union of 27 member states that are located primarily in Europe.\nThis large EU flag sits in the EU flag block, surrounded by all EU member nations (except Hungary), aswell as 6 bonus flags.", "links": { "website": [ "https://european-union.europa.eu/index_en" ] }, "path": { "3-48": [ [ 348, 238 ], [ 401, 238 ], [ 401, 273 ], [ 348, 273 ] ] }, "center": { "3-48": [ 375, 256 ] } }

View original on lemmy.dbzer0.com
1
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇳🇱

{ "id": 8083616117, "name": "Flag of Holland", "description": "The Kingdom of the Netherlands is a member nation of the EU.\n\nThis flag was built as originally planned before the event.", "links": {}, "path": { "4-48": [ [ 402, 214 ], [ 419, 214 ], [ 419, 225 ], [ 402, 225 ] ] }, "center": { "4-48": [ 411, 220 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇸🇮

{ "id": 6153341517, "name": "Flag of Slovenia", "description": "The Republic of Slovenia is a member nation of the EU.\n\nThis flag was built as originally planned before the event.", "links": {}, "path": { "4-48": [ [ 384, 214 ], [ 401, 214 ], [ 401, 225 ], [ 384, 225 ] ] }, "center": { "4-48": [ 393, 220 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇸🇪

{ "id": 5687058390, "name": "Flag of Sweden", "description": "The Kingdom of Sweden is a member nation of the EU.\n\nThis flag was built as originally planned before the event.", "links": {}, "path": { "7-48": [ [ 366, 214 ], [ 383, 214 ], [ 383, 225 ], [ 366, 225 ] ] }, "center": { "7-48": [ 375, 220 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇮🇹

{ "id": 3173366765, "name": "Flag of Italy", "description": "The Italian Republic is a member nation of the EU.\n\nThis flag's position was swapped with Belgium early on during the build, compared to the original plan.", "links": {}, "path": { "10": [ [ 330, 214 ], [ 365, 214 ], [ 365, 225 ], [ 330, 225 ] ], "11-48": [ [ 348, 214 ], [ 365, 214 ], [ 365, 225 ], [ 348, 225 ] ] }, "center": { "10": [ 348, 220 ], "11-48": [ 357, 220 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇧🇪

{ "id": 1592318830, "name": "Flag of Belgium", "description": "The Kingdom of Belgium is a member nation of the EU.\n\nThis flag's position was swapped with Italy early on during the build, compared to the original plan.", "links": {}, "path": { "11-48": [ [ 330, 214 ], [ 347, 214 ], [ 347, 225 ], [ 330, 225 ] ] }, "center": { "11-48": [ 339, 220 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇧🇬

{ "id": 2457337527, "name": "Flag of Bulgaria", "description": "The Republic of Bulgaria is a member nation of the EU.\n\nThis flag was built as originally planned before the event.", "links": {}, "path": { "4-48": [ [ 384, 226 ], [ 401, 226 ], [ 401, 237 ], [ 384, 237 ] ] }, "center": { "4-48": [ 393, 232 ] } }

View original on lemmy.dbzer0.com
0
2025fedicanvasatlas·2025 Fediverse canvas atlasbyRedjard

⁤🇪🇪

{ "id": 535107290, "name": "Flag of Estonia", "description": "The Republic of Estonia is a member nation of the EU.\n\nThis flag was built as originally planned before the event.", "links": {}, "path": { "7-48": [ [ 366, 226 ], [ 383, 226 ], [ 383, 237 ], [ 366, 237 ] ] }, "center": { "7-48": [ 375, 232 ] } }

View original on lemmy.dbzer0.com
0