Better HN
topnewbestaskshowjobs
Log inSign up

embedding-shape

21,524 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 11mo ago · link · parent

Where can one find these people online? As they are seemingly not on HN, and as a European with similar views, it would be fun to get closer to them.

comment 11mo ago · link · parent

You're changing the point though, you claimed "I don't find that dynamic typing reduces the number of places I need to update stuff", which just because your editor makes the change, doesn't suddenly make the change not show up in the diff for you and others. A change is a change, regardless of how it's made, unless you don't keep your code in a SCM that is, which I'm assuming most of us do.

I'm not saying it's hard to change types in TypeScript, I understand that your IDE is connected with the language and they're used together, but again my argument was that having types leads to having to change things in more places. Which is true too, and it's a good thing, it's on purpose, and the tools you use help with that, so yay for that! But it's still more changes, and at least for me it's important to be honest about the tradeoffs our choices leads us to.

As I mentioned earlier, I'm fan of static typing in many situations, just not all of them. And I'm not blind to the negatives they can bring too, I guess I just see more nuance in the static typing vs dynamic debate.

comment 11mo ago · link · parent

Shockingly, I don't believe the results will be anarchy and constant regional conflicts. But it's interesting that some people still seem to believe the US idyllic propaganda about how safe they're keeping the world.

comment 11mo ago · link · parent

Lets see what happens when the invasion of Venezuela kicks off, either the world tries to prevent yet another authoritarian government from bullying those who are already on the ground, or we'll join in on the fun I suppose, if the US feels like it wanna share the future loot.

comment 11mo ago · link · parent

> which are near universally poorer than all US states, are able to do these things

What do you mean that the countries are poorer? Are you just thinking about the gross salary people get per month, or is there something else in this calculation?

The fact that people get health care, parental leave, can freely move between countries, able to afford having a child, have emergency services that arrive relatively quick and all those things mean that a country is not poor, and the countries that don't have those, are "poorer", at least in my mind. When I think "poor country" I don't think about the GDP, but how well the citizens and residents are protected by ills.

comment 11mo ago · link · parent

Yeah, money machine go brrrr is a great sign of "footprint", lets just ignore millenniums of inventions, technology and others things coming from Europe, before the US was even a colony. Texas GDP was $x millions last year, clearly larger footprint on the world :)

It's actually pretty fun and interesting the different bubbles we all live in, for better or worse.

comment 11mo ago · link · parent

I'm not talking about the USG... Yes yes, it's great work and no drawbacks, particularly not considering the moral and ethical implications. But please do continue try to help them recruit while purposefully misunderstand what I write.

comment 11mo ago · link · parent

It's actually a fun demo, that shows a fairly common difference between Europeans and Americans. The demo is mostly about comparing GDP, while HDI or something else more "human" is left as an exercise to the reader. If someone was doubting Americans only care about money, now you have some more evidence :)

comment 11mo ago · link · parent

> If you wanted to reference the saying about people living in glass houses throwing stones

Well, I didn't, I referenced exactly what I wanted to reference. It's OK to go back into the cave now.

comment 11mo ago · link · parent

> This is a thing you can only say if you know very little about the talent pipeline for actual espionage technology in the USG

Or something one might want to say if they want to still have plausible deniability about not having been there, yet still want to say something. Who knows.

comment 11mo ago · link · parent

> Participants will work on high-impact technology initiatives including AI implementation, application development, data modernization, and digital service delivery across federal agencies.

> The initial roster of private sector partners includes Adobe, Amazon Web Services, AMD, Anduril, Apple, Box, C3.ai, Coinbase, Databricks, Dell Technologies, Docusign, Google Public Sector, IBM, Meta, Microsoft, Nvidia, OpenAI, Oracle, Palantir, Salesforce, SAP, ServiceNow, Snowflake, Robinhood, Uber, Workday, xAI, and Zoom. This list will expand over time.

Ever wanted to get involved in government-sanctioned espionage technology? This seems like an recruitment effort for that. Applicants beware. Remember that in just 3 years this will stop helping you to get hired, and will probably look like a blemish on your CV when you eventually need to get a new job.

comment 11mo ago · link · parent

You do realize that there are stable countries that still exist today, that haven't been run by tyrants for very long time, and also are older than US been a country? Or even created before the US was a little British colony looking for purpose in the world?

It seems like Americans forget how young their country is, it's barely a blimp in history so far, although recent written history makes it seem a lot older than it is.

comment 11mo ago · link · parent

Right, but you do realize that sentences can mean more than just the literal meaning it historically had?

Christ, we really need reading comprehension classes and ideally poetry classes or something similar, since people are unable to read more than the actual characters today it seems... Seems extra problematic in software/programming circles, maybe we need to add arts classes to science programs too?

comment 11mo ago · link · parent

> In your Typescript example, the solution would be to use your IDE to refactor hosts to hostnames

Yeah, sure, and with LLMs you can do this, and you can do that. But if we're talking about languages and their features, relying on IDE features feels slightly off-topic.

But regardless, changes is changes, no matter if you, your IDE or your LLM made them. So even if your IDE makes the changes, it seems at least you can now agree that there are more changes needed, it's just that with TypeScript you have a editor who can help you refactor, and with JavaScript you haven't yet found an editor that can do so.

> So I don't need to bother writing tests for "what if this parameter isn't set" or "what if this function returns something unexpected".

Yeah, those unit tests does nothing, and people who write in dynamic languages don't write tests like that either. You test actual logic, in unit tests, and you rely on the signals that gives you.

In fact, I could bet you that if you and me both sat down and wrote the exact same application, one in JS and one in TS, we'd end up with more or less the same amount of unit tests, yet the JS codebase will be a lot more flexible once product requirements start to change.

But again, YMMV and all that, it's a highly personal preference. I don't think there is a ground truth here, different minds seem to prefer different things. I mostly work in environments where the requirements can change from day to day, and being able to adopt to those without introducing new issues is the most important thing for me, so with JS I stay.

comment 11mo ago · link · parent

> rock to stone someone to death

Not sure where you get this from?

For me it means even "evil" people/countries can raise valid points, nothing more, nothing less.

comment 11mo ago · link · parent

No, that's not the right takeaway, at least for me. For me it means that even if a country isn't perfect, doesn't automatically mean they can't be against others doing harm.

comment 11mo ago · link · parent

Well, the article is literally about what happens when you're a leader of such movement, not if you're a random person on the street talking with other random people.

People are generally not super closed nor open about it, although some individuals were more closed about it. Most seemed honest when asked about it, but again, YMMV.

comment 11mo ago · link · parent

> let him who is without sin cast the first stone

And all that. We're all evil at one point or another, from someone's perspective.

comment 11mo ago · link · parent

They decided to stop being a world police, and correctly so. Now we're just waiting for US to understand the same thing, which is slowly happening, finally.

comment 11mo ago · link · parent

Some do, some don't. I was there recently, most of natives who I spoke to didn't really care that much, and the people who cared, was basically 50/50 between agreeing to more Chinese control vs against. Still, I'm a foreigner, so I'm likely not getting the full picture, people don't exactly go around flagging they're opposing China's crackdown, so YMMV.

comment 11mo ago · link · parent

Recommended reading on that: One Country, Two Systems in Crisis: Hong Kong's Transformation - Wong, Yiu-chung (2004)

In summary, since 1997 it has for all intents and purposes been abandoned.

comment 11mo ago · link · parent

Go back a couple more years, and the UK is probably more relevant to bring up (especially considering the context), they used to have similar aspirations before they learned better.

comment 11mo ago · link · parent

Just one simple and contrived example I could come up with the five minutes I had available:

JavaScript:

  // rename host -> hostname, update ONE place
  function connect(opts) {
    const host = opts.hostname ?? opts.host; // compat shim
    return `tcp://${host}:${opts.port}`;
  }

  // old call sites keep working
  connect({ host: "db", port: 5432 });
  connect({ host: "cache", port: 6379 });

  // new call sites also work
  connect({ hostname: "db", port: 5432 });
TypeScript:

  // same compat goal, but types force propagation unless you widen them

  type Opts = { port: number } & ({ host: string } | { hostname: string });

  function connect(opts: Opts) {
    const host = "hostname" in opts ? opts.hostname : opts.host;
    return `tcp://${host}:${opts.port}`;
  }

  // If instead you "just rename" the type to {hostname; port},
  // EVERY call site using {host; port} becomes a compile error.
Again, this is just a simple example. But multiply 100x + way messier codebases where everything are static types and intrinsically linked with each other, and every change becomes "change -> compile and see next spot to change -> change" until you've worked through 10s of files, instead of just changing it in one place.

Personally, I prefer to spend the extra time I get from dynamic languages to write proper unit tests that can actually ensure the absence of specific logic bugs, rather than further ossifying the architecture with static types while changes are still ongoing.

comment 11mo ago · link · parent

Obviously not, computers are the true programmable computers. But I'd still think it's accurate to say they're like programmable computers that are sometimes inaccurate, for most intents and purposes it's a fine mental model unless you really wanna get into the weeds.

comment 11mo ago · link · parent

The privacy policy literally includes that they do?

> We provide some non-personal data to our advertisers and strategic partners that work with Apple to provide our products and services, help Apple market to customers, and sell ads on Apple’s behalf to display on the App Store and Apple News and Stocks. For example, we may share non-personal data about your transactions, viewing activity, and region, as well as aggregated user demographics such as age group and gender (which may be inferred from information such as your name and salutation in your Apple Account), to Apple TV strategic partners, such as content owners, so that they can measure the performance of their creative work, meet royalty and accounting requirements, and improve their associated products and services.

https://www.apple.com/legal/privacy/data/en/apple-tv-app/

comment 11mo ago · link · parent

Something something if everyone used HATEOS this wouldn't have been a problem something something

comment 11mo ago · link · parent

Huge assumption on their side then, isn't the context "humans writing for other humans"? Not sure how "publication editors" entered the conversation nor from where.
1
213214215
253