Migrate from Aperture to Photos: use Catalina or Mojave?

I would be sure you delay losing Aperture until you’re sure you have a good import. I haven’t needed to load Aperture myself, so it might be a moot point, but better safe than sorry would be my advice. Go to Mojave and get an excellent backup you know you could restore in bootable format if you have professional photos, pro level metadata and edits / albums or can’t reimport them later.
You surely can reimport the raw images, so if that’s an option, going straight to Catalina might be faster for you with not much extra risk.
When I moved all in on Photos, I purchased Power Photos to help split libraries since I knew all my photos were 250 GB and I didn't want to pay for more than 200 GB of iCloud storage and I'm all-in on cloud library with a local backup. I've got about three Photos libraries and one has my main personal work that's in iCloud.

https://home.camerabits.com
https://www.captureone.com
https://fatcatsoftware.com/powerphotos/

It has served me very well and I'm still barely making it in 200 GB. I'll probably splurge for Photo Mechanic when I next rework things. Capture One also gets super high marks. I use both of these professionally but for personal use Apple and Fat Cat Software have served me well enough.


Can I change the color of my Mac OS X Terminal window depending on which server I am ssh-ed to?

you can use a script to connect to your servers, which also changes the bg color of your terminal before it connects.

http://www.macosxhints.ch/index.php?page=2&hintid=1001


How can I make my iPhone 5S go back to charging from my Dell Windows laptop USB port?

I solved this problem by disabling the non-USB 3.0 device in the Windows device manager. For some reason, iPhone is not happy when a non-USB 3.0 device is active. I'll leave it to someone else to explain exactly why.

Anyhow, the fix is:
1) Open Device Manager
2) Find the "Universal Serial Bus controllers" section
3) Find the USB device that does NOT seems like it's a 3.0 device (in my case it was called "USB Composite Device")
4) Right click on that device, and click "disable".

Voila, my iPhone charges and connects again.

See below what my Device Manager window looked like after I disabled the non-USB 3.0 device.

Hope this helps someone.


The nmap installer from https://nmap.org/download.html installs

the application /Applications/Zenmap.app
some binaries in /usr/local/bin
support files in other directories within /usr/local

To remove, run

sudo rm -r /Applications/Zenmap.app
sudo rm /usr/local/bin/{ncat,ndiff,nmap,nmap-update,nping}
sudo rm /usr/local/share/man/*/man1/nmap.1
sudo rm /usr/local/share/man/man1/{ncat,ndiff,nping,nmap-update}.1
sudo rm -r /usr/local/share/{nmap,ncat}


Has anybody had problems with Application Loader 2.5.1 update?

Did you check the Console.app for any logs? Any logs related to this error?

The newest version of Application Loader is 2.5.2 (if I'm correct), I installed it with the newest Xcode via the Mac App Store. Didn't had any problems when updating Xcode or Application Loader.


Disable "Tags" prompt in OS 10.9 Save dialog

When parsing all .plist files in ~/Library/preferences. I don't find any options that would match your request.

If you want to try it yourself, here are the commands I used :

Convert all plist to xml text files (because some of them (are|can be) binary files)  :
find . -name "*.plist" -exec plutil -convert xml1 "{}" \;

search the files for tag:
grep -rie "<key>.*tag.*</key>" .


brew installed software (keg-only) which includes /usr/local/Cellar/*/share/man/ - No manual entry for readline

The -M option for man allows you to specify a path. The exact command you're looking for is:

man -M 3 /usr/local/Cellar/readline/7.0.1/share/man/man3/readline.3

Note that the number after the -M specifies the "man page section", which is the last character in the file path. For example, I have two versions of sshd installed and I read can both their man pages with the following commands:

man -M 8 /usr/share/man/man8/sshd.8
man -M 8 /usr/local/Cellar/openssh/7.3p1/share/man/man8/sshd.8

I'm curious why brew didn't symlink readline, since brew's readline is the only one installed - presumably past versions (I'm on Sierra) of macOS did have readline? I'd tend to be conservative here, and honour brew's decision as far as possible - just in case Apple decide to install readline again with a future OS upgrade. That being said, you could manually symlink readline:

ln -s /usr/local/Cellar/readline/7.0.1/share/man/man3/readline.3 /usr/local/share/man/man3/readline.3

The risk with this is that - if Apple do install readline in the future - you'll end up with Apple's readline in your $PATH (and not brew's, since it's keg-only and hasn't been linked), but brew's readline will occur first in your $MANPATH, before the man page for Apple's readline.


Print wirelessly from USB printer connected through router

Printer Pro

You can use Printer Pro. This app will scan your network for all printers using the same services as OS X, to find all printers available rather than just AirPrint printers.

  Compatible with any Printer (Wi-Fi and USB)
  Printer Pro automatically finds a printer in your wi-fi network.

You can download Printer Pro Lite for free to test if your printer is found by the app before purchase.


MacBook won't reconnect to stronger WiFi hotspot

There's a bit of latency involved in establishing a connection to a network. If I had to hazard a guess, what's happening is something like this:

The MacBook sends out several requests for network connections simultaneously.
Some of them come back right away. Some take longer to process, depending on bandwidth, network latency, packet loss, whether or not the network is using encryption, mac address filtering, and whatnot.
It's quite possible that the server with the stronger signal is SLOWER, and takes longer to respond. But, because of some caching system (either at the server or in the MacBook, or both), when you turn your WiFi off and back on, you get that stronger connection.

This is, of course, all an educated guess.


Disadvantages of using sim card from old iPhone?

In terms of using the phone day to day, there's no disadvantages with re-using the SIM card from the old phone.

The disadvantage lies primarily with the fact that if you had requested a new SIM card from your provider, you would have received one that could be running newer software (inside the SIM card). This could be relevant if you were the target of a specific hacking attempt, as the SIM card software is rarely, if at all, updated by providers after it is sent out.


If a folder contains sub-folders and files, is there a Terminal command to remove some sub-folders while not removing any files?

Rule-based deletions tend to be tricky and can easily go wrong. In your case the following might work
find "parentFolder" -depth 1 -type d ! -name subFolder1 -ok rm -r -- '{}' \;

This

only looks one level beneath parentFolder (-depth 1)
only looks at directories (-type d)
skips subFolder1 (! -name subFolder1)
prompts for the deletion of any non-skipped directories (-ok rm -r -- '{}' \;)

PS: To skip several directories use ! \( -name subFolder1 -o -name subFolder2 \), to delete without prompting use -exec rm -r -- '{}' +.


How can I transfer songs etc to iPod without access to iTunes account?

You have to manually manage the music and videos in order to do this.

You can manually manage music by:

Plug the iPod into your computer and open iTunes.
Under the Summary Tab, Select the "Manually Manage Music and Videos" checkbox.
You should now be able to drag songs and videos onto the iPod as you expected.
One other note: if you are on iTunes 11, after performing the actions above, go to the "On This iPhone" tab (the last tab), and use that to manually manage music and videos.


How to automatically refresh external data in Excel 2011 on OS X?

Refreshing a data table in your Excel workbook

If your query table is linked to a data source, you can update the data in your workbook on demand so that it reflects the current state of the data source. On the Ribbon’s Data tab, go to the External Data Sources group and click Refresh button’s triangle to display a pop-up menu, where you can choose from the options.


Use an old iPhone 6 just for audiobooks - Cannot transfer file from iTunes to iPhone

Audiobooks doesn't automatically sync to iPhone upon connecting to iTunes. Neither can they be added to iPhone by simple drag and drop. Follow the steps mentioned below to get your audiobook on your iPhone. The key here is getting your audiobooks playing in iTunes before you attempt to sync them. If they don’t play in iTunes, this won’t work well.

The steps demonstrate the procedure using iTunes for macOS and should be similar when using iTunes running on Windows. If someone can upload windows screen shots, that might make a nice addition to the end of this procedure.

Make sure you have added the audiobooks into iTunes library or have downloaded the purchased audiobooks from the iTunes Store. You can check the same by selecting the Audiobooks dropdown in iTunes window. Play the tracks to be sure they work on the computer.

Connect your iPhone to your Mac/PC via USB or WiFi. Once connected, iPhone button shows itself alongside the Audiobooks dropdown. Your iPhone is also shown in the sidebar. If not, Apple support has articles on how to diagnose and fix when an iPhone won’t show up in iTunes.

Click on the iPhone button besides Audiobooks dropdown, select Audiobooks under Settings in sidebar.

In the main area, check Sync Audiobooks, select Selected audiobooks radio button and select the desired audiobook(s) and parts to sync.
Once the desired selection is made, click on Apply button shown towards bottom right. The sync progress will then begin - based on the size, it can take minutes or an hour or more. You can interrupt the sync - when iTunes is running and the phone connected, the sync will resume until it’s done.

Voila! Your audiobooks are now synced to your iPhone. Don't forget to eject your iPhone by pressing the eject button shown besides your phone's icon in the sidebar towards the top.
You'll need to make sure sufficient space in available in your iPhone. Settings on the phone and iTunes will warn about space running out should that happen.

Answer to your queries:

  The iTunes version is current (12.8).

Looks fine.

  iTunes is set for manual synching.

Looks fine.

  The iPhone has enough space for an audiobook or books.

Looks fine.

  The iPhone does not have a SIM card.

This shouldn't affect your ability to add audiobooks.


Is there a way to access/see all files stored in iCloud to one account?

All of your iCloud Drive content will be shown here: https://www.icloud.com/#iclouddrive.

However, 1Password does not store data in iCloud Drive: it stores your passwords (encrypted) in iCloud Documents and Data, which is a separate part of iCloud.

To access your Documents and Data, on an iOS device: open the Settings app, go to iCloud, tap Storage, and tap Manage Storage.

You'll see a section called Documents and Data under the Backups section if you do indeed have documents and data stored in iCloud. You can edit/delete the data of each app here.


There are three ways a name shows up on iOS.

Apple ID - if the sending phone is signed in with an AppleID that has your name - you will see that name and can’t change it on the receiving end. Sign out of iMessage and FaceTime on the sending device. Then sign in again with an account that isn’t in your name.
Your address book matches the email or phone number with iMessage (if blue) or sms (if green). You can clean your address book and fix the name.
All the other content. This one is harder to fix.

The last bucket uses spotlight index to search content on your phone and try to match that an email or message naming “Joe” also has joes email or phone number. Enough hits between the same name and number and iOS “suggests” who the message is from.

If you can upload a screen image of your device we might be able to help narrow down or show you how to tap on the name and get to the matching contact and clean this up.


How to make iOS stop asking about the same wifi

Short answer is no.

You can have Ask to join networks turned on to be notified (as you've already noticed) or off to not be notified at all. There's no intermediary position on a stock, non-jailbroken device.


I have a partial answer to my own question: while I don’t know whether Time Machine ever automatically verifies the checksums, a post on ycombinator.com provided me with an answer to my other two questions. The checksumming algorithm is the same one as the default one used by the Terminal utility cksum. The checksum values are stored in the Time Machine backup as an extended attribute of each file (com.apple.finder.copy.source.checksum#N). So to list the files for which no checksum is available, you would search for all files in the latest backup without the attribute, using a Terminal command like this one:

find '/Volumes/Time Machine HD/Backups.backupdb/Mac/Latest' -type f -not -exec xattr -x -p 'com.apple.finder.copy.source.checksum#N' '{}' ';' -print 2>/dev/null | grep /

I’ll quote the original post for details on checking the stored checksum against the output of cksum:

  RJIb8RBYxzAMX9u on Apr 18, 2017
  [...] In any case, the "hash" appears to be CRC32, stored in extended attributes:

$ xattr .inputrc
com.apple.finder.copy.source.checksum#N
com.apple.metadata:_kTimeMachineNewestSnapshot
com.apple.metadata:_kTimeMachineOldestSnapshot
$ xattr -px 'com.apple.finder.copy.source.checksum#N' .inputrc
26 E5 4A AB
$ cksum .inputrc
2873812262 65 .inputrc
$ printf '%x\n' "$(cksum .inputrc | cut -d ' ' -f 1)"
ab4ae526


If I jailbreak my iPad, will I be able to test apps I develop as well as use the App Store?

As @Timothy pointed out in the comments, the App Store will work normally on a jailbroken device. As for your own apps, you can run them, but if you don't have a paid developer account it is harder to get them on the device. If you have a paid account, you can use the normal methods to install and run them.

A device which is not jailbroken will refuse to run any app which is not signed with an Apple-approved certificate. When you jailbreak, the code which performs the checks is modified. It will still only run signed apps, but those apps can be signed by any certificate. Therefore, you can create your own certificate to sign your apps with. However, the normal methods of installing an app will perform the check and refuse to install it. This means you need to find an alternate method of installation, most likely using SSH or USB to copy a package over and modifying permissions.


This Apple support article has a link that explains what happens when the PMU is reset. Three things are reset:

Speaker volume
Screen resolution
Startup disk selection

After resetting NVRAM or PRAM you may need to reconfigure your settings for speaker volume, screen resolution, startup disk selection, time zone information.

and this list (may not apply to all Macs):

Status of AppleTalk
Serial Port Configuration and Port definition
Alarm clock setting
Application font
Serial printer location
Autokey rate
Autokey delay
Speaker volume
Attention (beep) sound
Double-click time
Caret blink time (insertion point rate)
Mouse scaling (mouse speed)
Startup disk
Menu blink count
Monitor depth
32-bit addressing
Virtual memory
RAM disk
Disk cache

Another support article provides additional information:

Some information stored in PRAM includes:

Display and video settings such as refresh rate, screen resolution, number of colors

Startup volume choice

Speaker volume

Recent kernel panic information, if any

DVD region setting
Note: Mac OS X stores your preselected DVD region choice in PRAM for easy access. Resetting PRAM does not allow you to change the DVD
region.


Here is how to use Safari to print an image to span multiple pages:

1) Open the image to be printed in Safari.  If it is a local file, then choose File -> Open File....  Or if you already have the file open in Preview, you can drag the icon of the file from the title bar of the Preview window onto the Safari window or Safari icon in the dock.  Otherwise, load the image from the Internet however you usually would.

2) Go to File -> Print... and then change the Scale (%) so that the image is the desired size. If you do not see the place to change the Scale, you may need to press the Show Details button. Safari will show you a preview of how the image will appear on each page, so you can see how big the resulting image will be.  For the example, you can get the entire width on a single page, but the image will span 2 pages in length.

You may want to choose borderless printing if your printer supports it.  For instance, for my Canon inkjet, I set the paper size to US Letter (borderless).  However, I was not successful in achieving borderless printing in my one trial; Safari still left white borders around the image that I later had to trim.

3) Click print. Collect your prize from the printer.  Trim away white space and then combine the different pages using tape, etc.


Is it safe to delete python and pip versions 2 and 3

Probably, yes, since it's in /usr/local/bin (and so aren't the macOS system versions of python). However, you probably shouldn't just delete the executables from that directory, but the whole installation. The details of this will depend on how you did the installation, for example from Python.org, or homebrew, or anaconda.


Is there any software like 'Primo Cache'?

Apple's Fusion Drive technology encompasses some of what PrimoCache does, in addition to the design of the filesystem itself. Tetsujin's comment is right on. Apple's disk interface is well thought out, robustly designed, and doesn't need any external 'aids' to caching disks for performance sake.


I turned iCPL, Photo Stream and iCloud Photo Sharing off in Settings/General/Photos & Camera, rebooted her phone and then turned on all that I had turned off. The phone then showed a spinning gear for about 5 minutes saying "Turning On" and after that I went to Settings/General/Usage/Manage Storage, and saw that her phone regained 2Gb of storage back from only having 388Mb available. I did not have to delete all of her photos after I turned iCPL off.


I can't comment so I'll post in question format.

What version of mac osx do you have installed currently? How to find out in case you do not know:
Top left corner of screen with apple icon > about this mac You should see the name of your OS and version number in there.
What version of mac osx did you just upgrade from. Is this the same machine or a different one? What backup software or method did you use if any.

Realistically you should probably be talking to whoever bought the application and Apple if you want to transfer ownership.

Worst case scenario, iMovie is $15… also, there are other options out there that are pretty good and cheap, some even free. A post on slant.co suggested Lightworks a hollywood approved film editor, Hitfilm 3 Express a video editor + compositor in one package, Kdenlive a GNU Linux initiative which could potentially be built using macports. I found a recommendation for Davinci Resolve on lifehacker on a random article about Superior Alternatives to Boring Stock Mac Apps. Their other pick as a replacement for imovie Screenflow 5 got terrible reviews (screencaster software, not dedicated video editor)


Switch wireless keyboard/trackpad while using iMac as external monitor

Check out Synergy.  It's a virtual keyboard/mouse switcher between multiple OS types.  You install the same client on each machine you want to use, and on the "master" machine (server), you configure the virtual arrangement of all the screens.

Very easy to use and set up.  I use it between multiple Macs while they're each booted into their own OS's.  The keyboard/mouse stays "connected" to the "server," so here's how you might use it for your problem:

Download and install Synergy on both machines.
Setup the iMac as the "client."
Setup the MacBook Pro as the "server."
Drag the mouse cursor to the iMac and press Command+F2.

I haven't tested this exact setup myself, but I think it might be a feasable solution.  Best of luck!


You could try MacGhostView:

http://www.kiffe.com/macghostview.html

If you have Mountain Lion, you will also have to install XQuartz:

http://xquartz.macosforge.org/landing/


Keyboard shortcut to kill an unresponsive App on Mac OS X

There is a way to access your computer, but only using another computer or device on the same network. That device has to support ssh. OSX has it preinstalled, but if you have an iPhone or iPad you will need to install an app such as Prompt.

You need to allow Remote Login on your mac, from System Preferences. Click the Sharing icon, then check the tickbox for Remote Login.

On the right, there is a list called "Allow Access for". Choose "Only These Users". Then click the + icon and add your user in the list.

(As there was a comment that this is a security risk, you may want to prevent external ssh access in your router, this is beyond the scope of this answer.)

Then if your mac freezes you can remotely connect to it via ssh from the other devices.

From there you could run top to see a list of the processes. You can use the killall command to stop the frozen process by name.

For example

killall Skype

This attempts to Quit Skype.

If that doesn't work, you may have to be less “polite” and add a -9 signal:

killall -9 Skype

If it is severely frozen, the computer may not even respond to the ssh request. In that case I would look at reinstalling your OS or have the hardware checked, which is beyond the scope of this answer.


Can I stop mobile Safari from opening my bookmarks whenever I start the app?

As of iOS 5.1 Mobile Safari no longer opens your bookmarks folder when you start it on your iPhone. It shows you the empty browser screen and you have to click on the bookmarks icon to bring up the bookmarks list.


iPhone 4s Can't turn on WiFi button because no response

Simply don't use wi-fi to backup. Use a USB cable. Even if wi-fi backup is enabled, you can always plug your iPhone into your computer and initiate a backup via USB. Plus, it is much faster.


How can I see the year in the entries in install.log in Macs (/private/var/log install.log)?

You can't. That information doesn't exist.

/var/log/install.log is a plain text file. What you see in Console is the entirety of what's present in the file -- if the year isn't there, it isn't there.


There's only one reliable way to get all members of a group in OS X and the reply from 2DD8847 covers that. As for "why" I can't offer a logical explanation. All I can tell you is what differentiates the results.

These approaches fail to include users that are only members of the group via PrimaryGroupID. One way to think of it is that these users not listed weren't officially added to the staff group. They were just given a PrimaryGroupID that matches the staff gid. Therefore they're not officially listed with some commands. I know, it's absurd.

INCOMPLETE RESULTS:

dscl . -read /Groups/[groupname]
dscl . -read /Groups/[groupname] GroupMembership
dscacheutil -q group -a name [groupname]

COMPLETE RESULTS:

dscl . -list /Users PrimaryGroupID | grep [gid]

All I can really tell you is that without looking up group members by their PrimaryGroupID (instead of listing members of a group) it won't give you complete results. Chalk it up to the oddities of Unix. There are many.

Hope that helps!

Source


How do I change the owner name on my MacBook Pro?

In System Preferences, go to Sharing and change the name at the top of the window.


How do I prevent my iPhone from getting alerts when using Messages on my Mac?

Short of enabling Do Not Disturb on iPhone, or disabling notifications for the Messages app on iPhone (even more tedious than remembering to turn Do Not Disturb off), there is no direct way to prevent both iPhone and Mac from alerting you to the same message.

That said, I have noticed that if I am actively using Messages on Mac, after a few minutes I will start getting the messages on Mac first, and if I go to the Messages window quickly enough I will not get the alert on iPhone. Once I stop actively using Messages on Mac, the alerts on iPhone start appearing in a timely manner again. It seems to recognize which system or device you are actively using and delays notifications to the other systems/devices by a bit. The same occurs when I am using iPad - notifications on Mac and iPhone are delayed enough that if I read the message on iPad quickly enough, I will not get the notifications on the other devices.

I am not sure if the above is actually an unadvertised feature or just network delay, but it occurs consistently enough that I am quite sure there is some Apple intervention going on there.


Well, I found the answer.

Open ~/.zshrc file and add this option below at the end of file:

setopt COMBINING_CHARS

Then restart Terminal.


This Device isn't Eligible for Requested Build restore error in iTunes

I would take your phone to another computer that works well to restore devices (hopefully that exact device if possible). With so many variables in the restore process, it's nice to be sure it's not a malfunctioning iOS device before reinstalling Mac OS / iTunes.

Once you rule out the device having issues - do run through these two articles (and yes, you may have done most or all the steps). You might want to try forcing your phone into recovery mode. Power it off, plug in USB to power or a computer and hold the home button until it goes into recovery mode. This will erase everything if you restore from recovery mode.

iTunes: Advanced iTunes Store troubleshooting - covers time, firewall, hosts, etc...
iTunes: Specific update-and-restore error messages and advanced troubleshooting - covers restore mode, and other potential issues.


Multiple copies of files in need of deletion

Firstly, a better way to make backups would be to use Time Machine. This will maintain a backup that can be restored, as it was backed up.

Simply copying files to another disk is a fine backup method, but copying files from All My Files will copy them "out of context". All My Files is a sort of "smart folder" that dynamically displays documents from your Mac or iCloud Drive. This view can be useful for your viewing & access. But this view of those files does not show any folder hierarchy for where those files are actually stored.

I notice that one such file that you've copied is __init__.py, which is a special file for the Python language. I'm guessing it originally was located in a folder for, perhaps, a cloned GitHub repository? Copying this file to a "backup" is fine, but for it to be useful, it needs to be kept with the other files/folders it was with.

One of the most important elements of making backups is that the backed up data can later be restored in a usable state, as it was originally arranged. This is why I'm recommending making backups with a tool, such as Time Machine. Or, if you'd rather backing up a smaller set of things from your computer, for limited space available on your backup media, you should not make those backups from a dynamic view such as All My Files. But instead, make backups of the literal folders of things you'd like not to loose.

Now, as far as all those duplicates, in certain situations of copying files, Mac OS will increment a number "at the end of the filename". So, for the example of __init__.py, the duplicates all are named __init__NN.py. (The files with additional/incremented numbers at the end, before any last .name are extra copies.)


How To Change the name of different install partitions on USB drive

sudo bless --folder /Volumes/yourdisk -label "Title here"

bless is the command to set startup disk options.
--folder specifies the disk and -label assigns it a label.


Can I shuffle a set of songs when I add them to Up Next?

You can option-click the shuffle button at the top of an album to queue it in a random order. Oddly, if I do that for the artist it only adds the first song in the list. Weird. And you can't intermingle different albums like this, you have to do that manually in the Up Next panel.

Correction: if you go to Artists view, select All Artists and then option-click the shuffle button next to one of the artist names, it will queue all the songs by that artist in a random order. If you select an individual artist and do it, it will only queue the first song.


Setup up Kaleidoscope as external diff tool in IntelliJ?

Let Kaleidoscope install it's command-line tool ksdiff (Menu - Kaleidoscope - Integration). Then use /usr/local/bin/ksdiff as "Path to executable" in the Jetbrains IDE. This works for me with PyCharm.


Display Distortion on Retina Macbook Pro 2014: Is it always the LCD?

Combined with the lack of a serial number I'm thinking hardware damage. Possibly liquid spill or drop damage. Any pictures of the logic board?


To my (limited) knowledge, OS X no longer receives 32-bit only versions of Java from Oracle, as the last version of OS X to support 32 bit machines was 10.6. With that said, the last Apple distribution of Java appears to support 32-bit mode–if you enable it. With that said, apparently it's still not always so happy about running. However, according to this post, by editing some binaries, you can force it to.

The key is to replace /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java with a 32-bit mode only binary.

Use "xxd -g1 java | grep -E 'c. fa'" to find out the binary header.

xxd -g1 java | grep -E 'c. fa'
0001000: ce fa ed fe 07 00 00 00 03 00 00 00 02 00 00 00
000c4b0: 01 28 6f d8 ce 3b 3a b0 c9 cd fa 87 b1 35 df 08
000d000: cf fa ed fe 07 00 00 01 03 00 00 80 02 00 00 00
000f060: 00 0f 84 c7 fa ff ff 48 8d 3d 96 39 00 00 be 01

07 00 00 00 is the 32-bit one. 1

So the 32-bit binary starts from 0x1000 and ends at 0xd000 with a length of 0xc000.

Extract the 32-bit mode binary using your favorite tools....(eg. dd) for me I like xxd as its syntax is easier to remember. Verify it by using "file java".
Backup the original java binary.
Replace the "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java" binary with the extracted 32-bit mode only binary in step 2.
Test! If Java console is not shown, and there is no Java preference to turn it on, you can use the deployment.properties file at ~/Library/Caches/Java and add "deployment.console.startup.mode=SHOW".

With that said, I don't the internals of Java well, and it's entirely possible that this changes based on which JVM you're using.


If csrutil disable doesn't work, you can try to disable it via boot args, e.g.

sudo nvram boot-args="rootless=0"

then reboot


What is your preferred way to start a (shell) script from the GUI?

You can use an app like Platypus.

  Platypus is a developer tool for creating application wrappers around scripts. In other words, it creates Mac OS X applications that execute a script which is bundled within the application. Command line scripts can thus be run transparently from the graphical window environment, integrating seamlessly with the user interface.


How to connect my external hard drive to windows working on parallels desktop?

The issue you're having is that you're in the wrong settings. Instead of the USB preferences, you need to enable the SmartMount option.

You don't actually specify which version of Parallels Desktop you're running, but the following steps should work:

Start Windows.
Click the Parallels icon in the macOS menu bar and choose Configure. (Alternatively, you can go to the Parallels Desktop menu bar and choose Actions > Configure)
Click the Options icon in the toolbar at top
Select Sharing
Tick the Map Mac volumes to Windows checkbox (see screenshot below)

Also, below is some additional info from Parallel's help pages that may be useful:

  Share External Storage Devices and Volumes

  When you connect an external storage device, such as a USB drive, to
  your Mac, you can access the contents from Mac OS X applications.

  Using SmartMount, you can set Parallels Desktop to automatically mount
  storage devices and volumes to Windows. That way, you can access the
  contents from both Mac OS X and Windows.

  With SmartMount enabled, these items are automatically mounted to
  Windows:

  Removable drives: External storage devices, such as USB hard disks and
  USB flash drives.
  CD/DVD drives: CD and DVD drives or CD/DVD images (files most commonly ending in .dmg, .iso, and .img.).
  Network folders: Folders shared over the network.

  When you connect a storage device or volume, it is mounted as a
  network drive. For example, a USB flash drive plugged in to your Mac
  will be accessible from both the /Volumes folder in Mac OS X and My
  Computer in Windows.

Source: Parallels Desktop Help

Note 1: Permissions for accessing mounted devices are shared between macOS and Windows. That is, if you can read from and write to a USB hard drive in macOS, you can also read from and write to the same USB hard drive in Windows.

Note 2: One exception to Note 1 above is that macOS can't write to NTFS volumes without the installation of 3rd party software.


Can I move the com.apple.bird directory to an external drive?

This process contains cache for Apps using iCloud-Backup. Might check to see which applications are using the most space in your Library/Caches/com.apple.bird folder.

There is a script available here https://github.com/bwesterb/blame-bird to help with that.


Does performance degrade between iOS 3.1 and 4.1 for the iPod Touch 2nd gen?

I've made the updates, and I didn't notice anything about a performance degradation.


Logging out and back in seems to fix the issue.


For Mac OS X, /Library/WebServer/CGI-Executables has already setup, so there should be no configuration. So, just copying echo.pl in the directory, and use the perl script with localhost/cgi-bin/echo.pl.

To make it work anyway

We need a ModPerl::PerlRun to install the CPAN module before the compilation.

sudo cpan ModPerl::PerlRun

This also creates and installs the perl_mod.so, but this breaks the apache, so we need to rebuild the module. This is the working configuration.

LoadModule perl_module libexec/apache2/mod_perl.so

<Location "/Library/WebServer/Documents/cgi/">
    Options ExecCGI
    Order allow,deny
    Allow from all
</Location>

<Files ~ "\.(pl|cgi)$">
    SetHandler perl-script
    PerlResponseHandler ModPerl::PerlRun
    Options +ExecCGI
    PerlSendHeader On
</Files>

Now localhost/cgi/echo.pl is the address to access.


Split a single page PDF into multiple pages

Adobe Reader can do this, too: It includes a Poster Print option in its custom print dialog.

It’s the first time I missed a feature from Preview (or the native OS X print dialog) that Adobe Reader has.

Adobe Reader is free (as in beer) software, it used to be called Acrobat Reader. (Do not confuse it with full-blown Acrobat or any other expensive Adobe product, which can probably do that, too.)


Just installed Maverick and my Canon MP780 will print but no longer scan, would a new driver help?

There are four options at present and being told you can't have the new thing without paying for an old thing to work means many people will resent the $40 option and be angry:

Pay the money and keep running Mavericks with VueScan to scan.
Don't pay the money and revert to Mountain Lion (or whatever previous OS works with your peripherals).
Get a new scanner.
Wait for someone else to provide a driver that either does more than VueScan or costs less than VueScan.


Can I use Dictation in OS X Mountain Lion offline?

No, your speech is still sent to the Siri/Nuance servers for processing, so you can't use dictation without an Internet connection.

An alternative would be to use a third-party dictation app like Dragon Dictate.

While your machine is probably powerful enough to handle conversion (although maybe not as quickly as Apple's servers), it makes a lot of sense for Apple to keep things on their end. The software used for conversion is doubtlessly quite complex and would be a huge download. Living on their servers also means that they can push updates as frequently and quickly as they like.


Is it documented exactly which i7 is in the mac mini late 2012?

There's no public Apple document that has this info. But, with a little bit of info from Intels' CPU specs site, you can assume that's the one.

There are sites which show you that info also (to see if your assumption was good):

http://en.wikipedia.org/wiki/Mac_Mini#Specifications_3

http://www.everymac.com/systems/apple/mac_mini/index-macmini.html

According to the EveryMac site, the 2012 Mac Mini use the following chips:

2.5 GHz Core i5 (I5-3210M)
2.3 GHz Core i7 (I7-3615QM)
2.6 GHz Core i7 (I7-3720QM)


Mount

SSH lets you create a ~/.ssh/rc that will be executed right after the environment has been set up, but before any shell will be active (so beware of that; search for "sshrc" in man ssh(8) for more informations).

So, to mount your FileVault partition you can add  this line to your ~/.ssh/rc file:

hdiutil attach /Users/$USER/$USER.sparsebundle -mountpoint /Users/$USER

Don't worry, your ~/.ssh/rc will be available to the system even before mounting the FileVault partition.

Unmount

Now you have to ensure the unmount at logout, and only if you are connected via ssh. To do that you can use your shell's logout script. These are the logout script paths for the 3 most used shells on Macs (feel free to add more in the comments):

bash: ~/.bash_logout
zsh: ~/.zlogout
(t)csh: ~/.logout

Open (or create) the appropriate file and add:

if [[ -n $SSH_CONNECTION ]]
    then hdiutil detach /Users/$USER/$USER.sparsebundle
fi


Location icon randomly appearing in status bar every hour

Setting Time Zone is a System Service. Press the Details button in your screenshot, then disable it.

As for why this is occurring now: 10.12.4 introduces Night Shift, which adjusts the display colours for night use. If you have the Sunset to Sunrise option selected, your location is used to determine when to adjust the display.


Iterate over an array of image sizes, and move them to a new folder

#!/bin/bash
targetDir="$HOME/Pictures/iPhoto-bibliotek.photolibrary"

echo -e "Scanning \033[0;32m$targetDir\033[0m"
find $targetDir -type f \( -iname \*.jpg -o -iname \*.png -iname \*.bmp -iname \*.jpeg \) 2>/dev/null | \
    while read -r filename; do
        hw="$(sips -g pixelHeight -g pixelWidth "$filename" 2>/dev/null)"
        h="$(awk '/pixelHeight/{print $2}'<<<"$hw")"
        w="$(awk '/pixelWidth/{print $2}'<<<"$hw")"

        case ${h}x${w} in
            450x600) echo mv "$filename" $(pwd)/120x120images
                     ;;
            120x120) echo mv "$filename" $(pwd)/120x120images
                     ;;
            269x360) echo mv "$filename" $(pwd)/120x120images
                     ;;
            *)       echo "$filename ignored"
                     ;;
        esac
done

You can add additional dimensions in the same way, or change the target directory if required. Also, remove the echo once it works.


Putting an individual contact's calls on do not disturb

There is a 3rd party app called YouMail. The free versiin of it will allow you to set different conditions for different contacts. You can change which voicemail message someone gets. You can send a certain contact directly to voicemail. And you can also prevent callers from being able to leave a voicemessage. I had someone who would also call me 4-8 times in a row and no matter how many times I asked him to stop and explained why, he just kept doing it. With him, I would vary between the silent ringtone strategy mentioned by Tyson and YouMail’s ditch call.


Recording a maths tutorial video with iPhone

Use the AE/AF Lock. Tap and hold on the place you wish to focus on. That should stop the camera from refocusing when your hand moves.


Is this prompt for iCloud credentials legit?

Apparently, starting and logging into iTunes and going to the Account -> View my account -> All purchases , as ankii mentioned:

If you don't see your in-app purchases
See your purchase history on your computer

When you go back to Ethernet Status and then click "Restore Purchase" you're already logged in to iTunes and it doesn't prompt for credentials. Problem solved!

Also: Enable 2FA. That's not only a good idea for Apple/iCloud but it always is, everywhere. Whenever 2FA is supported, enable it!. It may be a pain in the behind at times, but the alternative, a hacked account, will be much, much worse.


What are the different columns in this Terminal display?

From left to right, the columns are: permissions (e.g., read, write, execute), then the number of links, the owning user of the file, the owning group of the file, the file size (bytes for files, 512 byte blocks for directories), and the last time the file was accessed. The column you didn't show on the far right is the name of the file in question.
For future reference, you can always run man <command> to find information about a command. So in this case, man ls will provide the information you're looking for.


I have a recovery partition but OS X doesn't use it for recovery

If can not boot to your recovery partition, there are two alternate ways to enable/disable SIP.

Create a USB flash drive installer. You can plug the flash drive
into the USB port and restart with the alt/option key held down. To
create the flash drive, you will need to download El Capitan from
the App Store. You do not reinstall El Capitan. Instead you use
the instruction given here to create the flash drive.
The other alternative would be to install rEFInd. During
booting you can select to enable/disable SIP. You would not have to
actually install rEFInd to your internal disk. You can install rEFInd
to a flash drive as well. See here for more information.

The advantage to the first method is the flash drive completely replaces your Recovery Partition. In other words, everything you can do once booted from the internal recovery partition will be available when booted from the flash drive. Of course, this requires downloading all of El Capitan which is several Gigabytes in size. If you have a slow internet connection speed, then the second method, involving installing rEFInd to a flash drive, would be a more favorable option.


sudo pmset -a hibernatemode 0

fixed the problem in my case.


What change does the OS need to make, given this message? "iCloud Preferences wants to make changes to your account"

It's trying to set up the iCloud account as a trusted authentication platform for your local user account. This is usually for a feature such as the Apple Watch unlock, whereby the Apple Watch can unlock your local account through iCloud.


Why is Photo Stream not visible in iOS 12?

After speaking with Apple, I learned they are phasing out Photo Stream.  Any new Apple IDs created since approximately 2018 don't have access to this feature.  Looks like I will have to start using iCloud Photos or some other sync utility.
https://support.apple.com/en-us/HT201317


Is there an attribute that can show which process created a file?

Darwin is open source. I'm guessing you'll need to modify OS level things, a kernel extension, etc. and add this ability.

Or you could modify the dynamic-view tools you know (fs_usage and/or lsof), have them check if a file is being created, and append the process chain that created it into the Spotlight comment, etc.


Synchronize iBooks across multiple Macs running Mavericks

You might have the wrong idea (in Apple's eyes) about syncing through iBooks. You will not be able to have content magically appear on your second Mac, if the book is not purchased through the iBooks Store. Syncing does not work iTunes Match-like.

For non-iBookstore files, like MobileRead epubs, you will need to transfer the same epubs you imported onto iBooks on machine 1 to machine 2 and import them again. I hope you still have copies of these files -- because as far as I can tell, iBooks splits up epubs you import into it, and you cannot get them back out as an epub again. (I would love to be wrong about this.)

The good news is: Once you have imported these files, syncing between Macs works for notes, reading positions and highlights, as long as you have enabled "Sync bookmarks, highlights and notes across devices" in iBooks preferences. Again: iBooks will only sync said bookmarks, highlights and notes, NOT the books themselves. You will also need to have logged in with the same Apple ID on both devices.

Needless to say, you should also make sure to run the latest version of iBooks (currently 1.0.1).

This might be the only advantage of (and reason for) not being able to change metadata in iBooks -- at least the software knows which files are identical...


There are no other paid apps given away for free to members.

However, you should be aware that various services/features of the developer membership such as support requests and the ability to generate secure certificates, are things that would otherwise cost money.

https://developer.apple.com/programs/whats-included/

In terms of other perks: beta software releases (well, earlier than the public) and developer account tools. macOS Server would count as either/both of those depending on when you visit the member download page.


I would suggest that you change the domain names to simplify the problem,
say if they are in different room, use... R22shared and R23shared, or Serv1 shared / Serv2shared, this may get rid of you problem.


How to start automatically issue a command in one tab of terminal console

This may help you. Go to Preferences under the Terminal menu and a panel opens. Click on the Profiles icon on the top left of the panel. This opens a new panel as shown below.

Click on the shell tab at the top of the new panel. The first item, as shown in the image, is where you can define a command or commands to run when the tab is opened.


High-pitch sound coming from my macbook pro when I move a wired mouse

I'm experiencing the exact same thing with my Macbook Pro 15" Retina (Mid 2014) using both the Logitech G Pro and older G500.

However, I noticed that changing the polling rate for the mouse from 1000 to 250 makes the sound very hard to hear, though the higher polling rates of 500 and 1000 makes the sound more audible. Happens with either USB input and even if both mice are plugged in at the same time. Unplugging the power adapter does not make any real difference.


One possible solution is SwitchResX, however, it costs money, and personally I would prefer an AppleScript or shell command for that purpose.


MacBook Air: audio jack left channel failing

Some how my software had panned the audio to the right channel only.

God only knows why my machine decided to pan itself fully to the right!?

Anyway, if you think you need a repair, double check it's not software as I found on the Apple discussions.


Simply reinstall it and you can get rights to admin section.
it may be problem with config file.
If you have no error message from the installer, you should be set. You can call ejabberd start script to fictionalize
this helped me...


Mount network drive to Mac server on boot

Simply create a launch daemon with the purpose to mount a remote share:

Create a mountpoint:

sudo mkdir -p /Shares/mntpoint1

Add a launch daemon in /Library/LaunchDaemons:

sudo nano /Library/LaunchDaemons/local.mount.extvol.plist

with the content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>local.mount.extvol</string>
    <key>ProgramArguments</key>
    <array>
        <string>/sbin/mount_afp</string>
        <string>afp://user:password@remotehost/share/</string>
        <string>/Shares/mntpoint1</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

Load the daemon with

sudo launchctl load /Library/LaunchDaemons/local.mount.extvol.plist

The remotehost and share have to exist and the user has to have permissions to access the share with the password. The user doesn't have to be root!

The share will be loaded with root:wheel 700 permissions.


Script Editor crashing when running Applescript

Try:

tell application "Contacts"
    set inGroup to first group whose name = "Technology"
    set phoneProps to properties of phones of inGroup's people
end tell


How do I reference a cell from within a "...IF"-type function condition string?

When directly referencing a cell from within an IF type function, don't use a condition string. Also, no need to use a comparison operator.

Condition string usage, to compare against a literal value:

COUNTIF(A1:A20, "=Mr. Smith")
Direct cell reference, to compare against cell B1:

COUNTIF(A1:A20, B1)


What are TTComp archive data files and how can i decrypt them?

Take a look at OTATrustUtilities, which is Apple's implementation of extracting data from the system keychain. Specifically the InitializeAnchorTable function looks at extracting the data from those two files. The certsIndex.data file is a Database Index file that contains an array which can be read using NSData, this contains a list of sha1 hashes and offsets. These offsets correspond to the start of the certificate data found in the certsTable.data file, so you can start reading from the offset to the end of the certificate. It is worth noting that an application which accesses these private files will not be accepted onto the AppStore and this should only really be used for personal use or jailbreak development.


How to turn WiFi on\off based on location

There is no public API to control the Wifi on iOS. Therefore Apple won't allow it on the AppStore.

If such an app exists then maybe on Cydia.


Dimensions as criteria for iPhoto smart album?

Answering my own question. Here's how you do it:

You need to set it a condition for [size][space][unicode ×][space][size 2], for example: 320 × 480. Not straightforward, but it works. However, it doesn't actually care which order you put the width and height, so this one will find 320x480 images as well as 480x320 images.


You could use a tool like Keyboard Maestro but it might be a bit overkill.

If you just want to execute a command in Terminal and close the window again:

Put command in a shell script
Make it executable (chmod +x ...)
Move shell script to a convenient place (e.g. our Desktop)
run shell script/command by double click


How can I check my line-in does work (MBP late 2010)?

Launch System Preferences… from the Apple menu.
Click on Speech.
The left tab is marked Speech Recognition.
Set the Microphone from the default "Internal microphone" to "Line In".
Click on the Calibrate button. Then speak the phrases on the left e.g. "What Time Is It?"

If your Mac detects your line-in, you'll see the blue-green-red indicator respond to the volume of your voice from the line-in.

Have fun, and don't forget to mark the question as answered when you're done. Cheers.


Why are my Touch Bar volume controls grayed out (disabled)?

I experienced the same problem. The fix:

Open System Preferences > Sound
Select the Output tab
Select MacBook Pro Speakers (or another working output) under Select a device for sound output.

The cause: I connected my MBP to an external monitor, which, unbeknownst to me, had speakers of its own.


How to Command-Tab to a specific Safari window running in full screen

You opened a tutorial video on YouTube in Safari which is running in full-screen mode. Now in the main YouTube player window, you have clicked on the Full Screen control placed towards the bottom right (of the player). This takes the YouTube video full screen, and moves it to a separate Space of its own.

When you use Command + Tab to switch to Safari, you land on the Safari window running in full-screen mode. You are shown the current Safari tab, but its full-screen video display is on another Space (generally, the next Space towards right of Safari's Space). This is the default behaviour in the described scenario.

After switching to Safari's Space, you'll have to change to the adjacent Space using any one of the methods to change Space. Since you mentioned you don't want to use trackpad, the easiest way to do so, is to use the keyboard shortcut to switch Space. To view/configure keyboard shortcut to switch Spaces, go to System Preferences app → Keyboard → Shortcuts → Mission Control.

The default shortcut assigned by macOS to Move right a Space is Command + →. In my case, I have changed it to Option + Command + →. Command + → is commonly used to move to end of line while editing text, which is a more frequent activity than moving to right Space.


Did you check by doing PRAM and SMC Reset.It may be hardware issue.Please follow the below steps.
Reset the SMC on computers that have the T2 chip
If your Mac has the Apple T2 Security Chip, follow these steps. If you need help, contact Apple Support.
Notebook computers with the T2 chip
Before resetting the SMC, try these steps:
Shut down your Mac.
Press and hold the power button for 10 seconds, then release the button.
Wait a few seconds, then press the power button to turn on your Mac.
If the issue persists, follow these steps to reset the SMC:
Shut down your Mac.
On your built-in keyboard, press and hold all of the following keys. Your Mac might turn on.
Control  on the left side of your keyboard
Option (Alt)  on the left side of your keyboard
Shift  on the right side of your keyboard
Keep holding all three keys for 7 seconds, then press and hold the power button as well. If your Mac is on, it will turn off as you hold the keys.
do the following to reset PRAM on Mac:
1.Turn off your Mac.
2.Press the power button.
Immediately press the Command+Option+P+R keys.
Hold the keys until your Mac restarts and you hear the startup sound 3 times .
Release the keys.
Reference : https://support.apple.com/en-in/HT204063


Can iBooks be synced from an iPad to a new computer to save my documents?

I would evaluate a program like PhoneView to retrieve the contents you like before setting up an iTunes or iCloud backup solution so you don't end up in this spot going forward. There are probably a hundred apps to load files from iOS to a computer, so you can search for one that matches your needs pretty easily. DiskAid also seems to be mentioned regularly even though my favorite is PhoneView.

Here are some relevant details to flesh out how this will work:

Software (not app) To Read Underlying iPhone Data
How to transfer a file from iPhone to computer when there is no Internet?
How can I back up my app data?
On iPad's iBooks, is there a way to sync and download all ebooks purchased else where?

I have also heard many people express happiness at iExplorer for doing the same sort of recovery / transfer of files from an iOS device. Perhaps it will do a better job with your device since you remarked that several of the suggested apps didn't work for you in the comments.


I've been working on a way to Scrobble from the official Google Play Music app. It's still a work in progress and it requires a Jailbroken iPhone, but it works!

https://github.com/octalmage/LastGoogle


How to remove Local Disk entries in DCIM sub-folders in iPhone?

Settings > Safari > Advanced > Website Data > Remove All Website Data

Worked for me with iOS 8.  Disconnect then reconnect the phone to the PC and all the "Local Disk" rubbish is gone.


What's up with "paused" applications in Launchpad?

It seems as if the download was started from the App Store and it was paused for some reason. There are two ways that you can get it to not say that anymore.

Single Click on the icon to resume the download.
Click and hold, the press the "X" on the top left corner of the app to delete it. (Reinstall from the App Store is optional.)

Hope that helps!


Why can't I place desktop icons everywhere when snapped to grid?

The filename is probably too long on the folder next to where you're trying to place it.
Try moving those Untitled folders over one grid space & test using the short name folders at the top.


iPhone turning off with plenty of battery remaining

Might be a battery calibration aka battery hardware to software communication issue where the iPhone's thinks there is more power than the battery can provide. When was the last time (before the iPhone started to just shut down at 19% battery) that you did a battery calibration as recommended by Apple.

  Use iPhone Regularly

  For proper maintenance of a lithium-based battery, it’s important to keep the electrons in it moving occasionally. Be sure to go through at least one charge cycle per month (charging the battery to 100% and then completely running it down).

If you don't then what you are describing above may happen where the phone just shuts down with a random non 0% battery percentage left. If the problem still persists after doing a couple of battery calibrations then it may be that the battery or other hardware is failing, and that the iPhone should be taken to a Authorized Services provider / Apple for more attention.


How to install and use The open source Darwin OS

At one point, I was able to download and install Darwin OS from the Apple open-source website. I was able to download Darwin 8.0.1, which is the base for 10.4 (Mac OS X Tiger). If I remember correctly, it was around the time of Leopard (10.5). I cannot find the download link now, but it ran in single user mode, and I didn't continue on to installing an actual GUI.

Found the link from here:
Darwin 8.0.1 (direct download).
And the other (older) ISOs.

You can also take a look at the PureDarwin project:

  One current goal of this project is to provide a useful bootable ISO of Darwin 10.x and Darwin 9.x.

The "current" versions of Darwin are 12.4.0 (OS X Mountain Lion 10.8.4), 13.0.0 (iOS 6, and OS X Mavericks), and 14.0.0 (iOS 7), so these are definitely older versions. Darwin 10.0 is Mac OS X Snow Leopard/iOS 4, 9.0 is Mac OS X Leopard/iPhone OS 1, and 8.0 is Mac OS X Tiger/Mac OS X for Apple TV.

Source


Trying to import old video from tape into iMovie 10.0.9, and store it on peripheral drive

iMovie imports into events, which are stored wherever you have chosen. Once you've imported the media, you can right-click on an event and select Reveal in Finder to reveal its location and either move/copy the event or move/copy the media within.


What would make an app incompatibile with OS X Lion?

My educated guess would be:

1) Any apps that deal with operating system files

2) Any Power PC apps

These guesses are just based upon the information given in the app profile on roaring apps and about what apple has told me.


Should this hardware piece look like this?

This looks normal.

The circular white spots are moisture indicators, which turn red on contact with water. This is to inform a technician if the logic board has been in contact with water to possibly decline warranty cover for repairs.
The ‘white dust’ on the edges are part of the production process.


How do I replace a symlink with the actual file?

cp --remove-destination "$(readlink <symlink>)" <symlink>

Source: https://unix.stackexchange.com/a/35027


Is it possible to export the current iPhone wallpaper?

As an expansion to Macjack's answer, here's the process I just followed to retrieve the lock screen wallpaper on my phone.

Looking in the /Users/<youruser>/Library/Application Support/MobileSync/Backups folder is effective but very time consuming, especially if you have a lot of files/images in your backup (my phone a 16GB iPhone 5 that is pretty full had nearly 7000 files in there).  However, the majority of them were not photos for me.

So I wrote a small script to extract the photos and rename them so they have the proper file extension.  This makes it possible to use the image carousel preview for reviewing the images quickly.

Get the script here. (right click and 'Save link as' and save into your Downloads folder)

Now, open Terminal (type 'terminal' into spotlight).  Then copy and paste this into the terminal window:

cd ~/Library/'Application Support'/MobileSync/Backups
chmod +x ~/Downloads/img-separator.sh
BACKUP=$(ls -t . | head -n1)
~/Downloads/img-separator.sh "$BACKUP"

What those four lines do, for non-programmers:

"moves" you into the Backups directory
Makes the script I wrote above "executable" (able to be run)
Gets the name of the newest backup
Runs my script, telling it the name of the backup to process

And here is a description of what the script does.


Undo typing dialog appears often recently, in Safari

Go to settings -> general -> accessibility and look for shake to undo. If enabled that box should appear when you shake the device.

If you don’t want it turn it off.


Executing bundled shell command in a hardened runtime application

The issue was related to my build process itself, not the hardened runtime which I suspected. In fact, when I enabled the hardened runtime, also a launcher application was put into place inside the bundle which starts the main application using the bundled JRE.

As this is the AdoptOpenJDK I mentioned, it uses spawn for Runtime.exec which caused the issue. Once I added System.setProperty( "jdk.lang.Process.launchMechanism", "FORK"); to my main method, Runtime.exec was working just fine again afterwards, even  with the hardened runtime enabled.


You can use Launch Center.

It won't send the message automatically (Apple doesn't allow automatic sending of SMS), but you'll have a notification that will open a new message with the contact already selected. All you have to do is write the message and press send.


Mac OS X Lion installation stuck on "Loading Installation Information"

The clock may have been reset. Setting the clock may resolve this problem.

Enter recovery mode.
Select Utilites in the menu bar.
Open the Terminal.
Type: date {month}{day}{hour}{minute}{year}, e.g. date 0804221520 for August 4 2020, 22:15.
Try running the installation again. It should now proceed in less than a minute.

If this does not help, showing the "Istaller logs" may provide hints why it takes too long.


If you can access the Internet successfully on your Mac, you can share it to your iPhone. Your Mac just essentially acts as the router. So make sure you can access the net successfully on your Mac first. Then go to Sharing and turn on Internet Sharing, choosing to share the Ethernet connection via the Airport. Now connect to the adhoc network that's been created using your iPhone.


Is there a way to Split one 42 Inch TV into Multiple Displays or Virtual Displays?

You wouldn't necessarily get "sharper" resolution - splitting a 1080p HDTV into two monitors side-by-side would result in two 960x1080 displays:

+----------------+    +--------+--------+
|                |    |        |        |
|                | -> |        |        |
|                | -> |        |        |
|                |    |        |        |
+----------------+    +--------+--------+

Is that what you're looking for? Despite the admonishments in your question, I don't think that's really what you're looking for. You'll get the exact same thing by just resizing your FCP windows to take up half the screen and putting both of them on the same screen. (You're stuck with the 1920x1080 pixels your display has any way you slice it.)

In (more-direct) answer to your question: no, I don't think such programs exist.

Note: I'm not familiar with Final Cut Pro, so I'm assuming it's multi-screen behavior is implemented with multiple windows.


Step to step guide how to use 32bit version of Java in Eclipse

There is no Oracle 32 bit Java 7 for OS X. The possible OSs are listed here and OS X just has the one entry

  Mac OS X x64  185.86 MB   jdk-7u75-macosx-x64.dmg

As Yosemite is a 64 bit OS what exactly needs to be 32 bit?


Cant enter firmware password on Mac Pro 5,1

answered at
https://forums.macrumors.com/threads/firmware-padlock-screen-wont-accept-password.2144758/#post-26602612

Removed a memory stick and rebooted into recovery and from there I was able to remove the firmware password (which recovery didn't see as being active, so I created a new one and then disabled it)


iOS (12.1) google shows "title" in address bar, how?

I dont think it is to do with google, it is to do with the iOS default search engine integration.

To change your search engine:

Settings -> Safari -> Search Engine

Shown in the picture below:

When I select bing as my search engine the same thing happens:

When I change to google:

So it is iOS integration


Customize Lock Screen to show Sleep button or allow BTT shortcuts to work in Lock Screen

Limitations of macOS

macOS's Lock Screen is not customisable.

Third Party Tools

Third party tools, such as Power Manager, can be used to customise your Mac's energy saving settings and schedule.

Disclaimer: I work on Power Manager, so feel free to ask technical questions about how it can be used.


Can anyone recommend an app for creating flowcharts and diagrams?

For free online diagramming there's diagrams.net, which I am a developer on. It supports the automatic connection and dragging of components you're looking for. Also, it's free (and open source), which meets your under $30 requirement.
There is also a Desktop version available.


File in Photos app and Files app shows different size when transferring files

Yes, this is a known issue in iPhone

The below article provides more details(about all the issues you mentioned be it different sizes, not being able to transfer video files, weird extensions, etc) so please have a read

https://www.guidingtech.com/fix-device-attached-to-the-system-is-not-functioning-error-iphone/


Using CapsLock to switch between ABC and custom keyboard layout

This special new function for CapsLock does not seem to be very well documented by Apple–which should not come as a surprise to anyone who's been using their products for very long.  Therefore, we don't seem to have been given the information needed to fully utilize or understand that feature.

So, basically, to answer your question:  No, that does not seem to possible at this time.

However, there is a fairly simple work-around that can come close to duplicating that feature although there are some minor discrepancies which for me personally are actually preferable to the way the original feature was designed to work–although your preferences & priorities may obviously vary.

In any case, you could create a single custom keyboard based on the US keyboard that has the appropriate Ukrainian layout programmed directly into the CapsLock-based modifier combinations (keyboard layers or shift levels).
Mac OSX essentially treats CapsLock as a regular, but locking, modifier key without any limitations.  So, with Ukelele you may create a layout which supports both Latin & Cyrillic scripts and uses CapsLock to switch between them.

The Latin-based modifier combinations can mostly (if not entirely) be created automatically in several ways (the easiest being to duplicate the US keyboard you use, or create a layout that mirrors the currently active layout).

For the Cyrillic-based Ukrainian layers you can open a keyboard you wish to emulate (or approximate) and drag the key mappings from that keyboard to you yours (with the proper CapsLock-based modifier combination activated).

I don't think that a little bit of manual labor can be avoided, but you can accomplish your objective natively in this way.  There are some potential advantages & disadvantages to this option depending on your preferences.
For example, the flag will not change from US to Ukrainian which may be seen as a disadvantage.  However, you will have the CapsLock LED as an indication which may be seen as an advantage.  This also circumvents having to change the keyboard layout which is sometimes necessary when switching apps or documents, as well as the slight delay involved with that–that is of particular value to me as it drives me crazy when the keyboard layout is potentially different in each app.

If not for the OP, I hope this is informative or helpful to someone.


If I install an older, deprecated Java runtime, will that mess up applications that use the current Java version?

So long as you've downloaded the Java 6 installer from Apple it will work without affecting your current Java installation.


Permissions error when exporting slideshow as a movie in iPhoto

I've seen some people report issues with permissions and the desktop and/or other user folders. Try repair permissions with Disk Utility


How to move data between iCloud accounts?

Here is a simple solution for getting your contacts at the very least. This is what I did from one iPhone to another iPhone.

Login to the iCloud account associated with the device you are trying to retrieve this data from.

Once you are logged in click on the contacts tab in iCloud. In the bottom left hand corner you will see a "setting gear". Click this and then click select all.

Once all have been selected, click the "settings gear" and click export vcard. Save as contacts somewhere you will be able to easily locate like your desktop.

Log out of that account and log into the account you wish to transfer this data to. Once you are logged in to this account, click contacts and the "settings gear" in the left hand corner. Click import vcard, locate and select vcard imported from other account. You should now see your contacts transferred from one account to the next.

You will then need to click the "setting gear" again and click refresh contacts. Power off your device associated with the device you want contacts transferred and power back on.

Once everything is updated you should see your contacts on your new device.

Best of luck!


How to move files from a lot of folders into a single folder without moving the folders themselves?

This is what you're looking for ?

mv *.jpg Low-Resolution\ Pics/ Moves all '.jpg' files in current directory to low res folder.

mv WashingtonDC00*/*.jpg ./High-Resolution\ Pics/ Moves all '.jpg' files in folders beginning with 'WashingtonDC00' into High res folder.

Files before:

.
├── High-Resolution\ Pics
│   ├── WashingtonDC002.jpg
│   └── image0.jpg
├── Low-Resolution\ Pics
├── WashingtonDC005.jpg
├── WashingtonDC006
│   ├── WashingtonDC006.jpg
│   ├── WashingtonDC0061.jpg
│   ├── WashingtonDC007.jpg
│   ├── WashingtonDC008.jpg
│   └── rubbish.txt
├── WashingtonDC007.jpg
└── WashingtonDC009
    ├── WashingtonDC009.jpg
    └── rubbish.txt

Files after:

.
├── High-Resolution\ Pics
│   ├── WashingtonDC002.jpg
│   ├── WashingtonDC006.jpg
│   ├── WashingtonDC0061.jpg
│   ├── WashingtonDC007.jpg
│   ├── WashingtonDC008.jpg
│   ├── WashingtonDC009.jpg
│   └── image0.jpg
├── Low-Resolution\ Pics
│   ├── WashingtonDC005.jpg
│   └── WashingtonDC007.jpg
├── WashingtonDC006
│   └── rubbish.txt
└── WashingtonDC009
    └── rubbish.txt


No bootable device USB 2.0 MacBook Pro mid 2014

Installing Windows 7 or 10 Pro 64 bit without DVD or Flash Drive

If you are trying to install Windows 7 on a 2012 through 2014 Mac, then you should read my answer to this question.

  Special thanks to user Rafa, who was able to correct this procedure so it now works with Windows 10.

Here I assume your computer is configured as required by the Boot Camp Assistant. (In other words, you will be installing Windows to the 4th partition on disk 0.) Also, your firmware is up to date and you have downloaded the correct "Boot Camp Support Software" for your model Mac computer. Before starting, remove all DVD's and external devices from your Mac.

  Note: Some of the steps, that do not involve VirtualBox, have images captured from a VirtualBox window. This was done when this was the easiest way to create an illustration. I suppose I could have cropped the images, but I chose not to.

(Hint: For a better view, click on an image or open an image in a new window.)

Create a MS-DOS (FAT) formatted partition on your Macs internal
drive. This is where Windows 7 will be installed. You can use the
Bootcamp Assistant, the Disk Utility, or commands (distutil, gpt
and/or fdisk) entered in a Terminal window. Other third party
tools, such as gdisk, can also be used. Give the label for
this partition the name "BOOTCAMP". When finished, quit all
applications.

  This procedure requires the "BOOTCAMP" partition be the 4th partition on your Macs internal drive (disk0). If you are using the
  Disk Utility from OS X 10.7 or newer and your Mac has the default
  drive configuration, then the new "BOOTCAMP" partition should be
  created as the 4th partition automatically. However, if you are using APFS and the default drive configuration, then the new "BOOTCAMP" partition should be
  created as the 3th partition automatically.

Make sure the drive is using the GPT/MBR hybrid partitioning scheme. See my answer to the question "How to convert a drive from the GPT format to the hybrid GPT/MBR format when using High Sierra (macOS 10.13.2)" for a procedure that accomplishes this task.

  User Semi has noted that the Boot Camp Assistant (BCA) will correctly GPT/MBR hybrid partition the drive. So, you may be able to the the BCA to partition the drive, then use the flash drive to install Windows.

Download and install a free copy of VirtualBox. I used
VirtualBox 5.0.14 r105127, Copyright © 2016.
Do the following to transfer the "Boot Camp Support Software" to a
partition compatible with VirtualBox. Create folder named
"VirtualBox" in your Documents folder. Open the Disk Utility and
from the menu bar select File->New->Blank Disk Image. Create
this image in the "VirtualBox" folder using the following
parameters.

Using the Finder application, copy the "Boot Camp Support Software"
to this new partition. When finish, this new partition should appear
in the Finder as shown below. (For readers with older Macs, you may
only have the "BootCamp" folder.)

This step will create the file needed by VirtualBox to access the
partition containing the "Boot Camp Support Software". In a Terminal
application window, enter the following commands.

  Note: I assume you are using the default Bourne-Again Shell (bash).

cd  ~/documents/virtualbox
open  bcss.dmg
DISK1=$(mount|awk  -F  s1  '/BCSS/{print$1}')
diskutil  unmountDisk  $DISK1
vboxmanage  internalcommands  createrawvmdk  -filename  "$PWD/bcss.vmdk"  -rawdisk  $DISK1

The result should be the creation of the file bcss.vmdk in your
"VirtualBox" folder. Later, you will select this file to give a
virtual machine access to this partition.

  Note: At this point, one should realize it would be easier to copy the commands from this document and paste them into the Terminal
  application window.

This step will create the files needed by VirtualBox to access the
physical partition where you will install Windows. In a Terminal
application window, enter the following commands.

cd  ~/documents/virtualbox
DISK0=/dev/disk0
PARTITION=4
PARTID="$DISK0"s"$PARTITION"
diskutil  unmount  $PARTID
sudo  chmod  go+rw  $PARTID
sudo  vboxmanage  internalcommands  createrawvmdk  -filename  "$PWD/bootcamp.vmdk"  -rawdisk  $DISK0  -partitions  $PARTITION
sudo  chown  $USER  bootcamp*.vmdk

  Note: This access granted by the chmod command will only last
  until OS X is rebooted.

The result should be the creation of the files bootcamp.vmdk and
bootcamp-pt.vmdk in your "VirtualBox" folder. Later, you will
select the file bootcamp.vmdk to give a virtual machine access to
the physical partition.

  Note: OS X prefers to automount file systems. This can be disabled for a particular partition by creating or modifying the /etc/fstab
  file. Instead of employing the /etc/fstab file, the user is asked
  to repeatedly enter the following commands.

diskutil  unmount  $PARTID;diskutil  unmountDisk  $DISK1

  These commands unmount the physical "BOOTCAMP" partition and the disk image file bcss.dmg containing the "BCSS" partition.

Configure the virtual machine. Open the VirtualBox application and
click on icon above the New label. Enter or select the values shown
below, then click the "Continue" button.

Use the default settings except for the hard drive. Choose the "Use
an existing virtual hard drive file" button. Navigate to your
"VirtualBox" folder. Highlight the bootcamp.vmdk file. Before
clicking the "Open" button, enter the following commands in the same
Terminal application window.

diskutil  unmount  $PARTID;diskutil  unmountDisk  $DISK1

Open the bootcamp.vmdk file. Your window should appear similar to
what is shown below.

Click the "Create" button.

After returning to the VirtualBox application's "Oracle VM
VirtualBox Manager" window, click on the icon above the
"Settings" label. Next, click on the icon above the "Storage" label.
In the "Storage Tree", "Controller: SATA" should be highlighted.
Right click on this highlighted area and select "Add Hard Disk".
Choose the "Use an existing virtual hard drive file" button.
Navigate to your "VirtualBox" folder. Highlight the bcss.vmdk
file. Before clicking the "Open" button, enter the following
commands in the same Terminal application window.

diskutil  unmount  $PARTID;diskutil  unmountDisk  $DISK1

Open the bcss.vmdk file. Next, select the "Use Host I/O Cache"
option. Your window should appear similar to what is shown below.

Highlight the Empty CD/DVD and select "Choose Virtual Optical Disk
File..." to attach your Windows 7 iso file. (Hint: Look for the
CD/DVD icons)

Click OK to close the window. Your "Oracle VM VirtualBox Manager"
window should appear similar to what is shown below.

In this step, you will copy the necessary files to the physical
partition, so later you can restart your Mac and install Windows.
Enter the following commands in the same Terminal application
window.

diskutil  unmount  $PARTID;diskutil  unmountDisk  $DISK1

Next, click on the icon above the "Start" label to boot from the
Windows 7 iso file. Press the space bar, if prompted to "Press any
key to boot from CD or DVD."

  Note: The mouse pointer must be over the virtual machine screen window before you press the space bar.

When the display below appears, click the "Next" button.

When the display below appears, select "Repair your computer".

With the button "Use recovery tools that can help fix problems
starting Windows." selected, click the Next button.

Select the "Command Prompt" option.

Insure the drive letters C through F are not assigned by default
to a volume by entering the following commands.

mountvol  c:  /d  >nul
mountvol  d:  /d  >nul
mountvol  e:  /d  >nul
mountvol  f:  /d  >nul

Enter the following to determine a list of the current volumes.

diskpart
list  volume

The image below displays the volumes found on my Mac. You may get
different results.

Enter the following commands, to assign the drive letters D, C
and E to the CD-ROM volume and the volumes labeled "BOOTCAMP" and
"BCSS", respectively. In the image shown above, these are volumes 0,
3 and 4. If your volume indices are different, make the appropriate
substitutions. Also, NTFS format the "BOOTCAMP" volume.

select  volume  3
assign  letter=c
format  quick  fs=ntfs  label=BOOTCAMP
select  volume  0
assign  letter=d
select  volume  4
assign  letter=e
list  volume
exit

When finished, the volume letters should appear similar to what is
shown below.

Next, enter the commands givens below. The bootsect command writes
boot code to a Volume Boot Record (VBR) of a partition and Master
Boot Record (MBR) of the corresponding drive.

bootsect  /nt60  c:  /mbr
bootsect  /nt60  e:  /mbr

The next sequence of commands creates a Virtual Hard Disk (VHD)
file. The VHD represents a virtual flash drive from which Windows
will be installed on to the physical "BOOTCAMP" partition.

  Note: If you are installing Windows 10, then the parameter fs=fat32, in the format command shown below, should be replaced
  with fs=ntfs.

diskpart
create  vdisk  file=c:\flashdrive.vhd  maximum=8000  type=fixed
attach  vdisk
create  partition  primary
format  quick  fs=fat32  label=FLASHDRIVE
assign  letter=f
exit

Finally, copy the Windows installer iso and "Boot Camp Support
Software" files first to VHD, then directly to the physical
partition where Windows is to be installed. Exit the Command Prompt
window when finished.

xcopy  d:*  f:  /s  /h
xcopy  e:*  f:  /s  /y
xcopy  f:*  c:  /s  /h
exit

  Note: The files \sources\boot.wim and \sources\install.wim take a long time to copy. The file sizes are 168 MB and 2.95 GB,
  respectively.

Select the "Shut Down" button to shutdown the virtual machine. Quit
the VirtualBox application.
This step will involve configuring Master Boot Record (MBR) of your
physical internal drive. The MBR is stored on the first 512 bytes of
this drive. This space is shared by boot code and the MBR partition
table.

  This step can not be preformed under OS X 10.11 (El Capitan) with System Integrity Protection (SIP) turn on. (This is the default
  setting.) If you are using OS X 10.11, you must disable SIP,
  complete this step, then restore SIP. See the link: How do I
  disable System Integrity Protection (SIP) AKA “rootless” on OS X
  10.11, El Capitan?.

In a Terminal application window, enter the following commands. The
first fdisk command flags the "BOOTCAMP" partition as the active
partition. The second fdisk command changes the "BOOTCAMP"
partition id to 7. The final fdisk command copies the boot code
from the MBR of the disk containing the "Boot Camp Support Software"
partition to the MBR of the physical disk containing the "BOOTCAMP"
partition.

cd  ~/documents/virtualbox
DISK0=/dev/disk0
PARTITION=4
PARTID="$DISK0"s"$PARTITION"
open  bcss.dmg
DISK1=$(mount|awk  -F  s1  '/BCSS/{print$1}')
INPUT=$(printf  "f  $PARTITION\nq\ny")
sudo  fdisk  -e  $DISK0  <<<"$INPUT"  &>/dev/null
INPUT=$(printf  "s  $PARTITION\n7\nq\ny")
sudo  fdisk  -e  $DISK0  <<<"$INPUT"  &>/dev/null
sudo  fdisk  -u  -y  -f  $DISK1  $DISK0
diskutil  mount  $PARTID

  Note: To display the value for the variable INPUT, use the command echo "$INPUT".

This is the step where you install Windows to your "BOOTCAMP"
partition. Restart your Mac and hold down the option/alt
key. Select the Windows icon to boot from the "BOOTCAMP" partition.
Open a Command Prompt window, by navigating through the displays as
you did in step 7. Enter the commands below to attach the
"FLASHDRIVE" partition stored in the Virtual Hard Disk (VHD) file.

diskpart
select  vdisk  file=c:\flashdrive.vhd
attach  vdisk  readonly
list  volume
exit

On my Mac, the output from the list volume command shows E to
be the drive letter assigned to the "FLASHDRIVE" partition. If your
drive letter is different, make the correct substitution when
entering the e:\setup command given at the end of this step. Next,
remove all the files, but one, from the "BOOTCAMP" partition.

rmdir  /s  /q  c:\

  If the above command executes correctly, you should get the error message: "c:\flashdrive.vhd - The process cannot access the file
  because it is being used by another process."

Start installing Windows 7 by entering the command given below.
Select "BOOTCAMP" as your installation partition.

e:\setup

The installation files are stored in the "FLASHDRIVE" partition.
Since this partition is stored as a VHD file in the "BOOTCAMP"
partition, do not try to reformat the "BOOTCAMP" partition. You will
remove these installation files in a later step. When your Mac
restarts, it will boot to OS X. This is to be expected. From the
"System Preferences" select Windows as your startup disk and restart
the Mac. Your Windows installation will continue.
Once Windows finishes installing, the "Boot Camp Support Software"
 can be applied. To access this software, the c:\flashdrive.vhd
 file, containing the "FLASHDRIVE" partition, needs to be attached.
 Click on the "Start" button, type in diskmgmt.msc and hit the
 return key. Once in Disk Management, click on Action
 in the menu bar and select Attach VHD. Select the file location
 and check "Read-only" to prevent writes to the VHD  file. After you
 hit "OK", the drive will show up in Disk  Management with a blue
 icon. Close Disk Management.

In the AutoPlay popup window, select "Open folder to view files."
 (If no popup appears, use the Windows Explorer to open the drive
 labeled "FLASHDRIVE".) The setup.exe file can be found in the
 folder labeled  "BootCamp". Execute this application to install the
 "Boot Camp Support Software". The VHD file will detach when the
 computer restarts.
Finally, remove DVD and "Boot Camp Support Software" folders and
 files.  This can be accomplished by dragging the
 c:\flashdrive.vhd file to the Recycle Bin. If you get an error
 message about the file being open, restart the computer and try
 again.

Clean Up

The "Virtual Box" folder can be deleted. You will probably need to eject the "BCSS" partition first.

You can delete the "BootCamp" virtual machine. This can be done from the VirtualBox application. If VirtualBox does not remove all the files, you can remove them manually. Look in the ~/"VirtualBox VMs" folder.

You can delete the Windows 7 iso file.

You can remove the VirtualBox application, but since it takes such little space, I would not bother.


2016 MacBook Pro Touch Bar (A1706) Doesn't Boot When Battery is Plugged In

Solved: Battery was defective (battery entered sleep state and was unable to be woken up). Got another new battery and everything works as should.


Temporarily disabling RAM to mimic a lower spec machine?

There's no need to take out RAM, create a RAM disk or use a VM.  Simply boot the OS using the maxmem= boot flag value that's been created for this purpose and been around for decades.

Simply open Terminal as a sudoer and enter

sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

After entering your password change

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
<plist version="1.0">
<dict>
        <key>Kernel Flags</key>
        <string></string>
</dict>
</plist>

to

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
<plist version="1.0">
<dict>
        <key>Kernel Flags</key>
        <string>maxmem=2048</string>
</dict>
</plist>

and write the changes to disk with ctrlo and quit nano with ctrlx

Restart your Mac to apply the changes.

To revert the changes remove 'maxmem=2048' with nano again.


The /Users folder is so big because that's where all the user data is stored. All the pictures, library files, movies, etc.


out of diskspace because of sparsebundle

/Users/.harith/harith.sparsebundle is the encrypted contents of your home directory. When you are logged in (as user harith), then the unecrypted contents of that same directory are visible under /Users/harith, that is, your home directory.

So what you're seeing is, your hard disk is full. And your home directory is taking up 178 GiB of space.

IT IS NOT SAFE TO DELETE /Users/.harith/harith.sparsebundle!!!!! This is your home directory's files, and deleting this will delete or corrupt your home directory!!!

What you will want to do is look for large files within your home directory, and move those to an external drive. As @lemonginger mentioned, movies and music are good places to look, but not so they're not being decrypted as he said, that's irrelevant. And don't just move them anywhere, you need to move them to a different hard drive otherwise you won't solve the problem.

If you don't have a second hard drive, consider moving files to a cloud-based storage system, such as Apple's iCloud service or Amazon's Cloud Drive. This can be either a permanent solution, or a temporary storage space until you can expand your local disk storage. Amazon may be a good choice because they offer 5 GB at no cost, and I believe you can get up to 20GB free if you purchase any MP3 from them.

In order to reduce the size of your home directory's encrypted sparsebundle, you need to log out. After you log out, if you have deleted files from within your FileVault home directory, you will see a dialog appear with a progress indicator which states "Reclaiming unused space in  home directory". What this is actually doing is removing the parts of /Users/.harith/harith.sparsebundle which are no longer in use (because you have deleted files).

A side note: /Users/.harith/harith.sparsebundle is only when you are logged in. When you log out, /Users/.harith/harith.sparsebundle is moved to /Users/harith/harith.sparsebundle, and it's moved back when you next log in.


Does the developer of a Mac OS X app get the crash reports when the app crashes?

Mac OS X Reference Library Technical Note TN2123 states:

  CrashReporter performs two useful
  actions:

  When a program crashes, CrashReporter will record a crash log
  (typically into
  ~/Library/Logs/CrashReporter/), and
  inform the user by logging a message
  to the system logging facility.
  In addition, if the program that crashed is running as a logged in GUI
  user, CrashReporter will present the
  user with a dialog asking them whether
  they want to submit a bug report to
  Apple (see Figure 1). If the user
  clicks the Report button,
  CrashReporter displays another dialog
  that shows the details of the report
  (see Figure 2) and allows them to
  comment it before submission.

And not much further along, states:

  In this technote I explain how to interpret crash logs that you have obtained from end users.

I believe this implies that the information is not automatically shared with the developer.  The developer needs to "obtain" the crash logs from the end users' ~/Library/Logs/CrashReporter/ folder.


Names of voice memos wiped after iOS8 upgrade - can I get them back?

You could try using the free software iBrowse to open your iPhone, then open the Recordings folder, and look for Recordings.db. This can be opened with SQLite Database Browser. Open the DB in SQLite Database Browser, then Browse Data and find your filenames and their titles.

If they are not there, you could try making a new Voice Memo, and repeat this procedure. Now see if you can manually edit the DB to make the rest of your files match the format used to name the new Voice Memo. Ultimately save your .DB and copy it back to your iPhone using iBrowse. Make sure to save backups in case your iPhone doesn't like your hand-edited database.


How to sync two iPhones to the same Mac and to Nike+?

Humm, this is weird, mine does ok, but I never tried with both on iTunes... always one of a time.

I did found several forum discussions regarding the out of sync with Nike Plus, and this is from Aug 26th and already have 8 pages :o

it describes plenty of out of sync workouts (maybe it's an app bug)

http://forums.nike.com/thread.jspa?threadID=28016

probably is a good idea to post on Nike forum as well.


App Not Setup: This app is still in development mode, and you don't have access to it - App downloaded from Itunes Store

Go to your purchase history for the app and:

Contact the developer from the support link for that app.
If that fails after a reasonable amount of time (2 business days for paid apps, a week for free apps perhaps) - then use the report a problem link to report that app to Apple.


iPhone: Is it possible to rename the extension of a file?

Tho I have never had to do this before but I just checked and it seems that Dropbox allows you to rename files. So if you have a file attachment in email you can save an "image" file in an email to Dropbox and once there you can rename it.

A bit of a kludge but Dropbox accounts are free...


Storage settings on iOS crashes while calculating

Most of the iOS crashes like this are corruption from data and not reproducable. If you power down the device while it’s in airplane mode - no data connection and power up, try again.

If you can reproduce this crash, you can be sure it’s the data on the device that you can control at that point. Check a backup and/or delete any and all apps and data you don’t need. At some point, you’ll need to restore the os on the device or manage storage via USB / cable / iTunes.


Locking down all apps except the phone/call app on the iPhone 4 running iOS6?

You can turn on Restrictions in iOS Settings (in the General section), which allows you to disable all non-standard apps, as well as some of the built-in ones (such as Safari, Camera, FaceTime, iTunes and Siri). Unfortunately, I believe a few built-in apps remain, such as Messages, Calendar and Maps, I'm not aware of a way to disable them completely.

A word of caution if you're testing this out—disabling apps, then re-enabling them will destroy your home screen organization.


How to determine which traffic goes over the PPTP VPN?

Have you tried using the route command to declare a static route?

For instance, I use the following with my VPN:

sudo route -v -net 10.41.0.0 -netmask 255.255.0.0 -interface ppp0

This tells any traffic going to 10.41.x.x to go over the VPN interface (ppp0).


There are no guidelines for system notifications. The only guideline regarding notifications from the App Store Review Guidelines is as follows.

  4.5.4 Push Notifications must not be required for the app to function, and should not be used for advertising, promotions, or direct marketing purposes or to send sensitive personal or confidential information.

https://developer.apple.com/app-store/review/guidelines/


Does anyone know if I can use Siri to make a phone call using Google Voice?

This depends on Google integrating their app with Siri as since iOS 10, developers can make their apps work with Siri using Siri Kit. So it’s up to a Google to do it, in the meantime, this isn’t possible.


Dialing from MacBook shows that my iPhone is already on a call

tl;dr A reboot of the phone fixed the issue.

When I tried the same on my iPad (making a call through my iPhone), the same thing happened, I received the error message that my iPhone was already on a call. This showed that the error seemed to be with the phone, not with the MacBook.

I closed all open applications on the phone, but ended up with the same error again. After finally restarting my phone, it worked, I was able to initiate a call from the FaceTime app on the iPad.

It looks like something on the iPhone prevented calls from being initiated from another device. Phone calls from the phone were working fine throughout the day, just not from another device.


Is there a way to hook up my IPhone to my Windows computer to make and recieve calls and texts?

Without a jailbreak, what you ask is not possible (Even on Mac OS).


Difficulties with 4k60 support on my Late 2013 27" iMac

DisplayPort v1.2 -- vs 1.0 and 1.1 -- newly supported 60Hz UHD (4k), where the older specification had only enough speed to support 30Hz.  [Search "specifications displayport".  (On the Wikipedia page, you have to look at two separate tables.)]

I would infer that DisplayPort port on the older machine was v1.0 or v1.1, with the newer machine's being v1.2 (or higher).  (Apparently your cable is v1.2 (or higher).)

Since the two machines are running the same version of the OS, I would guess that the difference in the presentation of the resolution is a function of the DisplayPort version... although I would have thought that it was the OS itself.  ["Larger text" means (non-native) larger dots on the same screen (and fewer of them), and "More space" means, in the last case, full native resolution.]

As for the Apple specification page... one might wonder if there was an improvement in the hardware capability enabled by the software (i.e. the OS)... but I would guess that it actually was a mistake (surprisingly enough); the NVidia specifications for all the pertinent graphics cards say 3840x2160.  [I note that Apple has been known to cripple its hardware -- as in, such that you can get more than advertised, out of it -- on occasion [ref. incl. my own machine], but I can/do not see that here.]

BTW, my experience with my dual-panel display (which I think is "MST") is that you can catch it out sometimes, with one side lagging behind the other briefly.


How to debug iPhone slow/hung wifi network problem

In case any one with this problem stumbles across this question, the problem fixed itself after upgrading to iOS 12, so my guess is it was a bug in iOS 11.


Dealing with ads blocking application functionality on iPad

If this problem happens in an App than your only chance is tell the developer of the app that the ad placement was a really bad user interface choice and to please fix this issue.

If you can provide screenshots and a brief description of when this happens (if it only happens under certain circumstances) they will most probably be very grateful and fix this problem ASAP.

Just as a precaution: be polite in your email and try to be as objective as possible when telling about your problem.