Buscar

Objetos taggeado con: webdev

#Development #Introductions
Taking interest · Preview links and actions with interest invokers ilo.im/16i8yo

_____
#HTML #Invokers #Popovers #Tooltips #Chrome #Browser #APIs #WebDev #Frontend

Pasting JSON into a random web form is a bad habit when the payload has tokens or internal data. Our JSON Formatter & Validator runs entirely in your browser.

Beautify or minify, pick your indentation, catch syntax errors, then copy or download the result. Free, no sign-up. Part of kilaz.com, a set of privacy-friendly browser tools.

#JSON #WebDev #Privacy

kilaz.com/json/?utm_source=mastodon&utm_medium=social&utm_campaign=tool-of-the-day&utm_content=101

#Development #Introductions
New set of HTML insertion APIs · “A nice addition to the browser platform.” ilo.im/16i87d

_____
#HTML #Insertion #Streaming #JavaScript #APIs #Chrome #Browser #WebDev #DOM #Frontend

The media in this post is not displayed to visitors. To view it, please go to the original post.

If you find AI model benchmarks complicated to read, I've simplified them for you ! 🎯EN

Si te parece complicado leer los benchmarks de modelos de IA, lo hice simple para que entiendas ! 🎯ES

🪄 nubecolectiva.com/artificial-intelligence-benchmarks/

#programming #coding #programación #webdev #devs #softwaredev #llm #ai #ia #benchmarks

The media in this post is not displayed to visitors. To view it, please go to the original post.

If you have limited RAM, try these models ! 🍎EN

Si tienes poca RAM, prueba con estos modelos ! 🍎ES
lnkd.in/dtZBPZrQ (spanish version)

#programming #coding #programación #webdev #devs #softwaredev #llm #ai #ia

The media in this post is not displayed to visitors. To view it, please go to the original post.

`aria-label` on element whose parent has `aria-hidden='true'` 🫠

BTW, it's because that `div` is a copy that exists for the sole purpose of a split view via `clip-path`, which leads to having to duplicate focus styles on `tabindex='-1'`... all of it unnecessary blog.master.dev/split-effects-with-no-content-duplication/

#CSS #a11y #accessibility #SVG #filter #code #coding #frontend #web #dev #webDev #webDevelopment

The media in this post is not displayed to visitors. To view it, please go to the original post.

Accessible sites are easier for everyone.
Good contrast, clear labels and keyboard support are also what make a site usable on a phone, outdoors and in a hurry.
Save it for launch day and follow for more.
#accessibility #a11y #ux #inclusivedesign #webdev
webauditos.com
The media in this post is not displayed to visitors. To view it, please go to the original post.

The Mantine Extensions Hub has a new home page: a showroom.

The extension thumbnails are studio shots of glass objects under one warm lamp, so the page became the room they were shot in: dark, one amber light, and the components carrying all the colour.

🧱 A wall with all 31 extensions, drifting past (with a pause button)
✋ Six of them running live on the page: Text Animate, Clock, Rings Progress, Lens Select, Flip and Picker
📚 The three Mantine documentation templates side by side: Next.js MDX, Nextra and Fumadocs

All open source, MIT.

mantine-extensions.vercel.app

#Mantine #React #NextJS #WebDev #OpenSource #Accessibility #UIDesign

60-second Supabase check. Paste this in the SQL Editor:

select relname from pg_class where relnamespace = 'public'::regnamespace and relkind = 'r' and not relrowsecurity;

Every table it lists has RLS off. If anon still has its grants (the default on older projects), anyone with your public key can read, insert, update and delete rows.

Fix: alter table public.x enable row level security; then add policies scoped to auth.uid().

#Supabase #PostgreSQL #Postgres #RLS #vibecoding #AppSec #webdev

Common one in AI-built apps: an RLS error shows up, the agent swaps in the service_role key in the API route, the error goes away.

That key skips RLS. Now /api/orders/[id] returns whatever id it's given, to anyone signed in.

Fix: filter by id AND user_id from the server-side session (never from the request body), or create the Supabase client with the user's session so your policies apply.

#Supabase #AppSec #infosec #nextjs #postgres #RLS #vibecoding #webdev #IDOR

Unpopular-ish opinion: an MCP server listing its tools without auth is usually not the scary part. Ours does it on purpose (one read-only tool, rate limited).

The scary part is a tool like get_invoice that queries with a service role key and trusts the model to pass the right user id. Signed in is not the same as allowed. Check the caller's permission inside every tool, same rule as an RLS policy.

#MCP #AIagents #Supabase #AppSec #infosec #devtools #vibecoding #webdev #Postgres #LLM

60-second Supabase check, SQL Editor:

select tablename, policyname, cmd, qual from pg_policies where qual ilike '%auth.role()%' or qual ilike '%auth.uid() is not null%' or qual = 'true';

Each row is a policy that only checks "is someone signed in" (or nothing at all). On profiles, orders, messages or uploads, swap it for (select auth.uid()) = user_id.

#Supabase #Postgres #PostgreSQL #SQL #RLS #AppSec #vibecoding #webdev #infosec #security #buildinpublic #indiehackers #Lovable #Bolt #Cursor

A Supabase RLS policy written as "to authenticated using (true)", or using (auth.role() = 'authenticated'), doesn't mean "the right user". It means anyone with an account.

And with "Allow new users to sign up" on (the default), anyone can make one with the public key in your JS. Anonymous sign-ins get the authenticated role too.

One query to find these, and the auth.uid() fix: abbilabs.xyz/guides/supabase-authenticated-role-any-signed-up-user

#Supabase #RLS #vibecoding #AppSec #Postgres #webdev #buildinpublic #indiehackers #infosec

Question for anyone with Supabase anonymous sign-ins turned on: did you go back through your policies?

Anonymous users use the same authenticated Postgres role as real accounts. So "to authenticated using (true)" now means anyone who opens the app, no email needed.

auth.jwt()->>'is_anonymous' is how you tell them apart in a policy.

#Supabase #RLS #PostgreSQL #Postgres #AppSec #vibecoding #webdev #auth #SQL #infosec #database #Lovable

The media in this post is not displayed to visitors. To view it, please go to the original post.

I vibe coded my own Linktree. It took the agent 97 seconds and 3 cents: an editor, six avatars, five themes and a live phone preview, saved in the browser with no server.

Real run, sped up. The prompt is in the reply.
vibecode.surf/?utm_source=mastodon&utm_medium=video&utm_campaign=linktree
#VibeCoding #AI #WebDev #JavaScript

The media in this post is not displayed to visitors. To view it, please go to the original post.

Desktop app or browser app: how I decide, after 30+ years in technical UX, front-end and product. I start in the browser, make the desktop app earn its place, and keep one codebase wherever I can.

If anything must run for hours or after the window closes, lean desktop. Browsers can freeze or discard hidden pages, and a frozen page's timers and fetch callbacks stop. A desktop process keeps running.

#WebDev #PWA #Electron #Tauri #Rust