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 1y ago · link · parent

- Click "Start Writing"

- Start typing, nothing happens

- Editor apparently didn't focus, I try clicking anywhere on the page to give text editor focus

- Editor doesn't focus when you click on it?

For being an experience "all about writing", I sure don't understand how to get started? I click in the middle of the page, but nothing is focusing? Using Firefox 145.0.1.

comment 1y ago · link · parent

Great re-iteration of my point :) Written for anti-trust regulators, intentionally misusing the words they'd use, but with very different meaning. Hopefully professionals will see through their thin veil.

comment 1y ago · link · parent

You make bad comments because I can't understand the point you're trying to make. I'm am engineer, I make choices based on informed tradeoffs, anything else would be sub-standard. Not sure why you think I only consider advantages, but I'm afraid asking you for clarification will just lead to more ramblings.

comment 1y ago · link · parent

They have a streaming platform though! Sony Pictures Core. Seems half the comments in this submission is just straight up guessing and assuming whatever guesses they make are correct. Would take like 30 seconds to just fact-check what you're about to write.

comment 1y ago · link · parent

> Terraform has modules which are an elaborate method of doing function calls

... What? How is modules a function call? It's just a hierarchy, everything about/with modules is still declarative.

> HCL 2 has loops and conditionals. It is most definitely imperative.

So what? Just because there is loops and conditionals doesn't mean it's suddenly imperative.

How exactly you do loops in HCL? Last time I used it, you still used declarative configuration for that, and use `for_each` as an declared option, you don't "call for_each which returns config", all that happens inside of HCL/TF, because it is declarative.

Did something change like yesterday or are people even here on HN so ignorant about what declarative vs imperative actually means?

comment 1y ago · link · parent

> Most notably Sony which produced TVs, Computers, DVD players, Media Centers. They owned a movie studio and record label.

They still do all those things? And they're still successful in most of them? They haven't "failed" or "dropped the ball" based on any metric I can think of. I'm not sure what you're referring to here to be honest.

comment 1y ago · link · parent

I spent more time than I'm willing to on large Terraform projects. How exactly is this relevant to declarative vs imperative or even my comment at all? I don't see what the "gotcha" is supposed to be here.

comment 1y ago · link · parent

> I guess you are in the US.

I am not, and WB was available via local options here (Southern European country).

For me who isn't a Netflix customer (the group which is larger than the group of people who have Netflix, obviously), the choice gets less.

And obviously anti-trust regulation doesn't care about the amount of choices for Netflix customers specifically, it cares about amount of choices for consumers at large, which will decrease with this change.

comment 1y ago · link · parent

> WB content is not globally available, Netflix content is.

Neither are "globally available" as "globally" includes countries that are currently under US embargo, and both those companies are US companies who (supposedly) follow US law.

What you're welcoming isn't "I didn't have access before, now I do!" but rather "I could give Company A money to see this, now I can give company B money to see the same!" which I guess you're happy about, but other's obviously see it for what it is, no practical change except for shareholders.

comment 1y ago · link · parent

> All these started with pure declarative DSL then incrementally created a nightmarish imperative monstrosity.

"Huh?" I asked myself when you mentioned that Terraform is now imperative somehow. Took a look at the website again, and seems to still be HCL, and still be declarative. Am I missing something? How exactly is Terraform today a "imperative monstrosity"?

comment 1y ago · link · parent

It was shocking the first time I showed a lisp program to a (particularly "annoyed by everything") non-lisp developer who never apparently saw s-expressions before. Lots of knee-jerk reactions of "Oh my god so many parenthesis" and "How could anyone program like this?" while they sat there smug with their TypeScript codebase having more special characters, syntax and the same amount of parenthesizes, only because the opening parenthesis is one symbol to the left, instead of in the middle of the calls...

comment 1y ago · link · parent

> every declarative language becomes a programming language.

Overly pessimistic, lots of non-programming languages remain non-programming languages. Just because one of the most widely used declarative languages start adding conditionals doesn't mean the whole world is turning upside down...

> The distinction between code, config and data is being erased.

As as lisp programmer, I love it. Get rid of treating things differently, make everything the same and make everything work with everything, code should just be data.

comment 1y ago · link · parent

So when they say "Consumers", it should really have been "Netflix Customers", as for everyone else there is less choice, only already paying Netflix users get more content.

comment 1y ago · link · parent

Considering the words they're using across the announcement, it seems they're well aware what this will trigger, everything seems carefully chosen so someone can later point at this announcement and say "See, we think this will add MORE user choice, not less, which is good for competition!".

comment 1y ago · link · parent

> Combination Will Offer More Choice and Greater Value for Consumers, Create More Opportunities for the Creative Community and Generate Shareholder Value

No doubt about the last part, but how does merging two giants create "More Choice"? I know corporate double-speak is already out of control and I know they're writing whatever they can do avoid regulators who surely are looking into the acquisition, but surely these executives cannot believe acquisitions lead to more choice, right?

comment 1y ago · link · parent

Four steps to reproduce locally:

    cd $(mktemp -d)
    curl -O https://raw.githubusercontent.com/embedding-shapes/niccup/refs/heads/master/examples/quine/flake.nix
    curl -O https://raw.githubusercontent.com/embedding-shapes/niccup/refs/heads/master/examples/quine/build.nix
    nix build
    python -m http.server -d result 8000

6707.

A quine made with Nix and HTML(embedding-shapes.github.io ↗)

1 points · by embedding-shape · 1y ago · 1 comment

comment 1y ago · link · parent

> No idea if that's actually what it was, but it's plausible if you're doing sub-gram weighing?

Yes, even dust particles landing on the scale can impact the reading, which is why when you're measuring really small things and want to be precise, you usually have a little glass/plastic cube around the entire thing too.

Also frequently used for people who measure drugs for various purposes.

comment 1y ago · link · parent

> I personally use my smart watch for NFC payments

But not Google Wallet, and with GrapheneOS as the connected device?

comment 1y ago · link · parent

> may feel differently about releasing the source

Still sounds like something someone would change their mind about if enough money was involved, if only Epic had enough profits.

comment 1y ago · link · parent

... What are you using instead and is it as easily triggerable by some shortcut?

comment 1y ago · link · parent

Sounds you only need to create the APIs for calling into WASM if so, so as long as your language of choice can do that, you're good to go.

comment 1y ago · link · parent

> which was more action movie styled and less realistic

Another HL mod I remember fondly in similar veins is "The Specialists". If I remember correctly, it came out around the same time as The Matrix, and had all the fun moves like running on walls in slowmo, jumping forward/sideways and shooting in slowmo, and lots of other stuff. I think I recall it being possible to play both in 1st and 3rd person too, something that was kind of new at that point, unless I misremember.

I think at that I point I probably spent as much time with The Specialists as with Counter-Strike itself (and a cracked copy of 3DS Max 8 for making my own models of course).

comment 1y ago · link · parent

You should consider including whatever point you are trying to make in the comment itself, instead of just a swipe without any details.

comment 1y ago · link · parent

> but presumably it was NextJS's fault all along.

So lazy, why are you presuming so? You just had to get to the second paragraph of the article to avoid spewing FUD...

> This vulnerability originates in the upstream React implementation (CVE-2025-55182

comment 1y ago · link · parent

> I think we are getting a rude awakening about what is legal versus what is actually right are not always the same thing.

I'm not sure who "we" are here (Americans perhaps?), but humanity as a whole have known this for a long time, and acted accordingly. This is why presidents in some countries have the right to pardon people, as just one very evident example. That the USA exists as a country today is another example, which at the time when they were trying to create it, was clearly illegal, but since winners write history, still a "good" action.

The the laws aren't 100% unambiguous and strict is also another example, so there is room for interpretation, as something can be "by the book legal" but because of the clear evil motivations and "ignoring the spirit of the law", still be illegal. Of course, highly dependent on the country and lots of counter-examples.

comment 1y ago · link · parent

> and now both Java and JavaScript are owned by

"Now" makes it sound like this is a recent acquisition of the JavaScript trademark. Oracle obtained it in 2009 as a result of the Sun purchase and if I remember correctly, Sun initially was issued the trademark back in the 90s sometimes.

comment 1y ago · link · parent

> because it's a way better name (much less confusing, given that this lang doesn't have anything to do with Java anyway).

Probably if we were in the early 2000s this could have been a battle worth fighting. But considering we're in 2025 and probably more people are aware of JavaScript than Java at this point, even when you're deep in enterprise-land, I'm not sure it'd be less confusing.

Anyways, you're about two decades too late to this discussion :/

comment 1y ago · link · parent

As another Nix person who’s just made public a Nix -> HTML library (https://news.ycombinator.com/item?id=46139067 ), I’m curious what you think about a syntax like this instead?

    [ "div#main.container" { lang = "en"; } [ "h1" "Hello" ] ]
Would turn into:

    <div class="container" id="main" lang="en"><h1>Hello</h1></div>
I think I've hit the sweat-spot with the hiccup-inspired way of just using Nix data, and avoids a whole shebang of templating issues since it's not actually templates, just Nix data and expressions.

6720.

Show HN: Niccup – Hiccup-Like HTML Generation in ~120 Lines of Pure Nix(embedding-shapes.github.io ↗)

2 points · by embedding-shape · 1y ago · discuss

1
223224225
253