HNHacker News
TopNewBestAskShowJobs

jwilliams

5,713 karma · joined August 11, 2008

http://jonathannen.com

jon at the domain above

Founder at pyn.ai and cultureamp.com

submissionscomments
jwilliams··on Testing Postgres race conditions with synchronization barriers
Fair enough and no disagreement there. Perhaps (for me!) the example pulled against it your core point.
jwilliams··on Testing Postgres race conditions with synchronization barriers
This post confuses me a little. With my tests I try not to "reach inside" systems unless it's quite a specific integration test. Especially databases. In this case I feel like we're just... testing known PostgreSQL behavior?

Or to put another way; as others have observed, this could be solved with atomic updates and in some case SERIALIZABLE. These are right tools for balance operations - and if they’re used I’m not sure they need testing in this manner?

jwilliams··on Why I don't think AGI is imminent
> Here's a thought. Lets all arbitrarily agree AGI is here.

A slightly different angle on this - perhaps AGI doesn't matter (or perhaps not in the ways that we think).

LLMs have changed a lot in software in the last 1-2 years (indeed, the last 1-2 months); I don't think it's a wild extrapolation to see that'll come to many domains very soon.

jwilliams··on Why E cores make Apple silicon fast
Although there is the consistent trap of tools that assign threads/workers based on the number of cores (e.g unit testing or bundling tools). This means the efficiency cores get dragged in and can absolutely tank the process.

This was particularly pronounced on the M1 due to the 50/50 split. We reduced the number of workers on our test suite based on the CPU type and it sped up considerably.

jwilliams··on OpenCiv3: Open-source, cross-platform reimagining of Civilization III
It used to be Factorio for me (I live in Australia, so long flights happen a lot). The problem with Factorio the flight isn't long enough! and the game bleeds into 100+ hours post-flight.
jwilliams··on Claude Opus 4.6
I’ve definitely experienced a subjective regression with Opus 4.5 the last few days. Feels like I was back to the frustrations from a year ago. Keen to see if 4.6 has reversed this.
jwilliams··on A few random notes from Claude coding quite a bit last few weeks
> It's so interesting to watch an agent relentlessly work at something. They never get tired, they never get demoralized, they just keep going and trying things where a person would have given up long ago to fight another day. It's a "feel the AGI" moment to watch it struggle with something for a long time just to come out victorious 30 minutes later.

This is true... Equally I've seen it dive into a rabbit hole, make some changes that probably aren't the right direction... and then keep digging.

This is way more likely with Sonnet, Opus seems to be better at avoiding it. Sonnet would happily modify every file in the codebase trying to get a type error to go away. If I prompt "wait, are you off track?" it can usually course correct. Again, Opus seems way better at that part too.

Admittedly this has improved a lot lately overall.

jwilliams··on You can just port things to Cloudflare Workers
It is, they've just aligned them under the same umbrella. It's literally "Workers & Pages" under the CF navigation.
jwilliams··on Project Hyperion: Interstellar ship design competition
Yes + Appears it's a rigid structure w/ the engine pushing from the back? At 0.1g I suspect even with advanced composites only a few km would be possible.
jwilliams··on Apple introduces a universal design across platforms
This is Windows Aero all over again - why is this a persistent design?

You can't see or process the information behind the glass - at best it's major cognitive load to do so, at worst it's just very noisy with zero added information.

jwilliams··on BS 1363 British Plugs and Sockets
That and because UK uses a ring circuit, which was seen as a solve for a copper shortage at the time.

Ring circuits generally way higher in power - and a lot more than a single appliance needs or could handle. Hence the need for a fused plug.

The upside is each socket can take a 13A plug (circa 3kW), whereas a standard US socket maxes out closer to 1.8kW.

jwilliams··on Future power systems with today's weather
One part not considered is the grid connections - esp across time zones or geographies.

Some examples:

The SunCable link between Australia and Singapore https://www.suncable.energy/our-projects

The Viking Link from Demark to the UK https://www.euronews.com/business/2024/01/16/uk-and-denmark-...

jwilliams··on Microsoft CEO testifies that Google’s power in search is ubiquitous
It's not necessarily a lot of sites that block non-popular bots - but often it's big sites (i.e. content-centric sites such as Social Media). Think Yelp, Twitter, LinkedIn, Instagram, etc.

That can add up to a serious percentage of the web.

jwilliams··on Ask HN: Year old CS student. Should I continue?
If it makes you feel any better, I started my career in the '90s and the same vibes were around then. Back then it was all RAD (Rapid Application Development) tools were going to replace everything. After that is was outsourcing. After that it was something else again.
jwilliams··on Heat pumps of the 1800s are becoming the technology of the future
Seems you're describing something a bit different? In this case, this energy is used to run a cycle defrost on the evaporator rather than run the heat pump.
jwilliams··on How to store your app's entire state in the url
Not necessarily mandatory - but I'd also recommend a stable sort on the keys prior to `stringify`.
jwilliams··on Ask HN: How to be less opinionated?
I’m going to jump to the conclusion that being opinionated is somehow negative socially for you? Or do you have another motivation?

If that the case I’d suggest - Keep the opinions - but add in curiosity.

jwilliams··on Want cleaner code? Use the rule of six
All comes down to good naming in the end. The craft is finding both compact and specific names.

I think the mantra for all names to be short can be counterproductive here. If the code span of a variable is short, a long name can be fine (and very clarifying, perhaps even resulting in a comment not being needed).

Shorter names for longer spans are much better. But you’d hope they’re the very obvious subject of that span.

jwilliams··on Steps to designing an embedded software architecture, Step 1
Well yes, but "embedded" is a pretty broad category.

Some major cases are:

- High-volume and cost-driven: where a you're picking the cheapest MCU you can make work (often by a matter of cents).You want to squeeze every last bit of performance (or IO, or power consumption, or pinout, or whatever the drivers are).

- Real-time: where abstracting the hardware beyond a certain point is counter-productive.

In my experience it's much less common that you don't care about the hardware than the reverse.

jwilliams··on Why companies are interested in Myers-Briggs types
Despite some important criticism, I think this article misses an important factor.

The benefit with the MBTI is showing employees that people think differently from them.

Yes, we all know that, but we still need prompting and practice on it.

It's best as an exercise to highlight "I need to consider this person's perspective and take that into account". Flexing that muscle is incredibly useful, even if it's a somewhat arbitrary exercise in itself.

However, I think approaches such as "User Manuals" do that better.

jwilliams··on When will Apple ship other M2 Macs?
Very likely this is RAM-related. The M1s cope very well (particularly with memory compression).

However, get a set of electron-based apps in there (Notion and Slack from your list)... and seems to struggle.

jwilliams··on Ask HN: Burnt-out, directionless but want to turn it around
It's really tough (impossible) to think/work/act your way out of being burnt out. You need to reset, recharge, and then rebuild.

And from the very limited information here - you sound burnt out.

I don't know of many more longer term solutions aside from taking time out (and a lot of it, probably a vast amount more than people estimate). Obviously there is the exercise, sleep, floss, friends, family, pets, etc, etc. And I'd recommend that deeply. But that can be hard to effectively build without the battery having a decent amount of charge.

Not everyone can just peace out for a month, or 6, or a year. It's an enormous privilege to be able to do so. But take what you can.

Best of luck.

jwilliams··on 2022 Mac Studio (20-core M1 Ultra) Review
Docker is a lot slower on OSX. If you switch to ARM images that helps (especially stability).

A bigger impact is using the virtiofs (beta) file system mapping/sync. The existing one is horrendously slow to the point of being unusable.

jwilliams··on AWS Graviton vs. M1 vs. M1 Pro Node.js Benchmarks
It's worth highlighting that the M1 series has efficiency and performance cores. For our test suite, the efficiency cores struggle and can tank the whole test run.

We set our node test suite (jest) to use the number of performance cores, not the total count (which is the default).

That actually sped up the test process, particularly on the M1 which is 50/50 efficiency and performance cores. It's less pronounced on the M1 Pro, but still a benefit.

jwilliams··on Bypass Paywalls: a browser extension to help bypass paywalls for selected sites
Take a look at https://www.inkl.com/
jwilliams··on Spotify deletes 70 Joe Rogan episodes
Joe Rogan signed an exclusive deal with Spotify - which appears to be the opposite of what Podcasting 2.0 represents.
jwilliams··on Long-term visa for remote workers
Cypress, Portugal and Malta offer similar (arguably better) schemes for Digital Nomads [0]. Portugal has been particularly aggressive to the point they offer zero tax on crypto for their "Golden Visa" [1].

I know of a few people using Malta as a base to nomad around Europe.

0: https://www.mondaq.com/uk/employee-rights-labour-relations/1...

1: https://getgoldenvisa.com/crypto-portugal

jwilliams··on Canada's 'gamble' on delaying, mixing and matching Covid-19 vaccines paid off
There are some half-truths in there, but otherwise what you're saying is misleading.

For example, there is a (quite small) trial of facial recognition for home quarantine of international travelers. Now that's a topic worthy of discussion - But it's an extraordinary leap to say everyone is taking pictures of themselves (i.e that's just not true at all).

It's similar for most of your assertions.

There have been quite a number of strict rules in different parts of Australia at different times. Most are now being wound back in line with vaccination rates.

jwilliams··on Nuclear power: Are we too anxious about the risks of radiation?
This article implies radiation is the only objection to nuclear power, which isn’t true. It also fails to mention any alternatives (renewables) at all. Both seem major omissions.. especially from the BBC, which I always found was a bit more balanced on these topics.
jwilliams··on Apple announces it will switch to its own processors for future Macs
TSMC is too intertwined with Taiwan and Taiwanese independence to make that feasible.

Building your own fab would be a gargantuan task.

A future JV with Intel seems more likely (despite it being very unlikely in absolute terms).

← PreviousPage 3 of 34Next →