Summary of the Node.js Board controversy from what I can gather.
All the redactions (and hidden/private conversations) has made it very hard for the outside to figure out what has occured.
Node.js Community Committee wanted Rod out:
| # Let's add a few entries in our stream "mystream". Every entry in a stream is like | |
| # an hash, composed of fields and values, but every entry can have different fields. | |
| # XADD appends a new entry in a stream, and returns an unique ID which is guaranteed | |
| # be incrementing. | |
| # The first part of the ID is the millisecond unixtime during the | |
| # addition (or the time of the last entry in the stream, if greater than the current time). | |
| # The second part of an entry is a 64 bit counter for entries added in the same ms. | |
| 127.0.0.1:6379> XADD mystream name pamela nicknake kill-9 |
Summary of the Node.js Board controversy from what I can gather.
All the redactions (and hidden/private conversations) has made it very hard for the outside to figure out what has occured.
Node.js Community Committee wanted Rod out:
| if (!process.browser) var sodium = require('sodium-native') | |
| var blake2b = require('blake2b') | |
| var blake2bw = require('blake2b-wasm') | |
| var BLAKE2s = require('blake2s-js') | |
| var crypto = require('crypto') | |
| var DATA_64KB = Buffer.alloc(65536) | |
| var DATA_4KB = Buffer.alloc(4096) | |
| var DATA_128B = Buffer.alloc(128) |
| # LVDB - LLOOGG Memory DB | |
| # Copyriht (C) 2009 Salvatore Sanfilippo <[email protected]> | |
| # All Rights Reserved | |
| # TODO | |
| # - cron with cleanup of timedout clients, automatic dump | |
| # - the dump should use array startsearch to write it line by line | |
| # and may just use gets to read element by element and load the whole state. | |
| # - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
| # - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
##Installing a custom SSL cert on Unifi Controller
Requirements:
| (module | |
| (func $addTwo (param i32 i32) (result i32) | |
| (i32.add | |
| (get_local 0) | |
| (get_local 1))) | |
| (export "addTwo" (func $addTwo))) |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| // GraphQL query that i'm trying to resolve with Dataloader but i can't find a way to pass argument to the | |
| // loader function. | |
| // The following GraphQL query should invoke the following DB round trips | |
| // 1 - Posts * | |
| // 2 - Tags limit 10 where post_id = ? | |
| // 3 - Tags limit 20 where post_id = ? | |
| query limitTagsOfThePost { | |
| posts { | |
| name | |
A quick guide to write a very very simple "ECHO" style module to redis and load it. It's not really useful of course, but the idea is to illustrate how little boilerplate it takes.
Step 1: open your favorite editor and write/paste the following code in a file called module.c
#include "redismodule.h"
/* ECHO <string> - Echo back a string sent from the client */
int EchoCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {