Picture

Name Marco von Ballmoos
Member since
Email [hidden]
Home page https://earthli.com/users/marco
Description

The (only) developer at earthli.com.

Contents

3457 Articles
112 Comments

1 month Ago

Narrowing types to avoid primitive obsession

Published on in Programming

Recently, I saw that the following error had been fixed in a code review.

 Classic primitive obsession error

The error shown above is an example of a design smell called Primitive Obsession. This is where code is “obsessed” with primitives, in that it uses a much “wider” type than is actually acceptable.

Whereas C++ has a typedef, TypeScript and Delphi Pascal have a type, C# has … nothing simple. The linked article describes a hand-coded version for making “narrower” types (e.g., MeanLength or ShortFiber). Our go-to... [More]

The right to free speech is not negotiable

Published on in Public Policy & Politics

This is a fantastic seven-minute refresher on what the first amendment means in the U.S.—specifically the right to free speech, The government is bound quite strongly to respect one’s right to say anything one wants, even if one is benefiting from a government program, like unemployment or a visa program. While the government is allowed to curtail benefits in the case of criminal prosecution—predicating them on being law-abiding—it cannot retract them based on one having expressed... [More]

Glenn Greenwald interviews Alexander Dugin

Published on in Public Policy & Politics

This was an interesting 21-minute discussion about the importance of multi-polarity, multi-civilizational humanity. Dugin points out how the globalism that we’re seeing trying to take over everything has deemed itself the winner and chooses not to integrate anything from other, “conquered” civilizations. He cites the Chinese Confucian approach to law and philosophy, the Russian Orthodox Church, and so on, as deep and ancient influences on cultures and civilizations.

 Alexander DuginHe calls out globalists for... [More]

Vijay Prashad on NATO and Europe

Published on in Public Policy & Politics

This is an absolutely brilliant 45-minute video: as history lesson, as political analysis, as military analysis. Many, many more people should be watching this.

In particular, the two sections comprising about 18 minutes and starting at 15:35, called “EU’s militarisation & Russia’s plans” and “EU’s fiscal discipline” are brilliant and are well-worth listening to in their entirety.

Vijay Prashad – The Collapse of NATO and Europe's Dilemma by acTVism Munich (YouTube)

At 04:56,

 Vijay PrashadTrump interestingly said, ‘look, this is not a prestige issue for us in the United States. We don’t... [More]”

POGO trumps DOGE

Published on in Finance & Economy

 Danielle BrianThe following 22-minute video is an excellent interview by Lee Fang with Danielle Brian of POGO (Project on Government Oversight) about corruption, waste, and fraud. Whereas you may deem anything the government spends money on that you don’t like or approve of as “waste”, “fraud” has a legal definition. Somewhere in the middle is “corruption”, which is when you’re paying far too much for services that you actually want or need. The major sources of corruption are the Pentagon budget and... [More]

A hateful and mercurial peacemonger?

Published on in Public Policy & Politics

The article Trump bans transgender athletes from entering the United States by Isla Anderson, Evan Winters (WSWS) writes,

 SemenyaRubio justified the ban on international transgender athletes under the 1952 Immigration and Nationalities act, which authorizes a “permanent fraud bar” as punishment for “lying” on a visa application. The pretense is that a gender marker matching a transgender person’s gender identity, rather than one that aligns “with their sex assigned at birth,” amounts to “misrepresenting the purpose of... [More]

PSA: Countries have agendas, not principles

Published on in Public Policy & Politics

The article European Leaders Voice Support for Zelensky Following Heated Exchange With Trump by Kyle Anzalone (Scheer Post) describes Trump’s feelings about where he and Zelenskyy differ.

“Following the presser, Trump expelled Zelensky from the White House, and posted on Truth Social that the deal was off. “I have determined that President Zelensky is not ready for Peace if America is involved, because he feels our involvement gives him a big advantage in negotiations. I don’t want advantage, I want PEACE,” he wrote.”

... [More]

A cautious optimism is warranted, at best

Published on in Public Policy & Politics

In the following seven-minute video, Glenn “responds” to a critique of the Trump administration, written by Chris Hedges and sent to him by a listener. I’m a bit confused by the response, though … it seems as if Glenn thinks that Chris Hedges supports the continuation of the empire. Chris’s admonition is not a lament for the end of the empire, it is more a warning to pay attention to and to influence what will replace it. I think Glenn should have Chris on his show to make himself more... [More]

Anti-Trump ≠ Anti-Empire

Published on in Philosophy

I’ve seen that people in Europe and Switzerland are starting to proudly boycott U.S.-American products, as if they’re standing on a principle or something.

They are not anti-Empire. They are anti-Trump.

They are pissed at Trump for having “abandoned” Ukraine and Europe, which they think leaves them wide open to be invaded within weeks by what they call the U.S.‘s new ally Russia.

This is almost laughably stupid, if it weren’t such a prevalent view among otherwise intelligent and... [More]

Who’s going to fix the bad projects?

Published on in Programming

The article Can You Get Better Doing a Bad Job? by Jim Neilsen cites Woody Harrelson as saying, “I think when you do your job badly you never really get better at your craft.”

Of course that’s true on the surface: If you manage to avoid learning anything else, then you will only ever get better at doing a bad job. The author expands on this point as follows,

“Experience is a hard teacher. Perhaps, from a technical standpoint, my skillset didn’t get any better. But from an experiential standpoint, my... [More]

Prompt-injection is not a solved problem

Published on in Technology

The upshot of the video linked below is that prompt injection has not really been addressed in any significant way because the LLM, by its nature, doesn’t give us a good way of doing so without neutering the main advantage of it.

Generative AI's Greatest Flaw by Computerphile / Mike Pound (YouTube)

The problem boils down to the inability to distinguish between query and parameters. The prompt is the prompt. It’s all just arranged in a way that will hopefully influence the result of pouring it all into the same funnel. There is no analogue in LLM prompts to... [More]

No-one asked for these things

Published on in Technology

A while back, during the Super Bowl, I paused to see whether a player’s foot was really out of bounds when he caught the ball.

NOT ALLOWED. READ THIS ADVERT INSTEAD, PEASANT.

 This is the state of German cable television

I managed to do something that got rid of the advert, but ended up showing a bunch of extra chrome on the screen instead, nearly but not entirely obscuring the thing that I wanted to see. #Enshittification

Next up, I was greeted a couple of weeks later with the message, “The order of your TV channels now matches your... [More]

It is easy to forget

Published on in Philosophy

The article Trump vs. the Deep State by Patrick Lawrence (Scheer Post) included the following passage as part of a longer discussion .

I do not think, I mean to say, the deep state’s presence in America’s political life will ever be off the table now that Trump has put its insidious presence on it. This is a good thing.”

 I wouldn’t be too sure of that. People are remarkably capable of going back to sleep, especially when their salaries depend on it, especially when their lifestyles depend on it, and especially with an... [More]

Links and Notes for March 7th, 2025

Published on in Notes

Below are links to articles, highlighted passages[1], and occasional annotations[2] for the week ending on the date in the title, enriching the raw data from Instapaper Likes and Twitter. They are intentionally succinct, else they’d be articles and probably end up in the gigantic backlog of unpublished drafts. YMMV.

[1] Emphases are added, unless otherwise noted.
[2] Annotations are only lightly edited and are largely contemporaneous.

Table of Contents

James Mickens is back with more

Published on in Programming

 James MickensI recently stumbled upon some Essays from the funniest man in Microsoft Research by Raymond (Old New Thing). He is such a funny writer that this article, against convention and like the one before it (Brilliant articles by the funniest guy at Microsoft), will consist mostly of citations rather than an even mix of citations and paraphrasing that I naturally consider to be much more lucid and pithy. I quote at length to do the material justice, for documentation and to ensure that you all download the PDFs to see if there... [More]

Links and Notes for February 28th, 2025

Published on in Notes

Below are links to articles, highlighted passages[1], and occasional annotations[2] for the week ending on the date in the title, enriching the raw data from Instapaper Likes and Twitter. They are intentionally succinct, else they’d be articles and probably end up in the gigantic backlog of unpublished drafts. YMMV.

[1] Emphases are added, unless otherwise noted.
[2] Annotations are only lightly edited and are largely contemporaneous.

Table of Contents

2 months Ago

Links and Notes for February 21st, 2025

Published on in Notes

Below are links to articles, highlighted passages[1], and occasional annotations[2] for the week ending on the date in the title, enriching the raw data from Instapaper Likes and Twitter. They are intentionally succinct, else they’d be articles and probably end up in the gigantic backlog of unpublished drafts. YMMV.

[1] Emphases are added, unless otherwise noted.
[2] Annotations are only lightly edited and are largely contemporaneous.

Table of Contents

Catherine Liu: Trauma, Virtue and Liberal Elites

Published on in Public Policy & Politics

This was a great conversation that is absolutely worth the ~100-minute running time. Catherine eloquently and brashly discusses a lot of the topics and themes that she presents in her broadside against the PMC (Professional Managerial Class). I’ve included a bunch of cleaned-up transcription from the video.

Catherine Liu: Trauma, Virtue and Liberal Elites by Doomscroll /
Joshua Citarella
(YouTube)

At about 12:00, Catherine says,

“I was like what are you doing girl? Like, how are you like assimilating your sexual assault, which is really bad a private thing—you haven’t even told... [More]”

History started on January 20, 2025

Published on in Public Policy & Politics

 US military and CIA interventions since WW2There are people who used to write quite well and have gotten incredibly lazy, repetitive, and just plain non-constructive and useless as information sources in just the last month. The drop in quality is noticeable because they’re once again cruising on their TDS (Trump Derangement Syndrome).

They are being lazy and stupid, acting as if the U.S. used to be good until one month ago, when Trump came back into power. They are acting as if things have gotten markedly and provably worse for... [More]

Building a web with accessibility in mind

Published on in Design

 The documentation page Stories of Web Users / How People with Disabilities Use the Web by W3C (WAI (Web Accessibility Initiative)) describes nine users, each of whom describes how they work with the Internet, as well as which assistive technologies they use to access text, audio, and video content. Each of them also has a list of use cases (“Barrier examples”), accompanied by solutions that would work for them and their particular restrictions.

Stories

The people range widely in capability.

There’s Marta, who is deaf and blind and who... [More]

And another thing about MVVM

Published on in Programming

I recently wrote Real quick on MVVM and now I see that a good colleague and friend has written his own MVVM understandings by Austin Jones (Austin's Journey for Meaning). His piece got me thinking again about how the concept is a good start but isn’t really sufficient.

Justifying the view model

Somewhere near the beginning, he writes,

“The View Model’s function is separate from the Model. Abstraction requires discipline to not let two pieces of code that do the same thing become the same thing, purely out of convenience. Things that... [More]”

A snowy zen garden

Published on in Philosophy

A very good friend is riding in Utah right now.[1] They’ve gotten a lot of snow—70" in a few days—and the sun is finally out again. He’s been doing some “farming”, where you pick a clean field of powder and you lay down a track, using as little of the snow as you can. You go back up. You lay down another track, just like the first, but shifted. You’re making furrows; you’re farming the field.

 Snowboard farming

I was telling other friends about this recently, when skiing in Klosters/Davos, I was explaining... [More]

Avoiding completely failed estimates

Published on in Programming

 The relatively short post My Washing Machine Refreshed My Thinking on Software Effort Estimation by Chris Horsley (Cosive) is kind of interesting, in that it’s a cautionary tale about being overconfident about your estimates. As the title suggests, his was a real-world task where he’d assumed that a tenth iteration would go just as smoothly. He draws some good conclusions but for what I think might be the wrong reasons.

“[…] while 90% of the project will be the same, there’s going to be one critical difference between... [More]

SNL episode #1, hosted by George Carlin

Published on in Fun

For its 50th anniversary, Saturday Night Live released its first episode, in full. It was initially aired in 1975. It was quite interesting to contrast the form and style with the SNL that we know today and that has been established for a couple of decades.

The biggest difference is that SNL started out with much shorter skits. They got to the point, delivered the punchline and…basta. They had a lot more skits; the host delivered several monologues; there were two musical guests and they... [More]

Links and Notes for February 14th, 2025

Published on in Notes

Below are links to articles, highlighted passages[1], and occasional annotations[2] for the week ending on the date in the title, enriching the raw data from Instapaper Likes and Twitter. They are intentionally succinct, else they’d be articles and probably end up in the gigantic backlog of unpublished drafts. YMMV.

[1] Emphases are added, unless otherwise noted.
[2] Annotations are only lightly edited and are largely contemporaneous.

Table of Contents

Useful Idiots talk to Brian Berletic about USAID

Published on in Public Policy & Politics

This was a sane and sober discussion of what is actually happening in the U.S. empire. Katie Halper and Aaron Maté have a long discussion with Brian Berletic about what USAID actually does, with its arms like the NED.

Extended episode: Former Marine DEBUNKS USAID Rumors by Useful Idiots (YouTube)

Former U.S. Marine Brian Berletic, who focuses on geopolitics in Eurasia and hosts the informative Youtube show The New Atlas, joins Useful Idiots this week as Elon Musk and the Trump administration are gutting USAID and attempting to move it under the control of Marco... [More]

Some interviews about the economy (CFPB, USAID, etc.)

Published on in Finance & Economy

First up is a one-minute video by Slavoj Žižek about how capitalism is a lie.

Slavoj Žižek Explains How Capitalism Tricks Us (YouTube)

“Each of us is now a small capitalist. Let’s say you have €5,000. You can freely decide how to invest them: buy health care, go to a nice holiday, pay special studium. […] What is actually a new form of anxiety—permanent stress—is sold to you as a new form of freedom.


Next up is a great interview by Ben Norton with Michael Hudson. The discussion is much more wide-ranging than the title of the video... [More]

Chris Hedges talks to Farah El-Sharif

Published on in Public Policy & Politics

Chris Hedges has some of the most interesting, and unique, interviews you can find. I’d never heard of Farah before but she was a great interview.

Arab Regimes and the Betrayal of Palestine (w/ Farah El-Sharif) | The Chris Hedges Report by The Chris Hedges YouTube Channel (YouTube)

The first 15 minutes were an absolute tour-de-force of history and erudition by Farah El-Sharif. She is extremely well-spoken and brilliant, works at Stanford, and “served as Stanford’s Abbasi Program’s Associate Director from 2021-2023”.

Check out the people in this video:

 People mentioned in this video − including Muhammad

Farah was being interviewed, OK. Muhammad has no picture 😹. And I... [More]

Labor theory of value > subjective theory of value

Published on in Philosophy

The comic Resident Philosopher for AI Ethics by Corey Mohler (Existential Comics) explains how the ideas of a philosopher who died over a century ago are not only applicable today, but are vital to understand if we want to come out the other side intact.

 Resident Philosopher for AI Ethics

“Your entire business model is to take control of the free exchange of information, and manipulate it for your personal gain!

See this chart? The red portion is what you created. The blue portion is what you built off pre-existing open source technology, science and stolen... [More]

Part 342: Is there an internet for adults?

Published on in Technology

In a discussion, a friend had sent a list of naughty technologies that included “dotnet frame twerk”, “dotnet whore” and “azure debauchery operations” and we were musing on how LLMs were supposed to be good at coming up with names.

They are not good at that. LLMs are neutered and useless.

Below is a screenshot of an exchange I had with Copilot, where I ask it to “list ten technology names that are salacious puns of Azure, C#, and .NET”. It responded that “[c]reating salacious puns isn’t... [More]”