Better HN
topnewbestaskshowjobs
Log inSign up

embedding-shape

21,525 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

Yes, of course, the organization with its bureaucratic center being in Belgium, and military headquarters also being in Brussels, IS obviously just the US and the US only.

I'm sorry to tell you, but the world is actually larger than the US, regardless of what your current media is trying to tell you. If the US actually dared to attack Denmark, an ally, I'm fairly certain France and The UK would stop being allies to the US, because suddenly "ally" doesn't mean anything anymore.

comment 11mo ago · link · parent

Right, I guess I was still with the original topic/subject:

> We absolutely need certified no-AI digital proofs.

comment 11mo ago · link · parent

> Or maybe the third choice..be independent?

As mentioned, I'd love to see another survey from this month. My guess, at least based on talking with some acquaintances who are Danish with ancestors in Greenland, is that many now realize that "independent" isn't a realistic choice, given the current circumstances. So it really is between "Denmark with the protection of NATO" or "US with the protection of US by itself".

comment 11mo ago · link · parent

I'm fairly sure you're confusing Hugo with something else, Hugo is strictly a tool for building static websites. AFAIK, there are no features of Hugo which isn't for static website building.

comment 11mo ago · link · parent

I guess my very own "niccup" (basically hiccup-in-nix) fits that (https://embedding-shapes.github.io/niccup/), as you'll typically always include the library together with a strictly set version, so even when new versions are available, you'd need to explicitly upgrade if you want it.

comment 11mo ago · link · parent

> just do some string-replacement targeted at a narrow use-case instead of using a complicated templating engine.

A neat little in-between "string replacements" and "flown blown templating" is doing something like what hiccup introduced, basically using built-in data structures as the template. Hiccup looks something like this:

    (h/html [:span {:class "foo"} "bar"])
And you get both the power of templates, something easier than "templating engine" and with the extra benefit of being able to use your normal programming language functions to build the "templates".

I also implemented something similar myself (called niccup) that also does the whole "data to html" shebang but with Nix and only built-in Nix types. So for my own website/blog, I basically do things like this:

    nav = [ "nav"
      [ "h2" "Posts" ]
      [ "ul" (map (p: [ "li" [ "a" { href = "${p.slug}.html"; } p.title ] ]) posts) ]
    ]
And it's all "native" Nix, but "compiles" to HTML at build-time, great for static websites :)

comment 11mo ago · link · parent

Same goes the other way, the US has dependencies on Europe when it comes to various technologies, that would stop immediately if the US decides to be violent towards its allies. I'm sure Europe could survive without Microsoft Office, what would the US do if they stop being able to get machine tooling since that industry all but disappeared in the US, and the US doesn't have any allies left?

comment 11mo ago · link · parent

> 56% of Greenlanders answer that they would vote yes to Greenlandic independence if a referendum were held today, 28% would vote no, and 17% do not know what they would vote for.

Bit strong to say "Greelanders want to be independent" when it's only 56%, it's about half the ones surveyed. But more importantly:

> The results show that 85% of Greenlanders do not want to leave the Realm and become part of the United States, while 6% want to leave the Danish Realm and become part of the United States, whereas the remaining 9% are undecided.

Since a common tactic to gain a pretext for an invasion is "These people want to be independent!" I feel like it's important to point out than Greenlanders overwhelmingly don't want to be a part of the US, judging by that same survey you linked.

So if the choice were to be "Be a part of Denmark" or "Be a part of the US", the majority would stick with Denmark.

Also, the survey is from "22nd to 26th of January 2025", pretty much a year ago, with ~500 people answering, and I'm pretty sure the results would look different today, especially since yesterday.

comment 11mo ago · link · parent

Yet it doesn't actually solve the problem. Whatever technical implementation you can think of, can somehow be misused so you have AI pictures labeled as "Genuinely not AI".

If you do come up with a 100% fool-proof implementation of this, you'll be able to get a lot of money for it, so do give it a try! Many have tried before you, yet it always turns out to be short of impossible. But who knows, maybe there is a way...

comment 11mo ago · link · parent

> so likely the EU would at first think this is not their concern.

No, the EU might not contain the top-of-the-top when it comes to people aware of what's going on, but not even EU is so dimwitted to brush aside an invasion of Greenland as "not our concern".

Not to mention that Greenland is an autonomous part of Denmark, and Denmark is very much a part of the EU.

comment 11mo ago · link · parent

> Obviously they'd have to, but I'm curious about whether they'd do it on the first day, or whether they'd sort of wonder around half-understanding "is this war?"

It'll be a couple of days or weeks before actual realization happen, and it won't be because of the politicians, it'll be because of the massive demonstrations, protests and general strikes, that finally the governments will understand that something has to be done.

> I wonder how little people understand in general, whether war is so foreign to them that they can't react appropriately.

I think most of us got used to the idea that most others don't actually want war, and there is a lot of posturing going on. Wrongly, this was assumed of the current US administration too, which luckily changed really fast because of yesterday and previous actions.

Europe has a long history of devastating wars, the US not so much, and I think Europe tries much harder to avoid violent conflicts than the US (duh), so when you have an ally knocking on your door, presenting threats, Europe kind of defaults to thinking it's posturing, but if boots actually land on Greenland (outside of the existing base), I think the winds will change relatively quickly.

comment 11mo ago · link · parent

It's a point for defense against Russia, I think is the main argument (besides the rare metal one).

Take a look at a map of the world from the point of view of North Pole, and you'll understand why warmongers think it's an important point to hold: https://i.imgur.com/LE8DKGR.png

comment 11mo ago · link · parent

Up until yesterday most of us felt the same about "Going into Venezuela and kidnap the president of a sovereign nation" but here we are. Sure, it was also not out of nowhere, but I don't think anyone thought Trump needed such an abrasive distraction from the internal conflicts in the nation.

> to a point where USA might find it's all alone in the world.

I think the US might be misleading itself if it doesn't realize that it already is. We still care for the people, but the government of the US has truly shown that it cannot be an ally today, and the rest of the world already realize this, seems the US is the last to understand it.

comment 11mo ago · link · parent

> that could turn the EU into an enemy of the US

The EU is already an enemy in the eyes of the US, even though it isn't reciprocated.

Not sure what would happen if the US attacked Greenland, attacking a close ally you have literal agreements about protecting each other kind of forces NATO into new territory. My hunch is that the NATO would be dissolved, and everyone would have to team up against the aggressor.

comment 11mo ago · link · parent

We absolutely also need full and complete peace on earth and no more wars, but what we need isn't always what is feasible to get in real life. "No-AI proofs" falls into that bucket of "Would be nice to have, but very infeasible to actually create".

comment 11mo ago · link · parent

> If you travel and go to some random beach town and buy random item from random street merchant, they won’t give you a refund. Main issue to bridge is ensuring the item is expected as you can’t physically inspect prior to purchase.

Depends on how large the beach town is, and what country. Whenever I've needed to return/change things in those type of places (in South America, South Europe and around East Asia), it's never been a problem even if I don't have a receipt, as usually the vendor recognize you, or the person who sold it to you is around somewhere.

I can remember one clear time (probably out of 10s) where someone refused to take back an item that clearly didn't work the way it was sold to us.

comment 11mo ago · link · parent

Yeah, when you draw arbitrary limits (30 years for you it seems), it's easy to paint one side as the better one. Once you start to think a bit bigger, you start to realize most big nations act as the others, and it's just different flavors of "bad", yet they're all as bad as the others.

What about segregation then, is that recent enough for you? Or that wasn't about culture/language, so that too isn't applicable? I'm afraid that with rose-tinted glasses, everything has an explanation why your favorite is different than their favorite.

comment 11mo ago · link · parent

> to leverage polymorphism to avoid switch statements [...] was a reflection of his desire to get every function as short as possible.

That's both true, but long way away from "every line should have it's own method", but I guess parent exaggerated for effect and I misunderstood them, I took it literally when I shouldn't.

comment 11mo ago · link · parent

> KDE is still extremely anal about not touching anything remotely related to Microsoft [...] only because it's Microsoft's.

And I thank them for it. Microsoft has zero regards for the FOSS community, and forcing people to use FOSS tooling made by the FOSS ecosystem to develop FOSS makes a lot of sense to me, at the very least for the dog-feeding argument, but also because it wouldn't make sense to use tooling from a for-profit company that tried time and time to eradicate your community. I understand the avoidance by developers who been around the space for two decades or more, because we remember what Microsoft has done.

Sometimes you have to bite the sour apple in order to actually stand for your ideals, and this particular choice seems like a no brainer, at least to me.

comment 11mo ago · link · parent

> where each line is extracted into its own method

Never heard of "that style of programming" before, and I certainly know that Uncle Bob never adviced people to break down their programs so each line has it's own method/function. Are you perhaps mixing this with someone else?

comment 11mo ago · link · parent

Yeah, based on your comment I learnt as much as the original article, which is basically nothing. So thank you :)

comment 11mo ago · link · parent

I've maybe used Wayland on Gnome for 1-2 years at this point, always with nvidia hardware. Works OK now, but didn't 2 years ago, and before that, used to be very janky, today is smoother than Xorg. But at this point, I don't think there is a single blocker left for me. Took some time to rewrite some programs that I have to control their own window position and wants to see what other applications are running, but was easy to work around with a Gnome Shell Extension in the end, as the design of Wayland doesn't really "allow" those sort of things.

I'm having more issues with games/websites/programs that didn't take high display refresh rate into account, than Wayland, at this point.

comment 11mo ago · link · parent

> I've been using ydotool but the daemon service is janky (fails to startup/shutdown frequently,

I'd be investigating that issue instead, should have errors in systemd/journalctl or whatever you use for managing daemons. I'm using ydotool on Arch, pretty much all defaults, together with a homegrown voice dictation thing, and it's working 100% of the times.

comment 11mo ago · link · parent

If you say "The US never ..." then the timeframe is the short duration the US has existed as "The USA".

comment 11mo ago · link · parent

The trick would have been to ask Claude to write a program that can parse/serialize from/to Ableton's XML format in the way you need it to. It's just XML, but a ton of it: https://github.com/stevengt/ableton-xml-analysis/blob/dev/ed...

comment 11mo ago · link · parent

You have to think as a person who does drugs though. You want to get high, and product A is not available, what do you do?

You're not solving any problems, you're moving them around. What's the point?

comment 11mo ago · link · parent

> The US never denied the existence of cultures, languages, etc.

You seriously need to open up just one (1) history book about how the US was founded, to understand how wrong you are on just this point.

comment 11mo ago · link · parent

> It's funny how many people already see this as a book that is opened and closed on the same day.

What gives you that impression? I haven't seen a single comment that is surprised or wasn't aware of the existing history between the two nations, nor a single comment saying that "Ok, I'm glad/sad that that's over now". What comments specifically are you talking about?

comment 11mo ago · link · parent

> It's far easier to reduce consumption by cutting the supply entering your country

So easy. Exactly why Sweden have had a "zero tolerance" policy against drugs, particularly Cannabis, yet usage keeps growing no matter how much resources they keep throwing at stricter border controls and trying to reduce both supply and demand by arresting everyone with even traces of Cannabinoids in their blood. https://www.euda.europa.eu/publications/country-drug-reports...

> People selling drugs such as fentanyl or cocaine have various techniques to hook consumers and keep them addicted regardless of their mental state. Selling hard drugs is criminalized for a good reason.

You're making the argument for why these things should be sold in controlled circumstances, rather than by private individuals who don't care about anything else but themselves, yet you end with "is criminalized for a good reason". Completely opposite, you're making the argument for why it needs to be legalized.

comment 11mo ago · link · parent

That would require a functional economy though, which is why the US been able to do what they've been doing. Without it, I'm not sure how they're hoping to achieve this, but I'm guessing "oil" somehow is involved in the calculation, considering today's actions.
1
202203204
253