Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Znafon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
151.
▲
by
Znafon
7y ago
Why push for extended validation of there is no security benefits and the user experience is the same? I remember that someone had successfully got an extended certificate for "Stripe, Inc". Things like certificate transparency lo
152.
▲
by
Znafon
7y ago
> WireGuard doesn't work over TCP. I see this repeated in a lot of places about WireGuard but is there anything wrong with UDPTunnel ( http://www.cs.columbia.edu/~lennox/udptunnel/ )? Why would one prefer th
153.
▲
by
Znafon
7y ago
Packer can be lower level but it can also do what Dockerfile do, see https://www.packer.io/docs/builders/docker.html for the Docker support in Packer.
154.
▲
by
Znafon
7y ago
If you really wanted to align your clauses, you also could do: if (false){ } else if ($var=='possible value 1') { echo $var; } else if ($var=='possible value 2') { error_log($var); } e
155.
▲
by
Znafon
7y ago
Terraform shine when you combine multiple providers, kubectl manages Kube but Terraform helps you integrate K8s with the rest of your infrastructure (monitoring, Sentry,GitHub and GitLab, etc.) > I find managing Terraform's state to
156.
▲
by
Znafon
7y ago
To be fair, it dates from 1992. I don't think PyPi existed at the time, it's rather impressive the Core team supported this for so long.
157.
▲
by
Znafon
7y ago
> Are Python 2 -> 3 migrations for stdlib packages mostly rewrites or mostly tacking on compatibility layers like `from __future__ import unicode_literals`? Packages in the stdlib don't need compatibility layer since they are alw
158.
▲
US to ground the Boeing 737 Max 8
(bbc.com)
6 points
by
Znafon
8y ago
|
1 comments
159.
▲
by
Znafon
8y ago
Yes, Python supports in place operators to avoid this: def __iadd__(self, other): if isinstance(other, dict): self.update(other) return self This would get called for `d += other`.
160.
▲
by
Znafon
8y ago
There is a conter proposal to use classmethod like this from another core developer.
161.
▲
by
Znafon
8y ago
Thanks, I did not know that.
162.
▲
by
Znafon
8y ago
What exactly differs?
163.
▲
by
Znafon
8y ago
+ is already non-commutative for list and tuples for example.
164.
▲
by
Znafon
8y ago
Location: Paris, France Remote: Yes Willing to relocate: Yes Technologies: I do work in C, Python, Go. I work on web backends, API design, as a devops and on data analysis. My GitHub is https://github.com/remilapeyre My mai
165.
▲
by
Znafon
8y ago
Is there credit card tokenization services from which you can get a token identifying permanently a card without the possibility to make a payment?
166.
▲
by
Znafon
8y ago
Where there done by the payment processor like Artemis2 or in house? I'm asking because I saw a lot of in-house tokenizer with hashes or deterministic encryption that could get reversed in a few seconds by brute force since the space t
167.
▲
by
Znafon
8y ago
I dont think so, this would probably go against PCI DSS.
168.
▲
by
Znafon
8y ago
Isn't it one of the reason limiting the power of static analysis and force us to use dynamic analysis to get certain information about the correctness of our programs ?
169.
▲
by
Znafon
8y ago
GP probably references an AWS EC2 machine type: https://aws.amazon.com/fr/ec2/instance-types/
170.
▲
by
Znafon
8y ago
It is just a slow implementation, the usage of a dictionnary rather than a list is weird and the setup will be long, `get_sentinel` scan the whole list while it should just continue so it multiplies the complexity of the algorithm by n, lin
171.
▲
by
Znafon
9y ago
Well, it doesn't kill you, just makes you look stupid.