I hereby claim:
- I am rossdylan on github.
- I am rossdylan (https://keybase.io/rossdylan) on keybase.
- I have a public key whose fingerprint is AB27 D997 65CC 1617 A542 79E3 96AC 57BF 8593 A1A9
To claim this, I am signing this object:
| package cluster | |
| import ( | |
| "math/big" | |
| "strings" | |
| ) | |
| // Defines a chunk of search space | |
| // Used to tell worker processes what to work on | |
| type Chunk struct { |
| import pygit2 | |
| import requests | |
| from collections import namedtuple | |
| import os | |
| GitObj = namedtuple("GitObj", "fname prefix hash") | |
| def hash_gen(index): |
| module Main where | |
| import System.ZMQ | |
| import Control.Monad (replicateM, forever) | |
| import qualified Data.ByteString | |
| import Text.Printf | |
| type Topics = [String] | |
| type MessageHandler = (Data.ByteString.ByteString -> IO ()) | |
| subscribeTopics :: SubsType a => Topics -> Socket a -> IO () |
| package main | |
| import "strings" | |
| import "fmt" | |
| var lol string | |
| type g_func func(...string) g_func | |
| func (gf g_func) String() string { |
| var width = 1060; | |
| var height = 600; | |
| var svg = d3.select("body").append("svg") | |
| .attr("width", width) | |
| .attr("height", height); | |
| var force = d3.layout.force() | |
| .gravity(0.5) | |
| .distance(200) |
I hereby claim:
To claim this, I am signing this object:
| import psycopg2 | |
| import getpass | |
| class STARRS(object): | |
| def __init__(self, dbname, user, host, password): | |
| self.conn = psycopg2.connect("dbname={0} user={1} host={2} password={3}".format(dbname, user, host, password)) | |
| self.cursor = self.conn.cursor() | |
| self.cursor.execute("select * from api.initialize('root')") |
One of the key tenets of the VauxIo project is the inability to delete files. However since anyone can upload files to a vaux node there needs to be a way to prevent the spread of malicious files. An example of such a file is a massive file filled with random data. The server will be unable to tell if its junk or, encrypted data we care about. I've been thinking about how to fix this for the last few days and this blog post is me trying to figure out how I want to implement this.
The first thing I thought of was a voting system. Users on each node can flag a file as malicious. The node then tells the
| func sleep_cry_pumpkin_snake(horse_ghost_cd_camcorder: [[String]]) -> Void { | |
| var whale_cat_mailbox_flag_symbols = [Int](count: horse_ghost_cd_camcorder.count, repeatedValue: 0) | |
| var shooting_star = 0 | |
| ambulance_horse(horse_ghost_cd_camcorder, whale_cat_mailbox_flag_symbols) | |
| while true { | |
| if shooting_star >= horse_ghost_cd_camcorder.count { | |
| return | |
| } else if whale_cat_mailbox_flag_symbols[shooting_star] < horse_ghost_cd_camcorder[shooting_star].count - 1 { | |
| ant_pigsnout_penguin_monkey(&whale_cat_mailbox_flag_symbols, shooting_star) | |
| whale_cat_mailbox_flag_symbols[shooting_star] += 1 |
I hereby claim:
To claim this, I am signing this object: