Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BlackFly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
BlackFly
7mo ago
My personal preference is for laws that promote reasonable limits on "Standard terms and conditions" and then recognizing that nobody reads them and making them applicable regardless of whether people read them or not. Then compan
32.
▲
by
BlackFly
8mo ago
The point of that line is to robustly survive a rename of the directory which won't be automatically tracked without that line. You have to read between the lines to see this: they complain about this problem with .gitkeep files.
33.
▲
by
BlackFly
8mo ago
I really find this kind of appeal quite odious. God forbid that we expect fathers to have empathy for their sons, sisters, brothers, spouses, mothers, fathers, uncles, aunts, etc. or dare we hope that they might have empathy for friends or
34.
▲
by
BlackFly
8mo ago
For it to be evidence, you would need to know the number of Greptile comments made and how many of those comments were instead considered to be poor. You need to contrast false positive rate with true positive rate to simply plot a single p
35.
▲
by
BlackFly
9mo ago
For such a literal case, automatic translations generally suffice. The real translator touch comes about when their is some nuance to the language. Was that a double entendre or not? If not, you might make a literal translation to get the m
36.
▲
by
BlackFly
9mo ago
The biggest friction I experience with respect to rust closures is their inability to be generic: I cannot implement a method that takes a closure generic over its argument(s). So then I'm forced to define a trait for the function, def
37.
▲
by
BlackFly
9mo ago
It merged with Mastercard almost two decades back: https://en.wikipedia.org/wiki/Eurocard_%28credit_card%29
38.
▲
by
BlackFly
9mo ago
If you realize that what we remember are the extremized strawman versions of the complaints then you can realize that they were not wrong. Writing did eliminate the need for memorization. How many people could quote a poem today? When oral
39.
▲
by
BlackFly
9mo ago
In addition to what others are telling you, Kagi also allows you to - filter out results from specific websites that you can choose, - show more results from specific websites that you can choose, - show fewer results from specific websites
40.
▲
by
BlackFly
9mo ago
That reminds me of all the bad tests of numerical algorithms you can write if you use numbers like 0, 1, 2 as test inputs because: - 0 * x = 0 so you don't necessarily test the correct computation of x, - 1 * x = x so you don't ne
41.
▲
by
BlackFly
9mo ago
Yeah, in languages with effects (exceptions/panics). That is a bit more than a partial function though.
42.
▲
by
BlackFly
9mo ago
Yes, as I said, you must use bounds checking or dependent types or effects or monad returns. Arrays are the effect choice in most languages. The signature as a function becomes a gnarly continuation passing if you insist on the equivalence
43.
▲
by
BlackFly
9mo ago
Arrays are syntactic sugar over something that resembles a function, sure. Real signature of an array implementation would be something like V: [0, N] -> T, but that implies you need to statically prove that each index i for V[i] is le
44.
▲
by
BlackFly
9mo ago
I cannot put my finger on it exactly either. I also often find the mocking DSL the better choice in tests. But when there are many tests where I instantiate a test fixture and return it from a mock when the method is called, I start to thin
45.
▲
by
BlackFly
9mo ago
An anonymous inner class is also ephemeral, declarative, inline, capable of extending as well as implementing, and readily readable. What it isn't is terse. Mocking's killer feature is the ability to partially implement/exten
46.
▲
by
BlackFly
10mo ago
Eh, quantum computing could very well be the next nuclear fusion where every couple of years forever each solved problem brings us to "We're 5 years away!" Yet, for sure we should keep funding both quantum computing and nucle
47.
▲
by
BlackFly
10mo ago
Except that the conclusion is wrong because you need tolerance. A bridge is designed to tolerate a certain weight, then you factor in some large tolerance for special circumstances, the same is true of effort. You put more effort into your
48.
▲
by
BlackFly
11mo ago
I think this really depends on your industry. If you cannot give a patient life saving dialysis because you don't have a backup generator then you are likely facing some liability. If you cannot give a patient life saving dialysis beca
49.
▲
by
BlackFly
11mo ago
> it's essentially a checked exception without a stack trace In theory, theory and practice are the same. In practice... You can't throw a checked exception in a stream, this fact actually underlines the key difference between
50.
▲
by
BlackFly
11mo ago
Katex produces MathML. The problem katex solves is that MathML is really ungainly for authoring equations. So instead you write equations in a DSL (which most people just call latex) and Katex compiles that to HTML/MathML for you. You
51.
▲
by
BlackFly
11mo ago
A singleton is more than just, "I only need one of these," it is more of a pattern of "I need there to be only one of these," which is subtly different and much more annoying.
52.
▲
by
BlackFly
11mo ago
DMA in Europe required Microsoft to enable offline accounts without special tricks. When a government is doing their job properly they patch up holes in the laws that allow behavior that the majority consider to be against the prevailing no
53.
▲
by
BlackFly
1y ago
I too often idealize that. The problem as I see it, when people start offering novel services it is hard to have a ready made contract for that. Hence the idea of reasonability and voidability that so many people have forgotten. If the term
54.
▲
by
BlackFly
1y ago
Most hate of OOP comes from the definition that OOP = inheritance. Meanwhile, among people that consider themselves OO programmers, there is often the same revulsion towards inheritance and a preference for encapsulation while still calling
55.
▲
by
BlackFly
1y ago
The world should just follow the Dutch and stop pretending like explicit consent occurs or matters for standard terms and conditions: http://www.dutchcivillaw.com/civilcodebook066.htm As long as you had the opportunity to r
56.
▲
by
BlackFly
1y ago
In principle there is an infinite number of possibilities for service disciplines, since it is an arbitrary function to select an element from sets. Service disciplines can also include randomness. I only know the basics of the mathematics
57.
▲
by
BlackFly
1y ago
They are obviously allowed to discuss certain aspects, "We have a suspect," "We have our best detective, Sherlock Holmes, working on the case," "Here is a photograph of our suspect, please contact us if you have any
58.
▲
by
BlackFly
1y ago
> If you wish to make an apple pie from scratch you must first invent the universe. This take just pushes the notion of utilitarian to an extreme. In this framing, primary industry isn't utilitarian and only some subset of secondary
59.
▲
by
BlackFly
1y ago
Yes, the author hasn't heard the term "service discipline" before. Sure, queuing theory is easier if you don't consider all the various service disciplines that real life queues use in practice (both physical queues and
60.
▲
by
BlackFly
1y ago
The author explains it in the next sentence. > It’s the “Washington Game” of “official leaks”, disseminating propaganda without being held accountable. In general, you can spot this kind of propaganda by realizing that the anonymous sour
More ›