Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leafboi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
121.
▲
by
leafboi
6y ago
>The benchmark used different number of processes for sync and async workloads. Wrong. Workers amounts are the same. See the chart with benchmark results. http://calpaterson.com/async-python-is-not-faster.html >The be
122.
▲
by
leafboi
6y ago
https://www.youtube.com/watch?v=wI-qAxKJoSU In the video above you will witness a metal wire in a disorderly shape spontaneously form into an organized spring shape when entropy is increased (the wire is heated). There are
123.
▲
by
leafboi
6y ago
The async await implementation in python and basic python threading is concurrent under IO. No conflation.
124.
▲
by
leafboi
6y ago
>whereas the async frameworks are all pure Python. No it's not pure python. It's a combination. The underlying event loop uses libuv, a C library that's makes up the underlying core of nodejs. The marker of "Uvicorn&q
125.
▲
by
leafboi
6y ago
asyncio is meant to be "faster" for IO heavy tasks and low compute. The benchmark tests requests per second which is indeed directly testing what you expect it to test. It's been discussed before but the outcome of that discu
126.
▲
by
leafboi
6y ago
The tests aren't compute bound. They are testing requests per second. It's testing biased towards IO, not compute. Please read the article.
127.
▲
by
leafboi
6y ago
They max out the speed with tests. It does use libuv. Uvicorn is the indicator as it uses libuv underneath. If you heard of Gunicorn, Uvicorn is the version of Gunicorn with libUV, hence the name.
128.
▲
by
leafboi
6y ago
Wasn't there an article about how the async syntax was benchmarked to actually be slower than the traditional way of using threads? What's the current story on python async? reference: http://calpaterson.com/asyn
129.
▲
by
leafboi
6y ago
Containers are pretty good. My current company uses C++ and CMake and they eschewed containers for nix. I can assure you with nix and cmake it's 1000x more complicated than it needs to be.
130.
▲
by
leafboi
6y ago
>The findings detailed in a letter to the college’s attorneys Thursday mark the latest action by the Trump administration aimed at rooting out discrimination in the college application process, following complaints from students about th
131.
▲
by
leafboi
6y ago
I would say most universities who don't have a huge asian student body are probably discriminating against asians.
132.
▲
by
leafboi
6y ago
Any language that can be compiled is by design suited for IDE tooling. Think about it, if a compiler can analyze the code then so can an IDE. An example of a language that can't be analyzed by IDE tooling is the English language. Case
133.
▲
by
leafboi
6y ago
- full remote development suite with source synced onto remote server while IDE utilizes remote libraries and and remote compiler tool chain for code analysis. - learning curve thats significantly smaller despite larger feature set.
134.
▲
by
leafboi
6y ago
Most evil is conducted with the conductor being fully aware that the action is evil. An oath isn't going to stop someone who is aware they are violating social norms in the first place. A thief knows stealing is wrong. A murderer knows
135.
▲
by
leafboi
6y ago
Yeah it is ironic. You didn't say or do anything out of line. Yet people are voting you down simply because they disagree. Imagine what happens in the real world let alone on the internet.
136.
▲
by
leafboi
6y ago
>(BTW, in my experience HN is the best place i know where "whats being said" is more important and have an authority on its own, and the reason why i keep coming back here) I agree. Still, even though it is the "best"
137.
▲
by
leafboi
6y ago
Your comment is similar to the one in the article where he attacked and accused someone who is right. Biased people can never recognize their own bias. First off what he said was not factually untrue. This very article proves his point. Fac
138.
▲
by
leafboi
6y ago
I got an idea. Start an HN clone. When you vote something down it gets voted up for everyone else. Knowledge about this has to be hidden from everyone, though and I don't know how long it can be kept hidden. I'd actually like to s
139.
▲
by
leafboi
6y ago
It's actually quite scary and shows a lot about human nature. The comment in question was insightful and displayed intuition and judgement a level up beyond other people. Really every other comment was a load of crap, and the one comme
140.
▲
by
leafboi
6y ago
>You seem to be tilting against an imaginary opponent. Perhaps it would help if we went back and examined where this discussion started. Nope. I'm just trying to teach you. >Pursuant to what I viewed as a noble discussion about t
141.
▲
by
leafboi
6y ago
>Money is a renewable resource, but time is not. Money is not renewable because you must spend time to obtain money.
142.
▲
by
leafboi
6y ago
>What exactly do you believe that this 'evidence' proves in relation to my original statement? Nothing can be proven. This is a property of science and reality. Even a scientific paper can't prove anything. What can be don
143.
▲
by
leafboi
6y ago
>Yes, new outbreaks and lockdowns are being reported throughout China. Anecdotal reports are not especially meaningful in the context you suggest. I gave you 3 contexts. Anecdotal, statistical and sayings from technocrats. Statistical:
144.
▲
by
leafboi
6y ago
4. Coasting. Plenty of people just want to live and not do any work. This has obvious detriment to the economy as they are just parasites.
145.
▲
by
leafboi
6y ago
You are far removed from reality. Talk to your friends in china. The anecdotal evidence is clear. Last week several of my friends attended an extravagant wedding. Not to mention the statistical measures and statements from technocrats are a
146.
▲
by
leafboi
6y ago
>People who are going to the beach probably are not worried about COVID. There's also a fair amount of debate among the technocrats about how transmissible it is on a beach. There were huge huge crowds on the beach with know one wea
147.
▲
by
leafboi
6y ago
That's right. And will she be detained for using Facebook or VPN? No.
148.
▲
by
leafboi
6y ago
>In the overall big picture of events, the lack of free speech and assembly in China allowed a containable outbreak to become the largest worldwide pandemic in 100 years. Lack of free speech is not the reason why this pandemic spread. Th
149.
▲
by
leafboi
6y ago
Yeah like all countries china is fallible and imperfect. I'm talking about the general handling of the epidemic. When china got serious, they killed it. When America tried to get serious they got people protesting that covid is a hoax.
150.
▲
by
leafboi
6y ago
China's goal is to build a cohesive economic powerhouse that functions as a unified whole. Unification at the cost of less individual freedoms. Given the current pandemic no doubt China is handling it better than the US as a result of
More ›