diff --git a/Rakefile b/Rakefile index 819e980c..8fbbaab7 100644 --- a/Rakefile +++ b/Rakefile @@ -189,3 +189,32 @@ end task :collab => "artifacts/okennedy_collaborators.tsv" +file "artifacts/oracle_papers.txt" => [ $db.files, "artifacts", "Rakefile" ].flatten do + File.open("artifacts/oracle_papers.txt", "w+") do |fh| + fh.puts $db["publications"]. + where { |pub| pub.fetch("projects", []).include? "mimir" }. + map { |pub| + pub = LabMetadata::complete_venue(pub) + case pub["type"] + when "conference", "journal", "workshop", "abstract" then + [ pub["title"], + pub["authors"].join(", "), + "#{LabMetadata::venue_name(pub, size: :full_parens)} #{pub["year"]}", + pub["urls"].map { |k,v| "#{k.capitalize}: #{v}" }, + LabMetadata.bibtex_for(pub).split("\n") + ].flatten + when "thesis" then + [ pub["title"], + pub["authors"].join(", "), + "Thesis #{pub["degree"]} #{pub["year"]}", + pub["urls"].map { |k,v| "#{k.capitalize}: #{v}" }, + LabMetadata.bibtex_for(pub).split("\n") + ].flatten + else nil + end + }. + compact. + map { |record| "> #{record.join("\n ")}" }. + join("\n\n") + end +end \ No newline at end of file diff --git a/src/teaching/cse-562/2017sp/index.erb b/src/teaching/cse-562/2017sp/index.erb index fe6b8f4b..9cf14a6e 100644 --- a/src/teaching/cse-562/2017sp/index.erb +++ b/src/teaching/cse-562/2017sp/index.erb @@ -145,6 +145,7 @@ classContent: topic: Final Exam Review meta: slides: slides/2017-05-09-FinalReview.pdf + video: https://youtu.be/7XwBFIW4VJQ - date: May. 11 topic: Final Exam meta: