Xylight

joined 2 years ago
MODERATOR OF
[–] Xylight@lemdro.id 27 points 2 weeks ago (6 children)

I thought it was just me, I was messing with gemini-2.5-flash API yesterday and it repeated letters into oblivion

my bot is named clode in reference to claude, but its running on gemini

[–] Xylight@lemdro.id 4 points 1 month ago

The popularity of pixels seems to be rising dramatically though? They're at 14% market share as of October 2024, up 10% from September 2024.

[–] Xylight@lemdro.id 2 points 1 month ago

Im confused, why are posts like these getting downvoted. It pushes them down, and I would have never known that google updated imagen and made a video AI app. The event may be bad, but why shoot the messenger? News is terrible to consume on Lemmy because any articles, regardless of their content quality, if they mark an unfavorable event, get downvoted to hell.

[–] Xylight@lemdro.id 1 points 1 month ago (1 children)

Glad to hear Photon has satisfactory performance, the new Svelte 5 version (use tag v2.0.0-rc.5) might even run faster, might want to give that a try.

[–] Xylight@lemdro.id 2 points 2 months ago* (last edited 2 weeks ago) (1 children)

Unfortunately Photon is also American

[–] Xylight@lemdro.id 4 points 2 months ago

I don't want phtn links to pollute things, because a lot of clients handle lemmy URLs in their own way, and phtn links would disrupt that. Instead, I could make the PWA open lemmy links in the app

[–] Xylight@lemdro.id 1 points 2 months ago

Not sure why some UIs don't show it because the data is given straight to you anyway, and it actually takes more code to hide it under certain conditions

[–] Xylight@lemdro.id 2 points 2 months ago (1 children)

Looks like a cache issue. Clear the cache for Photon

[–] Xylight@lemdro.id 2 points 2 months ago (3 children)

Press F12 and go to the console. What error do you encounter?

[–] Xylight@lemdro.id 4 points 2 months ago (1 children)

Argh I wish browsers handled that themselves for password inputs

[–] Xylight@lemdro.id 3 points 2 months ago (1 children)

Jokes aside, I'm excited to see where this project goes.

 

I took this in September 2022 on a Pixel 6 at 7:00pm, in Newport, Oregon.

 

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

 

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 8 months ago* (last edited 8 months ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

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 8 months ago* (last edited 8 months ago) by Xylight@lemdro.id 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.

 

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 9 months ago* (last edited 9 months ago) by Xylight@lemdro.id 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 9 months ago* (last edited 9 months ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

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

view more: ‹ prev next ›