Skip to content

Instantly share code, notes, and snippets.

View kulicuu's full-sized avatar

J Wylie Woodcock kulicuu

View GitHub Profile
@kulicuu
kulicuu / linked_list_stuff.coffee
Created September 21, 2020 08:28
Linked-List stuff in Coffeescript
# 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 August 12, 2020 07:05
Digest condensed rough outline of presentation for investors...

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 April 18, 2020 22:28
For live-reload of Rust code into Yew projects.
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 March 23, 2021 18:27
Draft technical article on common 'best' practices in the software engineering industry, focusing on the testing problem.
\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 January 27, 2020 23:54
Maximal subset generated from constraint
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 June 12, 2019 19:23
Easy to track HypersonicGlideVehicles with infrared sensors...
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 June 19, 2018 16:10
Search sorted, pivoted array
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)
@kulicuu
kulicuu / str_sort.coffee
Last active June 5, 2018 23:03
string sorte
# Word sort:
# I had an interview assessment test which had this requirement but I didn't realise it was permitted to use JS API tools like LocaleCompare or something. I started a word sort function but didn't finish it. This is for that, a basic word/string sorting function.
c = console.log.bind console
color = require 'bash-color'
_ = require 'lodash'
fp = require 'lodash/fp'
@kulicuu
kulicuu / combined_arms.md
Last active January 5, 2018 15:22
Future of Combined-Arms Conflict

to do

The Future of Combined-Arms Warfare

Abstract

What is the future relevance of high-end combined arms warfare, in an epoch where escalation to global thermo-nuclear missile duel is the elephant in every scenario ? It would seem that under such conditions any frontal theatre conflict outcomes are quickly rendered moot. To wit: "What matters the outcome in the Fulda Gap [or 21st century equivalents ] when the home territories of the respective parties are being rendered to smoldering wreckage ?" If indeed high-end CA competitions aren't militarily relevant then it makes no sense to spend precious industrial-technical resources preparing for them; such resources could better be applied to the intercontinental game itself, if not non-military socio-economic investments.

We will attempt to address this question comprehensively and come to some meaningful conclusions. Our method will be scenario-building various full-scale warfare scenarios, including first-strike / suprise scenarios, and analyzing

@kulicuu
kulicuu / App.js
Created January 2, 2018 21:33
card betting game react-native App.js
import React from 'react';
import { StyleSheet, Text, View, Button, Image } from 'react-native';
import _ from 'lodash';
const nextCardHigher = "Next Card Will Be Higher";
const nextCardLower = "Next Card Will Be Lower";
const reqObj = {
method: 'GET',