dys 🐙
dys 🐙
KPCKevin Powell - Community
Created by McMarty on 3/31/2025 in #ui-ux
Working with Off-Screen Tabs
No description
8 replies
KPCKevin Powell - Community
Created by McMarty on 3/31/2025 in #ui-ux
Working with Off-Screen Tabs
¿Can you scroll them onto the screen with a swipe?
8 replies
KPCKevin Powell - Community
Created by Zach on 3/20/2025 in #front-end
Are these all the Web Storage APIs?
The one I learned about today is the "origin private file system" (OPFS), which is a file system that only exists within the browser. (You can actually use the File System API to get a read / write handle into your local directory tree. The OPFS, though, is only traversable through function calls in the browser & won't necessarily correlate to actual files on your system.) I learned about it reading through the XMTP docs. XMTP uses the OPFS to store a SQLite database where it caches some information. The biggest potential downside is it is curtailed by the storage quota, (which you can see with an await navigator.storage.estimate() in the developers' console). Chrome says my quota is 10,756,504,503,090 (~10TiB?), so it oughtn't be much of a problem.
2 replies
KPCKevin Powell - Community
Created by tombyrer on 3/19/2025 in #resources
(simple)-state-shifter: a Finite State Machine to simplify code flow
No description
3 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
Does Wordpress send a 301 or is it a meta refresh tag?
102 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
The SSL redirect is your problem them. It should only be on the http site, but appears to be on the https as well. I'd guess something is screwy with your host.
102 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
Your https page is redirecting to itself.
102 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
It's what you blanked out, the Location header. It is the same as the page's url, right?
102 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
You're not looking in the sources tab, you want the headers sent in the 301 response. Double click on one of the pages in the Network tab to see the headers. (I'm assuming the page names are all the same in the left-hand column you cut off in your picture of the screen. (Use the PrintScreen key, or Windows+Shift+S to take a screenshot (unless you're on mobile Discord).)) It looks like a page is redirecting to itself.
102 replies
KPCKevin Powell - Community
Created by 3d_carrot_3d on 3/17/2025 in #back-end
ERR_TOO_MANY_REDIRECTS? How can I fix it?
The Network tab will should which pages are redirecting & where they're redirecting to. There's almost certainly a loop.
102 replies
KPCKevin Powell - Community
Created by chikanlegbees on 3/18/2025 in #back-end
Socket.emit() and socket.on() not working when app is refreshed?
Or, is socket a state variable that persists between mountings?
4 replies
KPCKevin Powell - Community
Created by chikanlegbees on 3/18/2025 in #back-end
Socket.emit() and socket.on() not working when app is refreshed?
useEffect is run twice in strict development mode. useEffect should return a function that tears down whatever the setup builds. In your case, something like: return () => { socket.disconnect() }. I wouldn't think that would cause the issue you're seeing though. I notice that socket.emit("login", data.id) only has one parameter. Is that where you're authenticating? Should it have a user id & a password?
4 replies
KPCKevin Powell - Community
Created by redcaus1235 on 3/8/2025 in #ui-ux
Hero Section Comparison Feedback would be nice
Some of your contrasts aren't that contrasting. You might try a gold text-stroke on "Beauty" to make it a bit bolder, and maybe a dark gray (or semi-transparent black) stroke around the labels of your gold buttons. Are you using text-wrap: pretty on the paragraph in the center?
5 replies
KPCKevin Powell - Community
Created by redcaus1235 on 3/8/2025 in #ui-ux
Hero Section Comparison Feedback would be nice
I think the last (centered) one looks the most polished & balanced.
5 replies
KPCKevin Powell - Community
Created by dys 🐙 on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
I was thinking about that, though I was going to do the more intuitive numerically, if not kinematically, 0 = beginning to 9 = end, with each space being 100⁄9% = 11.̅1%.
13 replies
KPCKevin Powell - Community
Created by dys 🐙 on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
The goal is to serve someone wanting to quickly seek deep into the media regardless of it's length. Using a fixed percentage it'll take the same amount of time to seek through a video regardless of it's length. Though that'll be 100% / 2½% ⨯ 1½sec = 60sec to go through the entire thing, so it should be more like 5%.
13 replies
KPCKevin Powell - Community
Created by dys 🐙 on 3/8/2025 in #ui-ux
Media Ranker Keyboard Navigation
Fair enough. It was sorta redundant in any case.
13 replies
KPCKevin Powell - Community
Created by γιαννη on 2/19/2025 in #front-end
Positioning Issues
The middle bit is definitely a grid. I don't really have time to dig through your code at the moment, I've got a broken program of my own. 😸
4 replies
KPCKevin Powell - Community
Created by vince on 2/18/2025 in #os-and-tools
Advice on setting up a monorepo
In the root package.json:
"workspaces": {
"packages": ["apps/*"]
},
"scripts": {
"bot:start": "pnpm --filter=bot run dev",
"server:start": "pnpm --filter=server run dev",
"web:start": "pnpm --filter=web run dev",

}
"workspaces": {
"packages": ["apps/*"]
},
"scripts": {
"bot:start": "pnpm --filter=bot run dev",
"server:start": "pnpm --filter=server run dev",
"web:start": "pnpm --filter=web run dev",

}
Where bot in --filter=bot is the name from the package.json in the bot/ directory.
3 replies
KPCKevin Powell - Community
Created by Harry05 on 2/17/2025 in #ui-ux
Start make web App from 0%
I dunno. ¿A flow chart, maybe? Boxes for each screen with arrows for the options they have at that point? There are several online flowchart editors.
7 replies