Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cartlidge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
cartlidge
7y ago
It isn't at all clear that (1) is true. Until recently, no-one was particularly concerned about companies which link advertisers and purchasers. Unless you say the hypothetical benchmark company is a company which tries to track you an
2.
▲
by
cartlidge
7y ago
I think most people can see that there's a huge gulf between "everything is lawful" and "the government regulates ideas and risks doing so in their favor". Most people accept that you cannot say "how unfortunat
3.
▲
by
cartlidge
7y ago
Cloudfare didn't cut off service to a home, so you haven't provided relevant information.
4.
▲
by
cartlidge
7y ago
I have a hope of remembering about:performance. I can bookmark it, and it's there in autocomplete. You can make a link to it in your webpage or in a nice plugin (which, once it gets a couple thousand users, you can sell to an honest bu
5.
▲
by
cartlidge
7y ago
Hi thundergolfer. mrjn is the person who created dgraph, so I think he knows what the terminology is.
6.
▲
by
cartlidge
7y ago
Thanks for the reply mrjn. So a predicate includes a relation, but we take it from its logical point of view. (Rather than in an RDBMS, where we contort the relation so that we can see it from the perspective where it has a cardinality of 1
7.
▲
by
cartlidge
7y ago
But "has" isn't a predicate. "Has" is a relation. If we take "has an item" an "has a price" and "has an order" to be predicates, then we already have three predicates. So that can'
8.
▲
by
cartlidge
7y ago
The Faq says "If your data doesn’t have graph structure, i.e., there’s only one predicate, then any graph database might not be a good fit for you." I know what a predicate is, but I don't understand how it is being used here
9.
▲
by
cartlidge
7y ago
I think it's more productive to not care about the formatting. Allow redundant, pointless spaces that serve only to keep things out of alignment. Once it doesn't matter if the code is pretty - or if the autoformatter has been run
10.
▲
by
cartlidge
7y ago
I thought the point of code is to make it more difficult for the non-initiate to read it... Actually, I think a good, justly polymorphic function should probably have a word of a reasonable length and parameters that are called `a`, `x`, `f
11.
▲
by
cartlidge
7y ago
That relates to my comment in what way?
12.
▲
by
cartlidge
7y ago
That isn't an inherent issue of composition though. You could say {...students(ajaxDb), ...teachers(ajaxDb)} to create an object that can handle both students and teachers. Or you could say public class StudentsAndTeachers
13.
▲
by
cartlidge
7y ago
I'm not sure I agree with your thesis. For instance, Javascript has recently added an OOP class syntax, and Typescript extends the result with strict types. (JS was of course in some sense object oriented beforehand, but it wasn't