Brendan Halpin
bthalpin.mastodon.social.ap.brid.gy
Brendan Halpin
@bthalpin.mastodon.social.ap.brid.gy
Sociologist in Limerick

Mostly playing with unrealistic computer models of real world processes

Emacs, Stata, Shiny & Rstats, Julia, Python

Linux on the […]

[bridged from https://mastodon.social/@bthalpin on the fediverse by https://fed.brid.gy/ ]
#stormbram seems to be affecting the southeast most
December 9, 2025 at 5:14 PM
We're not made of sugar. We're made of sterner stuff than the coders or this weather app!
December 5, 2025 at 7:22 PM
Even my browser doesn't think islamophobia is a word🤦
November 17, 2025 at 4:54 PM
The DST switch has two advantages: moving an hour of summer daylight we'd normally sleep through into our evenings, and reducing the variation in the time of sunrise (avoid dark mornings).

A 1-hour adjustment makes quite a big difference in middle latitudes […]

[Original post on mastodon.social]
November 3, 2025 at 4:14 PM
Playing with #julialang and GEOjson.jl, trying to figure out how to draw Irish constituency maps from https://osi.maps.arcgis.com/home/item.html?id=322f308d929f4f03960fa42513482d8a

Far too much detail! But the polygons! Three constituencies have more than 100 polygons, Galway has 277!!!
October 27, 2025 at 3:31 PM
Puzzle: A + B = C

Answers on a postcard

#mastodaoine
October 25, 2025 at 8:38 PM
I had fun with OpenStreetMap data and Julia yesterday, so I wrote some notes on how I did it (i.e., access OSM data, process it with Shapefile.jl and plot it with Plots.jl).

Details at https://brendanhalpin.net/blog/osmnjulia
October 3, 2025 at 10:59 PM
I haven't been paying attention, but apparently it's been a bit stormy today.

#mastodaoine
October 3, 2025 at 9:42 PM
Anyone recognise this place?

#openstreetmap #julialang #mastodaoine
October 3, 2025 at 10:08 AM
A map of Ireland (north and south) drawn only with motorways, primary and trunk roads, from OSM data provided as shapefiles from https://download.geofabrik.de/europe/ireland-and-northern-ireland.html (updated daily).

Decoded and drawn entirely with Julia […]

[Original post on mastodon.social]
October 2, 2025 at 9:21 PM
Of FFS! #brightspace is fucking up my #julialang teaching materials for tomorrow by being too clever.

It can interpret latex code and show formula. Brilliant.

It just can't not do it, so my regular expression example of

r"\\([0-9]+\\)") is showing up as […]

[Original post on mastodon.social]
September 30, 2025 at 11:48 PM
Maria Steen and husband, with two entirely unrelated images

What a pity we're not going to hear from her as much as if she had been nominated.

#mastodaoine
September 24, 2025 at 4:51 PM
The R/tidyverse "pipe" tri-graph reminds me of something but I can't put my finger on it...

%>%
September 22, 2025 at 3:47 PM
I'm putting together notes for novices to do simple data analysis with R and the fact that I'm telling them to "cut and paste this inscrutable block of code at the start of your file" reminds me of nothing so much as when I worked for the ESRI in Dublin in […]

[Original post on mastodon.social]
September 6, 2025 at 12:30 PM
Looking for the local tides, and Duckduckgo helpfully gives me an AI summary that is approx 6 hrs out. Which is about as wrong as you can be.
August 12, 2025 at 9:27 PM
I'm on a (v fast) train
July 27, 2025 at 9:41 AM
July 14, 2025 at 7:26 PM
I also looked at elevation. The old phone has been pretty poor at this, but I assumed that was just a GPS thing (comparing GPS elevation with e.g., SRTM elevation shows the phone can be slow to respond (ofc GPS and local height above sea level don't agree)) […]

[Original post on mastodon.social]
July 8, 2025 at 10:14 PM
Time on the X-axis might make more sense. Shows that grinding up the hill takes longer!
July 8, 2025 at 10:10 PM
I replaced my ancient phone with a Fairphone 5 and decided to do the ultimate comparison test: how accurate is the GPS when I'm riding my bike? Answer: on a map the tracks are v close but the F5 is consistently better, fewer wobbles. Errors in location mean […]

[Original post on mastodon.social]
July 8, 2025 at 9:46 PM
Solstice thought: the earth's transit around the sun is like climbing the spiral staircase of the Tower of Pisa. You begin leaning left, after 1/4 you're more or less upright, 1/4 further leaning right, then upright again. Then left again, etc.
June 20, 2025 at 6:18 PM
May 26, 2025 at 1:04 PM
My old bike* is permanently out of commission, and I'm temporarily on a borrowed bike. It's fine, but it felt not quite right. I swapped over my old saddle (Brooks¸c20yrs old) and, with the help of a tape-measure, adjusted the positioning to be as close as […]

[Original post on mastodon.social]
May 20, 2025 at 12:25 PM
My new pedagogical philosophy
May 18, 2025 at 11:19 PM
I've made a machine on my home network externally visible. Not without putting fail2ban on it, of course, to protect against ssh brute force attacks.

I decided to track fail2ban's activity, specifically the number of currently banned hosts. Constant attacks, but what a spike on May 6!
May 14, 2025 at 8:57 AM