Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Znafon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
Znafon
4y ago
Indeed, somehow this went completely over my head.
32.
▲
by
Znafon
4y ago
I would not have though to use this formula. The sum of the integers grows as the square of n so if n is anything but small you will overflow and get an erroneous answer. This interview question has everything bad imo: no practical uses, te
33.
▲
by
Znafon
4y ago
Python typing supports duck typing: https://peps.python.org/pep-0544/ and heterogeneously typed ducts: https://peps.python.org/pep-0589/
34.
▲
by
Znafon
4y ago
Because when you book a car or ask for food to be delivered of it does not happen you just cancel the transaction and book another one, perhaps on another app. There is not much risk associated to this transaction and this favour the appari
35.
▲
by
Znafon
5y ago
Perhaps some idea and abstractions from Erlang could be interesting to explore in more mainstream languages?
36.
▲
by
Znafon
5y ago
I know that there had been discussion to improve the CLA process for Python but one issue was that previous signed CLA could not be imported so every contributor would have had to sign the CLA again, which for contributors that need approva
37.
▲
by
Znafon
5y ago
If you have numeric value you can use https://docs.python.org/3/library/array.html
38.
▲
by
Znafon
5y ago
It is being worked on: https://www.postgresql.org/message-id/flat/ac873432-31cf-d5e... !
39.
▲
by
Znafon
5y ago
I don't know S/MIME, why do you need to keep your old certificates?
40.
▲
by
Znafon
5y ago
You can use JSON for your configuration: https://www.terraform.io/docs/language/syntax/json.html !
41.
▲
by
Znafon
6y ago
Is this still working? The certificate is expired.
42.
▲
by
Znafon
6y ago
I think defining __dict__ explicitly should work.
43.
▲
by
Znafon
6y ago
> Why not put up an effort on speeding things up, removing the GIL. You are making it look like there is nobody working on those things but there is actually multiple core devs trying to making Python faster.
44.
▲
by
Znafon
6y ago
The Fisher-Yates algorithm has O(n) running time but it is slightly different than what the author suggested, instead of removing the element from the array, you swap it with the last, that way you are sure not to get it again by simply red
45.
▲
by
Znafon
6y ago
Python 4.0 is not coming out, the next release is 3.10
46.
▲
by
Znafon
6y ago
I saw this post in ask.
47.
▲
by
Znafon
6y ago
I don't think they do detection reliably, they have no idea whether it is an actual key or it could be a placeholder used as documentation for example. I don't know the details bit perhaps they just send it to AWS and AWS doesn&#x
48.
▲
by
Znafon
6y ago
It's actually GitHub that contacts AWS even before the commit finishes being sent to GitHub so it is indeed very fast.
49.
▲
by
Znafon
6y ago
This is a funny idea, I imagine you could do this with other services as well, for example you could use an API Gateway as long as you give read only keys for API Gateway and Route53?
50.
▲
by
Znafon
6y ago
> Child porn is illegal, hate speech (and in lots of places, "incitement") is not. Isn't "imminent lawless action" the limit of free speech? it seems clear after January 6th that a part of what was promoted on Pa
51.
▲
by
Znafon
6y ago
Thankfully the issue has been raised to multiple courts haven't it?
52.
▲
by
Znafon
6y ago
You don't have to do it this way, you can just use encryption at rest with a different key for each user and throw the key when a user ask for deletion of their data. No need to get all the backup back to scrub them one by one.
53.
▲
by
Znafon
6y ago
The Pull Request is at https://github.com/DaveGamble/cJSON/pull/146
54.
▲
by
Znafon
6y ago
I think this misses the point of a service mesh. Yes a library may feat your needs but if you need an old Java application deployed on premise that only has a VPN connection to datacenter A with a private connection to datacenter B a servic
55.
▲
by
Znafon
6y ago
Thanks, last time I tested aerc I couldn't find a way to make it download all my mails locally. Is this possible?
56.
▲
by
Znafon
6y ago
Do you have a recommendation for a good GUI mail client?
57.
▲
by
Znafon
6y ago
It's not "an abomination of a workflow", and it's very possible for communities to have difficulties in scaling with a mailing list and have a bus factor of 1 despite plenty of movement on the mailing list. Git also had
58.
▲
by
Znafon
6y ago
Yes, I think the CapEx argument often advanced by the marketing of AWS and C-levels and engineers of large companies moving to the Cloud is just something said to justify the decision and help everybody get on board with it, but I think the
59.
▲
by
Znafon
6y ago
I don't understand this reaction and the reaction of many people in this thread. To me it looks like choosing beggars, maybe I'm missing something. Travis-CI was giving a ton of computing power for free, no questions asked. That w
60.
▲
by
Znafon
6y ago
Except that nearly all companies greater than a certain size have an engagement with AWS so they shifted CapEx to CapEx.
More ›