Create, visualize and deploy AI solutions.

Overview

Welcome to the Hal9 community repo! This repo contains all the community-contributed scripts that power hal9.ai. We intend to share profits with creators that contribute to this repo, but we curently don't even have revenue so it's a bit early for that.

Currently, there is no documentation on how to extend the platform; but we have a Slack group where we can help you get started.

Please feel free to use our development environment devel.hal9.ai; however, this environment produces daily builds and is not recommended for production use.

Comments
  • Notebook's pipeline should be collapsable

    Notebook's pipeline should be collapsable

    The pipeline steps should be collapsable to maximize space. When clicking a selected block, it should deselect (implemented) and also collapse the pipeline and show only an "expand" icon like "v". Ideally there should be an animation when the pipeline collapses to indicate the pipeline is still available.

    enhancement notebooks 
    opened by javierluraschi 3
  • better errors for function calls

    better errors for function calls

    closes https://github.com/hal9ai/hal9/issues/162

    @javierluraschi we now return something like image

    basically for each function response we always have a result enum that can either be Value (arbitrary json, like before) or Error (string with error message)

    opened by kevinykuo 2
  • Add support for h9_start()

    Add support for h9_start()

    In order to create and test some examples under say /examples/controls-basics we need a way to start the server in that folder with a custom .R or .py file, so adding h9_start() for this. It takes an optional server parameter with the server file to use.

    opened by javierluraschi 2
  • push xml script

    push xml script

    The current default link is a test file inside a private git repository. Would recommend moving the link to a consistent location like the other import(json,csv...)

    opened by Emilianopp 2
  • Install fails with import controls module not found

    Install fails with import controls module not found

    https://medium.com/@dharini_r/5fdceb7b09c7

    importing hal9 gives an error — import controls — module not found stating the path “/home/username/anaconda3/envs/hal9_project/lib/python3.9/site-packages/hal9.py”

    opened by javierluraschi 1
  • Need load the database inside the function (of the dropdown) that will use it

    Need load the database inside the function (of the dropdown) that will use it

    Does not work:

    library(hal9)
    
    data_path <- 'https://temphal9.s3.us-west-2.amazonaws.com/brenda/penguins.csv'
    
    penguins <- read.csv(data_path)
    
    h9_dropdown(
        "X_dropdown",
        values = function() {
          colnames(penguins)
        },
        on_update = function(value) {
            h9_set(value, "X_val")
        }
    )
    

    does work:

    library(hal9)
    
    
    h9_dropdown(
        "X_dropdown",
        values = function() {
          data_path <- 'https://temphal9.s3.us-west-2.amazonaws.com/brenda/penguins.csv'
    
          penguins <- read.csv(data_path)
    
          colnames(penguins)
        },
        on_update = function(value) {
            h9_set(value, "X_val")
        }
    )
    
    opened by brenda-lambert 1
  • Bad code seems to not restart server

    Bad code seems to not restart server

    Looks like bad R code breaks the server... notice typo h9_images instead of h9_image:

    h9_markdown("md", "This is a test!!!")
    
    h9_images("image", "https://cdn4.buysellads.net/uu/1/119121/1658931414-carbon-pubdev_2x.png")
    
    opened by javierluraschi 1
  • investigate hot reload not working intermittently

    investigate hot reload not working intermittently

    from @javierluraschi : hit a case where hot reload stopped working... I think it might be after I save an invalid R file (like function typo functttion()) that the R session is willied and hot-reload doesn't work anymore (I think).

    server 
    opened by kevinykuo 1
  • simplify manifest/response spec

    simplify manifest/response spec

    @javierluraschi @anchit-sadana realized we could simplify the json specs a bit, lmk if objection

    proposed:

    {
        "manifests": [
            {
                "runtime": "r",
                "calls": [
                    {
                        "node": "species_dropdown",
                        "fn_name": "on_select",
                        "args": [
                            {
                                "name": "value",
                                "value": "setosa"
                            }
                        ]
                    },
                    {
                        "node": "summary_table",
                        "fn_name": "html",
                        "args": []
                    }
                ]
            }
        ]
    }
    

    old:

    {
        "manifests": [
            {
                "runtime": "r",
                "nodes": [
                    {
                        "name": "species_dropdown",
                        "calls": [
                            {
                                "fn_name": "on_select",
                                "args": [
                                    {
                                        "name": "value",
                                        "value": "setosa"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "name": "summary_table",
                        "calls": [
                            {
                                "fn_name": "html",
                                "args": []
                            }
                        ]
                    }
                ]
            }
        ]
    }
    
    opened by kevinykuo 1
  • provide function in python library to launch runtime

    provide function in python library to launch runtime

    @anchit-sadana hopefully fastapi already gives us this but we need a way to determine the port on which the service is listening on, in the case where the user doesn't provide the port

    opened by kevinykuo 1
  • Add debug flag and start building app showcasing all controls

    Add debug flag and start building app showcasing all controls

    Mostly, bug fixes where performed in the runtime / designer already. Just adding support for ?localhost&debug to activate the script window to help us add breakpoints for the JS controls. Working on a more complex app with all that currently looks as follows:

    Screen Shot 2022-08-24 at 10 39 51 PM

    I'm planning to add all the controls in a single app to showcase them as a example and help us build more complex apps.

    opened by javierluraschi 1
  • Layout with multiple selection can't revert to single selection

    Layout with multiple selection can't revert to single selection

    1. Add controls
    2. Use control + click to select multiple elements

    Problem: Controls remain grouped even after clicking each of them and not using control click.

    hal9-layout-multiselect-bug

    opened by javierluraschi 0
  • Running app should clear all client app state

    Running app should clear all client app state

    The following code does not change the value of the html element since the client is not resetting state:

    
    import hal9 as h9
    
    def updated(value):
      h9.set("length", value.length)
    
    h9.textarea("textarea", on_update=updated)
    
    h9.html("html", rawhtml=lambda: h9.get("length"))
    
    opened by javierluraschi 0
  • Long text (>1mb) in textarea does not work

    Long text (>1mb) in textarea does not work

    Crashes while processing text files bigger than 1mb.

    import hal9 as h9
    
    h9.textarea("textarea", on_update=lambda value: h9.set("textarea", value))
    
    def onclick():
      big_string = h9.get("textarea")
      h9.html("html2", rawhtml=lambda: some_function(big_string))
    
    h9.node("button", on_click= onclick, label=lambda: 'Process text', kind=lambda: 'primary')
    
    opened by DiegoArceoFelix 1
  • Runtime path does not honor layout

    Runtime path does not honor layout

    Reprex:

    h9 --platform python new app1
    h9 start app1
    

    Notice that by default /design path will be open, remove /design to navigate to /. This is the runtime mode (not design of the application), notice that the app does not apply the layout.

    Image

    opened by javierluraschi 0
Owner
hal9.ai
Roblox for AI
hal9.ai
Here I will add daily one problem with solution basic to advance level and try to add multiple solutions of a single problem.

#100-code-days ?? I am adding daily 1 JavaScript solution here ?? and you can fork the repo for add your solution for any specific probelm ⌛️ Day 01:

Amir Sohel 4 Jan 22, 2022
This is a website for solving IT issues and providing IT solutions as answers to submitted tickets from clients. It is a project from Software Interns Team in Safecotech Internship Program 2022.

CONNECT IT-Solutions Table of Contents Built With Getting Started Description Documentation Commit History Screenshots Contributors Built With : Node

null 4 Sep 24, 2022
Useful JavaScript base classes for efficient and quick solutions to common problems.

JavaScript Base Classes You can find the full documentation on the website. Description Useful JavaScript base classes for efficient and quick solutio

Ruben Arushanyan 9 Nov 15, 2022
Automatically sync your leetcode solutions to your github account - top 5 trending GitHub repository

LeetHub - Automatically sync your code to GitHub. Top 5 Trending JavaScript Repositories Available on: What is LeetHub? A chrome extension that automa

Qasim Wani 2.8k Dec 31, 2022
My solutions for CS61A Fall 2020.

CS61A-Fall-2020 My solutions and experience for CS61A Fall 2020. 一、课程介绍 这门课作为Berkeley大一新生的第一门计算机课程,是一门计算机导论的课程,主要的编程语言是python,此外还介绍了LISP的方言Scheme语法和SQ

null 46 Dec 23, 2022
Harvard CS50x — 2022 solutions 😎

CS50x What is CS50x? 哈佛的计算机入门课,文档以及作业质量非常高,故将此课作为我计算机自学旅途的第一站。 Harvard's introductory computer courses, documents and assignments are of high quality,

Mancuoj 122 Jan 3, 2023
CTF (Capture The Flag) is a type of information security competition that challenges contestants to find solutions or complete various tasks.

WHAT IS CTF? CTF (Capture The Flag) is a type of information security competition that challenges contestants to find solutions or complete various ta

Nicolas Saputra Gunawan 18 Dec 12, 2022
Create deployment files and configure GitHub Actions workflows to deploy applications to Azure Kubernetes Service (AKS).

Azure Kubernetes Service (AKS) DevX (Developer experience) Extension for Visual Studio Code (Preview) The AKS DevX extension for Visual Studio Code (P

Microsoft Azure 11 Oct 1, 2022
Learn GraphQL by building a blogging engine. Create resolvers, write schemas, write queries, design the database, test and also deploy.

GraphQL Blog graphqlblog.com Learn GraphQL by building a blogging engine. Create resolvers, write schemas, write queries, design the database, test an

GraphQLApps 6 Aug 17, 2022
StarkNet support extension for VSCode. Visualize StarkNet contracts: view storage variables, external and view functions, and events.

StarkNet Explorer extension This VSCode extension quickly shows relevant aspects of StarkNet contracts: Storage variables of the current contract, and

Crytic 6 Nov 4, 2022
Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects internally.

Git Graph Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects. Hosted at HarshKapadia2.github.io/git-graph.

Harsh Kapadia 15 Aug 21, 2022
The Trino datasource allows to query and visualize Trino data from within Grafana.

Trino Grafana Data Source Plugin The Trino datasource allows to query and visualize Trino data from within Grafana. Getting started Drop this into Gra

Starburst 13 Nov 3, 2022
A Kubernetes monitoring tool to visualize large-scale activity and real-time comprehensive metrics within your cluster.

Armada A light-weight Kubernetes health monitoring tool. Summary Armada is an open-source tool for monitoring the health of your Kubernetes cluster. I

OSLabs Beta 81 Nov 2, 2022
ClickCat is a firendly user interface that lets you search,explore and visualize your ClickHouse Data.

ClickCat is a firendly user interface that lets you search,explore and visualize your ClickHouse Data. We provides the following features,you can acce

海博科技 34 Dec 13, 2022
Automatically construct and visualize Graphs generated from your Node.js project

cyclops is a minimalist developer tool that can be used to generate directed graphs from your Node.js project. It can automatically detect circular de

Antoine Coulon 74 Jan 5, 2023
Crawl WeChat Moments and visualize friend interactions.

请注意:微信朋友圈内容可能涉及隐私,如果要使用本爬虫进行个人研究以外的其他活动,请仔细考虑可能带来的社会影响与法律后果。 使用方法: 配环境。 conda create -n friends conda activate friends conda install psutil conda inst

null 19 Nov 24, 2022
Visualize and download JSON / YAML content

Graphize ?? Visualize and download JSON / YAML content in your browser Demo Key Features Preview your JSON / YAML documents instantly Pinch / Scroll Z

Varun A P 25 Dec 26, 2022
Automatically construct, traverse and visualize graphs generated from your Node.js project

skott is a minimalist developer tool that can be used to efficiently generate directed graphs from your JavaScript/Node.js project. It can automatical

Antoine Coulon 57 Dec 21, 2022