cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
WebSocket demo using Stackexchange
Craige_Hales
Super User

Blog post:WebSocket 

 

This is a demo of using JSL->Python->WebSocket->Stackexchange to make a live GUI showing real-time updates at the stackexchange universe. Windows JMP 16 works. Mac untested.

 

To look at the source code, either rename the .jmpaddin with a .zip extension, or install it and use JMP's View->Add-ins menu to navigate to the install folder.

 

Update: the add-in now waits 1 second between each icon fetch to prevent being blocked by the server. Probably doesn't need to be a full second. There are ~180 icons, so the progress bar takes 3 minutes.

Comments

Apparently StackExchange now needs a secure websocket. Around line 403 change ws: to wss:

ws = websocket.WebSocketApp( "wss://qa.sockets.stackexchange.com/",

You can find the file using View->add-ins choose websocket, click home folder, look at websocket.jsl.

Recommended Articles