Better HN
topnewbestaskshowjobs
Log inSign up

mnapoli

136 karma · joined Jul 31, 2013 (13y ago) · 34 submissions

Submissions

comment 1mo ago · link · parent

yeah that's fixed

comment 1mo ago · link · parent

Yep our bad, we fixed this, no landing page anymore

comment 1mo ago · link · parent

That's fixed

comment 1mo ago · link · parent

Fixed! Check out the website it shows content now, no landing page anymore

5.

/dev/null: social network for developers(dev-null.sh ↗)

186 points · by mnapoli · 1mo ago · 170 comments

comment 7mo ago · link · parent

I built favicon.show because I needed a way to display the favicon of any website.

This is built on Cloudflare Workers and their KV store.

7.

Show HN: Family Tree Maker(family-tree-maker.mnapoli.fr ↗)

3 points · by mnapoli · 7mo ago · discuss

comment 8mo ago · link · parent

The problem: coding accelerates, I can't keep up with tests. Either I review everything and we're not moving faster, either I don't and don't trust them

The idea: executable specs Write plain text tests, i.e. revive Cucumber/Behat (the "gherkin" language), BUT without the implementation step. AI run the tests in a browser, like human QA would.

I've been trying it out for 3 weeks:

1. serves as specs for new features 2. serves as acceptance criteria (Claude/Codex runs them after implementing) 3. serves as regression testing: run the full test suite every night

`npx exspec` runs Claude Code under the hood (with your existing Pro/Max subscription) with Playwright, all built-in. So using exspec is as easy as running PHPUnit/Pest/Vitest/… tests, nothing to install.

To be clear, it comes on top of unit tests, it doesn't replace them. It's great for covering happy paths and important business logic. It helps increase confidence, and also helps specifying new features.

I am cautious with letting AI "interpret" how to execute each step. But so far I'm pleasantly surprised : - Claude seems to respect the steps (and not fake it) - AI being very resilient, it's able to figure things out and recover (e.g. it needs to create a user but the email is already used -> no problem, it tries again with a different email address) - It uses the website UI and nothing else, it's like a human QA -> it cannot edit files, cannot touch the database, or run code - It reports failure with plenty of details, making it super easy to create issues from failures

I'm still careful and I want to scale up testing the idea, that's why I'm sharing publicly.

9.

Executable specs: running Gherkin tests with Claude Code(github.com ↗)

2 points · by mnapoli · 8mo ago · 1 comment

comment 1y ago · link · parent

They are cached

11.

Show HN: Get the Favicon of Any Website(favicon.show ↗)

3 points · by mnapoli · 1y ago · 2 comments

comment 3y ago · link · parent

PHP is great for serverless because its execution model is compatible with it.

Unlike Node, Python, Java, etc. that start a long-lived server, each request is handled by PHP in a separate process.

That's what makes it really to use with serverless (and lift-and-shift, like what Treezor did).

comment 3y ago · link · parent

Their clients have very variable traffic patterns because they are in very different industries. They have traffic spikes at lunch, or at the end of every month for example:

> infrastructure must be able to scale and be resilient to accommodate various usage patterns. Whether it's a luncheon voucher transaction spike at lunchtime or a monthly batch of transactions by corporate clients

comment 3y ago · link · parent

You can deploy using the CDK for example: https://bref.sh/docs/deploy/aws-cdk

15.

A bank runs serverless with PHP and AWS Lambda(bref.sh ↗)

111 points · by mnapoli · 3y ago · 126 comments

comment 3y ago · link · parent

Happy Depot user here, our builds are now 10 to 20 times faster: https://twitter.com/matthieunapoli/status/162009074440824422...

17.

2022 Serverless Community Survey(serverless-survey.paperform.co ↗)

1 points · by mnapoli · 4y ago · discuss

comment 4y ago · link · parent

Last step: https://bref.sh

comment 4y ago · link · parent

This is pretty incredible TBH

comment 5y ago · link · parent

With your webhost, you have to setup and maintain the server, including patching/updating it, setting up SSL, etc.

I used to do that for side projects, but I've had too many servers, and maintaining them was a pain.

For something with high traffic, Lambda provides the instant scalability. Imagine servers autoscaling, but instantly. And again, without having to setup or maintain that.

21.

Bref, a serverless runtime for PHP on AWS Lambda(bref.sh ↗)

1 points · by mnapoli · 5y ago · discuss

22.

Bref: Serverless PHP Applications on AWS Lambda(bref.sh ↗)

1 points · by mnapoli · 7y ago · discuss

23.

A React Native boilerplate focused on separation of concerns(thecodingmachine.io ↗)

1 points · by mnapoli · 8y ago · discuss

24.

Show HN: Bref, a framework for deploying serverless PHP applications(github.com ↗)

2 points · by mnapoli · 8y ago · discuss

25.

Serverless and PHP: introducing Bref(mnapoli.fr ↗)

1 points · by mnapoli · 8y ago · discuss

comment 8y ago · link · parent

Oh this is quite clever, we always tend to forget to update the dependencies…

27.

Piwik/Ini: a PHP component for reading and writing INI files(github.com ↗)

1 points · by mnapoli · 11y ago · discuss

28.

PHP-DI: a practical and powerful PHP dependency injection container(php-di.org ↗)

1 points · by mnapoli · 11y ago · discuss

12