Thank you Clifford for being in the hot seat as we walked through "Memoized Fibonacci in XQuery". Fun night!
Here is the chat log...
18:21:50 From Mike K to Everyone:
x <- fib n
18:22:09 From Mike K to Everyone:
(x, memo') <- fib n memo
18:22:17 From Mike K to Everyone:
(y, memo
18:22:31 From Mike K to Everyone:
(y, memo'') <- fib (n + 1) memo'
18:22:40 From Mike K to Everyone:
return (x + y, memo'')
18:23:27 From Mike K to Everyone:
let x = fibr (n, memo)
18:28:34 From Zofia Hunter to Everyone:
for us people newer to programming could explain the roles of a memo/map?
18:38:21 From Zayaan Rahman to Everyone:
On line 22, do the $n -1 and $n -2 represent the previous two numbers in the fibonacci sequence? And theyre added to find the next term? I'm also new to programming, so just want to make sure I'm understanding how that works.
18:40:20 From Mark Wutka to Everyone:
yes, that's correct, Zayaan
18:41:09 From Zayaan Rahman to Everyone:
alright, thanks!
18:55:32 From Bryan Hunter to Everyone:
https://cs3110.github.io/textbook/chapters/ds/memoization.html#19:19:30 From Bryan Hunter to Everyone:
http://www.rosettacode.org/wiki/Fibonacci_sequence#Haskell19:20:05 From Clifford Anderson to Everyone:
https://editor.netsblox.org/?action=present&Username=andersoncliffb&ProjectName=fibonacci%20(memoization)&editMode=true19:28:54 From Mike K to Everyone:
$fun as xdmp:function,
19:30:04 From Bryan Hunter to Everyone:
https://gist.github.com/CliffordAnderson/0c45f973ef45228ab68519:54:22 From Clifford Anderson to Everyone:
https://gist.github.com/CliffordAnderson/7d53e8fd0dc23ce295531125334e595619:56:34 From Zayaan Rahman to Everyone:
What exactly makes a programming language "functional?" I've read a bit about lamda calc and how it's the basis for functional languages; where does that play in?
20:00:38 From Zayaan Rahman to Everyone:
yes
20:00:56 From Zayaan Rahman to Everyone:
im entering my freshmen year of undergrad
20:01:08 From Zayaan Rahman to Everyone:
yes
20:01:37 From Zayaan Rahman to Everyone:
Nice to meet you all!
20:02:20 From Bryan Hunter to Everyone:
Here is a new playground for Fibonacci fun:
https://github.com/NashFP/fib20:04:24 From Zayaan Rahman to Everyone:
That sounds really cool!
20:15:59 From Clifford Anderson to Everyone:
The SmartyKit is great, but a bit challenging to put together. There's also this simpler, modern version of the Apple I:
https://www.reactivemicro.com/product/replica-1-plus-from-briel-computers/20:23:19 From Bryan Hunter to Everyone:
Mark Wutka has volunteered to facilitate in July. Thanks!
20:29:07 From Clifford Anderson to Everyone:
I've been looking at CosPlay as a fun way to learn more Scala:
https://cosplayengine.com/20:30:13 From Bryan Hunter to Everyone:
https://mitpress.mit.edu/books/art-prolog-second-edition20:31:02 From Bryan Hunter to Everyone:
https://www.amazon.com/Logic-Programming-Prolog-Max-Bramer/dp/144715486X20:32:29 From Bryan Hunter to Everyone:
https://www.youtube.com/watch?v=OyfBQmvr2Hc20:32:42 From Bryan Hunter to Everyone:
Above is “William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]" mentioned by Mark Wutka
20:33:49 From Bryan Hunter to Everyone:
“Coders at Work: Reflections on the Craft of Programming”
https://www.amazon.com/Coders-Work-Reflections-Craft-Programming/dp/B092R8RQM3 also mentioned by Mark Wutka
20:35:12 From Mark Wutka to Everyone:
https://icfp22.sigplan.org/track/icfp-2022-icfp-programming-contest20:36:55 From Bryan Hunter to Everyone:
https://en.wikipedia.org/wiki/ELIZA20:39:31 From Bryan Hunter to Everyone:
https://en.wikipedia.org/wiki/Robert_Tappan_Morris and
https://en.wikipedia.org/wiki/Morris_worm (mentioned by Mark Wutka)