Giter Club home page Giter Club logo

jade's People

Contributors

celskeggs avatar terman avatar veeara282 avatar zendude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jade's Issues

License notice

Hi and thanks for sharing this software.

I browsed the documentation at https://6004.mit.edu/ and the source tree in search for licensing information.

Is there a license file, or reference to an existing license, that I have missed?
If not, can you please provide details about the conditions for using your code?

fix for jade.html

Browsing to the python server results in a blank white page containing only:

{heirarchical: true}

jade.html is requesting the unminified version of jquery, but the jade repository only has the minified version.

specifying the minified version on line 5 of jade.html fixes it

<script type="text/javascript" src="jquery-3.2.1.min.js"></script>
                                                 ^^^

Problem with rotating some gates

I've just set up Jade to run locally (localhost:8000/jade.html) and imported my Edx6004 modules successfully. Functionally, everything works as it did with the Edx online version, however, some gates that have been rotated from east/west to north/south orientation disappear and are replaced with circles. I'm using Chrome on a Mac. I've tried Firefox and Safari with the same result.
Here's a screen shot:
screen shot 2017-04-29 at 19 40 46

Add support for I/O devices

Our class is using Jade to design a simple computer and we'd like some way to use an I/O device such as a keyboard or monitor.

"Filename too long" error for nested node_modules when checking out on windows

Here's the stdout:

git.exe clone -v --progress "[email protected]:eric-wieser/jade.git" jade
Cloning into 'jade'...
remote: Total 4276 (delta 0), reused 0 (delta 0), pack-reused 4273        
Checking connectivity... done.
error: unable to create file node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js (Filename too long)
error: unable to create file node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-auto-pause.js (Filename too long)
error: unable to create file node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-stream-pause.js (Filename too long)
error: unable to create file node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js (Filename too long)
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

Reproducible disappearing elements

In chrome on linux,

  1. select an any number of gate circuit elements
  2. do gate level timing analysis
  3. a timing analysis window pops up, close that window
  4. move cursor slightly
  5. poof, all the selected elements disappear.

A mouse click anywhere on the grid will bring them back.

In firefox the behavior is slightly different. Step 4 isn't required and although the elements disappear their terminal circles remain visible.

Testing out flexbox for layout

Sometimes resizing the plot window causes the window contents dimensions to go haywire, so, I looked into the css flexbox feature that is documented well in this guide.

Here's a new git branch that changes the layout to use flex for the plot window. So far, so good - and moves some fiddly js window calculations to the CSS renderer. Here's a plot window that uses flexbox.

image

Here's the diff.

Select or pinch to zoom, drag background to pan

Jade would be more ergonomic for mouse-based interaction if it supported panning by holding any area of the background and dragging it, or zooming in by selecting a rectangular area, holding, and pressing Enter. For touch screens, this input method would still work for panning, but pinching to zoom should be used instead.

A decimal literal compromise

There was an idea about decimal literals in signal names. Sometimes we get stuck in a false assumption thinking that 1010'8 means 0b00001010, but is actually silently interpreted as one-thousand-and-ten. A first glance might suggest that all decimal literals should use a 0d prefix, like 0d10 to explicitly indicate the number ten. After some consideration, it's clear that the proposed fix is heavy handed because of the prevalence of signals named like A[31:0].

A[0d31:0] is too noisy, but here's a compromise. Only signal names containing decimal literals with certain patterns of 1 and 0 would fall under scrutiny and be rejected as invalid.

unamiguous lits, like [0, 1, 00, 000, 42, 31...] would be accepted.
[10, 11, 11110, ...] would be rejected

Would this break too many schematics? Thoughts?

Python server doesn't run

Are there any dependencies to run server.py? If so, these should be put in a requirements.txt file.

Also, you can just open jade_workbook.html in a browser window without doing anything extra and it just works. This should be reflected in README.md.

Atom package

It would be great if we could turn Jade into a package for the Atom text editor with the ability to load circuits from anywhere on disk and export circuit diagrams to SVG (possibly animated) or PDF.

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.