Pascal (@paschals_robert) header
Pascal (@paschals_robert) profile picture

Full-stack engineer. Building https://xitter.gq/t.co/Nsd77USNDo (closed beta) and drizzle-pg-extras, open-source Postgres tooling for Drizzle. I write about software development.

/etc/init.d
Joined March 2022
Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)Photo by Pascal (@paschals_robert)
Your Drizzle schema doesn't know about your triggers. They live in a hand-written migration that one person on the team remembers. Same for extensions, column comments and partitioned tables. Drizzle can't declare them yet. They're still open requests on the drizzle-orm repo. So I built drizzle-pg-extras. You declare them in TypeScript next to your tables: export const touchUsers = updatedAtTrigger(users, users.updatedAt); Run drizzle-kit generate, then drizzle-pg-extras generate, and you get an ordinary SQL migration that drizzle-kit migrate applies like any other. → functions, triggers, comments, extensions, partitions, TimescaleDB hypertables → works with Drizzle 0.x and 1.0 → doesn't patch Drizzle. If Drizzle adds these later, the SQL you committed stays valid 0.6.1 is on npm. Point it at your schema and tell me where it breaks. npm install drizzle-pg-extras github.com/Robertpaschal/dri…
1
3
316
Losing the spark is not a verdict on my whole life. It is what happens when the unit of work is bigger than the day in front of me. One small thing done today is how it comes back.
1
8
I thought a project would fix it. Wake up inspired every morning and keep at it. It did not work that way. Every morning still felt blank, and I was still trying to keep everything in order.
1
8
There is no need to have one story about myself. I get to try, I get to fail, I get to repeat. One thing at a time, regular breaks, keep the flame on. What is the one small thing you could do before lunch? Next: Reflections25
4
Hot take: your product table should never know when milk expires. Expiry belongs on Batch — Product is the catalog, stock lives at batch × bin, and FIFO picking comes free. 🎥 @DevinactionPro / Full video: xitter.gq/DevinactionPro/status/…
Hot take: your product table should never know when milk expires. Product = catalog. Batch = expiry. Stock lives at batch × bin. FIFO picking for free. Where does expiry live in yours? skemio.com/community/view/?b… #databasedesign
22
These animated reels hit 34.9M views — made with 3 things: Claude Code, a laptop, and an internet connection. Ishan shows his exact setup. 🎥 @Ishansharma7390 / Full video: xitter.gq/Ishansharma7390/status…
Master claude video editing in 15mins chapters 00:00 - Intro 01:12 - Download Claude Code on desktop 01:20 - Install 4 Libraries 02:08 - Create 3 folders 2:22 - Provide Claude the References 2:56 - Edit the Raw video 03:25 - How to edit like the top 1% 07:53 - 7 Different Reel Edits 10:13 - Mathematics Visualisations 10:55 - Repo - anidoodle 11:34 - Repo - huhashu art motion 11:57 - Repo - brag 12:35 - Repo - vox director 13:37 - 3 levels of using cloud for editing videos 14:43 - Outro
52
The first time I do a task by hand, I am learning it. The second time, I am noticing the pattern. The third time, I automate it. The rule is simple, and it protects me from both directions: automating the first time means building a machine for a job I do not understand yet, and doing it by hand the tenth time means I have become the machine. The third time is where the automation earns its keep. By then I know which parts vary and which parts never change. I know the failure cases, because I have hit them. The script I write on the third time is small, because the job is finally clear. The scripts I wrote on the first time were always too big and wrong in the middle. Three times is the threshold. Before that, the work is still teaching me. After that, the work is wasting me. Follow along if you are still doing by hand the thing you did last week. I write about small automations that pay for themselves.
1
20
Your `AGENTS.md` goes stale the day a convention changes and nobody touches it. Deleting the old rule quietly doesn't fix that. The agent loses the history, and so do you. Mark it instead: "Superseded: use the new convention." The next session can see what changed and why. Follow along if the notes your agent reads keep going stale. I write about the systems that remember what I decided.
4
2
30
Postgres has no ALTER TABLE … PARTITION BY. It only exists on CREATE TABLE, and by then drizzle-kit has already written yours. drizzle-pg-extras takes the other road: declare the partitions next to the Drizzle table, and generate appends a migration that rebuilds the empty table as partitioned. If the table already has rows, it refuses.
10
OpenAI's GPT-6 Cyber found 948 confirmed LPE exploits in the Linux kernel — each one a script you can run to go from unprivileged user to root. 🎥 @OpenAI / Full video: xitter.gq/OpenAI/status/21250079…
In one run, GPT-6 Cyber helped us validate 948 Linux kernel bugs that could grant local root access and generate patches for review. Our researchers @clintgibler and @ky1ebot share their findings and how they worked with maintainers to get fixes upstream. Read the research: openai.com/index/a-thousand-…
22
In 2019, respected ML leaders bullied the GPT-2 researchers on Twitter: 'this is stupid', 'this model is so incapable' — if you believed it was significant, you were 'sort of a quack'. The Amodeis remember. 🎥 @rohanpaul_ai / Full video: xitter.gq/rohanpaul_ai/status/21…
Dario and Daniela Amodei: In 2019, respected AI and ML leaders publicly bullied the researchers behind GPT-2 on Twitter, called the work stupid and treated anyone who saw it as significant like a quack. Daniela Amodei: "I think you were quite polite about it, but I remember at the time there were some very well-respected computer scientists and AI and ML leaders who basically bullied some of the researchers who worked on it on Twitter, and were like, 'This is stupid. We don't know why you guys are even talking. This model is so incapable.' And it was like you were sort of a quack if you believed this was a really significant moment." Dario Amodei: "And that's all been memory-holed. All the researchers who were like, 'Oh, this is pseudoscience. It doesn't make sense,' all of them are applying for jobs at the LLM companies. And we never say it out loud to any particular one, but we look at them and we're like, we remember what you were saying in 2019. You have no credibility on this matter." ---- Full video on "The Builders with Walter Isaacson and Kaleidoscope" YouTube channel, (link in comment)
21
Drizzle can't declare a Postgres trigger, so the updated_at trigger ends up in a hand-written SQL file nobody remembers. In drizzle-pg-extras it's one line next to the table, and generate writes a plain SQL migration drizzle-kit applies. Run it again and it writes nothing.
24
LONG LIVE THE KING
if you come for the king, you best not miss
5
Every codebase has a function nobody will delete. Nobody is sure who calls it, and the comment above it says "do not remove" with no reason attached. Code kept out of fear is a rumor with syntax. Before deleting it: trace callers, check runtime usage and dynamic entry points (jobs, reflection, external clients). Pin the behaviour that must stay with a test. Remove it in a small, reviewable change you can roll back. A quiet test run alone does not prove code is unused.
3
In 2019, respected ML leaders bullied the GPT-2 researchers on Twitter: "this is stupid", "this model is so incapable". If you believed it was significant, you were "sort of a quack". The Amodeis remember. Video: @rohanpaul_ai / Full video: xitter.gq/rohanpaul_ai/status/21…
Dario and Daniela Amodei: In 2019, respected AI and ML leaders publicly bullied the researchers behind GPT-2 on Twitter, called the work stupid and treated anyone who saw it as significant like a quack. Daniela Amodei: "I think you were quite polite about it, but I remember at the time there were some very well-respected computer scientists and AI and ML leaders who basically bullied some of the researchers who worked on it on Twitter, and were like, 'This is stupid. We don't know why you guys are even talking. This model is so incapable.' And it was like you were sort of a quack if you believed this was a really significant moment." Dario Amodei: "And that's all been memory-holed. All the researchers who were like, 'Oh, this is pseudoscience. It doesn't make sense,' all of them are applying for jobs at the LLM companies. And we never say it out loud to any particular one, but we look at them and we're like, we remember what you were saying in 2019. You have no credibility on this matter." ---- Full video on "The Builders with Walter Isaacson and Kaleidoscope" YouTube channel, (link in comment)
7
Your send timed out. Did the email go out?
2
1
21
Write the key on your side before the call, and the result after. Then your queue knows it already tried.
1
7
Follow along if your retries have ever sent the same email twice. I write about retry-safe systems that remember what they already did.
11
The next stage does not start when the struggle ends. It starts when I stop standing between God's will and the direction in front of me. I am embracing the new stage, even if it does not look like much yet.
1
18
Being in your 20s from a mediocre financial background in Nigeria is the hardest stage of life. The step looks too steep, rejection piles up, and giving in starts to feel like the only option. I am no exception.
1
16
I am already giving my all, and I am not going to stop. I cannot settle for this lifestyle, even if progress is slow. What is the one step you keep calling too small to count? Next: Just another day in life
12