Skip to content

Instantly share code, notes, and snippets.

View patrickToca's full-sized avatar

pmjtoca patrickToca

View GitHub Profile
@patrickToca
patrickToca / zeromq-vs-redis.md
Created April 23, 2016 10:05 — forked from hmartiro/zeromq-vs-redis.md
Comparison of ZeroMQ and Redis for a robot control platform

ZeroMQ vs Redis

This document is research for the selection of a communication platform for robot-net.

Goal

The purpose of this component is to enable rapid, reliable, and elegant communication between the various nodes of the network, including controllers, sensors, and actuators (robot drivers). It will act as the core of robot-net to create a standardized infrastructure for robot control.

Requirements:

/* Exercise: Loops and Functions #43 */
package main
import (
"fmt"
"math"
)
func Sqrt(x float64) float64 {
z := float64(2.)
package main
import(
"fmt"
"reflect"
)
func main(){
// iterate through the attributes of a Data Model instance
for name, mtype := range attributes(&Dish{}) {
package main
import (
"bufio"
"encoding/json"
"log"
"net/http"
)
func main() {