[-] snowe@programming.dev 1 points 6 months ago

You can write cross platform mobile (and desktop and even browser) apps with Kotlin.

[-] snowe@programming.dev 1 points 6 months ago

that's so weird because I got an email inviting me to participate and I haven't ever been considered a 'prolific poster'. I'm only at 60k and 12 years. I had no clue I was invited until I looked in my spam folder.

[-] snowe@programming.dev 2 points 7 months ago

still, people are clearly confused by the button. I'm just gonna make it an animation and prefers-color-scheme since that's so widely supported now.

[-] snowe@programming.dev 6 points 7 months ago

I've wondered what this problem was for years but never cared to figure it out, because it always resolved after the first button press (just refresh the page and it all works properly). turns out it is something wrong with my use of local storage to save your theme state. if you don't have the key in local storage then it does what you mentioned. I just need to switch this to prefers-color-scheme anyway.

[-] snowe@programming.dev 4 points 7 months ago

that post is about toggle buttons, not switches. e.g. a play pause button, when pressed, does it show play, or does it show pause?

[-] snowe@programming.dev 1 points 7 months ago

It shouldn't be like that. on my computer it shows the sun when it's in light mode, moon in dark mode.

[-] snowe@programming.dev 2 points 7 months ago

Hm. what browser are you on? It is showing sun for me on light mode.

[-] snowe@programming.dev 19 points 7 months ago

I've been saying this for years. My site only has a few lines of javascript. the rest is pure html and css, and it's very simple. https://tylerthrailkill.com

[-] snowe@programming.dev 8 points 7 months ago

Because no one ever uses those. Literally > and | are the only ones I’ve ever seen in over a decade and you will never need to worry about the differences between the two.

XML as a configuration language is terrible. Yaml gets the point across in an easily readable way, which is exactly the point. Same for JSON except JSON you can’t even use comments (you need json5 or one of the numerous other alternatives to get those).

[-] snowe@programming.dev 4 points 7 months ago

I’ve actually wanted something like this for a while. Thank you!

[-] snowe@programming.dev 6 points 7 months ago

Manually patched by pulling the commit and building your own source?

[-] snowe@programming.dev 2 points 7 months ago

For looks. The middle cable is needed to allow the sides to communicate, but you only need one side plugged into the computer.

view more: ‹ prev next ›

snowe

joined 1 year ago
MODERATOR OF