Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aidos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
481.
▲
by
aidos
4y ago
Amen to that!
482.
▲
by
aidos
4y ago
We had this middle ground of returning html fragments and updating subsections of the page. For posting a comment, for example. There were plenty of sites doing that in the mid 2000s.
483.
▲
by
aidos
4y ago
Gotcha. When thinking of embedded fonts, my mind goes straight to totally embedded with data-uris (which would have worked around OPs issue above).
484.
▲
by
aidos
4y ago
Interesting. I was thinking that this was going to be a crazy amount of layout engine work, but now I look a little closer it appears the layout work is farmed out to yoga [0] (not trying to take away anything from the effort here). So th
485.
▲
by
aidos
4y ago
That didn't sound right to me, and I've just checked that the fonts are loading for me. I wonder if you were embedding them in a way that didn't work? EDIT: here's how I'm doing the embedding <style type=&q
486.
▲
by
aidos
4y ago
PDF has a set of 14 standard fonts that are expected to be available (or an equivalent font) for consistent rendering across platforms. Of course they support embedding too, so you can use any font (and I think embedding is required to be c
487.
▲
by
aidos
4y ago
In the other direction, it was reading about leap that got me in to vim in the first place. I loved the idea of being able to just hop from one bit of text on your system to another. A couple of decades later, that’s exactly what I do in ne
488.
▲
by
aidos
4y ago
Oh, I didn’t know that shift reverts the mouse behaviour. I disable mouse because I like to split my normal Mac copy paste etc from what’s going on in vim but I might give that a shot.
489.
▲
by
aidos
4y ago
And further, insert … (select …)
490.
▲
by
aidos
4y ago
Well, like it or not that stuff is a) here to stay and b) familiar for people working with this tooling. Personally I find that graphics part pretty easy to read. For comparison here's a sample of a graphics stream from a PDF: Q
491.
▲
by
aidos
4y ago
M (MoveTo) and Q (Quadratic Bézier Curve) are part of the svg spec. They’re drawing commands. I’d agree that pn seems a little obtuse, but I guess I can see what it’s doing. Having worked with svg a lot (we build something sort of in the ca
492.
▲
by
aidos
4y ago
I had a brief foray into electronics a few years ago hacking about with making a really crummy arduino synth. Part of that involved wiring it up to the midi output of a controller. The concept of an optocoupler is just beautiful - isolate t
493.
▲
by
aidos
4y ago
For me that's the issue with this whole example; it kinda misses the woods for the trees. # not interesting (also, use stdlib instead) def extract_url_params(url: str) -> dict[str, str]: params = url.split('?&
494.
▲
by
aidos
4y ago
So good that it took this article to remind me that it’s there for me everyday, doing it’s thing perfectly, staying out of my way.
495.
▲
by
aidos
4y ago
This looks brilliant. I like that it’s kept light as a concept - feels like you can just sprinkle it over your existing tasks without getting bogged down in complex configuration. We have a couple of hand rolled variants of this that run in
496.
▲
by
aidos
4y ago
I mean, I don’t like it either and I’d rather we didn’t have to take personal measures against this stuff. But I still use a password manager to protect myself online. I also use different profiles to split my work and home digital lives.
497.
▲
by
aidos
4y ago
To be fair, you should use different profiles for your work and personal digital lives. And if someone is likely to use an open source solution, they’re also unlikely to be influenced to switch to a paid product based on an ad instead.
498.
▲
by
aidos
4y ago
Nice work. Almost tempts me to try it. I wonder if you could bundle it as a language server to make integrating it into editor workflows easy. It’s “basically” just the completion capability, right? Or maybe there’s something else to the in
499.
▲
by
aidos
4y ago
Thanks. That makes a lot of sense. Can definitely see the utility in that.
500.
▲
by
aidos
4y ago
I’m not sure that discussing it on the previous thread provides much value. At least a new post here notifies the community that there’s an issue. Sure, if it’s a daily occurrence, then it’s a little noisy, but it’s not a big deal.
501.
▲
by
aidos
4y ago
I'm seeing it too. That'd be lunchtime then.
502.
▲
by
aidos
4y ago
Nice. Not dissimilar from what jpeg2000 does (from memory - correct me if I’m wrong!). They use the previous pixel values in order to “guess” the next value and then store the delta, which tends to be a smaller number on average, giving bet
503.
▲
by
aidos
4y ago
This conversation has reminded me of Larry Huan’s “efficient carpenter”. There’s a comment on one of these videos along the lines of “before carpenters had nail guns slowing them down” that made me chuckle. Watching these guys setting and d
504.
▲
by
aidos
4y ago
It’s funny reading that comment from the other side of the fence. I’ve not looked closely at Supabase so I have no real opinion on it, but hearing someone say that you need to know Postgres to work with it is reassuring to me. Edit: don’t
505.
▲
by
aidos
4y ago
Oh that’s nice.
506.
▲
by
aidos
4y ago
Last time I posted on an HN thread about Tailscale someone else mentioned Tailscale mobile battery use issues on android. I’m currently travelling and am staying in an area with terrible internet. Can now confirm that, in that situation, Ta
507.
▲
by
aidos
4y ago
What’s port 433? You mean 443?
508.
▲
by
aidos
4y ago
Judging by the downvotes, my suggestion isn't great, though it does seem a tiny bit better. I was under the impression that 1password uses secure enclave on the Mac and that it only decrypts the key as it's needed. I guess depen
509.
▲
by
aidos
4y ago
It’s horrible. Especially if you’re doing screen sharing / scribbling on screens all day. “The zoom dance” is my term for people constantly pushing those stupid little floating windows about. We switched to zoom though because the perf
510.
▲
by
aidos
4y ago
Though you should keep your private keys protected by a pass phrase. Top tip for people that use 1Password: I’ve discovered recently that you can run it as an ssh agent. That way your keys never leave the 1password app.
More ›