Today (Monday July 5, 2021), I got my second shot of the AstraZeneca vaccine at NTUH. If you got your first shot through the “self paid” vaccination program, you should be eligible to make an appointment for your second shot.
Update 2021-07-05 — Actually got my second shot. Details in new post. Update 2021-06-21 — I got a second notice from NTUH. I think online appointments will open 6/23. Details at the end.
As promised, I’m writing to update you all on the progress of getting a self-paid vaccine in Taiwan (see my earlier post). I received a text message from NTU Hospital telling me not to come to my second shot appointment scheduled for Monday (6/21), and that the second shots for self-paid vaccines will be given at an interval of 10-12 weeks instead of 8 weeks. Details below the break.
This is off the usual theme of my blog posts, but I had this problem with my music library on my mac and I couldn’t find any solution online and Apple support didn’t quite know what to do either, so I wanted to document how I fixed it for others.
The most immediate problem: ever since upgrading to macOS Big Sur, opening iTunes starts a background process “AMPArtworkAgent” which would run at high CPU usage in the background, not apparently doing anything at all. I tried leaving it running overnight, and it never stopped.
For more context: I have been having on and off problems with my music library since at least 2019. I would find duplicates of songs purchased from iTunes (one version in the cloud, one downloaded one), occasionally syncing my phone would cause playlists to duplicate, “playlist” and “playlist 1”, other things like that. I also found that genius had not been working for a while, but it’s hard to tell if that was related.
Note: that I am going to refer to the app on my mac as iTunes (even though it is called music) for clarity.
Mid 2020 Macbook Air (Intel), 1TB SSD, macOS 11.2.3 Big Sur (current version)
iPhone Xr 256 GB iOS 14.4.2 (current version)
9,950 songs, 59 GB
Not subscribed to Apple Music
iCloud music library off
No iTunes Match
Songs a mixture of imported mp3s and songs purchased from iTunes store
“Keep music media folder organized” on
No Apple Music subscription. I manage the music on my Mac and sync it to my phone by USB.
Step 1: Back everything up
Run time machine backup
Copy entire /Users/iaizzi/Music/ folder to an external hard drive
Export library metadata
File -> Library -> Export library…
This includes all your playlists, play counts, other metadata, but not actual music (so the file is small)
Save it somewhere outside your music library folder
Step 2: Create a new blank music library
You can have more than one library on a mac and you switch between them by holding option when you click to open iTunes.
Quit iTunes, restart computer
Hold option key and click on the iTunes logo
You should see a dialog like the screenshot below. Select “Create library” to create a blank music library.
Give it a useful name to distinguish from the library you already have, save it wherever you want, just not inside of the old iTunes library.
Click okay to enter iTunes. You should now have a completely blank music library, crucially, the database for the library will be a new “Music” library, and not the old “iTunes” library.
Before you do anything else, open Music -> Preferences:
In “Files” (see screenshot below)
Confirm that the “Music Media folder location” is in the place you selected
Uncheck “Keep music media folder organized”
Uncheck “Copy files to Music Media folder when adding to library”
Uncheck “automatically update artwork”
iTunes may already be signed into your store account, so you may see the your purchased songs in the library, but not playlists, or any other data you have added.
It may run “fetching artist artwork” or something like that. That is a separate process from the album artwork issue.
Let iTunes run until it’s done with any checks, downloads, etc
Step 3: Reimport your music
Here’s where things get weird/touchy. I know this exact order of doing things worked, I can’t make any guarantees about trying these steps out of order.
Open iTunes, confirm in settings that you are still pointed to the correct music library.
Your new music media file should still be small, only whatever purchases you have downloaded there.
Import your old library metadata using File -> Library -> Import playlist… and select the XML file you exported in step 1.
This should import all your playlists, and all of your songs should appear too with the correct metadata.
You may get an error “some of the songs in the file not imported because the files could not be found” you might want to save the list it provides, but I don’t believe this is an actual problem (these are probably weird wrong listings that were in the old library).
Right now, the files for your songs are still in the old library location.
But your library (in Preferences -> Files) should still be pointing to the new location you set.
Importing the library may take only a few minutes, but iTunes may run some other processes like “determining gapless playback information,” let all these run completely.
Check that you have the same number of songs and that you can play both purchased and non-purchased music.
Step 4: Copy the music files over
Once you’re done with step 3, reboot your computer and reopen iTunes
Now it’s time to copy the actual music files into your new library.
Go to “File -> Library -> Organize Library… ” and check “consolidate files” in the dialog and click okay
This may take a little while as it copies (not moves) the files from your old iTunes folder to the new music library.
Give it time to run and do any other processing
After this is complete, check that you can still play your music files.
Check that the songs files themselves are located in the new music library:
Right click on a song -> Get info
Select the “File” tab
Location should list a location in the new music folder you selected (the path should not include “iTunes”)
This may not show anything for undownloaded purchases
You should check a few songs this way to confirm they have moved.
Check that your new music folder is now taking up more storage space (probably to match the size of your libary listed in iTunes)
Step 5: Sync with your phone
I waited to do this until I was sure I had fixed everything else up. Since it was a new music library, it will want to remove all the music from your phone and start fresh. This seems to work fin and I was able to make changes on the mac and have them appear on the phone and vice versa.
Step 6: Cleanup
I’ve been slowly turning on the remaining services and I think everything is working.
Ran “Get album artwork” manually. Seems to work fine.
Still haven’t tried cleaning up my old library, so right now I still have the original library taking up space in another directory.
I’ve been able to add music to the library and run “consolidate library” with no problems. Not seeing duplicates.
Attempted fixes (that didn’t work)
Restarting in safe mode
Resetting NVRAM, SMC
Start iTunes while holding shift/option
Deleting album artwork file from music library (notably, none of the files in the album artwork file had been updated in a long time)
Toggling Preferences -> Advanced -> Automatically update artwork on and off
Resetting store cache
Running “consolidate files”
Manually running “Get Album Artwork”
Cautions about this approach
Need enough space to have two copies of your music library.
I had to try this twice, the first time the new library somehow reverted back to the old media files location and I had to delete the new library and start again. I suspect (but have not tested) that my first attempt at a new library got messed up when I opened the old library and then returned to the new library.
You will need to reauthorize computer to play purchased songs
I’ve had a bit of trouble with having to reauthorize purchased songs. Not sure what the deal with that is, but it may go away.
“Date added” metadata not saved
The old iTunes library may still have your podcasts, TV shows, movies, etc in it, so I’m not sure if you can delete it safely.
I don’t have the exact same number of songs as before, but the difference is less than 5 songs, so I think it might be some weird technicality about whether voice memos count as songs or something.
My library is much smaller than it was before 78 GB -> 60 GB. I think the previous number included podcasts and movies which haven’t been moved to the new library, but I’m not sure.
Speculations on the origin of the problem
This problem became acute when I upgraded to macOS Big Sur, but I think the origin of the problem is a bit older. I have done a couple Apple Music (subscription service) trials over the years, and I think the last time I did use the “iCloud Music Library” service (or something like that). I think turning that off might have caused some weird problems in my music library database that festered over the years. After I turned off the subsciptions, I remember having a very stubborn problem with syncing my iPhone. I kept getting duplicate playlists and other errors. It took multiple attempts to totally clear the music off my phone and sync it as a new phone.
The changeover from iTunes to “Music” on the mac might have introduced some weirdness as well, especially because my library was converted to the new format, but the media files themselves remained in the same place. I attempted to alleviate some of these problems over the summer by setting up my new computer as a new machine rather than restoring from a backup of my old computer.
I want to commend all the individual Apple tech support representatives I spoke with over text and over the phone. They were all patient and listened carefully to understand my problem. I am less pleased with the overall system they were working within. I ended up speaking to six different people before I was escalated to the senior advisor (Donald, who was great!). The problem is that when chatting, there is no way to reconnect to the same person when your session gets disconnected, even if it gets disconnected because you had to reboot your computer. That was compounded by the link to reconnect to the service connecting me to the wrong department.
Finally, I want to lodge a complaint about Apple’s naming scheme for their apps and other trademarks. Apple really likes to call their apps by common nouns, (Music, Pages, Numbers, Notes, Messages, etc). I understand the appeal of this scheme, but it has made it nearly impossible to find help for these products. iTunes was a great name, and it was even better when the Apple Music service was introduced, since it distinguished the app from the service. It was almost impossible to search for help specific to this app, because most of the results end up being about the service Apple Music. I had to search for iTunes to get useful results even though that is the wrong name. It’s even hard to distinguish them when you’re talking to someone “I am having a problem with Music on my mac, no I don’t have Apple Music on my mac.”
We study instantaneous quenches from infinite temperature to well below Tc in the two-dimensional (2D) square lattice Ising antiferromagnet in the presence of a longitudinal external magnetic field. Under single-spin-flip Metropolis algorithm Monte Carlo dynamics, this protocol produces a pair of metastable magnetization plateaus that prevent the system from reaching the equilibrium ground state except for some special values of the field. This occurs despite the absence of intrinsic disorder or frustration. We explain the plateaus in terms of local spin configurations that are stable under the dynamics. Although the details of the plateaus depend on the update scheme, the underlying principle governing the breakdown of ergodicity is quite general and provides a broader paradigm for understanding failures of ergodicity in Monte Carlo dynamics. See also: Iaizzi, Phys. Rev. E102 032112 (2020), doi:10.1103/PhysRevE.102.032112
*Note: The views expressed here are the speaker’s, and do not necessarily represent the positions or policies of the AAAS STPF Program, the US Dept. of Energy, or the US Government.
I just stumbled across these on the internet and they are both great. These are for Keynote (on macs) but there are probably equivalent settings on Powerpoint.
1. If you want to be able to switch apps while in presentation mode (e.g. to see the Zoom window). Look at this guide on the Zoom documentation. There is also a setting where you can make your cursor visible at all times so you can use it to point at things on your slides.
I am currently reading Beamtimes and Lifetimes, Sharon Traweek’s excellent anthropological study of the culture at particle physics laboratories in the 1970s when I stumbled upon a remarkable fact. The event rate of particle colliders has increased by a factor of 10 million between the 70s and 2016.
According to this 1976 SLAC report , the Large Aperture Solenoid Spectrometer (LASS) could record 100 events every second. That certainly sounds like a lot, but by contrast, by 2016 the LHC was producing 1 billion proton collisions per second . That is 10 million times the rate as ~40 years ago (and at much higher energy) . That is remarkable!
 P.F. Kunz, The LASS hardware processor, SLAC-PUB-1723 (March 1976)  S. Charley,LHC smashes old collision records, Symmetry Magazine (September 2016)  The caveat here is that these rates probably shouldn’t be compared apples-to-apples like this, since the LHC doesn’t record 1 billion events per second, and there are other complicated factors.
The APS virtual March meeting is just around the corner! Although we are not meeting in person, FECS will spare no effort on ensuring a meeting that is as successful as before. We are hosting the following three invited sessions to highlight the contributions from early career scientists in science, industry, and international collaboration:
Have you ever wanted to add a bunch of events to your calendar all at once? If you have a bunch of individual calendar invite files (.ics), there’s no way to select a bunch of them an import them in one go (at least not in the Apple or Google calendars). But by poking around in the terminal, I figured out a way to do it!
The APS Annual Leadership Meeting will be taking place this week on Thursday 2/4 and Saturday 2/6. This is usually an in-person meeting in DC, so registration is usually limited to the leadership of APS Units, but this year it’s virtual and they have extended registration to all APS members for free (it might be free to nonmembers, but I am not sure).
I attended last year and it was an extremely valuable look at the work that APS does to advance physics, from organizing conferences to interacting with the congress and federal agencies to advance policies to strengthen scientific research. That includes obvious things, like most science funding, and less obvious things, like ensuring an adequate supply of liquid helium.