Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastcode pilot #233

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ str
.replace(/^-+|-+$/g, '');

const featuredPosts = (post) => post.data.featured;
const featuredEvents = (page) => page.data.featuredEvent

module.exports = function(eleventyConfig) {
eleventyConfig.setQuietMode(true);
Expand Down Expand Up @@ -96,6 +97,12 @@ module.exports = function(eleventyConfig) {
.filter(featuredPosts);
});

eleventyConfig.addCollection("featuredEvents", (collection) => {
return collection
.getFilteredByGlob("./src/events/*.md")
.filter(featuredEvents);
});

// for defn things see https://github.com/11ty/eleventy/issues/2565
eleventyConfig.addCollection("defns", function (collectionApi) {
const res = [];
Expand Down
58 changes: 51 additions & 7 deletions src/_data/conferences.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,61 @@

- shortName: PACT
url: https://pact22.cs.illinois.edu/
url: https://pact2024.github.io/
date: October 13-16, 2024
start: 2024-10-13
- shortName: SPAA
url: https://spaa.acm.org/
date: July 28 - August 1, 2025
start: 2025-07-28
- shortName: PPoPP
url: https://ppopp22.sigplan.org/
url: https://ppopp25.sigplan.org/
date: March 1-5, 2025
start: 2025-03-01
- shortName: IPDPS
url: https://www.ipdps.org/
date: June 3-7, 2025
start: 2025-06-03
- shortName: SODA
url: https://www.siam.org/conferences/cm/conference/soda22
- shortName: APOCS
url: https://www.siam.org/conferences/cm/conference/apocs22
url: https://www.siam.org/conferences/cm/conference/soda25
date: January 12-15, 2025
start: 2025-01-12
- shortName: ALENEX
url: https://www.siam.org/conferences/cm/conference/alenex22
url: https://www.siam.org/conferences/cm/conference/alenex25
date: January 12-15, 2025
start: 2025-01-12
- shortName: PLDI
url: https://conf.researchr.org/home/pldi-2022
url: https://conf.researchr.org/home/pldi-2022
date: June 16-20, 2025
start: 2025-06-16
- shortName: ICCS
url: https://www.iccs-meeting.org/iccs2025/
date: July 7-9, 2025
start: 2025-07-07
- shortName: ICPE
url: https://icpe2025.spec.org/
date: May 5-9, 2025
start: 2025-05-05
- shortName: SIAM-CSE
url: https://www.siam.org/conferences-events/siam-conferences/cse25/
date: March 3-7, 2025
start: 2025-03-03
- shortName: ACDA
url: https://siam.org/conferences-events/siam-conferences/acda25/
date: July 30 - August 1, 2025
start: 2025-07-30
- shortName: HPEC
url: https://ieee-hpec.org/
date: September 23-27, 2024
start: 2024-09-23
- shortName: ESA
url: https://algo-conference.org//2024/esa/
date: September 2-4, 2024
start: 2024-09-02
- shortName: SC
url: https://sc24.supercomputing.org/
date: November 17-22, 2024
start: 2024-11-17
- shortName: JuliaCon
url: https://discourse.julialang.org/t/call-for-hosts-for-juliacon-2025/116686
date: TBD
start: 2025-08-01
14 changes: 7 additions & 7 deletions src/_data/metadata.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"tagline": "The simple way to make software fast and composable",
"author": "The OpenCilk Team",
"email": "contact@opencilk.org",
"tagline": "An open-source community dedicated to advancing software performance engineering",
"author": "The Fastcode Team",
"email": "contact@fastcode.org",
"attribution": {
"cilkplus": "This work is derived from Cilk++ documentation with permission of Intel Corporation."
},
"blog": {
"title": "Fastcode Blog",
"url": "https://opencilk.org/posts",
"title": "Fastcode blog",
"url": "https://fastcode.org/posts",
"language": "en",
"description": "A blog about performance engineering",
"feed": {
"subtitle": "Featuring OpenCilk",
"filename": "feed.xml",
"path": "/feed/feed.xml",
"id": "https://opencilk.org/posts/"
"id": "https://fastcode.org/posts/"
},
"jsonfeed": {
"path": "/feed/feed.json",
"url": "https://opencilk.org/feed/feed.json"
"url": "https://fastcode.org/feed/feed.json"
}
}
}
29 changes: 29 additions & 0 deletions src/_includes/article-cards.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{% for post in postslist %}

<div class="col-md-6">
<div class="row p-2 no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative" style="background-color: var(--pst-color-surface);">
<div class="col-9 d-flex flex-column position-static">
<a href="{{ post.url | url }}"><h3 class="font-weight-bold mt-0 mb-0">{{ post.data.title }}</h3></a>
{% if post.data.date %}
<div class="mb-1 text-muted">{{ post.data.date | readableDate }} &mdash; By {{ post.data.author }}</div>
{% endif %}
{% if post.data.tagline %}
<p class="mb-auto">{{ post.data.tagline | markdownify | safe }}</p>
{% endif %}
<normal style="display: none;">
{% for tag in post.data.tags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
<a href="{{ tagUrl | url }}" class="card-tag">{{ tag }}</a>{{ ", " if not loop.last else "" }}
{% endfor %}
</normal>
</div>
<div class="col-3 h-100 m-0 p-0 overflow-hidden">
{% if post.data.image %}
<img class="img-fluid" src="{{ post.data.image }}"/>
{% endif %}
</div>
</div>
</div>

{% endfor %}

32 changes: 32 additions & 0 deletions src/_includes/conf-cards.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{% for post in conferences | sort(false, true, 'start') %}

<div class="col-md-6">
<div class="row p-2 no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative" style="background-color: var(--pst-color-surface);">
<div class="col-9 d-flex flex-column position-static">
<a href="{{ post.url | url }}"><h3 class="font-weight-bold mt-0 mb-0">{{ post.shortName }}</h3></a>
{% if post.date %}
<p style="margin-bottom: 6pt;"><strong>{{ post.date }}</strong></p>
{% endif %}
{% if post.tagline %}
<p style="margin-bottom: 12pt;">{{ post.tagline }}</p>
{% endif %}
{% if post.deadline %}
<p><em>Registration deadline: {{ post.deadline }}</em></p>
{% endif %}
<normal style="display: none;">
{% for tag in post.tags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
<a href="{{ tagUrl | url }}" class="card-tag">{{ tag }}</a>{{ ", " if not loop.last else "" }}
{% endfor %}
</normal>
</div>
<div class="col-3 h-100 m-0 p-0 overflow-hidden">
{% if post.image %}
<img class="img-fluid" src="{{ post.image }}"/>
{% endif %}
</div>
</div>
</div>

{% endfor %}

32 changes: 32 additions & 0 deletions src/_includes/event-cards.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{% for post in postslist | reverse %}

<div class="col-md-6">
<div class="row p-2 no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative" style="background-color: var(--pst-color-surface);">
<div class="col-9 d-flex flex-column position-static">
<a href="{% if post.data.ext_url %}{{ post.data.ext_url | url }}{% else %}{{ post.url | url }}{% endif %}"><h3 class="font-weight-bold mt-0 mb-0">{{ post.data.title }}</h3></a>
{% if post.data.event_date %}
<p style="margin-bottom: 6pt;"><strong>{{ post.data.event_date }}</strong></p>
{% endif %}
{% if post.data.tagline %}
<p style="margin-bottom: 12pt;">{{ post.data.tagline }}</p>
{% endif %}
{% if post.data.reg_deadline %}
<p><em>Registration deadline: {{ post.data.reg_deadline }}</em></p>
{% endif %}
<normal style="display: none;">
{% for tag in post.data.tags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
<a href="{{ tagUrl | url }}" class="card-tag">{{ tag }}</a>{{ ", " if not loop.last else "" }}
{% endfor %}
</normal>
</div>
<div class="col-3 h-100 m-0 p-0 overflow-hidden">
{% if post.data.image %}
<img class="img-fluid" src="{{ post.data.image }}"/>
{% endif %}
</div>
</div>
</div>

{% endfor %}

16 changes: 7 additions & 9 deletions src/_includes/partials/navbar.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<nav class="bd-header navbar navbar-expand-lg navbar-dark bd-navbar justify-content-between px-4">
<a class="navbar-brand" href="/"><img src="{{ sphinxDir }}_static/OpenCilk-icon-330.png"></a>
<nav class="bd-header navbar navbar-expand-lg navbar-dark bd-navbar justify-content-between px-4" style="font-size: 1.1rem;">
<div class="container" style="max-width: 1120px;">
<a class="navbar-brand" href="/"><img class="pr-4" src="{{ sphinxDir }}_static/OpenCilk-icon-330.png"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
Expand All @@ -8,11 +9,11 @@
<ul class="navbar-nav mr-auto">
{% for entry in collections.all | eleventyNavigation("Home") %}
{% if page.url == entry.url %}
<li class="nav-item active">
<li class="nav-item active px-2">
<a class="nav-link active" aria-current="page" href="{{ entry.url | url }}">{{ entry.title }}</a>
</li>
{% else %}
<li class="nav-item">
<li class="nav-item px-2">
<a class="nav-link" href="{{ entry.url | url }}">{{ entry.title }}</a>
</li>
{% endif %}
Expand All @@ -28,11 +29,8 @@
</span>
</div>
<div class="navbar-end-item navbar-end__search-button-container">
<form class="form-inline my-2 my-md-0">
<div class="w-64">
<div id="search"></div>
</div>
</form>

</div>
</div>
</div>
</nav>
2 changes: 1 addition & 1 deletion src/_includes/partials/sidebar-toc.njk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set navPages = ['Blog', 'Documentation', 'Community', 'About us', 'Contribute'] %}
{% set navPages = ['About', 'Get involved', 'Blog', 'Events'] %}
{% if eleventyNavigation.key in navPages %}
{% set context = eleventyNavigation.key %}
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<div class="row p-2 no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative" style="background-color: var(--pst-color-surface);">
<div class="col-9 d-flex flex-column position-static">
<a href="{{ post.url | url }}"><h3 class="font-weight-bold mt-0 mb-0">{{ post.data.title }}</h3></a>
<div class="mb-1 text-muted">{{ post.data.date | readableDate }} &mdash; By {{ post.data.author }}</div>
{% if post.data.date %}
<div class="mb-1 text-muted">{{ post.data.date | readableDate }} &mdash; By {{ post.data.author }}</div>
{% endif %}
{% if post.data.tagline %}
<p class="mb-auto">{{ post.data.tagline | markdownify | safe }}</p>
{% endif %}
Expand All @@ -16,7 +18,9 @@
</normal>
</div>
<div class="col-3 h-100 m-0 p-0 overflow-hidden">
<img class="img-fluid" src="{{ post.data.image }}"/>
{% if post.data.image %}
<img class="img-fluid" src="{{ post.data.image }}"/>
{% endif %}
</div>
</div>
</div>
Expand Down
File renamed without changes.
59 changes: 0 additions & 59 deletions src/about-us.md

This file was deleted.

9 changes: 9 additions & 0 deletions src/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
eleventyNavigation:
key: About
parent: Home
order: 1
url: /about/about-spe/
---

Dummy install puts "About" in navbar as a link to the about SPE page
20 changes: 20 additions & 0 deletions src/about/about-fastcode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: layouts/page.njk
stylesheet: None
background: bg-white
sidebar: toc
title: About Fastcode
eleventyNavigation:
key: About Fastcode
parent: About
order: 2
date: 2022-07-05T16:59:41.487Z
---

## An open-source community

Fastcode is an open-source community dedicated to advancing software performance engineering (SPE) -- making software run fast or otherwise consume few resources such as time, storage, and energy.

## Focusing on research and education

Fastcode has an "academic-first" strategy to kick-start the SPE community. Then, by capturing the hearts and minds of students learning about parallel computing and SPE, the core community can grow to help the larger world of software developers cope with the end of Moore’s Law.
Loading