Caleb Figgers
cfiggers.bsky.social
Caleb Figgers
@cfiggers.bsky.social
Jesus-follower | Husband, Father | Nerd
So counting as of the end of Christmas day, I did not *beat* my personal best, but I did *tie* my personal best so we're gonna call that a mostly win
December 26, 2024 at 2:29 PM
My original solution is mechanically similar, but has some redundancy (not just because I'm doing separate `part-1` and `part-2` functions instead of a single consolidated one)

I also learned some cool tricks from other AoC'ers (shout out @ianthehenry 's help in the Janet Zulip)
December 3, 2023 at 4:16 AM
#adventofcode2023 Day 1, polished solution in Janet (both parts)

This is my refactored version AFTER solving it on my own without spoilers first, then improving based on other, smarter peoples' solutions :)

#janetlang
December 3, 2023 at 4:15 AM
My entire day at work today
September 5, 2023 at 11:21 PM
My favorite indie Lisp, Janet, has a built in parser generator module called PEG (for Parsing Expression Grammar). It takes some getting used to, but once you do it's *incredibly* powerful—and superior to Regex in ALMOST every way.

Here's a complete, working JSON to AST parser in 13 lines of code:
September 3, 2023 at 6:54 PM
Instead, those who trust in Jesus become like living stones, not broken or crushed by the Cornerstone, but built up on and in him to be a spiritual house that God treasures.

Peter says: "They stumble because they disobey the message... But you are a chosen people, a holy priesthood..."
September 2, 2023 at 4:04 PM
Jesus deflects their challenge, then tells the Parable of the Tenants—where a group of tenants (aka farmers who are renting, but do not own the land) is entrusted with a vineyard, but then beat and wrong the owner's servants and later kill his son so that they can keep the vineyard for themselves.
September 2, 2023 at 3:45 PM
In context, right before this teaching about the stone, the religious leaders (the chief priests, teachers of the law, and the elders) came up and challenged his authority.
September 2, 2023 at 3:43 PM
Pondering Luke 20:18 this morning.

I've wondered before whether "falling on" the stone is a *good* thing—a symbol of repentance—but having the stone "fall on" you is bad—a symbol of judgement.

Looking at some OT cross-references, though, I'm now inclined to see both as bad—one now, one later.
September 2, 2023 at 3:38 PM
[[Arc Diagram]] of 1 John 5:18–21

Summary: Jesus Christ is God, and knowing him brings Eternal Life; therefore, stay away from false objects of worship, because choosing them over him is choosing death, which is something those truly born of God will not do.
August 27, 2023 at 3:55 AM
The final working code

Will probably polish, add a README, and post on GitHub later
August 25, 2023 at 5:34 AM
A quick refactor to extract getting the `accessJwt` into a separate function and we're ready to try it:
August 25, 2023 at 5:02 AM
Ayyyyyyyyyyyyy status 200 let's gooooo
August 25, 2023 at 4:42 AM
Ok, took a little bit of fighting with the boiler plate, but I reckon we're ready to give this a try
August 25, 2023 at 4:40 AM
Let's spin up a new Janet project real quick

`juno` is a really simple project scaffolding CLI tool that I wrote myself

I'm working in Ubuntu 22.04, inside of WSL2 on Windows 11
August 25, 2023 at 4:08 AM
Yep, perfect. Ok, got one of those. Let's see if I can ping this create session endpoint.
August 25, 2023 at 4:00 AM
Their Hello World suggests using a CLI application called "HTTPie," which I think I've heard of before but have not ever used

Looks like that simplifies the process of acquiring and then using bearer tokens?

Let's see if we can *not* do that though
August 25, 2023 at 3:48 AM
But then again, the real question of the Inverted Spectrum Problem was never about differences in *perception,* it was always about possible difference in *inner experience of the perception.* Don't we already diagnose colorblindness by comparing relative perceived distance between colors?
August 24, 2023 at 11:25 PM
But the Yoneda Lemma says that the set of all relations of any object UNIQUELY DETERMINE that object, within whatever scope we're evaluating.

In other words, *in terms of distance relative to every other color,* every color is UNIQUELY defined—not just w/r/t any one other color, but to ALL of them.
August 24, 2023 at 11:22 PM
Rigorous study of the way humans perceive color has led to the development of "color spaces", such as the CIE 1931 color spaces, which attempt to map the full range of human-perceptible color.

Critically, these color spaces are NOT SYMMETRICAL, meaning they cannot be simply inverted without losses.
August 24, 2023 at 11:22 PM
ypical human eyes have three types of color receptor—"Blue," "Green," and "Red" cones. Each is activated by a *range* of wavelengths of light. The ranges are uneven, and they also overlap.

Your brain takes all the signals from all of your color-detecting cells and aggregates them into a picture.
August 24, 2023 at 11:21 PM
First: the problem.

Many people (most that I've ever talked to about it) have wondered whether the people around them experience colors the same way they do. If they do not, but share your color vocabulary, would you ever be able to tell?

This is called the [[Inverted Spectrum Problem]].
August 24, 2023 at 11:19 PM
That done, and a few simple illustrations of the Yoneda Lemma given, Dr. Maier summarizes the intuition behind it: Inside a given scope, the totality of an entity's relationships to all other entities defines it _uniquely,_ within that scope. "Objects are fully defined by their relations."
August 24, 2023 at 11:16 PM