Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MatmaRex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
MatmaRex
3y ago
No, jQuery falls back to Sizzle when a selector is not supported by native querySelector, either due to using jQuery-specific extensions, or due to lacking browser support.
32.
▲
by
MatmaRex
3y ago
The YouTube mobile website is intentionally crippled. For example, the video refuses to play in a video popout, even though the same browser feature works for me on other mobile websites and on desktop YouTube. Personally I just avoid brows
33.
▲
by
MatmaRex
4y ago
> As C89 was taking shape, the neurodivergent notion of a "zero-length object" was making the rounds I'm surprised that the authors decided to, and were able to, slip in this little euphemism.
34.
▲
by
MatmaRex
4y ago
Python's defaultdict also behaves like this, inserting the nonexistent entry into the dict: from collections import defaultdict m = defaultdict(int) m["nonexistent"] len(m) # => 1 There are examples of
35.
▲
by
MatmaRex
4y ago
I use Notepad2. It’s a reasonably powerful editor like Notepad++ (in fact it uses the same text editing library), but all the extra features can be hidden or disabled until it looks just like stock Notepad.
36.
▲
by
MatmaRex
4y ago
It's because you have an ad-blocker of some sort enabled. They inject stuff into pages.
37.
▲
by
MatmaRex
4y ago
You don't, but instead you can jump to an arbitrary place in the results. For example, you could show results starting from the letter P, or show results starting from 2022-04-02.
38.
▲
by
MatmaRex
4y ago
Yeah, or Wikipedia. https://en.wikipedia.org/w/index.php?title=Category:Living_p...
39.
▲
by
MatmaRex
4y ago
Consider reading the linked post, the author includes screenshots identical to yours and explains that that is not what they mean.
40.
▲
by
MatmaRex
4y ago
That is a sensible way to think about it, and it would be great if the language worked that way, but unfortunately it does not. Statements in JavaScript are not separated by line breaks. Here is an example to illustrate: console.log(&
41.
▲
by
MatmaRex
5y ago
Oh, it works, it's just cheekier than you think - it won't refresh the page if the URL includes a hash/fragment (such as after you clicked one of the "next" links while browsing comments here).
42.
▲
by
MatmaRex
5y ago
There are some getters and setters in the web APIs with cheeky side effects. Presumably this one causes the canvas to be re-created, or something. Here's another good one, try it in your browser console: location.href = location.
43.
▲
by
MatmaRex
5y ago
Your question is answered in the article: > Given the code we've found that depends on NULL argv, I think we likely can't make the change outright, so we're down this weird rabbit hole of trying to reject what we can and c
44.
▲
by
MatmaRex
5y ago
It totally is. I used to write custom CSS for IE to make drop shadows work (it didn't support the standard syntax). Now I write custom CSS for Safari to make drop shadows work (there's a bug where if you remove the node, its shado
45.
▲
by
MatmaRex
5y ago
You should assume that no one read the article. I certainly did not before coming to read the comments (although I have enough restraint to not comment myself on the substance of it when I do that). For better or worse, the title and the li
46.
▲
by
MatmaRex
5y ago
Microsoft's Surface laptops have 3:2 screens, which is just as good or even better.
47.
▲
by
MatmaRex
5y ago
It seems to me that the English poem is indeed Kandel's original. There are very few similarities to the Polish version, other than the general theme. I found Lem's poem here: http://www.matematyka.wroc.pl/book
48.
▲
by
MatmaRex
5y ago
Well, I don't know how to put it into strings.xml specifically, but there are localisation systems that handle it without much fuss. It requires a bit more effort from developers and translators, but it's not that hard in concept.
49.
▲
by
MatmaRex
5y ago
Surprisingly, there is a toggle for this in [hamburger menu] → Settings, or directly here: https://en.m.wikipedia.org/wiki/Special:MobileOptions (The toggle only appears on small devices, as on larger devices there is
50.
▲
by
MatmaRex
5y ago
The document linked here is not a DMCA notice. It doesn't even mention DMCA.
51.
▲
by
MatmaRex
5y ago
Wikipedia's mobile site was originally running completely separate software ( https://www.mediawiki.org/wiki/Wikimedia_Mobile_engineering/... ). My guess is that it was easier to set up that way at the time, an
52.
▲
by
MatmaRex
5y ago
Most of the non-sketchy reasons are related to iOS Safari being crippled. For example, I worked on a rich text editor, and we wanted to put a bar with text formatting tools above the touch keyboard. This is not possible in the browser: your
53.
▲
by
MatmaRex
5y ago
Wikimedia Foundation has sponsored Phabricator development, e.g. https://phabricator.wikimedia.org/phame/post/view/9/sponsore... My impression is that the developers (or perhaps the remaining single deve
54.
▲
by
MatmaRex
5y ago
That's called plurale tantum, and it appears in many European languages, including German.
55.
▲
by
MatmaRex
5y ago
(2001)
56.
▲
by
MatmaRex
6y ago
Please have a look at the browser lists linked in the parent post again. SVG enjoys better browser support than the web fonts being discussed here. I am also wondering which old browsers you're talking about.
57.
▲
by
MatmaRex
6y ago
> 4k at 21.5" Does that exist? I have never seek a 4k (or better) display smaller than 24", and I'd love to buy one.
58.
▲
by
MatmaRex
6y ago
It was not possible 2 decades ago; :checked selector was implemented in IE 9.
59.
▲
by
MatmaRex
6y ago
There are different "epsilon" constants in different languages that mean different things. In C and C++, FLT_EPSILON is "Difference between 1 and the least value greater than 1 that is representable." ( http://
60.
▲
by
MatmaRex
6y ago
Yeah, that's true. We also always use the RETURN_DOM_FRAGMENT / RETURN_DOM options, which avoids the issue according to the article (I don't think we serialize/reparse the output anywhere ourselves). And also, we forbid
More ›