Skip to content

Instantly share code, notes, and snippets.

View fogus's full-sized avatar
💭
attempting to learn how to better learn

Fogus fogus

💭
attempting to learn how to better learn
View GitHub Profile
@fogus
fogus / rereads.txt
Created September 13, 2023 14:13
rereads
A Gamut of Games
AEgypt trilogy
After Dark
Blood Meridian
Book of the New Sun
Chthon
Factory series
BORGES
Finite and Infinte Games
Flower Phantoms
{:dossier/id 138
:dossier/status :status/open
:date/created #inst "2023-05-15T17:38:33.258-00:00"
:agency/name "Nu North America, Inc"
:case/title "Morse Inspector"
:case/contents {:path/name "/core"}}
@fogus
fogus / macOS Internals.md
Created May 8, 2023 13:48 — forked from kconner/macOS Internals.md
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@fogus
fogus / explore_datafy_nav.clj
Created January 18, 2023 17:50 — forked from sashton/explore_datafy_nav.clj
Clojure datafy/nav exploration
(ns explore-datafy-nav
"Sample code demonstrating naving around a random graph of data.
The graph very likely will have circular references, which is not a problem.
To see the results, execute the entire file.
Each step in the nav process will be printed out, as well as the initial db.
Subsequent executions will generate a new random db."
(:require [clojure.datafy :refer [datafy nav]]))
(defn generate-db
"Generate a random database of users and departments.

Datafy / Nav Rationale

  • The results of eval are not always data
  • The results of eval may be very large or deeply nested
  • We have strong data handling capabilities in Clojure, so how can we leverage them for non-data?
  • Practical consideration: need a console for Datomic Cloud
  • datafy: how to make data
  • nav: how to get more data
@fogus
fogus / fwq.txt
Last active January 11, 2023 15:41
Father Watson is a Jesuit priest with a knack for solving mysteries. Despite his commitment to the Church, he finds himself drawn to the shadowy world of crime and deceit. Whether it's a theft at the local museum or a string of burglaries plaguing the neighborhood, Father Watson is always ready to lend his skills of deduction and observation to the case. With his quick wit and unshakable faith, he is a formidable investigator, able to uncover the truth no matter how deeply it is hidden.
BOOK 1
In "Father Watson's Questions," Father Watson is called upon to investigate a series of strange occurrences at a remote monastery. As he delves deeper into the case, he finds himself confronted with a series of puzzles and riddles that challenge his skills as an investigator. With the help of his keen intellect and faith, Father Watson sets out to solve the mystery, piecing together clues and unraveling a sinister plot that threatens the very foundations of the monastery. Along the way, he must confront his own doubts
@fogus
fogus / clojure-deftype-scaffolding.clj
Created November 17, 2022 20:31 — forked from semperos/clojure-deftype-scaffolding.clj
Clojure Scaffolding for deftype (Christophe Grand) - Show which methods a class implements and for which interfaces
;; Big thanks to Christophe Grand - https://groups.google.com/d/msg/clojure/L1GiqSyQVVg/m-WJogaqU8sJ
(defn scaffold [iface]
(doseq [[iface methods] (->> iface .getMethods
(map #(vector (.getName (.getDeclaringClass %))
(symbol (.getName %))
(count (.getParameterTypes %))))
(group-by first))]
(println (str " " iface))
(doseq [[_ name argcount] methods]
(println

Inspirational

Non-computing books that are highly-relevant to computing

-*- mode: org -*-

Notes for Out of the Tarpit – the decomplector’s handbook

FUNCTIONAL RELATIONAL PROGRAMMING

Maybe a summary of this could be:

  • minimize mutable state
  • move the remaining into relations
  • manipulate relations with a declarative lang
@fogus
fogus / hol.org
Last active September 23, 2022 12:22

House of Leaves

Building a library from …

original thread

?titleauthorcategorynote(s)
[ ]S, M, L, XLBruce Mau and Rem Koolhaasarchitecture
[ ]Seven Lamps of ArchitectureJohn Ruskinarchitecture