Wildest #CSS media query I've written in a while
`@container (inline-size >= calc(100cqi - 120px))`
yep, `calc()` in a MQ!
WHY?
to re-anchor buttons to be "inside" when space is tight
video:
purple outline's are containers
https://t.co/Iqkt0G4Y1B
Chlapík měl plné zuby konspiračních teorií o výpomoci ufounů a podobných blbostí a demonstroval, že s velkými kamennými bloky při stavbách pyramid šlo i bez armád otroků a fantaskních kladkobřinkokřápů snadno manipulovat s využitím hlavy a fyziky ZŠ.
😅👌
navigator.sendBeacon is a method for POSTing data (string, blob, formData...) to an endpoint asynchronously
The browser guarantees to run these requests to completion, which can be a more stable replacement for onbeforeunload or pagevisibility events with a fetch
Have you used this before?
Aevrage Mongolian.
There are 3.2 million people in Mongolia and roughly the same number of horses.
«A Mongol without a horse is like a bird without wings»
https://t.co/2vZeaT0YU3
Visible mending or artistic mending, It involves patching or embellishing damaged areas to make the repair a decorative element
https://t.co/dTr4A6Qdim
Use CSS custom properties and the sin() trigonometric function to give each character an eased animation-delay 🤙
.char {
animation-delay: calc(
sin((var(--index) / var(--total)) * 90deg) *
var(--duration)
);
}
would you watch a stream where I show how to build analytics system like this with supervision?
- detection filtering with polygon zones
- object tracking
- customizable annotators
- line zones with in/out counters
- per-class counts
supervision repo: https://t.co/xXMRaS4ejS
A really nice 628 page textbook for Mathematics from Carnegie Mellon University.
I like the Author's description
"The goal of this book is to help the reader make the transition from being a consumer of mathematics to a producer of it. This is what is meant by ‘pure’ mathematics. While a consumer of mathematics might learn the chain rule and use it to compute a derivative, a producer of mathematics might derive the chain rule from the rigorous definition of a derivative, and then prove more abstract versions of the chain rule in more general contexts (such as multivariate analysis).
Consumers of mathematics are expected to say how they used their tools to find their answers. Producers of mathematics, on the other hand, have to do much more: they must be able to keep track of definitions and hypotheses, piece together facts in new and interesting ways, and make their own definitions of mathematical concepts."
CSS only number slider using @property, round(), sin() and scroll-driven animation 🤙
@keyframes progress { to { --val: 100; }}
.number-wheel {
transform: rotateX(calc(var(--val) * -36deg));
}
Watch for the trick reveal 👇
This 600-year-old painting is one of the most mysterious in history.
That mirror at the back is just 3 inches wide — yet it reflects the entire room in immense detail.
Look closer at it and you'll realize nothing is as it seems… (thread) 🧵
Large Language Models are not "intelligent."
More importantly, it's abundantly clear we won't get to general intelligence by simply scaling these models.
We need new breakthroughs. We need a different architecture.
(Those waiting for GPT-5 to be AGI will probably be disappointed.)
Attached is yet another paper dunking on the hype.
An important idea from the paper:
"Our findings suggest that purported emergent abilities are not truly emergent, but result from a combination of in-context learning, model memory, and linguistic knowledge."
In English: The intelligence you see is coming from memorization and the person writing the prompt.
Another one:
"The ability to follow instructions does not imply having reasoning abilities, and more importantly, it does not imply the possibility of latent, potentially-dangerous abilities."
Yeah, we knew that already: LLMs are not going to destroy the world.
The one downside of having these go viral is that type purity oddballs from other languages start weighing in.
Yes, we know the TS type system is weird. We don't care. We love it.