dvln.xyz
π dvln.xyz, newprez.com
π¬π§π΅π±π«π·
Programming, #photography and Coffee ππΈβ
Building a SE London feed: https://bsky.app/profile/did:plc:2mhnmnaowebbbydbckttw7gw/feed/aaac6nrxwly2
205 posts
165 followers
1,301 following
Regular Contributor
Active Commenter
comment in response to
post
the_secret_ingredient_is_crime.gif
comment in response to
post
You could argue semantics because the API enumerates number of "segments", but it feels like a non/closed foldable would both have 1 segments. It feels like the consistency matters more than strict semantic interpretation - users expect a value that represents "number of usable display areas."
comment in response to
post
"Viewport can contain β₯ 1 segments" feels like a sensible hierarchy.
It also feels like worse DX to say that a device with a single display has 0 segments. "This iPhone has 1 viewport segment" takes less effort to understand than "This iPhone has 0 viewport segments".
comment in response to
post
I'd prefer the question to always be answerable. Something with no displays always returns 0. But a non/closed foldable with only one display returns 1.
Semantically, "segment" refers to a discrete portion of a viewing area. A non-foldable device has one viewing area, so returning 1 is accurate.
comment in response to
post
Went down a rabbit whole with this one, apologies... Maybe it depends on whether you want every device ever to be able to answer the question "How many viewport segments do you have?"
comment in response to
post
Now one of them is HOWLING out the lyrics
comment in response to
post
Thanks for this! Good to know, I'll have another crack at it later π
comment in response to
post
comment in response to
post
This is commonly referred to as The Goldberg Ratio
comment in response to
post
Love Jolene, top-tier sausage rolls
comment in response to
post
Just leaving this here @garethwatkins.bsky.social
comment in response to
post
π
comment in response to
post
pixel 5,31 #FF0000
comment in response to
post
pixel 4,31 #FF0000
comment in response to
post
pixel 5,30 #FF0000
comment in response to
post
pixel 4,30 #FF0000
comment in response to
post
pixel 5,29 #FF0000
comment in response to
post
pixel 4,29 #FF0000
comment in response to
post
pixel 1,29 #000000
comment in response to
post
pixel 0,29 #000000
comment in response to
post
pixel 3,29 #FFFF00
comment in response to
post
pixel 2,29 #FFFF00
comment in response to
post
pixel 3,31 #FFFF00
comment in response to
post
pixel 2,31 #FFFF00
comment in response to
post
pixel 3,30 #FFFF00
comment in response to
post
pixel 2,30 #FFFF00
comment in response to
post
pixel 1,31 #000000