There were three really good points I got out of this, I'll try to remember in future when teaching (esp. programming): - multiple explanations instead of just one - don't teach just happy paths; when learning, I think one of the hardest parts is understanding error messages from the interpreter/compiler. Teaching how to read them / get acquainted with most common errors probably teaches a lot. - be humble when telling your own story. No, you didn't just read "Gentle Introduction to Haskell" and create your first banking application with that. Unless you belong to _that_ 2% of population. Oh, and definitely the part on how we learn from experience, building up to definition, not the other way around. Even most of the very smart ones I know learn that way, just much quicker and more than rest of us. I mean duh, if I tell you a graph G is {V, E} and you don't know what a graph is, does that make you understand them? There were many other points, good too, but for me it was mostly these.
14:40 OMG exactly, this is such a headwreck and makes people feel too stupid or ignorant to join the Haskell community. A couple of years ago I listened to a Haskell podcast and heard Edward Kmett talking about "comonad coalgebra" and could only shake my head, thinking of all the nice, smart people who give up when hearing stuff like that when they just want to know how to send some JSON or retrieve something from a database.
27:26 "How many people here know how IO works in Haskell? Oh we have a couple? Alright. Little more than I expected. Either that or you're a really honest crowd."
This video by Chris Allen made me remember something. Looking back now, I am mad and felt betrayed by callous and hypocrite college teachers while I was learning circuit theory etc., after what I saw in a documentary the pain and hardships that Nikolai Tesla went through in his thought process in the discovery and application of AC. Even Isaac Newton had the same for Calculus. And how do hypocrite college teachers teach these subjects?? What is missing in most teachings is the requisite honesty and sincerity, such that the learner won't feel like an idiot. It's been a month now my first attempt to learn haskell and I still don't get it. But because I had a little taste of Prolog many years back, i am able to feel that there is something in haskell worthy to be understood and I am not giving up.
I haven't coded since 2008, and now I NEED to learn Lambda Calculus, and Haskell secondary, to get my mind in the Purely Functional Programming style, ill use Haskell for learn the style, but I'm designing my own architecture and Haskell isn't made for it
Use win32 package: hackage.haskell.org/package/Win32 Go to: Home page github.com/haskell/win32 [installed git needed] in cmd: git clone github.com/haskell/win32.git view readme. md file and try : cabal new-build try: cabal sandbox init cabal install cabal repl I have error but I continue: Failed to remove file C:\f\win32\dist-newstyle\build\x86_64-windows\ghc-8.6.5\Wi n32-2.8.3.0\build\Graphics\Win32\GDI\Bitmap_hsc_make.exe; ... :q in other cmd md yourapp cd yourapp [copy hello.lhs from example of win32 (installed package)] [and paste in your directory] compile with ghc --make -optl-mwindows hello.lhs [warnings] type hello window appears!
A better idea would be Chris Allen (et al)'s book Haskell: First Principals. It will start with some things that don't seem relevant, like lambda calc, but as far as I can toss it, that section will get you used to how functions and arguements work in Haskell. There are later sections about other ways to express functions that are more convenient, but you should come to them with a good understanding where it's coming from.
where massive online gaem in haskell? where haskell os? where haskell 9p setup for supercomputing? where haskell web framework ? oh glad u axed!! www.happstack.com BOOOM!
One thumb up is not enough. Chris makes some fantastic points about learning and teaching. Every teacher/professor/course author should watch this!
agreed. this talk is amazingly well-put
There were three really good points I got out of this, I'll try to remember in future when teaching (esp. programming):
- multiple explanations instead of just one
- don't teach just happy paths; when learning, I think one of the hardest parts is understanding error messages from the interpreter/compiler. Teaching how to read them / get acquainted with most common errors probably teaches a lot.
- be humble when telling your own story. No, you didn't just read "Gentle Introduction to Haskell" and create your first banking application with that. Unless you belong to _that_ 2% of population.
Oh, and definitely the part on how we learn from experience, building up to definition, not the other way around. Even most of the very smart ones I know learn that way, just much quicker and more than rest of us. I mean duh, if I tell you a graph G is {V, E} and you don't know what a graph is, does that make you understand them?
There were many other points, good too, but for me it was mostly these.
14:40 OMG exactly, this is such a headwreck and makes people feel too stupid or ignorant to join the Haskell community. A couple of years ago I listened to a Haskell podcast and heard Edward Kmett talking about "comonad coalgebra" and could only shake my head, thinking of all the nice, smart people who give up when hearing stuff like that when they just want to know how to send some JSON or retrieve something from a database.
batlin then you still haven't understood why to use Haskell, come back once you have.
I'm very eager to see your 'Greater exposition through chauvinism' talk.
27:26
"How many people here know how IO works in Haskell? Oh we have a couple? Alright.
Little more than I expected. Either that or you're a really honest crowd."
This is a super important video imo
First-class presentation. Thank you Chris.
This video by Chris Allen made me remember something. Looking back now, I am mad and felt betrayed by callous and hypocrite college teachers while I was learning circuit theory etc., after what I saw in a documentary the pain and hardships that Nikolai Tesla went through in his thought process in the discovery and application of AC. Even Isaac Newton had the same for Calculus. And how do hypocrite college teachers teach these subjects?? What is missing in most teachings is the requisite honesty and sincerity, such that the learner won't feel like an idiot. It's been a month now my first attempt to learn haskell and I still don't get it. But because I had a little taste of Prolog many years back, i am able to feel that there is something in haskell worthy to be understood and I am not giving up.
It's true. There's all kinds of things with Haskell that frustrate beginners. He's a little brusque though.
I haven't coded since 2008, and now I NEED to learn Lambda Calculus, and Haskell secondary, to get my mind in the Purely Functional Programming style, ill use Haskell for learn the style, but I'm designing my own architecture and Haskell isn't made for it
Include a URL to your github page in the video description!
Also is the book out yet? Websites can be frustrating, I'd like to see this book.
Craigslist
I DO NOT FIND A HASKELL COMPILER FOR WINDOWS TO MAKE A GUI WINDOW
Use win32 package:
hackage.haskell.org/package/Win32
Go to:
Home page
github.com/haskell/win32
[installed git needed]
in cmd:
git clone github.com/haskell/win32.git
view readme. md file
and try :
cabal new-build
try:
cabal sandbox init
cabal install
cabal repl
I have error but I continue:
Failed to remove file C:\f\win32\dist-newstyle\build\x86_64-windows\ghc-8.6.5\Wi
n32-2.8.3.0\build\Graphics\Win32\GDI\Bitmap_hsc_make.exe; ...
:q
in other cmd
md yourapp
cd yourapp
[copy hello.lhs from example of win32 (installed package)]
[and paste in your directory]
compile with
ghc --make -optl-mwindows hello.lhs
[warnings]
type hello
window appears!
im coming from javascript! wheres the link for the learning material?
learnyouahaskell.com/chapters
A better idea would be Chris Allen (et al)'s book Haskell: First Principals. It will start with some things that don't seem relevant, like lambda calc, but as far as I can toss it, that section will get you used to how functions and arguements work in Haskell. There are later sections about other ways to express functions that are more convenient, but you should come to them with a good understanding where it's coming from.
github.com/bitemyapp/learnhaskell
Thought it said 5 min. F*** me
where massive online gaem in haskell? where haskell os? where haskell 9p setup for supercomputing? where haskell web framework ? oh glad u axed!! www.happstack.com BOOOM!
28:31 hahaha
one of the vids on Haskell that is total waste of time if your goal is to learn Haskell.
learning haskell requires an entirely new thought process. Chris is warning us here, as guiding light to help us learners walk the path on our own.
He does say he's not intending to teach haskell, and references a talk you can watch to do that 0:57
indeed... useless..