Skip to content

Instantly share code, notes, and snippets.

@rndmcnlly
rndmcnlly / README.md
Last active February 22, 2021 19:04
A search engine in a gist!

This gist implements a self-contained search engine for the VisualGenome scene corpus. The user interface is built from ipywidgets and presented with Voilà. The corpus is downloaded in the postBuild script so that fresh Binder sessions don't need to wait for this each time. Ideally even more pre-processing would be done here so that the interface gets to a responsive state faster.

launch binder

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rndmcnlly
rndmcnlly / Grid Embedding.ipynb
Created May 7, 2017 21:24
Recreating the grid embedding tool from https://adamsmith.as/papers/fdg2012generation.pdf with Clingo-5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rndmcnlly
rndmcnlly / Platformer Visualization.ipynb
Created May 2, 2017 06:09
Developing a simple PIL-based visualizer for platform level designs, starting from a JSON scene description file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rndmcnlly
rndmcnlly / Integer Programming.ipynb
Created April 25, 2017 18:10
An example of modeling and solving integer linear constraints in ASP using a few different approaches
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rndmcnlly
rndmcnlly / Collect.ipynb
Last active April 19, 2017 21:26
Demo of using %%capture magic to collect output of a cell into a Python variable
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rndmcnlly
rndmcnlly / Equivalence.ipynb
Created April 19, 2017 01:09
Check if two combinatorial circuits defined in Verilog are behaviorally equivalent (synthesis to a sea of gates using Yosys and search using Potassco)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.