HNHacker News
TopNewBestAskShowJobs

pbowyer

3,799 karma · joined July 16, 2013

To contact, strip all upper-case letters: pREDetREDer@pREDeterbowOOyer.NETco.FRuk
submissionscomments
pbowyer··on Improving 15 LLMs at Coding in One Afternoon. Only the Harness Changed
For others, here's the paper: https://arxiv.org/abs/2507.00002
pbowyer··on Discord will require a face scan or ID for full access next month
Hi @tabbott I've been meaning to pass this feedback on for 5 months, and I hope it comes across in the spirit it's meant.

I tried Zulip (cloud offering) with some techie/designery friends, so we should have been right at home but... the desktop app on macOS and the web app was visually unappealing and clunky, and we ended up going back to a paid Slack plan.

I looked for docs on how to theme Zulip (so I could contribute), or for existing theme packs that would soften the transition but found neither.

tl;dr: The functionality was good (Love the threading!) but the UI feels like the 2000s came calling. Some UI polish would go a long way.

pbowyer··on Deno Sandbox
This reminds me of a SaaS that existed 15+ years ago for PCI-DSS compliance. It did exactly that: you had it tokenize and store the sensitive data, and then you proxied your requests via it, and it inserted them into the request. It was a very neat way to get around storing data yourself.

I cannot remember what the platform was called, let me know if you do.

pbowyer··on CSS Web Components for marketing sites (2024)
Why not use CSS without the custom element? From this post I don't see the benefit of using <swim-lanes> over <section class="swim-lanes"> for example.
pbowyer··on New Safari developer tools provide insight into CSS Grid Lanes
> What good use cases would you see for grid lanes today?

Fully responsive layouts, where sidebar content is interleaved with page content on small screens, but in a sidebar on larger screens.

Demo: https://codepen.io/pbowyer/pen/raLBVaV

Reordering the content on larger screens would be the icing on the cake but for now I'll take just doing it.

CSS Grid didn't solve this, as it added gaps: https://codepen.io/pbowyer/pen/azNarbZ

And using named grid-template-areas stacks the items you move to the sidebar on top of each other, so you only see one of them at a time. Eventualy I hope that https://github.com/w3c/csswg-drafts/issues/9098 will land and we'll be able to use this saner way to do it.

pbowyer··on AI coding assistants are getting worse?
> I saw people on reddit say that Opus 4.5 will hit that $20 limit after a 1-3 prompts

That's people doing real-vibe coding prompts, like "Build me a music player with...". I'm using the $20 Codex plan and with getting it to plan first and then executing (in the same way I, an experienced dev would instruct a junior) haven't even managed to exhaust my 5-hour window limits, let alone the weekly limit.

Also if you keep an eye on it and kill it if it goes in the wrong direction you save plenty of tokens vs letting it go off on one. I wasted a bunch when Codex took 25 minutes(!) to install one package because something went wrong and instead of stopping and asking it decided to "problem solve" on its own.

pbowyer··on CSS Grid Lanes
I'm pleased they rename it because grid-lanes opens up more than masonry layouts.

I've been waiting to be able to have a fully responsive layout (where interleave sidebar content in with the page content on small screens, but have it in a sidebar on larger screens) without using any JavaScript, and this finally makes it possible.

Demo: https://codepen.io/pbowyer/pen/raLBVaV

Previous comment: https://news.ycombinator.com/item?id=46228993

pbowyer··on I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours
I think I've asked this before on HN but is there a language-independent test format? There are multiple libraries (think date/time manipulation for a good example) where the tests should be the same across all languages, but every library has developed its own test suite.

Having a standard test input/output format would let test definitions be shared between libraries.

pbowyer··on In Defense of Matlab Code
> Part of our interview process is a take-home where we ask candidates to build the fastest version of a pipeline they possibly can. People usually use C++ or Julia. All of the fastest answers are in Julia.

It would be fun if you could share a similar pipeline problem to your take-home (I know you can't share what's in your interview). I started off in scientific Python in 2003 and like noodling around with new programming languages, and it's great to have challenges like this to work through. I enjoyed the 1BRC problem in 2024.

pbowyer··on Incomplete list of mistakes in the design of CSS
> Okay, you may want to do "responsive" design, but you have the semantic layout fixed, therefore you try and contort a styling engine into pretending to be a layout engine when in reality it is three stylesheets in a trenchoat.

I need to write this up properly, but one of my bugbears with responsive design is that it became normalised to push the sidebar down below the content on small screens. And if you didn't have a sidebar, to interweave everything in the content no matter what screensize you were viewing on.

What I want is a way to interleave content and asides on small screens, and pull them out into 1+ other regions on larger screens. Reordering the content on larger screens would be the icing on the cake but for now I'll take just doing it.

This CSS Grid approach adds gaps: https://codepen.io/pbowyer/pen/azNarbZ

Using named grid-template-areas stacks the items you move to the sidebar on top of each other, so you only see one of them.

'Good' old floats get most of the way, but put the item in the sidebar exactly where it falls. Plus they're a pain to work with overall: https://codepen.io/pbowyer/pen/jEqdJgP

pbowyer··on Cardinal: Fastest file searching tool for macOS
I know, Everything is one of the few pieces of software I've missed when switching to macOS.

Cardinal seems to be almost as responsive, except that the current search doesn't update when you delete a file that's in it - you have to search again for it to be gone. IIRC Everything auto-refreshes the view.

pbowyer··on PHP 8.5
> The pipe operator [...] syntax only works for unary functions, so higher arity functions must be wrapped in an arrow function.

It's coming - but to get PHP RFCs to pass they have to be salami-sliced, otherwise they're voted down.

https://wiki.php.net/rfc/partial_function_application_v2

pbowyer··on Kubernetes Ingress Nginx is retiring
> Otherwise, there will be far easier solutions at lower scale.

Which solutions do you have in mind?

- VPS with software installed on the host

- VPS(s) with Docker (or similar) running containers built on-host

- Server(s) with Docker Swarm running containers in a registry

- Something Kubernetes like k3s?

In a way there's two problems to solve for small organisations (often 1 server per app, but up to say 3): the server, monitoring it and keeping it up to date, and the app(s) running on each server and deploying and updating them. The app side has more solutions, so I'd rather focus on the server side here.

Like the sibling commenter I strongly dislike the configuration management landscape (with particular dislike of Ansible and maintaining it - my takeaway is never use 3rd party playbooks, always write your own). As often for me these servers are set up, run for a bit and then a new one is set up and the app redeployed to that (easier than an OS upgrade in production) I've gone back to a bash provisioning script, slightly templated config files and copying them into place. It sucks, but not as much as debugging Ansible has.

pbowyer··on Composer: Building a fast frontier model with RL
I agree about the multi-line blocks Cursor proposes. Like it gets the first two lines right and then after that it's nonsense. I'd rather it stuck with a single line change at a time, and let me press enter before it predicts again.
pbowyer··on Affinity Studio now free
This is well timed as my wife has lost her educator status, and we've canceled Adobe Creative Cloud this month as we can't stomach the jump from £400 to £800/yr.
pbowyer··on Composer: Building a fast frontier model with RL
Intellij's tab-complete is coming along; it's hit and miss if it will work but for similar edits I'm finding it picks up the pattern quickly and I can tab - tab - tab to make them happen.

Still not up to Cursor standards though :)

pbowyer··on Litestream v0.5.0
TIL. Thanks!
pbowyer··on Litestream v0.5.0
> One of the big advantages people enjoy is the elimination of the network latency between the application server and the DB. With SQLite your DB is right there often directly attached over NVME.

You can install MySQL/PostgreSQL on the application server, connect over a unix socket and get the same benefits as if you'd used SQLite on the application server (no network latency, fast queries). Plus the other benefits that come from using these database servers (Postgres extensions, remote connections, standard tooling etc). I'm guessing more RAM is required on the application server than if you used SQLite but I haven't benchmarked it.

pbowyer··on TigerBeetle is a most interesting database
They both have replication, which allows them to be multi-node.
pbowyer··on TigerBeetle is a most interesting database
> And yet some of the most popular OLTP databases in the world today are still highly dependent on a single node architecture.

Which databases? SQLite is the one I can think of, but it's designed for that use-case. Others start as single node but will replicate to other nodes, either as master-slave or master-master.

pbowyer··on Setting up a home VPN server with WireGuard (2019)
My advice is spin up a small VPS and give it a go :) If it goes wrong, recreate the VPS and try again.

Their instructions were fairly good; securing the web interface was the hardest part. AI should solve that for you!

pbowyer··on Tarsnap is cozy
I'd say its stable. It's one of those projects that's in perennial beta.
pbowyer··on Tarsnap is cozy
Same but with rustic because I found it used significantly less memory.

https://rustic.cli.rs/

pbowyer··on Setting up a home VPN server with WireGuard (2019)
wg-easy is a great package and tool, and I've used it to spin up VPN servers for small organisations.
pbowyer··on AI web crawlers are destroying websites in their never-ending content hunger
Do you have the ability to block ASNs? I help sysadmin a DIY building forum, and we cut 80% of the load from our server by blocking all Alibaba IPs in ASN 45102. Singapore was sending the most bot traffic.
pbowyer··on Ripple – A TypeScript UI framework that takes the best of React, Solid, Svelte
I've never liked JSX, much prefering HTML like (Vue, Svelte), but I do like this template syntax. On reading it makes sense to me in a way that JSX never did, feeling squashed into the 'language'.
pbowyer··on Taylor Otwell: What 14 Years of Laravel Taught Me About Maintainability
The Laravel and Symfony communities are culturally very different. Laravel (and Taylor) are very US-American, Symfony (and Fabien) very European, and it comes through in communication style and presentation. Laravel has a share of users building products to sell to other Laravel users; Symfony doesn't. If I caricature, Laravel users are better at making money (as a Symfony user the social media presence looks like "grifting"); Symfony users at being architecture astronauts (and looking down on people "getting things done").

At a high level the WordPress community doesn't mesh because of having the WordPress way of doing things, and having a history of writing for old versions of PHP years after others have moved on and told users to upgrade. The WordPress community is fragmented into separate sub-communities which again don't mesh. There's the users who only build sites with page builders and hardly know how to code, those whose goal is to sell copies of their paid plugin (or hosting services), and those with permission to make changes to WordPress itself.

I've no recent experience of Drupal so can't comment on them.

pbowyer··on Mangle – a language for deductive database programming
EdgeQL - https://www.geldata.com/showcase/edgeql
pbowyer··on PYX: The next step in Python packaging
This is the way it's worked for PHP's composer packages, and it's worked well.
pbowyer··on How we replaced Elasticsearch and MongoDB with Rust and RocksDB
Doesn't sound like it, but it's a nice writeup of the tools they stitched together. For someone to copy and open source... hopefully :)
← PreviousPage 2 of 25Next →