- Download & Install Java from https://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html, e.g. https://download.oracle.com/otn/java/jdk/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jdk-8u241-windows-x64.exe
- Download Windows version from https://www.elastic.co/downloads/elasticsearch, e.g. https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.2-windows-x86_64.zip
- Extract the ZIP file and copy the
elasticsearch-7.5.2
directory toC:\visual-analytics\elasticsearch-7.5.2
. - Edit the file
C:\visual-analytics\elasticsearch-7.5.2\config\elasticsearch.yml
and add the linenetwork.host: localhost
. - Open a command line (
cmd.exe
), in the command line do: cd c:\visual-analytics\elasticsearch-7.5.2
(move to elasticsearch directory)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head><meta charset="utf-8" /> | |
<title>vega-brush-info</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"background": "white", | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "data-b7a0909663af312f9c279ddca350c314", | |
"values": [ | |
{"date": "2018-11-21T00:00:00", "location": "Strengen", "count": 1}, | |
{"date": "2018-11-27T00:00:00", "location": "Ischgl", "count": 1}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST _bulk | |
{ "index" : { "_index" : "flare" } } | |
{ "id": 1, "name": "flare" } | |
{ "index" : { "_index" : "flare" } } | |
{ "id": 2, "name": "analytics", "parent": 1 } | |
{ "index" : { "_index" : "flare" } } | |
{ "id": 3, "name": "cluster", "parent": 2 } | |
{ "index" : { "_index" : "flare" } } | |
{ "id": 4, "name": "AgglomerativeCluster", "parent": 3, "size": 3938 } | |
{ "index" : { "_index" : "flare" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trigger": { | |
"schedule": { | |
"interval": "5s" | |
} | |
}, | |
"input": { | |
"search": { | |
"request": { | |
"search_type": "query_then_fetch", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { | |
graph [fontname = "helvetica" pad=".5"]; | |
node [fontname = "helvetica" shape="underline"] | |
edge [fontname = "helvetica" color="grey"]; | |
"explorer_controller.js" -> "$scope" -> "$scope.appState" | |
"$scope.appState" -> "ACTION.INITIALIZE" | |
"timerangeListener" -> "ACTION.RELOAD" |
While working on annnotations, I thought about how TypeScript Interfaces could be valuable for validating js objects like an annotation itself.
TS's Interface can be thought of in analogy to PropTypes, but Interfaces can be applied everywhere, they don't work during run- but compile-time and are tightly integrated with VSCode's TS features.
So looking at the spec of the annotation format here, an Interface for an annotation can look like this:
export interface Annotation {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const benchmarker = { | |
benchmarks: [], | |
getAverage() { | |
return this.benchmarks.reduce((p, c) => p + c, 0) / this.benchmarks.length; | |
}, | |
start() { | |
return (+new Date()); | |
}, | |
end(start) { | |
this.benchmarks.push((+new Date()) - start); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: Apache-2.0 | |
border: no | |
height: 200 |