Yuan Ji (@jiwhiz) profile picture

Independent Software Developer and Contractor; Edmonton Java Developer; Open Source and Functional Programming Evangelist

Edmonton, Canada
Joined November 2009
Photo by Yuan Ji (@jiwhiz)Photo by Yuan Ji (@jiwhiz)Photo by Yuan Ji (@jiwhiz)Photo by Yuan Ji (@jiwhiz)
I've completed "Haunted Wasteland" - Day 8 - Advent of Code 2023 adventofcode.com/2023/day/8 #AdventOfCode
1
25
Code at github.com/jiwhiz/aoc2023/bl… Glad to use List1 and SortedMap first time!
16
My son played with OpenAI's ChatGPT, and wrote an article about it: github.com/calebji123/OpenAI His conclusion: AI won't take over all the coding jobs 😅
1
1
IMO, AI will take over lots of coding jobs, because it can write crappy code much much faster than us 😉
Idris 2 version 0.6.0 has been released. For more details, see idris-lang.org/idris-2-versi… Enjoy!
3
29
2
108
Was teaching #PFPL chapter 38 to my son, and very puzzled by the example in 38.4, so had a little discussion with Prof Harper. So thankful he accepted by correction 😀
Finished Edwin Brady's Type-Driven Development with Idris with my son together during summer break. Reading first eight chapters, I explained type theory concepts to him. Since chapter 9, he explained Idris code to me.
1
1
Category theory in context Chapter 4 Adjunctions #CategoryTheory #CategoryTheoryInContext
4
4.4. The calculus of adjunctions Adjoints are unique up to unique natural isomorphism; Adjunctions can be composed; Those proofs are so hard to read but also very interesting!
GitHub should allow issues to be optionally monetized. Open source is not "open customer support".
124
292
70
3,577
Learning math is like a roller-coaster ride: "Aha, I got it!" Next day, "Do I really understand this?"
4.3. Contravariant and multivariable adjoint functors A cartesian closed category is a category C with finite products in which the product bifunctor C × C → C is closed.
4.2. the unit and counit as universal arrows Given an adjunction F⊣G, there are two natural transformations unit η : 1 ⇒ GF counit ε : FG ⇒ 1 And they satisfy the triangle identities.
A friend asked for an explanation why "It's just Putin" is wrong and dangerous. I felt it needs a longer response. Here it is:
411
7,060
1,252
20,864
4.1. Adjoint functors An adjunction is a pair of functors F: C→D and G: D→C, with an isomorphism: D(F c, d) ≅ C(c, G d)
1
Brendan Fong gave a very good introduction to Adjunction in Programming with Categories - Lecture 8 youtu.be/mU3qcnBMGLw?t=1455 Those three examples are so much easier to understand!