Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eyelidlessness
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
eyelidlessness
2y ago
It’s great phrasing, if you’re filtering for people who enjoy solving problems . Many of my favorite parts of software development are the parts I curse while they’re challenging (if they’re challenging for good reason, or even just for am
92.
▲
by
eyelidlessness
2y ago
The opinion question will probably tend to weed out good candidates too, however. Interviewers and interviewees being human and all, it can over-emphasize superficial disagreements, where those differences of opinion may actually be valuabl
93.
▲
by
eyelidlessness
2y ago
That sounds like a reasonable assumption, but probably not strictly correct.
94.
▲
by
eyelidlessness
2y ago
They don’t follow it incorrectly either. They just monotonically increase the decimal version for every non-patch release. They do tend to consolidate more disruptive changes to .0 and .5 though.
95.
▲
by
eyelidlessness
2y ago
You can specify specific values in TypeScript types already. And you can achieve the effect of this specific type with Exclude over a type parameter already. This is expanding on concepts already in wide use, in a widely used type system.
96.
▲
by
eyelidlessness
2y ago
I can’t speak to Go, but I encounter this attitude in other languages where I have more experience. In one particular case, TypeScript, I have quite a bit of experience “shoehorning” FP to very good results. I find the attitude tiresome. Su
97.
▲
by
eyelidlessness
2y ago
Is it though? In a hypothetical JS with the possibility of, say, “decoloring” async functions—e.g. by optionally blocking on their resolved return value—the situation that function coloring helps… ceases to exist as a situation in need of h
98.
▲
by
eyelidlessness
2y ago
Well, yes and no. Yes: because the language has distinct semantics for asynchrony which fundamentally* cannot be made synchronous, it is good that the language also makes that fundamental inability explicit, and inviolable. No: the above re
99.
▲
by
eyelidlessness
2y ago
This. Plus, the cascading effect isn’t necessarily just difficult to account for, sometimes it makes integration effectively impossible. As an example, a project I work on provides functionality implementing arbitrary computation graphs,
100.
▲
by
eyelidlessness
2y ago
Surely if you’ve seen any non-trivial amount of code, you have seen pure FP applied piecemeal even if not broadly. A single referentially transparent function is pure FP , even if it’s ultimately called by the most grotesque stateful madne
101.
▲
by
eyelidlessness
2y ago
I think more people grasp functional programming all the time, or at least the most salient detail: referential transparency. It’s easy to show the benefits in the small, without getting heavy on academics: pure functions are easier to test
102.
▲
by
eyelidlessness
2y ago
https://jsfuck.com/
103.
▲
by
eyelidlessness
2y ago
In terms of style isolation, the answer is very much “it depends”. And it depends as much on the nature of what the component does, as the kind of isolation you want to achieve. - Namespace isolation. Example: you have different components
104.
▲
by
eyelidlessness
2y ago
In hindsight, I wish I’d included the disclaimer that I have creative pursuits (of the ineffable variety) which leverage creative tools in the more literal sense (not AI, not purely random either). I don’t mean to disparage the entire cla
105.
▲
by
eyelidlessness
2y ago
Sure, but so can pure randomness, for the same reason. It is creative in the literal sense, but not in the ineffable sense that humans tend to describe in humans.
106.
▲
by
eyelidlessness
2y ago
I’m definitely not a macOS developer, but I’ve been a Mac user longer than most (back when it was called “system”). What makes a “Mac app” feel like one has always been a constant evolution. Even in what I’d nostalgically consider the highe
107.
▲
by
eyelidlessness
2y ago
The critique was that the existing abstractions address the same set of problems as do the newly introduced abstractions. You’ve said that the existing abstractions are bad, as an invalidation of that critique. It is perfectly reasonable to
108.
▲
by
eyelidlessness
2y ago
This is such a weirdly contrarian take. You’re basically saying that everything in context is terrible, and somehow at the same time, on the same basis, that it’s wrong to critique anything because everything is terrible. That’s certainly
109.
▲
by
eyelidlessness
2y ago
On the other hand, OP asked a question and you seem to be the one policing language in response.
110.
▲
by
eyelidlessness
2y ago
The rule defines it tautologically. Which is sufficiently unambiguous for its purpose!
111.
▲
by
eyelidlessness
2y ago
> If the content really is a table, then it is very hard to imagine how making an entire row into a link could be meaningful. There are many “skin on a database” type use cases where it can be valuable to present information that’s both
112.
▲
by
eyelidlessness
2y ago
This definitely seems like a more meaningful distinction to me. It’s also closer to the mental model I had coming into the discussion, FWIW. And I think it makes the collection/container terminology distinction sharper too. Depending o
113.
▲
by
eyelidlessness
2y ago
I’m not well versed enough on the subject to know if there’s important nuance here that I’m missing… but that doesn’t sound like a contradiction to me. That’s effectively a map with O(n) access, right? I think I would more generally refer t
114.
▲
by
eyelidlessness
2y ago
Also worth mentioning in terms of mixing functional/imperative techniques: it can be very helpful to use languages (and frameworks, libraries, interfaces) which are functional-first/-by default, not necessarily pure but which prov
115.
▲
by
eyelidlessness
2y ago
You’re not wrong. But only because Democrats are terrible at messaging (and seem allergic to getting better at it). “We’ll get you needlessly dead for our own power” isn’t exactly a popular policy position if someone is willing to call it
116.
▲
by
eyelidlessness
2y ago
Software (OS, browser, native apps, web apps, …) should make it easier to use plain text for both read/write clipboard operations. And probably should make it easier to prefer doing that. I know that’s a lot more words to say a similar
117.
▲
by
eyelidlessness
2y ago
In the past, I had all sorts of advice I could give you to feel/be more productive . Now, having experienced severe burnout that lasted several years —that still affects me, and may do for the rest of my life— My advice is to listen
118.
▲
by
eyelidlessness
2y ago
One thing I don’t see mentioned yet is that efficiency isn’t the only reason multiple queries can be problematic. There’s also consistency. This might not matter for many SQLite use cases, or in general for blocking single-reader calls. But
119.
▲
by
eyelidlessness
2y ago
> Does this mean I will no longer have to suffer with so many sites only offering relative times in lists without even hover for absolute date & time? Why would it mean that? It seems tangentially related at best. The sites you’re co
120.
▲
by
eyelidlessness
2y ago
It’s stage 3, and they offer production-ready polyfills. For a project I work on, that’s a reasonable enough approximation of “ready”. Your project needs may vary. But it should be stable enough to use now with a userland implementation if
More ›