Brendan Halpin

Sociologist in Limerick

Mostly playing with unrealistic computer models of real world processes

Emacs, Stata, Shiny & Rstats, Julia, Python

Linux on the desktop since about 1997

tootfinder searchable

Brendan Halpin
bthalpin@mastodon.social

Predictions: how is Trump going to react? Pooh-pooh all the criticism, pretend it's a storm in a teacup, or completely melt-down?

He doesn't normally get blowback from his own side.

https://www.rawstory.com/rob-reiner-2674400641/

14 hours ago
Brendan Halpin
bthalpin@mastodon.social

I often find myself in this position -- checking whether there are any files in an old folder not in the new location, before deleting the old folder -- and generally re-invent the wheel. Here's a 1-liner that checks (works in Julia, similar in Python, R, other langs likely):
setdiff(
readdir("./lumber/oldfiles"),
readdir("./stuff/newfiles"))

Obvs, not checking timestamp or contents.

Edit: Julia doesn't interpret "~/"

3 days ago