HNHacker News
TopNewBestAskShowJobs

mhuffman

2,585 karma · joined December 5, 2011

submissionscomments
mhuffman··on Benchmarking Postgres
Don't even need SQLite for the speed up, although SQLite is fast. I routinely get blazing fast p99 latency on local hardware from postgres itself.
mhuffman··on New proof dramatically compresses space needed for computation
They were likely the ones that invented the phrase.
mhuffman··on Thnickels
No ridges on the sides? This could be be trouble!
mhuffman··on Show HN: Report idling vehicles in NYC (and get a cut of the fines) with AI
>Re/ the speed limit, I'm afraid I simply don't understand. Why not just raise the speed limit to 70 instead of having everyone lie?

Then do you arrest all people going 71?

> I think we would have to define more closely what a 'bad law' actually is to answer that first. Under this kind of fine-based regime, it would have to be something that targets a small group, unfairly, and manages to consistently extract a lot of money from them

Is suspect everyone can hypothesize a small group they belong to. So make up one that you belong to and imagine a group coming into power in the legislature where you live that makes that kind of law. The money itself doesn't need to be a large amount (what might be "a lot" to you and I might be different for different people) to make it oppressive and frankly a weapon for the police and government to use.

>Re/ the idler's law itself ... The people of New York City voted in favor of it

Correct. I don't agree with it but the local people do. This is the both the blessing and curse of our government and the exact situation where some people can can use this pay-for-snitching technique for good or bad. If it works for them then so be it. I don't have to like it. I don't like a lot of stuff. And some stuff I do like others don't. My original argument is that using money as an incentive to turn citizens against each other is a very slippery slope. In his case it might be great for them. I understand that you and I disagree on this point and there is likely nothing I can say or you can say to make the other suddenly change position and I respect you defending your thought process on this. But it is nice to be able to have a conversation about something controversial without it spinning into something else. Cheers!

mhuffman··on Show HN: Report idling vehicles in NYC (and get a cut of the fines) with AI
>I've said elsewhere the optimal mechanism here is for that money to be paid to the snitcher, from the person who is being turned in.

In some cases, which seem like a good idea like corporate malfeasance whistleblowers or government grift whistleblowers. This is because the people paid by our tax dollars would be at a disadvantage compared to an insider in the company. In others, you could see the direction it must go.

>Thanks for letting me pick the reason, that's very thoughtful of you.

Cheers!

>Obviously it's because said law being strongly enforced would cause such a public backlash that it would quickly get repealed in its entirety, and thus further erode the monopoly on violence the state holds over its citizenry. Cops then have fewer en passants they can pull when they don't follow procedure, etc etc. I'm glad we're in agreement on this.

There might very well be laws like that. However, let me offer a non-controversial and obvious one. Speed limits. Many places have 65mph listed as a speed limit. Everyone knows you are not allowed to go faster. However very few place will pull you over for going 66mph or even 70mph. If they started pulling over everyone going 70 in a 65 there would not be "such a public backlash that it would quickly get repealed in its entirety" because we all know and they all knew they were breaking the law. But it isn't enforced in an authoritarian way because we have different vehicles, sometimes you need to pass, and frankly 70 and 65 just aren't that big of a problem. But almost everyone would agree that we do need a speed limit, although they might not agree on the number and a number has to be picked.

Now, I don't want to assume your political leanings, but I am getting some strong libertarian vibes. And you seem like a nice and thoughtful person, so maybe bad ideas don't even occur to you because you are honest and just don't think that way. But imagine, or go ask grok, some other ways this could work out. And while you are at it, imagine a law that did not effect all citizens the same. Now imagine that a bad law could effect a relatively small group much more than others. In what way could they cause affect a backlash that would quickly get a law repealed in its entirety?

Using money to incentivize any public action on behalf of the government should be a sort of last-resort situation where it makes sense and the people already being paid to do it can't for some reason. This is a very libertarian idea, in fact. A more reasonable idea, although much less libertarian, would be to pass a law that makes it where cars can not idle for more than a specified amount of time in certain situations, but that would come with its own can of worms don't you think? And I personally wouldn't be for such a law. In fact I am against the snitch on idlers law. If someone wants to pay $7 a gallon for gas to set there and idle it away, why shouldn't they be able to? How is it different than them driving the same gas away?

mhuffman··on Show HN: Report idling vehicles in NYC (and get a cut of the fines) with AI
>Compliance with the law is a separate issue from the contents of the law.

Agree. More of my thought is what happens when everyone is incentivized with money to spy on everyone else? How can you misuse this as a government? How can unscrupulous businesses misuse this?

>If switching to a fine-based bounty system like this suddenly causes an uproar over a given law, then I submit the proper thing is to look over that law and perhaps tear it down.

I would submit that there is the danger that people might want to keep a bad law if they continue to make money by snitching. In fact, money is the exact wrong incentive for this sort of thing.

>Any "law" that people put up with because it isn't enforced 9 times out of 10 is little more than a tax upon those too honest to get away with it.

Think a little harder and see if you can imagine why a law that isn't strongly enforced still might exist.

mhuffman··on Show HN: Report idling vehicles in NYC (and get a cut of the fines) with AI
>This is a phenomenal application of how fine-based bounties can be used to rapidly improve compliance with the law.

This type of thing can get out of hand quickly. Without me giving controversial examples, just imagine for yourself the types of things that different states can make a crime, add a fine, then offer to give other citizens part or all of that fine if they turn in others. After that, think of how unscrupulous businesses could use it against competition.

mhuffman··on When random people give money to random other people (2017)
>The incentive is that you could potentially enjoy something briefly and that's the best deal you can get.

Many people might say that is a lower incentive than to being able to leave your family better off than they were, or in your more greedy interpretation, so that their children and their children can enjoy something less briefly than you were able to.

mhuffman··on Self-hosting your own media considered harmful according to YouTube
>If you want youtube (or any other platform) to not suck...pay for it.

Like Netflix and Amazon Videos?

mhuffman··on Watching AI drive Microsoft employees insane
>I'll never understand the antagonistic "us vs. them" mentality people have with their employer's leadership

Interesting because "them" very much have an antagonistic mentality vs "us". "Them" would fire you in a fucking heartbeat to save a relatively small amount (10%). "Them" also want to aggressively pay you the least amount for which they can get you to do work for them, not what they "value" you at. "Us" depends on "them" for our livelihoods and the lives of people that depend on us, but "them" doesn't doesn't have any dependency on you that can't be swapped out rather quickly.

I am a capitalist, don't get me wrong, but it is a very one-sided relationship not even-footed or rooted in two-way respect. You describe "them" as "leadership" while "Them" describe you as a "human resource" roughly equivalent to the way toilet paper and plastics for widgets are described.

If you have found a place to work where people respect you as a person, you should really cherish that job, because most are not that way.

mhuffman··on LLMs are more persuasive than incentivized human persuaders
Sam Altman must be literally vibrating at the thoughts of tacking on ads at the end of a "persuasive" interaction about whatever. "... and remember to try new Oreo-flavored Pringles and tell them Gippity sent you with this 20% off code, because we are best friends and we can trust each other!"
mhuffman··on How are cyber criminals rolling in 2025?
>Why wouldn't you believe it?

Lots of reasons, but here are a few:

1. The misspellings and grammar issues (used to) continue beyond emails into the websites, etc.

2. The grammar issues, magically, seem to mimic the the same grammar differences between certain countries typical language constructions and those of standard American English

3. Check your spam folder right now if you have gmail. Where did this 4-D chess triage of illiterate potential dupes go? Spelling and grammar are suddenly almost perfect! Also, many of the older scams seem to be replaced with romance or family impersonation scams.

>It makes economic sense. The most expensive part for a scammer in any automated scam is the part which can't be automated, where a human has to get involved for e.g. a phonecall.

Perhaps you haven't heard, but this can also be automated as well, cheaply. Works particularly well on the elderly!

>Economically, the scammer wants to do everything they can to get rid of smart or diligent people who might be harder to scam at the expensive part. It feels like it would cost scammers to not have typos.

I think you are giving too much credit to the spammers. Economically, the easiest thing to do is to send out endless emails and wait for responses. Those people, regardless of diligence or literacy, are already self-selecting and you can let them talk to LLMs to winnow the rest.

>Also, anecdotal, but the rise of autocorrect, spell checking and LLMs doesn't seem to have made any impact on the quality of spelling in my spam folder over the past 20 years.

I agree ... up until the rise of LLM's. Now (outside of more use of emojis) it is very good.

mhuffman··on How are cyber criminals rolling in 2025?
I have heard that theory from some cybersecurity experts online but have never seen it substantiated in any way (by interviewing some scammers, for example) and frankly don't believe it.

The misspellings and grammatical errors (used to?) continue on the fake sites that are created to steal credentials, and the excuses for most of the reasoning regarding emails do not hold there.

mhuffman··on How are cyber criminals rolling in 2025?
I am surprised no one mentioned using LLMs to spell and grammar check their emails and vibe-code bank landing-pages to continue a more polished version of scamming elderly people out of their life savings.
mhuffman··on Yoko: A Biography
>The out-of-context clip isn't a referendum on her artistry; it's just bait for people who never engaged with her actual work.

I am not engaged with her actual work, but here is a not-out-of-context clip[0] of her live art from MOMA. Perhaps you could give more insight into the artistry ?

[0]https://www.youtube.com/watch?v=7GMHl7bmlzw

mhuffman··on A university president makes a case against cowardice
I don't normally get into this type of political debate but ...

>Should Israel be allowed to attack terrorist organizations in Palestine?

yes. I think actual terrorists should be eligible for being attacked anywhere. The real question you didn't ask is who gets to label what is and is not a terrorist? Black Panthers were considered terrorists in the US in the 60s and 70s but heros to the Black community now. In the US, again, our founding fathers were all considered terrorists by Britain.

>If so, is there an "acceptable" level of civilian casualties (collateral damage)?

The "acceptable" level of civilian casualties or collateral damage is zero. With the understanding that accidents happen, but all plans should be for zero.

>Does that level change if the terrorists intentionally use civilians as human shields

No. This routinely happens in the US over the years where criminals or even terrorists take hostages on a plane, bank, school, hospital, or other place with innocent people. We do not drop bombs on the building killing all the innocents to get at the evil-doers. Have you noticed that no country in the Western civilized world would even consider that? Modern military should be able to go in and do surgical strikes or a surrender. Hell, in the US, we have small towns with volunteer SWAT teams that do this routinely with basically 100% success rate.

I think the biggest problem, which is covered in most war-time conventions, is that you should treat civilians and innocent people the same as you would treat your own innocent civilians. This is somehow being argued that it does not apply in the middle East or Ukraine or Russia where people just remotely drop bombs and blame "human shields".

Not too long ago the US would be ashamed to admit it even did something like this, because it seems like incompetence or cowardice, but now we support it somehow?

mhuffman··on Apple's Cubify Anything: Scaling Indoor 3D Object Detection
Very nice and smooth! Do you have source for your demo?
mhuffman··on Ask HN: What are you working on? (March 2025)
I think this is the way to think about it. Mine was a desktop application with no central server.
mhuffman··on Ask HN: What are you working on? (March 2025)
I don't think the apps themselves are illegal any more than VLC is illegal. You could likely watch something on the app that is illegal depending on where you live.
mhuffman··on Ask HN: What are you working on? (March 2025)
Interesting to hear. One big thing I had to address was the fact that she lives in a rural area with very slow internet access and I don't. So I built in and option for us both to select a movie and a time for the date and it would pre-download a high-quality version.
mhuffman··on Ask HN: What are you working on? (March 2025)
I have! It was one of those "I should have moved when I had the chance" moments. But such is life as a developer.
mhuffman··on Ask HN: What are you working on? (March 2025)
I dusted off an old app (2012 or so) that I wrote for me and my girlfriend who are in a long-distance relationship which I call "Date Night Movie Player". It needs updates and she mentioned that she missed using it. Basically it lets two people sync watching a video/movie together, while chatting in a side transparent overlay and has a remote control with interesting buttons like timed "beer break", "bathroom break", along with pause so you can draw an arrow on the screen or circle something of interest. There is also a button that might (it is random chance and you can only do it a few times) let you steal the remote control from the other user. Only the person with the remote can really pause after all! It gives the experience of watching a movie together and being able to comment about things happening like when we are together.
mhuffman··on Ask HN: What are you working on? (March 2025)
Also curious about what you find out. I also thought that the cool billionaire kids were using "private rooms"[0] now and dark pools were for poor boomer hundred-millionaires! :-)

[0]https://finance.yahoo.com/news/darker-dark-pool-welcome-wall...

mhuffman··on Show HN: Hexi – Modern header-only network binary serialisation for C++
>operator overload abuse

Array programming languages smugly enter the chat

mhuffman··on Upcoming Windows 11 builds cannot install without internet and Microsoft Account
>security and user experience

This is corporate speak for advertisements and telemetry

mhuffman··on Upcoming Windows 11 builds cannot install without internet and Microsoft Account
>Fuck people that live in very rural areas!

-Microsoft, apparently

mhuffman··on AI models miss disease in Black and female patients
"The model used in the new study, called CheXzero, was developed in 2022 by a team at Stanford University using a data set of almost 400,000 chest x-rays of people from Boston with conditions such as pulmonary edema, an accumulation of fluids in the lungs. Researchers fed their model the x-ray images without any of the associated radiologist reports, which contained information about diagnoses. "

... very interesting that the inputs to the model had nothing related to race or gender, but somehow it still was able to miss diagnose Black and female patients? I am curious of the mechanism for this. Can it just tell which x-rays belong to Black or female patients and then use some latent racism or misogyny to change the diagnosis? I do remember when it came out that AI could predict race from medical images with no other information[1], so that part seems possible. But where would it get the idea to do a worse diagnosis, even if it determines this? Surely there is no medical literature that recommends this!

[1]https://news.mit.edu/2022/artificial-intelligence-predicts-p...

mhuffman··on California bill aims to phase out harmful ultra-processed foods in schools
>Plenty of schools in the US have kitchens and cook their foods from scratch...

Well, plenty of schools in the US used to cook food from scratch! They even had awesome cookbooks provided by the US government![1] (btw, it includes the recipe for that bomb-ass school pizza they used to have in the 80s and 90s! Credit to Max Miller from Tasting History for tracking it down.) That started getting privatized in the late 90s. Now they mostly just heat up things.

[1] https://archive.org/details/CAT92970475/mode/2up

mhuffman··on Has the decline of knowledge work begun?
>The way I see it you only have two real choices:

Unfortunately, due to the way politics and money work in the US, we have zero real choices...

>1. Raise wages to match global increased productivity

This is blocked by our two-party political system. Openly by Republicans (at the moment) and practically by Democrats. Both of our political parties seem to serve the people that actually pay them (ie. rich business owner donors) vs. people that vote for them. At least if it comes down to a problem between the two. This is shown in sharp relief in the famous chart by Martin Gilens showing which laws get passed in the US based on interest group.

>2. Democratize ownership

This is blocked by actual owners. Money equals ownership in the US. So, perhaps we can use our dollars and spend a certain way, one might think. Just BlackRock, Vanguard, Fidelity, and State Street combined have more assets under management than the entire United States GDP, and they are just 4 companies. Good luck!

>That's it.

That is probably not it, but if it is we are fucked!

mhuffman··on Improving recommendation systems and search in the age of LLMs
IMHO it depends on the types of things you are recommending. If you have a good way of accurately and specifically textually classifying items it is hard to beat the performance of good old-fashioned embeddings and vector search/ANN. There are plenty of embeddings that do not need GPU like the newer LLM-based ones all crave. Word2Vec, GloVe, and FastText are all high-performance and you wouldn't need GPUs. There are plenty of vector-search libraries that are high-performance and predate the vector-db popularity of late, so also would not depend on GPUs to be high-performance. Most are memory-hungry however, so something to keep in mind. That performance, especially with the embeddings, will come at the cost of loss of some context. No free lunch.
← PreviousPage 4 of 34Next →