Better HN
topnewbestaskshowjobs
Log inSign up

Mojah

3,202 karma · joined Feb 7, 2009 (17y ago) · 617 submissions

Submissions

1.

The last 24 hours in PHP land, as observed by a monitoring service(ohdear.app ↗)

2 points · by Mojah · 1mo ago · discuss

2.

PHP's New Memory_hard_limit_percent Setting(ma.ttias.be ↗)

1 points · by Mojah · 1mo ago · discuss

comment 1mo ago · link · parent

There's a disclaimer at the top that anything below the intro was largely written by an LLM. That section is updated now

comment 1mo ago · link · parent

I'm keeping a list [1] of all the (possible) precautions one can take, ahead of the patches appearing in a few hours. Exploits are now circulating, according to Cloudflare's CTO, so _any_ mitigation is worth investigating

https://ma.ttias.be/php-cve-2026-109618-early-mitigation/

5.

PHP CVE's: early mitigation steps(ma.ttias.be ↗)

3 points · by Mojah · 1mo ago · discuss

6.

Asking minified JSON can reduce output token costs by 30%(getsnapkin.app ↗)

1 points · by Mojah · 1mo ago · discuss

7.

Your LLM is billing you for whitespace(getsnapkin.app ↗)

1 points · by Mojah · 1mo ago · discuss

8.

Data Is the Application(ma.ttias.be ↗)

2 points · by Mojah · 1mo ago · discuss

comment 2mo ago · link · parent

Reporting absolute instead of percentage values definitely makes it more human. But most of these reports & status pages are held up-to-date manually, by engineers, when incidents happen. I’d bet not even half of the real outages end up reported on there.

“It’s just a few minutes of downtime, nobody noticed, best not draw attention to ourselves by placing something on our status page”

Status pages should be tied into (external/simulated) monitoring to update in near real-time, without hiding incidents. Transparency is the only way. By reporting the _real_ hours of downtime, including the small stuff you think people didn’t notice.

10.

9000 RPM is faster than your screen refreshes(ma.ttias.be ↗)

69 points · by Mojah · 2mo ago · 61 comments

11.

Sports Engines(random.ma.ttias.be ↗)

2 points · by Mojah · 2mo ago · discuss

12.

PWA: Personal Web Apps(ma.ttias.be ↗)

2 points · by Mojah · 3mo ago · discuss

comment 4mo ago · link · parent

Indeed, surprised me too - the majority of that is made up of "death by a thousand paper cuts", many 1 or 2 minute outages.

14.

What alerting on 1.8M outages has thought us about downtime(ohdear.app ↗)

5 points · by Mojah · 4mo ago · 2 comments

15.

Transcribing my old podcast locally with open-source AI(ma.ttias.be ↗)

2 points · by Mojah · 5mo ago · 1 comment

16.

The ghost domain problem in DNS, and what we're doing about it(ohdear.app ↗)

19 points · by Mojah · 5mo ago · 8 comments

17.

AI Is a Confidence Booster(ma.ttias.be ↗)

2 points · by Mojah · 5mo ago · discuss

18.

More Time to Think(ma.ttias.be ↗)

5 points · by Mojah · 5mo ago · discuss

19.

Postcards from Around the World(kaartje.earth ↗)

1 points · by Mojah · 7mo ago · discuss

20.

A 3-part series on SQL performance optimisations(ohdear.app ↗)

2 points · by Mojah · 10mo ago · discuss

comment 10mo ago · link · parent

We’ve been seeing a surprising amount of leads come through this site, clearly the demand for a EU alternative is high.

22.

Using AI is no longer optional(ma.ttias.be ↗)

1 points · by Mojah · 10mo ago · discuss

23.

Using AI is no longer optional(ma.ttias.be ↗)

1 points · by Mojah · 10mo ago · 1 comment

24.

Web development is fun again(ma.ttias.be ↗)

487 points · by Mojah · 10mo ago · 627 comments

comment 1y ago · link · parent

Co-founder here, we'll be working on better ways to handle this over the coming days.

Update: our app is available again without Cloudflare, you'll be able to post updates to status pages smoothly again.

comment 1y ago · link · parent

Interestingly, also noticing that websites that use Cloudflare Challenge (aka "I'm not a Robot") are also throwing exceptions with a message as "Please unblock challenges.cloudflare.com to proceed" - even though it's just responding with an HTTP/500.

comment 1y ago · link · parent

Most companies prefer to fix any downtime before it's noticed, and sharing any details on a status page means admitting something went wrong.

There's plenty of status page solutions that tie in uptime monitoring with status updates, essentially providing a "if we get an alert, anyone can follow along through the status page" for near real-time updates. But, it means showing _all_ users that something went wrong, when maybe only a handful noticed it in the first place.

It's a flawed tactic to try and hide/dismiss any downtime (people will notice), but it's in our human nature to try and hide the bad things?

[1] ie https://ohdear.app/features/status-pages

28.

SQL performance improvements: analysing and fixing the slow queries(ohdear.app ↗)

1 points · by Mojah · 1y ago · discuss

comment 1y ago · link · parent

Have you been able to try this with a `SELECT SQL_NO_CACHE * FROM ...` query?

If it's for local testing, you could try to cripple InnoDB as much as possible by just setting some absurdly low values, that would almost certainly mean no InnoDB caching is happening; https://gist.github.com/mattiasgeniar/87cd4a10bfcc788d81b51f...

comment 1y ago · link · parent

Totally depends on the use case I suppose, we found that in our environment, we perform _a lot_ more SELECT's than we do UPDATE/DELETE/INSERT's.

And with some badly optimized SELECT's, the time MySQL had to spend on sorting results/reading from disk in an inefficient way made all our _write_ queries suffer.

By optimizing our SELECTs first, we freed up some CPU bandwidth (it seems?) that can be spent doing all the other work.

12345
21