Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alfons_foobar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
alfons_foobar
1y ago
Well yeah, Obsidian is basically a markdown editor with some nice extra features. And apparently a quite thriving plugin ecosystem.
32.
▲
by
alfons_foobar
1y ago
Well yeah, in the end they are just plain text, prepended to the user input.
33.
▲
by
alfons_foobar
2y ago
It makes a lot of sense for read-heavy workloads, for sure! I was just trying to get a better understanding of what is happening under the hood :)
34.
▲
by
alfons_foobar
2y ago
Soo... We have a network hop after all?
35.
▲
by
alfons_foobar
2y ago
> Instead of relying on a single server to store all data, we can replicate it onto several computers. One common way of doing this is to have one server act as the primary, which will receive all write requests. Then 2 or more additiona
36.
▲
by
alfons_foobar
2y ago
Not even necessary, just update the DNS record pointing to your home address
37.
▲
by
alfons_foobar
2y ago
That is correct, but the @runtime_checkable decorator (which goes on the class that defines the protocol, e.g. "Animal" in the blog's example) makes it so that any class that implements the required methods (e.g. Rabbit) also
38.
▲
by
alfons_foobar
2y ago
True. Also this: "Because Animal is a Protocol, any class that defines feed() becomes an Animal" is slightly incorrect. By default, protocols are only relevant for static type analysis, but you _can_ enable runtime instance checki
39.
▲
by
alfons_foobar
2y ago
This is a good example of a game-theoretic equilibrium :)
40.
▲
by
alfons_foobar
2y ago
I might be dense, but I don't understand what that has to do with type hints... To my eyes, the problem of choosing useful defaults for complicated types/datastructures is independent of whether I add type hints for them. I think
41.
▲
by
alfons_foobar
2y ago
Prometheus is not agent based though
42.
▲
by
alfons_foobar
2y ago
kudos for actually looking what the problem is. As a (former) NetEng, it bothers me to no end that so many people claim "it's the network" when their application is slow / broken, without understanding the actual problem
43.
▲
by
alfons_foobar
2y ago
This. I often use generator expressions for the intermediate values (so I don't allocate a new list for each step), but I find this to be much more readable.
44.
▲
by
alfons_foobar
2y ago
> Just write: if key not in table: return default_value value = table[key] I think this could/should be shortened to value = table.get(key, default_value) ... return value No? In case you disagr
45.
▲
by
alfons_foobar
2y ago
I assume you're basically referring to this quote from the article? "Ignore fields coming from the API if you don’t need them. Keep only those that you use." IMO this addresses only one part of the problem, namely "sanit
46.
▲
by
alfons_foobar
2y ago
> This is a lie. A "session through the NAT" does not really expose the host to the outside world, because in 99% of the cases this is a TCP session, and the NAT machine would drop all "out of order" packets. No, it&#
47.
▲
by
alfons_foobar
2y ago
FYI, it's called "node_exporter" ;)
48.
▲
by
alfons_foobar
2y ago
Glad I am not the only one feeling "weird" about the separate branches thing :D Probably just a matter of taste, but I think having the files for different environments "side by side" makes it actually easier to compare
49.
▲
by
alfons_foobar
2y ago
> only international peering The concepts of "national" and "international" don't map very well to the internet. Many companies run multiple ASes, and many companies are peering at IXPs all over the world...
50.
▲
by
alfons_foobar
2y ago
> Some form of cryptographic ownership verification is the logical next step to prevent these things from happening. a.k.a RPKI
51.
▲
by
alfons_foobar
2y ago
What do you mean by "privilege" in this context?
52.
▲
by
alfons_foobar
2y ago
Hm, I understood "ip endpoint" to mean something else than a router (because I am very sure that Geoff is aware of the "ICMP is not handled on the ASIC"-issue).
53.
▲
by
alfons_foobar
2y ago
He does ping through the starlink terminal: > ping across a Starlink connection from the customer side terminal to the first IP end point behind the Starlink earth station
54.
▲
by
alfons_foobar
2y ago
That is true for ICMP packets directed at the router itself. Pretty sure that is the reason why he used > ping across a Starlink connection from the customer side terminal to the first IP end point behind the Starlink earth station inste
55.
▲
by
alfons_foobar
2y ago
Ordered by insertion (see [Mailinglist]( https://mail.python.org/pipermail/python-dev/2017-December/1... )) This might or might not be what you want/expect...
56.
▲
by
alfons_foobar
3y ago
> rock solid principle I see what you did there :)
57.
▲
by
alfons_foobar
3y ago
On a technical level, this is very simple - just change the list of DNS root servers on all "participating" machines to point to your own new nameservers. But then you have the problem: Who manages your community controlled domain
58.
▲
by
alfons_foobar
3y ago
We use poetry inside docker in a very similar way, but use a multistage docker file - the "builder" image has poetry installed and installs the application into a venv, we then copy that venv to the "prod" image and run
59.
▲
by
alfons_foobar
3y ago
There are drafts/sealed, you know...
60.
▲
by
alfons_foobar
3y ago
As far as I can tell, the problem lies not with the payment processing, but rather with the bureaucracy around receiving money in OP's country of residence.
More ›