From 349f9c34574859c95a0116f250337d91d00ca390 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 27 Nov 2019 14:06:28 -0500 Subject: [PATCH] Incorporating workflow for ingesting state out of Vizier --- Rakefile | 22 +++- db/demoday/2019fa.json | 1 + lib/util.rb | 18 ++-- src/demoday/2019fa.erb | 238 +---------------------------------------- 4 files changed, 35 insertions(+), 244 deletions(-) create mode 100644 db/demoday/2019fa.json diff --git a/Rakefile b/Rakefile index b1659a9c..751cf93d 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,8 @@ require "rubygems" require "time" +require "net/http" +require "uri" +require "json" $:.push "lib" require "gemsmith.rb" require "jdb.rb" @@ -301,4 +304,21 @@ end task :test do puts ImageSmith::img("assets/people/oliver.jpg", bounding_box: [50,50], inline: true) -end \ No newline at end of file +end + +task :demoday do + uri = URI("https://demo.vizierdb.info/vizier-db/api/v1/projects/1be34a70/branches/b8c48b44/head") + outfile = "db/demoday/2019fa.json" + Net::HTTP.start(uri.host, uri.port, { :use_ssl => true }) do |http| + request = Net::HTTP::Get.new uri.path + request.basic_auth("mimir", "jormugundir") + response = http.request(request) + json = JSON.parse(response.body) + File.open(outfile, "w+") do |f| + f.puts(json["modules"][-1]["outputs"]["stdout"][0]["value"]) + end + puts "Wrote to #{outfile}" +# p json["outputs"]#["stdout"]#[0]["value"] + end +end + diff --git a/db/demoday/2019fa.json b/db/demoday/2019fa.json new file mode 100644 index 00000000..e3791899 --- /dev/null +++ b/db/demoday/2019fa.json @@ -0,0 +1 @@ +{"classes": [{"class": "A Programming Competition (e.g., ACM)", "groups": [{"title": "HeartBit", "description": "FitBit app that will detect a dangerously low heart rate and will alert the closest hospital of the situation by including the wearers GPS location, age, weight, blood type and other non identifying information", "group": [{"name": "Edgar Ustian", "email": "edgarust@buffalo.edu"}, {"name": "Ben Badaszewski"}, {"name": "Jun Won Sung"}]}]}, {"class": "Masters Capstone Project (CSE 611)", "groups": [{"title": "UB Spectrum", "description": "The all new and much awaited mobile application for the Award winning Student newspaper of the University at Buffalo is here. Stay updated with the all news and events from the University at Buffalo. The Spectrum provides you story updates on the go right in your hands. The time for your conventional newspaper is over and all the good stuff from the newspaper is available at the touch of your mobile.", "group": [{"name": "Pratik Agarwal", "email": "pagarwal@buffalo.edu", "github": "https://github.com/pratik-agarwal", "linkedin": "https://www.linkedin.com/in/agarwal-pratik/"}, {"name": "Pradeep Kumar", "email": "pkumar28@buffalo.edu", "github": "https://github.com/PradeepKumar31", "linkedin": "https://www.linkedin.com/in/pkumar28/"}, {"name": "Aman Bhayana", "email": "amanbhay@bufalo.edu", "github": "https://github.com/Aman020", "linkedin": "https://www.linkedin.com/in/amanbhayana/"}, {"name": "Sourav Bihani", "email": "souravbi@buffalo.edu", "github": "https://github.com/SouravBihani", "linkedin": "https://www.linkedin.com/in/sourav-bihani/"}]}, {"title": "Match Board", "description": "Match board is a platform where people can share their ideas, and others interested in those ideas and/or the necessary skills to build the tool, can connect to take it further. It will bring people with diverse talents together through a web portal.", "group": [{"name": "Uday Bhaskar Reddy Bijjula ", "email": "udaybhas@buffalo.edu"}, {"name": "Aarti Tanya Harindran", "email": "aartitan@buffalo.edu"}, {"name": "Dhanashree Solanke", "email": "ddsolank@buffalo.edu"}, {"name": "Akshay Chaudhari", "email": "chaudhar@buffalo.edu"}]}, {"title": "Title AI", "description": "An iOS app for ACV Auctions to extract the Vehicle Identification Number (VIN) from a title.", "group": [{"name": "Sidharth Pati", "email": "spati@buffalo.edu", "linkedin": "https://www.linkedin.com/in/sidpati/"}, {"name": "Rohan Gupta", "email": "rgupta24@buffalo.edu", "linkedin": "https://www.linkedin.com/in/rohangupta1994/"}, {"name": "Riya Bhatia", "email": "riyabhat@buffalo.edu", "linkedin": "https://www.linkedin.com/in/riya-bhatia/"}, {"name": "Stuti Shukla", "email": "stutishu@buffalo.edu", "linkedin": "https://www.linkedin.com/in/stuti-shukla-959a99126/"}, {"name": "Poojitha Alahari", "email": "palahari@buffalo.edu", "linkedin": "https://www.linkedin.com/in/palaharisvb/"}]}, {"title": "NFTA Customer Service Application", "description": "The NFTA customer service application is a mobile application which supports both iOS and Android devices. The application will be compatible with approximately more than 80%[1] of the Android and iOS devices currently in the market. As part of the administrative side of the application, there will be a web based portal for the administrative team to access the backend data that is being collected and processed by the application in the form of an excel spreadsheet. The application will provide users the ability to attach a photo, location information and additional details that may be useful to the NFTA officials to take the necessary corrective measures. ", "group": [{"name": "Pradipta Dhar", "email": "pradipta@buffalo.edu", "linkedin": "linkedin.com/in/pradiptadhar"}, {"name": "Saurabh Gotherwal", "email": "sgotherw@buffalo.edu", "linkedin": "linkedin.com/in/gotherwal-saurabh"}, {"name": "Shubham Khurana", "email": "khurana5@buffalo.edu", "linkedin": "linkedin.com/in/shubhamkhurana25"}, {"name": "Shivam Shukla", "email": "shivammu@buffalo.edu", "linkedin": "linkedin.com/in/shivam-shukla1"}]}, {"title": "Choreographic Lineage", "description": "To Enable Artists All around the world capture their lineage, art forms and hopefully create a huge network of artists.", "url": "http://www.choreographiclineage.buffalo.edu/", "group": [{"name": "Sarang Agarwal", "email": "sarangag@buffalo.edu"}, {"name": "Omkar Thorat", "email": "omkarsun@buffalo.edu"}, {"name": "Vaidehi Dharkar", "email": "vaidehia@buffalo.edu"}, {"name": "Abhishek Bhave", "email": "abhave@buffalo.edu"}]}, {"title": "GritSeed - The Job Hiring Platform", "description": "GritSeed is an existing website that intends to decrease the gap between the recruiter and the candidate applying for the job. It helps in showcasing the talent of a candidate that might not have any degree in the field he might be interested in. So that such candidates get noticed and hired by the recruiters. This project involves the development of a feature that would show the list of candidates together with the snippet of their GritSeed profile in different categories(like Software, Sales, Accounts etc). This project aims to encourage user who views the candidates to contact GritSeed.", "url": "https://objective-roentgen-ebc500.netlify.com/#!/slider", "group": [{"name": "Bhupika Gautam", "email": "bhupikay@buffalo.edu", "linkedin": "https://www.linkedin.com/in/bhupika-gautam/"}, {"name": "Deepak Goyal", "email": "dgoyal2@buffalo.edu", "linkedin": "https://www.linkedin.com/in/deepakgoyal1993/"}, {"name": "Tanvi Tanwar", "email": "tanvitan@buffalo.edu", "linkedin": "https://www.linkedin.com/in/tanvi-tanwar-0bba35b5/"}, {"name": "Vishal Gawade", "email": "vgawade@buffalo.edu", "linkedin": "https://www.linkedin.com/in/vgawade/"}]}, {"title": "Rippled-Arbiter PUF: a secure signature for semiconductor devices", "description": "To design a secure silicon Physically Unclonable Function (PUF) that is lightweight and stable, and which is resistive towards the most effective Machine Learning Attack on PUFs, i.e. Logistic Regression Attacks. The design introduced is \u00e2\u0080\u0093 Rippled Arbiter PUF (RA-PUF), with large number of Challenge-Response Pairs(CRPs) which could then be used as device identification, authentication and cryptographic key generation tool for resource constrained environments such as IoT systems. We provide simulation results for the experiments performed by implementing the design on Artix-7 FPGA. We also performed RA-PUF\u00e2\u0080\u0099s quality analysis by evaluating its CRPs with various PUF metrics such as uniqueness, uniformity, predictability and steadiness.", "group": [{"name": "Swati Sajee Kumar", "email": "swatisaj@buffalo.edu"}]}, {"title": "Digital Rewards Program", "description": "The project is a digital rewards platform targeted at small businesses who are looking to move away from a punch card based system. The platform consists of 3 components: a business user website, a business employee app for use at the PoS and a customer app that lets them sign up for rewards programs being run by businesses in their areaThe business user website lets business owners register with their business, add their catalog and menu items and define rewards campaigns that they can run, both long term and short term for special events and holidays. They also get access to customer analytics that gives them an idea of customer's spending and purchase patternsThe employee app is for use at the PoS, letting the business employee look up a customer's available redemptions and process if any, and also assign any points for their subsequent purchase, automatically.The customer app lets a customer sign up for and use local businesses' rewards program, track their purchase history and rewards progress", "group": [{"name": "Saurabh Jain", "email": "j.saur95@gmail.com", "github": "https://github.com/jsaurabh", "linkedin": "https://www.linkedin.com/in/jsaurabh95/"}, {"name": "Likhith Reddy Doddi"}, {"name": "Stephen James"}, {"name": "Roopa Chandrashekhar"}]}, {"title": "Essential", "description": "Current highschool systems in the US, do not provide enough financial education to today\u00e2\u0080\u0099s students. They focus mainly on Science, Math, English, History and Art, with very little emphasis on Economics and Finance. Essential is a dynamic information platform that provides a high magnitude of data both at the user\u00e2\u0080\u0099s fingertips and conveniences in the form of a freemium application. Free to download, but after a certain amount of time spent on the platform, will require the users to pay. The animated videos and interactive software will allow users to stay involved and attentive. ", "group": [{"name": "Soumitra Alate"}, {"name": "Sagar Pokale"}, {"name": "Saurabh Pansare"}, {"name": "Anupriya Goyal"}]}, {"title": "CSE 199", "description": "We have 2 different websites, i.e.. Student website and Faculty website for CSE199 course. Faculty website helps faculty to set their course details in an easy way by switching between semesters. They can communicate with the students by sending out announcements. A new semester can be created by copying all the details of the current semester with just one click. On the other hand, Students can check the schedules of their instructors, announcements and any other resources related to the course. ", "url": "http://www-student.cse.buffalo.edu/CSE199/admin/", "group": [{"name": "Anusha Bandaru", "email": "abandaru@buffalo.edu", "github": "https://github.com/alwaysanu", "linkedin": "https://www.linkedin.com/in/anusha-bandaru-54b46b82/"}, {"name": "Srujan Kothapally", "email": "srujanko@buffalo.edu", "github": "https://github.com/srujan-kothapally"}]}, {"title": "FleetDB Modeling", "description": "Modeling FleetDB to support Cassandra Query Language (CQL) table Queries for KV distributed database ", "group": [{"name": "Darshan Nevgi"}]}]}, {"class": "Languages and Runtimes for Big Data (CSE 662)", "groups": [{"title": "Learned Index Structures", "description": "Designing neural network based index structures and comparing them against traditional data structures like b-tree in terms of lookup times and memory required.", "url": "https://github.com/Learned-Index-Structure/LIS", "group": [{"name": "Yash Narendra Saraf", "email": "ysaraf@buffalo.edu", "github": "https://www.github.com/yash21saraf", "linkedin": "https://www.linkedin.com/in/yashsaraf/"}, {"name": "Deepak Ranjan", "email": "dranjan@buffalo.edu", "github": "https://github.com/dr1990", "linkedin": "https://www.linkedin.com/in/dr1990/"}, {"name": "Mohammad Umair", "email": "m39@buffalo.edu", "github": "https://github.com/omerjerk", "linkedin": "https://www.linkedin.com/in/mohammad-umair-33ab1426/"}]}, {"title": "Lannisters", "description": "All Pairs Shortest Path Solver on Spark", "group": [{"name": "Vemuri Vihari", "email": "lvemuri@buffalo.edu"}, {"name": "Srinivas", "email": "srpothir@buffalo.edu"}, {"name": "Sri Harsha Kesapragada", "email": "vkesapra@buffalo.edu"}, {"name": "Varsha Ganesh", "email": "vganesh2@buffalo.edu"}]}]}]} diff --git a/lib/util.rb b/lib/util.rb index beac393a..e80a2f98 100644 --- a/lib/util.rb +++ b/lib/util.rb @@ -151,15 +151,15 @@ class Array self[0].zip(*(self[1..-1])) end - def grep(pattern, &block) - ret = []; - if block.nil? - then each { |l| ret.push(l) if pattern =~ l; } - else each { |l| match = pattern.match(l); - ret.push(block.call(match)) if match; } - end - ret - end + # def grep(pattern, &block) + # ret = []; + # if block.nil? + # then each { |l| ret.push(l) if pattern =~ l; } + # else each { |l| match = pattern.match(l); + # ret.push(block.call(match)) if match; } + # end + # ret + # end def window(window_size = 10, &block) if length <= window_size then diff --git a/src/demoday/2019fa.erb b/src/demoday/2019fa.erb index ade46577..1ee39710 100644 --- a/src/demoday/2019fa.erb +++ b/src/demoday/2019fa.erb @@ -33,241 +33,11 @@ events: - title: Prizes details: > There will be prizes for the top three teams selected by the judges (generously provided by our sponsor M&T bank). This semester there is also a “best research” prize (generously provided by our sponsor ACV Auctions). Each team will have a few minutes to present their projects (or a video, for 611) to the whole group. Good luck to everyone, and I can’t wait to see you all there! - -classes: -- class: A Programming Competition (e.g., ACM) - groups: - - description: FitBit app that will detect a dangerously low heart rate and will - alert the closest hospital of the situation by including the wearers GPS location, - age, weight, blood type and other non identifying information - group: - - email: edgarust@buffalo.edu - name: Edgar Ustian - - name: Ben Badaszewski - - name: Jun Won Sung - title: HeartBit -- class: Masters Capstone Project (CSE 611) - groups: - - description: The all new and much awaited mobile application for the Award winning - Student newspaper of the University at Buffalo is here. Stay updated with the - all news and events from the University at Buffalo. The Spectrum provides you - story updates on the go right in your hands. The time for your conventional - newspaper is over and all the good stuff from the newspaper is available at - the touch of your mobile. - group: - - email: pagarwal@buffalo.edu - github: https://github.com/pratik-agarwal - linkedin: https://www.linkedin.com/in/agarwal-pratik/ - name: Pratik Agarwal - - email: pkumar28@buffalo.edu - github: https://github.com/PradeepKumar31 - linkedin: https://www.linkedin.com/in/pkumar28/ - name: Pradeep Kumar - - email: amanbhay@bufalo.edu - github: https://github.com/Aman020 - linkedin: https://www.linkedin.com/in/amanbhayana/ - name: Aman Bhayana - - email: souravbi@buffalo.edu - github: https://github.com/SouravBihani - linkedin: https://www.linkedin.com/in/sourav-bihani/ - name: Sourav Bihani - title: UB Spectrum - - description: Match board is a platform where people can share their ideas, and - others interested in those ideas and/or the necessary skills to build the tool, - can connect to take it further. It will bring people with diverse talents together - through a web portal. - group: - - email: udaybhas@buffalo.edu - name: Uday Bhaskar Reddy Bijjula - - email: aartitan@buffalo.edu - name: Aarti Tanya Harindran - - email: ddsolank@buffalo.edu - name: Dhanashree Solanke - - email: chaudhar@buffalo.edu - name: Akshay Chaudhari - title: Match Board - - description: An iOS app for ACV Auctions to extract the Vehicle Identification - Number (VIN) from a title. - group: - - email: spati@buffalo.edu - linkedin: https://www.linkedin.com/in/sidpati/ - name: Sidharth Pati - - email: rgupta24@buffalo.edu - linkedin: https://www.linkedin.com/in/rohangupta1994/ - name: Rohan Gupta - - email: riyabhat@buffalo.edu - linkedin: https://www.linkedin.com/in/riya-bhatia/ - name: Riya Bhatia - - email: stutishu@buffalo.edu - linkedin: https://www.linkedin.com/in/stuti-shukla-959a99126/ - name: Stuti Shukla - - email: palahari@buffalo.edu - linkedin: https://www.linkedin.com/in/palaharisvb/ - name: Poojitha Alahari - title: Title AI - - description: 'The NFTA customer service application is a mobile application which - supports both iOS and Android devices. The application will be compatible with - approximately more than 80%[1] of the Android and iOS devices currently in the - market. As part of the administrative side of the application, there will be - a web based portal for the administrative team to access the backend data that - is being collected and processed by the application in the form of an excel - spreadsheet. The application will provide users the ability to attach a photo, - location information and additional details that may be useful to the NFTA officials - to take the necessary corrective measures. ' - group: - - email: pradipta@buffalo.edu - linkedin: linkedin.com/in/pradiptadhar - name: Pradipta Dhar - - email: sgotherw@buffalo.edu - linkedin: linkedin.com/in/gotherwal-saurabh - name: Saurabh Gotherwal - - email: khurana5@buffalo.edu - linkedin: linkedin.com/in/shubhamkhurana25 - name: Shubham Khurana - - email: shivammu@buffalo.edu - linkedin: linkedin.com/in/shivam-shukla1 - name: Shivam Shukla - title: NFTA Customer Service Application - - description: To Enable Artists All around the world capture their lineage, art - forms and hopefully create a huge network of artists. - group: - - email: sarangag@buffalo.edu - name: Sarang Agarwal - - email: omkarsun@buffalo.edu - name: Omkar Thorat - - email: vaidehia@buffalo.edu - name: Vaidehi Dharkar - - email: abhave@buffalo.edu - name: Abhishek Bhave - title: Choreographic Lineage - url: http://www.choreographiclineage.buffalo.edu/ - - description: GritSeed is an existing website that intends to decrease the gap - between the recruiter and the candidate applying for the job. It helps in showcasing - the talent of a candidate that might not have any degree in the field he might - be interested in. So that such candidates get noticed and hired by the recruiters. - This project involves the development of a feature that would show the list - of candidates together with the snippet of their GritSeed profile in different - categories(like Software, Sales, Accounts etc). This project aims to encourage - user who views the candidates to contact GritSeed. - group: - - email: bhupikay@buffalo.edu - linkedin: https://www.linkedin.com/in/bhupika-gautam/ - name: Bhupika Gautam - - email: dgoyal2@buffalo.edu - linkedin: https://www.linkedin.com/in/deepakgoyal1993/ - name: Deepak Goyal - - email: tanvitan@buffalo.edu - linkedin: https://www.linkedin.com/in/tanvi-tanwar-0bba35b5/ - name: Tanvi Tanwar - - email: vgawade@buffalo.edu - linkedin: https://www.linkedin.com/in/vgawade/ - name: Vishal Gawade - title: GritSeed - The Job Hiring Platform - url: https://objective-roentgen-ebc500.netlify.com/#!/slider - - description: "To design a secure silicon Physically Unclonable Function (PUF)\ - \ that is lightweight and stable, and which is resistive towards the most effective\ - \ Machine Learning Attack on PUFs, i.e. Logistic Regression Attacks. The design\ - \ introduced is \xE2\x80\x93 Rippled Arbiter PUF (RA-PUF), with large number\ - \ of Challenge-Response Pairs(CRPs) which could then be used as device identification,\ - \ authentication and cryptographic key generation tool for resource constrained\ - \ environments such as IoT systems. We provide simulation results for the experiments\ - \ performed by implementing the design on Artix-7 FPGA. We also performed RA-PUF\xE2\ - \x80\x99s quality analysis by evaluating its CRPs with various PUF metrics such\ - \ as uniqueness, uniformity, predictability and steadiness." - group: - - email: swatisaj@buffalo.edu - name: Swati Sajee Kumar - title: 'Rippled-Arbiter PUF: a secure signature for semiconductor devices' - - description: 'The project is a digital rewards platform targeted at small businesses - who are looking to move away from a punch card based system. The platform consists - of 3 components: a business user website, a business employee app for use at - the PoS and a customer app that lets them sign up for rewards programs being - run by businesses in their areaThe business user website lets business owners - register with their business, add their catalog and menu items and define rewards - campaigns that they can run, both long term and short term for special events - and holidays. They also get access to customer analytics that gives them an - idea of customer''s spending and purchase patternsThe employee app is for use - at the PoS, letting the business employee look up a customer''s available redemptions - and process if any, and also assign any points for their subsequent purchase, - automatically.The customer app lets a customer sign up for and use local businesses'' - rewards program, track their purchase history and rewards progress' - group: - - email: j.saur95@gmail.com - github: https://github.com/jsaurabh - linkedin: https://www.linkedin.com/in/jsaurabh95/ - name: Saurabh Jain - - name: Likhith Reddy Doddi - - name: Stephen James - - name: Roopa Chandrashekhar - title: Digital Rewards Program - - description: "Current highschool systems in the US, do not provide enough financial\ - \ education to today\xE2\x80\x99s students. They focus mainly on Science, Math,\ - \ English, History and Art, with very little emphasis on Economics and Finance.\ - \ Essential is a dynamic information platform that provides a high magnitude\ - \ of data both at the user\xE2\x80\x99s fingertips and conveniences in the form\ - \ of a freemium application. Free to download, but after a certain amount of\ - \ time spent on the platform, will require the users to pay. The animated videos\ - \ and interactive software will allow users to stay involved and attentive. " - group: - - name: Soumitra Alate - - name: Sagar Pokale - - name: Saurabh Pansare - - name: Anupriya Goyal - title: Essential - - description: 'We have 2 different websites, i.e.. Student website and Faculty - website for CSE199 course. Faculty website helps faculty to set their course - details in an easy way by switching between semesters. They can communicate - with the students by sending out announcements. A new semester can be created - by copying all the details of the current semester with just one click. On the - other hand, Students can check the schedules of their instructors, announcements - and any other resources related to the course. ' - group: - - email: abandaru@buffalo.edu - github: https://github.com/alwaysanu - linkedin: https://www.linkedin.com/in/anusha-bandaru-54b46b82/ - name: Anusha Bandaru - - email: srujanko@buffalo.edu - github: https://github.com/srujan-kothapally - name: Srujan Kothapally - title: CSE 199 - url: http://www-student.cse.buffalo.edu/CSE199/admin/ - - description: Modeling FleetDB to support Cassandra Query Language (CQL) table - Queries for KV distributed database - group: - - name: Darshan Nevgi - title: FleetDB Modeling -- class: Languages and Runtimes for Big Data (CSE 662) - groups: - - description: Designing neural network based index structures and comparing them - against traditional data structures like b-tree in terms of lookup times and - memory required. - group: - - email: ysaraf@buffalo.edu - github: https://www.github.com/yash21saraf - linkedin: https://www.linkedin.com/in/yashsaraf/ - name: Yash Narendra Saraf - - email: dranjan@buffalo.edu - github: https://github.com/dr1990 - linkedin: https://www.linkedin.com/in/dr1990/ - name: Deepak Ranjan - - email: m39@buffalo.edu - github: https://github.com/omerjerk - linkedin: https://www.linkedin.com/in/mohammad-umair-33ab1426/ - name: Mohammad Umair - title: Learned Index Structures - url: https://github.com/Learned-Index-Structure/LIS - - description: All Pairs Shortest Path Solver on Spark - group: - - email: lvemuri@buffalo.edu - name: Vemuri Vihari - - email: srpothir@buffalo.edu - name: Srinivas - - email: vkesapra@buffalo.edu - name: Sri Harsha Kesapragada - - email: vganesh2@buffalo.edu - name: Varsha Ganesh - title: Lannisters --- +<% + classes = $db["demoday/2019fa/classes"] +%> +

<%= title %>

<%= event_date %>