TheOlegarchy Profile Banner
Oleg 馃嚭馃嚘馃悕 位 Profile
Oleg 馃嚭馃嚘馃悕 位

@TheOlegarchy

Followers
497
Following
7K
Media
272
Statuses
2K

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

Joined April 2022
Don't wanna be here? Send us removal request.
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
A neural network forward function in #Haskell 馃槏
3
0
8
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
8 months
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
0
0
5
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
9 months
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
0
0
12
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
11 months
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
0
0
2
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
11 months
This book is SPECTACULAR for visual learners!
I started distributing a epub and pdf version of my books which are available for my Ko-fi and Patreon supporters.
1
1
10
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
11 months
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
0
0
10
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
Ants with a random brain. Neural network brains are being worked on... #Haskell #RayLib #gamedev
0
0
5
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
Why is refactoring not called factoring? 馃
0
1
5
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
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
0
0
5
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
Now do Haskell. Godspeed.
@_apoorvnandan
apoorv
1 year
- write C code - execute it line by line - visualise memory and pointers
1
0
4
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
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.
0
0
2
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
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! 馃ぃ
@rtfeldman
Richard Feldman
1 year
This is one of my favorite talks that I've ever given, and I'm thrilled that the recording is out now! 馃槂 https://t.co/yZuG7lP1VY
0
0
3
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
Does this graphical notation make recursion easier to understand? 馃 #Haskell #Graphviz
9
0
8
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
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.
1
0
8
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
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?
2
0
6
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
In other words, C-based syntax has some redundancy that helps with readability.
1
0
1
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
Unpopular opinion: I鈥檓 starting to think that C-based syntax is objectively easier to read than ML-based syntax. Using a space for function application makes it difficult to discern function calls from values at a glance. Right? #Haskell #OCaml
15
0
11
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
I've started using OverloadedRecordDot in my personal project. And I'm using NoFieldSelectors in my Types module to force the use of OverloadedRecordDot everywhere. Is this a good idea? If not, why? #Haskell
0
0
0
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
The pretty-simple #Haskell package is pretty dope! https://t.co/yIQNgBatXf
hackage.haskell.org
pretty printer for data types with a 'Show' instance.
0
0
4
@TheOlegarchy
Oleg 馃嚭馃嚘馃悕 位
1 year
What鈥檚 the difference between refactoring and DRYing up code?
1
0
1