Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brlewis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
241.
▲
by
brlewis
6y ago
Yeah LSP is taking over. I don't think category 1.1 is going to last.
242.
▲
by
brlewis
6y ago
Why would one check if the new syntax is available rather than just use browserslist? https://github.com/browserslist/browserslist-example#babel
243.
▲
by
brlewis
6y ago
Yeah two of my daughters are very happy with the cameras on their Pixel 3As, enough that they're willing to put up with the badly cracked screens.
244.
▲
by
brlewis
6y ago
Ideally, JS would have been based on S expressions and consistency would naturally flow from the syntax. But that ship has sailed, and occasionally it makes sense to add a new infix operator for succinctness. https://github.com&#
245.
▲
by
brlewis
6y ago
Yes, TypeScript adds features from the ECMAScript standard. Sometimes JS implementations add them around the same time TypeScript adds them. But sometimes TS adds them much earlier. Having been using TS, it surprised me in this article that
246.
▲
by
brlewis
6y ago
> It allows people to write JavaScript following whatever approach suits them This comment really looks like it's a reply to some article other than this one. Realistically, do you think JS programmers are going to form two camps?
247.
▲
by
brlewis
6y ago
To even have hope of getting people to overcome confirmation bias and look at evidence, we need concise and convenient ways of presenting evidence. Fact checking is too much of a chore the way things are now.
248.
▲
by
brlewis
6y ago
Outside of physical force, the way to make someone agree to what you have in mind is to show them how it ties into what they want.
249.
▲
by
brlewis
6y ago
> Using editors like vim wouldn't work Hi. Fellow emacs enthusiast here. We can evangelize emacs tide mode and slander vim on other TypeScript articles, but I think it's best not to do so on this article, because it specificall
250.
▲
by
brlewis
6y ago
People derive value from a higher education beyond just prestige. A 100% prestige item like a medal is different.
251.
▲
by
brlewis
6y ago
When a school rejects qualified applicants because there are too many, doesn't that indicate a shortage of that kind of school?
252.
▲
by
brlewis
6y ago
Is the well-documented feature the dependency array or the ability to suppress linter rules? The note at the bottom of the documentation section for the dependency array recommends using the linter rule: https://reactjs.org/
253.
▲
by
brlewis
6y ago
Are you saying that writing code in a way that defends against future mistakes is a waste of time? It's hard to see the content of your comment through the sarcasm.
254.
▲
by
brlewis
6y ago
There is no harm in adding something to the dependency array that you don't expect to ever change. The linter is your friend; make its job easier.
255.
▲
by
brlewis
6y ago
That runs the risk of someone less experienced introducing a bug later when a new dependency is introduced. I think it's better to simply do whatever the linter says.
256.
▲
by
brlewis
6y ago
Yes. The author should replace "This is dangerous" with "This is a tiny bit sub-optimal" in the first example. EDIT: "This is dangerous" is also the wrong label for the 2nd example. Should be "This is not
257.
▲
by
brlewis
6y ago
A full rationale is a nice ideal, but if you don't have time to research and compose a full rationale, silence is not always the best alternative.
258.
▲
by
brlewis
6y ago
If nobody's going to answer you, your position wins regardless.
259.
▲
by
brlewis
6y ago
The extension needs to be installed by both the creator and the receiver of the URL with the original intended text encoded into it?
260.
▲
by
brlewis
6y ago
Why is expressing disbelief less furthering of discussion than citation-free expression of belief?
261.
▲
by
brlewis
6y ago
> There is a huge asymmetry between the effort to make an outrageous claim and that to refute one. Asking "Got evidence for that?" is sufficient refutation for baseless claims.
262.
▲
by
brlewis
6y ago
How is it different from this bookmarklet? https://twitter.com/austegard/status/1228150401427529728
263.
▲
by
brlewis
6y ago
This article is a load of malarkey. Being grumpy and bad-tempered are predispositions toward having negative emotions in more situations than most people would. There are two classes of evidence in the article. The first is evidence that ne
264.
▲
by
brlewis
6y ago
> If someone invites you over for dinner in the US you’ll often hear “that meal was amazing!” even if it wasn’t. That’s just polite behavior You aren't saying it's impolite so say anything less, right? I've lived in the US
265.
▲
by
brlewis
6y ago
Did the dynamic typing evangelist eventually agree to noImplicitAny?
266.
▲
by
brlewis
6y ago
"As a rule, any mention of religion on an online forum degenerates into a religious argument. Why? Why does this happen with religion and not with Javascript or baking or other topics people talk about on forums?" I want to be on
267.
▲
by
brlewis
6y ago
This is analogous to the principle of composition over inheritance. Using is-a relationships (inheritance) is concise and convenient, but sometimes leads to wrong models of the world. It's safer to use has-a relationships (composition)
268.
▲
by
brlewis
6y ago
It would be mildly impressive if a manufacturer made a fake cover with a switch to detect when it's "closed" and make the main camera stream filtered to look like the cover is real, while having a 2nd back-door unfiltered str
269.
▲
by
brlewis
6y ago
> you can't find bugs that you can't think of Rather, you won't find bugs that you choose not to think of because you've let the "100%" number lull you into complacency, even though you know it's 10
270.
▲
by
brlewis
6y ago
As to the first question -- I haven't done it, but have you tried materialized views? EDIT: You've probably already tried that if you're following the docs, since they recommend it -- https://www.postgresql.org
More ›