Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
myfonj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
myfonj
3y ago
Hm, cannot recall this one, but it reminded me of another magical trigger: to make HTML file loaded from local file (or CD-ROM, or whatever non-Internet) one had to pretend that given file was "Saved from (Internet)" with magical
152.
▲
by
myfonj
3y ago
No mention about HTC? .fancy { behavior: url("path/to/pie_files/PIE.htc"); } (It is still online [1]! And even on GitHub [2]!!) [1] http://css3pie.com/ [2] https://github.com
153.
▲
by
myfonj
3y ago
From what I recall from aforementioned incident, I was not able to reliably prove that client app (Eclipse) really used Windows' curl (I would have guessed that such software would have it's own internal stack for network connecti
154.
▲
by
myfonj
3y ago
Speaking of strange Microsoft CURL variants, have you ever faced problem with HTTP2 in practically any network client (for example Eclipse strangely failing all attempts to fetch from new HTTP2-enabled Maven) that could be traced to C
155.
▲
by
myfonj
3y ago
These are (presumably) for things that even user styles are not supposed to be able to "break". Sifting through https://meiert.com/en/blog/user-agent-style-sheets/ shows quite reasonable things such
156.
▲
by
myfonj
3y ago
Well the `!important` is a good example if general misunderstanding of the core basics of the CSS: the cascade. People usually think it means something like "override everything what was declared up until now in a way I don't nee
157.
▲
by
myfonj
3y ago
It is, plus extra segmenting with `=` escaped line breaks [1]: > Lines of Quoted-Printable encoded data must not be longer than 76 characters. To satisfy this requirement without altering the encoded text, soft line breaks may be added a
158.
▲
by
myfonj
3y ago
And it is quite easy to get there the "intuitive" way, especially if you are an avid reader [1]: `git help` lists "common Git commands" and mentions that 'git help -a' and 'git help -g' list ava
159.
▲
by
myfonj
3y ago
Chiming in with tangentially related TIL for Git help (on Windows): git <command> -h is usually what one needs: it prints abbreviated description with available parameters right into terminal. git <command> --help
160.
▲
by
myfonj
3y ago
Have you considered serving actual small transparent image with (private) caching headers set to expire at midnight (and not storing IPs at all)?
161.
▲
by
myfonj
3y ago
Have you considered serving actual small transparent image with caching headers set to expire at midnight?
162.
▲
by
myfonj
3y ago
I think most mobile browsers emit "hover" state whenever you tap / drag / swipe over something in the page. "active" state is even more reliable IMO. But yes, you are right that it is problematic. Quoting MDN p
163.
▲
by
myfonj
3y ago
I think there might be more than ten [1] blind folks using computers out there, most of them not using pointing devices at all or not in a way that would produce "hover". [1] was it base ten, right?
164.
▲
by
myfonj
3y ago
Seems clever and all, but `body:hover` will most probably completely miss all "keyboard-only" users and users with user agents (assistive technologies) that do not use pointer devices. Yes, these are marginal groups perhaps, but
165.
▲
by
myfonj
3y ago
I can subjectively confirm that Firefox feels snappier recently and deeply appreciate and enjoy all improvements. But I have some itching concerns about that methodology with heavy anonymisation and stuff there: Couldn't it be that the
166.
▲
by
myfonj
3y ago
Yup. My last "golfing" take was to use default font-size and fit viewBox accordingly: data:text/html;charset=utf-8,<link rel=icon href='data:image/svg+xml,<svg xmlns="http://www.w3.org&#x
167.
▲
by
myfonj
3y ago
You can make folks test it in their browsers by instructing them to copy and paste dataURI into their URL bar, like: data:text/html,<link rel="icon" href="https://zany.sh/favicon.svg?text=hi"
168.
▲
by
myfonj
3y ago
Interesting, thanks for the pointer. At this moment "Second-Chance Pool" [1] has 9 discrepancies with more than 2 hours difference, 20 hours max. That's pretty much on par with the front page, where max difference is 30 hours
169.
▲
by
myfonj
3y ago
Interesting idea; I'd thought that such merging is quite rare. Still quite a conundrum why to pick the newer date for the human readable "age", and the older date for the timestamp. At this moment I see discrepancies on the
170.
▲
Ask HN: What causes HN post relative age vs. timestamp discrepancy?
1 points
by
myfonj
3y ago
|
4 comments
171.
▲
by
myfonj
3y ago
One related thing I haven't learned from a glance at the pitch and GH: Does the desktop app make direct HTTP requests to target resources? Or are they similarly to web-app proxied through recipeui.com? Plus, is there a way for the web-
172.
▲
by
myfonj
3y ago
There is a native Windows shortcut for Send window to next/previous monitor: Win + Shift + Right/Left arrows. (Windows recently got bunch of keyboard shortcuts, some overridable, some not. Sometimes you can discover them only with
173.
▲
by
myfonj
3y ago
That's strange. From my point of view it you get lots of value in the beginning but there is some kind of cap beyond, that it is hard to get over. I think AHK has really easy onboarding, meaning you can get tremendous low-hanging benef
174.
▲
by
myfonj
3y ago
Yes, Win+<number> is also a gem that almost seems to be deliberately hidden, (like Win+T, Win+B). One thing that helps is to see actual numbers in the taskbar, what, to my knowledge, is currently possible in Windows 10 (only) with thi
175.
▲
by
myfonj
3y ago
Ah, sorry, my bad, it should have been "Escape" instead of ~"Windows key"~. `Alt + Escape`, that is. Thanks for pointing it out. Corrected. (You see, I almost never use this shortcut directly, b/c I only exploit
176.
▲
by
myfonj
3y ago
I like the detail how the very same key (just mostly in combination with meta/windows key) is kinda idiomatic toggle for terminal, what most programmers "live in". I wonder if digital graphic artists happen to launch their s
177.
▲
by
myfonj
3y ago
And maybe some folks could be interested about little known fact that each selector has even a namespace part on the left; the void implicit one having effect depending on presence or absence of `@namespace` prologue in given stylesheet: -
178.
▲
by
myfonj
3y ago
`:not(:first-child)` has specificity 0.1.0 that is some orders higher than 0.0.0 of `* + *` (since `:first-child` is a pseudoclass), so you'd have to adjust anything that you'd need to override it with. Strict equivalent of
179.
▲
by
myfonj
3y ago
Yes, there is a huge space for improvements there, besides sup-par speed, strange filtering and ordering, unintuitive focus management … but at least it is there and has chance to evolve. I'm quite convinced, that even five seconds de
180.
▲
by
myfonj
3y ago
Interestingly, [w3.org Math Double struck] shows example glyph rendering with swapped double stroke stem ("//" + "\" instead of "\\" + "/"). Been looking what the "opf" in the
More ›