MacOS finder is garbage

I’m looking at a Finder window for the folder /Applications/League of Legends.app/Contents/LOL/Logs/Network Logs. It looks like this

Screen Shot 2014-05-18 at 8.18.07 PM

Then I open a shell in that folder and run ls -l. It looks like this

Screen Shot 2014-05-18 at 8.18.16 PM

Notice how there are files from May 18 that don’t show up in Finder? Yes, the fucking Mac interface can’t even list the files in a local folder correctly. I see this garbage all the time, the Finder window caches some sort of state and doesn’t resync correctly. There’s not even a Refresh option. Perhaps in this case it’s complicated by the fact that some game is writing new files to the directory, maybe it’s using some odd API? But then that’s what the Unix kernel is for; one single creat() system call. And Apple can’t get it right.

Forcing a Finder relaunch fixes it, of course.

Fundamental stuff in MacOS is broken. It’s really awful.