Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zzzcpan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
zzzcpan
7y ago
This is completely irrelevant to the conversation about technical solutions. My example is just about probabilities and how to use them for bot detection.
152.
▲
by
zzzcpan
7y ago
And your point is?
153.
▲
by
zzzcpan
7y ago
I somewhat agree, but those can be good signals though, you just have to gather statistical data on them from known good users and combine with other signals. Like what are the chances for an agent to be used by a real person if it doesn&#x
154.
▲
by
zzzcpan
7y ago
What ease of concurrency are you talking about? See concurrency bugs in Go paper: https://songlh.github.io/paper/go-study.pdf
155.
▲
by
zzzcpan
7y ago
Elixir uses slow interpreted vm, you can't put it into the same high performance category and golang, java, c++ and rust can't do well on massively multicore systems on their own, you would have to fight them to do it, ditch idiom
156.
▲
by
zzzcpan
7y ago
iPad doesn't run professional software that tablets are mostly used with.
157.
▲
by
zzzcpan
7y ago
Yes, it doesn't apply to Linux. Also on Linux libinput and synaptics drivers support wacom tablets, so you don't necessarily need to even install linuxwacom (in my config I do "xinput set-prop ..." for both cases to setu
158.
▲
by
zzzcpan
7y ago
The only way I can think of this could be true is if you made a mistake in setting an env var.
159.
▲
by
zzzcpan
7y ago
I got 5.6x speedup on just wc alone with: export LANG=C (obviously in both cases with prewarmed filesystem cache)
160.
▲
by
zzzcpan
7y ago
What "security" could you possibly get from password storage with subscription and automatic updates that you can ignore the risks involved? You are giving a centralized 3rd party identifying information about you because of the s
161.
▲
by
zzzcpan
7y ago
> it is surplus capital of monopolistic firms that enables innovation This is purely ideological assertion that just excuses predatory behavior. Surplus capital does not enable innovation whatsoever. Innovation is more like quality, it
162.
▲
by
zzzcpan
7y ago
Well, no, you are just hacking it to support your claims. A split-stack work-stealing implementation is ok, nothing special, basically goroutines. But you are not addressing the most important difference between events and shared memory mul
163.
▲
by
zzzcpan
7y ago
I don't think there is back and forth anymore. Actual high performance research (e.g. when the cost of a single mutex is more than the whole CPU budget for processing something, like say a packet) has been devoid of threads since they
164.
▲
by
zzzcpan
7y ago
Since version 1.16 certificates can be dynamic, no need for reload.
165.
▲
by
zzzcpan
7y ago
> One thing I would love to see in the future is the addition of LetsEncrypt support for major web servers like Nginx and Apache. I think this could go a long way. This is not as useful as you think. In nginx you only need a couple of
166.
▲
by
zzzcpan
7y ago
You are talking about "HSTS Preload", HSTS doesn't do anything on first access.
167.
▲
by
zzzcpan
7y ago
> Imagine an organized government subversion cell that is willing to harm civilians to further its objectives and is skilled at hiding in public (one doesn't have to try very hard given the nature of asymmetric warfare in the 21st
168.
▲
by
zzzcpan
7y ago
> Basically any process in real life you do that involves collaborating with multiple people is a collaborative multi-threaded process. That would be actors or processes communicating with each other, not a collaborative multi-threade
169.
▲
by
zzzcpan
7y ago
Yeah, it was hard to realize in 1995, but nowadays pretty much everyone who tried experienced performance problems with threads, or rather with shared memory multithreading concurrency model. It doesn't actually scale if you idiomatica
170.
▲
by
zzzcpan
7y ago
Nope, event loops and asynchronous programming in general don't have a concept of taking a lock, because the code in any event handler already has exclusive access to everything. I.e. everything is effectively sequentially consistent.
171.
▲
by
zzzcpan
7y ago
Full experience presumes you buy into the platform and get used to it, drop all the alien stuff and alien ideas from other platforms, especially all the exclusive lock-iny ones that you listed.
172.
▲
by
zzzcpan
7y ago
> Anyone doing this should That's backwards. Rich megacorps are the ones that should be pressured to change their behavior, not individuals. Plus the full Apple experience is just about getting your money, it's not actually b
173.
▲
by
zzzcpan
7y ago
> cancellation is just as fiddly and needing to be explicitly handled by client event handlers/awaiters That's not true. In event loops to do cancellation you simply remove event handlers for associated client from whatever e
174.
▲
by
zzzcpan
7y ago
> because fast-food and other harmful food like substances are much more harmful in child hood How so? Growing children can probably handle a lot more junk food and sugar without any consequences than adults.
175.
▲
by
zzzcpan
7y ago
Could be more cars and computers that pushed sedentary life on people or plenty of other things too: more effective sugary food advertising on better screens, food producers figuring out that sugar is addictive and starting to put it into e
176.
▲
by
zzzcpan
7y ago
Basically the reason is you can't just kill a thread that shares memory with other threads. Go doesn't even have an ability to kill goroutines, so your only choices is manual context tracking and manual cancellation in every piece
177.
▲
by
zzzcpan
7y ago
> How much RAM does libpng use? The assumption here is likely that read-only mapped pages of libpng could be shared across different running programs that link with it. But it ignores all the extra read-write pages as a consequence of
178.
▲
by
zzzcpan
7y ago
> You have to worry about the jerk sending requests at 1 byte per second no matter which webserver you use. Not necessarily. It's just free webservers don't bother dealing with it, but there are plenty of simple approaches. L
179.
▲
by
zzzcpan
7y ago
Sure, but not impactful enough to matter in practice. FreeBSD can claim a lot of architectural differences too and yet they don't solve the problems you were talking about. And the actually different OSes that can help with those probl
180.
▲
by
zzzcpan
7y ago
But it's not monoculture that's the problem here, it's architecture. Different OS with similar architecture, like FreeBSD, can't solve those problems. The same way reimplementing Chromium in Firefox can't fix anythi
More ›