AppleScript unable to get text from safari I'm setting a text in a safari textfield with this code :

set myCaseNote to "demo"

tell application "Safari Technology Preview"
    set setData to do JavaScript "document.getElementsByClassName('text-entry')[1].value=" & quoted form of myCaseNote in document 1
end tell

but I want to add a repeat statement to make sure that my text is added before going to the next step.

I though about double check the content of the textfield with this :

 tell application "Safari Technology Preview"
    set DSIDinfoGrab to do JavaScript "document.getElementsByClassName('text-entry')[1].innerHTML;" in current tab of window 1
end tell

Otherwise this don't seems to get anything

  Result: ""

Why can I not get the text from the textfield?

If it's a user input text field, it won't have an innerHTML property (or, it might, but it won't contain any meaningful data) because it's an element that can't contain child HTML elements itself.

You ought to be able to read the value property that you use to set its text content.

document.getElementsByClassName('text-entry')[1].value;


How to get music from Dropbox to ANY mp3 music type app I am using an iphone 6, first time with an iphone, not really fond of it unfortunately bought it for the slow-mo video but having a heck of a time getting my music transferred!

I don't want to live stream it, I want the music saved on my iphone. Trying to transfer from a Linux system computer (that was a whole lot of fun) finally figured that out using the dropbox app, but how to get the music from dropbox to an app that I can make playlists and NOT stream as I don't have unlimited data or wifi available ( I know stone age right?)! There has got to be an answer. Don't want to pay for all the music I had on my android device before switching to (cough.. a phone known for music abilities)... help appreciated! (as user friendly as possible I am tec illiterate, sorry.)

It's really not possible to get music from Dropbox into the music app on your iPhone. Apple does not support getting music onto your iPhone that way. The Dropbox app will play the songs but is hardly a music playing app.

You mention Linux. Do you have a Mac or a Windows PC? The best way is to add the songs to iTunes on a Mac or Windows PC and then sync your files using iTunes. Apple does not make iTunes for Linux and iTunes is the only supported way to get music from your computer onto your iPhone.

Not being a Linux guy there may be a Linux application that will get the music onto your iPhone without iTunes. Maybe there is a Linux guy here that knows if there is such a thing. I don't know, sorry.

Apple is all about making it simple to do basic things for the majority of people. Those of us at the geeky/nerdy end of the spectrum often face these frustrations. You can either continue to be frustrated, or just relax and do it the Apple way, using Apple software. There are a number of things that have always annoyed me about Apple software and Macs (+ iPhones...) in general. But I have learned to accept the limitations because I don't like Windows and Linux just annoys me. But that is just me, you have to do what works for you.


Problem booting Ubuntu from newer Macbook Pro (late 2011 model) I'm trying to create a USB stick that is bootable on both PC and Intel Mac systems, which will contain a full installation of Ubuntu (i.e. not just a LiveCD).

I've succeeded in creating a USB that will boot on PCs and a Macbook Pro from ~2009. However, trying the same USB on a newer Macbook Pro, from late 2011, does not work.

I have gone with a method adapted from the one described here, which creates a Mac partition on the USB and copies some rEFIt files into it.

On booting the new Macbook Pro, holding the option key allows the choice of boot device to be made. Selecting rEFIt then allows Linux to be chosen, which works the same way as on the older Macbook Pro. However, on the late 2011 model, following the selection of Linux, all I get is a screen saying that no bootable devices were found.

Does anyone know what might be causing this, and, if so, how to fix it? The version of Ubuntu I am trying to run is 10.04 32-bit.

Make sure you are using a DVD with the image burned onto it instead of a USB drive. (USB images never seem to work.)

Also rEFIt is still fine for use as the bootloader. Old question, I know, but it might help.


What's alt+spacebar character and how to disable it? I am writing code in various text editors with Finnish keyboard layout. Sometimes I press alt+spacebar accidentally when writing symbols. E.g.

  if(foobar || foobar2) {

... there is a high change I type pipe+pipe+magical alt-spacebar character.

The thing is, this alt+spacebar character is invisible like space, but behaves differently. Mainly it breaks code syntax in various occasions. However, because the character is invisible it is hard to track down.

What is this alt+spacebar character?

Is it possible to disable it so that when you press alt+spacebar it would type in a normal space?

optionspace inserts a non-breaking space (NBSP, U+00A0) by default.

What I've done I've set my editor highlight the non-breaking space, so that I see when I accidentally enter it.

You could remap ⌥␣ to a normal space by creating ~/Library/KeyBindings/ and saving a property list like this as DefaultKeyBinding.dict:

{
    "~ " = (insertText:, " ");
}


What is the 'xmessage' command equivalent on macOS? For Linux, there is a command xmessage which displays a message in a window. Does anyone know what is the equivalent one on macOS?

AppleScript
On macOS, displaying simple dialogs is possible with AppleScript:
/usr/bin/osascript -e "display dialog \"Hello world\""

See Displaying Dialogs and Alerts in Apple's Mac Automation Scripting Guide.
Additional buttons, choices, and other limited interface elements can be added:
set theDialogText to "An error has occurred. Would you like to continue?"
display dialog theDialogText buttons {"Don't Continue", "Continue"} default button "Continue" cancel button "Don't Continue"


Can't create kext cache under / - owner not root When I plug in my usb memory card reader nothing happens. It was working ten minutes ago when I used the xbian installer to put it on the sd card, but now nada.  Something briefly flashes up then disappears in Disk Utility.  I see this in the system.log

Mar 26 17:22:52 Johns-iMac kernel[0]: USBMSC Identifier (non-unique): 000000009744 0x5e3 0x716 0x9744, 2
Mar 26 17:22:53 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 17:22:53 Johns-iMac.local com.apple.kextd[19]: IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
Mar 26 17:22:53 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 17:22:54 --- last message repeated 2 times ---
Mar 26 17:22:54 Johns-iMac kernel[0]: disk4s1: I/O error.
Mar 26 17:22:55 --- last message repeated 1 time ---
Mar 26 17:22:55 Johns-iMac kernel[0]: disk4s1: media is not present.
Mar 26 17:22:55 --- last message repeated 1 time ---
Mar 26 17:22:55 Johns-iMac.local diskarbitrationd[38]: unable to mount /dev/disk4s1 (status code 0x00000047).

The owner/group of the root folder is my user account and staff

Johns-iMac:~ john$ ls -al /
total 93
drwxrwxrwx   34 john  staff   1224 26 Mar 17:04 .
drwxrwxrwx   34 john  staff   1224 26 Mar 17:04 ..
-rw-rw-r--@   1 root  admin   8196  5 Mar 19:38 .DS_Store

Who should own the root folder? root or me?

The real problem is that the system can't read my memory card.  How to fix?

An hour later...

Well that's interesting: if I stick it into a different device (a little usb camera) and plug that in, it complains a bit, then mounts!?

Mar 26 18:37:34 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 18:37:34 Johns-iMac.local com.apple.kextd[19]: IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
Mar 26 18:37:34 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 18:37:34 --- last message repeated 2 times ---
Mar 26 18:37:34 Johns-iMac kernel[0]: USBMSC Identifier (non-unique): 966110000000100 0x603 0x1001 0x100, 2
Mar 26 18:37:36 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 18:37:36 Johns-iMac.local com.apple.kextd[19]: IOBluetoothHostControllerUARTTransport.kext has no Info.plist file.
Mar 26 18:37:36 Johns-iMac.local com.apple.kextd[19]: Can't create kext cache under / - owner not root.
Mar 26 18:37:36 --- last message repeated 2 times ---
Mar 26 18:37:36 Johns-iMac.local fseventsd[20]: check_vol_last_mod_time:XXX failed to get mount time (25; &mount_time == 0x101eff498)
Mar 26 18:37:36 Johns-iMac.local fseventsd[20]: log dir: /Volumes/xbianboot/.fseventsd getting new uuid: 4898DEB3-E8EE-4FB0-BD08-EBECC37F3872
Mar 26 18:37:36 Johns-iMac.local mds[32]: (Volume.Normal:2464) volume:0x7f9020906800 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/xbianboot

From there Disk Utility is able to see it and I can Erase the contents and start over.

Came down to not using the usb multi card reader thingy.


Is there a gesture to dismiss a notification It happens with unusual frequency that a notification will pop up covering the top right area of my window, right when I need to get a something in that top right area.  I'd rather not have to wait the 5 seconds for the notification to go away. Is there a way to dismiss the notification right away?

I had read here that a right swipe on the magic mouse would do the trick, but that doesn't seem to be the case, at least for me.

in el Capitan, the swipe away feature was disabled for Reminder alerts. Now you have to click Later.. then click 1 hour, 1 day, etc.. So they changed a simple swipe away gesture with 2 clicks.. per notification. It makes it way more complicated, I don't know what Apple was thinking when they changed this, at least they should give the option of making it simpler.


Sound not working when running OS 10 Yosemite My sound does not work whe I try to turn up the volume it just show this

I tried looking on the forums but they didn't help.

Thank you for spending the time to answer, if you have any questions please comment them down below

By default, without an external monitor and no headphones plugged into the MacBook Pro, the audio should come out of the built-in speakers and you should be able to control the audio with the built-in keyboard volume controls. If you hold down the ⌥ Option key while clicking on the audio icon in your statusbar, you should see this:

If, however, you have an external monitor plugged in via Mini DisplayPort or HDMI, and your monitor supports audio passthrough, then you may be running into a problem of the MacBook Pro seeing that monitor as the primary audio output device.

If your goal is to play audio through the built-in speakers, simply select Internal Speakers in the drop-down shown above and you will be able to control the volume again. It should look like this screenshot:

If your goal is to play audio through the external speakers, and your volume controls do not work, then that means your external speakers (or monitor's speakers) do not support the volume controls in your MacBook Pro, and you will need to control the audio through your speakers or monitor. There should be an audio control on the speakers, or you may have been provided a remote to use with the monitor/speakers.


Okay to leave iPhone on a Qi charger while at 100% battery level? I have a Mophie brand Qi charger for use with my new iPhone SE (2020).
After being left on the Qi charger I notice the iPhone is warm to the touch. I find this warmth even when the phone has been fully charged (at 100% battery level) for some time such as left overnight.
That warmth made me wonder if it is okay to use the Qi charger as my primary charger, and to leave the phone charging indefinitely.

Yes, it is totally safe to do so. Your phone won't suddenly overheat, "overcharge" or break due to it being placed for a prolonged amount of time on a Qi-charger while fully charged.


iPod Nano 5th Gen Can't Disable Shake Gesture I have disabled the "shuffle on shake" feature of my iPod Nano 5th gen, yet occasionally this still happens.  I've noticed, for example, if I have it connected to the aux jack in my car while driving, if I hit a speedbump or pothole, it activates shuffle mode.  I've double-checked the setting to the point where I'm beginning to feel a bit OCD.  I know this is older hw, but is there some way to permanently disable this feature on my specific device?

Have you tried running a full restore of the iPod? I know it's kind of a last ditch thing to do, but it seems like you may be experiencing a hiccup in the hardware. Also, make sure you've got the latest update from Apple installed on it.


Homebrew: Your CLT does not support macOS 11.0 I recently upgraded to macOS Big Sur developer Beta 8, when I do brew install jenv I get the error Homebrew: Your CLT does not support macOS 11.0. I am using CommandLine tools GM version.  Tried to reinstall it couple of times, nothing worked so far. Here is the complete error
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Error: An exception occurred within a child process:
  SystemExit: exit

Simplest solution that worked when upgrading to Big Sur. A clean install may not require the solution below. There is inconsistency with the way CLT is upgraded to 12.2.
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Worked with the following versions (post-install)
❯ /usr/bin/xcodebuild -version
Xcode 12.2
Build version 12B45b

❯ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 12.2.0.0.1.1603499215
volume: /
location: /
install-time: 1605632122
groups: com.apple.FindSystemFiles.pkg-group

Big Sur
11.0.1 (20B29)


How to install a fresh copy of Mojave on a Macbook Air? When I do the Option + Command + R, I am presented with several options.  One of those options is to reinstall Mojave from an already existing image.  I don't want to use that image, rather, I want to install from a new image.

For some reason I cannot log in to the laptop.  Is there a way to load an image onto a USB drive, pop it into the USB port, and install from it using the Option + Command + R method?

After booting into Internet Recovery with the following key combination at startup:

Option+Command+R

...navigate to 'Disk Utility' and erase the disk

After erasing the disk you may then proceed to install macOS using the 'Reinstall macOS' option.


Removing pictures transferred from PC to iPhone I transferred some pictures from my PC to my iPhone 4G. I am unable to delete these pictures that were sent to my iPhone.

If you are using an iPhone 3GS, then you may still be on iOS 4.  At this OS level, the ability to delete synced photos was not available, and you would only remove photos that you took with your camera in the camera roll.  The only way to remove them, is to remove it from your sync list, and sync again.


Macbook Pro Retina 2014 - Quick return from Sleep - Black screen with cursor before login window I just got a MBPr. When the display switches off, like its going to sleep and I quickly hit a key to wake it back up. It shows a black screen with a cursor for about 15-20 seconds before the login screen appears. Its only if I do it instantly after the screen switches off. If I leave it off for sometime it comes back instantly...

Its not a problem when I don't log back in and let the screen go black from the login prompt.

I also tried to totally disable the show login screen after screensaver/sleep option and it still take a while to go from black to my desktop.

This is a problem if I have an external display plugged in or no displays attached. Its really annoying because I want to stop it from sleeping because I'm reading or something.

Is this normal? How can I troubleshoot?

It turns out in this case the cause is Spotify. It seems to be a bug with the Spotify app. Yet no bug fix has been released. If you have spotify running, kill it and see if you get this issue still.

If you dont use Spotify go through a process of elimination. Start by killing everything running (processes/background/tray tasks) then make the laptop it sleeps and comes back.

Then start processes/background/tray tasks up one by one and let the computer sleep (change it to 1 minute or something to test) then see if it comes back ok. Keep going until it doesn't thats the process at fault.


Is it possible to use Back To My Mac DNS or routing information from the command line? I often want to ssh to a Mac and would love to make use of of iCloud to look up IP/DNS routing information. Can this be done without signing up for a dynamic DNS service and configuring it on each Mac in addition to iCloud?

Let's assume of my on-all-the-time Mac at home's hostname is "maui" and it's running Snow Leopard. When I'm on my laptop connected to the home network, I can ssh maui.local. It sure would be nice to be able to ssh maui.whatever.icloud.com or whatever would work. I'm guessing I would need "maui" and my iCloud name to let it know which machine under my account needs reaching.

Does anyone know if this is possible through API or command line? I've browsed the public developer information several times but don't see anything promising. Any pointers or code examples would be welcome.

P.S. Please don't suggest free DNS accounts as I'm really interested in MobileMe exclusively for this question. I know those will work but I'm looking to avoid installing anything else or another account/external dependency on these Macs.

This has changed a little with 10.7 and you'll want to note that this uses IPv6 almost entirely so test with ping6 and traceroute6 to debug things.

It's no longer done via @computername.mobilemename.members.mac.com, it's now done via members.btmm.icloud.com, and its no longer as simple as your mobilemename.

Step 1: Find out your iCloud BTMM domain

Either of these commands will provide your BTMM domain:

# dns-sd -E
# mDNS -E

The output is formatted slightly differently, but what you're after is the numeric ID, it'll be something like 12345678.members.btmm.icloud.com.

Step 2: List Computers

You can use these tools to browse that domain for services, e.g. for ssh servers:

# dns-sd -B _ssh 12345678.members.btmm.icloud.com

Or if you already know the hostname just access it directly as computer-name.12345678.members.btmm.icloud.com. (Any spaces in your computer name will be hyphens in this domain).

You can only access this from a computer that is also set up for BTMM on the same account, because this hostname will resolve to an IPv6 address that is really the end of an encrypted network tunnel between your BTMM computers.

If you want to see the IPv6 address for a specific host, you can type

# dns-sd -G v6 computer-name.12345678.members.btmm.icloud.com

And it'll output something like:

17:37:47.504  Add     2  0 computer-name.12345678.members.btmm.icloud.com. FD11:993E:64AE:4DEA:011F:FBD1:F444:11A1%<0>  152

Step 3: Connect

# ssh username@computer-name.12345678.members.btmm.icloud.com

Note

I'm not sure if that number will ever change, so you may or may not need to repeat Step 1 at some point later on...


Is there a difference in performance between a the default scaling option and selecting a resolution? I just got a new 27" 4k monitor. At default resolution, text and menu items are too small for me to be usable. In the display settings, there are options to "Scale" the resolution, but this comes with a notice that scaling may negatively impact performance.
I've seen online that one can option-click on the Scaled radio button and get a drop down of resolutions. I've done this and selected 2560x1440 and this is comfortable for me.
My question is: does the mechanism for choosing a different resolution via the drop down not degrade performance the way the default scaling options does? Or is it essentially doing the same thing, just via a different way of selecting the scaling?
In case it's helpful, I have two MacBook computers that I use this display for, with the following GPU information from the system report:

My work MacBook Pro 13", 2019, with Intel Iris Plus 655 GPU.
My personal 2019 MacBook Air 13" with Intel UHD Graphics 617.

Changing your resolution doesn't really affect performance.  What will give the effect of improving or reducing performance is refresh rate.  A higher refresh rate will smooth things out giving you the "feeling" that things are much faster.  A lower one will make things look more "jumpy" thus giving the effect of lagging performance.
The default scaling is what macOS has determined to be the "best" optically for your particular setup.


Does FaceID improve over time? I switched to iPhone 11 recently and I find FaceID rather disappointing, it often analyzes my face several times before recognizing it and sometimes I have to type my code. I tried to reconfigure it and do it in different situations but it didn't change anything.

Does the technology improve when you use it, with a kind of learning machine? How do I get him to recognize my face better?

As the system is used, it learns about typical variations in a user's
  appearance, and will adjust its registered face data to match aging,
  facial hair growth, and other changes using the Neural Engine. The
  system will recognize a face wearing hats, scarves, glasses, many
  sunglasses,9 facial hair or makeup.10

https://en.wikipedia.org/wiki/Face_ID#Technology


Why doesn't OS X migrate printer settings after clean install? I've been seeing this since Leopard (10.5). If I erase my hard disk before installing a new version of OS X, the install the OS, then migrate all settings over from a cloned backup using Migration Assistant, everything is preserved except printers. Anyone else? To make matters worse, I just installed Mavericks (10.9.2) for the first time, and after the migration, not only were no printers preserved, but the OS did not automatically offer to download drivers for my HP 2015dn printer (either networked or via USB). I had to download the drivers (i.e. PPDs) manually.

Is this to be expected?

No, printers are usually transferred when you restore a backup using backup software such as Time Machine. As you haven't specified a backup software, I presume Time Machine, in which case the preferences should have been transferred. If you have used other backup software, make sure that the preferences have been backed up and restored correctly.

With regard to the drivers, these should have installed automatically too, unless restoring from backup restored the drivers too. Again it depends how you have backed up, but in conclusion, neither of these situations should have happened, but they're pretty minor and have been solved anyway.


Where is a full (complete) list of defaults domains and parameters? I found several long lists with defaults, settings, but never a complete one with a reference to developers.apple.com. Is there any such list to find? If not, which is the longest/systematic/complete list with defaults?

Update:

I'm interested more in the system administration point of view on the collection of the defaults settings, rather than in the developing an application

Update2:

Interesting could be something like TinkerTool collection in the form of Application, but using only the terminal

Update3:

e.g. all defaults keys from NSGlobalDomain

Here is the list of all defaults parameters that [I think] you are looking for.

Here is the link I got it from.

Looks something like this, but a lot longer :) :

  NSBundleIdentifier = "com.apple.Stickies"; NSBundlePath =
  "/Applications/Stickies.app"; NSKeyEquivalent = { English = Y; default
  = Y; };
                      NSMenuItem =                     { English = "Make New Sticky Note"; default = "Make Sticky"; };
                      NSMessage = makeStickyFromTextService;
                      NSPortName = Stickies;
                      NSSendTypes =                     ( NSStringPboardType, NSRTFPboardType, NSRTFDPboardType);
                      NSUUID = <8d4e24fb c97345b3 89d26400 baabea39>;
                                              },

If The Above Is Not Sufficient

Try searching for what you want here. It is a database of hidden, secret settings for NSGlobalDomain.


is there free OS X equivalent to Total Commander? is there free equivalent to Total Commander for OSX?

two panels
drag & drop
tabs
etc ect

I found DoubleCommander the best but OSX port has its bugs. muCommander is nice too but not as good as DoubleCommnader.

TotalFinder became a commercial solution not long ago: the full beta development stage was free and gave me plenty of time to test the software. It's an excellent solution, and I have seen almost every single bug disappear progressively.

Even if not a free solution anymore, its source is available on GitHub. I would recommend it on the grounds that it already works wonderfully well, and definitely deserve some support in my (otherwise freeware-oriented) opinion.

If freeware is yet a compulsory feature for you, Geekosaur's link has a few options.

Edit, 2013-01-07: as mentioned in another answer, XtraFinder looks like TotalFinder, but free.


Show image on desktop I want to show a photo on my desktop.

I don't want it to be my desktop background, or my screen saver, but I'd just like it be on the desktop so I can look at it, bigger than a thumbnail (maybe a couple of inches by a couple of inches).

What's the best way to do this? I can see how to resize every thumbnail, but that's not what I want.

I'd rather not run an app to do this - is there any way I can do this within OSX?

Geektool does exactly that

I think this is the correct download url https://www.tynsoe.org/v2/geektool/ but I‘ll recommend you to go find find it by yourself on Google or wait for someone to approve the link with an edit or a comment.


Graphic corruption in Finder when opening specific directories Since yesterday, my MacBook started to have rendering issues in the Finder app when I open specific directories.

I managed to fix some of them by removing the .DS_Store file in those directories. But now I have one that occurs every time.

Do you guys have an idea of how this can be fixed ?
I bought this macbook one week ago so I don't know what to think..

MacBook Pro (15-inch, 2017)
2,9 GHz Intel Core i7
16 Go 2133 MHz LPDDR3
Radeon Pro 560 4 Go
Intel HD Graphics 630 1536 Mo
Mac OS High Sierra 10.13 (17A405)

I have posted a solution here: How To Resolve Finder Graphical Errors on macOS

If you try that solution, Let me know how it works for you!


Scapy on Mavericks via Homebrew "AttributeError: 'module' object has no attribute 'intf'" I tried to install Scapy on OS X via Homebrew which seemed to work fine.
After installation there were some Python modules missing which I installed via Homebrew.

Now when I start Scapy I get the following error:

INFO: Can't import python gnuplot wrapper . Won't be able to plot.
Traceback (most recent call last):
File "/usr/local/bin/scapy", line 25, in <module>
interact()
File "/usr/local/lib/python2.7/site-packages/scapy/main.py", line 278, in interact
scapy_builtins = __import__("all",globals(),locals(),".").__dict__
File "/usr/local/lib/python2.7/site-packages/scapy/all.py", line 25, in <module>
from route import *
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 162, in <module>
conf.route=Route()
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 22, in __init__
self.resync()
File "/usr/local/lib/python2.7/site-packages/scapy/route.py", line 31, in resync
self.routes = read_routes()
File "/usr/local/lib/python2.7/site-packages/scapy/arch/unix.py", line 86, in      read_routes
ifaddr = scapy.arch.get_if_addr(netif)
File "/usr/local/lib/python2.7/site-packages/scapy/arch/__init__.py", line 36, in get_if_addr
return socket.inet_ntoa(get_if_raw_addr(iff))
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 187, in   get_if_raw_addr
i = dnet.intf()
AttributeError: 'module' object has no attribute 'intf'

Anyone with some ideas?

I seem to have fixed this issue for myself, I think it's due to a corrupt/buggy "egg" file. I cannot guarantee this will work for you, but I've had this problem for the last 2 months, word for word. And now, I can at least get into scapy.

First of all, I found my Python install's paths, with this command:

python -c "import sys; print sys.path"

In my case, the first few paths were various .egg files. Try removing the pydnet egg, which in my case is called PyDNET-0.92-py2.7.egg. I haven't really tested it too much at this point, but scapy boots, at least. So we know where the problem must be.


What are "dmgpart" files and what tools can create, merge, or manage them? I downloaded something that came as three large files:  One was a *.dmg (a disk image file, which I expected) and two more were *.dmgpart files, which I haven't happened to see before – I never downloaded something so large on my Mac!

I suppose these *.dmgpart files are just the parts of a single disk image, but spanning three files so each can fit within a target size for media backup purposes. For instance, the first two parts of my download were 4.3GB each, conspicuously the capacity of a single-layer DVD-ROM.

Is my supposition about *.dmgpart files correct, or did I miss something key?
How long ago were these multi-part disk image files introduced in Mac OS X?
Is there a logical limitation to the *.dmg file format itself requiring images over a certain size to be made multi-part, or is it an optional facility for spanning media only?
How can I create multi-part disk images like this? Is this supported by the standard tools (i.e. Disk Utility), or are special command-line or other tools required?
Is there an easy way to merge the parts back into a single disk image?  (One could conceive making the mistake of not copying an entire set – not a problem where only a single image file is involved.)
Is there an easy way to split an existing very large disk image into a spanned set?

Thanks!

Yes, you're correct. The hdiutil man page has a section on "segmented" files, disk images which are split across multiple files.

Note that simply double-clicking on the first file should automatically mount the entire disk image, taking the others into account with no extra work!
Looking at the old man pages, we can still see segmented disk image support way back in OS X 10.2 Jaguar. (Earlier man pages aren't available there, so it might have existed even earlier.) I'm not sure the extent of support for mounting them in the GUI, but I suspect it was functional back then as well.
I'm not sure about the maximum size of a dmg file, but the man page mentions the limit for sparse images:

  The maximum size of a SPARSE image is 128 petabytes; the maximum for
  SPARSEBUNDLE
                            is just under 8 exabytes (2^63 - 512 bytes minus 1 byte).  The amount of data that
                            can be stored in either type of sparse image is additionally bounded by the
                            filesystem in the image and by any partition map.

A sparse image expands as necessary when files are added to it, in contrast to a disk image which actually takes up as much space as you allocate for it.

Basically, with modern filesystems that support very large files (8EB for HFS+), you're much more likely to hit disk capacity constraints than anything else. It might be more convenient to split your files for network transfers, DVD distribution (as you noticed), and the like.
Disk Utility doesn't provide a GUI for creating these segments, but you can split an image using hdiutil directly from the command line. You specify the base filename and the size of each segment. An example, directly from the man page:

hdiutil segment -segmentSize 10m -o /tmp/aseg 30m.dmg

  creates aseg.dmg, aseg.002.dmgpart, and aseg.003.dmgpart.

I also found an application called DMGConverter which has a GUI for segmenting disk images.
You can merge the files using hdiutil convert, for example:

hdiutil convert firstFile.dmg -format UDRO -o output.dmg

which will automatically include the .dmgparts.
See #4.


Registered Apple Developer Agreement when under 18 When I registered to be an Apple Developer, I inadvertently did so without realizing the requirement to be 18 years of age (I was 17 and 6 months away from being 18 at the time). I did not take out any sort of paid membership at the time, however.

I am now 20, will this cause me any problems now or is it nothing I need to worry about?

You of legal age now, and meet the current age requirement of the agreement with Apple, so there's nothing to worry about.


Using Server 5.0.15 to share internet WITHOUT internet sharing I am running a mid 2010 MacMini as a server. OS X 10.11.3 and Server 5.0.15. I am connecting to the internet on the built in Ethernet (Ethernet) and have a USB to GigaBit Ethernet adapter (Ethernet 2) going to a wireless AP (WAP).

I have DHCP and DNS services configured and enabled. If I turn ICS on in the sharing control panel it ignores the DHCP service from the server, yet allows me to connect to the internet from my clients. This also breaks the local DNS unless I start changing IPs and such. If I turn it off, I get control over the DHCP server, but nothing connects to the internet.

How can I use BOTH? Or at least configure the settings on the server correctly to "bridge" the Ethernet and Ethernet 2 adapters to allow internet access to my clients?

I am looking for a NAT function someplace that is NOT the Internet Connection Sharing on the Sharing Control Panel.

Built in Ethernet config:

IP: DHCP from Cable Modem
Subnet Mask: 255.255.255.0 - DHCP from Cable Modem
DNS: 127.0.0.1 to use the Servers own DNS Service
Search Domain: My FQDN of the server.
Router: DHCP from Cable Modem

USB to GigaBit Adapter Config:

IP: 192.168.3.1
Subnet Mask: 255.255.255.0
DNS: 127.0.0.1
Search Domain: My FQDN of the server.
Router: Address acquired from DHCP for the Built in Ethernet

DHCP:

Name: Home
IP Pool: 192.168.3.2 - 192.168.3.253
Lease: 1 Hour
Interface: USB to GigaBit Adapter
Router: 192.168.3.1 - Must be on the same network as the IP Pool and Interface.
Note: 16+ IP Reservations for devices in the house.

WAP:

IP: 192.168.3.254

DNS:

Permissions: All Networks
Client Lookup: All Clients
Forwarding Servers: 8.8.8.8, 8.8.4.4

Not sure what other information to put in here, it is late and I am tired...

Ask me some questions and let me know if you have any insight into the new 5.0.15 server.app

The newest OS X Server versions don't provide any tools to enable NAT/Routing in OS X.

To get NAT working without using Internet Sharing you have to use a pf rule and create a plist to enable forwarding and load the pf rule:

Below I assume en0: the interface connected to the cable modem and en1: the interface connected to the LAN. DHCP and DNS are set up properly in the internal LAN.

Create a pf NAT rule:

Create a file named nat-rules in /private/etc/ with the following content

nat on en0 from en1 to any -> (en0)

Create a shell script named nat-pf.sh enabling forwarding and loading the pf rule. I saved it in /usr/local/:

#!/bin/sh

sysctl -w net.inet.ip.forwarding=1
sysctl -w net.inet.ip.fw.enable=1

#disables pfctl
pfctl -d

sleep 1

#flushes all pfctl rules
pfctl -F all

sleep 1

#starts pfctl and loads the rules from the nat-rules file
pfctl -f /private/etc/nat-rules -e

Create a plist named org.user.natpf.plist with the following content and save it in /Library/LaunchDaemons/ to execute the above shell script at start-up:

<?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>Disabled</key>
    <false/>
    <key>KeepAlive</key>
    <dict>
        <key>SuccessfulExit</key>
        <false/>
    </dict>
    <key>Label</key>
    <string>org.user.natpf</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/nat-pf.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StandardErrorPath</key>
    <string>/tmp/org.user.natpf.stderr</string>
    <key>StandardOutPath</key>
    <string>/tmp/org.user.natpf.stdout</string>
</dict>
</plist>

All three files need a trailing empty line so don't simply copy the above code/lines.
Modify ownership and file modes:

sudo chown root:wheel /private/etc/nat-rules
sudo chown root:wheel /usr/local/nat-pf.sh
sudo chmod 755 /usr/local/nat-pf.sh
sudo chown root:wheel /Library/LaunchDaemons/org.user.natpf.plist

Load the launch daemon:

sudo launchctl load /Library/LaunchDaemons/org.user.natpf.plist

After testing everything you can delete the following part in the plist:

    <key>StandardErrorPath</key>
    <string>/tmp/org.user.natpf.stderr</string>
    <key>StandardOutPath</key>
    <string>/tmp/org.user.natpf.stdout</string>

org.user.natpf.stderr provides error messages to debug your plist.
On my local router I had to add a static route:

192.168.3.0/24 (the internal network) -> 192.168.0.2 (Mac mini IP-address of the external interface connected to the router)

This last step may not apply to your network environment!


How to download Microsoft office 2016 or some equivalent? I am rookie with mac.
I need to open Excel, Word and maybe I forgot about something else, but this two I really need.

After I look throw internet as far as I understood the most useable for this case it is Microsoft office. I found some video tutorials how to download it for free, but links that were provided by that tutorials now are disabled.

Could you please give me advice should I buy Microsoft office or maybe there are some other app?

Thanks in advance!

Try the free office clone LibreOffice

http://www.libreoffice.org


New drive + new OS, but will Time Machine restore old OS? I have a 2011 MacBook Pro and it was running OS 10.7. I use Time Machine regularly. Just had the harddrive replaced with an SSD and OS 10.11. If I restore from Time Machine instead of Migration Assistant will the restore revert to the old 10.7 OS?

If I use Migration Assistant to pull files from Time Machine, what will I lose? Apps? 'Date created' metadata?

(It's possible I haven't understood enough to state the question clearly.)

Using Migration Assistant is the same as restoring from a Time Machine backup. Restore data from your Time Machine backup will not change the version of OS X that you are running (i.e. you will remain at OS X 10.11 regardless of the version of OS X that created the backup).

You lose none of your information or metadata. You will not restore any system files, but all other files from your backup will be restored, including but not limited to files you created and saved, along with their metadata (date modified, etc).


Mac App Store and multiple OS partitions I recently set up an additional Lion partition in addition to my existing partition for development reasons.

I was in the process of installing apps on this new volume through the Mac App Store, when I realized that it would not let me install apps that I had installed on the older partition.

For instance, when I was trying to install Twitter.app, since it exists on my older partition, the App Store lists it as "Installed". This prevents me from installing it on my new partition.

Is there a hidden preference that would limit the App Store to only search the boot volume for installed apps? Is there a better way to manage installations across multiple volumes using the App Store?

At present the app isn't set up to restrict its spotlight search to any specific volume. That behavior falls as a natural consequence of "the Mac way"  of letting an app reside anywhere and still run.

You can use disk utility to unmount that volume when it's time to install or update as a workaround.


I did a software update & now I can't open Mail I get the following message when I try to open mail

'You can't use this version of Mail with this version of Mac OS x
You have Mail version 4.5 (1084/1085). It can't be used on Mac OS X version 10.6.8 )build 10k549)'

I have read the help info

I have made sure Mail.app is in the application folder

Thanks for any help with this

Since you state Mail.app is already in the Applications folder, follow these additional steps:

Download Safari 5.1.7 for Snow Leopard
Reinstall the Mac OS X Update v10.6.8 Combo v1.1
Reinstall Safari 5.1.7 for Snow Leopard
Reinstall Security Update 2012-004


Shortcut to install Applications? Sometimes when opening up a .dmg, the application is just sitting there itself, with no handy alias to /Applications. To copy it over, I need to open a new Finder window, switch to /Applications, and then drag and drop the app in.

Is there an easier way? I would love it if there was a keyboard shortcut that would copy the selected app into /Applications. How can I make this work?

The simplest way is to just use the ⌥⌘S shortcut to show the Finder sidebar (which has the Applications folder by default), and drag the app there. You can then use the same shortcut to hide it if you prefer.

If you wanted a unique shortcut for copying a file to the Applications folder, you could make a simple service using Automator:

Open Automator, and create a new workflow, as a Service.
Set the options to Service receives selected files or folders in Finder.
Add a Copy Finder Items action, and set the destination to the Applications folder.
Save the service, and give it an appropriate name.
Open Keyboard Preferences, select Services under Keyboard Shortcuts. Find the service you just created, and assign it a shortcut of your choice.

If you wanted to get fancy, you could expand the service to automatically eject the disk image afterwards, but I'll leave that as an exercise to the reader.


Resizing APFS container and partition I was tring to increaze the size of the Windows 10 Boot Camp partition with Disk Utility but I made a mess. I decreased the Mac partition with Disk Utility which created a new partition.

After that I wasn't able to boot in Windows 10 anymore. Now Disk Utility can see only half of my 1 TB hard drive.

I can't make bigger the container of 498 GB and reinstall Windows 10 with Boot Camp!

Pupo-MacBook-Pro:~ max$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         498.9 GB   disk0s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
   4:                 Apple_Boot Boot OS X               134.2 MB   disk0s4

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +498.9 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Mac                     76.1 GB    disk1s1
   2:                APFS Volume Preboot                 23.2 MB    disk1s2
   3:                APFS Volume Recovery                507.4 MB   disk1s3
   4:                APFS Volume VM                      4.3 GB     disk1s4

In a YouTube video I understand in Mojave I have to use something like this to resize:

sudo diskutil apfs resizeContainer disk1 / R
sudo diskutil resizeVolume / R

but it didn't work!

I'm a newby, no experience at all. first time I open Terminal on Mac! Does anyone can help?

Try the commands given below.

sudo diskutil eraseVolume free none disk0s4
sudo diskutil eraseVolume free none disk0s3
sudo diskutil apfs resizeContainer disk0s2 0

The partitions with the identifiers disk0s3 and disk0s4 are of the type used for (pre)boot and/or recovery volumes. I assume these partitions are left over from some previous macOS installation(s). You no longer need these partitions since the APFS container has both (pre)boot and recovery volumes for the version of macOS you are currently using.


Can a deteriorating battery cause screen flickering? [Early 2015 macbook pro retina] I have a early 2015 macbook pro with a Retina display. I'm at about 950 charge cycles, and have had the "service battery" indicatory since last summer.

I noticed that occasionally my screen does this flickering thing. It happens maybe a few times a day. Each time it "flickers" is usually just a single off/on cycle. Could this be associated with the battery? Or could be having some other hardware component issues?

I've reset my SMC a few times since last summer, but it didn't solve the flickering.

You have two distinct problems:

Battery Issue.

You've already diagnosed it - 950 cycles and the service battery indicator pretty much says it all.  From 2013 on, you'll have to replace the top case because Apple glues them in, but the battery can be replaced quite inexpensively.
Display Issue.

The flickering can be caused by a number of things like a logic board issue, a faulty connector, a bad LCD, etc.  I would try running Apple Diagnostics by holding D  while booting from a powered off state to see if you can get a diagnostic code however, chances are you're going to have to take/send it in for service.

A battery, generally, will not cause issues like this because it doesn't dump "raw" power directly from the battery to the logic board.  It actually goes through some circuitry to "level" everything off and split it out into the correct voltages the system needs (12V, 5V, 3V, etc).  If the battery was causing the problem, you'd see it everywhere on your Mac, not in just one place.

That said, to diagnose properly, you would disconnect the battery completely from the logic board and see if the problem exists on power only.  If it shows up, you've got your answer.


Installer App Missing from App Store So I am installing a new 1tb hard drive in my late 08 uni. This is a fresh install of both the hd and OS - I'll port any files I need at a later date. I'm running El Capitan on my current hard drive.

I need to create a bootable installer to first load onto the new hd so I can then install the OS.

I'm instructed to download the "macOS installer app" from the App Store, but this app cannot be found. Nothing comes up in this search. At all.

I'm at an impasse at this moment. Does anyone see a solution or know the problem?

"macOS installer app" is Sierra, all prior OSes were "OS X".

A unibody can't run Sierra [macOS].

You need El Capitan [OS X], which can be downloaded from the App Store [though it's difficult to actually search for], especially kept live by Apple because of the 'break' in OS support that happened at Sierra.

See Apple KB: Upgrade to OS X El Capitan which gives links that will open the correct location in the App Store app.

...or try this direct link


Preview - Export to PDF without margins Preview (like most Mac apps) can print to PDFs, and even has a shortcut for this functionality via a menu option Export as PDF.... I have a scanned document in .tiff format that I'd like to convert to a PDF, but using the option above yields a PDF with large margins around the image file. Is there a reason why this is happening? More importantly, is there a way to suppress these margins?

If you don't want any borders, create a custom paper size and change margin size to 0 as shown below:

Name your custom paper size, use it and create PDF.


USB drive works only in one port I have an old Kingston 2 GB USB flash drive.  I believe it was bought in 2006.

When I plug it into the right hand side USB port of a 2012 retina MacBook Pro, nothing happens. When I plug it into the left hand side port, it works fine.

Does this indicate a problem with the computer and its ports?  Does it indicate a problem with the USB drive?

All other devices I tried worked with both the left and right hand side USB port.

System Management Controller (SMC)

Reset the SMC by following the instructions below, that should restore the power to the port:

1.Shut down the computer.
2.Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
3.On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
4.Release all the keys and the power button at the same time.
5.Press the power button to turn on the computer.

Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.


Almost all Functions in Numbers on MacOS Give Me Syntax Errors Almost all functions I try to use in Numbers give me a syntax error with no explanation what is wrong (red triangle with exclamation mark, only says "The formula contains a syntax error." when clicked). I'm on MacOS, NOT in the iPad version and have version 10.3.5 on Big Sur.
I tried UPPER("foo") and it displays FOO. So this gives me confidence that I know how to invoke functions.

results in

However then I actually wanted to use the find function. I try FIND("e", "where on earth") which is literally copied and pasted from the function help. All it does is give me an error.

results in

As said, all it gives me for details is this:

For reference the function help says in the example section

Examples
=FIND("e", "where on earth") returns 3 (“e” is the third character in the string “where on earth”).

Surely it must be something very basic I'm missing. When I copy and paste the same function in, say, Google Sheets, it's working perfectly.

Try using ; as a separator between parameters instead of ,.
If you start typing the function name in a cell and let it autocomplete you should also be able to see which separator will work and how the function should look.
It seems that in locales with a comma as a decimal point the separator for functions is different. The same thing happens in Microsoft Excel which is why I knew to look for it.


Unable to revert changes to hosts file in OS X Lion I edited the hosts file and added:

10.0.0.1  devsys.crossreader.net

Later I commented out the entry:

#10.0.0.1  devsys.crossreader.net

When I ping or browse to devsys.crossreader.net the returning IP is still 10.0.0.1. I tried to flush the dnscache, and even rebooted but that didn't work. Why does this happens?

here is the entire hosts file

###############
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost
#10.0.0.1 devsys.crossreader.net

Since your /etc/hosts is not the problem, the logical conclusion is that your DNS server is responding with that IP address, or you aren't using the DNS server you expect. To verify this, paste this into Terminal.app:

host -a devsys.crossreader.net


Multiple users working remote on one mac? we want to develop some iOS apps in our company. Since we use windows-pcs, we think about buying only one Mac and all working remotely from our windows machines on this single Mac. Is this possible? What type of Mac do we need for this scenario (Mac Mini or something bigger?). It would be enough, if only two users could connect at the same time to the mac.
Or do we have to buy a Mac for every developer in out team?

Thanks
Konrad

If your plan is development using Xcode , then forget about multiple users on a single mac, because of 2 reasons

Multiple instances of XCode will make the system slow ,
even if you solve issue 1 buying adding lots of RAM and a powerful processor, the iOS simulator won't allow us to run more than 1 instance at a time.

So developers will face issue while developing. The best option for you for to reduce initial cost is go for multiple mac mini's with non-Apple displays and keyboard.

Hope this helps


Setting Preview layout I usually use Preview to read my PDFs. Usually, the files are very long and I have to jump from, let's say, page 20 to page 200 continuously. Is there a way to set the Layout to two Columns or two Rows such that I can read page 20 in one side and page 200 to the other side within the same PDF file opened?

I am trying to do the same thing I do with Sublime Text ( View > Layout >  Columns:2 ) which is able to do so.

will not take merit for someone else suggestions... here they give at least two good advices:

https://superuser.com/questions/794877/how-do-i-read-a-pdf-in-2-simultaneous-views-split-view-mac


How to change some information in a shell prompt. I opened my terminal and saw a shell prompt.

 Last login: Fri Feb 15 15:28:16 on ttys000
 john:~ voloda2$

How do I change john to alex?

Add the following line to the end of your ~/.bashrc:

export PS1='\u:\W \$ '

Your prompt should now be voloda2:~ $, which is your username, a colon, the current working directory, and a $ if you are a regular user, or a # if you are root. For more prompt customization options, type man bash or visit here for a full list of options.

If you just want to change john to alex, then use export PS1='alex:\W \u \$ '. john is the name of your computer, so if you have appropriate administrator privileges open System Preferences, select Sharing and change the name to whatever you want, and your prompt will automatically update. However, if you are on a network, at work, or using a shared computer, talk to your local system admin before doing this.


"All My Files" option in Open/Save dialog get 100% CPU on Mountain Lion for a couple of minutes? "All My Files" option in Open/Save dialog get 100% CPU on Mountain Lion for a couple of minutes?

How to solve this?

Mainly this happens twice: once before drawing anything on screen and once again after displaying the files.

After about two minutes you can use the dialog, but the problem reapers every time you click on All My Files.

I do have a SSD+HDD setup on my machine. Console does not say anything interesting.

This might be caused by the general slow spotlight problems with OS 10.7.5 and 10.8.2.  What version of Mountain Lion are you running?  How long has this been a problem?  If you're running 10.8.2 you might try this workaround.


How to use iPhone to send Bluetooth to a speaker playing the music from my PC HDD? I have a PC which has no bluetooth and want to play music this PC to a bluetooth speaker using my iPhone as the bluetooth sender.  PC and iphone could be connected via usb cable or wifi that is not a problem.

You can't use your iPhone as a receiver of music (either from wifi or cable) from your PC in the manner you appear to indicate.

However, if you have iTunes installed on the PC, you can use iTunes to access your music first.  Then, use the iPhone to access the music through iTunes.  Once you've got the music playing, you can output it to your BT speaker.  It's actually much simpler than it looks in print!

You would need to setup your devices to use Home Sharing.  Start by following the guide in this Apple Support page on Home Sharing.  All devices must be on the same network for this to work.

Here's another walk-through on how to set this up and it might be a little easier to follow.

The benefit of this setup is when you add more devices, like Apple TV or an iPad, they can also access this same music using Home Sharing.


Which ios devices support offline speech recognition Which ios devices allow a user to do speech recognition (the microphone in the keyboard to type) when there is no internet connection (or a slow connection).

My brand new iPad mini cannot do it but some other devices can.

Is there a list or some other way to know?

It may be only those devices with the A9 processor.  If so, that would be iPhone 6s, 6s+, and iPad 7th Generation.

It seems logical that the A10 (iPhone 7, 7+) would also do it, but I don't know.


How do I copy text from vi? I installed zsh, and I'm using vi.

I want to copy a line from vi to somewhere else.
How may I do this?

Position the cursor where you want to begin copying.
Press v (or upper case V if you want to cut whole lines).
Move the cursor to the end of what you want to copy.
Press y.
Move to where you would like to paste.
Press P to paste before the cursor, or p to paste after.

Source: http://vim.wikia.com/wiki/Copy,_cut_and_paste


Do I need a step down transformer to charge my Iphone 4 in the UK? What wattage transformer is safe? Do I need a step down transformer to charge my Iphone 4 while traveling in the UK? What wattage transformer is safe to use with my Iphone 4?

The UK iPhone charger give 5V DC at 1A (so thats 5W) on an input of 100-240V 50/60Hz with a draw of 0.25A

If you have the older two part chargers for iPod or iPhone 1st Gen, then they are fully 100-240V for all world supplies, all you need is the right connector (figure 8) to provide the AC to the charger.

If however you have the newer chargers that shipped with the 3G/3GS onwards, even though they are also 100-240V universal chargers, the pins are moulded into the chargers and you will need a plug converter.

So no you don't need a step down transformer, but you will need to provide a pin convertor.


How to find exact location of my lost iPhone I lost my iPhone.

I used Find My iPhone.

It is located in a furniture store which I have visited today.

I want to know where exactly is my iPhone located.

I have my portable WiFi hostspot and I can see that my lost iPhone is connecting to the WiFi hostspot.

But still this is not enough, I could not find it.

I used play sound, but unfortunately, I cannot hear anything. It appears that the sound played by iPhone is too low to be beneficial in such circumstances .

Is there an app that let me know the exact location of a devices connected to my WiFi or to my HotSpot?

There is no app to do what you want. The accuracy of the GPS used by "find my phone" is not good enough to tell you where the phone is with the accuracy you desire. I would go back to the store and tell management what you are doing and then try calling your cell phone number. Maybe the phone's ringing volume is loud enough to hear. If you don't have access to another cell phone maybe you can use the store's phone to call.


Lazily mount network file systems We are using Macs in an educational environment and because of serving more students, than we have workstations available, we bought a couple of MBPs to compensate it. This implies a bunch of issues one of the minor ones is the following issue.

To allow users to use there managed accounts. I'd like to give a try to OS X's mobile users. A first test run brought up the issue, that automatic network mounts are verbosely unavailable. Technically, this is no problem, but the verbosity is an issue in usability. The users might be irritated by an error message because of the failed auto mount. But on the other side, they need their icon on the desktop to access the share.

Setup:

Server: OS X 10.8.5, Server.app (2.2.5)
Clients: MBP, with OS X 10.10.4, network access via wired and wireless (if plugged in, wire is preferred to wifi)

Questions:

Is it possible to mount a network share lazily (i.e. providing the icon on the desktop and attempt to mount it, if it is needed/accessed)?

…or…

Is it at least possible to fail silently?

Any hints are appreciated, but out of the box solutions are preferred to hacking via scripts.

autofs and automount

Consider using autofs directly to handle the lazy mounting and unmounting of network drives. The automount manual page explains more.

Apple published Autofs: Automatically
Mounting Network File
Shares in Mac OS X to help administrators set autofs up.

autofs has the benefit of being silent to the user and connects on-demand, instead of at login.

I published setup-autofs to help a customer set up an autofs based connection between their Mac and a Windows shared drive. Once set up, the autofs approach has been resilient.


How can I identify the chipset of an (old) MacBook? I am not a mac person, but I am trying to buy a used MacBook for XCode purposes and I want to figure out how much RAM it can take. However, I am having trouble identifying the chipset in the MacBook.

The computer is listed as being a May, 2007 white MacBook with a 2.4Ghz Intel Core 2 Duo processor.

I found a FAQ online which states states that there are two Intel chipsets which this MacBook could have, the Calistoga chipset which supports up to 3.3Gb of RAM or the Crestline which supports up to 4Gb (maybe 6Gb). Then it states that, "To find out which C2D MacBook you have you can check the FSB clock or the GPU: If you have a 667 MHz FSB and a GMA 950 you have a Calistoga C2D MB. If you have a 800 MHz FSB and a GMA X3100 you have a Crestline C2D MacBook."

However, the specs listed for the computer do not match either of these descriptions. For the GPU, it states
"Video
Graphic Processor:  Intel Graphics Media Accelerator (GMA) X3100
Installed Video Memory: 64 MB," which would imply that it uses the Crestline chipset and can support 4Gb RAM. However, for the mobo FSB it states "Motherboard Bus Speed:   667 MHz," which would imply that it is a Calistoga board which only supports 3.3Gb of RAM.

I attempted to look up the exact computer to see the specs on everymac.com, but I was unable to find the correct model. Every listing for a white 2007 MacBook on that website said it had the GMA950 GPU, not the X3100. Additionally, the computer for sale says it has a 2.4Ghz Intel Core 2 Duo processor (there is a picture of the "About this Mac" window) and that isn't listed as an available option for any 2007 MacBook.  (Since the specs are automatically generated based on the date the seller enters, perhaps it is not actually a May 2007 MacBook? I don't know if macs are overclockable but it is definitely running at 2.4Ghz)

The RAM is definitely 667Mhz DDR2, as that is listed in the same picture from the actual computer screen as the processor speed. The hard drive was upgraded by the user and thus cannot be used for identification purposes. The computer is running Lion. Can anyone provide any assistance in identifying which chipset is in this MacBook?

To clarify: If the specs generated based on the May 2007 date are wrong, the only specs I know for certain are that it has a 2.4Ghz Intel Core 2 Duo processor and it currently has 2 GB 667Mhz DDR2 SDRAM, because these are shown in the screenshot. However, the seller says he upgraded the RAM himself, and that it initially came with only 1Gb of RAM.

The first MacBook to fully support 4GB of RAM (with unofficial support for up to 6GB) was the MacBook (13-inch Late 2007). This was also the first MacBook to feature a 800MHz FSB and the GMA X3100 graphics chip.

I'd be interested to know where you're getting your system specs from, but I'd suspect that somewhere along the line the FSB and RAM speed are getting confused.

Check your system's specification from the System Profiler application found in /Applications/Utilities. Under the Hardware section look at the "Model Identifier".

If you get MacBook3,1 then you're in luck - that's the newer (Late 2007) model with greater RAM support and graphics. Anything prior to that (Macbook2,1 or MacBook1,1) and you're looking at (approx) 3GB limit or even 2GB (for the very first gen model).


What are the weights of the San Fransisco font? What are the weights of the San Fransisco font?
More specifically: standard (not compact)

I'm pretty sure it's different for the two types (display and text).
I'd like to know both.

Ah, I've got the solution:

In text:

Light
Regular
Medium
Semibold
Bold
Heavy

In display:

Ultralight
Thin
Light
Regular
Medium
Semibold
Bold
Heavy
Black


Purchased/Rented movie is not played I have purchased/rented a movie (SD) and it is not playing... I have downloaded 1GB and the alert "ready to play" does not appear. Besides this, a doubleclick opens the Quicktime window and the player icons, but the movie does not start. The correct time is displayed and when I scroll the timeline I can see the pictures, but the play-button does not start playing the movie... I have the same problem with another movie :-(

EDIT: I used the native Apple iTunes Store (is there any other store?!)

Try setting your computers clock a day in advance.

I have seen a time-zone issue where the the movie won't play until the computers clock is set to the following day.

Give that a try.


How do I map the keyboard media control keys to switch tabs instead? These days I get all my music needs from streaming websites, so the media keys on my keyboard are basically useless to me:

I want to map them to cmd+[ and cmd+], which is the shortcut to change tabs across many mac applications (Chrome, SublimeText). Can this be done and if so how do?

You can use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__ConsumerToKey__ ConsumerKeyCode::MUSIC_PREV,
    KeyCode::BRACKET_LEFT, ModifierFlag::COMMAND_L | ModifierFlag::SHIFT_L</autogen>
    <autogen>__ConsumerToKey__ ConsumerKeyCode::MUSIC_NEXT,
    KeyCode::BRACKET_RIGHT, ModifierFlag::COMMAND_L | ModifierFlag::SHIFT_L</autogen>
  </item>
</root>

For some keyboards you might need to replace __ConsumerToKey__ ConsumerKeyCode::MUSIC_PREV with __KeyToKey__ KeyCode::VK_CONSUMERKEY_MUSIC_PREV.

See the source for the key code values and predefined settings.


How do I get drivers for Windows 10 x64 installed on my Mac? I've just installed windows 10 x64 on my mac, a partition that I made with Disk Utility. I was going to use BootCamp however the way BootCamp formatted the partition in El Capitan didn't allow Windows to be installed (I believe it was because of not formatting it correctly).

So now I've got it all installed however the drivers aren't (headphones and Wifi don't work; plus I'm not sure it's using my graphics card either).

How do I go about installing the drivers I need for this version of Windows?

Remove the partition and installation you made and go back to the BootCamp way. Then, inside the Windows installer, format the partition BootCamp makes for you, that is an extra step that is needed. Then, you can install Windows 10. I'd suggest using a USB stick to prepare the Windows 10 installation so that Drivers are included automatically.

If you do not want to follow this strategy, there is an option to download the BootCamp drivers separately, either from Apple's site, or from within the BootCamp utility on OSX, from one of the top menu's or the default assistant screen. The menu is called Action and has only one option: Download Windows Support Software. Once you have it downloaded, copy it over to a FAT32 USB stick so Windows can read it and your Mac can write it. exFAT might possibly work too. Reboot in to Windows and then open the bootcamp setup program form the directory you just downloaded and follow the on-screen steps.


Where to find files like pictures and music from Mac hard drive? So my father has a Mac that doesn't boot so I'm copying files from the hard drive to a USB. I am not a Mac user and am having difficulties finding where all the files like pictures and music would be stored. I would appreciate if people explained where I can find his desktop, music, and such. I am accessing the Terminal from the recovery section.

If the defaults are in play, then the path to the Users folder of the Macintosh HD when booted from the Recovery HD is:
/Volumes/Macintosh\ HD/Users

Update Note: At the time this was originally posted it was accurate as stated, however, since macOS Catalina the actual physical location is '/Volumes/Macintosh HD - Data/Users'. That said, either path can be used to retrieve user files from.

Within that, the Users directory at the above path, there will be Shared directory and at least one other, which would be your fathers.
It is within that directory you'll find:
Desktop
Documents
Downloads
Movies
Music
Pictures

Etc.

If you are doing this from macOS Recovery, I would probably opt to make a Disk Image of the target Users folder using Disk Utility > File > New > Disk Image from Folder.
Then at least you could do it using a GUI and it would retain all the meta-data too.
Note however, if you have removed the HDD/SSD and have it in an external enclosure connected to another computer, then the path to the Users folder is just /Users, meaning in the root of the volume.


OSX Yosemite bootable usb drive circle slash ("no" symbol) I have a Late-2011 Macbook Pro (4GB RAM) that has been running slow for several OSX cycles, and since Mavericks it's been unbearable (spinning beachballs whenever you do anything). I tried upgrading to Yosemite hoping this might improve performance; no dice. I've decided to try clean-booting Yosemite to see if this improves things.

I've been following instructions here to do a clean install and here to create a bootable flash drive. Drive creation seems to work fine: it has the correct GUID partition table, terminal command exits with the copy complete; done output, the disk shows up in the Finder as "Install OSX Yosemite", etc. When I restart the computer holding Option, the installer shows up as a bootable disk (unlike the question here).

My problem is that when I then click on the installer, I get a loading bar for some seconds and then the screen goes to a circle with a slash through it. It's the same behaviour detailed here but note that I have verified that my disk has the correct GUID partition table. I also tried resetting PRAM, to no effect.

Any suggestions welcome.

The boot problem seemed to have been related to a disk error on the hard disk of the mac. I ran the disk utility and it detected a problem with the macbook's HDD (something with doubled file links), which it then repaired. The computer was still slow and unresponsive after the disk repair. After that the boot from the USB worked fine, and I was able to clean install OSX Yosemite.

I recovered the computer from my time machine backup, excluding applications, and now the computer is noticeably faster and more responsive. I don't know whether a specific application or accumulated OSX sludge was responsible for the slowdown, but I'm happy I went through the pain of the clean install.


Adding "Delete" and/or "Mark as read" to mail notifications in Mavericks By default maill.app notifications has two buttons. One for replying to the email and the other one for closing the notification. This is very nice, although, I was wondering if there is any way that I can add either (or both) of the "Delete" and "Mark as read" buttons to the mail notifications. Applescript, hacking some settings, third party apps or any other ways are fine, however, I prefer some native built-in solutions.

There is a free app called Herald which does have a Mark As Read button which I have used for a bit now and I can recommend as a stop-gap.

I dug around some plist files to see if anything related to this already exists. No luck, sadly. I also sent feedback to Apple using the link grgarside provided, if others do the same it may actually result in something!


Can I restore an iPhone 5S Backup with 7.0.4 on to my iOS 8.3 iPod Touch 5G? My iPod touch got stuck in a screen and it says to connect to iTunes, and the only backup I have is an iPhone 5S 7.0.4 backup. I don't want to break anything. Will it work?

Yes, this works fine. Device backups are interchangeable between device models, including iPad ⇔ iPhone.


Brew cask. Hold Skype update You know new Skype even for Mac is written on Electron and working slow. But old native version is still working.

Unfortunately brew cu -a https://github.com/buo/homebrew-cask-upgrade updates it to new one. Is it possible to hold version of this package (disable update) like aptitude hold package in debian?

The homebrew syntax would be "brew pin skype", unfortunately, there is no "pinning" in "brew cask" - so, no.


iOS 13 not recognizing contacts with country code This morning I downloaded brand new iOS 13 (Official Release) and found it very cool, specially dark mode.

The thing is that I started receiving calls and the contact names are not being identified, Ive found out that this is happening cause some contacts are registered with country code, for example:

In above image my friend Antonio is registered with country code: +52 1 (55) etc...

Before iOS 13 the number was formatted with parenthesis but now it doesn't.

And before iOS 13 the call identifier perfectly recognizes all numbers with that format, but now it doesn't either:

Coincidentally this exact thing happened to Antonio on his own iPhone so I suppose maybe its a very common issue.

Am I missing some new configuration or what can we do? Thanks.

I would engage Apple support using the iOS support app. They would be able to confirm this is a bug or possible document the setting no one has discovered yet to remedy this.


How to compile/build DownZemAll from source? I have recently come back to using a Mac and want to use a download manager (DownZemAll https://setvisible.github.io/DownZemAll/) that I was using on Windows. While the website says it is "for Mac OS X", there is no actual installer available.
I have Xcode and Homebrew installed, but have searched online for instructions on how to compile/build without success.
I am using Catalina, if that helps any. Thanks.

The process seems similar to that on Linux.
See DEVELOPERS.md in the source code you can download from https://github.com/setvisible/DownZemAll/releases > assests > source code.
Jump straight to the section named "Build with GCC or MinGW"
Install the requirements Boost and Qt5. Use brew to install them to stop the files from being scattered all over the place. Also it'd be easy to locate the file paths you'd need later.
Unzip the source code folder.
 cd ~/Downloads/DownZemAll
 mkdir ./build && cd ./build

Now edit 3rd/boost/CMakeLists.txt. Just below the line find_package(Boost 1.58.0), add another line, set(Boost_INCLUDE_DIR "absolute path to boost libraries").
Now in terminal, assuming you're in build folder, run
make -S ../ -B . -j 4
make install

Run tests if you wish.


How to change the default language of Facebook share page on iPad? Whenever I want to share something on Facebook using another app on iPad, the Facebook login page show in Chineese.
I can change this by choosing English at the bottom of this login page but after I login the following pages would be still in Chineese.

How can I change the default language?

Did you try to set your default language on Facebook on English (in account parameters) ?
What is the language you use on the iPad and on Facebook right now ?

EDIT : after some tests it's seems that is more Facebook API related (because the problem is on several apps at a time).
Either developers don't call correctly the Facebook login, or it's a bug.


Can I have multiple monitors on my MacBook Pro (Early 2011)? I have a MacBook Pro (13") from Early 2011 and want to use 2 external monitors (And not the actual display). I've seen the Matrox, but that appears to make one BIG display out of 2 monitors, so I can't really have 2 desktops.

Is there any way for me to have 2 external displays and have them recognized by the OS?

If you want a cheaper alternative to running two Thunderbolt Displays, you can add a second monitor (in addition to one off the mini-Displayport) try a USB Displaylink adapter, like this one from OWC (there are other brands, any one using the Displaylink technology should work).

The performance won't be as good, but as long as you're not doing anything involving lots of 3D, it should be acceptable.


Opening of encrypted sparse bundle in El Capitan very slow I have a 76GB encrypted sparse bundle on the rMBP SSD drive. Mounting it by double clicking it in Finder was pretty much immediate in Yosemite.

With El Capitan a popup appears with "Verifying 'name of sparse bundle'" and a progress bar. The progress bar shows no progress and after fifteen minutes or so the popup disappears and the password entry dialog box appears. After the password has been entered the sparse bundle is finally mounted.

When I run the Disk Utility First Aid function on the mounted volume it finishes in a few seconds and reports no errors. Console does not seem to show any related messages during the mounting.

Is there any reason why this popup appears and is there a way to circumvent it? Fifteen minutes to mount a volume is just not practical.

I also had a sparse bundle that was very slow (>1 minute) to mount, but I solved this (it now mounts in seconds) by turning off automatic file system checking. Before I figured it out, this would happen:

hdiutil attach -verbose ~/the.sparsebundle paused at this line:
Checking volumes…
and it would appear in Activity Monitor as hdiutil using 100% CPU, for over a minute at a time, depending on connection speed.

To speed things up, pass the noautofsck option to hdiutil, like so:
hdiutil -noautofsck ~/the.sparsebundle

Or if you are mounting any other way, set the system preference:
defaults write com.apple.frameworks.diskimages auto-fsck -bool NO

It is possible your update to Sierra resulted in a default being reset and/or a bugfix, per the hdiutil man page:

  By default, only quarantined images (e.g. downloaded from the
  Internet) that have not previously passed fsck are checked.

You could turn off the automatic file system checking and then check the output of diskutil verifyVolume /Volumes/theSparseBundleVolume occasionally, as a balance between data integrity and convenience. Keep in mind, that diskutil command will unmount your volume.


iPhone 7 Plus running iOS 13.6.1 not supported by Xcode 11.7 An app I developed works fines with my iPhone 8 running iOS 13.6.1. But when I go to test it on another phone, I receive this error: "This iPhone 7 Plus (Model 1661, 1784, 1785, 1786) is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7."
I looked at upgrading to Xcode 12 but apparently it's still in beta?
Any suggestion on what's needed to make this combination compatible?

Seems that Xcode 11.7 is missing some files.
This topic has helped me: https://developer.apple.com/forums/thread/659166
Or try to upgrade your iPhone 7 Plus to iOS 13.7.


Do I need to be enrolled in Apple Developer Program to publish apps as a part of organization I have an apple account that is NOT enrolled in Apple Developer Program. I became a member of another organization using their invitation and they gave me the role of "Admin" in iTunes connect.

However, I do not see the option of publishing application to app store from iTunes connect when I am logged in using my apple account.

Question:

Do I have to pay 99 bucks to be able to publish apps on app store even though my apple account is a part of this organization.
If 1 is true, then why is apple charging me again even though the organization have already paid them.

You do not need to be enrolled in Apple Developer Program personally if your Apple ID is a member of an organisation which has already enrolled. Speak to your organisation if you seem to be unable to publish apps under their program membership.


Blocked websites on Safari I was using a public WiFi spot at the airport and noticed that certain websites on Safari were being blocked. I was able to go to these websites when I used my own data, but I have limited data so is there a way to bypass this?

Public WiFi hotspots, especially free ones, tend to block certain sites just to limit bandwidth usage or potential liability issues. Workaround number one you have already found: use your own cellular data, which is not always an ideal situation.

VPN software is sometimes a good solution to this depending on if the public WiFi allows VPN connections. If it does you can get one that supports iOS (I use TorGuard but there are hundreds of others) and use that to bypass the limitations of some public WiFi hotspots.

Note: depending on what you are trying to do online that WiFi hotspot might see you sending and receiving large amounts of data (Netflix, YouTube, etc.) and block your MAC address and you are, again locked out of that particular WiFi hotspot.


How to access apple support forum on "This username ... is already taken, please choose another. Another has been provided" message? See screenshot: This username "***" is already taken, please choose another. Another has been provided.

If I enter a different forum username it tells me that the account is already associated with another user ID (I suspect the first one I tried).

How am I supposed to continue?

Go to Apple ID support web page at http://www.apple.com/support/appleid/ and use the contact support button.

Your account is in a state where the tool can't let you continue and you may need a human on the other end to know what exactly to do. A search of the public knowledge base shows nothing that you should do in this case.


How to accept incoming network connections in OS X 10.11 El Capitan? After logging in the following message appears:

Do you want the application “Microsoft Word.app” to accept incoming network connections?

How do I allow Word to accept incoming network connections in El Capitan?

Because of your builtin OS X firewall.

Go to System preferences -> Security -> Firewall and add "Word.app" in the "Firewall options" as exception.


Slow network transfer to linux fileserver I have a raspberry pi with raspbian installed and an external hard drive attached. File transfers to it using my mac laptop with Mavericks installed is exceptionally slow, around 300 kilobytes per second. Using my linux laptop I generally see file transfer rates of around 2.5 to 3 megabytes per second. I have seen similar speeds using samba, ftp, and scp.

I did some research and found Mac OS X's default network settings didn't always work well with other platforms. I used the settings found on https://rolande.wordpress.com/2010/12/30/performance-tuning-the-network-stack-on-mac-osx-10-6/ but it did not solve my problem.

Any ideas how I can improve file transfer speeds to and from my mac?

Use iperf to check the raw speed between your Pi and your Mac (if that's slow you have other problems). Further, check what speeds you get between your Linux laptop and your Mac to further help diagnose issues.

Note: you should not base maximum speeds on what scp can do - encryption has an overhead so you are not only taxing your network card you are also (heavily) taxing your CPU too (and for a Pi CPU will be a bottleneck).


Arc Touch Mouse SE won't reconnect on 10.10, mods to blame? I have an Arc Touch Mouse SE (Bluetooth edition of the Arc Touch Mouse) and though I remember long ago it worked for the most part in 10.9, it doesn't seem to work in 10.10 and I'm trying to determine if it's one of the 'mods' I've installed that are to blame.

Here's how it works right now: I have to delete it from Bluetooth preferences if it exists already, and manually pair the mouse to get it to work. It will work until I turn either it or Bluetooth off, then it'll refuse to connect until I repeat this process.

I've done, for testing, a clean install of 10.10 on an SD card to see if it's something I've installed that interferes with Bluetooth. It seems to work perfectly on this clean install.

Also, and this may be related, the mouse does not show up in USB Overdrive. It's not present on the list, and the settings I had set do not do anything to the mouse's behavior.

I suppose I should start by listing everything that shows up in the bottom pane of System Preferences. I wonder if there's anything else I have that might interfere with Bluetooth that doesn't show up here. Here's the list:

Chrome Remote Desktop Host
Flash Player
HyperDock
Java
Line 6 Audio-MIDI Devices
LinkLiar
NI USB Audio
NoSleep
SwitchResX
USB Overdrive
Xbox 360 Controllers

I can now confirm that the issue is a bug in OS X's Bluetooth implementation. The mouse connects just fine in 10.10.0, I hear it connects fine in 10.10.1, but has the issues I've been describing in 10.10.2.

I can also confirm that the issue has been fixed in the latest OS X 10.10.3 public beta.


Secure delete removed in OSX 10.11 In OSX 10.10 there was an option to go to Finder > Empty Trash or Finder > Secure Empty Trash

In OSX 10.11 there now only seems to be an option for Finder > Empty Trash

Any ideas way i can get it back ?

It was deliberately removed by Apple, so can't be renabled. There are work-arounds, eg. using srm on the command-line, or third party secure delete products.

From: https://support.apple.com/en-us/HT205267

Finder

Available for: Mac OS X v10.6.8 and later

Impact: The "Secure Empty Trash" feature may not securely delete files placed in the Trash

Description: An issue existed in guaranteeing secure deletion of Trash files on some systems, such as those with flash storage. This issue was addressed by removing the "Secure Empty Trash" option.

CVE-ID

CVE-2015-5901 : Apple


Disable command-enter keyboard shortcut in iTerm2 Currently cmd-enter in iTerm2 toggles fullscreen mode. Is there a way to disable this keyboard shortcut?

In iTerm, go to Preferences > Keys, and click the + button at the bottom of the list. There, you can add a new keyboard shortcut for ⌘+↩, which will by default be ignored.


Where does GarageBand put its downloaded instruments and loop libraries? I've been using the new(ish) GarageBand on Lion for a month or so now. Early on, it prompted me to download instrument sample libraries and loops of around 1.5 GB which were not included in the initial installation. Then, it wanted a similarly-sized download to support iOS GarageBand files. I just recently found another download to enable more loops and MIDI voices.

What is the total size of all of these extra downloads, and where do they go?

As for total size, that is difficult to say. I got my GarageBand instrument, sample library and loop files from an iLife DVD installation a few years ago, rather than downloading them from the Mac App Store, which is the only way to get them today.

It's my understanding that when you first purchase and install GarageBand from the Mac App Store, you do not get all the musical instrument sample libraries and loop libraries that are listed in GarageBand's indexes. If you try to select an instrument or loop from an index and it is not found on your Mac, then you are prompted to download another large section of the libraries. Then there are the music lessons, which you must purchase one at a time, download and install.

My basic installation for GarageBand instruments and music lessons in ~/Library/Application Support/GarageBand is 2.74GB.

The loops for GarageBand are stored in ~/Library/Audio/Apple Loops/, and my installation is 629.9MB. However I do not believe that I have downloaded the whole set.

At an Apple retailer where I have worked, their installation in

~/Library/Application Support/GarageBand is 14.57GB,

and their installation in

~/Library/Audio/Apple Loops is 32GB.

This includes the GarageBand-compatible instruments and loops that you get when you purchase Apple MainStage, which you can get from the Mac App Store for $30. However, this does not include all the music lessons you can purchase within GarageBand.

Furthermore, you can purchase all sorts of Audio Unit-format effects, musical instruments, sample libraries and loop libraries from third parties that you can use within Garage Band or Logic, so you could add many hundreds of gigabytes of additional material if you want to.

It is worth mentioning that electronic musicians who work with large libraries of virtual instruments, samples and loops in GarageBand or other similar programs invariably move all such libraries to external high-speed disk drives so as not to slow down their systems with too much read-write activity on the system hard drive.

If your work with GarageBand is simple enough--not too many tracks in a mix--you can work with just your Mac and system hard drive. But if you discover that Garageband is glitching, hiccuping, or failing to record or edit correctly, or you get errors about input and output being too slow, you need to incorporate additional high-speed hard disks into your system.

It's a general principle that you need at least three hard drives:

your system drive inside your Mac, which holds Mac OS X and the
GarageBand app
an external high-speed hard drive for sample
libraries, virtual instruments and loop libraries
another external high-speed hard drive for recording and mixing audio tracks.

All of these have to be interfaced with a high-speed interface such as FireWire 800, USB 3.0, or Thunderbolt. USB 2.0 will not work, because it is not fast enough for composing, recording and mixing music and audio.


iTunes Connect: No options when trying to add IAP I'm helping a client set up their application profile on iTunes Connect and am running into a strange issue when trying to create in-app purchases.

When I go to the Features tab and select "In-App Purchases", then hit the "+" button, a dialog pops up asking "Select the In-App Purchase you want to create." There are no options to select, and there are only two buttons, "Cancel" and "Create", of which "Create" is greyed out.

The account is up to date with all agreements and IAP is enabled in the app's provisioning profile. There is no error message displayed. There is a notice "Your first In-App Purchase must be submitted with a new app version. Select it from the app's In-App Purchases section and click "Submit".

According to the official documentation, I should just be able to hit + and then select a type of IAP to create. Is the dialog bugged out or did Apple forget to document a step? This issue occurs under Firefox, Edge, and Safari, so I don't think it's related to my browser.

I was having this same problem. After contacting Apple Support it turned out the problem was I did not have the Paid Apps contract in effect on my account. To put the contract into effect:

Log onto iTunes Connect with an account with Admin or Legal roles.
On the dashboard select Agreements, Tax and Banking.
Click request button next to the Paid Applications Contract.


How many lithium cells are there in a MacBook Pro 15"? I'm interested in finding out how many lithium cells the battery of a MacBook Pro 15" (2015 year's model) contains.

The background to the question is that I'm interested in mailing a MacBook, within Europe, and realized that lithium batteries are classified as dangerous goods. From what I understand, the rules for packing and labelling  are governed by the International Air Transport Association (IATA). Furthermore, my understanding is that the number of lithium cells determine how you're supposed to pack and label the shipment.

It has 6 cells.  However, they are of varying sizes.

I was able to find a shipping resource in the EU that addresses shipping laptops:

  Scenario 2: A package with a total of 3 or more lithium ion batteries
  contained inside of or with laptops.

  There is a label required on the box (see below), and the box itself
  must be of such strength as to not break or allow the batteries to
  come out or expel fumes, in other words, a good strong industrial box.

  Documentation Requirements

  A document is also required indicating the following

  The package contains lithium ion batteries
  The package must be handled with care and that a flammability hazard exists if the packaged is damaged
  If the package is damaged then special procedures including inspection and repacking may be necessary
  A telephone number to call for additional information


Access Mac localhost from Windows parallels So there is a web appliance running on my Mac localhost. I want to check how it looks in Internet Explorer. I have Parallels Desktop 12 running Windows 10 with installed Parallels tools.

However, if I run IE in Coherence, it still cannot load localhost. I tried to set up IP of my mac to 10.0.0.45 (because I know my router gives IP in this range) and then accessing http://10.0.0.45 from parallels IE

While this worked, I would like to know if there is better process to do that

As mentioned in the comments above.

localhost is the machine you are running on (Mac) so the VM (windows) will need to point to the IP address of your machine.

For example:

If you are viewing your application on your Mac at:
http://localhost:8080/#/users

Now if your Mac ip is 10.1.0.2, the url to view on the windows VM will be:
http://10.1.0.2:8080/#/users


OS X SMTP issue - Unable to send email (gmail) I have installed OS Yosemite 10.10.1 a couple of months ago. Everything was ok especially with mail. However a couple of days ago it just stopped to sending emails with no apparent reason since none configurations changes or updates have been done.

I keep having the following error message every time I try to send an email.

The SMTP connection to server “smtp.gmail.com” failed.
Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.

The diagnosis:

Obviously I have already checked the username and password but the problem persists.

Could someone help me to fix it please ?

Many thanks

Edit

  Following Buscar웃 hint at the comment I've gone to 'mail- pref-accounts- edit smtp -
  advanced - authentication' then selected 'none' instead of 'password'
  with was previously selected.That way it is working again.
  What are the consequences of that
  change? What exactly 'authentication' means in this context? Am I lose
  security by doing what I did ?

To make new SMTP:

Open Mail Preferences.

Click on Accounts.

If you have more than one click on one of them.

In that window look for Outgoing Mail server (SMTP).

from the pick up select Edit SMTP server.

In the new window select the (+) and enter a description (name you like), and smtp.gmail.com

Back in Account screen select that name.


Roll back to Mountain Lion but don't lose saved documents I have a Time Machine backup of my system from last week right before I installed Mavericks. I've determined that Mavericks breaks too many programs that I need to use and doesn't add enough features (yet) for me to want to be using it, so I want to roll back to Mountain Lion.

BUT… (there's always a but, right? I suppose if there weren't, I wouldn't be asking here) here's the catch:

I haven't plugged in my Time Machine drive since upgrading. I have saved documents in the past week. If I were to just roll back to last week's backup, I'd lose all the work I've done since upgrading.

Can I safely run a Time Machine backup under Mavericks, revert to last week's backup, and then restore individual files from the Mavericks backup? Do I need to be buying another external drive to first back up this week's system, then restore last week's system, then pull files? What needs to happen here to restore my system to ML without losing a week's work?

Yes, you can safely backup with Time Machine in OS X Mavericks and restore your newer files later when you're back on OS X Mountain Lion.

Complete a backup using Time Machine on OS X Mavericks to get your new/updated files into the backup
Reboot the machine with the Time Machine disk connected
At startup, hold Cmd+R to get into Recovery mode (or hold Option to select the volume to boot from and choose the Recovery HD from the Time Machine disk)
Choose Restore From Time Machine Backup from the list of actions
Select the Time Machine volume and then the backup dated before the upgrade that you wish to restore from (it will show you a list of all available backups)
After booting into the OS X Mountain Lion system, turn off Time Machine in System Preferences > Time Machine (to avoid another backup starting soon, thus slowing down the system and adding to the cognitive load on you to choose the correct versions to restore)
Browse the Time Machine disk from the Time Machine interface and pick the specific files from the latest backup to restore
Turn on Time Machine again in System Preferences


Removing Podcasts Documents and Data I've had issues with the stock iOS podcast app for a while now- syncing was broken, it kept crashing while downloading, etc etc. I decided to move to Downcast. Anyways, after deleting all my podcast subscriptions, and then telling iTunes not to sync any podcasts to the device, I still have 3.3 GB of "documents and data" from the Podcasts app.

Obviously, I'd like to clear that space up. The Podcast app still will not open for me (white screen to crash every time), but there shouldn't be any Podcasts to delete in there anyways. Without being able to delete a stock app, is there any way for me to remove this waste of storage space?

Would prefer not to wipe the phone. iPhone 5, iOS 8.1.1

A forum post on Apple Support Communities points out that on iOS 10 it is possible to reduce the Podcasts app’s “Documents & Data” by temporarily removing the app:

  Good news for everyone that has been dealing with this issue - iOS 10 has a new feature that help resolve the Podcasts storage problem.

  One thing you can now do in iOS 10 is 'delete' stock apps from your device. It doesn't really delete the app, but it deletes the icon link from the apps and it also removes associated data and configuration files!  This means that deleting the Podcasts app will also delete the huge data file.

  Once removed, the Podcasts app can just be readded from the App Store, and the settings are instantly restored from your iCloud account.

( I realize this is an old question, but I stumbled upon it while trying to find out why the Podcasts app is using a few hundred megabytes worth of “Documents & Data” on my iPhone in addition to the storage it uses for downloaded podcast episodes, and I thought it was still worth providing an updated answer pointing out that on iOS 10 this can be more easily fixed. I haven’t been able to try this myself yet, as I am still on iOS 9. )

ONE THING TO NOTE:
Any podcasts you have downloaded, but are not subscribed to will be lost.