Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkrems
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jkrems
5y ago
> I don't know why you're being downvoted. I can answer why _I_ downvoted the comment. It was this part: > [...] it's really surprising to me how many eagerly lap up the angle Apple is pushing without much reflection, e
32.
▲
by
jkrems
6y ago
If `Text` and `SelectableText` exist, I would call that an opt-in. The default is "Text" (not selectable) and a modifier can be applied to opt into using "SelectableText". It would be different if they were called "
33.
▲
by
jkrems
6y ago
Is the goal to get full parity with native text selection? I went to the plasma demo and tried to double/triple click on text and it didn't match what text selection is supposed to do, at least on macOS. Which makes it a bit jarri
34.
▲
by
jkrems
6y ago
> If you can query anything [...] The answer is simple: You can't. GraphQL _in general_ doesn't allow arbitrary queries. It allows arbitrary output field selection. But the filters are very explicit. It's more "pre-ag
35.
▲
by
jkrems
6y ago
The problem is that the substitution isn't always posts from friends. It could be posts from websites that don't qualify as reliable news sources. That doesn't have to be true but I don't think it's a clear win for
36.
▲
by
jkrems
6y ago
> As much as I respect Daniel for his work on curl, this claim is simply bullshit. He was talking about "our" in the context of curl, so clearly talking about curl itself. Claiming that the claim is bullshit based on a blog pos
37.
▲
by
jkrems
6y ago
Nice reminder that different kinds of race conditions exist, even without shared mutable data! One thing I wish the article mentioned: In the given example, another solution would have been to make the balance change safe. E.g. `addBalance(
38.
▲
by
jkrems
6y ago
> If give someone enough constraints almost any patent will seem obvious. That seems like a strawperson. The parent said that just given the very rough idea or (I would add) even just the term "1 click buy", somebody could have
39.
▲
by
jkrems
6y ago
> No. "Rejecting democracy," a position held by myriad political currents Terrorism is subjective relative to the system in power. And I said "linked to" not "is". Having the opinion isn't terrorism. Bu
40.
▲
by
jkrems
6y ago
> the way the media is hellbent on trying to inextricably link Trump support with terrorism. Trump has moved himself outside of the system of American democracy and to this day refuses to acknowledge a democratic election result[1]. So y
41.
▲
by
jkrems
6y ago
> And there's a never-ending push to make experiences more photorealistic, to make simulator even better. From that I can only conclude that people want to get as close to the experience of perfoming the prevented act as possible. I
42.
▲
by
jkrems
6y ago
Ryan definitely deserves credit for the initial development of node.js. But that phrasing makes it sound like he moved from node to deno - which isn't the case. He moved from node to other projects. Over the total lifetime of node, Rya
43.
▲
by
jkrems
6y ago
AFAIK HTTP/3 still only has header compression and does nothing for cross-resource compression. So I'm not sure how it relates to this? I can see ways to model this kind of behavior on top of individual requests but it'd like
44.
▲
by
jkrems
6y ago
Disclaimer: I work on asset bundling at Google, but unrelated to Chrome's work on web bundles. One problem with asset distribution is that bundling (good transfer compression, efficient full download) and fine-grained loading are funda
45.
▲
by
jkrems
6y ago
> They still have not come clean for their initial mask guidelines that was blatantly wrong. I'm not sure I follow here - what is missing on that front? They have explained why the mask recommendation changed and how they got to the
46.
▲
by
jkrems
6y ago
> A mobile phone is a camera, gps, web browser, telephone, messaging, food delivery, music listening, video watching, taxi calling, banking tool etc etc etc device. I'm sure you know that you can do most if not all of those also fro
47.
▲
by
jkrems
6y ago
(Disclaimer: Work at Google but not affiliated with our security team or with Chrome.) Those URLs have to actually contain the name of the brand in the thing that is being registered with the domain registrar. Which is a _lot_ easier to fin
48.
▲
by
jkrems
6y ago
I'm not sure that's really relevant here because esm is just one of the transpilers for module syntax, it's not running native modules at all. The same can be achieved with the babel CLI or TSC etc. and the right configuratio
49.
▲
by
jkrems
6y ago
You can definitely continue to use transpilers like esm or babel to continue using CommonJS behind the scenes while writing module syntax. But it's not quite the same as using native modules, as implemented by JavaScript engines.
50.
▲
by
jkrems
6y ago
Another similar option is `@babel/cli` which also allows using module syntax with require-like semantics. It's a bit more widely supported in other tools which can be an advantage.
51.
▲
by
jkrems
6y ago
> On the other hand, ESM CAN have unnamed "default" export and CAN have arbitrary number of named exports. To nitpick on the nitpick: ESM only has named exports. It just treats the export named "default" differently
52.
▲
by
jkrems
6y ago
You cannot write a CJS shim for any library because the CJS shim cannot expose any ESM file with a synchronous API because importing ESM always returns a Promise. You can - and people widely do - compile a CJS version of your library from
53.
▲
by
jkrems
6y ago
That would still mean that Apple would need to have a remote way of scanning every device currently connected to your account (even it's offline..?) to see if you have the app installed anywhere. It's trivial if the app can only e
54.
▲
by
jkrems
6y ago
Yes - and? If those bad actors are screaming down every meaningful discussion in the forum you moderate (and supposedly care about), all the people you'd want to stick around will leave. If moderators would care little enough about the
55.
▲
by
jkrems
6y ago
> After a decade of experience working on Node.JS and growing the community, Dahl decided to create an alternative Javascript (and Typescript) runtime in mid/late 2018 called Deno which is now v1.0. Just to nit-pick: Ryan Dahl had s
56.
▲
by
jkrems
6y ago
Pure speculation but: "Zeit" is a super common German word. So if you want to protect your brand internationally but there's a major newspaper in one of the biggest economies that is also called exactly "Zeit" - t
57.
▲
by
jkrems
7y ago
I've seen a lot of active open source users talk positively about the new design. I personally disabled email notifications completely and wouldn't want to go back. Having a clear separation between unread, read, and archived is a
58.
▲
by
jkrems
7y ago
> Insistence on using number makes me suspect they require sanitation to be done client-side. Why when they explicitly state that it was done for getting the proper input UX on mobile? The whole article is about finding a good UX for inp
59.
▲
by
jkrems
7y ago
What makes you think they don't? But they still want good UX for entering the data.
60.
▲
JavaScript: Classic Scripts vs. Modules vs. CommonJS
(gist.github.com)
1 points
by
jkrems
7y ago
|
0 comments
More ›