mathstuf
u/mathstuf
A place for members of r/mathstuf to chat with each other
I'm attempting to get CI working on some Mac machines and have been hitting stalls with macOS asking if I'd like to restore the application if it crashes. I'd really like to disable this behavior (it's fine if it is system-wide too; the machine is ~never going to have a human in front of it to answer any of these questions anyways). I've tried making the relevant .savedState directories under ~/Library/Saved Application State and making the unwriteable (either via sudo chown root or locking via the Finder panel thing), but then I get errors during testing about not being able to open a saved state file which then gets detected as a failure and fails the test. Can I just disable this be
Hi all!
This week, I coded up a little tool in Rust that you can use to pull down any issues or PRs you're "associated" with into a local directory where they'll be stored as .ics files with VTODO items. You can use this with anything that can read ics files for a todo manager. It will also update local data with any changes on the remote side (it has a few things it considers to be its domain like the "status" being linked to the open/closed state of the issue or PR and due date with the associated milestone due date). Any other properties (alarms, priority, extra categories, etc.) should be left alone by the tool. Right now, filtering is quite
I have a project with a complex set of build configuration flags. These flags control which modules are built and the available modules are not trivially decidable given the input configuration flags (primarily due to "X was turned on, but X depends on Y, so Y is also now on" logic).
As far as I can tell, setup.py really wants to do/drive the build of compiled extensions itself. This poses a problem due to the complex configuration flags above: it is not known until build_ext time what modules would even be available. Getting setup.py to figure out what the command line flags mean basically means reimplementing the build configuration logic again in Python code. I do not want to have
Hi all, CMake developer here. There's been a lot of noise and discussion of modules recently, particularly with respect to how build systems will deal with it. There has been build2 for quite a while, but it was also designed with modules in mind.
At Kona last week, I worked with Nathan Sidwell who is working on GCC's module support to get a minimally viable proof-of-concept for CMake building modules. There is ongoing discussion about the actual format of the information GCC writes out to communicate module dependency information to CMake, so that part certainly isn't final. I've created a Docker image with all the bits required to reproduce this setup locally as an existence proof that
Apologies if this isn't the right subreddit to ask.
I'd like to convert my current at-home service setup using FreeBSD jails to containers. However, information for deploying groups of containers seems to be either at the "how to use docker compose to run 2 containres" or "here's how to set up a Google-level infrastructure" end of the spectrum. Nothing for "how to deploy a personal cloud" that I can find.
I'm trying to use docker-compose for this, but it has limitations due to Docker not supporting the full OCI spec. Basically, I just want to gather logs with journald on the host and inside of
My device (Nexus 5X) sustained water damage (rain leeched sweat salt into the device via the SIM card slot) and no longer boots successfully. It does, however, set in the bootloader menu as long as it is plugged in (unplugging it powers the device off even with a new battery). I suspect it is stopping the boot process due to some internal check failing (failure to communicate with some component?).
So, I'd like to recover photos from the device. Bonus for also getting the contact database and contents of a note app somehow, but that's just gravy at that point.
Current state (from the bootloader):
- secure boot - enabled
- device state - locked
Running adb logcat and starting the de
Hi, I'm headed to do some hiking in Europe in early June (May 26 until I finish) and am looking at doing the Walker's Haute Route from Chamonix to Zermatt. I was planning on taking my tent to camp, but I see that Switzerland is apparently not so accommodating of that (though I would camp farther off trail, so maybe not so much then?).
I also see that snow should be expected from reports online, but some pictures posted here recently (assuming they've been posted soon after taking them) show little to none. Is traction gear such as micro spikes recommended?
Anything else I should be aware of? Thanks in advance!
Hi, I'm headed to do some hiking in Europe in early June (May 26 until I finish) and am looking at doing the Walker's Haute Route from Chamonix to Zermatt. I was planning on taking my tent to camp, but I see that Switzerland is apparently not so accommodating of that (though I would camp farther off trail, so maybe not so much then?).
I also see that snow should be expected from reports online, but some pictures posted here recently (assuming they've been posted soon after taking them) show little to none. Is traction gear such as micro spikes recommended?
Anything else I should be aware of? Thanks in advance!
(I'm posting this before going to bed, so I may not reply until the morning.)
I'm trying to help a friend connect their iPhone 6 to iTunes on a Lenovo Yoga 3 tablet, but both devices seem to be going through a connect/disconnect cycle. The "trust this device" window shows up on both, but doesn't seem to do anything. We had tried to work on it previously, but at that time there had been dialogs indicating that there was insufficient power to drive the iPhone from the tablet. Is there a way to get the iPhone to just act like a USB device rather than trying to draw power over USB (my hunch is that the tablet doesn't like that and shuts down the port, but it's just a guess)? Some other way to link the devices? Thanks.