Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jules
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
361.
▲
by
jules
8y ago
That Go concurrency is threads is the point of the article. It says this explicitly: "You can think of goroutines as threads, it's a fairly good mental model. They are truly cheap threads". If OS threads become as cheap as us
362.
▲
by
jules
8y ago
I didn't say that it is.
363.
▲
by
jules
8y ago
The problem with Kuhn is that his central thesis of incommensurability as it is commonly interpreted is false. Classical mechanics arises as a specific limit of quantum mechanics. Galilean invariance arises as a specific limit of special re
364.
▲
by
jules
8y ago
How does FoundationDB do distributed transactions without consensus?
365.
▲
by
jules
8y ago
You can trivially redirect all clients to node 1 whether or not there is a partition, and voila, you have a CAP system under that definition. If clients can be partitioned from servers then we're back in the original scenario in which
366.
▲
by
jules
8y ago
Read latency doesn't have to be impacted by linearizibility. Write latency is higher, but we have to do a fair comparison. If a non-consistent database acknowledges a write it doesn't have to have made that write visible, so compa
367.
▲
by
jules
8y ago
Consistency in the CAP sense has a precise meaning: all reads see all completed writes. That is, if the database has told some client that their write succeeded, then it is not allowed to still serve other clients the old data. Inconsistenc
368.
▲
by
jules
8y ago
It is true: if you allow clients to switch then you can have all three C,A,P.
369.
▲
by
jules
8y ago
The CAP theorem has been truly disastrous for databases. The CAP theorem simply says that if you have a database on 2 servers and the connection between those serves goes down, then queries against one server don't see new updates from
370.
▲
by
jules
8y ago
The peace prize has been a joke for quite a while now.
371.
▲
by
jules
8y ago
Values that have that ratio might be good, but I'm not sure about the magnitude because maybe the average number of votes is too high so that the prior overwhelms the data. The scores get pulled towards that ratio as you increase the m
372.
▲
by
jules
8y ago
Have you tried the simple Bayesian approach with a Beta prior? [1] I'd be interested to learn how it does. pretend_upvotes = 4 pretend_downvotes = 4 def score(item_upvotes, item_downvotes): upvotes = item_upvotes + pretend
373.
▲
by
jules
8y ago
> I honestly cannot comprehend how anyone could support this law while having any understanding of how the internet works. These are the same politicians that brought us the law that forces every website to ask EU visitors permission to
374.
▲
by
jules
8y ago
Julia combines rapid prototyping with a well designed language and good execution speed. Matlab only has the first of those three. Julia can plot eigenvalues no problem. Almost exactly the same code works.
375.
▲
by
jules
8y ago
The KL divergence is also called relative entropy. Unlike the ordinary entropy, relative entropy is invariant under parameter transformations. The maximum relative entropy principle generalises Bayesian inference. The distribution relative
376.
▲
by
jules
8y ago
I know, you have to flip some other quantities besides velocities, but I didn't want to make it more complicated.
377.
▲
by
jules
8y ago
It gets even weirder. The laws of physics are time reversible as far as we know. Very basically, it means that if you froze our universe and reversed all the velocities of the elementary particles, and then restarted the simulation again, i
378.
▲
by
jules
8y ago
You're completely right that there is nothing revolutionary about viewing a point in spacetime as a point (x,y,z,t) in 4 dimensions. If that was what special relativity was about then it would be very boring! The x,y,z directions are c
379.
▲
by
jules
8y ago
This is the same argument that gets brought up for every language feature. I remember the days when lambdas were controversial. Lambdas used to be seen as crazy complicated magic that normal programmers wouldn't be able to understand,
380.
▲
by
jules
8y ago
Some do, such as companies that produce software to help radiologists detect cancer.
381.
▲
by
jules
8y ago
This is the opposite of the monorepo philosophy: everyone always uses the most recent version of the code to minimise hassle. I wonder if minimal version selection works nicely initially, but becomes more of a hassle over time because you&#
382.
▲
by
jules
8y ago
That's right. For a fully connected layer the matrix is of dimension (batch size) x (number of neurons in layer k) which gets multiplied by a matrix of dimension (number of neurons in layer k) x (number of neurons in layer k+1). People
383.
▲
by
jules
8y ago
Fully connected layers are matrix-vector multiplication (which turns into matrix-matrix if you do an entire batch at once). Convolutional layers are lots of tiny dot products. You can rewrite that as matrix-matrix multiplication.
384.
▲
by
jules
8y ago
The algorithms with the best asymptotic complexity aren't used in practice because they are slow for the n we care about. In practice optimising matrix multiplication comes down to making efficient use of SIMD, multiple cores and cache
385.
▲
by
jules
8y ago
It is not karma if the country ends up paying, though.
386.
▲
by
jules
8y ago
Copy on write handles most cases fine. You can also still use such a system as a repl: just add more lines and don't modify previous lines. If you do that then nothing needs to be re-executed. Since most people work with small data set
387.
▲
by
jules
8y ago
What if notebooks re-executed all cells in order as you type? That would solve the ordering and hidden state problem. To speed that up you could take a snapshot of the program state at each cell and re-execute from the snapshot of the cell
388.
▲
by
jules
8y ago
A lot of debt is held in foreign currency and imports just got a whole lot more expensive in a handful of days. This is a serious blow, especially if Turks lose confidence in the lira. I can assure you that Erdogan is getting nervous. He c
389.
▲
by
jules
8y ago
Did you really think that she was ever about principle rather than pragmatic tribalism?
390.
▲
by
jules
8y ago
That it would hurt vulnerable populations who live in a region that becomes uninhabitable is undoubtedly true and I didn't argue against that, but that is not the end of humanity, which is what you claimed.
More ›