Lex-2008

Joined 7 years ago

Karma
389
Submissions
204
Member since
Jan 15
http://alexey.shpakovsky.ru/
View on Hacker News

Recent submissions

Comment · 13 days ago
Comment · 13 days ago
Agreed. On the other hand, these DV certificates only claim to verify who _controls_ the domain. Probably, you can agree that hosting provider and government can also control the domain, no? :)

Moreover, with dns-01, DNS provider can issue fake certificates - unless you self-host DNS - in which case, only your DNS registrar can... and a government.

Comment · 13 days ago
> http-01

Good point, I forgot about that! But then CAA record might help, I guess, if you specify your accounturi?

Comment · 13 days ago
I think having multiple authoritative DNS servers in different networks might help with this.

I'm not sure how CAs deal with situations when a domain has several authoritative DNS servers, but not all of them respond with expected reply. Would it would be a good idea for CAs to ask *all* authoritative DNS servers and require a coherent answer from them?

Comment · 29 days ago
well, I mean, lower prices can come if merchants stop supporting Visa/Mastercard and support only cheaper options :)

Alternatively, merchants can give users more cashback points for using their preferred way of paying. Not sure how this flies with payment processor rules, but I've seen it in the wild.

Comment · 1 month ago
I've seen few places accepting only cash or cards from a local payment processor. And it looks like local payment processor takes about 0.16% from each transaction.

So I assume that if they were accepting more expensive cards, they might've increase the price of the $100.16 product for me, to offset their costs.

And yes, I also heard that payment processors have rules that require merchants to have the same price no matter what payment processor (or cash) customer will choose.

Comment · 1 month ago
Comment · 3 months ago
timestamp corresponds to Oct 08 2025, so probably the last time the file was modified
Comment · 7 months ago
not OP, but my current solution is to have a link which says "click to show email", with javascript handler that changes that link's href (and text) to email address, which is somehow computed. For example, by taking page URL and performing some regexp on it. It both avoids storing email in page source in plain text and requires human interaction, so feels good enough.

Another way I've seen elsewhere is to use a human-language explanation of how to build email address, something like this: "To get my email address, combine my first name (John) with my birth year (2000), separated by dash (-), and add email provider (@gmail.com)".

Comment · 8 months ago
my favorite "easter egg" hidden behind File -> Exit menu item of jspaint.app... I still remember how it blew my mind the first time I saw it!
Comment · 9 months ago
not a Linux expert, but I believe that at the very least it's time sensitive: after consumer process reads it, it's gone from the pipe. Unlike env vars and cli argument that stay there.
Comment · 9 months ago
Comment · 10 months ago
i initially misread "2015" as "2025", too... But no, it was part of SQLite for ten years already!
Comment · 10 months ago
interesting, but can't you use "Index On Expression" <https://sqlite.org/expridx.html>?

i.e. something like this: CREATE INDEX idx_events_type ON events(json_extract(data, '$.type'))?

i guess caveat here is that slight change in json path syntax (can't think of any right now) can cause SQLite to not use this index, while in case of explicitly specified Virtual Generated Columns you're guaranteed to use the index.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton