Hacker News new | ask | show | jobs
by mattsfrey 2311 days ago
It would go a long way to package this such that somebody on a mac can just download it and run, or install with brew. Also after disabling security, chmoding +x, and attempting several patterns on the command line I could not get this to run, each time spitting various errors i.e. "Could not find notebooks in .: Error while looking for notebooks: skip this directory", "Could not find notebooks in /Users/mfrey: Error while looking for notebooks: open /Users/mfrey/Library/Application Support/CallHistoryDB: operation not permitted" etc.. maybe I'm just an idiot but at this point of dysfunction in a program I'm experimenting with for kicks, my capacity to continue futzing with it is exhausted, just FYI.
2 comments

Hey! Thanks for the feedback.

I'd need to sign the binary for mac for it to run without system security flag. Or indeed, brew; I'll think about it.

As for the other problems you mentionned, I agree; the software expects an empty directory, or one that contains "notebooks" already. I should maybe safeguard against it being run on arbitrary paths.

As a long time mac user, I suggest getting access to a Linux machine and even learning how to use it if necessary. If you use the mac terminal its not all that hard. Options are:

- get a DigitalOcean or other cheap VPN. $5 or less/month with easy ssh access. Be sure to set up ufw just for fun.

- have an old mac? install Ubuntu 19.10 and be surprised at how fast and usable it is. My 2011 Macbook pro is amazing with an external monitor.

- buy a cheap machine. I would suggest a Pi 4 with 4GB and have one, but since the architecture is ARM it sometimes is a hassle. Maybe someone has a suggestion for a low cost linux server box.

edit: I forgot the main point- if you want to play around with a lot of cool stuff, like this, much of it is linux by default so having a linux box is perhaps a good long term solution. I use brew, but for me these are better solutions.

Or install multipass, which installs ubuntu containers inside a ubuntu kvm on your Mac: https://multipass.run/