News on front page

pull/1/head
Oliver Kennedy 2017-09-24 14:06:11 -04:00
parent fb2a4a0f59
commit 684c69a9d5
2 changed files with 35 additions and 6 deletions

View File

@ -11,12 +11,41 @@ The ODIn Lab @
<p>The <b><u>O</u>nline <u>D</u>ata <u>In</u>teractions Lab @ UB</b> is about <b>data</b>. Databases, query compilers, data structures, algorithms, systems, implementation, and visualization. Were interested in everything to do with storing, retrieving, and interpreting data. Our ultimate goal is to make data accessible, understandable, and comprehensible to anyone and everyone.</p>
<table width="100%">
<tr><td width="50%" style="padding-right: 50px;">
<h2 style="text-align: center">Agility</h2>
<table width="50%" style="float: left;">
<tr><td width="50%">
<h3 style="text-align: center">Agility</h3>
<p>Real-world workloads change over time, often unpredictably. Static choices made by traditional cost-based query optimizers, physical layout designers, or query execution engines rarely allow for the possibility that assumptions made early on will change. We explore data structures, algorithms and programming techniques that enable [database] systems to be flexible enough to adapt to changing workloads.</p>
</td><td width="50%" style="padding-left: 50px;">
<h2 style="text-align: center">Uncertainty</h2>
</td></tr>
<tr><td width="50%">
<h3 style="text-align: center">Uncertainty</h3>
<p>Data is rarely complete, precise or certain. With data sizes growing and data rates getting faster, attempts at shielding analysts from uncertainty in data are becoming harder and harder to maintain. The need to make uncertainty a first-class programming primitive is growing, so we explore ways of exposing it to users in a way that is not only comprehensive, but understandable.</p>
</td></tr>
</table>
<table width="50%">
<tr><td width="50%">
<h2 style="text-align: center">News</h2>
<ul class="article_list">
<% GemSmith::get_collection("news")
.select { |f| DateTime.now.to_time - f[:date].to_time < (60*60*24*365) }
.map { |f|
{ title: f["title"],
author: f["author"],
path: f[:out_path],
date: f[:date]
}
}
.sort_by { |f| -(f[:date].to_i) }
.each do |data|
%>
<li class="article">
<span class="date"><%= data[:date].strftime("%b %e") %>: </span>
<a href="<%= root_path(data[:path]) %>">
<span class="title"><%= data[:title] %></span>
</a>
<% unless data[:author].nil? %><span class="author">(by <%= LabMetadata::link_for data[:author] %>)</span><% end %>
</li>
<% end %>
</ul>
</td></tr>
</table>

View File

@ -28,7 +28,7 @@ GemSmith::get_collection("news").
<a href="<%= root_path(data[:path]) %>">
<span class="title"><%= data[:title] %></span>
</a>
<% unless data[:author].nil? %><span class="author">(by <%= data[:author] %>)</span><% end %>
<% unless data[:author].nil? %><span class="author">(by <%= LabMetadata::link_for data[:author] %>)</span><% end %>
</li>
<% end %>
</ul>