@kearneymw's Avatar

@kearneymw

@kearney.bsky.social

Current: Principal Data Scientist (retail). Former: Data Science & AI Manager, Responsible AI Architect, ML Engineer, Data Scientist, Professor.

2,381 Followers  |  162 Following  |  190 Posts  |  Joined: 29.04.2023
Posts Following

Posts by @kearneymw (@kearney.bsky.social)

Post image

I thought Emperor Palpatine’s lines were poorly written. I guess *I* was wrong.

28.02.2026 21:52 — 👍 0    🔁 0    💬 0    📌 0

AI models seem to all agree on the likely outcomes of Trump’s war on Iran: loss of life, failed regime change, high probability of economic recession, and multi-year delay in Iranian nuclear proliferation. Cool.

28.02.2026 15:58 — 👍 1    🔁 0    💬 0    📌 0

They’re going to see this

28.02.2026 14:04 — 👍 1    🔁 0    💬 0    📌 0

Remember that movie with Joseph Gordon Levitt and Bruce Willis where the world experienced a new breakthrough technology and everyone acted like it’d change everything but ultimately people were just walking around twiddling coins in their hands? Just thought of it no reason.

25.02.2026 02:00 — 👍 1    🔁 0    💬 0    📌 0

Chaotic evil fits

23.02.2026 23:23 — 👍 1    🔁 0    💬 0    📌 0
R coding style alignment chart:

LAWFUL GOOD
y <- x 
y[is.na(x)] <- "na"

NEUTRAL GOOD
y = x 
y[is.na(x)] = "na"

CHAOTIC GOOD
y = x |>
  is.na() |> 
  ifelse("na", x)


LAWFUL NEUTRAL
y <- ifelse(is.na(x), "na", x)

TRUE NEUTRAL
y = ifelse(is.na(x), "na", x)

CHAOTIC NEUTRAL
y = x %>%
  ifelse(is.na(.), "na", .)


LAWFUL EVIL
`<-`(y, x)
`[<-`(y, is.na(x), "na")

NEUTRAL EVIL
y = x
for (i in seq_along(x)) {
  if (is.na(x[[i]])) {
    x[[i]] = "na"
  }
} 

CHAOTIC EVIL
x %>%
  `[<-`(is.na(.), "na") %>%
  ``<<-``(y, .)

R coding style alignment chart: LAWFUL GOOD y <- x y[is.na(x)] <- "na" NEUTRAL GOOD y = x y[is.na(x)] = "na" CHAOTIC GOOD y = x |> is.na() |> ifelse("na", x) LAWFUL NEUTRAL y <- ifelse(is.na(x), "na", x) TRUE NEUTRAL y = ifelse(is.na(x), "na", x) CHAOTIC NEUTRAL y = x %>% ifelse(is.na(.), "na", .) LAWFUL EVIL `<-`(y, x) `[<-`(y, is.na(x), "na") NEUTRAL EVIL y = x for (i in seq_along(x)) { if (is.na(x[[i]])) { x[[i]] = "na" } } CHAOTIC EVIL x %>% `[<-`(is.na(.), "na") %>% ``<<-``(y, .)

what's a "pipes" ?? #rstats

23.02.2026 21:27 — 👍 91    🔁 18    💬 9    📌 3

Also now that they have drafts here we are so back

21.02.2026 17:24 — 👍 6325    🔁 308    💬 119    📌 34

Complimentary #rstats

22.02.2026 02:16 — 👍 2    🔁 0    💬 0    📌 0

I won’t believe it until the NSSD podcast comes back

22.02.2026 01:34 — 👍 1    🔁 0    💬 0    📌 0

bsky giving vibes like it’s Twitter circa 2018

22.02.2026 01:30 — 👍 2    🔁 0    💬 2    📌 0

The base R people say:

x[, 1] is a vector
x[, 1, drop = FALSE] is a data.frame

So a function that assumes vector will break if given a tbl_df because a tibble forces equivalent of x[, 1, drop = FALSE], which is not default behavior.

tl;dr: base R purists say tbl breaks stuff for no reason.

21.02.2026 20:48 — 👍 1    🔁 0    💬 0    📌 0

Backwards compatibility is important but R is not C. It’s a high level convenience language. It’s now competing with Claude code. You can’t cling to crappy behaviors like that.

21.02.2026 17:08 — 👍 1    🔁 0    💬 0    📌 0

Just because there is a ‘solution’ does not mean it’s beyond improving, and this is the perfect example:

df[, 1, drop = FALSE] (the default is TRUE)

21.02.2026 17:06 — 👍 2    🔁 1    💬 1    📌 0

I don’t understand people making such a big deal about

foo <- function(x) {
x[, “x”]
}

returning a tbl vs a vector in base R. It’s silly that it’s a vector in base R. Tibble provides a coherent alternative. Yes, it’s frustrating that tidyverse packages change a lot and have dep bloat.

21.02.2026 13:36 — 👍 0    🔁 0    💬 0    📌 0
Preview
three men are standing in front of a building with a sign on it that says clock ALT: three men are standing in front of a building with a sign on it that says clock

But srsly in retrospect I don’t think the moral panic ages well in those exchanges. I understand the frustration with constant changes, but protecting fragile base R behavior that was actively being addressed by a vibrant, large, funded, community with a coherent grammar just seems silly to me.

21.02.2026 03:25 — 👍 2    🔁 0    💬 1    📌 0

It’s all about the base bout the base no tibble

21.02.2026 03:14 — 👍 5    🔁 1    💬 1    📌 0
Post image

❗️Our next workshop will be on March 19th , 2 pm CET on Oops, Git! How to recover from common mistakes by @masalmon.eu

Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share!
#AcademicSky #EconSky

20.02.2026 13:33 — 👍 10    🔁 5    💬 1    📌 0
Preview
a man in a plaid shirt and tie is making a surprised face . ALT: a man in a plaid shirt and tie is making a surprised face .
18.02.2026 22:22 — 👍 2    🔁 0    💬 0    📌 0

Omg do people not realize it’s a stupid joke? I just assumed they did and left it. And that I still hated. But them not knowing is even worse 😱

18.02.2026 22:00 — 👍 1    🔁 0    💬 1    📌 0
Preview
If your random seed is 42 I will come to your office and set your computer on fire🔥 Figuratively. More likely you'll get a stern talking to.

blog.genesmindsmachines.com/p/if-your-ra...

18.02.2026 05:28 — 👍 3    🔁 1    💬 1    📌 0

Been in a tough work situation for a year, trying to “fix it” in increasingly clever ways. Realized I was still just litigating right/wrong. Cheesy but true: I need to stop trying to be right and start building the systems I actually want.

18.02.2026 02:28 — 👍 1    🔁 0    💬 0    📌 0

random.seed(42)

</cringe>

17.02.2026 23:29 — 👍 4    🔁 1    💬 1    📌 0

Remember when OpenAI’s board tried to fire Sam Altman over safety concerns? In retrospect, it backfired pretty spectacularly and actually consolidated power for Altman and Brockman.

14.02.2026 17:46 — 👍 0    🔁 0    💬 0    📌 0

Anthropic and Google have started to outperform OpenAI

Microsoft (*huge* investor in OpenAI) stock has dropped over 15% in the last 2 weeks

We’re going to see some erratic stuff from OpenAI. I can’t imagine these decisions will be thoughtful and good.

12.02.2026 14:07 — 👍 1    🔁 0    💬 0    📌 0

Theory: man wanted in women mentor group. Was told no, prompting reverse discrimination complaint. Meanwhile, OpenAI is losing ground fast to Anthropic and Google and its Policy Lead was very reasonably opposing GPT’s porn mode.

12.02.2026 02:49 — 👍 0    🔁 0    💬 0    📌 0

Me: Do you have 10,000 dollars?
Daughter: Is that the rectangle ones or the circle ones?

08.02.2026 00:17 — 👍 0    🔁 1    💬 0    📌 0

Anyone interested in 1-year contract remote work as a lead data scientist let me know. #rstats ~~ 🧠 🧠 but work will be in python (pyspark), sql, mlflow.

04.02.2026 18:21 — 👍 1    🔁 1    💬 0    📌 0

I think your current approach is better than an instant pot, but if you ever find it tedious or inconsistent, I think a rice cooker is worth every penny!

27.01.2026 11:49 — 👍 2    🔁 0    💬 0    📌 0
Preview
a man in a hat is looking at something in a glass ALT: a man in a hat is looking at something in a glass

Alternatively:

27.01.2026 00:21 — 👍 3    🔁 0    💬 1    📌 0

Buy good rice, use a rice cooker (follow the lines on water amounts), be patient and rinse lots, add a touch of butter (fat).

27.01.2026 00:18 — 👍 1    🔁 0    💬 1    📌 0