Chris Green

Back at Valve. gfx,simulation,parallelism,math,AI,HW,VR,game engines. MTG Online,Ultima Underworld,AmigaOS,Flight Sim,Scuba,Paleontology. ~40years experience.

2025-05-27

@afreytes interested in the answer. Basically a liberal attribution only license that forbids laundering the code through "ai" without attribution.

2025-05-24

I'm digging this syntax in my preprocessor-based language:
myData[].m_nCount = 0 // set count field of every element
F( data[]) // call f on every element of data
workitems[].Execute() // call method on every element

2025-05-03

@dysfun it's pretty good in current gcc imho

2025-05-01

@luckytran Search string no one "doing their own research" on vaccines will ever type into youtube: Introduction to virology lecture.

2025-04-30

C++ linear algebra opinion: operator* should be matrix mul, only taking valid combinations of dimensions. vec3d*vec3d is invalid. v1*v2.transpose() is legal as is v1.Dot(v2). If you want the Hadamard product, you should call a .Hadamard() or .ComponentWiseMultiply() method. For 1d vectors, there should be both column and row vector variants and ones that have an implicit 1 or 0 added for use with projection matrices etc. Constraining operations like this is like strong type checking for math.

2025-04-28

@tante if only they'd make those "ai" chips more useful for the only consumer software mass market users are willing to plunk down cold hard cash for (games)

2025-04-27

@Nickiquote He was a coward in ww1 _and_ ww2. its a fundamental attribute of fascists.

2025-04-26

Seems cool so far. I'm having trouble breaking myself of the habit of typing spaces around operators though.

2025-04-26

@kims He looks like the leaning tower of Pisa with those platform heels.

2025-04-26

I'm messing with a radical set of bindings for editing c++. Normal arrow keys advance by lexical tokens, skipping white space. Keys like bs, del, etc operate on tokens. Eol comments are skipped (to edit them, use the normal emacs comment key). To edit by characters, use ctrl-arrow, ctrl-del, etc. After every modification, a filter adds or removes spaces around operators and keywords like 'if' based on a setting (so you never type spaces except to end keywords or in string literals). #emacs

2025-04-23

@yora Mostly coding. 3 columns of text editing windows, debugger, tools, the game itself, web browser, ssh sessions, pdfs,...
Also I like to use larger fonts (tahoma 12 is my main editing font). (desktop image is a 7680x2160 samsung ultra-wide monitor).

2025-04-23

hmm would this be my ultimate monitor setup?

3x Asus 5K 27" monitors for a total resolution of 15360x2880.

Anyone have a config like this?

2025-04-23

@dev Favor

uint64_t value_lower_bound = uint64_t( 0.9 * expected_value);

It's more readable and protects you from precedence bugs.

2025-04-21

@elfin still should be avoided and causes more trouble than it's worth imho.

2025-04-20

@lritter "Send more Chuck Berry"

2025-04-18

@codinghorror
Sellers hated the hilarious outtakes at the end.. he thought it might have cost him the Oscar

2025-04-18

@codinghorror one of my very favorites. Peter seller's best role.

2025-04-15

@efi qlerp

Chris Green boosted:
2025-03-27

Why would you ever want to render LaTeX formulas in code comments AND colorize them, you ask? Because now, you can 🚀

github.com/esquellington/Latex

A ludicrous example of colorized equations in C++ comments using the “xcolor” package added in customized laic-extra-packages
2025-03-20

@BenjaminHCCarr I'm surprised the record is so shallow.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst