Grilled Cheese

ExploreLog inSign up

tj mahr 🦃

@tjmahr.com

1k Following2.7k Followers

data scientist studying how kids learn to speak, dad, jump roper, bayesian, husband to @amandawalrus.bsky.social, tjmahr.com, Madison, WI

PostsRepliesMedia
@tjmahr.comDec 5, 2026, 10:04 PM

I get most music recs from this channel now www.instagram.com/reel/Dgd9pPs...

instagram.comOutside Noise on Instagram: "Album Review of 003 by @006.e4t.ong1g How many abstractions of abstractions can we get? For fans of Sophie, Crystal Castles, Zaliva-D, and contemporary experimental club b...7,276 likes, 83 comments - outsidenoise444 on November 30, 2026: "Album Review of 003 by @006.e4t.ong1g How many abstractions of abstractions can we get? For fans of Sophie, Crystal Castles, Zaliva-D,...
@tjmahr.comDec 5, 2026, 9:59 PM

one point of reference is that spinning cat over a green background YouTube video open.spotify.com/track/2nJPdy...

open.spotify.comuan1h.ing2y.uang1g.in2lNo.006 · 003 · Song · 2026
@tjmahr.comDec 5, 2026, 9:50 PM

I do my peer reviews in zotero by marking up pdfs in Zotero but otherwise use it to make .bib files and sort pdfs

@tjmahr.comDec 5, 2026, 9:39 PM

My 2026 Zotero personality: The Hoarder. I never filed, tagged, noted or marked up 68% of what I saved. They're waiting with my old cable collection.

#ZoteroWrapped by @grimalkina.bsky.social

Your Zotero personality
The Hoarder

You never filed, tagged, noted or marked up 68% of what you saved. They're waiting with your old cable collection. With strong Highlighter energy.
Saved
65
Top topic
Speech
Obsession
Intelligibility in context
Top collection
parent listeners
Top author
Paul-Christian Bürkner
Power hour
11 AM
@tjmahr.comDec 5, 2026, 9:24 PM

pack? my suitcase???

@tjmahr.comDec 5, 2026, 4:23 AM

weird to get an email with a summary of some of my subscription charges from an app I’ve never heard of. (It’s called Link and I guess it’s part of Stripe or something.)

@davidimiller.bsky.socialDec 4, 2026, 10:10 PMReposted by @tjmahr.com

Today, NSF released a solicitation for universities to develop programs for earning a STEM bachelor’s and PhD in 6 years. ...like wut? 🙄 That's called reinventing the Masters degree.

nsf.govAccelerated Bachelor's to PhD (AccelPhD)
@tjmahr.comDec 5, 2026, 12:07 AM

The Wendy Eisenberg album is pleasant enough. I liked this song. The main riff reminds me of something like American Football. open.spotify.com/track/0uXdCH...

open.spotify.comVanity ParadoxWendy Eisenberg · Wendy Eisenberg · Song · 2026
@tjmahr.comDec 4, 2026, 10:46 PM

nextn, Mod, Re... this is a whole corner of R i never play with


autocorrelate <- function(x) {
  n <- length(x)
  m <- nextn(2 * n - 1L)
  
  # Zero-pad to avoid circular autocorrelation
  z <- c(x, rep(0, m - n))
  
  # Wiener–Khinchin theorem
  f <- fft(z)
  ac <- fft(Mod(f)^2, inverse = TRUE) / m
  
  # Retain nonnegative lags and correct numerical noise
  round(Re(ac[seq_len(n)]))
}

find_conflicting_distances <- function(x) {
  colors <- setdiff(unique(x), "?")
  
  # All known-known pairs
  conflicts <- autocorrelate(x != "?")
  
  # Subtract matching-color pairs
  for (color in colors) {
    conflicts <- conflicts - autocorrelate(x == color)
  }
  
  # Subtract 1 because the first element represents lag 0
  which(conflicts > 0) - 1L
}

solve_candidate_length_fft <- function(x) {
  n <- length(x)
  distances <- find_conflicting_distances(x)
  
  # Boolean lookup table of conflicting distances
  conflicts <- logical(n)
  conflicts[distances] <- TRUE
  
  for (k in seq_len(n - 1L)) {
    multiples <- seq.int(k, n - 1L, by = k)
    
    if (!any(conflicts[multiples])) {
      return(k)
    }
  }
  
  n
}

tictoc::tic()
solve_candidate_length_fft(chars)
tictoc::toc()
@tjmahr.comDec 4, 2026, 10:43 PM

i asked chatgpt how to speed up my working solution to part 2, and it told me i could use FFT and then i said give me a full FFT solution to play with lol

@tjmahr.comDec 4, 2026, 9:08 PM

whiskey georg is an outlier adn should not have been counted

@tjmahr.comDec 4, 2026, 9:03 PM

ai is bad except how I use it

@kottke.orgDec 4, 2026, 8:30 PMReposted by @tjmahr.com

Really interesting observation from Ira Glass on the gap between having good taste and doing good work. Starting out, you know your work is mediocre because you have good taste. The way to close that gap is by doing "a huge volume of work". [kottke.org]

kottke.orgThe Gap Between Having Good Taste and Doing Good WorkI’ve shared this observation from Ira Glass about the gap between having good taste and doing good creative work before, but I ran across it the other day and thought it was worth highlighting again. Here’s a
@ashajournals.bsky.socialDec 4, 2026, 5:12 PMReposted by @tjmahr.com

There's a rise of speech analysis software that processes audio at a 16 kHz sampling rate. What does that sampling rate do to the clinical perception of fricatives spoken by children & adolescents?https://on.asha.org/4Ar8fKi

@nrg.bsky.social @jprestonslp.bsky.social

on.asha.orgThe Effect of Audio Sampling Rate on the Validity and Reliability of Clinical Measurements of /s/ and /z/ in Children and AdolescentsPurpose: Sibilant fricatives have acoustic energy weighted toward the high-frequency range, which researchers and clinicians use to assess articu...
@tjmahr.comDec 4, 2026, 3:05 PM

the etymology is pretty dumb: throwing

[...] Latin adjectivum "that is added to (the noun)," neuter of adjectivus "added," past participle of adicere "throw to, fling at, throw or place (a thing) near," especially "add in addition, add by way of increase," [...] www.etymonline.com/word/adjective

@tjmahr.comDec 4, 2026, 2:52 AM

but the lyric is “run”… that would bother me too

@michaelkarlik.bsky.socialDec 3, 2026, 11:46 PMReposted by @tjmahr.com

Senior Judge William Martínez of Colorado explodes at ICE after it dragged a woman out of a busted car window and deported her to Ghana. He has ordered the govt. to bring her back.

The extraordinarily violent manner in which ICE took I.D. into custody in this case
truly shocks the judicial conscience. So, too, does the dishonorable manner in which
ICE has comported itself during the pendency of this action. This course of conduct
includes intentionally concealing I.D.’s whereabouts from her family, her counsel, and
this Court; inexplicably transporting her to several different U.S. locations outside
Colorado within the first few hours of her detention, in a purposeful effort to deceive her
family and counsel as to her actual location; and, knowing a habeas petition was
imminent, and a do-not-remove order from this Court a near certainty, surreptitiously
transporting I.D. to a clandestine location in a third country in Africa, where she has
never lived, and where she knows not a single soul.
That a rogue unit of the federal government, in our collective name and funded
by our taxes, is capable of treating decent, nonviolent persons with no criminal record
like I.D. in such an inhumane manner is as disgraceful as it is outrageous. We—the
American people, our country, our institutions—are far, far better than this. The time
has come for Congress to meaningfully intervene and bring a swift halt to the violent
and shameful manner in which ICE continues on a daily basis to treat our fellow human
beings. And the time has come also to bring I.D. home—to Colorado, and to her family.
The Court orders that it be so.
219
@tjmahr.comDec 4, 2026, 1:17 AM

not liking “the sloppiness gives it ecological validity” reasoning in that thread

@tjmahr.comDec 3, 2026, 10:13 PM

this is one of the lists i look forward to

NNina Corcoran@ninacorcoran.bsky.socialDec 3, 2026, 5:34 PM

I love making this list every year and hope you fall in love with something new :)

pitchfork.comThe 30 Best Rock Albums of 2026Featuring Ratboys, Greg Freeman, Westside Cowboy, Converge, Gilla Band, and more
@tjmahr.comDec 3, 2026, 10:12 PM

i have room in my life for about 2 black metal albums per year and this was one of them

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST