Skip to content

Instantly share code, notes, and snippets.

Avatar

Wylie Кулик kulicuu

View GitHub Profile
@kulicuu
kulicuu / grand__unified__theory__of__software.md
Last active Oct 8, 2020
Grand Unified Theory of Software
View grand__unified__theory__of__software.md

Grand Unified Theory of Software:

(the 'grand unified' part is halfway jesting, but this is a nice generalization of the main requirements of programs.)

Proposition:

A program (software program), has at most two responsibilities: (1) State-management, and (2) Effects-propagation.

Discussion:

@kulicuu
kulicuu / Foundations__of__Discourse.md
Created Sep 22, 2020
Some discussion on setting a solid foundation for argumentation/discourse, with a secondary part discussing how to make the soft sciences hard.
View Foundations__of__Discourse.md

Foundations of Discourse:

Every conversation, argument of import, runs into the same confusions of meaning. We all know how the meanings of words can shift with context. We all know how one man's meaning of a given word can differ substantially from another's. I'm not contributing anything new by commenting on this.

I have some elaborations on this idea that I believe can be helpful. These are inspired by, or taken directly from Gilles Deleuze's work in a book called "What is Philosophy."

@kulicuu
kulicuu / skepticism_parable.md
Last active Sep 22, 2020
Skepticism, a parable sketch
View skepticism_parable.md

(A parable, half serious, just a sketch)

Skepticism:

Zara, labeled by reputation "Skeptic", showed up to town one day, took up residence in a travellers' house.

The Inquisitor questioned him over tea one morning:

Is Zara a believer in the Almighty?

@kulicuu
kulicuu / linked_list_stuff.coffee
Created Sep 21, 2020
Linked-List stuff in Coffeescript
View linked_list_stuff.coffee
# credit https://www.programwitherik.com/how-to-create-a-linked-list-and-stack-in-javascript-2/ for the LinkedList implementation,
# I just did the recursive remove_duplicates function.
c = console.log.bind console
LinkedList = ->
@head = null
LinkedList.prototype.push = (val) ->
@kulicuu
kulicuu / TerebinthBusinessPlan__May26_2020.md
Last active Aug 12, 2020
Digest condensed rough outline of presentation for investors...
View TerebinthBusinessPlan__May26_2020.md

Terebinth Business Plan

DRAFT NOTES DRAFT

May 26, 2020

What is Terebinth in Ose Line?

Terebinth is a company that produces computer-driven simulations.

@kulicuu
kulicuu / src_watch_compile_loop.coffee
Created Apr 18, 2020
For live-reload of Rust code into Yew projects.
View src_watch_compile_loop.coffee
c = console.log.bind console
util = require 'util'
exec = util.promisify((require 'child_process').exec)
chokidar = require 'chokidar'
COMMAND_ONE = 'wasm-pack build --target web'
@kulicuu
kulicuu / outline__notes__software-testing.tex
Last active Mar 23, 2021
Draft technical article on common 'best' practices in the software engineering industry, focusing on the testing problem.
View outline__notes__software-testing.tex
\documentclass[9pt, a4paper]{extarticle}
\usepackage{fontspec}
\usepackage{extsizes}
\usepackage{hyperref}
\usepackage{marginnote}
\reversemarginpar
\usepackage{csquotes}
\usepackage{geometry}
\geometry{a4paper, left=3.8cm, top=1cm, right=1.8cm, bottom=1cm, footskip=.5cm, marginparwidth=70pt}
@kulicuu
kulicuu / x55.coffee
Created Jan 27, 2020
Maximal subset generated from constraint
View x55.coffee
c = console.log.bind console
make_vertex = ({ k, addr, accd_set, remainder }) ->
neighbors = {}
remainder.reduce (acc, val, idx) ->
# c val, idx
@kulicuu
kulicuu / g.txt
Last active Jun 12, 2019
Easy to track HypersonicGlideVehicles with infrared sensors...
View g.txt
We hear that HGVs are invisible to radar on account of the atmospherically generated plasma shroud, but wouldn't that same shroud reveal extremely precise coordinates to a 1st tier infrared sensor?
If EM doppler wasn't enough for ranging, triangulation would be.
@kulicuu
kulicuu / x3.coffee
Last active Jun 19, 2018
Search sorted, pivoted array
View x3.coffee
c = console.log.bind console
color = require 'bash-color'
_ = require 'lodash'
fp = require 'lodash/fp'
# this one gives the array above the pivot, inclusive of the pivot.
upper_rayy_incl = (rayy, pivot) ->
[].concat rayy.slice(pivot)