Created by Christopher Manning
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.
Created by Christopher Manning
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.
#!/usr/bin/env ruby | |
class Practice | |
def initialize | |
@data = {} | |
try_to_load_data | |
end | |
def record_today(minutes) | |
@data[key_for(Time.now)] = minutes |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
# tcp.py -- example of building and sending a raw TCP packet | |
# Copyright (C) 2020 Nikita Karamov <[email protected]> | |
# | |
# With code from Scapy (changes documented below) | |
# Copyright (C) 2019 Philippe Biondi <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |