HackerTrans
TopNewTrendsCommentsPastAskShowJobs

beingflo

no profile record

Submissions

Towards approachable observability with wide events

marending.dev
1 points·by beingflo·قبل شهرين·0 comments

1Password SSH agent and CLI for secret management

marending.dev
2 points·by beingflo·قبل 6 أشهر·0 comments

Understanding Passkeys

marending.dev
1 points·by beingflo·قبل 6 أشهر·0 comments

Visual regression tests for personal blogs

marending.dev
42 points·by beingflo·قبل 6 أشهر·11 comments

Go: An Opinionated Bookmark Aggregator

marending.dev
2 points·by beingflo·قبل 9 أشهر·1 comments

16 Hour Side-Projects

marending.dev
2 points·by beingflo·قبل سنتين·0 comments

comments

beingflo
·قبل 6 أشهر·discuss
We probably have max 50 commits a day in our team spread across many areas in the application. So when breakages occur it's typically easy to tell which commit caused it.

But I agree, if you have a large team or a large monorepo you probably want to know about breaking changes already at the PR stage.
beingflo
·قبل 6 أشهر·discuss
Thanks for the example of a Playwright report page. I agree that getting browser tests (not even just visual tests) to work reliably is considerable work. I built out a suite at work for a rather complex web application and it certainly looks easier than it is. A couple of notes:

- I disagree that you need a powerful VPS to run these tests, we run our suite once a day at midnight instead of on every commit. You still get most of the benefit for much cheaper this way.

- We used BrowserStack initially but stopped due to flakiness. The key to getting a stable suite was to run tests against a local nginx image serving the web app and wiremock serving the API. This way you have short, predictable latency and can really isolate what you're trying to test.
beingflo
·قبل 6 أشهر·discuss
Ah forgot to mention it in the post. This comes built in by Playwright. Normally, you invoke the test suite by running `npx playwright test`. This fails your test if a screenshot is missing or if it differs. By running `npx playwright test --update-snapshots` you tell Playwright to just overwrite the snapshots and not fail tests.
beingflo
·قبل 6 أشهر·discuss
I only use the built-in diffing by Playwright. It comes with a nice overview page [0] that shows all the failed tests including traces and screenshots. There you have a pixel diff. If you have some notion of irrelevant changes that shouldn't warrant a test failure, I wouldn't know of a way to pull that off.

[0] https://playwright.dev/docs/trace-viewer-intro#opening-the-h...
beingflo
·قبل 9 أشهر·discuss
Direct link for anyone interested: https://go.rest.quest/
beingflo
·السنة الماضية·discuss
updown.io also has a relatively new feature called cron monitoring[0] that allows you to regularly check in to signal success. If there has been no check-in in a configured time it will alert you. For backups you could add a simple curl somewhere into your backup process to do just that.

[0] https://updown.io/doc/how-pulse-cron-monitoring-works
beingflo
·قبل سنتين·discuss
I know, but I prefer fair pricing over free in situations like this. There are plenty of stories going around of CF forcing users to upgrade to an enterprise plan due to their usage. When there is a price tag, at least I know that won't happen to me (not that my usage would be on CFs radar anyway, it's the principle of it).
beingflo
·قبل سنتين·discuss
1€ / TB egress is extremely attractive, though. Most other "budget" providers charge at least 10 - 20$.
beingflo
·قبل سنتين·discuss
I've been eyeing DuckDB for a metric collection hobby project. Quick benchmark showed promising query performance over SQLite (unsurprising considering DuckDB is column oriented), but quite a bit slower for inserts. Does anyone have experience using it as an "online" backend DB as opposed to a data analytics engine for interactive use? From what I gather they are trying to position themselves more in the latter use case.
beingflo
·قبل سنتين·discuss
I built it for myself primarily, some coworkers also started using it. No one has used it without my guidance at this point so I'm not surprised ;)

Regardless what you pressed, you should always get back to the help / start screen by pressing 'h'. (Make sure not to have focus on an input field)
beingflo
·قبل سنتين·discuss
I built my own tool: https://go.rest.quest

It's a simple flat list of links that you annotate with a description for better search. The killer feature is that it works with Firefox's keyword search. I can enter `go gith prof` in the url bar and hit enter. Since there is only one entry that matches (with description 'github profile'), I'm immediately redirect to that link.
beingflo
·قبل سنتين·discuss
I really enjoy using Observable Plot (https://observablehq.com/plot/). Made by the author of D3 but way simpler to use.