Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Yxogenium
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Yxogenium
8y ago
> So the best practice is to use `asyncio.gather()` to delimitate the pyramid of the task life cycle. Unfortunatly few people kow this, and hence do it. And even then, any async function might run `loop = asyncio.get_event_loop()`, run s
2.
▲
by
Yxogenium
8y ago
On a related note, I found that asyncio (cooperative multitasking in Python) has made huge strides in usability in Python 3.7. The code feels sequential, and it’s quite easy to understand the flow of events ; it’s very explicit yet you neve
3.
▲
by
Yxogenium
8y ago
> Starting from an array A that has n distinct integers I don't know in what ways they are differents, but these programs were not designed to work with duplicates in the input. This probably explains the results.
4.
▲
by
Yxogenium
9y ago
And this issue could be easily overcome if more projects implemented the "socks5h://" protocol (note the 'h'), initially introduced by curl[1] to mandate the SOCKS proxy to also tunnel DNS requests. Sadly it se
5.
▲
by
Yxogenium
10y ago
For your information you can get the Firefox for Android NoScript porting with the cheeky (but somewhat relevant) name NoScript Anywhere++ (NSA++) here: https://noscript.net/nsa/ It's quite experimental, the UI is
6.
▲
by
Yxogenium
10y ago
If you feel brave, you could try the C++ implementation of the i2p router, purplei2p[1] (aka i2pd[2]). Last time I tried, there were a few rough edges, but it is now over two years old, so it has probably improved (or you may even improve i