4 years Ago

Applying the rule of least power in practice

Published by marco on in Programming

Some asked is there a js library that animates the text word by word like shown? by DemDavors (Reddit).

A bunch of people answered “just do it with CSS!” and one or two recommend using GSAP (Green Sock Animation Platform). I’d just heard about that library in the following instructive video and had had a chance to investigate how it works.

FLIP animations | HTTP 203 by Google Chrome Developers

I’d like to expand on the comments recommending to use the “rule of least power”. They are absolutely correct, but you have to consider the entire task:

  • Learning how to use... [More]

New feature for C#: Anchored types

Published by marco on in Programming

I recently answered the question What features from other languages would you like to see in C#? by BatteriVolttas (Reddit)

I think Anchored Declarations and Qualified Anchored Declarations from Eiffel would be very useful.

I like the name “anchored” because you’re anchoring the type of one thing to another. Instead of using int throughout a class, you can just make e.g. a field named _id be an int and then make all other types (e.g. for the parameter passed to a method) refer to the anchor with like _id or typeof _id.... [More]

Enjoying the view from a local maximum

Published by marco on in Quotes

“Irony [is] the song of a bird that has come to love its cage.”
Unedited interview (2003) by David Foster Wallace (YouTube)


Overheard in the excellent video essay,

Multiverses, Nihilism, and How it Feels to be Alive Right Now by Like Stories of Old (YouTube)

At 21:30,

“The point is to reflect on the way we generally regard the cosmos and the fundamental forces that are at play there. And to question that, which we so often deem to be the realistic or the rational view of our universe. Because when the void at the end of all things is no longer a given, when the nature of our cosmos is vastly more complicated than we assumed, the supposedly... [More]”

Can it be both?

Published by marco on in Quotes

“Sometimes I wonder whether the world is being run by smart people who are putting us on or by imbeciles who really mean it.”
Laurence J. Peter in 1969 (The Peter Principle)

Apple’s Calendar notifications are a trash fire

Published by marco on in Technology & Engineering

Apple’s Calendar has gotten worse and worse in the last two or three operating-system releases.

I had three reminders/appointments this morning at 09:00. They all popped up five minutes before nine, as desired.

I told them all to go away for an hour.

They all popped up again, at nine. One of them popped up twice.

I then told them all to go away forever, in a fit of rage.

Now, I just changed the reminder for one of these appointments to “Alert at time of event”.

It promptly popped up at... [More]

Links and Notes for August 5th, 2022

Published by marco 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

Carl Sagan predicts the Idiocracy

Published by marco on in Quotes

“I have a foreboding of an America in my children’s or grandchildren’s time — when the United States is a service and information economy; when nearly all the manufacturing industries have slipped away to other countries; when awesome technological powers are in the hands of a very few, and no one representing the public interest can even grasp the issues; when the people have lost the ability to set their own agendas or knowledgeably question those in authority; when, clutching our... [More]”
Carl Sagan in 1995 (The Demon-Haunted World)

Capsule Movie Reviews Vol.2022.5

Published by marco on in Movies

These are my notes to remember what I watched and kinda what I thought about it. I’ve recently transferred my reviews to IMDb and made the list of around 1600 ratings publicly available. I’ve included the individual ratings with my notes for each movie. These ratings are not absolutely comparable to each other—I rate the film on how well it suited me for the genre and my mood and. let’s be honest, level of intoxication. YMMV. Also, I make no attempt to avoid spoilers.

The French Dispatch... [More]

Links and Notes for July 29th, 2022

Published by marco 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

Aggressively Defensive

Published by marco on in Quotes

“War is the form nostalgia takes when men are hard-pressed to say something good about their country.”
Don DeLillo (White Noise)

Running Society Sensibly

Published by marco on in Quotes

“Absolutely nothing should be sold for a profit if its absence could kill you. Any modern system where people still die from lack of these resources should be dismantled.”

Biggest Source of CO2

Published by marco on in Science & Nature

What’s the biggest source of CO2 in the world? I was with a friend who argued that it was personal passenger vehicles. I was pretty sure that industry and agriculture produced the lion’s share of CO2, but she was adamant. I thought it sounded like her source was conveniently placing the blame for a warming planet on individuals’ inability to conserve when I thought that our individual contributions, while not inconsequential, were not the place that we needed to start, necessarily.

When I had... [More]

Links and Notes for July 22nd, 2022

Published by marco 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

Links and Notes for July 15th, 2022

Published by marco 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

Links and Notes for July 8th, 2022

Published by marco 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

Links and Notes for July 1st, 2022

Published by marco 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

Links and Notes for June 24th, 2022

Published by marco 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

Links and Notes for June 17th, 2022

Published by marco 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

Links and Notes for June 10th, 2022

Published by marco 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

Capsule Movie Reviews Vol.2022.4

Published by marco on in Movies

These are my notes to remember what I watched and kinda what I thought about it. I’ve recently transferred my reviews to IMDb and made the list of around 1600 ratings publicly available. I’ve included the individual ratings with my notes for each movie. These ratings are not absolutely comparable to each other—I rate the film on how well it suited me for the genre and my mood and. let’s be honest, level of intoxication. YMMV. Also, I make no attempt to avoid spoilers.

Terminator: Dark Fate... [More]

Links and Notes for June 3rd, 2022

Published by marco 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

What do I think about America?

Published by marco on in Public Policy & Politics

I’m going to be there soon for the first time in almost four years.

I was thinking today what I’m going to say when someone in my family asks me what I think of America.

Maybe something like:

I think that you’re lost control of your country. And I think you need to stop worshiping the people who’ve taken it from you.

I think you’re all fighting over what amount to minor differences relative to the actually major issues on which you mostly agree. You get lost in the weeds on issues like... [More]

A dearth of imagination with AI

Published by marco on in Technology & Engineering

The article First impressions of DALL-E, generating images from text by Simon Willison shows some examples from the author’s attempts at generating images with the AI. If you’re interested in learning more about how these AIs/algorithms work, see How Imagen Actually Works by Ryan O'Connor, which is Google’s equivalent to DALL-E.

Citing the first article, Willison writes,

“DALL-E only allows you to generate up to 50 images a day. I found this out only when I tried to generate image number 51. So there’s a budget to watch out... [More]”

Zelenskyy’s T-Shirt makes Europe his bitches

Published by marco on in Public Policy & Politics

Zelenkskyy’s wardrobe of 100% T-Shirts is pretty clearly a power move.

 Casual Meeting with Zelenskyy

Everybody else shows up in the classic garb of the European upper-class. Zelenskyy shows that he’s got them by the balls by showing up in a grotty, old, army-olive T-Shirt. He’s at war, you see.

In this next picture, we see him thinking about what he’ll ask for next.

 Zelenskyy Thinking Hard

Apparently, it was for them to not only let Ukraine into NATO, to have Sweden and Finland give up their neutrality for Ukraine, but also to fast-track... [More]

Has Slavoj Žižek been taken hostage?

Published by marco on in Public Policy & Politics

I skimmed through a recent article called Pacifism is the wrong response to the war in Ukraine by Slavoj Žižek (The Guardian). I’ve read a lot of Žižek. I’ve heard a lot of interviews with him. This article doesn’t “sound” like him at all.

There are no contrarian positions, there are no mentions of Hegel or Lacan, no mentions of psychiatry. He made absolutely no pop-culture references. He told no jokes. He usually talks of being a realist communist—nothing of the sort here. No mention of Ukraine’s absolute war on... [More]

A working definition of propaganda

Published by marco on in Philosophy, Sociology, & Culture

I think most people’s experience of propaganda is best defined as,

“Information that one has not yet heard enough times to believe.”

As long as one doesn’t believe it, information remains propaganda. After that crucial repetition, it crosses the threshold into established fact and deeply held belief.

This, all without any change in evidence, believability, deniability or plausibility.

Think about being useful

Published by marco on in Philosophy, Sociology, & Culture

We have arrived at a point where “making money” has become completely unmoored from “performing a societally useful task”—so much so that the previous sentence will make no sense to most people.

The will ask: What does doing something useful have to do with making money? You need money to live; ergo, you come by it any old way. Whether you “deserve” it doesn’t enter into it.

An obvious and egregious example is the exponentially increasing “hustle economy”, featuring “influencers” whose... [More]

On Being a Good Person

Published by marco on in Philosophy, Sociology, & Culture

I think I’m a good person relative to what society expects of individuals, but I’m not a very good person on an absolute scale.

I understand what is required for me and mine to live out a comfortable life within the bounds of the system we have—and I work within the bounds of that system to obtain it, as ethically as possible.

Everyone else tries to do the same, with varying levels of success—and varying ethics.

I understand that most people’s rate of success will not match either their... [More]

Opinions are like assholes; everybody’s got one

Published by marco on in Philosophy, Sociology, & Culture

The way of our world is this.

Suppose we have, on the one hand, someone who watches a couple of hours of Pentagon propaganda and comes to their deeply held convictions that way, slapping a bunch of Support Ukraine stickers on their car (for example).

On the other hand, we have someone who spend hundreds, if not thousands, of hours over several months, collecting information and ideas from dozens of authors and forming a more nuanced and historically “true” opinion and ideas about how to end... [More]

Soccer players are spineless crybabies

Published by marco on in Sports

I cannot emphasize enough how little respect I have for any soccer player who does not stop whining and complaining about calls, even long after the referee has indicated that there will be a VAR.

They are a bunch of puling brats.

No pride. No honor.

They are a whole team full of idiotic children following the referee around like stupid ducklings, all with the most tragic looks on their faces, as if the gravest injustice to ever befall mankind had been perpetrated and they need to prosecute... [More]