Patrick G
relevantelement.bsky.social
Patrick G
@relevantelement.bsky.social
Web Dev, Data, Marketing
Every JavaScript developer has written this function:

processOrder(orderId, userId, db, logger, cache, validator, emailer, metrics)

Where half the parameters are just passed to other functions.

Here's how to fix this with a pattern using generators - in just 16 lines.
July 21, 2025 at 2:53 PM
Another JavaScript framework!? dev.to/doeixd/the-j...
The JavaScript Library for the DOM You Don't Control
Your JavaScript breaks every Tuesday. Not because you wrote bad code, but because the...
dev.to
July 12, 2025 at 11:15 AM
Reposted by Patrick G
My book "The Well-Grounded Data Analyst" is out early 2025!

It is a collection of real-world data analysis projects to level up your skills and you can already get it in early access.

Use the code au35asb to get 35% off (on any Manning title, not just mine!)

www.manning.com/books/the-we...
The Well-Grounded Data Analyst
Complete eight data science projects that lock in important real world skills–along with a practical process you can use to learn any new technique quickly and efficiently.</b> The Well-Grounded Data...
www.manning.com
November 27, 2024 at 7:52 AM
Reposted by Patrick G
🌟 The the first official release of the UCM Desktop app is here!

Browse your local codebase, click through to source definitions, and read the docs, all in a sleek new UI. ✨

github.com/unisonweb/uc...
January 9, 2025 at 7:54 PM
Reposted by Patrick G
I finished creating The Most Elegant Configuration Language.

It’s done.

I can rest now.

My mission is accomplished.

chshersh.com/blog/2025-01...
The Most Elegant Configuration Language
Dmitrii Kovanikov's Personas Web Space
chshersh.com
January 6, 2025 at 9:56 AM
Reposted by Patrick G
years ago when i moved from react to solid it took me 1-2 months to undo react brain

i did some react yesterday for an example wow i had such a hard time with the fact that functions run more than once

crazy how your brain flips around
December 13, 2024 at 12:56 AM
Reposted by Patrick G
🎄You and your friends are cordially invited to Unison's #AdventOfCode season.

Spread the word: www.unison-lang.org/adventofcode...
November 27, 2024 at 2:01 PM
I don't think enough people know scoped styles are built into the browser now...
November 22, 2024 at 1:41 PM
Hello Bluesky 👋 Is there anyone out there?
November 16, 2024 at 10:17 PM
Reposted by Patrick G
I admire how good TJ is at explaining technical concepts. Even if you have 0 interest in OCaml this has some great stuff about SQL in general and metaprogramming/macros

youtu.be/JFZvnGD_hV8
Octane: A Query Builder for OCaml
YouTube video by TJ DeVries
youtu.be
November 9, 2024 at 1:46 PM