Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
francislavoie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
francislavoie
2y ago
I feel like I remember StackOverflow (and related sites) having OpenID login as an option, but I don't see it anymore. I figure they removed it due to low popularity.
92.
▲
by
francislavoie
2y ago
I'm using stock Android, Pixel 8 Pro. Highlight text then tap "Copy". See a toast in the bottom left. Tap on it (not the X) and a little text editor applet opens up. Here you can edit the text and save it, updating the value
93.
▲
by
francislavoie
2y ago
Please read my other comments. I'm not using "stupid" in the derogatory sense. I'm using it as a recognition of the skill/knowledge gap between technical and non-technical users.
94.
▲
by
francislavoie
2y ago
I was talking about numerical amount fields, not phone numbers or dates or credit card numbers. Those are different things entirely. FWIW if you're copying text on Android, you can tap the clipboard popup to edit the clipboard item bef
95.
▲
by
francislavoie
2y ago
I'm not using "stupid" in the derogatory sense. I'm using it as a recognition of the skill/knowledge gap between technical and non-technical users. To clarify, we get _asked_ by our users to implement fields that li
96.
▲
by
francislavoie
2y ago
It's a decimal number field. There's no reason to have any other characters than [0-9\.-]* You're overreacting. You're attacking me for no reason.
97.
▲
by
francislavoie
2y ago
I worked for a small company that did. The idea was the password manager lived only on your phone, and you'd connect it to your computer in various ways. Notably including our own hardware, USB nub that connected to the phone app via B
98.
▲
by
francislavoie
2y ago
I'm not being user hostile. I'm being cognizant that the skill levels of users is extremely wide, and to best serve everyone from a UX standpoint, it's best to limit the characters accepted in the input. It protects the user,
99.
▲
by
francislavoie
2y ago
It doesn't prevent the bad input, it only validates it on submission. Therefore it's on the user to fix it, and if it's from a zero-width space, it's literally invisible. Non-technical users will have no idea what to loo
100.
▲
by
francislavoie
2y ago
Or, you know, prevent invalid characters from the get-go. Same thing as validation, but done up-front. (But as I said elsewhere, I'm not talking about phone numbers, I'm talking about amounts)
101.
▲
by
francislavoie
2y ago
True, but vast majority of websites don't do the right thing. So password managers need to manage a database of form input overrides. I worked at a small company building a password manager and it was a bit of a nightmare, we had to al
102.
▲
by
francislavoie
2y ago
What's hilarious is they do have UI for it in about:config "dom.forms.datetime.timepicker". It makes me so angry that it's not on by default. It works fine!
103.
▲
by
francislavoie
2y ago
"Break your UX" is a vast exaggeration. I'm not talking about phone number fields, to be clear. I'm talking about like numeric amounts, with maybe a negative or decimal point. It's literally just [0-9\.-] but that s
104.
▲
by
francislavoie
2y ago
Nah. Users are too stupid to fix their own inputs in many cases. Seen inputs with zero-width spaces that are invisible which fail validation. User doesn't understand why, complains. Enforcing a character set for certain kinds of inputs
105.
▲
by
francislavoie
2y ago
But what's crazy is both of those still don't disallow non-numeric input unless you use JS to reject keystrokes and intercept paste. HTML form validation is so incomplete and limited, every time I look at it I want to scream cause
106.
▲
by
francislavoie
2y ago
Actually, she spoke about that recently in a video, she's still at a loss on that product, mentioned here https://youtu.be/iEAShZ8TJCs?t=269
107.
▲
by
francislavoie
2y ago
This page explains all that: https://caddyserver.com/docs/running . Ultimately it depends how you installed Caddy and how you're running it (Docker vs Systemd vs directly via CLI, etc).
108.
▲
by
francislavoie
2y ago
Why not? What are your concerns? Many large companies use it in production.
109.
▲
by
francislavoie
2y ago
That's already a thing! https://caddyserver.com/docs/caddyfile/directives/import
110.
▲
by
francislavoie
2y ago
Caddy maintainer here; could you be more specific about the usecases you think look like a nightmare? We're always looking to improve config ergonomics, but we need specific feedback.
111.
▲
by
francislavoie
2y ago
Caddy maintainer here; hiding things doesn't make sense, some people do need to see that information, namely users of the API who perform scripted config changes on their running servers. The Caddyfile is pretty up-front-and-center, so
112.
▲
by
francislavoie
2y ago
Caddy maintainer here, I don't understand what you mean. What format are you talking about? We definitely push everyone to use the Caddyfile.
113.
▲
by
francislavoie
2y ago
I'm looking here https://github.com/basecamp/kamal-proxy/tree/main/internal/s... which is the code for their v2 proxy. Notice there's a health_check.go which makes requests in a goroutine
114.
▲
by
francislavoie
2y ago
In theory it should, because they do health checking to track status of the upstreams. The upstream server being down would be a failed TCP connection which would fail the health check. Obviously, rebooting the machine the proxy is running
115.
▲
by
francislavoie
2y ago
Not really, works quite well as long as your proxy/server have enough memory to hold the requests for a little while. As long as you're not serving near your max load all the time, it's a breeze.
116.
▲
by
francislavoie
2y ago
Caddy does this! (As you know, I think. I feel I remember we discussed this some time ago)
117.
▲
by
francislavoie
2y ago
They're using the autocert package which is the bare minimum. It's brittle, doesn't allow for horizontal scaling of your proxy instances because you're subject to Let's Encrypt rate limits and simultaneous cert limi
118.
▲
by
francislavoie
2y ago
No, that's a public CA. No public domain registrars will be allowed to sell .internal domains so no public DNS servers will resolve .internal and that's a requirement for let's encrypt to validate that you control the domain.
119.
▲
by
francislavoie
2y ago
Re "stash is bad" comment, I agree, but only if you're using git in CLI. If you use something like GitKraken, then you can visually see your stashes and it's pretty obvious what they're about. I find it easier to ma
120.
▲
by
francislavoie
2y ago
See https://en.wikipedia.org/wiki/Ventoy#How_does_Ventoy_work , TLDR when you pick an ISO, it sets up a virtual device which emulates a regular bootable device, pointing to the contents in the ISO.
More ›