I turned my
adblocker off youtube
for a minute to see what it was like to have recommendations appear again.
Manbait everywhere.
Arm wrestling muscle beach in grandpa latex. NBA highlights but they get
increasingly ____. So many prank videos.
I'm sure the videos are entertaining and they take a lot of time and effort
to make and they've brought a lot of joy to the world. But the gestalt is so
bleak to me now.
Peanut butter with poison stirred in. A piece of cheese atop a springloaded
metal hinge. A narrow stick balanced atop an open bucket with no way to get
out.
I want to try and trick the algorithm to showing me bait for other
demographics. What's girlbait? What's seniorbait?
This movie should have been called Hisstopia because of how bad and about
snakes it is.
I remember liking the first one as an effective buddy cop conspiracy with a
lot of worldbuilding. This one's a complete rehash, but the main character's
emotional progress has been inexplicably reset🐇
which makes it feel somehow both painful and pointless to see her treat her
best friend like shit for another entire movie (the main violation is that
she consistently disregards his opinions and ignores his requests)
One of my friends just sent me a voice note making a couple of points:
Visual generative AI is getting really good
This is starting to do weird things on our video and image-based social
media networks
Influencers are nervously wondering if their industry will survive when
brands can have individualized, hot & funny digital avatars market
products to consumers directly
Maybe we shouldn't be posting photos of ourselves online if they can be
used by bad guys to make deepfakes of us?
Awareness of all of this is a privilege: less-informed people will be
exploited by these systems that they don't understand
I basically agree with all of that, though I'm very uncertain as to what the
end state of any of it is.🌦️
Governments are trying to clamp down on unfettered internet access:
age-restricting websites, banning social media for teens. Maybe this leads
to the beginning of a utopian society-wide detox from the internet:
At the end of such a day [of no phones] in France, my students weren’t
pining for two hours on Instagram. If I’d handed them all devices at 6
every night, I’d have witnessed a lot of rotting. Here’s what happened
instead: Ping-Pong, knitting, charades, climbing hay bales, letter
writing, stargazing, sitting through two-hour dinners with nary a device
on the table. Between bursts of writing, my students actually rested.
Like the kids that they still are, they played.
After four weeks of these new rhythms, my students were raving to me
about the effects: Will was sleeping more deeply than ever before, Gaby
was reading quickly again, Devin had shocked himself not only by his
output (15 essays in four weeks) but also by how long (a full six hours)
he could just sit in a room — alone — and write.
Or maybe it births a new, worse-than-what-we've-already-got, adults-only
internet with the legal system's blessing to be as X-rated as profitable👯♀️:
No one, besides maybe Neil Postman, could have predicted the formation
of an international pornography cult. But the gooners’ rise does, in
retrospect, possess a certain inevitability. Anyone paying attention
to online porn’s evolution over the preceding twenty years could
sense, in its brain-melting variety and abundance, the blueprint for a
new kind of person, a new relationship to human sexuality. In my own
lifetime, I have seen incredible advances in the world of pornography.
When I was a boy, there were still porn magazines; fathers hid them on
high shelves. You stood on stools and gawked at them in a state of
mortal terror. But by the time I started college, in the late Aughts,
the foundations of our present porn environment were firmly
established. Widespread broadband internet had enabled the rise of the
so-called tube sites: platforms like Pornhub, which streamed untold
numbers of clips free of charge. Then came the smartphones,
transforming every toilet stall into a potential porn theater. The
very air, suddenly, was misted with pornography.
The problem is not just porn sites. They are of course a massive
concern. Kids as young as nine are addicted. The average age to
discover porn is now 13, for boys and girls. And many in my generation
are now realising just how much being raised on porn affected them,
believing it “destroyed their brain” and distorted their view of sex.
But the problem is bigger than that. Porn is everywhere now. TikTok is
serving up sex videos to minors and promoting sites like OnlyFans. The
gaming platform Twitch is exposing kids to explicit live-streams. Ads
for “AI sex workers” are all over Instagram, some featuring kids’ TV
characters like SpongeBob and the Cookie Monster. And there’s also
this sort of “soft-porn” now that pervades everything. Pretty much
every category of content that kids could stumble across, from beauty
trends to TikTok dances to fitness pages, is now pornified or
sexualised in some way for clicks.
As with all things, it's probably going to be a bit of both.
The consequences of AI are going to be massively systemic.🫏
I don't think my efforts to unzuck myself will show up in any historian's
account of the 21st century.
But locally, I think it makes a difference. All I really want to do is read
and write and interact with my close friends. I have no desire to grow a
following, or build a network, or develop my personal brand.
If you do, it's harder. You can use
ActivityPub🐑 or
ATProto: own your algorithm and be selective with your privacy settings🕵️, but these networks are still juvenile and the federated interoperative
dream is still on its way. Most people still don't really get what Mastodon
is and won't know how to follow you from the walled garden they're held
captive in. "The internet" is just five websites that all look the same.
It's asking an arm and a leg of someone to not use Facebook Messenger or to
follow your travel updates via RSS.
But I'm okay with doing this because I also believe that being on those
platforms myself is just bad for me. It's like, yeah, if you want to hang
out you have to come jogging with me, but we should all jog more and jogging
alone is still better than nothing at all.
And get this:
jblogging
🤯
On my friend's point that "technology is unfair", yeah, it sucks. I get so
mad whenever I help my mum with some tech thing and I see how confusing the
experience is for her. Windows has changed for the umpteenth time, and half
of her google search results are ads or spam, and her apps don't work
anymore because her laptop is 5 years old.
Each of these things has a specific fix that I can implement, but I'm
annoyed that I have to do it at all, and like the unzucking, it's not a
systemic fix. There are billions of people out there without a tech support
family member.
One thing I'm a little optimistic about is that language model assistants
are probably going to help most people be safer on average. There will be
accidents and exploits and prompt injections and all the bad things, but a
world where the majority of people ask claude "Hey Claude, is this legit?"
before doing something they're uncertain about probably has fewer
life-ruining errors in it. Depending on how life-ruining you think it is to
lose the ability to think for yourself.
No matter how hard they try, brain scientists and cognitive psychologists
will never find a copy of Beethoven’s 5th Symphony in the brain – or
copies of words, pictures, grammatical rules or any other kinds of
environmental stimuli. The human brain isn’t really empty, of course. But
it does not contain most of the things people think it does – not even
simple things such as ‘memories’.
the evolution of metaphors for the brain (clay → hydraulics → machines →
electrochemistry) traces a series of practical but incomplete models:
other paradigms, with their own
entities and rules, which allowed us to iteratively complexify our conceptual model of the
brain🧠.
once the limits of the metaphor were reached, or new technology with
more complex or expressive dynamics was discovered⚙️,
the paradigm shifts.
it's not a bad thing to have an incomplete paradigm. it's a bad thing once
it supresses a better, more explanatory one from coming along. Robert
suggests that this is what the humours metaphor did, though I think there
were probably many more significant factors at play if you want to talk
about why it took so long for the renaissance to happen.
there's a type of computer process that people colloquially refer to as
"baking." the computer isn't literally putting bits in an oven at 180°C,
but the metaphor is helpful because it quickly conveys that some
ingredients were assembled, and now a process is about to occur that will
take some time, and there will be some output on the other side that we
care about. language is full of these and we have to make subjective calls
about which metaphors are best at capturing the dynamics of a system that
are relevant to us based on how well we think they strike the right
balance between clarity, correctness, intuitiveness, etc.
his example of a "non-algorithmic" explanation of how to catch a ball is
literally an algorithm. I think we have fundamentally different
understandings of what "information", "processing", and "computation"
means.
his "metaphor-free" everything-is-operant-conditioning proposal is a
theory that collapsed in the 70s?
Misleading headlines notwithstanding, no one really has the slightest idea
how the brain changes after we have learned to sing a song or recite a
poem. But neither the song nor the poem has been ‘stored’ in it. The brain
has simply changed in an orderly way that now allows us to sing the song
or recite the poem under certain conditions. When called on to perform,
neither the song nor the poem is in any sense ‘retrieved’ from anywhere in
the brain, any more than my finger movements are ‘retrieved’ when I tap my
finger on my desk. We simply sing or recite – no retrieval necessary.
Why don't we just say that that's retrieval, which is maybe kind of similar
to other sorts of things that we call retrieval, and see if this helps us
explain or make predictions about a system any better than before? "The
brain doesn't retrieve. We simply sing." is not a predictive theory that
could help us understand things, rather it suggests that we shouldn't even
try.
I don't think this was a good representation of anti-representationalism,
and I don't claim to have any answers as to how the brain works (I'm just a
guy who really liked
Being You) but I think if you're going to point out why the dominant paradigm
doesn't work, you need to make a better case than this.
There's a good version on
Standard Ebooks. Greg Wagland's rendition is also great.👂
For thirty years, I've sailed the seas and seen good and bad, better and
worse, fair weather and foul, provisions running out, knives going, and
what not. Well, now I tell you, I never seen good come o' goodness yet.
Him as strikes first is my fancy; dead men don't bite; them's my
views—amen, so be it.
It's wild to think how many of today's pirate tropes this popularized or
influenced☠️ Yo ho ho and a bottle
of rum!
Pew was a really menacing minor villain! I was genuinely scared of him.
Despite the mutiny, everyone has a very strong code of honour. Jim makes
promises to the pirates and desperately hopes to keep them, to his great
personal risk.
They didn't know what caused malaria back then. The doctor is going on
about the quality of the air: low, boggy air was bad. dry, mountainous air
was good. Cool to see some proto-science.
The novel's awash with nautical terminology. How many of these words and
terms did the average British kid know back then?
I think I might be entering my audiobook era. Going for a run getting lost
in a story is a delightful double-dip, though I wish it were possible to
highlight noteworthy excerpts while listening.
A friend just asked me this. Might as well write it down.
I stopped eating meat when I was 17 because my girlfriend at the time was
vegetarian, and I knew that it was one of the remaining ways I could
significantly lower my carbon footprint.
A year or so later I made the switch to veganism because of the same logic.
After a few years of being "outside" of meat consumption, it became possible
for me to be able to think more critically about the moral aspects of
breeding/farming/eating animals.🧱
So now I stay vegan both to reduce emissions and habitat loss, and to try
and absolve myself somewhat from the suffering.
The cruelty and pain is greater than anyone can comprehend. It is one of the
most evil atrocities humanity continues to commit. I desperately hope for
its end. I want children to grow up in a world where they're truly horrified
to learn what we did to trillions of animals for hundreds of years.
I first saw this on
Hakushi Hasegawa's website1 and after a little
digging around in the source, saw that it was implemented with a shader and
three.js
But I had a hunch that it might be possible with CSS blending modes. Not
because I fully understood them, but just because it
seemed like the sort of thing they're made for.
And as you can see, my hunch was correct, but as I write this sentence I
still don't completely understand why.
They've been
explainedamilliontimes
by other people, but it's an open secret that blog posts like this are for
me, not you, so here we go again:
What actually are blending modes?
In a black and white image, every pixel can be represented as a value
between 0 and 1.
0 is fully black. 1 is fully white.
Blending modes are rules for what should happen when you combine two of
these numbers. For instance, the darken mode takes
the lower of the two.
Or the multiply blending mode, which can be written
as:
where
is the base pixel value
is the blend pixel value (the one on top with the blending mode set)
is the output
If you have one pixel that is 0.5 (medium gray) and another that is 0.7
(light gray) and you blend them together with the
multiply mode, you'll get a pixel that is 0.35.
And to be clear, this isn't just 3 divs with 3 different hexcodes. The third
square you see is two divs stacked on top of one another with
mix-blend-mode: multiply
set on the top one.
need proof?
One thing you might take away from multiply is that
it's not possible to get a lighter value than the values going into it. A
fraction of a fraction is always smaller than the fraction itself.
How about the other blending modes? Expand for more details than the
average person wants to know
So how do we use these tools to make the spotlight? The key is understanding
that the abrupt edges of the
color-dodge mode can turn a gradient into a mask.
With color-dodge, as the blend pixel approaches 1,
the denominator approaches zero and the output value increases abruptly.
Here's a medium gray base layer and a black-to-white gradient blended over
it using
color-dodge
Think about what's happening here.
A is 0.5
B ranges from 0 to 1.
On the left, B is 0, so we're dividing 0.5 by 1, which equals 0.5
2
As B approaches 1, we start to divide A by a smaller and smaller number.
When B is 0.5, we divide 0.5 by 0.5, which equals 1: pure white. Any higher
value of B makes no difference because 1 is the lightest value possible.
As soon as the blend pixel becomes lighter than the base pixel, the output
flips to white.
What if we blended a gradient over a noise texture?
Some of the noise pixels have slightly lightened, and many of them have
turned fully white.
Effectively, what's happening is the computer is sampling each pixel and
comparing it to the gradient. If the gradient is lighter, it hides the
pixel. The further along the gradient you go, the more pixels get hidden.
Now all we need to do is make the remaining pixels black. Fortunately,
there's another blend mode for that:
color-burn
color-burn takes the inverse of your base layer,
divides it by the blend layer, and then takes the inverse of that.
Let's color-burn a black layer over the
color-dodge layer.
We start by picking one of the remaining visible pixels. Say we pick one
that's dark gray (0.3)
The inverse of dark gray is a light gray (0.7)
The blend layer is black (0)
0.7 / 0 = Infinity
1 - Infinity = -Infinity
CSS can't display negative infinity: it clamps the value to 0. This is why
all the gray pixels turn black: we're always going to be dividing them by
zero.
But there's a special case! What if the pixel we sample is white? (1)
The inverse of white is black (0)
The blend layer is black (0)
0 / 0 = NaN
1 - NaN = NaN
NaN means "Not a Number", which is a special value used to represent
undefined or unrepresentable numerical results. Fortunately for us, CSS
renders these specific errors as white.3
And so there you have it. There's some artifacting going on due to tolerance
for near-white values, but to recap:
color-dodge "hides" pixels that are darker than
the gradient.
color-burn blackens the remaining pixels
This gives us a pixelated falloff based on the lightness of a gradient that
we can overlay atop a noise layer.
Building the effect
Now that we understand the principle, let's build it step by step.
First, we create a div and center some text in it:
Then we place a new div above the text, with a noisy background image.
Statically positioned elements' backgrounds paint first, which is why the
absolutely positioned text is shown above it.
Then we place a div inside the noise layer and give it a radial-gradient
from white to black.
Because the div is absolutely positioned, it's now painted above the text.
We can set a darken blend on the darkness layer so
that the darker black of the text shows through.
Now we can add mix-blend-mode: color-dodge to the
spotlight div.
But wait, why doesn't the spotlight hide the text? Isn't white lighter than
black?
Nesting spotlight inside the noise layer puts it in a new stacking context.
When you set a blend mode on an element, it only blends with elements that
are behind it in the same stacking context. To use a metaphor, the spotlight
is inside a box (the noise layer). It can blend with the walls of its box,
but it can't reach outside the box to blend with things sitting next to the
box.
This changes how the box looks, but the box (the noise layer) is still
blending with the text in its stacking context using
darken.4
Finally, we add a new div over everything, with
mix-blend-mode: color-burn and
background: #414141 to turn all the remaining
non-white pixels black.5
A little JavaScript to make the circle follow the mouse and you've got a
spotlight!
If you'd asked me how blending modes worked before writing this, I would
have said "by iterating through them until you find one that looks right."
I think that's still kind of the case. Experienced photographers probably
have a stronger intuition about when to use a particular mode for adjusting
one of their photos, but I'd be surprised if most of them don't also just
tap the down arrow on the selector to preview what each of the modes would
do.
And I could have implemented all of this with canvas and it would likely
perform better, but I'd need to have learned the theory regardless, and it's
cool to learn what's possible with regular CSS nowadays 🙂
Two years ago, a colleague asked me "concretely, what's a way in which you
think AI is going to change the world?"
I said: the way we relate to and use software. We will stop writing or
installing it.1
We'll instead have an AIs that dynamically write our programs for us.
Two years later, I'm feeling even more confident about this. Claude Code and
Codex are the worst they'll ever be, and they're already one-shotting simple
webapps.
I wanted it for months, but never got around to making it myself, because to
code it by hand would take more time than the idea was worth. But now I can
get it made in 30 seconds, provided I have my laptop on me.
The next step could be making it possible to create these apps by typing a
prompt on my phone: "Write a program that does X, Y, and Z."
The model writes it and stages it somewhere. I'd maybe ask for a few
iterations, and once satisfied, deploy it on my site.3
I think this kind of capability would be really useful, and I'm sure the
ergonomics will improve rapidly (alongside their capabilities and possible
complexity, incorporating our phones' cameras and gyroscopes and what have
you.)
For now, it remains a niche power among those who are somewhat technical or
tool-making. But it seems kind of easy to commodify and market: what could
be more useful than making it easy to make useful things?
Interoperability will be important, and there will still likely need to be
some organizational effort to design and spread standards so that my bespoke
apps can interact with other people's bespoke apps.
But, basically, we're all going to become Geordi Laforge, Chief Prompt
Engineer, and everything will go great. There will be no problems.
this isn't merriam-webster, but i reckon it's when you're motivated by
something other than what you should be.
say you come out of the cinema with your friends and you start raving about
how many of the shots were inspired by some french new wave guy.
maybe you're authentically stoked about the cinematography (the pretense),
but maybe you mostly just want to sound smart about movies because of how it
affects your status in the group.
someone who loves film for its own sake should be happy to talk about the
film at any level with their friends. people aren't familiar with godard?
that's okay, you could also talk about the acting or the story. if you're
incapable of meeting people where they're at, i think people will be
rightfully suspicious that you've got an ulterior motive.
sometimes accusations of pretentiousness are just anti-intellectual. i've
been called pretentious for referencing the history of a genre of music as
part of my appreciation for a song. it felt genuine to me at the time, and i
wish the person who said that had just said "i don't know enough about that
to engage in the same way and i don't want to hear a lecture." or "yeah... i
liked a different aspect of it." instead it was basically like "shut up,
nerd."
it takes two. one to notice that their passion is alienating their
interlocutor and one to engage supportively if someone seems excited to talk
about a subject they love.
this stuff all gets worse if you're talking about disliking something. if
someone's perfomatively liking something, it's easier to overlook that it's
pretend. if they're being a hater, it's a bad deal: being persuaded to enjoy
something less in order to feel insecure about my inferior
taste.1
pretentiousness doesn't have to be about taste or aesthetics. i was
pretentious the other day when i got in a little back-and-forth with my
driving theory instructor about whether or not he had explained something
correctly. ostensibly i was speaking up to clarify for myself and my fellow
students, but once he began to double-down on his confusing explanation and
i started to try to explain to him why it was confusing, i could feel my
motivation shift to something else: i wanted to outdo him and show that i
was smart to the group.2
it's hard to know what the exact mix of any of our motivations is. i like to
flex my vocabulary in a way that is a little pretentious, but i also
genuinely enjoy finding the word that feels like it perfectly conveys what
i'm trying to say. having multiple motivations isn't necessarily
pretentious, but you should try to reduce the amount you decieve yourself or
others as to what they are.