DEV Community

Daniel Pertu profile picture

Daniel Pertu

404 bio not found

Work

Founder of CogniPrep

Our retention job deletes candidates in batches of 500, and only a definite 404 removes a team member

Our retention job deletes candidates in batches of 500, and only a definite 404 removes a team member

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
Candidate accessibility settings are six attributes on html, applied by an inline script, and the employer never sees them

Candidate accessibility settings are six attributes on html, applied by an inline script, and the employer never sees them

Comments
3 min read
Two products share one Postgres, and drizzle skips any migration older than the newest tracked row

Two products share one Postgres, and drizzle skips any migration older than the newest tracked row

Comments
2 min read
Our save buttons hold both labels in one grid cell, and the five rules behind every form that no longer moves

Our save buttons hold both labels in one grid cell, and the five rules behind every form that no longer moves

Comments
3 min read
Our API keys are 240 bits, shown once, stored as a hash, and one GET route needs a write key

Our API keys are 240 bits, shown once, stored as a hash, and one GET route needs a write key

Comments
2 min read
Our pricing page shows three currencies, and the only place a price is written down is one table

Our pricing page shows three currencies, and the only place a price is written down is one table

Comments
3 min read
A hand-typed "updated" date held on 80 of our 90 content pages, and the 10 that slipped are the same one-line edit

A hand-typed "updated" date held on 80 of our 90 content pages, and the 10 that slipped are the same one-line edit

1
Comments
4 min read
Our 106 URLs are never more than two segments deep, the median is 24 characters, and 9 slugs use different words from their headline

Our 106 URLs are never more than two segments deep, the median is 24 characters, and 9 slugs use different words from their headline

1
Comments
4 min read
Our home page has 1,416 elements, its deepest chain is a tooltip, and the widest parent on every page is the footer tree

Our home page has 1,416 elements, its deepest chain is a tooltip, and the widest parent on every page is the footer tree

1
Comments
4 min read
Nine request variations change nothing on our pages, and the crawler test misses 8 of the 27 user agents I tried

Nine request variations change nothing on our pages, and the crawler test misses 8 of the 27 user agents I tried

1
Comments
4 min read
1,186 empty comments sit between the words of our pages, and 213 more are Suspense boundaries with nothing in them

1,186 empty comments sit between the words of our pages, and 213 more are Suspense boundaries with nothing in them

1
Comments
3 min read
3,622 paragraphs on our website, 35 per cent of them ten words or fewer, and the longest one is a contract

3,622 paragraphs on our website, 35 per cent of them ten words or fewer, and the longest one is a contract

1
Comments
3 min read
Our QR tool tops out at 2,331 characters, and past that it shows the error beside the previous code with the download buttons still lit

Our QR tool tops out at 2,331 characters, and past that it shows the error beside the previous code with the download buttons still lit

1
Comments
5 min read
Our poster maker silently deletes letters it cannot draw, so 'Hospůdka U Řeky' prints as 'Hospdka U eky'

Our poster maker silently deletes letters it cannot draw, so 'Hospůdka U Řeky' prints as 'Hospdka U eky'

1
Comments
5 min read
Our guide says a quiz night is two hours, its own schedule adds up to 96 minutes, and the planner says 111

Our guide says a quiz night is two hours, its own schedule adds up to 96 minutes, and the planner says 111

1
Comments
5 min read
Our production tree has 341 packages under 16 licence texts, and the 1.3 MB of JavaScript we serve carries one copyright line

Our production tree has 341 packages under 16 licence texts, and the 1.3 MB of JavaScript we serve carries one copyright line

1
Comments
5 min read
The text on our 38 pages is set in 23 font sizes, and 95 per cent of the size classes in the source are pixel literals

The text on our 38 pages is set in 23 font sizes, and 95 per cent of the size classes in the source are pixel literals

1
Comments
3 min read
Ten properties of our profit calculator held across 20,000 random nights each, and the eleventh breaks at 3.5e306

Ten properties of our profit calculator held across 20,000 random nights each, and the eleventh breaks at 3.5e306

1
Comments
5 min read
Next.js wrote a 9-line AGENTS.md into our repo, and it arrived inside a commit about something else

Next.js wrote a 9-line AGENTS.md into our repo, and it arrived inside a commit about something else

1
Comments
4 min read
I broke our price code 35 ways and 26 were caught: the nine survivors, and the one that moves a price by seven shekels

I broke our price code 35 ways and 26 were caught: the nine survivors, and the one that moves a price by seven shekels

1
Comments
6 min read
Our desktop app swallows 58 errors on purpose, and nine of the silent ones do not say why

Our desktop app swallows 58 errors on purpose, and nine of the silent ones do not say why

1
Comments
4 min read
I counted the import sites of every dependency we declare, and one has had none since the first commit

I counted the import sites of every dependency we declare, and one has had none since the first commit

1
Comments
3 min read
Our privacy page gained a paragraph on 1 December and still says it was last updated on 30 November

Our privacy page gained a paragraph on 1 December and still says it was last updated on 30 November

1
Comments
3 min read
Our .env.example is tracked by accident, and one variable has fourteen hand-typed fallbacks

Our .env.example is tracked by accident, and one variable has fourteen hand-typed fallbacks

1
Comments
4 min read
Our scan counter is one Redis sorted set per month, holds a barcode and a number, and cannot be turned back into anyone's history

Our scan counter is one Redis sorted set per month, holds a barcode and a number, and cannot be turned back into anyone's history

1
Comments
4 min read
Our ID generator is 22 lines, sorts by creation time, and gets two IDs from the same millisecond in the right order half the time

Our ID generator is 22 lines, sorts by creation time, and gets two IDs from the same millisecond in the right order half the time

1
Comments
3 min read
Our refund window is 30 days in four places, one is a constant, and the only thing joining them is a comment

Our refund window is 30 days in four places, one is a constant, and the only thing joining them is a comment

1
Comments
3 min read
We hand a login from one site to another in the URL fragment, and one anchor link makes the receiving function ignore it

We hand a login from one site to another in the URL fragment, and one anchor link makes the receiving function ignore it

1
Comments 1
3 min read
Checking a login takes 120 microseconds when the public key is cached, and the cache has four rules for when Supabase is down

Checking a login takes 120 microseconds when the public key is cached, and the cache has four rules for when Supabase is down

1
Comments
4 min read
A dismissed banner that comes back after a week: two localStorage keys, and the rule for what a missing timestamp means

A dismissed banner that comes back after a week: two localStorage keys, and the rule for what a missing timestamp means

1
Comments
3 min read
Our game-based assessments hub states 58 games, 51 and 7, and 13 free, and none of those numbers is typed anywhere

Our game-based assessments hub states 58 games, 51 and 7, and 13 free, and none of those numbers is typed anywhere

1
Comments
3 min read
Our CORS policy is one function that reflects an origin or says nothing, so I probed the live API with nine of them

Our CORS policy is one function that reflects an origin or says nothing, so I probed the live API with nine of them

1
Comments
4 min read
A mail scanner can open your password reset link first, so ours is now spent on submit, not on open

A mail scanner can open your password reset link first, so ours is now spent on submit, not on open

1
Comments
3 min read
Our crawler check is a twelve-word regex, and the substring "bot" also matches a phone brand

Our crawler check is a twelve-word regex, and the substring "bot" also matches a phone brand

1
Comments 1
4 min read
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

1
Comments
3 min read
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

1
Comments 1
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

1
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"

1
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

1
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

1
Comments 1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
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

1
Comments
4 min read
loading...