Email or username:

Password:

Forgot your password?
sam henri gold

already know what I'm mapping my action button to

A Siri shortcut called "Is Jimmy Carter Still Alive". An alert is on top of the window: "Jimmy Carter is probably still kicking".
13 comments
sam henri gold

I'm just checking the first sentence of a given Wikipedia article, looking for text in parentheses, and checking if that contains some sort of dash character. Not foolproof but it’s pretty good with the handful of articles I tested. icloud.com/shortcuts/1c091b0bf

xeophobia 👻

@samhenrigold Have you thought about a career in data journalism? 😂

sam henri gold

@xeophin genuinely yes. i think i would need to be in the front end of the front end but it's something I've considered for sure

xeophobia 👻

@samhenrigold It's just that your data gathering method felt *very* DDJ-y to me 😂

But seriously, people that are skilled in journalism, data gathering and handling *and* know how to design and development interactive tools can create amazing stuff. We're lucky to have some of these people in our team.

sam henri gold

@chris Very interesting, I wonder if it's picking up the dashes in the phonetic spelling. I'm using \p{Pd} to safeguard this from people using a hyphen or an en dash or em dash or something else for the year range but I guess I should try to strip phonetics first…

sam henri gold

@chris that's the ticket, just checking for any kind of whitespace on either side of any kind of hyphen or dash

Григорий Клюшников

sam henri gold, idk what it's supposed to be in English but I love how it starts with "receive input data from nowhere"

sam henri gold

@grishka that's the english copy too, it also threw me off. in fairness i never use shortcuts but it makes no sense to me

Jacob Tender

@samhenrigold alternatively, you could look for “is” vs. “was.”

¡a!n

@samhenrigold up til now I thought Carter died two weeks ago

Go Up