Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adrianratnapala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
adrianratnapala
7y ago
> that reason ought to be the slave of the passions, I don't think you will find Hume actually arguing this. People read this into him because they glide so easily from is to ought . > or that it must be so This is a factua
32.
▲
by
adrianratnapala
7y ago
> It's an empirical fact that we must act on our desires; Is it? > when I examine my actions closely I notice that all of them can be traced back to some desire or combination of desires. But when I introspect, the opposite happe
33.
▲
by
adrianratnapala
7y ago
Sandworm is responding to the statement that: > People (for the most part) don't just sit around writing fake reviews for companies they have no dealings with. And > If fake reviews about an organization exist, they were commiss
34.
▲
by
adrianratnapala
7y ago
It's definitely wrong. But it is blasphemous to even believe that there can be right or wrong in such matters.
35.
▲
by
adrianratnapala
7y ago
`du`, `ls -r` and `find` are all tools which recursively walk and stat directory trees. In that light, it can make sense to pick just one.
36.
▲
by
adrianratnapala
7y ago
The RFC is written by and for people who have already discussed in depth what problem they are trying to solve. But little old I can't figure it out by reading the text. Can anyone enlighten me about what it's for? How does it f
37.
▲
by
adrianratnapala
7y ago
Well, as a C++/Python/C# programmer, I see it as a combination of ways to (a) organise procedural programs using language features that make abstract data types more powerful, or (b) obfuscate procedural programs using language fe
38.
▲
by
adrianratnapala
7y ago
> ... of organic-multilevel-marketing scam. Is it a scam though? A pyramid scam is self-similar: you sell to people who then expect to sell to people who expect to sell to people etc. I thought Avon, Tupperware etc. had a fixed length c
39.
▲
by
adrianratnapala
7y ago
Try letters on paper?
40.
▲
by
adrianratnapala
7y ago
But as written, the definition permits generating the weird output. Which ignores the other arm of Postel's principle. You could have the format definition forbid these characters; and then in the section about Postel's princ
41.
▲
by
adrianratnapala
7y ago
Ahh OK. So you mean fine-grained selection and routing of log messages. I'd never thought of that as AOP, but I suppose it is. And I suppose AOP frameworks provide the machinery to do it, without the logging subsystem having to rein
42.
▲
by
adrianratnapala
7y ago
> * AOP for logging; ... Can you expand on how this works in practice. Or link to an explanation? (I assume AOP means "Aspect Oriented Programming").
43.
▲
by
adrianratnapala
7y ago
> * any other escape sequence MUST be interpreted as ? (question mark) character. Isn't it better to forbid them? Presumably you are saving the space for further extensions, but this is allowing readers to interpret them as '?
44.
▲
by
adrianratnapala
7y ago
In the Powershell model, I thought things stayed as structured objects in reality, although the UI was ready to render them as text. This seems to be about continuing to use text, but to being disciplined about formatting. If the above cha
45.
▲
by
adrianratnapala
7y ago
And yet it is called zero cost. Not "zero cost along one particular dimension that we won't name and only sometimes matters."
46.
▲
by
adrianratnapala
7y ago
It's amusing how you and alexhutcheson both corrected me in opposite directions. For reasons Alex explains, interrupt handlers have to be really minimal. So you often use them to set state that makes the main loop branch off into th
47.
▲
by
adrianratnapala
7y ago
You can think of it as the reactor pattern. You only have one physical CPU so all you are doing is churning through callback-based event handlers. The callbacks in this case might be the literal interrupt handlers (in which case your dispa
48.
▲
by
adrianratnapala
7y ago
> Interestingly, it's a 5-4 decision, with Kavanaugh writing the decision, joined by the 4 liberal justices. Probably the most unexpected alignment of the current term! It isn't really. It's just the standard partisan sp
49.
▲
by
adrianratnapala
7y ago
How did she break her tail? (I ask this because my own dog has the fastest moving tail I have ever seen, and I hope that is not a danger to her).
50.
▲
by
adrianratnapala
7y ago
Companies don't exist for the public good, that's one reason why they they are private companies. The laws that both support and constrain companies -- and also individuals -- really are supposed to be there for the public good.
51.
▲
by
adrianratnapala
7y ago
> Is open source really more secure? I think the trend now is to believe that closed software that is actively maintained by a well resourced party is more secure than open software that is barely maintained by whoever contributes. Binar
52.
▲
by
adrianratnapala
7y ago
Well simple and dumb generally is good for all engineered things, as long as they aren't so dumb that they can't do their job. This principle applies especially well to boot loaders, because the job of a bootloader is to hand cont
53.
▲
by
adrianratnapala
7y ago
> Ideology was a mobilizing idea in the 20th century but has lost mindshare. Ironic then that it is called the Thucydides trap then, since the ideological lines between Athens and Sparta were very stark indeed.
54.
▲
by
adrianratnapala
7y ago
> The other 10% of the time, the drivers either can't use a GPS, have a car that has issues, are drunk, tired, or just choose to drive recklessly. So, kinda like yellow cabs in New York.
55.
▲
by
adrianratnapala
7y ago
> With different people operating from different mental models of the system. But doesn't this take us full circle. If we start admitting that everyone has a different subjective model, and if we want to deal with this fact, then w
56.
▲
by
adrianratnapala
7y ago
The local parks I where I lived in Germany had apple and plum trees. In spite of the fact that all the fruit came in a short time in autumn, I never saw a fully ripe fruit on the trees, let alone a rotten one fall. Between people and birds
57.
▲
by
adrianratnapala
7y ago
Euclid's five axioms. For one thing we learned to understand "axioms" as something less than self-evidently necessary truths. For another we learned that the original axioms didn't really prove what they were thought to
58.
▲
by
adrianratnapala
7y ago
> Not to make too fine a point about it here, but file handles are perfect matches for RAII / Rust lifetimes, unlike OpenGL textures. Agreed, something like an FD matches RAII very well, but you can open one file multiple times, dup
59.
▲
by
adrianratnapala
7y ago
> ... you end up with some problems because you can only free it with the correct context active, ... I wonder if this is where Rust can actually help. I.e. could the lifetime tracking in the language allow you to construct a library wh
60.
▲
by
adrianratnapala
7y ago
But then it would be surprising if the emergence of a new medium for everyday social interaction doesn't count as "major social/economic issue" that creates just such a wave. So yes, I'd expect the "millenials&
More ›