Skip to content

Instantly share code, notes, and snippets.

View kulicuu's full-sized avatar

J Wylie Кулик kulicuu

View GitHub Profile
@kulicuu
kulicuu / p_200.js
Created October 3, 2022 02:51
Quick sketch code spiral output matrix...
const c = console.log.bind(console)
let arr_0 = [
[1, 2, 3, 10],
[4, 5, 6, 11],
[7, 8, 9, 11],
[12, 13, 14, 15]
]
@kulicuu
kulicuu / nouveau__archaic__sport.md
Last active September 14, 2022 00:50
chariot/trailer for lamborghinis, ferraris etc

Serious but funny product concept:

A trailer for your 700 hp Lamborghini. Titanium frame, ~60-80lbs weight empty. ~500lbs carrying capacity. Very light and minimalist. Design and construction in the pattern of high-end bicycles, like downhill racing bikes. Basically an open-top simple cargo trailer, could carry some personnel chariot style, standing up. So, a nice mountain drive in the style of ancient charioteers. Two men in the trailer, open to the mountain air whistling past 100+ mph.
Or, it could be use to haul camping supplies through the mountains. So then a tiny sports car could be used for grande-turismo, with a few hundred pounds of camping gear in the back. ~300 lbs gross weight for the trailer isn't going to much compromise the car's handling, add in negative camber for trailer wheels for handling.
Single axle obviously. A chariot basically. Can ride standing up. Like out of mountain bike materials and build process. Just a thought.

@kulicuu
kulicuu / product_sketch_200.md
Created September 13, 2022 19:44
Portable Computer Product Idea 200

Laptops have dominated the portable computing space, but have some limitations. The hinge mechanics and keyboard design make it intrinsically fragile.
Propose a modular family of systems that separates the screen and peripherals from the main box. Typically you'd use external keyboard, mouse, and an external screen if not an array of them.
Some kind of modular support structure for mounting screens, telescoping titanium frame.

@kulicuu
kulicuu / cargo.toml
Last active June 26, 2022 16:39
parsing BulkString in RespValue of Actix-Redis
[package]
name = "actix_redis_cli_000"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = "1.0"
actix = "0.13.0"
@kulicuu
kulicuu / Terebinth__Update__May__21.md
Last active May 21, 2022 23:26
Re-iterating Terebinth enterprise proposal

Terebinth : Custom Computational Simulation

(An Enterprise Proposal, something I've been kicking around awhile, now re-iterating)

About me in this story...

I grew up in the 80s, largely in Michigan, athletic culture, laid back. We got a PC XT with monochrome (amber and black) monitor. I played Falcon. Have been obsessed with simulation since then. Really it's the only thing about computers that really excited me. Contrarywise, I thought and think AI is bullshit and hype, obscuring some genuine utility in the neural nets, viewed as maps of data terrain. Roger Penrose nailed that one, also Noam Chomksy in "Language and Thought" (Anshen Lecture Series) makes similar, and powerful in generality arguments. I was never into the web hypes, other than the utopian library of alexandria type ideas -- I remain committed to that -- I'm talking about the hijacking for corporate commmercial, oligarchical, society-parasitizing/predating interests. Commerce is good of course, and internet has been great for t

@kulicuu
kulicuu / may21_thoughts_on_combined_arms.md
Last active May 21, 2022 22:22
Recent Thoughts on Combined Arms

(amateur)

Some thoughts about returning to thinking about combined-arms warfare

Dug in, dug out, blown away with the wind...

Qu: Why is it "combined"?

@kulicuu
kulicuu / keystone_the_plumbing_revolution.md
Last active May 24, 2022 18:24
Keystone : The Plumbing Revolution

Keystone : The Plumbing Revolution

(an idea from 2014ish, need to go through some multiple passes with the brainstorming thing)

Keystone: [ call it this or something else? This.]

The Plumbing Revolution

@kulicuu
kulicuu / March_18.rs
Last active March 18, 2022 17:23
Rust and Vulkan GPU rendering, vertex-buffer mapping, indexed-drawing, depth-buffering...
// Vulkan Scratch Routine 2400 ----------------- -- -- -- ---- -
use erupt::{
cstr,
utils::{self, surface},
vk, DeviceLoader, EntryLoader, InstanceLoader,
vk::{Device, MemoryMapFlags},
};
use cgmath::{Deg, Rad, Matrix4, Point3, Vector3, Vector4};
use std::{
ffi::{c_void, CStr, CString},
use num_complex::Complex64;
use std::f64::consts::*;
pub fn ft_slow (
a: &Vec<Complex64>,
n: usize,
is: i8,
) -> Vec<Complex64>
{
@kulicuu
kulicuu / Instructions.md
Last active November 27, 2021 03:09
Byte parsing in C/C++

You have been given a data file containing a list of known non-local metaparticles.

The format of the data file is an array of interleaved structures representing the following data for each record:

  • a 32-bit unsigned integer (4 bytes)
  • 6 bytes of ASCII string, null-terminated
  • a 64-bit floating point number (8 bytes)