Better HN
topnewbestaskshowjobs
Log inSign up

AdrienPoupa

68 karma · joined Jan 17, 2020 (6y ago) · 27 submissions

Submissions

comment 3mo ago · link · parent

I read that as an upstream service they own, but I agree the wording a bit weird.

comment 7mo ago · link · parent

I recently switched as well. Being able to work in a large monorepo without the editor freezing and taking 15+GB of RAM was a strong selling point :)

comment 7mo ago · link · parent

Since https://blog.cloudflare.com/updated-tos it is not completely clear if you disable Cloudflare's cache indeed. Still the terms are unclear enough that they could cut you out, and I'd feel uneasy exposing a Jellyfin instance publicly, but that's just me :)

comment 7mo ago · link · parent

This is very cool, but you should not use Cloudflare Tunnels to stream media. This is forbidden by their terms of service (or at the very least not the intended use of Tunnels and they may disable your service). Use Wireguard or Tailscale instead.

https://www.xda-developers.com/cloudflare-tunnels-are-great-...

comment 7mo ago · link · parent

My exact reaction when they override my cmd+e shortcut and change the default layout every two months :)

comment 8mo ago · link · parent

Oh, I was referring to `aquasecurity/trivy-action` that was changed with a malicious entrypoint for affected tags. Pinned commits were not affected.

comment 8mo ago · link · parent

That's true. This specific attack was mitigated by hash pinning, but some actions like https://github.com/1Password/load-secrets-action default to using the latest version of an underlying dependency.

comment 8mo ago · link · parent

Don't forget to pin your GitHub Actions to SHAs instead of tags, that may or may not be immutable!

comment 10mo ago · link · parent

I gotta admit you had me thinking this was serious until the `Remove lockfiles` section ;)

comment 12mo ago · link · parent

Every 2 years? More like every 2 days for GitHub Actions or Git operations those days :(

comment 1y ago · link · parent

I just read one of the linked articles about saturation divers, it was absolutely fascinating https://www.atlasobscura.com/articles/what-is-a-saturation-d...

comment 2y ago · link · parent

But then, your firewall or Cosmos is exposed to the internet waiting for a 0day to be released, and chances here they will not be updated as soon as it comes out.

VPN server is already what Tailscale does at this point. I'm not a shill by the way, just a regular user impressed by the ease of installation/use of their product.

comment 2y ago · link · parent

I'd argue the easiest way to achieve this is to refrain from opening any ports, and using Tailscale to get remote access.

comment 2y ago · link · parent

Promising, but is the layout responsive? https://ibb.co/jRLRmD4

comment 2y ago · link · parent

I love my work-provided M1 MBP Max and would possibly consider getting a personal Air at this price range, but the 8gb RAM is still a no go for me, even for $699. My SO has a 2015 MBP that's still solid, and I credit that to its SSD and 16gb RAM. I can't see 8gb of RAM being usable in 2034.

comment 2y ago · link · parent

RTINGS comes to mind

comment 2y ago · link · parent

That's certainly possible but we have other tools for that such as NewRelic that served us well.

comment 2y ago · link · parent

This what we are doing for the prod container that does not have Composer installed yes.

But in development it's much easier to have it in the image. Additionally we do not bundle the code in the dev image but bind mount it in Docker Compose, which is much faster than rebuilding the image to test changes in development; PHP not being compiled allows us to do that to reduce the feedback loop duration.

comment 2y ago · link · parent

PHP dev here, we have extensions for development that make no sense in production, xdebug for example. You need it for breakpoints and debugging in general but it should not be installed in production. So we extend our production image and install it on top of it. Similarly, we include Composer (package manager) in the dev image only as we only need the installed dependencies in production but not the package manager. Our dev image is a flavor of the production one, really.

comment 3y ago · link · parent

Backend complexity as mentioned above, as well as potential performance issues. You really want to avoid N+1 issues by batching all the fields and relationships you want to query at once. It's too easy to realize you're running n queries for each field of every entity you are retrieving...

comment 3y ago · link · parent

If it comes, you switch to a different hosting provider in about 5 minutes, that's not a very big effort

comment 3y ago · link · parent

Self hosting is really cool. However when it comes to static hosting, apart than keeping your data at home and having fun setting up servers, I don't really see the point when there's so many free good options. I use CloudFlare Pages for my blog, their integration with GitHub is flawless and you get to host your website at edge for free.

When I need to host dynamic content, another good option is CloudFlare Tunnels (I promise I'm not sponsored by them, their products are good is all :)), so you don't have to do shenanigans updating DNS records on the fly, and more importantly you don't have to compromise your network opening up and forwarding ports.

comment 4y ago · link · parent

I was facing the same dilemma in January, I settled on Infomaniak and I've been quite happy so far. They support DKIM/DMARC, catchall, domain aliases and are reasonably priced (18EUR yearly for 5 addresses). They have their own webmail that I find really pleasant to use. Unfortunately no mobile application for the moment, but it should be coming this year.

I listed the main providers I could find here, in case you are interested: https://adrien.poupa.net/migrating-away-from-g-suite-legacy-...

comment 4y ago · link · parent

Wasabi [1] is admittedly up to 80% cheaper than S3. But it forces you to keep your files for 90 days at least. I saw it recommended several times as a cheaper alternative to S3-backed storage for OwnCloud.

[1] https://wasabi.com/

25.

Migrating Away from G Suite Legacy Free Edition: 2022 Email Providers Overview(adrien.poupa.fr ↗)

1 points · by AdrienPoupa · 4y ago · discuss

26.

Modernizing a Legacy PHP Application(adrien.poupa.fr ↗)

1 points · by AdrienPoupa · 6y ago · discuss

27.

Deploying a Containerized PHP Application to AWS Using Docker and ECS(adrien.poupa.fr ↗)

6 points · by AdrienPoupa · 6y ago · discuss