Skip to content

Commit

Permalink
Add resources slides
Browse files Browse the repository at this point in the history
  • Loading branch information
zkayser committed May 7, 2019
1 parent 7f2da9c commit 7427106
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
Binary file added assets/static/images/pfds_cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion lib/pfds_visualizations_web/navigation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ defmodule PfdsVisualizationsWeb.Navigation do
next: Helpers.bankers_queue_path(Endpoint, :index)
},
"/bankers_queue" => %{
prev: Helpers.slide_path(Endpoint, :show, "47")
prev: Helpers.slide_path(Endpoint, :show, "47"),
next: Helpers.slide_path(Endpoint, :show, "48")
},
"/slides/48" => %{
prev: Helpers.bankers_queue_path(Endpoint, :index)
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<h1>More Resources</h1>
<p style="<%= render_visible(:reveal_1, @revealed) %>">
1) Purely Functional Data Structures by Chris Okasaki<br/>
<img src="/images/pfds_cover.jpg" style="width: 10rem; height: 10rem;">
</p>
<p style="<%= render_visible(:reveal_2, @revealed) %>">
2) Purely Functional Data Structures, the White Paper by Chris Okasaki
<a href="https://www.cs.cmu.edu/~rwh/theses/okasaki.pdf" />https://www.cs.cmu.edu/~rwh/theses/okasaki.pdf</a>
</p>
<p style="<%= render_visible(:reveal_3, @revealed) %>">
3) Data Structures and Amortized Complexity in a Functional Setting, Berry Schoenmakers
</p>
<p style="<%= render_visible(:reveal_4, @revealed) %>">
My implementations of purely functional data structures in Elixir on Github
<a href="https://github.com/zkayser/pfds_elixir">https://github.com/zkayser/pfds_elixir</a>
</p>
<p style="<%= render_visible(:reveal_5, @revealed) %>">
These slides (all done in LiveView!)
<a href="https://github.com/zkayser/pfds_visualizations">https://github.com/zkayser/pfds_visualizations</a>
</p>
4 changes: 4 additions & 0 deletions lib/pfds_visualizations_web/views/slide_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ defmodule PfdsVisualizationsWeb.SlideView do
"47" ->
"the_debit_invariant.html"

"48" ->
"more_resources.html"

# "3" -> "refresher.html"
_ ->
"intro.html"
Expand Down Expand Up @@ -191,6 +194,7 @@ defmodule PfdsVisualizationsWeb.SlideView do
"45" -> [:reveal_1]
"46" -> [:reveal_1, :reveal_2, :reveal_3, :reveal_4]
"47" -> [:reveal_1, :reveal_2, :reveal_3, :reveal_4, :reveal_5]
"48" -> [:reveal_1, :reveal_2, :reveal_3, :reveal_4, :reveal_5]
# "3" -> App.RefresherView.reveals()
_ -> []
end
Expand Down

0 comments on commit 7427106

Please sign in to comment.