Note: To keep this even smaller, we're using a small helper module called the hyperswarm replicator, which wraps a few Hyperswarm setup details.
/* | |
!!!!! | |
USE THIS TOOL INSTEAD: | |
https://github.com/coolov/svgum | |
!!!! | |
If you use https://app.diagrams.net/ with google webfonts and export to svg and then |
Eccodes is an open source library made by ECMWF for reading and writing grib files, which is the most common file format for meteorological und oceanographic data in operational use (while in research, Netcdf is mainly used). If one wants to work with grib files seriously, one will have to install it earlier or later. On top of that, one will also have to make sure C and Python code is able to import the library's functionality.
First of all, I would highly recommend not to use anything else than Linux, preferably Ubuntu, for working with meteorological data, especially grib files. If you do not want to migrate to Linux completely, consider either a dual boot or a virtual machine.
I just show you the commands with minimal explanation.
import Document, { Head, Main, NextScript } from 'next/document' | |
import { renderToString } from 'react-dom/server' | |
import { extractCritical } from 'emotion-server' | |
import { ServerStyleSheet } from 'styled-components' | |
import flush from 'styled-jsx/server' | |
export default class MyDocument extends Document { | |
static async getInitialProps(ctx) { | |
const styledComponentsSheet = new ServerStyleSheet() |
runtime: nodejs8 |
var webrtc = require('webrtc-swarm') | |
var signalhub = require('signalhub') | |
var hyperdrive = require('hyperdrive') | |
var memdb = require('memdb') | |
var pump = require('pump') | |
var DEFAULT_SIGNALHUBS = 'https://signalhub.mafintosh.com' | |
var drive = hyperdrive(memdb()) |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
Allers Bottom | |
Culack | |
Swrarby | |
Fenwall St Eastake | |
Anbarth | |
St Ninhope | |
Thawkanham Water Green | |
Mige Lane | |
Up Maling | |
Firley Dinch |
20:10 dat-gitter-bot> (scriptjs) @mafintosh can you contrast hyperlog vs hypercore for their log capabilities, you dropped hypercore at some point. Is hypercore by itself as useful for an append only log use case? | |
20:10 <•mafintosh> @scriptjs right | |
20:10 <•mafintosh> so hyperlog is a DAG structure (a merkle dag even) | |
20:10 <•mafintosh> where data you insert can point to other data you insert | |
20:10 <•mafintosh> which is really great if you have multiple peers collaborating on the same data structure | |
20:11 <•mafintosh> a hyperlog is also always fully replicated since that makes the replication protocol pretty trivial | |
20:11 <•mafintosh> (i really need to write some white paper on that at some point) | |
20:11 <•mafintosh> hypercore is just simple single-writer append-only logs | |
20:11 <•mafintosh> so abstraction-wise hyperlog > hypercore | |
20:12 <•mafintosh> we could even make hyperlog run on top of hypercore which i really wanna do |
package main | |
import ( | |
"archive/zip" | |
"fmt" | |
"log" | |
"os" | |
"time" | |
"github.com/cryptix/go/logging" |