Skip to content

Instantly share code, notes, and snippets.

View dborzov's full-sized avatar

Dmitry Borzov dborzov

View GitHub Profile
@dborzov
dborzov / keybase.md
Created October 5, 2017 14:50
keybase.md

Keybase proof

I hereby claim:

  • I am dborzov on github.
  • I am dborzov (https://keybase.io/dborzov) on keybase.
  • I have a public key ASCG3-xj55X3F9noPeEHJd0Uif7vmA9FfqFoP_vwz4umUQo

To claim this, I am signing this object:

0x77D284b23d6fE1D155eE342F486E6d7DF0753FD6
@dborzov
dborzov / ethereum.address
Created September 28, 2017 23:21
ethereum
gg

Introduction.

This part is to make it relatable for people and to communicate the purpose of the talk.

  1. Everyone struggles with git in the beginning. This xkcd comic: https://xkcd.com/1597/ My personal story as an example goes here.
  2. With all the other tools you get better with experience. You just learn its concepts one by one. not with git. git terminology looks like it's about space rockets.
  3. A joke about hilariously cryptic git error messages. I will share my experience: learning commands and going through "git recipies" and stackoverflow examples only got me even more confused.
  4. There are competing file version systems including the one used by the overwhelming majority of people: folders with descriptive names. And its good enough in so many cases.
  5. At that time I was asking myself: what does git contribute that justifies all this complexity? Why is it adopted so widely? (this talk is about attempting to answer this question)
@dborzov
dborzov / gist:0e192e873b52e37bc6a7
Last active August 29, 2015 14:09
Scaffolding the NetVis tool

The goal is to reach the minimal viable version as soon as possible while at the same time assuring that the framework is set up in such a way so that it would allow growing into the longer-term goal of a protocol-agnostic, general and versatile tool.

The demo is available at www.borzov.ca/prismo (hosted on Github Pages, see gh-pages branch). Not much is working there yet.

The configuration is loaded of JSON example file: example.json.

In terms of UI we have 3 primary panels:

  • Topology/Canvas panel shows nodes and node's messages (upper-left panel). One can select objects and investigate their properties in detail in the Properties Table. One also can drag and drop elements within the canvas.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.0</real>
<key>Green Component</key>
<real>0.0</real>