Giter Club home page Giter Club logo

compiler-research.github.io's Introduction

Website setup

Running locally (Windows and Mac)

The site is built with Jekyll, and is easy to run locally if you have Ruby.

If you don't have Ruby version 2.5.0 or higher installed, please see the "Standard Setup" sections below.

Open command prompt and browse to your website's folder. To set up a "bundle" (local virtual environment in Python terms):

bundle install

Next, use bundle exec to run a command in the new environment you just created, such as:

bundle exec jekyll serve

This will incrementally rebuild if there were anything changes in your directory. Using an internet browser, browse to the server address shown in the output, e.g.: http://127.0.0.1:4000.

To stop the server, press Control+C.

Setup for local development

1. Standard setup (Mac)

Visit this page for information about installing Ruby if your current version is too old; the instructions there form the basis for what you see here, and come in variants for all major operating systems. You should have Ruby 2.4+ for Jekyll. Since versions of macOS before Catalina with 2.3 (and Apple is dropping scripting language from macOS in the future), you may want a newer version even on a mac. You can use rbenv to manage multiple ruby versions. On macOS with homebrew, you'll want:

brew install rbenv

You'll need to run:

rbenv init
# Prints out instructions

and follow the instructions for your current shell. After you've installed rbenv on your system, use:

rbenv install 2.7.0

to get a current version of ruby. Then, inside the main iris-hep website directory, run:

rbenv local 2.7.0

This will run the Ruby you just built whenever you enter this directory. You'll want to install bundler too:

gem install bundle

(You may want to add --user-install here if you are not using rbenv. And if you don't have permission to install, and you are using rbenv, this means you forgot to set it up with rbenv init.)

2. Standard setup (Windows)

Jekyll is a Ruby Gem that can be installed on most systems. Please view the official installation instructions for Windows, or follow the below steps.

Ruby Installer

  • Use default options for installation.

  • Run the ridk install step on the last stage of the installation wizard.

Ruby Installer Screenshot 2

  • This is needed for installing gems with native extensions.

  • From the options choose MSYS2 and MINGW development tool chain.

Ruby Installer Screenshot 3

  • On a new command prompt, type the following to enable it:
ridk enable
  • Open a new command prompt window from the start menu, so that changes to the PATH environment variable becomes effective.

  • Open command prompt and browse to your website's folder.

  • Install Jekyll and Bundler using:

gem install jekyll bundler
  • Check if Jekyll has been installed properly:
bundle exec jekyll -v

You may receive an error when checking if Jekyll has not been installed properly. Reboot your system and run jekyll -v again.

3. Docker setup

If you use docker, the following line will build and serve the site locally:

docker run --rm -v "$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll:3.8 jekyll serve

If you want to enable LiveReload (pages automatically reload when jekyll rebuilds after detecting changes), then use this instead:

docker run --rm -v "$PWD:/srv/jekyll" \
           -p 4000:4000 -p 35729:35729 \
           -it jekyll/jekyll:3.8 \
           jekyll serve --livereload

Guide to Making Changes to the Website

Before making any changes to the Compiler Research website, please view the Contibution Guide to understand the existing site structure.

compiler-research.github.io's People

Contributors

argentite avatar capfredf avatar chaitanya-shahare avatar chococandy63 avatar davidlange6 avatar gojakuch avatar grimmmyshini avatar ioanaif avatar junaire avatar krishna-13-cyber avatar maximusron avatar mihailmihov avatar mizvekov avatar nirhar avatar ovdiiuv avatar parth-07 avatar pavlo-svirin avatar petrozarytskyi avatar phrygiangates avatar purva-chaudhari avatar quillpusher avatar rohitrathore1 avatar sarabellei avatar simeonehrig avatar smit1603 avatar sudo-panda avatar sunho avatar tharun571 avatar vaithak avatar vgvassilev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

compiler-research.github.io's Issues

[blogs] Sort blogs by tags

There is some markdown/jekyll functionality that allows us to hide/unhide elements based on tags. We should do that based on years of publication, and other tags we have put.

Open Projects page doesn't have all projects listed on the Open Projects YML list

This may be due to the following condition in /_pages/open_projects.md:

  {% if project.status %}
    {% continue %}

Whereas many of the projects listed in /_data/openprojectlist.yml do not include the status parameter, and hence are not listed on the Open Projects page.

If this is by design, then this issue can be closed.
Otherwise, please let me know the statuses (ongoing/completed) of the projects listed in openprojectlist.yml

Improving the C-R website

Here a draft document with the https://docs.google.com/document/d/1nDg-13cJD-6a2H05dDD97A4qvpxbD8WBcKRc4CkGu0U/edit

You can find the draft, a trace of the discussion we had about it, and a description of what needs to be improved.
More in detail:

  • menu should be changed to: (Research) (Projects) (Applications) (Resources) (Team) (Careers)
  • HOMEPAGE: add Compiler-Research Logo on the Homepage.
  • HOMEPAGE: change headline and sub-headline. Proposal in the document shared above.
  • HOMEPAGE: on the right side of the homepage, link to: upcoming events/upcoming meetings/view all past events.
  • HOMEPAGE: (this is just an idea) link to: subscribe to upcoming events.
  • RESEARCH/INTERACTIVE C++: needs to be rewritten.
  • RESEARCH/COMPILER_AS_A_SERVICE: needs to be rewritten. Proposal outline in the document shared above.
  • RESEARCH/AUTOMATIC_DIFFERENTIATION: needs to be rewritten. Proposal outline in the document shared above.
  • PROJECTS/CLING: should we refer to the read the docs Cling webpage?
  • PROJECTS/CLANG-REPL: we need to think what page we will link here.
  • RESOURCES: see proposal in the document shared above.
  • CAREERS: see proposal in the document shared above.

Add "Impact" to the Compiler Research website

Add "Impact" Page and Navigation Menu to the website to illustrate Compiler Research Org's impact in the form of:
1. Contributions to open source
2. Applications in sciences (HEP, etc.)

General improvements (notes from: 18-09-2021)

A summary of the discussion for general UI improvements.

  • Remodel the news section
    Remove the news column and center align the rest of the content, add a scrollable timeline for the news items instead. Assignee: @grimmmyshini.

  • Minor color scheme changes
    Change the navbar color to a darker grey/black.
    navbar
    Assignee: @sudo-panda.

  • Icon resizing of related projects
    Make icons more uniform.
    icons
    Assignee: @sudo-panda.

  • Recent content carousel remodel
    recent
    Change the color of the captions section and add borders to the video. Assignee: @sudo-panda.

  • Add a separate Posters page
    UI Prototype (use right arrow key to see all the frames). Assignee: -.

  • Clean up clad info page
    Assignee: -

Enhancement: Blog landing page

image

To improve the user experience and visual appeal of the blog landing page, I propose the following enhancements:

Proposed Changes:

  • Read More Button: Replace the current anchor text with a more prominent Read More button for each post.
  • Post Metadata: Include post metadata such as author name (with profile image and hyperlink), date, and estimated reading time.
  • Project Labels: Add labels to indicate the project related to each blog post, helping users quickly identify relevant content.
  • Excerpt Consistency: Truncate the post excerpts to 2-3 lines for visual consistency across the page.

Optional Enhancements:

  • Interactive Elements: Add interactive elements like scaling effects on hover to make the page more engaging.
  • Banner Images: Introduce banner images for each post to enhance visual appeal.
    • Note: This would require authors to create and upload banner images for their posts.

Xeus-CPP Blog Post or feature page after input from QuantStack

Need a more technical writeup for Xeus CPP / Xeus C++ after a major collaboration with QuantStack is completed.

Sources:

  1. Need to connect with QuantStack team for a technical overview/ Code Walkthrough
  2. QuantStack Medium Post: https://medium.com/@QuantStack/quantstack-2023-in-review-94fea0a35520
  3. Xeus-Cpp ReadTheDocs and ReadMe: https://github.com/compiler-research/xeus-cpp
  4. Previous High Level Blog Post (not technical enough yet):
    2024-01-31-xeus-cpp-intro-cpp-and-python-integration-in-jupyter.md

"Invited Talks" AND/OR "Resources" page to organize External Content/Contributions

  • Invited Talks: Hear from Compiler-Research members, partners, experts in webinars, case studies, scientific publications, and other resources.

AND/OR:

  • Resources page: Ideally, we would like to add an index to each resource, so that it can be easily found according to 1.resource type, and/or 2.topic and 3.application:

Resource Type

  • Blog
  • Tutorial
  • Video
  • Webinar
  • Paper

Resources Index

  1. Topics
  • Cling
  • Xeus-Cling
  • Jupyter
  • Clang-REPL
  • ez-Clang
  • Clad
  • Interactive CUDA C++
  1. Applications
  • Compiler as a Service
  • Automatic Differentiation
  • Interactive C++
  • Language Interoperability
  • Data Science
  • High-Energy Physics/ROOT

CLING Read-The-Docs webpage

Cling project is currently appearing on three different platforms:
Cling - ROOT
root-project/cling - The Interactive C++ Interpreter
https://rawgit.com/root-project/cling/master/www/index.html

After discussing with Axel Neumann, we decided the following:

  1. To have only one Cling webpage for developers' purpose. it will be on GitHub and it will stay very clean. A readme doc will contain the necessary information to download and start cling, and will be kept updated with last release, dependencies, etc.
  2. To create a read-the-docs document for Cling where we will provide more descriptive details about Cling, list useful references, Cling ecosystem, CUDA C++)

CLING - Read The Docs

  • Create an index.rst in order to build a read-the docs page on GitHub sarabellei/Cling
  • Merge content from the following document: https://docs.google.com/document/d/1NqNpYOi7G72NSfUYItI_nBaNl0BcknoKHosrzKr2l-s/edit
  • Merge useful content from the three Cling platforms mentioned above
  • Add a link to Cling's Github Page
  • Add a link Cling's ROOT page (which will be ROOT-centric). Axel Neumann will take care for Cling's ROOT page.

TO BE COMPLETED

Fix google analytics

Google analytics on the website used to work and now it needs something to be updated.

Anubhab, Matheus, Jun-Purva blogpost

  • Upload compiler-research.github.io/_pages/2022_Anubhab_Ghosh_blogpost.md
  • Upload compiler-research.github.io/_pages/2022_Jun_Purva_blogpost.md
  • Upload compiler-research.github.io/_pages/2022_Matheus_Izvekov_blogpost.md
  • Need to find appropriate location on the compiler-research website

If we want to put them in compiler-research.github.io/_data/news.yml, what should I put as a link?

Example:

I don't have a https address, I only have a permalink (e.g., /2022_matheus_izvekov_blogpost/)

Alternative: we upload the blogposts as pdf and put them under each contributor profile (compiler-research.github.io/_data/contributors.yml), then we announce it in news.yml.

Alternative: we create a link called Blog in the website, but then we must publish periodically.

@vgvassilev @davidlange6

Author name missing in blog posts

Problem

image

The above screenshot has, the author name missing in the header of the post.

image

The above screenshot has, the author name besides the data of publishing.

Solution

This can be fixed by just adding author field in the frontmatter of the post.

Notes from Nov 11 discussion

  • Improve text on front page (Vassil)
  • See if we can restore the curved team images
  • Add link from iris-hep page
  • Add pull down menus in header bar
  • Draft of C++ page
  • add draft of blog post

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.