Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pbowyer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
361.
▲
by
pbowyer
6y ago
I've spent a lot of my career updating/fixing/replacing aging PHP apps, so here are some pointers: 0. Ignore PHP8 for now. There's much more community support for PHP7, so fix it up to work on PHP 7.4 first. 1. My first
362.
▲
by
pbowyer
6y ago
Here's the register with email link: https://auth.juliahub.com/register.html
363.
▲
by
pbowyer
6y ago
This. I was pitching Roam-like software in 2005. No interest at all. Now there's dozens of them talking as if graphs and relationships in (personal) knowledge management is new. It's hard not to feel bitter.
364.
▲
by
pbowyer
6y ago
Spot on. I've no doubt that many sites will measure the trade-offs to reach 100 and find it reduces the metrics they care about. A quick examination of the sites on https://www.11ty.dev/speedlify/ suggest there&#x
365.
▲
by
pbowyer
6y ago
I think the other thing is I find it hard to remember what the core web vitals mean, and to relate them to what's going on. When we used to measure TTFB, DomContentLoaded and page fully loaded, I understood what those meant and could r
366.
▲
by
pbowyer
6y ago
I apologise I'm going straight to Least helpful, because I've been trying to perfect scores* so these are fresh in my mind. LCP. Oh boy, it's hard to track down what will make a difference. Is it the font, the CSS sizing of t
367.
▲
by
pbowyer
6y ago
> This is one of the reasons we started maintaining what is essentially a WordPress-for-enterprise distro, with a mix of first- and third-party code. Is this available publicly? Most of my work these days is putting right WordPress sites
368.
▲
by
pbowyer
6y ago
The closest I can think of is Biscottes / Zwieback / UK supermarket "French Toast"
369.
▲
by
pbowyer
6y ago
> There's a learning curve. It only works when the `@jit(nopython=True)` doesn't reject compilation. Is there a way to get it to tell you when it rejects compilation? I don't recall one at the time (this was ~4 years ago)
370.
▲
by
pbowyer
6y ago
I have no clue where the rhyming future is headed. Anyone solved this riddle?
371.
▲
by
pbowyer
6y ago
> We got numba, which seems to work automagically in the official demo snippets and zilch in your own. 'That's because you're using them wrong', the smart people tell you on stackoverflow. That's my experience. I
372.
▲
by
pbowyer
6y ago
Your comment made me laugh out loud. It's so true, and even worse in the regions than in London. As with most things in the UK, price comes before quality. Sainsburys, who used to be my "Thank God there's an okay sandwich&quo
373.
▲
by
pbowyer
6y ago
Thank you for the golfed version - tested and works. And does everything I want it to (preload the page, what more is needed?)
374.
▲
by
pbowyer
6y ago
But only in a "limited and specific" way, so that's okay [UK in-joke] At least we're not the only country wanting to violate international agreements at present
375.
▲
by
pbowyer
6y ago
> The only "wrong" answer to these question was when someone would answer YES to the second question after clearly answering something completely different to the first one. For example, if someone would say travel the world to
376.
▲
Why is the best attribute syntax for PHP
(theodorejb.me)
1 points
by
pbowyer
6y ago
|
0 comments
377.
▲
by
pbowyer
6y ago
I did my best and I've put images & info @ https://twitter.com/peterbowyer/status/1294181276061241344 .
378.
▲
by
pbowyer
6y ago
There's no way to tell if over-subscribed AFAIK. The VM is with UpCloud as I had credits there. I haven't used strace before but I ran it and perf top and have put images at https://twitter.com/peterbowyer/sta
379.
▲
by
pbowyer
6y ago
Thanks - will strace attached to the master Varnish process do the job?
380.
▲
by
pbowyer
6y ago
This is my VCL: https://gist.github.com/pbowyer/8822ab1d61fc209056f0f6bc6943... And how Varnish is initialised ExecStart=/usr/sbin/varnishd -a :80 -a 127.0.0.1:6081,PROXY -f /etc/varnish/d
381.
▲
by
pbowyer
6y ago
Does anyone else experience Varnish using a surprising amount of CPU? I tried after seeing this benchmark [0] and thinking "that must be wrong". I got the same results. Benchmarking on a 1GB, 1vCPU cloud server (to get an idea of
382.
▲
by
pbowyer
6y ago
Mission creep has been a fundamental Mozilla flaw for too long. And are they a corporate, a charity, or a corporate non-profit? Charities very often pay substantially lower salaries, the tradeoff being you feel you contribute to a greater g
383.
▲
by
pbowyer
6y ago
> A lot of people, clubs and businesses publish their content on Facebooks and Instagrams because those platforms are better for getting your content out to your followers and more people. They are being rational. I like trains, and I st
384.
▲
by
pbowyer
6y ago
> Even saying that commenting is a good idea is a problem. I'm glad I'm not alone experiencing this. One of the core open source projects I use has taken a no comments stance because "the code speaks for itself". It d
385.
▲
by
pbowyer
6y ago
To me the effect looks like when heavy chroma noise filtering is applied, leaving luminance noise. This is particularly noticeable in image 2 all over the face; it's nothing like the blemish-free look we strive for when post-processing
386.
▲
by
pbowyer
6y ago
Checked on 2 monitors here (one color calibrated) and I see the HiFiC version of image 2 has slightly more muted colours than the original. Unclear what you're seeing to get "striking subjective advantage" but it's not v
387.
▲
by
pbowyer
6y ago
> it makes some images look better than the original! It seems to reduce local contrast which works well for skin (photos 1, 2 and 5) It's better than the lossy JPEGs but I strongly disagree it's better than the original - or e
388.
▲
by
pbowyer
6y ago
> GrepWin! I have tried GrepWin many times and I can NEVER get it to give the results I want - or expect- when I use it. Something about the UI and me, they don't click.
389.
▲
by
pbowyer
6y ago
Everything is awesome for file name searching. How do people search inside files on Windows? I use ripgrep on the CLI, as Windows Explorer's in-built search has a cumbersome syntax. Sometimes though, a GUI is easier.
390.
▲
by
pbowyer
6y ago
> And honestly, I would be rich if I got a dollar every time a student does this: > msg.upper() > Instead of: > msg = msg.upper() > And then call me to say it doesn't work. On this, isn't the student's
More ›