HNHacker News
TopNewBestAskShowJobs

jameshart

22,635 karma · joined March 31, 2011

submissionscomments
jameshart··on Stop Making TUIs
Because the author wanted the ability to open and browse markdown files when you double click them on a Mac. How would a TUI better serve that purpose?

There's more on this here: https://sockpuppet.org/blog/2026/05/12/emacsification/

jameshart··on I like 'em thick: an apology to my English teachers
Totally. The right way to approach an art gallery is definitely just to walk round until something hits you.

Most astonishing time that happened to me was a wall-sized Rothko that just floored me, in a way I never would have expected a slab of color to.

Dali’s La Gare de Perpignan stopped me in my tracks too.

Rarely been as stunned by more famous works as when I got blindsided by something that leapt out and said ‘look’.

jameshart··on Turns are Better than Radians (2022)
> dimensions are different from irrationals, vectors, complex numbers, etc, they are mostly a thing of their own.

I harbor a terrible internal mental model of dimensions which I have never really validated or explored fully, where I like to think they might be vector exponents, or something vaguely similar. If we assign each dimension to be a dimension of a vector - (length, mass, time, etc…) then a ‘distance’ might be e^((1,0,0,…)); a ‘duration’ e^((0,0,1,…)).

These have the requisite properties that when we multiply and divide them, we end up adding and subtracting these vectors.

So a distance times a distance is e^((2,0,0,…)) and a distance over a duration (a speed) is e^((1,0,-1,…))

They have the right basic algebraic behavior but who knows what terrible consequences they would have.

jameshart··on Turns are Better than Radians (2022)
This is a great paper from NIST that gets into some of the problems with the limit of ‘dimensionlessness’ in metrology and the SI, and in particular issues like the fact that Hertz is considered a coherent SI unit but radian isn’t.

https://www.nist.gov/publications/dimensionless-units-si

A key takeaway:

> one conclusion that is not optional is that the unit hertz cannot be regarded as a coherent unit of the SI, in contrast to its designation in the current form of the SI, where cycles are ignored and Hz may be replaced by s^−1

jameshart··on Turns are Better than Radians (2022)
The reason for preferring functions defined over domains like R is that it’s a field, and so I can do things like multiply and divide and add and subtract inside it.

If instead we start defining ‘amounts of distance’ as some set D and ‘amounts of time’ as some set T, I have all sorts of extra work to do to make it so that products of amounts of distance are ‘amounts of area’ and amounts of distance over amounts of time are ‘amounts of speed’.

‘Dimension’ is the mathematical tool that lets us bundle all that up into something that we can deal with separately, alongside a real number. And of course you can totally make functions that are dimensional - but it affects what you can do with your functions, like composition and differentiation.

jameshart··on Turns are Better than Radians (2022)
When dealing with waves you often are dealing with turns - or, as they’re called in that world, cycles. A cycle is a turn is tau is 2pi.

The SI unit for frequency after all is Hertz - cycles per second - which should really be considered equal to 2pi s^-1, but for complicated reasons, often isn’t, and most formulae that involve frequency ignore the ‘cycle’ - or it’s also hiding inside the definition of something like the wavelength or the Planck constant where it cancels out.

Meanwhile the SI unit for angular velocity is radians per second which is dimensionally equivalent to s^-1.

That said a becquerel, which measures rate of discrete events, is also dimensionally s^-1. (Next time you are measuring traffic to your website consider using the appropriate SI unit for measuring requests per second: the Becquerel.) - so dimensional equivalence isn’t the same as equivalence. You wouldn’t add a rate to a frequency, same as you probably shouldn’t add a torque to an amount of energy.

jameshart··on Turns are Better than Radians (2022)
You generally can’t apply functions to dimensional units. The only thing units can do is be multiplied or divided together. So I can multiply a mass by a distance or divide a distance by a speed, and I can multiply the result by a scalar; but I can’t take the sine of a distance or the logarithm of a time or exponentiate a mass. Those are things I can only do to scalars.

‘But wait!’ You may cry: ‘the formula for a transverse wave varies with the sine of a distance!’

To which I would say no: it varies with the sine of a distance (the horizontal displacement), divided by another distance (the wavelength), divided by 2pi. The distances cancel out and leave a scalar. The sine is taken of that pure scalar; it results in a pure scalar; and then it’s multiplied by another distance (the amplitude) to give you a vertical displacement. Sine is a pure function.

Something else to consider is that the way we combine units with scalars to create dimensional quantities is through multiplication - and it’s not like there’s a simple formula for what a sine of a product is - I can’t determine sin(ab) in terms of sines or other functions of a and b. So if, say, a ‘degree’ were some dimensional unit, sin(90°) would not be something I could calculate - despite knowing sin(90) I don’t know sin(°) - whatever that would mean - and even if I did it gets me no closer to figuring out sin(90°)

Realizing that ° is just a mathematical constant equal to pi/180 solves a lot here.

jameshart··on The Amazon tax
In the author’s specific case of books, publishers always paid ‘coop marketing’ dollars to booksellers to get ‘face out’ placement on shelves, ‘end cap’ positioning where copies of the book would be positioned on the aisle-facing shelves used to entice people into browsing a section of the store, as well as more for table placements and window features. And that’s on top of just having to discount the price deep enough to get the seller to buy in stock of the book in the first place, as well as further eating margin reductions to induce sellers to offer discounts.

All these same incentives are at work in supermarket aisles and big box stores, shaping which products you see and are offered at what price. You think if you walk into Best Buy and ask them to show you laptops, the one they push you to look at is going to be the ‘best’ on offer? Or is it perhaps the one which is set up with the best sales staff commission this month?

Distribution channels have never been neutral champions of the consumer.

jameshart··on Brain turns listening inward during REM sleep, EEG recordings suggest
Mobile safari was overwhelmed with ads with minuscule ‘close’ buttons within seconds of arriving.
jameshart··on Working with AI Feels More Like Leadership Than Coding
… or at least it always used to be hard to ‘lead’ a server.

But now that the server has an agentic interface maybe that is changing.

jameshart··on Working with AI Feels More Like Leadership Than Coding
The best distinction I have heard for ‘leadership’ vs ‘management’ is that you manage things but you lead people.

So you can manage a project or a budget or a facility or an office or a process. But if you need to get people to do things, that requires leading not managing.

The problem with applying this to an AI agent is that it is a thing that thinks it’s a person.

jameshart··on Dear people who work at the airport
See original post, I guess?

A lot of the constraints in how airlines can market service levels are imposed by the ticketing aggregation standards and how fares show up in searches. There are also issues with creating differences in luggage standards between regional and long haul flights because of through ticketing.

It’s probably more complicated than it looks from the outside, and all falls into the same problem of overall air travel inscrutability caused by the ‘it makes sense to the people who are in it but looks Byzantine from outside’ problems the original article here is complaining about.

jameshart··on GLM-5.3: Frontier coding with emergent cyber capabilities
So is ‘cyber’ just short for ‘cybersecurity’/‘cyberwarfare’ now? That is not what cyber used to mean…

This is like when ‘crypto’ started meaning cryptocurrency.

jameshart··on Dear people who work at the airport
My point is that that is the service you are getting from regional/express airlines these days. Some of them offer ‘personal item only’ basic tickets which means ‘carry ons’ are extra; and de facto ’carry ons’ are actually checked bags, because everyone knows they are going to offer complementary gate check – and it turns out you can in fact often just check the bag for free at check in. And of course this allows you to pack things in that bag that can go in the hold, but that you wouldn’t be allowed to take through security, like standard size toiletry bottles.

What’s weird is, I agree, the way it’s described and marketed. Carry on add-ons should be sold as ‘small checked bag’. As it is, if you know your carry on is going to be gate checked it’s easy to plan where you pack your lithium battery devices; if you don’t you’ll be doing the gate check shuffle.

jameshart··on Dear people who work at the airport
Most flights on busy, small planes, where most passengers are wheeling chunky rollboards up, will offer complementary gate check for larger carry on bags. Often you can actually check such a bag for free at the bag check counter before security - even if your ticket does not include any checked baggage.
jameshart··on Deutsche Bank becomes first foreign yuan clearing bank in Europe
Meanwhile the oil supply system is immune to outside threats

https://en.wikipedia.org/wiki/Colonial_Pipeline_ransomware_a...

https://shippingtelegraph.com/shipping-news/adnoc-reports-15...

https://news.un.org/en/story/2026/08/1168121

jameshart··on License plate reader searches should require a warrant
YouTube absolutely claim not to be vetting every ad they serve. That is why so many outright fraudulent ads get shown by them. In the same industry we have Meta using AI to generate and display ads that even the advertiser hasn’t vetted.

> vetting every video would not be reasonable even at a small scale business with the same business model.

A small scale business like… a cable tv company? They certainly historically were assumed to be responsible for every piece of video content they took from a creator and broadcast.

jameshart··on License plate reader searches should require a warrant
The old fashioned way cops enforce traffic law is, typically: unevenly, ineffectively, expensively, and with a large dose of racism.

So we’re talking about trading off your concerns over potential abuse and misuse of technology vs concerns about potential abuse and misuse of police powers vs just allowing traffic to kill more cyclists and pedestrians.

The nihilistic libertarian says ‘precisely - government doesn’t work - we can’t hope to make things better by concentrating power’

An optimistic democratic-institutionalist says ‘we can constrain governments at the ballot box and with constitutional limitations’.

I suspect our disagreement lies somewhere in the chasm between these world views.

jameshart··on License plate reader searches should require a warrant
I think that’s a very different concern - your take is more ‘governments shouldn’t deploy these things because they are incompetent’ whereas the original concern seemed to be ‘governments shouldn’t deploy these things because they are malicious’.

Neither philosophy seems to have a good limiting principle for what they mean governments should be allowed to do to efficiently enforce traffic law

jameshart··on License plate reader searches should require a warrant
Best cover your car in tinfoil then.

(To be clear: the government requires you to display a license plate on your car. They do not require that you broadcast an identifiable Bluetooth signature as you drive around. If you happen to do so - something you have a choice to avoid - it seems disingenuous of you to say ‘I don’t want anyone to take any notice of the Bluetooth and WiFi signatures I choose to broadcast’.)

jameshart··on Chartreuse, a case study in how scarcity and authenticity can drive desirability
… and has a sufficiently long history that it became the name for a color as long ago as the 1880s. Pretty sure it’s the only drink that has a CSS standard color name derived from it (burgundy isn’t in the list).

(Now I want someone to come on and argue that papayawhip and chocolate are actually derived from colors of liqueurs)

jameshart··on License plate reader searches should require a warrant
I guess it wasn’t clear that I share your opinion that it is not ‘obvious’ that companies should be allowed to set aside accountability in pursuit of scale. I was lending expression to an opinion that seems to be orthodoxy, not supporting it.
jameshart··on License plate reader searches should require a warrant
Okay so is the argument that if a city wants to install red light cameras they must install analog film based systems because if they install a CCD camera with a raspberry pi and a network connection they could use it for other purposes?

Obviously the electronic networked solution is going to be cheaper and easier to operate. It would be insanely wasteful to force government organizations to use expensive cumbersome processes just to ensure they can’t be misused.

The solution is legislation and enforcement of rules that constrain what local governments are allowed to actually do with equipment they install and the data it collects, not regulation of what the equipment they install could theoretically be converted to accomplish.

jameshart··on License plate reader searches should require a warrant
It is a curious ‘small government’ instinct that wants government capabilities to be restricted from ever becoming efficient or scalable, even though the population and economy and complexity of the world the government is tasked with regulating scales up.

But often the inverse argument is used in respect of private corporations. Obviously it would be unreasonable to expect Google to vet every ad and YouTube video uploaded tot heir platform, and make responsible editorial decisions about which ads and content to show to children. Surely to allow them to scale arbitrarily large we must make sure not to overly burden them with regulations.

jameshart··on License plate reader searches should require a warrant
This amounts to an argument against ever using general purpose computing devices to accomplish anything.

You could say the same about literally any privately operated device. ‘I don’t know why they call these things cell towers. They do whatever they are programmed to and can be reprogrammed by anyone with access’

Heck the same applies to non electronic things too ‘why do they call it a house? It’s a general purpose structure and could be turned into a shop or a factory or a crack den at any time by anyone with access’

jameshart··on AI is removing the middle class of software engineering?
Django? Django is older than jQuery…
jameshart··on France to ban unsolicited telemarketing calls
From context they mean pretending to be a legitimate law-abiding telemarketer who plans to use the do not call list for screening purposes when in fact they are an overseas telemarketer who plans to use the list as a cheap set of known working phone numbers.
jameshart··on France to ban unsolicited telemarketing calls
The US and Canada also already have an outright ban on auto dialing and telemarketing calls to cellphones.

There are exceptions for nonprofits, political campaigns and surveys and to be honest those do seem to be the nature of all the non-scam unsolicited calls I receive (and of course they are somewhat difficult to distinguish from scams anyway), based on the voicemails they sometimes leave, so it may well actually be working.

jameshart··on AMD acquires Taalas to boost inference performance by etching models in silicon
Commoditize your complements - still a winning strategy.

If you make chips, you want models to be free.

jameshart··on Learn how chips are made with this Rollercoaster Tycoon-inspired animation
At the end the truckload of chips should be happily on its way to a consumer electronics factory when it gets suddenly diverted along with all the others down a side road that dumps all the chips into the ravenous insatiable maw of the hyperscale datacenter industry.
← PreviousPage 7 of 34Next →