WebSocket
...Here's an early snapshot. Half-baked idea On Waffle Sunday, I asked several family members to review and suggest how to make it better. They all made good comments, but Daniel really wanted t...
Craige_Hales...Here's an early snapshot. Half-baked idea On Waffle Sunday, I asked several family members to review and suggest how to make it better. They all made good comments, but Daniel really wanted t...
Craige_HalesRe: Does JSL provide a "busy" indicator similar to a spinning wheel or bar? here's an example of a progress indicator made in JSL; it uses a namespace to encapsulate the code. The la...
Craige_HalesStill playing with twitter trends. I have enough data collected that I'd like to speed up processing. I want to assign an integer index to each trending word by using an associative array indexed wit...
Craige_HalesI'm using JMP with tweepy and Python to collect trends on twitter. Here's a cell plot. Not exactly the art I'm looking for, but still interesting. Each row in the table represents a word/phrase/hash ...
Craige_HalesLunar eclipse last night. Best the camera can do. Midnight. The color is pretty accurate. Not enough light for the camera to focus. 8 sec exposure Python code cal...
Craige_HalesMuch of the web uses restful APIs to move data to and from servers. Rest is a simple concept that has nothing to do with sleeping; rest means representational state transfer, but this article is not ...
Craige_HalesThis is NOT for saving interactive HTML. SaveInteractiveHTML already does this. You should probably use it instead. When JMP saves HTML with graphics, it creates a directory named gfx to ...
Craige_Hales16-bit TIFF image import is a wish for JMP to be able to load grayscale data with more than 256 shades of gray. I suggested Python might be a reasonable way to do it before trying it. The first...
Craige_HalesInterview A long time ago I interviewed a lot of candidates for a lot of graphics programming positions. Being a good interviewer is hard work; my early attempts were not great. Over time I came up...
Craige_Hales(Video link below.) The attached project file opens like this: The project file contains all the JSL files and some other bits and pieces like a credits slide. I'm liking the self-contained p...
Craige_Hales@ClusteredMining asked Making heat map- How do I define the values for each color in the gradient? . This is not exactly answering the question, but maybe. Using the GradientFunctio...
Craige_Hales..." ) ); If( !Contains( executable, extension ), // seems a bad idea Open( name, Add to Recent Files( 0 ) ) , B...
Craige_HalesExtracting a section of a webpagehas apparently got some stale info; the web scraping from Feb 2020 no longer seems to work in Jul 2021. Well, that's expected because there is no reason why YouTube c...
Craige_HalesI use the embedded log a lot: Right-click to get the popup. The code editor is shortened, top-to-bottom, and the log is quite wide: I'd like more vertical space in the upper editor.  ...
Craige_HalesFollow-up to Multiple precision arithmetic with Python -- I decided not to go down that path; instead I'm using the fast double precision numbers and not going past 1e-13 or so. It is still slo...
Craige_Hales.....9 # make 0..1 fractions of my grid position myxgridLeft = myxgridLeft / sqrtnumber myygridTop = myygridTop / sqrtnumber # unpack the parms for the group's g...
Craige_HalesJMP has built in support for SVG-like paths that support cubic Bezier lines. Sometimes you need to get the points on the path between data points. This demo also shows how to use MouseTrap to interac...
Craige_Hales@Richardli asked unzip + multi file import filename = Pick File( "Select zip File", "$DOCUMENTS", {"ZIP Files|zip", "All Files|*"}, 1, 0 ); // "/C:/Users/v1/Documents/saveappe...
Craige_HalesProgress Bar showed how to make a progress bar. @abmayfield question in "not responding" vs. "still thinking" prompted me to revisit this. Here's another take, including a cancel bu...
Craige_Hales...e'll be over water for another hour." Pilot: "I've got an idea, but you are not going to like it." In this mode the co-pilot is now ignoring the Solitaire game and the pilot is ignoring the s...
Craige_Hales