Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devxpy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
121.
▲
by
devxpy
6y ago
Can't you just use the ProcessPoolExecutor[1] for CPU heavy stuff? AFAIK, GIL isn't much of an issue with I/O tasks. [1] https://docs.python.org/3.8/library/concurrent.futures.html#...
122.
▲
by
devxpy
6y ago
Why do you say that? I believe concurrent.futures is meant as a way for asyncio to spawn threads or processes -- which lets you essentially call sync code from async and not have it block the event loop. From the docs[1] - The concurrent.fu
123.
▲
by
devxpy
6y ago
Why would the Gil apply to asyncio, which is strictly single threaded?
124.
▲
by
devxpy
6y ago
> Many popular languages today predate modern asynchronous computing. This makes async-as-default impossible because it's an afterthought Here's a rough sketch of how this can be achieved for a language that already has event l
125.
▲
by
devxpy
6y ago
How do you plan on making this concurrent? Generators can defer computation for later, but that doesn't magically make them async.
126.
▲
by
devxpy
6y ago
I've been thinking why exactly async-await was chosen at the function level, and not the caller level. I mean for languages that have event loops at their core, why isn't every function `async` by default? Let the caller decide ho
127.
▲
by
devxpy
6y ago
In a similar "Curly" style, Victor Mono - https://rubjo.github.io/victor-mono/
128.
▲
by
devxpy
6y ago
Yes, something like that. Like here's David's "Build Your Own Async" [1], which I prefer over Philip's (still extremely good) "What the heck is the event loop anyway?" [2]. It's one thing to tell ho
129.
▲
by
devxpy
6y ago
While this is interesting, it doesn't really show how containers actually work , only lists the specific syscall flags to tell Linux create one . A similar snippet[1] exists for go, and it doesn't do anything particularly specia
130.
▲
by
devxpy
6y ago
I think flutter puts a nail in the coffin with its semi-declarative syntax. While you're technically programming using an imperative language, they've somehow managed to make the syntax close enough to a declarative one that it is
131.
▲
by
devxpy
6y ago
I don't think mac has any hidpi support at all. They just decrease the resolution. Last time I used it, KDE had _proper_ fractional scaling and rendered fonts at full resolution compared to mac, which by default runs at lower than nati
132.
▲
by
devxpy
6y ago
By hiring the Silicon Ronin, ofcourse. https://en.m.wikipedia.org/wiki/Jim_Keller_(engineer)
133.
▲
by
devxpy
6y ago
Phew. So much for the app store not deterministically notifying the server deployment infrastructure that the app has been published?
134.
▲
Ask HN: How to sync server and app deploys?
1 points
by
devxpy
6y ago
|
2 comments
135.
▲
by
devxpy
6y ago
That takes care of lost information, but how do you reliabiliy filter out signal from noise? Can a simple FIR filter work in this situation?
136.
▲
by
devxpy
7y ago
So it's more about the beuraucracy than the tech?
137.
▲
by
devxpy
7y ago
That's actually a lot of money in an Indian context. Although outsourcing to another country might raise other kind of political problems.
138.
▲
by
devxpy
7y ago
Exactly. If it were not for the OS, the hardware seems to be a lot more capable than casual entertainment. These use cases simply don't push the hardware to its limits.
139.
▲
by
devxpy
7y ago
> companies can't protect us from a government we have put into power. But.. the electoral college.
140.
▲
by
devxpy
7y ago
I wonder if this could be improved with SQL
141.
▲
by
devxpy
7y ago
Starlette is very nice. starlette.io/
142.
▲
by
devxpy
7y ago
That's because for some reason, people treat computer science and programming as the same thing. IMO they're completely separate things, at least in practice.
143.
▲
by
devxpy
7y ago
Wow, wasn't expecting such a well constructed counter argument.
144.
▲
by
devxpy
7y ago
With superb open source, cross platform libraries like pdfium available to the public, why won't I just do this on the client?
145.
▲
Jancy – scripting language with C ABI/source compatibility
(github.com)
1 points
by
devxpy
7y ago
|
0 comments
146.
▲
by
devxpy
7y ago
Are you talking about this [1]? Perhaps it's possible to just use PL/Python[2] to write a custom stored prodecure? [1] https://docs.hasura.io/1.0/graphql/manual/schema/default-val... [2] https
147.
▲
by
devxpy
7y ago
Hi! Thanks for following up. I can't find anything specifically called "hasura actions". Found this[1], but that has nothing to do with language integration. [1] https://docs.hasura.io/1.0/graphql/ma
148.
▲
by
devxpy
7y ago
Thanks, that looks great. Was recently struggling to add custom graphql functions to hassura (preferably in python). But I guess js is a fair trade.
149.
▲
by
devxpy
7y ago
https://hasura.io
150.
▲
by
devxpy
7y ago
I never said they could, but from the ads, feels like they want to.
More ›