ꪖꪶꫀᥴ ꪶꪖ᥅ᦓꪮꪀ
@retropragma.bsky.social
📤 184
📥 413
📝 563
Building apps with web technologies, Node.js, PostgreSQL, and OSS.
https://github.com/aleclarson
pinned post!
OSS I've worked on recently: • radashi (
github.com/radashi-org/...
) • pg-nano (
github.com/pg-nano/pg-n...
) • alien-rpc (
github.com/alloc/alien-...
) • alien-dom (
github.com/alloc/alien-...
) • json-qs (
github.com/alloc/json-qs
) • jumpgen (
github.com/alloc/jumpgen
)
about 1 year ago
1
7
0
reposted by
ꪖꪶꫀᥴ ꪶꪖ᥅ᦓꪮꪀ
I believe that React Hooks' complexity stems from having no run-once "setup" scope. Ofc, there are workarounds, but they're clunky. While hooks gain some reactive power in being unavoidably a part of rerenders, Remix 3 makes us wonder if that's worth the squeeze.
30 days ago
0
1
1
and here i was maintaining my own version of this... stoked to find this!
github.com/marko-js/wri...
loading . . .
GitHub - marko-js/writable-dom: Utility to stream HTML content into a live document.
Utility to stream HTML content into a live document. - marko-js/writable-dom
https://github.com/marko-js/writable-dom
2 months ago
1
2
0
we don't just have economic inequality, we have cognitive inequality - systematically different mental operating systems that make cross-class solidarity extraordinarily difficult to achieve.
3 months ago
0
0
0
yes plz
github.com/w3c/csswg-dr...
loading . . .
[css-images] Add easing functions to color stops · Issue #1332 · w3c/csswg-drafts
A recent CSS-Tricks article (https://css-tricks.com/easing-linear-gradients/) and subsequent Twitter discussion (https://twitter.com/stubbornella/status/861603397677359104) spurred me to file this ...
https://github.com/w3c/csswg-drafts/issues/1332
3 months ago
0
1
0
a nice win for the mobile web on ios :)
github.com/WebKit/WebKi...
loading . . .
Enable fractional coordinates for Pointer Events and Touch Events by lilyspiniolas · Pull Request #48412 · WebKit/WebKit
8dc5033 Enable fractional coordinates for Pointer Events and Touch Events https://bugs.webkit.org/show_bug.cgi?id=133180 rdar://9564176 Reviewed by Abrar Rahman Protyasha. Pointer Events and Touc...
https://github.com/WebKit/WebKit/pull/48412
3 months ago
0
2
0
___vite_ssr_import__ is the bane of my existence
4 months ago
0
1
0
this new monospace font by google is pretty damn good. up there with mononoki and ibm plex mono, for me.
4 months ago
1
1
0
TypeScript: "type is not assignable to type" Me: "how come?" TypeScript: "fuck if i know. good luck"
4 months ago
1
5
0
rethinkdb and fauna *should* have worked. i still miss their query syntax
4 months ago
0
1
0
if u dropped chatgpt into the year 1999, how would the people have reacted? are we more susceptible to its influence after decades of interactions on social media?
4 months ago
1
1
0
(unpopular opinion?) .d.ts files published to npm should be formatted
4 months ago
0
1
0
I reject the idea that a bug report should be auto-closed if it doesn't have a reproduction. Reporting an issue is a good way to gauge its severity by allowing others to thumbs it up, so friction should be as minimal as possible.
4 months ago
1
0
0
Social media is 30% status seeking, 30% reach farming, 30% propaganda, 9.99999% venting, and 0.00001% mutually innocent connection.
4 months ago
0
0
0
"Growing up" is fighting that urge to shout down random idiots on the internet 😂
4 months ago
1
0
0
got a sick new logo for my RPC library, alien-rpc :)
4 months ago
0
1
0
I've released the first version of my Preact animation library, built on Preact Options API, motion/mini, and WAAPI. Check it out!
www.npmjs.com/package/prea...
loading . . .
preact-in-motion
This package uses the [Preact Options API](https://preactjs.com/guide/v10/options/) to introduce an `animate` prop to every native element (e.g. `<div>`, `<span>`, `<button>`, etc.). It uses the `moti...
https://www.npmjs.com/package/preact-in-motion
4 months ago
2
21
4
every time i use TS compiler api, i feel my life force being drained 🫠
4 months ago
0
2
0
there's probably a good reason, but it's odd to me how "keyof never" doesn't return "never"
#typescript
4 months ago
0
0
0
sad truth: the spazzes of the internet really do ruin it for everyone else
4 months ago
0
0
0
Just added `upsert()` method to the RQB v2 API 😤
add a skeleton here at some point
5 months ago
0
1
0
reposted by
ꪖꪶꫀᥴ ꪶꪖ᥅ᦓꪮꪀ
I just published `drizzle-plus` to NPM db.query.foo.count() anyone?
github.com/alloc/drizzl...
loading . . .
GitHub - alloc/drizzle-plus: A collection of useful utilities and extensions for Drizzle ORM
A collection of useful utilities and extensions for Drizzle ORM - alloc/drizzle-plus
https://github.com/alloc/drizzle-plus#readme
5 months ago
0
0
2
I just published `drizzle-plus` to NPM db.query.foo.count() anyone?
github.com/alloc/drizzl...
loading . . .
GitHub - alloc/drizzle-plus: A collection of useful utilities and extensions for Drizzle ORM
A collection of useful utilities and extensions for Drizzle ORM - alloc/drizzle-plus
https://github.com/alloc/drizzle-plus#readme
5 months ago
0
0
2
good news: Drizzle's Relational Queries v2 API solves this! (currently in beta)
rqbv2.drizzle-orm-fe.pages.dev/docs/relatio...
add a skeleton here at some point
5 months ago
0
0
0
github should add a separate "notifications" tab for reactions to your issues/PRs/comments
5 months ago
1
2
1
i've implemented dialect-agnostic `CASE WHEN` for drizzle
github.com/drizzle-team...
loading . . .
[FEATURE]: native CASE WHEN support · Issue #1065 · drizzle-team/drizzle-orm
Using case in queries can be a really nice way to restructure data, or omit things entirely if unset. https://www.postgresql.org/docs/current/functions-conditional.html It's also very useful in ord...
https://github.com/drizzle-team/drizzle-orm/issues/1065#issuecomment-3002014516
5 months ago
0
1
0
github's spa navigation is so bad :(
5 months ago
1
0
0
IDE wishlist: automatic pretty formatting of node_modules .d.ts files when opened
5 months ago
1
0
0
status: switching to drizzle
add a skeleton here at some point
5 months ago
1
0
0
lack of query composition in Prisma makes me sad
5 months ago
1
0
1
TypeScript wishlist: Be able to infer parameters or return type of a generic method call *without explicit type parameters*. Just pass the argument types and have the compiler resolve it.
5 months ago
1
2
1
i wish type declarations could exist at the class body level. my only options are to hoist the type or inline it, neither of which are great in some cases.
#typescript
5 months ago
1
2
0
The bright side is that I've noticed some frontier models offer to explore the alternative lens when the user's perspective is especially cynical. Still worried for society having unfettered access to a 'yes man' on steroids.
add a skeleton here at some point
6 months ago
0
1
0
@prisma.io
please stop minifying your npm builds. it makes debugging and patching prisma locally impossible
6 months ago
0
0
0
gotta love ambient techno
6 months ago
0
0
0
typescript saved my life
6 months ago
0
2
0
stumbled upon an old package i made back in my formative years that is basically a proto arktype 😆
github.com/aleclarson/v...
loading . . .
GitHub - aleclarson/valido: Fast and flexible validation engine (13kb unminified)
Fast and flexible validation engine (13kb unminified) - aleclarson/valido
https://github.com/aleclarson/valido
6 months ago
0
1
0
youtube could be a lot better 🫤
6 months ago
1
0
0
so... what npm library do you use for reading config files?
7 months ago
1
1
0
should TypeScript's built-in Omit be fixed?
#typescript
www.typescriptlang.org/play/#code/P...
7 months ago
0
1
0
an exploration of ergonomic, type-safe http middleware
github.com/alien-rpc/al...
loading . . .
GitHub - alien-rpc/alien-middleware: TypeScript-powered, immutable, composable HTTP middleware for Node.js, Bun, and Deno (using Hattip)
TypeScript-powered, immutable, composable HTTP middleware for Node.js, Bun, and Deno (using Hattip) - alien-rpc/alien-middleware
https://github.com/alien-rpc/alien-middleware
7 months ago
0
0
0
is it just me or is google's functions-framework package really poor quality? is there a better alternative for local development of cloud run functions?
7 months ago
1
0
0
you guys are doing great work as of late. keep it up
add a skeleton here at some point
7 months ago
0
1
0
can't decide if this package is intentionally or unintentionally named after a particular organ. good package either way
www.npmjs.com/package/srvx
loading . . .
srvx
Universal Server API based on web platform standards. Works seamlessly with Deno, Bun and Node.js.. Latest version: 0.6.0, last published: a day ago. Start using srvx in your project by running `npm i...
https://www.npmjs.com/package/srvx
7 months ago
1
1
0
lmao, thanks github
7 months ago
1
1
0
reposted by
ꪖꪶꫀᥴ ꪶꪖ᥅ᦓꪮꪀ
vlt /vōlt/
7 months ago
In partnership with
@socket.dev
we're bringing Socket Package Alerts to your local dependencies when using the vlt client. Introducing Package Insight Selectors, a powerful addition to our Dependency Selector Syntax that helps you understand and secure your node_modules folder.
#js
#nodejs
#vlt
loading . . .
1
6
4
👋 If you've had issues with using vite-tsconfig-paths in a monorepo, please give the v6 beta a try with `projectDiscovery: "lazy"` set. Also, tsconfigs are now automatically reloaded when updated. 🎉
github.com/aleclarson/v...
7 months ago
0
0
0
what makes a developer think "I should minify my library before publishing to npm" it bewilders me
7 months ago
1
0
0
react-router's vite plugin breaks other plugins that use transformIndexHtml 😖
7 months ago
0
0
0
Some people would rather be unhappy on their own terms than be content on someone else's
7 months ago
0
0
0
first time writing an eslint plugin that relies on an async function. not fun... going to try synckit
7 months ago
0
0
0
Load more
feeds!
log in