Scripts

  1. 1D Rubik's Cube
  2. Alpha-Beta Minimization
  3. APL SF Files
  4. Big Files example
  5. Arc 4 (CipherSaber)
  6. Cards Generator
  7. Chess Generator
  8. Color Adjust
  9. Convert to UTF8
  10. DDE Client Class
  11. Diagram
  12. Directories' Selection
  13. Edit Enhancement
  14. Editable wdview
  15. FastCGI and SCGI Server
  16. Fix Explicit Argument Names
  17. FFT Utils
  18. GL Image
  19. GPS Waypoint Utils
  20. HTTP Get
  21. I Ching
  22. INI Files
  23. Julian Days to/from Dates
  24. Keyed Lists
  25. Logger
  26. Morse
  27. Nonblocking Web Server
  28. OLEExcel
  29. OpenOffice
  30. Pan View
  31. Picture Database
  32. Plot 3D
  33. Pretty Printer
  34. Pump: multiPort synchronoUs Multiplexing Pump
  35. Real-time Plot
  36. Quadratic Explorer
  37. Quote Dictionary Of J
  38. Scheme
  39. Serialization
  40. Session Utilities
  41. Set Game
  42. Splitter Control
  43. Stereo Plot
  44. Streams
  45. Su Doku hand solver
  46. TacitToExplicit
  47. Task
  48. Text UI
  49. Tracer
  50. Treeview
  51. Trig Explorer
  52. Turnstile Rotary Enigma
  53. Unicode File Read
  54. UnZip Zip Archive
  55. Update PSE4 Database
  56. Vigenère Cipher
  57. Viewmat Spy
  58. WD Spy
  59. Windows Direct I/O
  60. WS - save variables to file
  61. WS Files
  62. Zoom View

To contribute a script, edit this page, creating a link to a new page under Scripts and a brief description. Then visit the new page and fill it with your script along with documentation for its use. If you want the page to be Owned, which will prevent other users from modifying it, contact an administrative WikiGnome for help. Otherwise the page will be Open and can be modified by all.

You can make it easier for others to use your script if you create a downloadable attachment containing it. To do so, insert the tag

somewhere in your script's page. When you save the changes to your page, you will be prompted to supply the file, which will be saved in the Wiki as an Attachment. You can look at the attachments to a page by going through the 'More Actions' dropdown box under the tabs at the top of each page.

If you want to comment on the contents of a page, insert your comments in the page itself, or if the page is Owned, insert your remarks on this page.

Scripts can be installed anywhere in your system. A convenient place for scripts is the misc subdirectory of addons, i.e. jpath '~addons/misc'.

1D Rubik's Cube

1D Rubik's Cube Given a scrambled line, find the shortest sequence of rotations to restore the original position.

Alpha-Beta Minimization

This script is a structure for solving two-player games using alpha-beta pruning. You supply the functions to evaluate positions and suggest moves.

APL SF Files

This script reads APL*PLUS sf files into J.

Big Files example

This is an example of how to work with files larger than 2 gigabytes. The application breakupBigFiles2CD.ijs allows us to break up large files into smaller pieces and to re-assemble them.

Arc 4 (CipherSaber)

This script provides a tool for encryping and decrypting strings using the Arc 4 algorithm. Arc 4 is Compatible with the RC4 algorithm per Schneier's "Applied Cryptography, 2nd edition".

Cards Generator

This script generates a deck of cards as a graphical bitmap suitable for visualizing card layouts. The deck contains 52 cards, a joker, two coats and a blank.

Chess Generator

This script lays out a chess board using a graphical bitmap suitable for visualizing chess problem or puzzle layouts.

Color Adjust

Color Adjust applies color adjustments to an image using brightness, contrast and gamma with a curve plot against the image histogram.

Convert to UTF8

This script converts plain text files in codepages to utf8.

DDE Client Class

This script provides a J API for a Windows DDEML client. The verbs issue DDE requests or DDE executes.

Diagram

Diagram drawing prototype.

Directories' Selection

Script to bring up an input window requesting the user to supply a "source" and "destination" directory; has explicit event-loop handler and uses the directory browsing facility.

Edit Enhancement

Edit Extension an extension to the edit verb.

Editable wdview

Editable wdview is an editable version of wdview.

FastCGI and SCGI Server

This script implement both FastCGI and SCGI servers.

Fix Explicit Argument Names

This script does a search and replace to change use of dotted parameters x. and y. etc. to x and y in scripts and labs.

FFT Utils

FFT Utils provides windowing and other utility functions useful when using the FFT addon.

GL Image

This script provides ad hoc image creator verb, which generates images based on gl2 script definition and size.

GPS Waypoint Utils

This script defines utilities for processing GPS waypoints from GPX, GoogleEarth KML and csv POI (Point of Interest) files.

HTTP Get

HTTP Get given an URL downloads the resource from the Internet.

I Ching

I Ching ideogram builder.

INI Files

This script defines covers of the Windows API functions for reading and writing INI (*.ini) files.

Julian Days to/from Dates

This script converts dates and times to and from Julian days. Included are verbs for; converting local system time to UTC/GMT time and back, and customizing the formating of dates and times.

Keyed Lists

This script deals with 2-dimensional arrays of boxes where each row is a data record and one column, usually column 0, is a key field. Verbs are provided to retrieve from and operate on such arrays.

Logger

This script provides routines for logging messages and (optionally) displaying them in a small window. See "exampleUses" at the end of the script for examples of how you might use these capabilities.

Morse

This script transforms normal text to morse code.

Nonblocking Web Server

This script implement a simple nonblocking web server.

OLEExcel

This script reads and writes Excel spreadsheets using Windows OLE.

OpenOffice

This script demonstrate how to open OOo calc using ole32 api.

Pan View

Pan View is a prototype of fast image panning using indexed subset of the original image in a view.

Picture Database

This script is a simple demonstration of how to store pictures in database.

Plot 3D

Plot 3D Plotting boolean 3-array, roughly equivalent to 3D version of viewmat. Also plots a list of 3-coordinates similarly.

Pretty Printer

This script pretty prints J scripts.

Pump: multiPort synchronoUs Multiplexing Pump

Pump routs TCP connections and requests to particular servers through designated ports of other servers. Good to fool VPN to expose its machines to non-member connections.

Real-time Plot

Real-time Plot shows how to make real-time plot updated at regular intervals using the timer event.

Quadratic Explorer

This script provides a tool for exploring Quadratic Equations. This can be used for teaching at a high school maths level.

Quote Dictionary Of J

This script provides a dyadic verb, qdoj that allows you to easily quote the J Dictionary (Dictionary of J, DoJ). The utility should make it easier for J users to communicate with each other regarding the documentation, as well as providing a method to automatically build data from the documentation (for example, the mapping of 3!:0 onto human-readable names from the 3!: page).

Scheme

Scheme is a minimal Scheme interpreter.

Serialization

Serialization as hierarchical persistence for J objects in an executable and human readable format, leveraging dynamically typed and interpreted environment.

Session Utilities

Session Utilities is a collection of useful tools for J Session Manager, such as selecting global definitions, etc.

Set Game

Set Game is a GUI version of the Set card game described in the Set Game essay.

Splitter Control

Splitter control for dynamically resizing boundary between two or more controls. Has a vertical and horizontal variety. Capable of having multiple splitters in one window.

Stereo Plot

Stereo Plot produces stereo view of 3D plots.

Streams

Streams enumerates Windows File Streams.

Su Doku hand solver

This script provides 3 dyadic verbs entries, removals, and tryHard that provide a non-GUI facility for manually solving Su Doku grids. The scripts a) check your entries and removals for validity given the current state of the grid you are solving, and b) display extra information about those valid possibilities in each grid cell.

TacitToExplicit

TacitToExplicit Attempts to convert a tacit verb to explicit.

Task

Task allows to run external processes using command-line interface and input-output streams. Updated for 64-bit.

Text UI

Text UI Text User Interface prototype.

Tracer

This script steps through the process of tracing a J sentence.

Treeview

This script implements a treeview control in J.

Trig Explorer

This script provides a tool for exploring Trigonomic Equations. This can be used for teaching at a high school maths level.

Turnstile Rotary Enigma

Turnstile Rotary Enigma, puzzle consisting of two overlapping circular disks, which can be thought of 2D Rubik's Cube.

Unicode File Read

This script reads unicode text files in various formats.

UnZip Zip Archive

This script extracts a Zip archive to a specified directory.

Update PSE4 Database

This script provides a example for updating a PSE4 Organizer database.

Vigenère Cipher

Vigenère Cipher is method of encryption that uses a series of different Caesar ciphers based on the letters of a keyword

Viewmat Spy

Viewmat Spy Dynamically patches viewmat to show the current mouse position and corresponding color in that point.

WD Spy

WD Spy Used to trace all wd input and output to help debug your code or learn how others' works.

Windows Direct I/O

This script provides a J API for Windows Direct I/O. The verbs read sectors and return disk device information. Also, there is sample verb for copying a file with read errors.

WS - save variables to file

This script allows J variables to be written to and from files.

WS Files

WS Files APL workspace storage for J locale names

Zoom View

Zoom View is a prototype of fast image zooming using indexed nearest neighbor interpolation.


CategoryWorkInProgress

last edited 2008-05-28 23:20:47 by RicSherlock