Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MrJohz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
241.
▲
by
MrJohz
1y ago
In practice, this is almost entirely going to be used for internal links within a domain - you are not going to want to prerender domains you don't control, because you can't be sure they'll be prerender-safe. And I suspect m
242.
▲
by
MrJohz
1y ago
Which could still cause problems if we set the epoch time to ~570 billion years before the Big Bang.
243.
▲
by
MrJohz
1y ago
When you're done, I'd love to see it as well, and I'm sure others would - yours was my exact thought when I got to that part!
244.
▲
by
MrJohz
1y ago
I meant "now" in that sentence to refer to the internet era in general, in comparison with other technological leaps. But still, these protections are usually very limited, and fairly easy to circumvent. Most people I know might
245.
▲
by
MrJohz
1y ago
I don't think it's possible, though. Or at least, I think it's harder now than ever before. The internet isn't completely decentralised, but it's at least spread out enough that it's seriously difficult to shut
246.
▲
by
MrJohz
1y ago
What do you mean? It's possible to apply attributes to any element in an arbitrary state: `hover:bg-black` would give an element a black background on hover. It's also apparently possible to apply attributes based on whether a sta
247.
▲
by
MrJohz
1y ago
Based on other replies, I believe they understood CSS well enough, but didn't understand the exact behaviour of the `group` class in Tailwind. Given neither of your comments seem to have made much sense given the context of the discus
248.
▲
by
MrJohz
1y ago
No, but `group` doesn't affect the parent in Tailwind. You put `group` in the parent to mark it, and then use the `group/...` syntax to apply different properties to the child, depending on the different states of the parent. This
249.
▲
by
MrJohz
1y ago
:has doesn't require JS, I think the previous poster was just confused about which selector `group` is equivalent to.
250.
▲
by
MrJohz
1y ago
On the other hand, it is now easier than ever to make copies of materials that we see. Famously, the internet never forgets, and even the smallest mistakes or slip-ups are retained in perpetuity, as long as someone is interested enough in k
251.
▲
by
MrJohz
1y ago
It's not even :has, it's just how child selectors in CSS have always worked. // Not actually needed, here // for competition .group {} // Child selector .group:hover group\/
252.
▲
by
MrJohz
1y ago
The same was true of the printing press, though, at least in comparison to the communication of the previous era. It enabled lies and propaganda to be spread far quicker than ever before, and by people of every rank in society, with (compar
253.
▲
by
MrJohz
1y ago
> Information is proliferating and is more accessible, but a huge amount of that information is lies and manipulation I'm not sure that really counts as knowledge. I don't think that's any different to any other period of
254.
▲
by
MrJohz
1y ago
JJ has a concept of mutable and immutable changes. Typically, mutable changes are ones that you're currently working on locally. If you create a branch locally and push to it, then the changes on that branch will also be considered mut
255.
▲
by
MrJohz
1y ago
If you leave the WIP head change blank, i.e. don't give it a description at all, then JJ will block you from pushing it unless you pass a specific flag, which is useful for sanity checking this sort of stuff. You might be able to confi
256.
▲
by
MrJohz
1y ago
And yet in the nearly thirty years since he said that, the browser has come to dominate how people interact with UIs. Both in terms of sheer popularity (not only do we have complex applications on the web, but we also package complex appli
257.
▲
by
MrJohz
1y ago
The homepage for my blog is apparently 9.95kB, which includes all styles, some JS, and the content. There is an additional 22kB font file that breaks the rule, but when I first designed the site I used built-in browser fonts only, and it l
258.
▲
by
MrJohz
1y ago
Depending on who's visiting your site and how often, the rest probably isn't in cache though. If your site is a product landing page or a small blog or something else that people are rarely going to repeatedly visit, then it'
259.
▲
by
MrJohz
1y ago
> It'd be different if TypeScript announced "TypeScript will remove these features to work around Node's limitation — compatibility is more important", but they haven't. They have announced a config option that o
260.
▲
by
MrJohz
1y ago
It's a case of Pareto. Parsing the git file format is relatively simple, but handling all the weird states a Git repo can be in and doing the correct things to those files in each state is a lot harder. And then adding the network prot
261.
▲
by
MrJohz
1y ago
Sure you can. An `async` function in Javascript is essentially a completely normal function that returns a promise. The `async`/`await` syntax is a convenient syntax sugar for working with promises, but the issue would still exist if
262.
▲
by
MrJohz
1y ago
I've not done much with GraphQL myself, but a lot of my colleagues have and have all sworn off it except in very specific circumstances. My impression is that it's far too flexible. Connecting it up to a database means you're
263.
▲
by
MrJohz
1y ago
Caching is only relevant if you think your site is going to be visited by the same person often enough that the cache is worthwhile. If the assets are small that HTTP overhead is non-negligible, and if your CSS would get few enough cache hi
264.
▲
by
MrJohz
1y ago
You are talking about lending, but I'm not really sure why because it's not that relevant to the case. If you photocopy a single page from a library book, this is often (but not always) fair use because you're copying only a
265.
▲
by
MrJohz
1y ago
Thanks for the clarification!
266.
▲
by
MrJohz
1y ago
I cannot point to the case, because my entire knowledge about the legality of this stuff comes from vaguely following the articles about this case. But feel free to read the judgement in this case where it will be spelled out in much more d
267.
▲
by
MrJohz
1y ago
These are two separate actions that Anthropic did: * They downloaded a massive online library of pirated books that someone else was distributing illegally. This was not fair use. * They then digitised a bunch of books that they physically
268.
▲
by
MrJohz
1y ago
If decisions are being made about the code or implementation, then the person working on that code should be in that meeting, surely. Otherwise there's no point making that decision.
269.
▲
by
MrJohz
1y ago
This might not be quite what the previous poster meant, but in my experience it's often not that the developer missed a meeting and now doesn't know some critical piece of information. Rather, it's often that the developer ha
270.
▲
by
MrJohz
1y ago
As the author, I agree! I did originally have space for an example near the start, but I ended up taking it out because I couldn't think of a good example that wasn't deeply contrived, and I'm currently on parental leave so
More ›