Skip to content

Instantly share code, notes, and snippets.

View hylkevds's full-sized avatar

Hylke van der Schaaf hylkevds

  • Fraunhofer IOSB
View GitHub Profile
{
"rdfs": "https://www.w3.org/TR/rdf-schema/",
"gsp": "http://www.opengis.net/ont/geosparql#",
"sampling": "http://www.w3.org/ns/sosa/sampling/",
"sosa": "http://www.w3.org/ns/sosa/",
"ssn-system": "http://www.w3.org/ns/ssn/systems/",
"time": "http://www.w3.org/2006/time#",
"sta": "http://something.org/sta/",
"schema": "http://schema.org/",
"skos": "http://www.w3.org/2004/02/skos/core#",
@hylkevds
hylkevds / workerQueues.md
Last active January 22, 2022 14:20
Moquette worker queues
        final int COMMAND_QUEUE_SIZE = 32;
        final int EVENT_LOOPS = Runtime.getRuntime().availableProcessors();
        final int NUM_SUBSCRIBERS = COMMAND_QUEUE_SIZE * EVENT_LOOPS * 4;

        int[] counts = new int[EVENT_LOOPS];
        for (int i = 0; i < NUM_SUBSCRIBERS; i++) {
            String name = "subscriber_" + i;
            final int targetQueueId = Math.abs(name.hashCode()) % EVENT_LOOPS;
            counts[targetQueueId]++;
{
"importer": {
"className": "de.fraunhofer.iosb.ilt.sensorthingsimporter.importers.ImporterAtAqd",
"classConfig": {
"samplesUrl": "http://luft.umweltbundesamt.at/inspire/wfs?service\u003dWFS\u0026version\u003d2.0.0\u0026request\u003dGetFeature\u0026typeName\u003daqd:AQD_Sample",
"fieldStartTime": "StartTime",
"fieldEndTime": "EndTime",
"fullImport": false,
"entityOwner": "http://luft.umweltbundesamt.at",
"sensorsUrl": "http://luft.umweltbundesamt.at/inspire/wfs?service\u003dWFS\u0026version\u003d2.0.0\u0026request\u003dGetFeature\u0026typeName\u003daqd:AQD_SamplingPointProcess",
{
"openapi" : "3.0.2",
"info" : {
"title" : "SensorThings v1.1",
"version" : "1.0.0",
"description" : "Version 1.1 of the OGC SensorThings API, including Part 2 - Tasking."
},
"paths" : {
"/v1.0" : { },
"/v1.0/Actuators" : {
@hylkevds
hylkevds / FROST-short-edit.json
Last active November 21, 2019 15:40
FROST-short-edit.json
{
"openapi" : "3.0.2",
"info" : {
"title" : "SensorThings v1.1",
"version" : "1.0.0",
"description" : "Version 1.1 of the OGC SensorThings API, including Part 2 - Tasking."
},
"paths" : {
"/v1.0" : { },
"/v1.0/Actuators" : {
@hylkevds
hylkevds / demoEntities.json
Last active September 6, 2018 10:39
A set of demo entities that can be posted to the v1.0/Things collection of a SensorThings API service.
{
"name": "Living Room",
"description": "My Living Room",
"properties": {
"style": "Cozy",
"balcony": true
},
"Locations": [
{
"name": "My Living Room",
0eNrlnd1uW7mShd9F13Fj858MZuZFBo3AsZW0cBzbkOXG6Wn43UdKbMdxWNzr4/RcJLk5B52ES7XJIrVVXPz49+b91f32dr+7Pmze/r3ZXdxc323e/vffm7vdx+vzq9OfHf663W7ebnaH7afNm831+afTf90dtuefzg73+/e76+3m4c1md325/ffmrXv4/c1me33YHXbbL0Kf/+Ovd9f3n95v98d/8CxxfX9xtT3fn+235xeHm/1R+/bm7tju5vr0qUetsxrebP46/r/zDw9vvlPyz0p/bM8PZ7e7Y5gdjeVRI/U0AtOIPY0oaZQ6iiNpGm2kkTWNPNIomkYZadRnjQ/nd4ez+2Ni7D/ub47/f/Z+e3UY6cVjIl3u9tuLL3977NnH5Lu5P9zeHzadT2taxHEUsVs0kTQUcZqIH4poSV3CUETL6uKGImJaD6eXe5XX239f/HF+/XG7HymF39KrNOgpa9mehzPGaemeh1PXVf0Zc0HPqOV2Hs5Gr+V2Hi4LXsvtPJwgXsvtPJyqPoDejqS3vZbweTj1vLaQ5+Ei4DN4RoeeUUz44crgqyYyXBm8lttpOH+DlttpOH+D03v7WUnq7aAlfBrO36At5mk4f8PX3D61PzvcnH35Rh4pvfoyzj1dLd3TcF0I2lKehutCKGAUAxrFCvou9fvO93TFGTBcb6I4A4brTdRW9zRcFaKY7MNVIYLVPaH3hait7nG43kQt3eNwvYlgdY/ofSFqq3scrjdRW93jcL2JWm7H4bqQtNyOw3UhOX32PisJszd5oJv0FTVpy30crgpJTPbhqpDAu/uzkpSnSVvw43C9SWKyD9ebBN7dQ0PPqM2AMP5F/3UG3Hz4cPfHzX57dnv/6bYnVPTcze5FGedmf/7xmL7n1//qqT6Pq6DqVVX/3JPdhw6yTgbRgTcgH/X5mpOu6yoYo2yU2jqy4KUjF112AbJVliXBNjBm+pCVBQyZHm1xah94IOpVUTD/S1BFHQlVn2EuA1l9gjnwPVvk+eUaCFa