3 days Ago

成語 Chéngyǔ: Chinese idioms

Published by marco on in Miscellaneous

Chengyu (Wikipedia)

“Chengyu (traditional Chinese: 成語; simplified Chinese: 成语; pinyin: chéngyǔ; trans. “set phrase”) are a type of traditional Chinese idiomatic expressions, most of which consist of four Chinese characters. Chengyu were widely used in Literary Chinese and are still common in written vernacular Chinese writing and in the spoken language today. According to the most stringent definition, there are about 5,000 chengyu in the Chinese language, though some dictionaries list over... [More]”

Sympathy vs. Empathy

Published by marco on in Philosophy

This is a long video. It’s a pretty good video, though. It’s quite soothing to listen to and there are really a lot of good movies in there, with lovingly curated clips of all of them. I like to watch these things to see if there’s something I can add to my movie list. I’ve been doing this for a long time, so everything that looked interesting to me … had also already been consumed by me. 🤷🏼‍♂️

The video has a pretty clickbait-y title, but the author is someone I’ve... [More]

Mark Blyth explains everything

Published by marco on in Finance & Economy

 The interview below is a podcast interview of Mark Blyth by some dude named Chris who sounds like Ira Glass somehow had a child with NPR, then raised it in a box, feeding it only the New York Times for 50 years.[1] Anyway, Chris doesn’t talk a lot because Mark just can’t stop spitting the truth. I only really disagree with Blyth about Biden’s economic accomplishments but otherwise the guy was on absolute fire. Highly recommended. I have, as usual, transcribed the bits I found to be especially... [More]

Angular 19 sounds … complicated?

Published by marco on in Programming

Some of the features described in the video below sound pretty interesting but they also sounds super-complicated, with deferred-loading, hydration, signals, and event/replay all combined with decisions about whether something loads on the client or the server or whether it’s initially built on the server but then enhanced on the client and then run independently from the server, …

I understand that a lot of this technology is for optimizing large web sites, but It’s honestly questionable... [More]

Using calc-size in CSS

Published by marco on in Programming

The following video shows not only when and how to use calc-size(), it also mixes in advice on generating timing functions for animations, sprinkles CSS variables throughout, and even uses overflow: clip combined with an absolutely positioned element to reveal more content without disturbing the layout.

Animate and do math on things like height: auto with interpolate-size and calc-size() by Kevin Powell (YouTube)

The syntax for calc-size() is, as Kevin says, “weird”; you have to pass two parameters: the first is the name of the logical size you’d like to use, while the second parameter is a formula that... [More]

How to apply EF migrations

Published by marco on in Programming

The picture and title are, as usual, clickbait-y, because apparently people don’t click on videos that sound educational unless you promise them ground-breaking learnings. Still, I don’t hate the player; I hate the game. But it’s the world we have.

The video is quite informative and is 90% not the guy pictured. Instead, it’s another guy called Gui Ferrera, who is quite competent.

The Correct Way to Run Database Migrations in EF Core by Nick Chapsas / @gui.ferreira (YouTube)

He starts by explaining how to deploy migrations in production—you don’t just run them, as you would in... [More]

Pornography search terms 2024

Published by marco on in Fun

The 2024 Year in Review (PornHub Insights) is available and has some fun facts.[1] For example, the U.S. had about the same percentage increase for “sneaky cheating” as the French did for “femme a lunette” (women with glasses). This blog post is 100% worth it just to learn terms like “milf culona” (big-ass MILF) in Spanish, which, together with “culo grande” (big ass) in Italian, set a sort of U.N.-like agreement about priorities for a lot of countries. Ukraine, though, wins with a trending search for “на... [More]

ABC News buys a wing of the Trump presidential library

Published by marco on in Public Policy & Politics

The article Given George Stephanopoulos’ Carelessness, ABC’s Defamation Settlement With Trump Seems Prudent by Jacob Sullum (Reason) writes,

“In an interview with Rep. Nancy Mace (R–S.C.) on ABC’s This Week last March, host George Stephanopoulos repeatedly and inaccurately asserted that Donald Trump, now the president-elect, had been “found liable for rape.” A week later, Trump sued ABC and Stephanopoulos for defamation in the U.S. District Court for the Southern District of Florida, noting that a jury had deemed... [More]”

6 days Ago

Links and Notes for December 13th, 2024

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

2 weeks Ago

Links and Notes for December 6th, 2024

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

3 weeks Ago

When science demands faith

Published by marco on in Philosophy

The video/podcast Talking Trump, RFK Jr., Epistemic Collapse, &c. by Justin Smith-Ruiu & Olivia Ward-Jackson (Hinternet) was pretty good. I credit both participants but, if we’re honest, Justin talks about 95% of the time. It was quite an interesting discussion, touching on several salient points.

Misinformed about Trump

I’m still somewhat surprised to hear how empire-tinged some of the Justin’s information is, despite his conclusions being decidedly anti-empire. In particular, he completely mischaracterized Trump’s comments about Liz Cheney,... [More]

A look at American Empire through the standard lens

Published by marco on in Public Policy & Politics

 Simon ShusterThe interview in the video below was quite good for showing what “manufactured consent” looks like in person. Simon Shuster is an affable, seemingly reasonable person who represents exactly what the U.S. empire wants him to represent. When Aaron pushes back, though, he concedes that Aaron is right but then doubles down on his opinion anyway—and always expressed in a friendly manner, negating the disagreement for the untrained listener.

If you listen to what he’s saying, he admits that... [More]

Are you doing the Advent of Code?

Published by marco on in Programming

No. No, I’m not.

I was briefly considering it because two good programmer friends[1] of mine asked me, and it seemed like it might be kind of fun to compare our solutions.

But … 24 days, man.

I’ve got other things to do. Like, a lot of other things to do.

I am not in any way bored or looking for things to do.

I’m not even lacking in programming projects that I could be working on.

I’m teaching a JavaScript class right now, for which I’m constantly refining the examples and project code,... [More]

A discussion of U.S. schools on This is Hell!

Published by marco on in Public Policy & Politics

Breaking the Public Schools / Jennifer Berkshire by Chuck Mertz (This is Hell!) is an excellent interview about public-school funding with the very articulate—and clearly a trained podcaster—Jennifer Berkshire.

 Jennifer BerkshireShe was a bit hesitant to go all-out revolutionary in some cases, preferring the more mealy-mouthed liberal-style formulations like (possibly paraphrasing here),

“It’s interesting that Republican representatives who otherwise oppose government expenditures are so generous with the public wallet when it comes to... [More]”

Real quick on MVVM

Published by marco on in Programming

A little while back, someone wrote I can’t wrap my head around MVVM (Reddit), asking for help. I answered with a short example, reproduced below.

tl;dr: Use the MVVM Toolkit and try JetBrains ReSharper or Rider for more IDE assistance for binding and fixing up views.[1]

The concept is that:

  • the (M)odel describes your data in the shape you want to store it, process it, etc.
  • a (V)iew describes the elements of the UI.
  • a (V)iew(M)odel mediates between these two “shapes”.

Why do we need this? Why not... [More]

Chris Hedges on the 2024 U.S. Elections

Published by marco on in Public Policy & Politics

2024 Election was the Oligarchic Elite vs. Corporate Elite (w/ Chris Hedges) (YouTube)

This is a fantastic and wide-ranging interview by Brianna. Hedges is at his morose and realistic best.

Near the end, they discuss the possibility of Hedges going on Rogan to teach him about Gramsci. I, for one, would absolutely watch the hell out of Chris Hedges on Joe Rogan. Joe would take a week off just to think about what had just happened.

Imagine Hedges bringing his message to Rogan’s audience. I really wonder what that would look like in terms of viewer numbers. Would the same people... [More]

Bizarre Adventures #34

Published by marco on in Fun

 The comic Bizarre Adventures #34 [Newsstand] (Comics.Org) came out in 1981.[1] It would be the final issue of the Bizarre Adventures series but it was the first one I picked up. I was nine years old. I loved this comic. My best friend loved this comic. He still quotes it to me every once in a while, usually around the holiday season. It was nearly impossibly subversive. I am proud of my mom that she let me buy it, even though it literally says “Not for kiddies! We mean it!” right on the cover.

It’s really hard... [More]

Links and Notes for November 29th, 2024

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

Writing elegant code

Published by marco on in Programming

I watched this video analyzing a chunk of code, in the hopes of refactoring it.

Always Return Early in Your Code | Code Cop #024 by Nick Chapsas (YouTube)

The original code is the laughably overblown example below.

public List<int> ProcessData(List<int> data)
{
  if (data != null)
  {
    if (data.Count > 0)
    {
      var processedData = new List<int>();
      foreach (var d in data)
      {
        processedData.Add(d * 2);
      }
      return processedData;
    }
    else
    {
      return new List<int>();
    }
  }
  else
  {
    return null;
  }
}

Nick... [More]

Julian Assange speaks as a free man

Published by marco on in Public Policy & Politics

 Julian AssangeI covered this in my notes at the time but it’s really worth repeating and celebrating that Julian Assange didn’t rot to death in a prison. It’s honestly the best news we’ve had at an international level. He wrote about it at the time in the article ‘I’m Free Because I Pled Guilty to Journalism’ by Julian Assange (Scheer Post). In the article, he took time to point out that, despite his 14 years of imprisonment, he’d gotten off comparatively easy, citing the plight of Joshua Schulte.

“In February this year, the alleged... [More]”

Henwood and Scheindlin on Israelis’ concerns

Published by marco on in Public Policy & Politics

Behind the News, 11/7/24 by Doug Henwood (Apple Podcasts) was an extremely dense podcast, starting with Henwood reading his excellent article It Was Always About Inflation (Jacobin) (from which I cited a few passages in Links and Notes for November 8th, 2024), before going in-depth on a survey of Israeli public opinion: politics, polls, and inclinations with the extremely lucid and quick Dahlia Scheindlin, who works for Ha’aretz, then moving on to James Foley and Vladimir Unkovski-Korica, who afford the war Ukraine the same treatment.... [More]

1 month Ago

Links and Notes for November 22nd, 2024

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

Predatory capitalism is inevitable, until it isn’t – pass it on

Published by marco on in Quotes

 We live in capitalism. Its power seems inescapable. So did the divine right of kings. Any human power can be resisted and changed by human beings. Resistance and change often begin in art, and very often in our art, the art of words.”
Ursula K Le Guin

The greatest lie those that benefit most from capitalism ever told you is that you can’t defeat capitalism.

Links and Notes for November 15th, 2024

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

Mike Wallace interviews Erich Fromm in 1958

Published by marco on in Philosophy

I know that people were absolutely horrible to large parts of the population based purely on identity in the United States in the 1950s. But can we also acknowledge that discussions like the half-hour interview of Erich Fromm by Mike Wallace actually happened on television?

This is a major socialist philosopher and psychologist talking to a non-adversarial journalist who actually read his book. These days, this kind of interview is relegated to a channel with subscribers in the triple digits... [More]

No time to solve an impossible problem

Published by marco on in Technology

A 16-minute video that puts the lie to the story that LLM company have got alignment under control. It’s not really feasible without neutering the tool outright. it’s now a race to see who can “pivot”—read as: continue to boost vigorously while backing out of investment to limit financial exposure without collapsing the house of cards—to another niche.

Some Lessons from Adversarial Machine Learning by Nicholas Carlini (YouTube)

“The problem that you face is that it’s relatively easy to take a model and make it look like it’s aligned. You ask GPT-4, “how do I end... [More]”

Finkelstein: Gaza is gone, but don’t give up

Published by marco on in Public Policy & Politics

Here are two videos of the inestimable Norman Finkelstein. The first one is just under ten minutes while the second is much longer: it starts at about 28 minutes into the 100-minute video.

'Gaza is GONE:' Prof. Norman Finkelstein on Israel's Destruction by Glenn Greenwald (YouTube)

Norman Finkelstein: There’s no question in my mind what’s going to happen: Israel is going to say we’re not letting cement into Gaza. It already did that after Cast Lead. It said that Hamas will use the cement to build tunnels. ‘We’re not going to let cement in.‘ And nobody in the international community... [More]”

Capsule Movie Reviews Vol.2024.13

Published by marco on in Movies

Read the explanation of method, madness, and spoilers.[1]

  1. Moonfall (2022)5/10
  2. The Island (2005)6/10
  3. Changing Lanes (2002)5/10
  4. Star Trek Into Darkness (2013)7/10
  5. The Heat (2013)7/10
  6. Wicked Little Letters (2023)7/10
  7. 3 Body Problem S01 (2023)8/10
  8. Kaos S01 (2024)8/10
  9. Hunter Killer (2018)7/10
  10. Transformers (2007)7/10
Moonfall (2022)5/10
I’d seen this movie before, but couldn’t find my review of it, so here it is. This is not a good movie. The... [More]

2 months Ago

Links and Notes for November 8th, 2024

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