Xylight

joined 2 years ago
MODERATOR OF
[–] Xylight 2 points 2 weeks ago

How about no

[–] Xylight 3 points 3 weeks ago

marking an inbox item as read just does $notifications.inbox--, but the number only updates every 5 minutes, so when you go to an inbox with unread items before it updates, and mark one as read, it does this

i could easily fix it but i always forget right as i open the editor

[–] Xylight 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I did. In the long run it's better for me to write my own since it's easier to update and debug

[–] Xylight 1 points 3 weeks ago (3 children)

I'm definitely gonna have to write my own virtualizer. I tried using Tanstack Virtual but it definitely has too many issues with my setup to work well.

[–] Xylight 3 points 4 weeks ago (1 children)
  1. If Photon hangs on load and the screen never goes away, that means its' crashed or it's taking ages for the server to load the posts. I think it's a rendering error, do you have infinite scroll off? If so, rc5 should have fixed that.
  2. rc5 should fix that. I assume you're not using infinite scroll
  3. I removed them because it complicated settings more, and all the "shortcuts" were available in nearly one click everywhere anyway.
  4. I've seen this issue for a while but it would require some pain to fix, and I consider it low priority

I've been busy and haven't worked on photon for a bit, but i'll make sure to fix all these before merging v2

[–] Xylight 3 points 4 weeks ago

You may have selected English as a language and not undetermined. You can change it in the Main menu > profile > settings, then under languages, remove everything, or include Undetermined.

If that option is missing, you're using an outdated instance of Photon (likely one hosted on a lemmy instance). (This is why I was hesitant to let instances host photon themselves, causes so many UX catastrophes that are blamed on photon)

You can try again at https://phtn.app/

[–] Xylight 3 points 1 month ago (1 children)

Photon will definitely keep being maintained by me for the foreseeable future, I don't necessarily like the Lemmy API but I still enjoy working on Photon

[–] Xylight 1 points 1 month ago

That's because they linked photon.lemmy.world... this is why I was hesitant to allow instances to link photon to them.

Anyway, you can use https://phtn.app/ (the official URL, like vger.app) to use any instance.

[–] Xylight 3 points 1 month ago* (last edited 1 month ago) (3 children)

I am the developer of Photon. Tesseract was forked a long time ago and the features and code are much different now. I would not consider Tesseract a fork anymore, but a different project entirely.

[–] Xylight 1 points 1 month ago (7 children)

Pourquoi l'instance 'Photon' exécute-t-elle Tesseract ? Ce sont des applications complètement distinctes avec des conceptions et des philosophies très différentes.

[Ceci est un message traduit]

[–] Xylight 4 points 1 month ago

My profile picture is some random sunset. No idea where it's from or where I got it.

[–] Xylight 3 points 1 month ago (2 children)

Strange. I find that sh.reddit was significantly faster than the original new reddit. It also uses a framework that is more close to native html than whatever they were using before.

 

Taken on my phone so nothing special. Thought it looked cool!

10
submitted 6 months ago by Xylight to c/photon
 

I used to ask these a lot during Photon's early development, but I decided to do one now.

Are there any major features you'd like added or issues you'd want fixed?

35
submitted 6 months ago* (last edited 6 months ago) by Xylight to c/photon
 

Saw people on slrpnk.net were looking for a photon theme so I decided to make one. I'm not necessarily expecting this to be used at slrpnk.net, but I like the theme so I'll be using it. It has a nice light theme too.

It's pretty similar to a recent post for a "wintergreen" theme, this one is less saturated.

{"slate":{"25":"245 248 247","50":"235 242 241","100":"225 236 235","200":"205 218 222","300":"185 200 209","400":"155 172 186","500":"125 144 163","600":"95 116 140","700":"75 98 122","800":"55 80 104","900":"35 62 86","950":"25 44 68"},"zinc":{"50":"245 248 248","100":"220 235 233","200":"185 214 210","300":"143 185 182","400":"103 154 151","500":"77 127 125","600":"60 101 100","700":"51 82 82","800":"44 66 67","900":"35 51 51","925":"27 41 41","950":"20 31 32"},"primary":{"100":"180 200 199","900":"30 65 64"},"other":{"black":"20 20 30","white":"245 248 247"}}
26
submitted 6 months ago* (last edited 6 months ago) by Xylight to c/lemmyapps@lemmy.world
 

Even if you don't use Photon and have only heard of it, your answers can be useful for some questions!

cross-posted from: https://lemdro.id/post/13579151

I'd like to learn about the community that uses Photon, so I've decided to make a survey! You can answer it if you like. In about a week I'll collect the responses and see if anything's interesting, and then I'll make a post showing any discoveries.

The survey just has a few questions about demographics, Lemmy usage, and knowledge of Photon's features.

9
submitted 6 months ago by Xylight to c/photon
 

I'd like to learn about the community that uses Photon, so I've decided to make a survey! You can answer it if you like. In about a week I'll collect the responses and see if anything's interesting, and then I'll make a post showing any discoveries.

The survey just has a few questions about demographics, Lemmy usage, and knowledge of Photon's features.

 

this security issue can only be triggered by users fault, but it's up to the UI designer to prevent user mistakes causing potential credential leaks.

The login page

The login page is designed to be as simple as possible. Only 1 page, no extra steps. It'll validate whatever instance url you type in to ensure it's actually a Lemmy instance.

The problem

If the user mistypes the instance url to a typo squatting instance, your credentials were just sent straight to them. Bad. For example, I could setup an instance named lemmu.world, and if someone accidentally mistypes lemmy.world as that, I get their credentials for free.

Potential solutions

I'm not sure which one would be best as they all have problems.

  • Require you to type the instance before you can start typing your credentials.
    • This complicates things and adds an extra step. This also wouldn't completely solve the problem.
  • Add an auto complete list
    • This will work for popular instances as they'll know that they have the wrong url because it disappeared from the auto complete. However, I'd need to keep this list updated and id prefer photon to have minimal external ties. This also wouldn't work for small instances.
  • Add typo checking
    • This has the same problem as above as I'd need to keep common misspellings updated and I want photon to have minimal external ties.

Any ideas? For now, this isn't a problem as long as you double check the instance you're logging in with, and there's no cases of this AFAIK.

20
submitted 6 months ago* (last edited 6 months ago) by Xylight to c/gaming@lemmy.world
 

was replaying botw and went to windbomb but forgot i did not have the paraglider

 

alt textCaption

Web dev: What browser is visiting the page?

User agent string:

A screenshot of a browser. The URL bar reads firefox://settings, a button on the URL bar is labelled Netscape, a popup from the button reads: "You're viewing a secure Opera page", and the web page title reads "Chrome settings".

 

TL;DR

Vercel has been a PITA for a few reasons I won't go into, and I eventually reached a usage limit that made the site unusuable. Cloudflare pages has no usage limits, so I have switched to that. Nothing different should be noticable, except that initial loads might be slightly faster.

if you don't like cloudflare

I understand lots of people dislike cloudflare, so if you want to get away from it, here are some publicly hosted instances:

Instance Location Contact
phtn.app (Official) 🇺🇸 US West photon@xylight.dev
photon.thesanewriter.com 🇺🇸 US East thesanewriter@lemmy.thesanewriter.com
p.darrennathanael.com 🇮🇩 ID West noc@darrennathanael.com
phtn.ngn.tf 🇹🇷 Turkey services@ngn.tf
lm.sudovanilla.org 🇺🇸 US East hello@sudovanilla.org (behind 1 version)

You can also selfhost it if you'd like.

git clone https://github.com/Xyphyn/photon
cd photon
npm install && ADAPTER=node npm run build
node ./build/index.js 
22
submitted 7 months ago* (last edited 7 months ago) by Xylight to c/photon
 

On phtn.app I can give all translators of Photon a badge, here's how it looks on @Blisterexe@lemmy.zip (the French translator!)

If you want this and you translated the app, just add a comment and I'll try to verify your contributions. Then I'll add it to phtn.app. I can add and remove this at any time, and this will only appear on phtn.app.

To get the badge, you must have

  • Validly translated at least 30 strings of any language (other than English)
  • Proof that you are the contributor on weblate (using the same username on both should be enough)
 

Amazingly, Photon and Alexandrite started on the same day, June 24.

Top left: Voyager

Bottom right: Photon

Top right: Alexandrite

 

Betas of iOS 18.1 et al with Apple Intelligence could land as soon as this week.

view more: ‹ prev next ›