Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vertere
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
31.
▲
by
vertere
5y ago
And what if there is more than one way of joining two tables, or a table to itself? A foreign key is effectively a reference to another column, but to de-reference it you have to tell the database which table and column it's a referenc
32.
▲
by
vertere
5y ago
Thanks, I did not know that about Bazaar. I wish that were the norm in Git-land. But I can see why people might still desire more explicit constructs to handle history organization. The expectation that the commit graph should be both logic
33.
▲
by
vertere
5y ago
> Profitable means it has to grow faster than inflation or wages. That is not what profitable means. Returns on investment in housing consist of: 1. rental yields, and 2. capital gains (i.e. change in price). You cannot say whether housi
34.
▲
by
vertere
5y ago
I'm not super familiar with v2 but from what I have read it's not clear how it achieves the same thing as IPFS. Yes, the file-hashing is deterministic, which can allow deduplication across torrents, but it doesn't seem to fac
35.
▲
by
vertere
5y ago
Bittorrent also has a DHT, which you can use instead of (or as well as) tracking servers. Perhaps the key difference is that torrents (targets for magnet links) can't link to other torrents, at least not in a way the protocol is aware
36.
▲
by
vertere
6y ago
Choosing based on whether it's in quotes seems like a better solution than using an equals sign. Not everything follows that convention admittedly, but not everything understands the '=' either. Or it could just treat everyth
37.
▲
by
vertere
6y ago
I sure don't want to have to deal with people putting `="01"` in CSV files.
38.
▲
by
vertere
6y ago
Perhaps by "correct way" you meant "dodgy hack to make Excel happy and risk breaking more sensible implementations"? Excel may predate the RFC but AFAIK MS didn't invent or coin the term CSV, so you can't just
39.
▲
by
vertere
6y ago
I don't think "normalised" is specific enough. Normalising can refer to division by values other than the maximum. I'm also not convinced it implies non-negativity. (My vote's with "proportion" BTW.) http
40.
▲
by
vertere
6y ago
I too am surprised "proportion" was not the obvious answer. Here's another recent HN/Twitter discussion [0] that surprised me and made me think a lot of programmers haven't done much numerical programming. [0]: htt
41.
▲
by
vertere
6y ago
The first statement of the problem in the wikipedia page (from "Ask Marilyn") does not state it explicitly (though it does say the host knows what's behind the doors). There is a reason wikipedia refers to them as "assum
42.
▲
by
vertere
6y ago
Sure you can generalize it by weighting the outcomes by their probabilities (not mentioned in the article). But how are you going to calculate those probabilities any more easily than you can solve the posed problem? The more "intuit
43.
▲
by
vertere
6y ago
This method only works because the boxes have the same number of balls. To calculate probabilities by counting outcomes you have to start with outcomes that all have equal probabilities.
44.
▲
Inextricably Linked: Reproducibility and Productivity in Data Science and AI
(youtube.com)
1 points
by
vertere
7y ago
|
0 comments
45.
▲
by
vertere
8y ago
> The problem is that it makes no sense to even formulate a nonlinear utility function for an ordinal scale, because there will be a linear function that represents the same preferences. I'm afraid I don't understand your point
46.
▲
by
vertere
8y ago
One time I used a system that, when setting my password, it converted all letters to lower case, but it didn't do the same when trying to log in. I figured out that's what happened when I called them and they told me to give them
47.
▲
by
vertere
8y ago
> The broadband market was experiencing a classic "prisoner's dilemma," where neither cable nor DSL providers felt a competitive threat from the other requiring substantial new investment, trusting in relative peace within
48.
▲
by
vertere
8y ago
> By being at the intersection, [JSON] turns out to be the thing that everybody can agree on, and so it's really easy to pass data back and forth. Prior data interchange formats tended to try to be the union of all the languages, a
49.
▲
by
vertere
8y ago
Seems like a good case study in poor communication then. It doesn't excuse people spreading misinformation without a decent attempt to ascertain the facts, but it seems Redis Labs mainly have themselves to blame. Their page [0] starts
50.
▲
by
vertere
8y ago
> an old fashioned bank transfer can be corrected if I transfer money and make a mistake writing the account number. Mutable history is a powerful feature. That's not necessarily mutable history though. Such a correction will usuall
51.
▲
by
vertere
8y ago
Both well-defined protocols and vaguer design/architectural principles have their place. But is it a great idea to take a bunch of such principles and bundle them up under a (confusing) name? Perhaps not. It seems to me that the initia
52.
▲
by
vertere
8y ago
I have some sympathy for your philosophy, but clearly it's important to have a reasonable amount of memory and preservation, and to have some degree of control over it. What we're facing seems like a rather random, senseless erosi
53.
▲
by
vertere
8y ago
It is true that a lot more stuff gets kept these days. But we seem to be much more liable to losing important information. As Bret Victor [0] has pointed out, we use largely the same mechanisms for managing the most trivial to the most impo
54.
▲
by
vertere
8y ago
> a human hair is just under 100 nanometers in diameter Does he mean micrometres? From wikipedia[0]: > The diameter of human hair varies from 0.017 to 0.18 millimeters (0.00067 to 0.00709 in). [0]: https://en.wikipedia.org&
55.
▲
by
vertere
8y ago
Yep, in other words the prior probability of a user trying to use a 'bad' password will be a lot higher than badpasses/allpasses. The whole point of checking against a list of compromised passwords is because people reuse the
56.
▲
by
vertere
8y ago
R certainly has a lispish code-as-data element to it, but it seems like it has some serious flaws. Don't most lisps have functions and macros as separate constructs? R has functions, but with some mucking around you can make them do ma
57.
▲
by
vertere
8y ago
I hate it as well. And then you get people going on about "functional style" while throwing referential transparency out the window.
58.
▲
by
vertere
8y ago
> It's the same if you tried to access a[0] or a[90000] (in an array that doesn't have 90000 elements). It's not the same: `a[90000]` would be `NA` (which is a 1-element vector, not an empty vector).
59.
▲
by
vertere
8y ago
You might be right. Whereas programmers tend to regard languages as something to be understood , package managers are something they just use ("if it works, it works"). Typical R users (i.e. data analysts) regard languages a bi
60.
▲
by
vertere
9y ago
'Autonomy, mastery and purpose' is from Dan Pink [0]. I think both lists, and most if not all of the comments here, are missing a notion of status or prestige. [0]: https://en.wikipedia.org/wiki/Drive:_The_Sur
More ›