Show more

It wouldn't be a theme month without a gratuitous coffee table book.

Plot twist: We don't have a coffee table. Or coffee.

My card game Siva Afi: The Fireknife Dance of Samoa has cards for the River of Fire technique, where you spin the knife fast enough to fling a line of fuel onto the ground.

The realtor who left everybody a business card and a box of sparklers is going to wake up in a cold sweat in the middle of the night when she remembers that all fireworks are illegal in the city.

(Yes, sparklers are among the least dangerous fireworks and the landscape happens to be significantly less crispy than this time last year, but the joke stands.)

If you replace an element of an list with NULL, it shortens the list.

Well, sometimes.

> a = list(1, 2, 3, 4, 5)
> b = list(8, NULL, 10)
> length(a)
[1] 5
> a[2:4] = b
> length(a)
[1] 5
> a
[[1]]
[1] 1

[[2]]
[1] 8

[[3]]
NULL

[[4]]
[1] 10

[[5]]
[1] 5

> a[3] = NULL
> length(a)
[1] 4

@data_science

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.