Giter Site home page Giter Site logo

decorator-factory / pyright-playground Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 0.0 243 KB

Try Pyright in your browser

Home Page: https://pyright-playground.decorator-factory.su/

License: MIT License

HTML 1.04% JavaScript 6.37% Svelte 17.74% TypeScript 34.11% Python 38.05% Dockerfile 2.69%
python type-checking pyright

pyright-playground's Introduction

I'm a software engineer. Some of my interests include:

  • Formal languages
  • Functional programming
  • Web development

Writing

  • typing-tips, a collection of articles about Python's gradual typing system
  • py-simpleparser — my hot take on parsing unstructured data

Linters

Experimental stuff and explorations

Other platforms

Contact me

pyright-playground's People

Contributors

decorator-factory avatar

Stargazers

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

Watchers

 avatar

pyright-playground's Issues

Remove backend requirement?

Hello; great site! Super helpful for sharing python typing examples with friends.

Out of curiosity, is there any reason this needs the NodeJS backend? Could the pyright engine be built with webpack and run in the browser? You could set aggressive cache headers on the frontend JS/HTML, and your server costs would drop to near-zero. :-)

Is the demonstration out-of-service?

Hi. Thanks for publication of your awesome service.

I want to try out pyright on your demonstration https://pyright-playground.decorator-factory.su/, but the server responded nothing. Is the demonstration in service now?

$ ping pyright-playground.decorator-factory.su
PING pyright-playground.decorator-factory.su (37.230.116.93): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- pyright-playground.decorator-factory.su ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
$ curl -v https://pyright-playground.decorator-factory.su
*   Trying 37.230.116.93:443...
# No response

site is down

the site displays the following error:

upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 110

Re-engineer the frontend

There are currently multiple issues with the frontend:

  1. The editor is a bit janky, and it doesn't work well on mobile
  2. I hate Rollup or anything else that requires excessive configuration, and I wasn't able to figure out how to resolve Rollup hanging on build

`rollup` hangs for no apparent reason

I was trying to Dockerize the project and I ran into a problem here:

# COPY frontend /src/frontend
# WORKDIR /src/frontend
# RUN npm i
# RUN npm run build
# RUN mkdir -p /build/frontend
# RUN cp -r /src/frontend/public /build/frontend
# RUN rm -rf /src/frontend

npm run build (which runs npm exec -- rollup -c) hangs after completing the build. I have no idea why that's happening or how to debug it.

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.