←
Piotr Migdal2,977 posts
Piotr Migdal avatar

Piotr Migdal

@pmigdal

Crafting challenges for AI - founding engineer @QuesmaOrg. AI & data viz specialist with PhD in quantum physics. Blogs about tech, neurodiversity and stuff.

◷ Joined February 2011▧ 470 Photos and videos
John Carmack avatar
⟳ Piotr Migdal retweeted
John Carmack@ID_AA_Carmack·Nov 16

Both NeXT and 3DFX tried to “do the right thing” with color spaces, and it wound up generally making them look worse than competing options. I didn’t really understand it properly until years later. It is natural to think that a pixel with a value of 1.0 is emitting twice the photons as a pixel with a value of 0.5, so you can do the obvious linear math to calculate partial pixel coverage, blending a foreground over a background, or interpolating between colors in a texture. If displays are “linear”, that is correct. NeXT and 3DFX were much closer to linear than other contemporary displays. NeXT had crossover from the deep graphics understanding at Pixar, and 3DFX had the SGI heritage. They did this intentionally. If you have 10+ bits per channel like the professional rendering systems, linear displays are The Right Thing. Unfortunately, NeXTStation Colors were 4 bits per channel and 3DFX was 5 or 6 bits per channel, and there… it was not the right thing. Human eyes aren’t linear intensity sensors. We mostly register relative changes in intensity, so we can tell the difference between 0.01 and 0.02 as a huge doubling, while 0.99 to 1.00 is almost imperceptible. This distribution of intensities is often referred to as the “gamma” of the display system, but the actual curves like sRGB are a bit more complicated. If you only have a small number of discrete pixel values, you definitely don’t want to spread them evenly from 0 to 1! If you do, you will have good precision in the brights, but very stark “intensity bands” in the dark colors. If everything was authored specifically for 3DFX, you would still have the fundamental problem with the dark bands, but more accurate blending and filtering. The problem was that artists made all of their textures in paint programs on conventional non-linear displays, so when they were drawn by 3DFX cards, they got the characteristic “washed out color” look. You can mathematically correct textures for differences in display gamma, but I didn’t really understand the issue back in the glQuake days, and we were so enthralled by the absolute performance of 3DFX that the color fidelity didn’t get as much attention as it should have. Even today, tons of games don’t properly handle gamma across their textures and render targets. High resolutions and 24 bit color masks most of it, but you still see it in some slight shimmerings in high contrast textures and edges.

Does anybody know why 3DfX 1 cards had such a washed out color output? In my research, circa '97 I found many people complaining about the colors. Is it gamma? 16-bit color? What can it be?

Post attachment
Justine Moore avatar
⟳ Piotr Migdal retweeted
Justine Moore@venturetwins·Nov 10

Type of shit your subagents start doing when the task requires 5 lines of code

0:32
Jon-Paul Wheatley avatar
⟳ Piotr Migdal retweeted
Jon-Paul Wheatley@jonpaul·Oct 12

Opus 5.5 mapped the entire coast to coast route across the USA for a clicker game I'm playing with. 5,285 km of real road, sampled every 10m from OpenStreetMap.

0:18
Daniel Foubert 🇵🇱🇱🇹 avatar
⟳ Piotr Migdal retweeted
Daniel Foubert 🇵🇱🇱🇹@d_foubert·Oct 19

There is a curious habit in the Polish 🇵🇱 language that foreigners often find difficult to understand: the almost compulsive use of diminutives. A diminutive is a modified form of a word, usually created by adding a suffix, that makes something sound smaller, cuter, more familiar, or more affectionate. In English, it's done by turning dog into doggie, cat into kitty, or mom into mommy. But imagine a language in which practically anything — your coffee, your dinner, your money, your house, your bed, or even your problems — can be transformed into something endearing. Welcome to Poland. In Polish, butter is masło, but it can become masełko. Coffee is kawa, but a pleasant cup becomes kawka. Tea is herbata, but a comforting one is herbatka. Bread is chleb, but it can become chlebek. A duvet is kołdra, but beneath the right circumstances, it becomes kołderka. The objects have not necessarily changed in size. The butter has not shrunk, the coffee is not served in a doll's cup, and the duvet still covers the same bed. What has changed is the speaker's emotional relationship with these objects. The Pole does not merely consume butter. He establishes an affectionate relationship with it. And this is particularly remarkable considering that the Poles are a nation of warriors. They have fought the Germans, the Russians, the Swedes, the Turks, and occasionally one another. Their national mythology is populated by cavalrymen, insurgents, martyrs, and men who would rather die than surrender. Yet, after a long day of defending Western civilisation, the Polish warrior returns home, takes off his boots, puts on his kapciuszki (little slippers), asks his wife for some zupka (little soup), enjoys a little masełko (butter) on his chlebek (little bread), and finally disappears beneath his beloved kołderka (little comforter). Imagine a fifty-year-old Polish man, weighing a hundred kilograms, built like a wardrobe, with the face of someone who has personally survived three Russian invasions. He enters a restaurant and asks for a little kawka. He might then inquire about a ciasteczko (little cake), before calling his wife to tell her that he will soon be back in his domek, his dear little house. There is nothing particularly childish about the man. He may be a colonel, a construction worker, or a retired boxer. He simply inhabits a language in which tenderness is not incompatible with masculinity. And this is where Polish diminutives reveal something fascinating about the national character. Polish culture possesses a strong martial tradition, but also an exceptionally rich domestic vocabulary of affection. The public world celebrates sacrifice, endurance, and heroism. The private world celebrates warmth, nourishment, family, and familiarity. Between the battlefield and the kitchen lies an enormous emotional distance, and the Polish language crosses it effortlessly. One might even detect here a distinctly feminine, or more precisely maternal, dimension of the Polish soul. Not because tenderness belongs exclusively to women, but because Polish diminutives so often express the emotional logic of care. A mother offers her child zupka, holds his rączka (little hand), kisses his główka (little head), and puts him to sleep in his łóżeczko (little bed). These are not merely smaller versions of soup, hands, heads, and beds. They belong to a world in which ordinary things become objects of affection, attention, and protection. And something of this vocabulary survives into adulthood, long after the child has grown a moustache, acquired a mortgage, and developed strong opinions about Russia. The importance of women in Polish family life provides an interesting cultural context for this linguistic habit. The figure of the Polish mother, the Matka Polka, occupies a remarkable position in the country's collective imagination. Historically, she has been represented not merely as a caregiver but as the guardian of the family, the educator of future patriots, and the custodian of national continuity during periods when the Polish state itself had disappeared. It would be excessive to attribute Polish diminutives directly to this tradition, but the emotional correspondence is striking. Behind the Polish cult of military heroism stands another ideal: that of the home, the mother, the family, and the intimate world that all those heroic sacrifices are supposedly intended to defend. Of course, Polish diminutives are not always expressions of affection. They can also convey politeness, irony, condescension, or commercial calculation. A waiter offering kawka may be expressing genuine warmth, or merely hoping for a larger tip. A shopkeeper asking for pieniążki — an affectionate diminutive of pieniądze, meaning money — still expects the full amount. And when someone tells you that there is a little problemik, the situation may be considerably more serious than the word. Image: Jacek Malczewski, Self-Portrait in Armour (Autoportret w zbroi), 1914. Oil on cardboard, 54 × 65 cm.

Post attachment
Piotr Migdal avatar
Piotr Migdal@pmigdal·Oct 10

At DevAI, 20 Oct 2026 (Tue), Warsaw: * Talk: Last year's frontier AI now fits on your laptop * Roundtable: How to use AI for code & design without generating slop? devai.dssconf.pl/

Post attachment
Piotr Migdal avatar
Piotr Migdal@pmigdal·Oct 8

“Mathematics, rightly viewed, possesses not only truth, but supreme beauty — a beauty cold and austere, like that of sculpture [...] yet sublimely pure, and capable of a stern perfection such as only the greatest art can show.” - Bertrand Russell, "From The Study of Mathematics"

Jacek Migdal avatar
⟳ Piotr Migdal retweeted
Jacek Migdal@jakozaur·Oct 8

For the first time, we got over 2048 visitors in the last 30 minutes on the @QuesmaOrg blog, thanks to a Hacker News home run by @pmigdal . You should read it; it's beautiful. 🧵

Post attachment
Ryan Sael avatar
⟳ Piotr Migdal retweeted
Ryan Sael@RyanSael·Sep 23

I asked Opus 5.5 to explain camera focus by building an interactive lens lab Here's what it came up with after 1 hour 26 minutes in one shot, $25.66 API cost lens.lab.sael.net Move the focus ring and you can see the glass elements shift the sharp plane through the scene

0:32