Coder Social home page Coder Social logo

acmucsd / acm-ai-workshops Goto Github PK

View Code? Open in Web Editor NEW
21.0 7.0 6.0 172.53 MB

Repository of AI resources from workshops hosted by ACM AI at UCSD ๐Ÿง 

Home Page: https://wiki.ai.acmucsd.com

Python 11.12% Jupyter Notebook 88.04% TypeScript 0.73% JavaScript 0.01% SCSS 0.10% Shell 0.01% Dockerfile 0.01%
artificial-intelligence deep-learning gym neural-networks openai-gym pytorch search-algorithms

acm-ai-workshops's People

Contributors

alckasoc avatar alvinwang922 avatar arth-shukla avatar catherinelee274 avatar duanwilliam avatar edwardyang12 avatar jackiepiepkorn avatar jonahsoong avatar jonzamora avatar kelpabc123 avatar mganaiucsd avatar milanganai avatar satyam19946 avatar stefaniedao avatar stonet2000 avatar wei-ji-chen avatar yuyeon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

acm-ai-workshops's Issues

[website] Markdown renderer cannot render CommonMark markdown html

(found in #16 ) Regular markdown allows for inline html, which uses strings for passing certain properties (e.g. <font color="red">, or <span style="color: red">). However, the website parses html as JSX, which uses a different syntax.

As part of the notebook conversion step, the Markdown AST or HTML AST should probably be traversed to convert "standard" HTML elements to valid JSX, by parsing properties that differ between them e.g. color, style, and class/className

There also appears to be an issue with mdx-bundler being unable to render regular strings with a forward slash in them, such as a url.

Possible fix: mdx supports "vanilla" markdown parsing (https://github.com/mdx-js/mdx/tree/main/packages/mdx#optionsformat) which hopefully would be able to resolve all of these various issues of markdown incompatibility. However, there are two issues that still stand:

  1. mdx-bundler can't seem to properly handle the files when setting the markdown format to md
  2. how should the table of contents be obtained otherwise?
    • one idea I have is to do two passes when bundling - one, for the actual bundling of the markdown, and the other, which gets the table of contents by inlining the plugin and modifying a toc variable in scope to get the toc for each page. however, this will require a significant refactor

[website] Better mobile support / responsiveness

Currently, the website is not optimized for a mobile viewing experience - the navbar, sidebar, and table of contents all don't render properly on mobile. Spacing could additionally be adjusted for smaller width devices.

Syntax highlighting

There should be some simple automatic syntax highlighters out there to auto highlight the python code in these jupyter notebooks

[website] Distinguish between markdown cell code blocks and Jupyter notebook code cells

Currently, notebooks are converted into a long Markdown document, where Jupyter code cells are simply rendered as markdown code blocks. However, this means that if a markdown cell contains a code block, this code block is indistinguishable from a Jupyter code cell. There are several possible approaches to solve this issue:

  1. we could simply indent markdown code blocks by a small amount. this would be the simplest solution.

  2. we could modify the notebook rendering process to factor in the ideas of Jupyter "cells" - this way, we could additionally do things like adding the cell number on the left (idk what it's called, basically the execution order thing tho), or being able to collapse the output as you would in an actual Jupyter notebook.

cc @StoneT2000 what are your thoughts?

[website] document codebase

The pipeline for generating pages from Jupyter notebooks, and being able to extend it to generate pages for e.g. Markdown documents or anything else, is somewhat complex and not fully documented, making it difficult for new contributors to help. Every function should be properly documented, and an ARCHITECTURE.md or other document should be made describing how the codebase works.

clean out the repo

  • remove some of the older content that's not up to the same quality as our most recent ones.

[website] Add linting / standardize code style

Currently, the website has no code linting or style enforcement - there is a cacophonous mix of semicolons and no semicolons, single and double quotes, random order of css properties, etc. We should add a linting and styling config to standardize this.

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.