Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile
Oleg 馃嚭馃嚘馃悕 位

@theolegarchy

Originally from Ukraine, I moved to the US when I was 12. I鈥檓 a polyglot programmer, husband, father, and Oxford comma guru.

ID: 1510289387900137473

calendar_today02-04-2022 16:15:06

1,1K Tweet

510 Followers

68 Following

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Playing around with Graphviz today and I really like where this is going! I want to eventually generate these diagrams directly from #Haskell code. Does something like this already exist?

Playing around with Graphviz today and I really like where this is going! I want to eventually generate these diagrams directly from #Haskell code. Does something like this already exist?
Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Static types are like dogs: dependable, great at catching things, and help you feel more secure. Dynamic types are like cats: flexible, full of surprises, and often break things when you鈥檙e not paying attention.

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Terrific talk! I would characterize what's happening as Procedural being a middle ground between OO and FP. Perhaps a stepping stone on the way to full FP? Also, there's a nice trend towards "orthogonal" features. The bits about Borders and JS's new logo cracked me up! 馃ぃ

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

I had the opportunity to mutate some shared state at work today. It would have been sooo easy. Luckily, I changed my mind and threaded the state through like a good boy.

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

I don't know who needs to hear this, but if you're working on GHC and you're not working on improving the ergonomics of records, you're working on the wrong thing. #Haskell

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Ants with neural network brains! (Still untrained.) Watch them react to the food. That's because they can "see" it! A genetic algorithm to train their brains is next. #Haskell #RayLib #Gamedev

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Hey #Haskell, should I switch to inline function signatures? I kind of like it so it's a serious question. add (x :: a) (y :: a) = res :: (Num a) => a where res = x + y

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

The genetic algorithm for training the ant neural network brains is working! However, they're not making trails, so their movement doesn't remind me of ants yet... #Haskell #Raylib #Gamedev

Oleg 馃嚭馃嚘馃悕 位 (@theolegarchy) 's Twitter Profile Photo

Ant trails unlocked! I had to cheat a little and give them 2 different brains for foraging and returning. What you see is the result of 3 days of training. #Haskell #RayLib #Gamedev