DEV Community

Daniel Pertu profile picture

Daniel Pertu

404 bio not found

Location London Joined Joined on  Personal website https://cogniprep.app

Work

Founder of CogniPrep

Our product name is a constant imported by 22 files, and the word still appears on 403 other lines of code

Our product name is a constant imported by 22 files, and the word still appears on 403 other lines of code

Comments
3 min read

Want to connect with Daniel Pertu?

Create an account to connect with Daniel Pertu. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
A downgrade pauses your campaigns in two different ways, and only one of them comes back when you upgrade

A downgrade pauses your campaigns in two different ways, and only one of them comes back when you upgrade

Comments
4 min read
Upgrading must not shrink anyone's share, so I checked 27,404 ways to split a day, and the rounding never fires

Upgrading must not shrink anyone's share, so I checked 27,404 ways to split a day, and the rounding never fires

Comments
3 min read
One nullable Redis client, three callers, and three different answers to "Redis is not configured"

One nullable Redis client, three callers, and three different answers to "Redis is not configured"

Comments
3 min read
I spelled all 106 of our URLs eight ways, and only one spelling that should work gets a 404

I spelled all 106 of our URLs eight ways, and only one spelling that should work gets a 404

Comments
3 min read
Our price in 22 currencies adds between 4.01% and 15.14% to the pound price, and the "ends in 9" rule decides which

Our price in 22 currencies adds between 4.01% and 15.14% to the pound price, and the "ends in 9" rule decides which

Comments
4 min read
Everything our build emits is cached for a year, everything in public/ is re-checked on every visit, and the 304 is no faster than the 200

Everything our build emits is cached for a year, everything in public/ is re-checked on every visit, and the 304 is no faster than the 200

Comments
5 min read
I added a tracking query string to all 117 pages of our site, and 115 of them answered from the same cache entry

I added a tracking query string to all 117 pages of our site, and 115 of them answered from the same cache entry

Comments
5 min read
The whole .app TLD is on the HSTS preload list, so our http:// redirect only ever serves curl, and our www host sends a different HSTS header from the apex

The whole .app TLD is on the HSTS preload list, so our http:// redirect only ever serves curl, and our www host sends a different HSTS header from the apex

Comments
5 min read
Our type checker reads 2,980 files to check 495 of ours, and the Stripe SDK's types are 1.7 times the size of our whole app

Our type checker reads 2,980 files to check 495 of ours, and the Stripe SDK's types are 1.7 times the size of our whole app

Comments
5 min read
Twelve pnpm exemptions for a Next.js version we have not installed in 181 days, and four override lines that turned out to be floors

Twelve pnpm exemptions for a Next.js version we have not installed in 181 days, and four override lines that turned out to be floors

Comments
5 min read
Our deployment id went from 6,052 mentions to 248 after a dependency bump, and no line of our code changed

Our deployment id went from 6,052 mentions to 248 after a dependency bump, and no line of our code changed

Comments
6 min read
27,865 lines of Notifio survive at HEAD, they were written on 16 days, and three of those days wrote 62 per cent

27,865 lines of Notifio survive at HEAD, they were written on 16 days, and three of those days wrote 62 per cent

Comments
3 min read
Our repository is 99 MB for 2.4 MB of files, and one Windows installer committed for 28 hours is 98.7 per cent of it

Our repository is 99 MB for 2.4 MB of files, and one Windows installer committed for 28 hours is 98.7 per cent of it

Comments 1
3 min read
Our site has two text inputs, and in a live browser they disagree on height, padding, border, background and placeholder

Our site has two text inputs, and in a live browser they disagree on height, padding, border, background and placeholder

Comments
3 min read
Our buy button says "Network error" for a server error, and for five seconds after you click it a second click buys again

Our buy button says "Network error" for a server error, and for five seconds after you click it a second click buys again

Comments
4 min read
Our Mac app ships 74 open source packages and four of them carry a licence notice, and Electron's own 20 MB licence file stays behind

Our Mac app ships 74 open source packages and four of them carry a licence notice, and Electron's own 20 MB licence file stays behind

Comments
3 min read
On 1 January, a footer year will throw a React hydration error on all 38 of our pages

On 1 January, a footer year will throw a React hydration error on all 38 of our pages

Comments
4 min read
Our free database plan has no backups, so a 45-minute GitHub job writes two dumps a night and checks the smaller one is smaller

Our free database plan has no backups, so a 45-minute GitHub job writes two dumps a night and checks the smaller one is smaller

Comments 1
3 min read
One webhook receives every email sent to our domain, and six small decisions keep it from answering a stranger's pitch

One webhook receives every email sent to our domain, and six small decisions keep it from answering a stranger's pitch

Comments
4 min read
Our job lock lasted three hours, so a cancelled run made every later run skip and the dashboard stayed green

Our job lock lasted three hours, so a cancelled run made every later run skip and the dashboard stayed green

Comments
3 min read
A page that vanishes leaves a green build and a clean sitemap, so every promised page gets a test that walks to it

A page that vanishes leaves a green build and a clean sitemap, so every promised page gets a test that walks to it

Comments
3 min read
Seven food-list pages are two-line route files, and three tests stand between a data change and a silently shorter list

Seven food-list pages are two-line route files, and three tests stand between a data change and a silently shorter list

Comments
4 min read
Our hourly search-engine ping hashes what a page says, because an all-digit hash comes back from Redis as a number

Our hourly search-engine ping hashes what a page says, because an all-digit hash comes back from Redis as a number

Comments
4 min read
One dependency bump took our audit from 130 advisories to 7, and only one of its four pnpm overrides does anything on a fresh install

One dependency bump took our audit from 130 advisories to 7, and only one of its four pnpm overrides does anything on a fresh install

Comments
4 min read
A feature written to be deleted: one folder, one boolean, eleven marker lines, and a removal README that skips a step

A feature written to be deleted: one folder, one boolean, eleven marker lines, and a removal README that skips a step

Comments
4 min read
931 of our 1,155 pages now carry an Article node, and the generator leaves out whatever the page does not know

931 of our 1,155 pages now carry an Article node, and the generator leaves out whatever the page does not know

Comments
4 min read
We deleted the device limit: six files outright, three legal pages rewritten, and a policy that said it could never be reset

We deleted the device limit: six files outright, three legal pages rewritten, and a policy that said it could never be reset

Comments
4 min read
Seventeen replayed support chats, seven banned patterns, and a model upgrade that fixed one answer and broke escalation

Seventeen replayed support chats, seven banned patterns, and a model upgrade that fixed one answer and broke escalation

Comments
4 min read
Our support assistant can swap a purchase, and the rule check ran before the row lock

Our support assistant can swap a purchase, and the rule check ran before the row lock

Comments
4 min read
Every page on our site has six names, and for 18 of them the social tag and the picture beside it say different things

Every page on our site has six names, and for 18 of them the social tag and the picture beside it say different things

1
Comments
4 min read
435 FAQ answers on 90 of our pages: 46 start with Yes, 46 start with No, and none are shorter than 29 words

435 FAQ answers on 90 of our pages: 46 start with Yes, 46 start with No, and none are shorter than 29 words

1
Comments
5 min read
684 keyword phrases across 90 of our pages, and only 180 of them appear as written on the page that lists them

684 keyword phrases across 90 of our pages, and only 180 of them appear as written on the page that lists them

1
Comments
5 min read
One build tool in three versions is 50 of the 81 duplicate copies in our lockfile, and a CLI listed under dependencies is why

One build tool in three versions is 50 of the 81 duplicate copies in our lockfile, and a CLI listed under dependencies is why

1
Comments
5 min read
Our stylesheet registers 53 custom properties, and 44 of them never leave their starting value on any of our 38 pages

Our stylesheet registers 53 custom properties, and 44 of them never leave their starting value on any of our 38 pages

1
Comments
5 min read
Our fix for Table Table 1 is one regex, and it creates the opposite bug: 4 and Table 4 are two tables with the same label

Our fix for Table Table 1 is one regex, and it creates the opposite bug: 4 and Table 4 are two tables with the same label

6
Comments
4 min read
39 of our 90 commits touch one file, and the 106 public pages are the part of the repository that almost never changes

39 of our 90 commits touch one file, and the 106 public pages are the part of the repository that almost never changes

1
Comments
4 min read
I checked our eight next.config.mjs settings against the docs inside node_modules, and one contradicts its own comment

I checked our eight next.config.mjs settings against the docs inside node_modules, and one contradicts its own comment

1
Comments
5 min read
I checked every quotation on our competitor pages against the live sites, and two of them changed within five days

I checked every quotation on our competitor pages against the live sites, and two of them changed within five days

1
Comments
4 min read
Four pnpm overrides, six scratch installs: on a fresh resolve they do nothing, on our old lockfile they closed 23 advisories

Four pnpm overrides, six scratch installs: on a fresh resolve they do nothing, on our old lockfile they closed 23 advisories

1
Comments
5 min read
One upgrade commit took our lockfile from 1,093 packages to 1,062, and three lines of pnpm config explain why

One upgrade commit took our lockfile from 1,093 packages to 1,062, and three lines of pnpm config explain why

1
Comments
5 min read
86 audit advisories to 3 in one commit: 25 were one framework, 19 were four overrides, and none needed a major version

86 audit advisories to 3 in one commit: 25 were one framework, 19 were four overrides, and none needed a major version

1
Comments
5 min read
Our two packages share seven dependencies and agree on six, and 8 of the 16 we are behind on are whole major versions

Our two packages share seven dependencies and agree on six, and 8 of the 16 we are behind on are whole major versions

1
Comments
5 min read
The ?dpl= query I said we would keep went from 6,052 copies to 131 in one dependency bump, and the survivor is our logo

The ?dpl= query I said we would keep went from 6,052 copies to 131 in one dependency bump, and the survivor is our logo

1
Comments
5 min read
Our repository commits a 668 KB TypeScript cache, 96 per cent of it describes node_modules, and one typecheck rewrites it

Our repository commits a 668 KB TypeScript cache, 96 per cent of it describes node_modules, and one typecheck rewrites it

1
Comments
5 min read
The brief for a 480-file change told its own authors to delete it, and the git log says it took 2 hours 12 minutes

The brief for a 480-file change told its own authors to delete it, and the git log says it took 2 hours 12 minutes

1
Comments
4 min read
Four lines in pnpm-workspace.yaml raised the floor on packages we never installed, and the lockfile shows where they came from

Four lines in pnpm-workspace.yaml raised the floor on packages we never installed, and the lockfile shows where they came from

1
Comments
3 min read
I bumped 36 dependencies and the lockfile got 77 entries smaller, and 59 of the ones that left were AWS

I bumped 36 dependencies and the lockfile got 77 entries smaller, and 59 of the ones that left were AWS

1
Comments
4 min read
A list of label words is a promise that pages exist, and the failure is a page that silently never gets built

A list of label words is a promise that pages exist, and the failure is a page that silently never gets built

1
Comments
4 min read
I sampled the Article markup on 54 pages. Every headline matched its h1, and two descriptions contain a typed-out unicode escape

I sampled the Article markup on 54 pages. Every headline matched its h1, and two descriptions contain a typed-out unicode escape

1
Comments
3 min read
We stopped rendering finished reels and now render only what is transparent, so the clips are ProRes 4444 and the only person in the shot is me

We stopped rendering finished reels and now render only what is transparent, so the clips are ProRes 4444 and the only person in the shot is me

1
Comments
4 min read
Seven food-list pages share the site root with a dynamic segment, and four tests stop them shadowing or orphaning each other

Seven food-list pages share the site root with a dynamic segment, and four tests stop them shadowing or orphaning each other

1
Comments
4 min read
We pinned seven transitive dependencies in our desktop app, and not one of them can reach a user

We pinned seven transitive dependencies in our desktop app, and not one of them can reach a user

1
Comments
5 min read
Removing a feature we had promised in our terms touched 1,500 lines of code and five public files

Removing a feature we had promised in our terms touched 1,500 lines of code and five public files

6
Comments
3 min read
Our database has no managed backups, so one nightly workflow writes two archives, and its best check is a table of contents

Our database has no managed backups, so one nightly workflow writes two archives, and its best check is a table of contents

1
Comments
4 min read
Our support bot told three paying customers to buy what they already owned, so it now reads a 150-token account card first

Our support bot told three paying customers to buy what they already owned, so it now reads a 150-token account card first

1
Comments
3 min read
Our lockfile resolves Prisma 5.22 and two native engines, and no line of our server has ever imported it

Our lockfile resolves Prisma 5.22 and two native engines, and no line of our server has ever imported it

1
Comments
5 min read
Our support prompt said never tell people to open a ticket, and 9 of its 21 recorded answers did

Our support prompt said never tell people to open a ticket, and 9 of its 21 recorded answers did

1
Comments
3 min read
A catch-all inbox on our own domain stopped spam filters from working, so the filter is a function with two injected dependencies

A catch-all inbox on our own domain stopped spam filters from working, so the filter is a function with two injected dependencies

1
Comments
4 min read
Our hourly IndexNow job hashes what a page says instead of what it renders, and a prefix on the hash stops Redis reshaping it

Our hourly IndexNow job hashes what a page says instead of what it renders, and a prefix on the hash stops Redis reshaping it

1
Comments
4 min read
loading...