[-] Xylight@lemdro.id 1 points 4 days ago

I had to read this title a few times to understand it

[-] Xylight@lemdro.id 2 points 6 days ago

Why is this getting downvoted? Don't shoot the messenger

18
submitted 2 weeks ago* (last edited 1 week ago) by Xylight@lemdro.id to c/photon@lemdro.id

Photon uses Svelte.js as the main JS framework for the UI. Photon uses Svelte 4 currently, but Svelte 5 was released and has a lot of benefits for the codebase. It's also a lot faster.

However, the paradigm for Svelte 5 is a lot different and almost the entirety of Photon might have to be rewritten.

Luckily, there's a migration tool that can do a lot of the work for me. However, I've still got to fix about 3,000 lines of code and 70 different files to work properly with Svelte 5. There's also gonna be a lot of hidden bugs I'll need to fix.

Because of this, I won't work on any new features for the next month or so, so that I can get this as done as fast as possible.

Generally you won't notice much other than slight behavior changes due to minor code structure changes, or maybe a bug or two.

Once I'm finished, I'll make another announcement and you might notice photon feeling a bit faster!

Once it's been confirmed stable I'll release docker images.

You can see my progress here

Other notes

Browser support drops

Very old browsers probably might break. I'm talking Internet Explorer (although I'm pretty sure that was already broken. I don't care if Photon doesn't work on IE.)

12
submitted 2 weeks ago by Xylight@lemdro.id to c/photon@lemdro.id

I usually don't like orange/brown themes but I think this one's cozy. I decided to make it for the autumn season.

{"slate":{"25":"255 248 240","50":"253 244 232","100":"251 236 221","200":"246 220 198","300":"240 195 165","400":"219 162 122","500":"196 133 89","600":"133 108 89","700":"89 72 59","800":"66 54 44","900":"44 36 29","950":"33 27 22"},"zinc":{"50":"255 243 230","100":"250 228 207","300":"227 186 156","400":"204 144 105","500":"181 102 54","600":"120 96 79","700":"82 66 54","800":"61 49 40","900":"41 33 27","925":"33 26 22","950":"25 20 16"},"primary":{"100":"255 245 235","900":"122 48 0"},"other":{"black":"25 20 16","white":"255 252 248"}}

To import, go to Main menu > Themes > Click the + to make a new theme > Import > Paste and import

203
submitted 2 weeks ago* (last edited 2 weeks ago) by Xylight@lemdro.id to c/dogs@lemmy.world

3 years old!

190
cozy cat (lemdro.id)
submitted 2 weeks ago* (last edited 2 weeks ago) by Xylight@lemdro.id to c/cat@lemmy.world

hes my silly mainecoon

157
[OC] cozy cat (lemdro.id)
submitted 2 weeks ago by Xylight@lemdro.id to c/pics@lemmy.world

Been posting a lot here, hope the mods don't mind

This is my 4 year old Mainecoon cat :>

Taken on Pixel 8

92
submitted 2 weeks ago by Xylight@lemdro.id to c/pics@lemmy.world

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

103
submitted 2 weeks ago by Xylight@lemdro.id to c/pics@lemmy.world

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

7
submitted 4 weeks ago by Xylight@lemdro.id to c/photon@lemdro.id

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?

32
submitted 1 month ago* (last edited 1 month 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"}}
25
submitted 1 month ago* (last edited 1 month 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.

9
submitted 1 month ago by Xylight@lemdro.id to c/photon@lemdro.id

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.

16
submitted 1 month ago by Xylight@lemdro.id to c/photon@lemdro.id

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.

[-] Xylight@lemdro.id 93 points 4 months ago* (last edited 4 months ago)
  • Python is NameError: name 'term_to_describe_python' is not defined

  • JavaScript is [object Object]

  • Ruby is TypeError: Int can't be coerced into String

  • C is segmentation fault

  • C++

  • Java is

Exception in thread "main" java.lang.NullPointerException: Cannot read the termToDescribeJava because is null at ThrowNullExcep.main(ThrowNullExcep.java:7)
Exec.main(ThrowNullExcep.java:7) 
  • CSS j ust # sucks
  • Kotlin is type inference failed. The value of the type parameter K should be mentioned in input types
  • Go is unused variable
  • Rust is Compiling term v0.1.0 (/home/james/projects/Term)
[-] Xylight@lemdro.id 34 points 5 months ago

I've tried using GIMP and it absolutely sucks and I wish there was a good paint.net replacement.

Something I found about a lot of open source projects is that the UI is always terrible

[-] Xylight@lemdro.id 34 points 7 months ago* (last edited 7 months ago)

Those are not material icons, please don't google

hopefully these are just a test or something

[-] Xylight@lemdro.id 57 points 8 months ago

I asked it for the deaths in Israel and it refused to answer that too. It could be any of these:

  • refuses to answer on controversial topics
  • maybe it is a "fast changing topic" and it doesn't want to answer out of date information
  • could be censorship, but it's censoring both sides
[-] Xylight@lemdro.id 60 points 10 months ago

I love YouTube bots

(the only video of that channel is "Woman cries over dog being put down (HILARIOUS)")

[-] Xylight@lemdro.id 33 points 11 months ago* (last edited 11 months ago)

Please stop reposting to multiple communities, the majority of people will see from all of those communities

[-] Xylight@lemdro.id 31 points 1 year ago

Once scaled sort arrives on Lemmy, smaller communities will be ranked higher and not knocked out by the meme communities and stuff like that.

[-] Xylight@lemdro.id 64 points 1 year ago
  1. Use the flatpak. Or 2. Use the web app (discord.com/app) Or 3. Don't use discord
[-] Xylight@lemdro.id 68 points 1 year ago

I wish I could donate to ublock origin so badly. I never even saw the popup.

view more: next ›

Xylight

joined 1 year ago
MODERATOR OF