Readit News logoReadit News
mungoman2 commented on Okmain: How to pick an OK main colour of an image   dgroshev.com/blog/okmain/... · Posted by u/dgroshev
bee_rider · 20 hours ago
I’m surprised the baseline to compare against is shrinking the image to one pixel, that seems extremely hacky and very dependent on what your image editor happens to do (and also seems quite wasteful… the rescaling operation must be doing a lot of extra pointless work keeping track of the position of pixels that are all ultimately going to be collapsed to one point).

So, making a library that provides an alternative is a great service to the world, haha.

An additional feature that might be nice: the most prominent colors seem like they might be a bad pick in some cases, if you want the important part of the image to stand out. Maybe a color that is the close (in the color space) to the edges of your image, but far away (in the color space) from the center of your image could be interesting?

mungoman2 · 19 hours ago
Tbh shrinking the image is probably the cheapest operation you can do that still lets every pixel influence the result. It’s just the average of all pixels, after suitable color conversion.
mungoman2 commented on Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting   github.com/moongate-commu... · Posted by u/squidleon
godrae369 · 8 days ago
Hey man, read your breakdown on the Moongate architecture. Using Source Generators for DI and Lua for behavior decoupling so you never have to recompile C# is a beautiful setup. Strict domain separation is the way to go. I saw your 'What's missing' list includes NPC AI. I build AI agent workflows. Instead of building traditional, boring finite-state machines for NPCs, what if we plugged an LLM microservice into your Lua scripts? We could give key NPCs actual contextual memory and dynamic dialogue. Players could physically type to a merchant, negotiate prices, or ask for rumors, and the NPC would generate a response strictly within the lore of Ultima, triggering the correct Lua events (like handing over an item or opening a door). Since you have the packet layer and Lua environment solid, the integration would be incredibly clean. I'd love to contribute and map out the AI logic for this if you're open to exploring it.
mungoman2 · 8 days ago
This is a very fun idea. Would also be very interesting to see if one could have a system where talking to an NPC could alter the world.

One maybe obvious way would be that asking for rumors will actually creates the scenario that the NPC describes.

mungoman2 commented on Something is afoot in the land of Qwen   simonwillison.net/2026/Ma... · Posted by u/simonw
janalsncm · 10 days ago
Anthropic has one nine of uptime right now. One.

https://status.claude.com/

If AI could effectively replace people, you wouldn’t need CEOs to keep trying to convince people.

mungoman2 · 10 days ago
Not sure what the uptime is meant to signal. People have quite low uptime as well…
mungoman2 commented on Show HN: I built a sub-500ms latency voice agent from scratch   ntik.me/posts/voice-agent... · Posted by u/nicktikhonov
jedberg · 11 days ago
Oh, this is really interesting to me. This is what I worked on at Amazon Alexa (and have patents on).

An interesting fact I learned at the time: The median delay between human speakers during a conversation is 0ms (zero). In other words, in many cases, the listener starts speaking before the speaker is done. You've probably experienced this, and you talk about how you "finish each other's sentences".

It's because your brain is predicting what they will say while they speak, and processing an answer at the same time. It's also why when they say what you didn't expect, you say, "what?" and then answer half a second later, when your brain corrects.

Fact 2: Humans expect a delay on their voice assistants, for two reasons. One reason is because they know it's a computer that has to think. And secondly, cell phones. Cell phones have a built in delay that breaks human to human speech, and your brain thinks of a voice assistant like a cell phone.

Fact 3: Almost no response from Alexa is under 500ms. Even the ones that are served locally, like "what time is it".

Semantic end-of-turn is the key here. It's something we were working on years ago, but didn't have the compute power to do it. So at least back then, end-of-turn was just 300ms of silence.

This is pretty awesome. It's been a few years since I worked on Alexa (and everything I wrote has been talked about publicly). But I do wonder if they've made progress on semantic detection of end-of-turn.

Edit: Oh yeah, you are totally right about geography too. That was a huge unlock for Alexa. Getting the processing closer to the user.

mungoman2 · 11 days ago
I think you’re implying that it would be useful to have the LLM predict the end of the speaker’s speech, and continue with its reply based on that.

If, when the speaker actually stops speaking, there is a match vs predicted, the response can be played without any latency.

Seems like an awesome approach! One could imagine doing this prediction for the K most likely threads simultaneously, subject by computer power available, and prune/branch as some threads become inaccurate.

Deleted Comment

mungoman2 commented on Show HN: I created a Mars colony RPG based on Kim Stanley Robinson’s Mars books   underhillgame.com/... · Posted by u/ariaalam
api · a month ago
Climate change is a great example of a horrid game theory problem. Solving it requires an all cooperate pact as long as fossil fuels remain one of the easiest cheapest ways to get power. As long as that’s true, any defector can outcompete everyone in industrial production and creating a higher standard of living.

The other way to beat this is to advance renewable or nuclear power or both to the point that these options are cheaper than fossil fuels, which changes the game by making defection much less profitable.

I personally think that's the only way that's likely to work. As long as fossil fuels are the cheapest easiest route to prosperity, even if the rich world makes (and actually keeps) a climate change pact there's going to be an enormous temptation for developing countries to be like "fuck you, we're poor." Poverty, as in real grinding poverty, really really sucks.

mungoman2 · a month ago
But renewable is already cheaper than fossil fuels. Why don't we see this already?
mungoman2 commented on AI fatigue is real and nobody talks about it   siddhantkhare.com/writing... · Posted by u/sidk24
mungoman2 · a month ago
IMHO, this is not really about AI, it's about setting boundaries and not overwork yourself.
mungoman2 commented on My iPhone 16 Pro Max produces garbage output when running MLX LLMs   journal.rafaelcosta.me/my... · Posted by u/rafaelcosta
mungoman2 · a month ago
Good article. Would have liked to see them create a minimal test case, to conclusively show that the results of math operations are actually incorrect.

Deleted Comment

Deleted Comment

u/mungoman2

KarmaCake day402July 14, 2014View Original