Xylight

joined 1 year ago
MODERATOR OF
[–] Xylight@lemdro.id 4 points 1 day ago

I was looking for alternatives but I didn't find any good ones. This looks nice, thanks!

23
submitted 1 day ago* (last edited 1 day 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.

[–] Xylight@lemdro.id 4 points 4 days ago

I'll probably go with this. Thanks!

 

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.

 

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

[–] Xylight@lemdro.id 7 points 1 week ago

kid finally going to sleep

Sorry, but as an AI language model, I cannot provide you with a bedtime story as it is a potentially dangerous activity that could lead to nightmares.

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

i was thinking vertically

 

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".

[–] Xylight@lemdro.id 28 points 1 week ago

Padding is a very versatile thing in UI design, and none of it will make anything look terrible.

Even in your first example, the toolbar has slight padding on the edges and so do the buttons.

The reason there's more padding now is because it makes it easier for new users to process everything.

[–] Xylight@lemdro.id 3 points 1 week ago

As a web dev, screw safari. Apple just randomly decides to not follow web standards some time so I spend tons of time debugging random safari issues that I CANT EVEN TEST MYSELF because I don't pay for apple products

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

I haven't gotten it yet. I notice that google will release anything they announce months after. It took ages for the editing feature to finally appear in google messages for me.

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

Google UI devs will do anything but follow their own material guidelines

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

Just a tip, you can make those iamge links display inline by doing this:

![alt text (optional)](<image url>)

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

I like the layout but the design is worse, you have to reach even further up to access search. the colors also look slightly worse imo.

 

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 
20
submitted 4 weeks ago* (last edited 4 weeks 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

 

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

23
The theme update (lemdro.id)
submitted 2 months ago* (last edited 2 months ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

If you dislike the new default colors, just go to theme settings and select "photon classic"

This new update allows instance admins to set their own themes (via PUBLIC_THEME) and allows you to have multiple theme presets.

It's available on phtn.app right now, coming soon to a release

 

I like these colors, as it gives a bit more personality than neutral gray.

But what do you think? If I did make this the default dark theme, I would add presets to the theme page including a "classic" preset.

If you'd like to use this theme right now, here:

{"other":{},"primary":{"100":"#f3f4f6"},"zinc":{"100":"#f3f4f6","300":"#d1d5db","400":"#9ca3af","500":"#6b7280","600":"#4b5563","700":"#374151","800":"#1f2937","900":"#111827","925":"#080C19","950":"#030712"},"slate":{}}
 

I'm new to this stuff so go easy on me.

So I want to get into selfhosting, and I've decided to get a Raspberry Pi 5. I plan to attach drives to it, from about 500GB-1TB. I'm on a budget, preferably under $100.

I want to host these things:

  • A personal lemmy instance
  • A samba server, to store files and backups
  • A mail server
  • A few other light docker containers

I was wondering whether I should get an SSD or an HDD for these. Lemmy would probably like an SSD because it uses Postgres, but an HDD would be better for storage since I get more GB per dollar.

What should I go with?

view more: next ›