Actors - A Model Of Concurrent Computation In Distributed Systems (1985)

https://news.ycombinator.com/item?id=46851192
https://apps.dtic.mil/sti/tr/pdf/ADA157917.pdf

A foundational model of concurrency is developed in this thesis. We examine issues in the design of parallel systems and show why the actor model is suitable for exploiting large-scale parallelism. Concurrency in actors is constrained only by the availability of hardware resources and by the logical dependence inherent in the computation.

Note: There is bunch of cons to such model, like: memory usage, hard to reason about, hard to debug.

Render Mermaid diagrams as beautiful SVGs or ASCII art

https://github.com/lukilabs/beautiful-mermaid
https://news.ycombinator.com/item?id=46804828

Example diagram.

Guess the square color game

Looking at Magnus evaluating random peoples elo, one of the questions is also what color certain square is. So here is a little game written by ai that lets you practise that.


♘ Guess the square color.

Changelog: Fixed some css issues with scrollers (maybe). History log is now visible in js console (Ctrl+Shift+K in firefox).

The console object provides access to the browser’s debugging console (or terminal in Node. js). It is used to log information, debug code, and interact with the runtime environment during development.

Observation: If you add numbers and the result is even, then the square is black.

a1 = 1 + 1 = 2  = black
e4 = 5 + 4 = 9  = white
h8 = 8 + 8 = 16 = black
d3 = 4 + 3 = 7  = white

Grenland by night

retro diffusion (retrodiffusion.ai)

Ghostty ai Policy

https://gothub.lunar.icu/ghostty-org/ghostty/blob/main/AI_POLICY.md
https://news.ycombinator.com/item?id=46730504

After effects, make background rectangle the same size as text

If my text layer is named ‘text’, then this js will be in the background rectangle ‘Size’:

// Define the text layer to follow
var textLayer = thisComp.layer("text"); // Replace with your text layer name

// Get the size of the text
var textRect = textLayer.sourceRectAtTime(time, false);

// Define padding
var paddingX = 10; // Width padding
var paddingY = 30; // Height padding

// Calculate final size
[textRect.width + paddingX, textRect.height + paddingY]

image

TiXL Tooll4 test animation

Displace mesh

https://youtu.be/m2vfj0MvOac

image

Two meshes combined via ‘CombineMeshes’, animated displacement via ‘DisplaceMeshNoise’ powered via ‘PerlinNoise’. Mesh is never rendered out, but vertices are changed into ‘points’ via ‘MeshVerticesToPoints’. Rest should be self-explainable. No keyframes of any kind, all animation is powered via ‘PerlinNoise’.

TiXL Tooll4 seems to work pretty well with this old gpu (GeForce GTX 980 / 4GB).

2-click particles

https://youtu.be/IitV_9nZXLc (4k/50p)

image

DOF does NOT look good for some reason.

Keyframed text animation reveal

https://youtu.be/f0v8NQJRVBc

image

[{"Id":"0cc00c51-41fc-4943-b0bc-3bd4b28fa8b7"/*Object*/,"Inputs":[],"Children":[{"Id":"011298e5-89be-41e4-be56-5c80b7c56167"/*String*/,"SymbolId":"5880cbc3-a541-4484-a06a-0e6f77cdbe8e","InputValues":[{"Id":"ceeae47b-d792-471d-a825-49e22749b7b9"/*InputString*/,"Type":"System.String","Value":"TOOLL4"}],"Outputs":[]},{"Id":"0bc8ef3f-5c26-407a-8887-953c8b514e1c"/*PerlinNoise3*/,"SymbolId":"50aab941-0a29-474a-affd-13a74ea0c780","InputValues":[{"Id":"03df41a8-3d72-47b1-b854-81e6e59e7cb4"/*Frequency*/,"Type":"System.Single","Value":5.1284213},{"Id":"c427d83b-1046-4b8d-b44a-e616a64a702a"/*AmplitudeXYZ*/,"Type":"System.Numerics.Vector3","Value":{"X":0.005,"Y":0.005,"Z":0.0}}],"Outputs":[]},{"Id":"0e3f0788-5beb-4bb1-bb26-d71fd549f03e"/*Text*/,"SymbolId":"fd31d208-12fe-46bf-bfa3-101211f8f497","InputValues":[{"Id":"835d7f17-9de4-4612-a2f0-01c1346cdf1a"/*Spacing*/,"Type":"System.Single","Value":133.14171},{"Id":"d89c518c-a862-4f46-865b-0380350b7417"/*Size*/,"Type":"System.Single","Value":183.4397},{"Id":"de0fed7d-d2af-4424-baf3-81606e26559f"/*Position*/,"Type":"System.Numerics.Vector2","Value":{"X":0.0031847656,"Y":0.0027872026}}],"Outputs":[]},{"Id":"24cd1818-63e0-44ff-a3a7-2b83c84525ee"/*RgbTV*/,"SymbolId":"5972a57b-73cd-49b2-8b24-96636a4c294b","InputValues":[{"Id":"38529a44-4622-4c87-886e-72f4400ec468"/*PatternAmount*/,"Type":"System.Single","Value":0.3649069},{"Id":"402ec136-4727-41b7-8bfb-344d1ed83a48"/*Visibility*/,"Type":"System.Single","Value":1.0651337},{"Id":"88258a10-d5e4-4a4e-80b3-eacaebe75abf"/*ImageContrast*/,"Type":"System.Single","Value":1.242656},{"Id":"e29b1dad-d3ef-405f-99c0-4552caedaf7c"/*GlowIntensity*/,"Type":"System.Single","Value":1.4399029},{"Id":"e3e3f393-0c43-4c71-b134-adc094ca2965"/*Buldge*/,"Type":"System.Single","Value":0.039449397},{"Id":"fc4e5ca3-edb3-4ebc-8210-b339d7914741"/*BlurImage*/,"Type":"System.Single","Value":5.424292}],"Outputs":[]},{"Id":"278e055f-c859-40d7-862b-3f909670972f"/*Blur*/,"SymbolId":"946da16c-f536-4887-b764-af9468f22c0f","InputValues":[{"Id":"3c8b43be-430f-4afe-8244-5282be49bfbc"/*Samples*/,"Type":"System.Single","Value":39.449394},{"Id":"99188668-b6ac-468b-a892-cd020a3862b2"/*Size*/,"Type":"System.Single","Value":0.0}],"Outputs":[]},{"Id":"330ae4cf-1247-44c7-abc3-4d133a70279a"/*Camera*/,"SymbolId":"746d886c-5ab6-44b1-bb15-f3ce2fadf7e6","InputValues":[{"Id":"fee19916-846f-491a-a2ee-1e7b1ac8e533"/*PositionOffset*/,"Type":"System.Numerics.Vector3","Value":{"X":0.009862349,"Y":0.0,"Z":0.0}}],"Outputs":[]},{"Id":"357925c8-3fa1-4b48-aea2-e7145b34a962"/*RenderTarget*/,"SymbolId":"f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1","InputValues":[],"Outputs":[]},{"Id":"689d845e-62f1-4f44-ac01-1f5189249442"/*ChromaticAbberation*/,"SymbolId":"8a203866-148d-4785-ae0e-61328b7646bb","InputValues":[{"Id":"4c51b5f5-5307-45a7-9641-25f572627926"/*Size*/,"Type":"System.Single","Value":8.087126}],"Outputs":[]},{"Id":"9bcac5c1-9536-4e0c-9a26-b221d43f48d6"/*BlendImages*/,"SymbolId":"48781d5a-d67f-4b9f-8554-35185ddb6c5c","InputValues":[],"Outputs":[]},{"Id":"cb7d1ed8-f677-4627-b2cc-6600a2194664"/*Grain*/,"SymbolId":"b5102fba-f05b-43fc-aa1d-613fe1d68ad2","InputValues":[{"Id":"195da7e0-5279-4900-80cd-5635e96ab454"/*Amount*/,"Type":"System.Single","Value":0.37674174},{"Id":"36df2611-4f74-4cc5-a49d-c0aff65f738a"/*RandomPhase*/,"Type":"System.Single","Value":0.424081},{"Id":"903c0270-dc46-402e-8088-8db8368a6dfb"/*Color*/,"Type":"System.Single","Value":0.0},{"Id":"d24cce46-dd3f-4047-a33f-50abbca89cc4"/*Exponent*/,"Type":"System.Single","Value":2.0809557}],"Outputs":[]},{"Id":"d6772639-e417-4f42-89b9-905767ee32af"/*Glow*/,"SymbolId":"d392d4af-4c78-4f4a-bc3f-4c54c8c73538","InputValues":[{"Id":"353ac2ee-aed3-4614-adf5-e1328768fd0b"/*Samples*/,"Type":"System.Single","Value":30.0},{"Id":"4927a3fc-87ff-44e7-88c0-499e3efcca55"/*Intensity*/,"Type":"System.Single","Value":0.7396762},{"Id":"4c9b9135-f27b-414e-bed7-f9e5640dc526"/*Threshold*/,"Type":"System.Single","Value":-0.050000012},{"Id":"57968725-0a45-44f9-a9a2-f74c10b728e8"/*Radius*/,"Type":"System.Single","Value":1.6765994},{"Id":"7f6dba80-bf4e-4e55-bd9a-ac1e2a077898"/*Color*/,"Type":"System.Numerics.Vector4","Value":{"X":0.7573772,"Y":1.0,"Z":0.98002726,"W":1.0}}],"Outputs":[]},{"Id":"fc4cdf5d-b479-4053-8582-e771ad0a61b0"/*RemapColor*/,"SymbolId":"da93f7d1-ef91-4b4a-9708-2d9b1baa4c14","InputValues":[{"Id":"8a2cc68c-ec38-4bb5-a201-e5c06f0a38d1"/*Exposure*/,"Type":"System.Single","Value":0.09862349},{"Id":"c45d487b-3221-44c7-bf9e-b982a65280f6"/*Gradient*/,"Type":"T3.Core.DataTypes.Gradient","Value":{"Gradient":{"Interpolation":"Linear","Steps":[{"Id":"dcb0ca6c-4c5a-43a6-a217-8bffcde72a5e","NormalizedPosition":0.04082429,"Color":{"R":0.0,"G":1.2159347E-11,"B":1E-06,"A":1.0}},{"Id":"ea0ac153-e8d9-4d5e-bbd2-22f5c0124df2","NormalizedPosition":0.059320793,"Color":{"R":1.0,"G":0.99999,"B":1.0,"A":1.0}}]}}}],"Outputs":[]}],"Connections":[{"SourceParentOrChildId":"011298e5-89be-41e4-be56-5c80b7c56167","SourceSlotId":"dd9d8718-addc-49b1-bd33-aac22b366f94","TargetParentOrChildId":"0e3f0788-5beb-4bb1-bb26-d71fd549f03e","TargetSlotId":"f1f1be0e-d5bc-4940-bbc1-88bfa958f0e1"},{"SourceParentOrChildId":"cb7d1ed8-f677-4627-b2cc-6600a2194664","SourceSlotId":"df388f27-f5b6-417b-87a7-a6a59b625128","TargetParentOrChildId":"24cd1818-63e0-44ff-a3a7-2b83c84525ee","TargetSlotId":"2dbfdd5d-8b4b-447c-bd19-326d46657ea1"},{"SourceParentOrChildId":"357925c8-3fa1-4b48-aea2-e7145b34a962","SourceSlotId":"7a4c4feb-be2f-463e-96c6-cd9a6bad77a2","TargetParentOrChildId":"278e055f-c859-40d7-862b-3f909670972f","TargetSlotId":"c115fd60-86c5-425f-975b-0b5e92c0f42b"},{"SourceParentOrChildId":"0e3f0788-5beb-4bb1-bb26-d71fd549f03e","SourceSlotId":"3f8b20a7-c8b8-45ab-86a1-0efcd927358e","TargetParentOrChildId":"330ae4cf-1247-44c7-abc3-4d133a70279a","TargetSlotId":"047b8fae-468c-48a7-8f3a-5fac8dd5b3c6"},{"SourceParentOrChildId":"0bc8ef3f-5c26-407a-8887-953c8b514e1c","SourceSlotId":"1666bc49-4dae-4cb0-900b-80b50f913117","TargetParentOrChildId":"330ae4cf-1247-44c7-abc3-4d133a70279a","TargetSlotId":"fee19916-846f-491a-a2ee-1e7b1ac8e533"},{"SourceParentOrChildId":"330ae4cf-1247-44c7-abc3-4d133a70279a","SourceSlotId":"2e1742d8-9ba3-4236-a0cd-a2b02c9f5924","TargetParentOrChildId":"357925c8-3fa1-4b48-aea2-e7145b34a962","TargetSlotId":"4da253b7-4953-439a-b03f-1d515a78bddf"},{"SourceParentOrChildId":"d6772639-e417-4f42-89b9-905767ee32af","SourceSlotId":"2ce1453b-432b-4d12-8fb7-d883e3d0c136","TargetParentOrChildId":"689d845e-62f1-4f44-ac01-1f5189249442","TargetSlotId":"b62aece4-8098-475b-a4d3-469f81a58207"},{"SourceParentOrChildId":"fc4cdf5d-b479-4053-8582-e771ad0a61b0","SourceSlotId":"16e37306-05e1-4de6-babd-80a8d1472a2f","TargetParentOrChildId":"9bcac5c1-9536-4e0c-9a26-b221d43f48d6","TargetSlotId":"12a875e2-89c8-4a16-91ec-9f9ac431f10c"},{"SourceParentOrChildId":"278e055f-c859-40d7-862b-3f909670972f","SourceSlotId":"fa46b9f0-46d6-4ab3-8406-409e1dc5e9a4","TargetParentOrChildId":"9bcac5c1-9536-4e0c-9a26-b221d43f48d6","TargetSlotId":"12a875e2-89c8-4a16-91ec-9f9ac431f10c"},{"SourceParentOrChildId":"689d845e-62f1-4f44-ac01-1f5189249442","SourceSlotId":"8af0d916-9708-422b-8fb7-39ef59c82d7f","TargetParentOrChildId":"cb7d1ed8-f677-4627-b2cc-6600a2194664","TargetSlotId":"4525c76c-cdcf-47f3-aa96-335cfc5b5c1b"},{"SourceParentOrChildId":"9bcac5c1-9536-4e0c-9a26-b221d43f48d6","SourceSlotId":"83ad8874-210d-461f-b7ce-dfd7ff6338f9","TargetParentOrChildId":"d6772639-e417-4f42-89b9-905767ee32af","TargetSlotId":"f6bdd487-c16e-4fb0-bfba-b3801f121314"},{"SourceParentOrChildId":"278e055f-c859-40d7-862b-3f909670972f","SourceSlotId":"fa46b9f0-46d6-4ab3-8406-409e1dc5e9a4","TargetParentOrChildId":"fc4cdf5d-b479-4053-8582-e771ad0a61b0","TargetSlotId":"876f6f64-7cb4-4060-8571-e0b78b437d41"}],"Animator":[{"InstanceId":"fc4cdf5d-b479-4053-8582-e771ad0a61b0","InputId":"8a2cc68c-ec38-4bb5-a201-e5c06f0a38d1","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":0.0,"Value":0.5522915720939636,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":1.5,"Value":0.09862349182367325,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"d6772639-e417-4f42-89b9-905767ee32af","InputId":"57968725-0a45-44f9-a9a2-f74c10b728e8","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":0.0042,"Value":4.684615612030029,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":1.7277,"Value":1.676599383354187,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":-1.1288339481800835,"OutTangentAngle":2.0127587054097096},{"Time":2.0902,"Value":0.2761457860469818,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"d6772639-e417-4f42-89b9-905767ee32af","InputId":"4927a3fc-87ff-44e7-88c0-499e3efcca55","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":0.0042,"Value":0.7791255712509155,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":1.1652,"Value":0.7396761775016785,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":6.2322611639014704,"OutTangentAngle":3.0906685103116773},{"Time":2.0902,"Value":0.1380728930234909,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"278e055f-c859-40d7-862b-3f909670972f","InputId":"99188668-b6ac-468b-a892-cd020a3862b2","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":0.4122,"Value":4.142186641693115,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":1.5875,"Value":0.0,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"24cd1818-63e0-44ff-a3a7-2b83c84525ee","InputId":"e3e3f393-0c43-4c71-b134-adc094ca2965","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":-0.0004,"Value":0.31559517979621887,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":1.2371,"Value":0.03944939747452736,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"0e3f0788-5beb-4bb1-bb26-d71fd549f03e","InputId":"835d7f17-9de4-4612-a2f0-01c1346cdf1a","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":-0.0157,"Value":98.22899627685547,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":3.141592653589793},{"Time":-0.0004,"Value":133.14170837402344,"InType":"Linear","OutType":"Linear","InEditMode":"Linear","OutEditMode":"Linear","InTangentAngle":1.5703580910320043,"OutTangentAngle":1.5863337684680467},{"Time":1.9152,"Value":9.862349510192871,"InType":"Spline","OutType":"Spline","InEditMode":"Smooth","OutEditMode":"Smooth","InTangentAngle":0.0,"OutTangentAngle":-3.141592653589793}]}},{"InstanceId":"689d845e-62f1-4f44-ac01-1f5189249442","InputId":"4c51b5f5-5307-45a7-9641-25f572627926","Curve":{"PreCurve":"Constant","PostCurve":"Constant","Keys":[{"Time":0.0152,"Value":8.087125778198242,"InType":"Linear","OutType":"Linear","InEditMode":"Linear","OutEditMode":"Linear","InTangentAngle":-0.7421032012200759,"OutTangentAngle":2.3994894523697172},{"Time":1.9512,"Value":6.311903476715088,"InType":"Spline","OutType":"Spline","InEditMode":"Linear","OutEditMode":"Linear","InTangentAngle":-0.7421032012200759,"OutTangentAngle":-3.883695854809869}]}}]},{"Id":"0cc00c51-41fc-4943-b0bc-3bd4b28fa8b7"/*Object*/,"Description":"","InputUis":[],"SymbolChildUis":[{"ChildId":"011298e5-89be-41e4-be56-5c80b7c56167"/*String*/,"Position":{"X":0.0,"Y":32.73633}},{"ChildId":"0bc8ef3f-5c26-407a-8887-953c8b514e1c"/*PerlinNoise3*/,"Position":{"X":0.0,"Y":139.81055}},{"ChildId":"0e3f0788-5beb-4bb1-bb26-d71fd549f03e"/*Text*/,"Position":{"X":140.0,"Y":32.73633}},{"ChildId":"24cd1818-63e0-44ff-a3a7-2b83c84525ee"/*RgbTV*/,"Position":{"X":1168.4819,"Y":21.855957}},{"ChildId":"278e055f-c859-40d7-862b-3f909670972f"/*Blur*/,"Position":{"X":363.23438,"Y":86.055664}},{"ChildId":"330ae4cf-1247-44c7-abc3-4d133a70279a"/*Camera*/,"Position":{"X":140.0,"Y":104.81055}},{"ChildId":"357925c8-3fa1-4b48-aea2-e7145b34a962"/*RenderTarget*/,"Position":{"X":270.9204,"Y":213.70361}},{"ChildId":"689d845e-62f1-4f44-ac01-1f5189249442"/*ChromaticAbberation*/,"Position":{"X":1002.27637,"Y":13.821289}},{"ChildId":"9bcac5c1-9536-4e0c-9a26-b221d43f48d6"/*BlendImages*/,"Position":{"X":623.62415,"Y":0.0}},{"ChildId":"cb7d1ed8-f677-4627-b2cc-6600a2194664"/*Grain*/,"Position":{"X":1010.12256,"Y":86.356445}},{"ChildId":"d6772639-e417-4f42-89b9-905767ee32af"/*Glow*/,"Position":{"X":828.4105,"Y":5.59375}},{"ChildId":"fc4cdf5d-b479-4053-8582-e771ad0a61b0"/*RemapColor*/,"Position":{"X":363.23438,"Y":15.57373}}],"OutputUis":[]}]