Better HN
topnewbestaskshowjobs
Log inSign up

embedding-shape

21,526 karma · joined Oct 27, 2025 (1y ago) · 7,589 submissions

It's only in jest, don't take it so seriously.

https://emsh.cat

embedding-shapes@proton.me

Submissions

comment 2mo ago · link · parent

I'd give you $100K no questions asked if you manage to get something even close to Resolve with 2K Astra/Fable prompts, polish included. You vastly underestimate how much work goes into "polish" when software with huge surface area is decades old.

comment 2mo ago · link · parent

> But this whole line "but it won't replace the real experience and taste required for larger projects" is not how I see it.

Why not? Personally (although I'm not saying others have to see it this way too), I'd wait until I can see what AI can replace, before believing so, rather than the opposite.

So far, AI isn't able to "set direction" at all in any sensible way, especially for a creative project like TV or movies, the results are just too bad (today). Although it's excellent at "following directions", which is why these new APIs are great and exciting, it lets people who are good at setting direction to leverage these tools to have the direction concretely followed by something, without having to create a group of collaborators.

Until we've seen proven that AI can indeed "set directions" ("have taste"), I think it's fair to assume they're unable to do so in a way that it produces something that humans generally enjoy. And very far from the kind of masterpieces a human can create.

comment 2mo ago · link · parent

I'm not complaining either, I wouldn't call myself a video editor, but I do end up spending some of my time in Resolve, and anything to remove the dreadful monotonous tasks of editing interviews is welcome. Although Resolve already makes it pretty easy, with the "edit by moving the transcript around" feature which is amazing. Anyway, I'm happy about being able to sick Codex at Resolve now :)

comment 2mo ago · link · parent

Not even BMD is safe from the agent apocalypse:

> DaVinci Resolve 21.1 now supports integration with AI assistants such as Claude, Claude Code and ChatGPT Codex, allowing customers to analyze projects, organize media, adjust settings and batch render using everyday conversational language. Customers can ask their AI assistant to create highlight edits from long form video, remove unwanted clips and render deliverables, so they can spend more time being creative rather than getting bogged down in repetitive tasks.

comment 2mo ago · link · parent

Uuuh, where has that been all this time?! And also, why isn't this the default behavior in core or at least optionally so, rather than a somewhat hidden plugin?! Fake outrage aside, thank you for the pointer. I did read it above, thought it was talking about something else, re-read it now and actually understood it, thanks for sticking with it! :)

comment 2mo ago · link · parent

Simplest general way is literally asking the model for the X and Y coordinates to click, given an input image. Tends to work with most multi-modal models, although some have better accuracy than others, obviously.

More involved integration, would be to expose reading and writing to the game state or character controls via tools that the LLM can use (either in your own harness however you want, or via MCP). This is basically what most "AI tooling" connected to editors do today, one way or another, with fallback to "click on this UI element after taking a screenshot" often, or "simulate click on this widget with #id".

So given a goal, the LLM would first call check_inventory(), then craft_building(:building), then walk_to_coords(x,y), then build_building(:building) and so on, which tends to indeed be a lot faster than doing it by screenshots and inferring coordinates.

Ultimately I think the harness and prompt matters more than the model here, but I guess what they're exploring, is the shortest possible prompt to have it do it correctly. Otherwise, setting your harness to "Continue until you've launched a rocket in the game" together with a bunch of added rules to the prompts as you discover where it gets stuck, is an easy way to probably get most LLMs to be able to do this correctly and relatively fast. Some of them requires more handholding than others, which I guess might be another thing they're testing for here, it isn't 100% clear what the intention/motivation nor exact environment was/is.

Edit: As fitting as it is, I was just trying out the Unreal Engine Editor MCP/tools for the first time with Codex, which ended up also being a good example for how a "real turn" would look like, with a LLM connected to some other editor: https://gist.github.com/embedding-shapes/b16c50ed591569d3c70...

comment 2mo ago · link · parent

> "If you have to ask, you can't afford it." -J.P. Morgan

Such a shit quote, how would you/they know what I can afford or not? Famously rich people's hubris, nothing more.

comment 2mo ago · link · parent

Oh, I thought we were talking about Jellyfin's "extract subtitles on the fly when playing", which I think is how it works by default, which is what I described before.

If it's a async process that runs on import/update of the library, that sounds great. I'm guessing we're/you're talking about Bazarr then? Although I don't see it explicitly mentioned in this thread earlier. Or some other application?

comment 2mo ago · link · parent

Yeah, of course if you're a large service, stuff that works for SMEs isn't gonna work for you...

If your problem is AI crawlers, then simple rate limits help, I've helped countless of businesses with this already. For the ones that it isn't enough, you continue adding more roadblocks. There is no "one size fits all here" and that you seemingly is under that belief, leads less credence to what you're saying, not more.

comment 2mo ago · link · parent

Literally the graph you posted agrees with me. Most "cyber attacks" are phishing according to that graph, which I'd argue is less of an technological attack and more social engineering.

Second most answered option was "No cybersecurity incident" shared with "Malware". The least experienced type of attack was DDoS, which is exactly what I claimed too, DDoS attacks are way less common than the internet at large seems to believe.

> Your personal experience of DDoS being super rare doesn't seem to match the real world.

What I claimed was that DDoS attacks where the attackers pipes are larger/can send more traffic than your pipe can handle, is extremely rare. The typical script kiddie DDoS which is more easily managed, is much more common, in that I agree.

comment 2mo ago · link · parent

Because it lets you use it as a geographically distributed cache basically. Most GET requests should be able to be cachable on the typical website, besides the ones that are unique per logged in user or similar.

If your server is in Europe, and you have Australian users, there is a physical limit how low the response times can go, serving bits over that distance, so only way you can make it go below that limit, is by moving where you serve the data from closer to the user.

Lots of websites have horrible performance for whatever reasons, and lots of freelancers/consultants basically default to throwing a CDN on top of those when they get approached by businesses to fix the slow website browsing, as they're not the ones who have to pay the monthly subscription, and the less work they have to do, the better $ per hour spent for them.

I agree that it's a shit solution and there is much better sustainable ways of solving these things.

comment 2mo ago · link · parent

That graph is useful for the people who think DDoS is the biggest issue or even a big issue typically: https://www.bdc.ca/globalassets/digizuite/55250-canadian-sma... "Percentage of Canadian small businesses that have experienced a cybersecurity incident"

The data from the graph: Phishing 61%; Malware 27%; Network intrusion 12%; Ransomware 12%; Data breach 7%; DDoS 5%; No cybersecurity incident 27%.

comment 2mo ago · link · parent

Oh, I missed that. Interesting non-answer regarding AI, seems almost obvious by now they don't even consider it a concept in the real world. Back when I lived in Sweden the politicians were already pretty disconnected from the average person, but in regards AI they seem to be intentionally avoiding it and sleeping on it?

comment 2mo ago · link · parent

Great, more misinformation. "Europe" doesn't block access to Cloudflare on weekends in either Spain nor Italy. Source: I live in Spain, and I'm affected by the blocks you're referring to, that happen because of shitty Spanish judges forcing Spanish ISPs to block access to specific Cloudflare properties.

Why not take even two seconds to check if what you're guessing about, might actually be correct or not? Or the goal is just FUD here?

> And yet, this hasn't deterred European businesses from using Cloudflare and blocking their own customers.

Maybe because the impact of these blocks aren't as large as you allude to? Things change, these blocklists get updated. What was blocked 6 months ago no longer is, when these anti-piracy blocks happen.

Don't get me wrong, I don't agree with these blocks at all, and AFAIK, they break both national laws and wider "rights", but lets not pretend it's bigger than what it is in reality.

comment 2mo ago · link · parent

> Once you get 3gbit traffic on your 1gbit link, you can't do anything yourself - the only thing that can save you is a bigger pipe.

Realistically, out of the DDoS we typically see, how many are in fact "they had bigger pipes than you"? I've come across that once in my ~3 decade career maintaining infrastructure for websites, some quite popular. Most of the time the attacks are relatively low-effort and easy to stave away, there been one time when the attacker seemed to have basically endless amount of resources, and yes, that time we ended up with emergency calls to Akamai.

But again, those sort of attacks seem to happen seldom, and I don't think people should default to trying to prevent them. Deal with that once you get there, because most websites and services never get there in the first.

comment 2mo ago · link · parent

> Even the urgency present during January's Greenland threats was gone after a few months.

There are troops deployed on Greenland right now ready to defend the island. The threat is not gone from the minds of the people there or in the rest of Europe just because you stopped reading about it on CNN or whatever.

Edit: I got curious if this part is even possible:

> leaving NATO completely

Apparently not. Congress enacted a specific prohibition in 2023, now codified at 22 U.S.C. §1928f. It says that the president may not "suspend, terminate, denounce, or withdraw" the US from the North Atlantic Treaty unless either two-thirds of senators present consent, or Congress passes an Act authorizing it. It also prohibits federal funds from being used to carry out an unauthorized withdrawal.

Seems some parts of the US has indeed managed to setup defenses against such idiocracy.

comment 2mo ago · link · parent

Your webserver most likely have "rate limiting" built in already, which you can configure to act based on lots of variables typically. Set a limit of 1 req/s or whatever, and you've stopped 99% of all DDoS you'll encounter on the public web. If your visitors get cranky, up it to 10 req/s and you still are preventing most of the "abusive traffic", granted your backend/website isn't completely upside down when it comes to performance and resource usage.

CDN is something you do once you run out of options, not something you should reach for immediately, it makes no sense in most cases of just hosting a website.

comment 2mo ago · link · parent

Depends on your use case.

If you have a very inefficient backend (maybe legacy project?), you have massive amount of traffic (say 100K req/s or above) or you really must have sub-500ms latency absolutely everywhere in the world, then it might make sense to slap a CDN (or similar) on top of that.

In pretty much any case outside of that, it makes no sense to waste the time, money or effort on CDNs. But, all the CDN companies seemingly have convinced half the internet that you absolutely must use a CDN, otherwise you'll get hacked/broke/killed/sent to the moon, and they've been successful with this campaign too seemingly.

comment 2mo ago · link · parent

> now you can get by on a $200 a month plan for a small business

You're delusional if you think that $200/month is appropriate for a small business to pay to host a website... Most websites don't need a CDN nor DDOS protection, you need to configure your webserver to rate limit stuff that suck bandwidth/CPU from you, but besides that, you've basically fallen for the marketing from Cloudflare that everything requires CDN and that somehow $200/month is a small amount of money for a small business.

comment 2mo ago · link · parent

> Doing it in a way that won't invite retaliation from the US Gov (which seems more and more like the PR arm of US big tech) is even trickier.

I'm thinking the opposite might be the way to go here.

We already know that "retaliation" comes from the US government regardless if you did something or not, so most of us (Europeans) have stopped pretending there is a way of preventing it.

Even more, if we piss off Trump enough, he might be dumb enough to try to block European access to CloudFlare, or something similar and maybe even dumber.

So with this, maybe the goal should actually be to try to piss off Trump and the US administration as much as possible, in order for them to start reacting and cutting off some stuff, so we (again, Europeans) basically gets forced off CloudFlare et al.

Lots of companies already finished moving away from storing their primary data in the US, lots of companies is in process of doing so (albeit some look like they'll take forever) but also lots of companies still aren't prepared for the future, would be nice if US government could make the decision a bit easier for them to make :)

comment 2mo ago · link · parent

> I can hardly imagine there being so many more big companies in the UK, so it's either cargo-culting webscale deployment in the UK, or usage of more conservative stacks in France and Germany?

Maybe our countries are just small enough to not be overwhelmed by traffic? Most websites I've built and launched for Spanish national companies, that only have other Spaniards as users and customers, haven't needed any CDN at all, because you don't suddenly get 1K req/s. Meanwhile, launch a global website in English, that even get the slightest amount of popular, and all of a sudden you reach 1K req/s very quickly. Add on top that people usually don't even give two cents about performance, and adding CDN on top as a saving grace seems like an easy tradeoff.

So, why add a CDN when you don't need it? :) Probably 80% of everything I've ever deployed never needed a CDN in the first place, but I also save it as a thing in my toolbox to be used sparingly, rather than a default thing I slap on top of everything.

comment 2mo ago · link · parent

> nerd life seems to get lonelier the older you get.

Nerds always thinks they're special :) This is the same for most people in the world.

comment 2mo ago · link · parent

I think you don't want to do the "extract embedded subtitles" method, it's slow as hell and downloading external subtitles is much faster than the built-in extract, at least for HDR+4K mkv video which is what we end up with the most. Can take up to a minute for a 40 minute episode to extract the subtitles, which means you'll need to pause for a minute before you can watch with subtitles, with a 5950X CPU.

comment 2mo ago · link · parent

> Sentiment analysis prompt primes the model to be bullish on

Eeh, yeah? At that point I'd stop reading the code and just leave the project behind. How exactly is the prompt doing this right now?

925.

The Full-Source Bootstrap: Building from source all the way down (2023)(guix.gnu.org ↗)

59 points · by embedding-shape · 2mo ago · discuss

comment 2mo ago · link · parent

> then that would argue for having "modules" between 5,000 and 50,000 loc, depending on which AI model you are using.

FWIW, I set hard limits to 200 LOC for every single source code file in any AI-related projects, also with restrictions on "formatting hacks" and other golf-like stuff.

I think beyond 5000 LOC in a single file and all available models already get lost frequently, even if the "context limit" theoretically is way above that. Maybe aim for like 1K LOC at max unless you want to have lots of misunderstandings.

comment 2mo ago · link · parent

There been some people doing the whole "one man band" thing with a back pack drum, guitar and harmonica. I bet someone crazy enough could do one instrument per limb + harmonica and maybe even a theremin with some remaining appendage too.

928.

The Aviation Herald was sued – July 31st 2026(avherald.com ↗)

3 points · by embedding-shape · 2mo ago · discuss

comment 2mo ago · link · parent

> both the X4 Pro and the X3, and surprisingly (to me) I prefer the x3 for everything but reading in the dark

Interesting, as a new owner (CrossPoint user though) who loves my X4 Pro so far, it makes me wonder what the X3 is better at for you?

1
303132
253