Packet Maze: Solving a CyberDefenders PCAP Puzzle with R, Zeek, and tshark

It was a rainy weekend in southern Maine and I really didn’t feel like doing chores, so I was skimming through RSS feeds and noticed a link to a PacketMaze challenge in the latest This Week In 4n6. Since it’s also been a while since I’ve done any serious content ... Read More

New TabularData Available in Swift on macOS Monterery (et al)

| | Apple, macos, R, SWIFT
WWDC 2021 is on this week and many new fun things are being introduced, including some data science-friendly additions to the frameworks that come with Xcode 13 and available on macOS 12+ (and its *OS cousins). Specifically, Apple has made tabular data a first-class citizen with the new TabularData app ... Read More

archinfo v0.4.0 Released

| | Apple, macos
My archinfo utility is a small macOS command line application that displays process id, name, and architecture (arm64 or x86_64). Version 0.4.0 adds the following capabilities: Added --x86 (-x short option) to have archinfo only show x86_64 processes Added --arm (-a short option) to have archinfo only show arm64 processes ... Read More
Yellow street signs against clear blue sky pointing different directions. Each plate on the street sign has a specific term like unsure, muddled, coonfused and so on. Dilemma and confusion concept. horizontal composition with copy space. Clipping path is included.

A {swiftr} Brief Interlude While Awaiting {cdcfluview} CRAN Checks

| | macos, R, SWIFT
My {cdcfluview} package started tossing erros on CRAN just over a week ago when the CDC added an extra parameter to one of the hidden API endpoints that the package wraps. After a fairly hectic set of days since said NOTE came, I had time this morning to poke at ... Read More

Using the new Plot Javascript Exploratory Visualization Library Sans-Observable

The fine folks over at @ObservableHQ released a new javascript exploratory visualization library called Plot last week with great fanfare. It was primarily designed to be used in Observable notebooks and I quickly tested it out there (you can find them at my Observable landing page: https://observablehq.com/@hrbrmstr). {Plot} doesn’t require ... Read More
macOS GUI window showing the extractor main view

A Small macOS (Big Sur+) to Extract Indicators of Compromise

There’s a semi-infrequent-but-frequent-enough-to-be-annoying manual task at $DAYJOB that involves extracting a particular set of strings (identifiable by a fairly benign set of regular expressions) from various interactive text sources (so, not static documents or documents easily scrape-able). Rather than hack something onto Sublime Text or VS Code I made a ... Read More

Making macOS Universal Apps in Swift with Universal Golang Static Libraries

| | Go, golang, macos, SWIFT
There are a plethora of amazingly useful Golang libraries, and it has been possible for quite some time to use Go libraries with Swift. The advent of the release of the new Apple Silicon/M1/arm64 architecture for macOS created the need for a new round of “fat”/”universal” binaries and libraries to ... Read More
↔

Avoiding The mdls Command Line Round Trip With swiftr::swift_function()

| | macos, R, SWIFT
The last post showed how to work with the macOS mdls command line XML output, but with {swiftr} we can avoid the command line round trip by bridging the low-level Spotlight API (which mdls uses) directly in R via Swift. If you’ve already played with {swiftr} before but were somewhat ... Read More

Quick Hit: Processing macOS Application Metadata Weirdly Fast with mdls and R

| | macos, R
(reminder: Quick Hits have minimal explanatory blathering, but I can elaborate on anything if folks submit a comment). I’m playing around with Screen Time on xOS again and noticed mdls (macOS command line utility for getting file metadata) has a -plist option (it probably has for a while & I ... Read More
sportsball DOM node with JSON

Check ‘Developer Tools’ First To Avoid Heavy-ish Dependencies

| | R
Guillaume Pressiat (@GuillaumePressiat) did a solid post & video on using Selenium to scrape a paginated table from understat[.]com/league/EPL/2020 (I just cannot bring myself to provide an active link to any SportsBall site). He does a great job walking folks through acquiring & orchestrating the heavy dependency that is Selenium ... Read More